@charset "UTF-8";
/* ==========================================================================
   Edoardo Cortese — landing
   Font: Bricolage Grotesque (titoli) · Inter (testo) · Martian Mono (dettagli)
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Token ---------- */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #5b5b56;
  --line: #e3e1da;
  --accent: #0f7a42;
  --accent-soft: rgba(15, 122, 66, 0.1);
  --accent-ink: #ffffff;
  --term-bg: #151515;
  --term-ink: #e9e8e3;
  --term-muted: #8d8c86;
  --term-accent: #3ddc84;
  --danger: #b3261e;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 10px;
  --gutter: 16px;
  --section: clamp(72px, 11vw, 136px);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111210;
    --surface: #1a1b19;
    --ink: #eeede8;
    --muted: #a3a29b;
    --line: #2c2d2a;
    --accent: #3ddc84;
    --accent-soft: rgba(61, 220, 132, 0.12);
    --accent-ink: #0b1a11;
    --term-bg: #0b0c0b;
    --danger: #ff8a80;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--bg);
  padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.brand .dot { flex: none; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.site-nav a:hover { color: var(--ink); background: var(--accent-soft); }
.site-nav .btn { margin-left: 8px; color: var(--bg); }
.site-nav .btn:hover { color: var(--bg); background: var(--ink); }

@media (max-width: 820px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ---------- Status dot ---------- */
.dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50% { box-shadow: 0 0 0 6px var(--accent-soft); }
}

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font: 600 15px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { padding: 9px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.arrow { font-family: var(--font-mono); font-size: .9em; }

/* ---------- Titoli di sezione ---------- */
section { padding: var(--section) 0; }
section + section { border-top: 1px solid var(--line); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 20px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
}
h2 {
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1;
  margin-bottom: 24px;
}
h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-intro {
  font-size: clamp(17px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 48px;
}
.section-intro strong { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(64px, 10vw, 120px); }

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; }
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(44px, 7.6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}
.hero h1 .soft { font-weight: 400; display: block; }

.hero .lead {
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero .lead strong { color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.chips li.is-main { color: var(--ink); border-color: var(--ink); }

.proof {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.proof a { color: var(--ink); text-underline-offset: 3px; }
.proof .accent { color: var(--accent); }

/* ---------- Terminale ---------- */
.terminal {
  background: var(--term-bg);
  color: var(--term-ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  min-width: 0;
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--term-muted);
  font-size: 11px;
}
.terminal-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3a3b38;
}
.terminal-bar span { margin-left: 8px; }
.terminal-body {
  padding: 18px 18px 22px;
  min-height: 290px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.terminal-body .t-muted { color: var(--term-muted); }
.terminal-body .t-ok { color: var(--term-accent); }
.terminal-body .t-cmd::before { content: "$ "; color: var(--term-muted); }
.terminal-body .cursor {
  display: inline-block; width: .6em; height: 1.1em;
  background: var(--term-accent);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Problema ---------- */
.questions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.questions li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 16px;
  line-height: 1.45;
}
.questions li::before {
  content: "?";
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}
.punchline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 30ch;
  margin: 0;
}
.punchline a { color: var(--accent); text-underline-offset: 5px; }

/* ---------- Come funziona ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: 16px; }
.steps .mono { color: var(--ink); display: block; margin-top: 12px; line-height: 1.8; }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0;
  font-size: 16px;
}
.note .dot { margin-top: 8px; flex: none; }

/* ---------- Prezzi ---------- */
.plans {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }

.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
}
.plan--featured { border-color: var(--ink); border-width: 2px; padding: 25px 23px 23px; }
.plan-tag {
  position: absolute; top: -11px; left: 22px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-mono); font-size: 10.5px;
  padding: 4px 9px; border-radius: 999px;
}
.plan-for { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin: 0 0 10px; }
.plan h3 { margin-bottom: 14px; }
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 6px;
}
.price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
}
.plan-desc { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }
.plan ul {
  list-style: none; margin: 0 0 20px; padding: 0;
  font-size: 15px; line-height: 1.45;
  display: grid; gap: 9px;
  flex: 1;
}
.plan li { position: relative; padding-left: 22px; }
.plan li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.plan-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  margin: 0;
}

.plans-notes { display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.plans-notes p { margin: 0; }
.plans-notes strong { color: var(--ink); }

/* ---------- Paletti ---------- */
.limits {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.limits li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.limits li::before {
  content: "✕";
  grid-row: span 2;
  font-family: var(--font-mono);
  color: var(--danger);
  font-size: 15px;
  line-height: 1.5;
}
.limits strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
}
.limits span { color: var(--muted); font-size: 16px; }
.limits li.is-joke strong { font-weight: 400; font-style: normal; }

/* ---------- Caso studio ---------- */
.case {
  display: grid; gap: 40px;
}
@media (min-width: 960px) { .case { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } }

.case-text p { color: var(--muted); }
.case-text p strong { color: var(--ink); }
.case-text h3 { margin: 28px 0 10px; font-size: 18px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.stat { background: var(--surface); padding: 22px 20px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

.stack-line { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 0 0 20px; }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Check ---------- */
.check-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(22px, 4vw, 44px);
  max-width: 820px;
}
.check-progress {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  margin-bottom: 14px;
}
.progress-track { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 32px; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }

.check-question {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 24px;
  outline: none;
}
.check-options { display: grid; gap: 10px; margin-bottom: 24px; }
.check-option {
  text-align: left;
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font: 500 16px/1.35 var(--font-body);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.check-option:hover { border-color: var(--ink); }
.check-option.is-selected { border-color: var(--accent); background: var(--accent-soft); }

.check-nav { display: flex; justify-content: space-between; gap: 12px; }
.link-btn {
  background: none; border: 0; padding: 8px 0;
  font: 500 14px var(--font-body); color: var(--muted);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--ink); }

.result-score {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.result-score b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 88px);
  letter-spacing: -0.05em;
  line-height: 1;
}
.result-score span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.result-level {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 20px;
}
.result-level.is-good { background: var(--accent-soft); color: var(--accent); }
.result-level.is-mid { background: rgba(214, 150, 0, .14); color: #9a6a00; }
.result-level.is-bad { background: rgba(179, 38, 30, .1); color: var(--danger); }
@media (prefers-color-scheme: dark) { .result-level.is-mid { color: #f2c14e; } }

.result-text { font-size: 18px; margin-bottom: 20px; }
.result-tips { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.result-tips li {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 16px;
  color: var(--muted);
  font-size: 15.5px;
}
.result-tips li strong { color: var(--ink); display: block; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Chi sono ---------- */
.about { display: grid; gap: 40px; }
@media (min-width: 960px) { .about { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; } }
.about-text p { font-size: 18px; color: var(--muted); max-width: 58ch; }
.about-text p strong { color: var(--ink); }
.about .terminal-body { min-height: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; margin: 0; max-width: 68ch; }

/* ---------- Contatti ---------- */
.contact { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.4fr; gap: 64px; } }

.contact-direct { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-direct li { display: grid; gap: 2px; }
.contact-direct .mono { color: var(--muted); font-size: 11px; }
.contact-direct a { font-size: 18px; font-weight: 500; text-underline-offset: 4px; overflow-wrap: anywhere; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(22px, 4vw, 36px);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field .label {
  font-size: 14px; font-weight: 600;
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 16px/1.4 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.check-attached {
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7;
  background: var(--accent-soft); color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 0;
}

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 0; font-size: 15px; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-error { color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .container { display: grid; gap: 16px; }
@media (min-width: 820px) {
  .site-footer .container { grid-template-columns: 1fr auto; align-items: end; }
}
.site-footer p { margin: 0; }
.site-footer .brand { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { text-underline-offset: 3px; }

/* ---------- Pagine semplici (grazie, 404) ---------- */
.simple-page {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 48px var(--gutter);
  text-align: center;
}
.simple-page h1 { font-weight: 800; font-size: clamp(40px, 7vw, 72px); line-height: .95; margin-bottom: 20px; }
.simple-page p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* ---------- Pagine legali (privacy) ---------- */
.legal { padding: clamp(40px, 7vw, 88px) 0 var(--section); }
.legal .container { max-width: 780px; }
.legal h1 {
  font-weight: 800;
  font-size: clamp(40px, 7vw, 72px);
  line-height: .95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.legal section { padding: 0; border: 0; margin-top: 48px; }
.legal section + section { border-top: 0; }
.legal h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; margin-bottom: 16px; }
.legal h3 { font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 20px; margin: 0 0 1em; display: grid; gap: 8px; }
.legal a { text-underline-offset: 3px; }
.legal-lead { font-size: clamp(17px, 1.9vw, 19px); }
.legal-ref { color: var(--muted); margin-bottom: 32px; }

.legal-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

.legal-table { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.legal-table th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--muted); background: var(--surface); }
.legal-table td { color: var(--muted); }
.legal-table td:first-child { color: var(--ink); font-weight: 500; }
.legal-table tr:last-child td { border-bottom: 0; }
