*{box-sizing:border-box}
:root{color-scheme:light;font-family:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,sans-serif}
body{margin:0;min-width:320px;background:#f6f8f7;color:#17211d}
a{color:#0b8c57}

/* testata verde come il login */
.legal-top{
  display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px clamp(16px,5vw,56px);
  background:radial-gradient(circle at 82% 0,rgba(38,213,142,.28),transparent 40%),linear-gradient(145deg,#123a2b,#08170f 78%)
}
.legal-brand{display:block;width:118px;height:28px;overflow:hidden}
.legal-brand img{display:block;width:118px;height:auto;filter:brightness(0) invert(1)}
.legal-back{
  padding:8px 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.07);
  color:#dbeae2;font-size:12px;font-weight:600;text-decoration:none
}
.legal-back:hover{background:rgba(255,255,255,.14)}

.legal-page{
  width:min(100% - 32px,760px);margin:-1px auto 0;padding:44px clamp(20px,5vw,56px) 48px;
  border:1px solid #e0e7e3;border-top:0;border-radius:0 0 22px 22px;background:#fff;
  box-shadow:0 22px 70px rgba(25,52,41,.08);line-height:1.65;font-size:15px
}
.eyebrow{display:block;margin-bottom:12px;color:#0b8c57;font-size:11px;font-weight:800;letter-spacing:.16em}
.legal-page h1{margin:0;font-size:clamp(30px,6vw,44px);line-height:1.05;letter-spacing:-.04em}
.updated{margin:10px 0 28px;color:#7a8882;font-size:13px}
.legal-page h2{margin:34px 0 10px;font-size:18px;letter-spacing:-.02em}
.legal-page p{margin:0 0 12px;color:#37463f}
.legal-page ul{margin:0 0 12px;padding-left:20px;color:#37463f}
.legal-page li{margin-bottom:8px}
.legal-box{padding:16px 18px;border:1px solid #cfeedd;border-radius:14px;background:#f1fbf6}
.legal-box p{margin:0}

.legal-foot{
  display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;padding:28px 16px 36px;
  color:#8b9892;font-size:11px;text-align:center
}

/* ritocchi 2/11: link nel piede, codici leggibili, telefono a tutta larghezza */
.legal-page h2{scroll-margin-top:16px}
.legal-page a{overflow-wrap:anywhere}
.legal-page code{padding:1px 6px;border-radius:6px;background:#eef3f0;font-size:.9em}
.legal-foot a{color:#0b8c57;font-weight:600;text-decoration:none}
.legal-foot a:hover{text-decoration:underline}
@media (max-width:560px){
  .legal-top{padding:16px}
  .legal-page{width:100%;padding:32px 18px 36px;border-left:0;border-right:0;border-radius:0}
}
