/* =========================================================
   Design system del sito
   Palette neutral, Geist + Inter, linee guida "blueprint"
   ========================================================= */

/* Caratteri ospitati sul sito (nessuna richiesta a terzi). Licenza SIL OFL 1.1: assets/fonts/*-OFL.txt */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-2: #F5F5F5;
  --ink: #171717;
  --ink-2: #404040;
  --muted: #737373;
  --muted-2: #A3A3A3;
  --half: rgba(23, 23, 23, .45);
  --line: #E9E9E9;
  --line-soft: rgba(23, 23, 23, .07);
  --dot: rgba(23, 23, 23, .09);

  --green: #22C55E;
  --green-ink: #15803D;
  --red: #DA314A;
  --blue: #3B82F6;
  --yellow: #EAB308;
  --violet: #8B5CF6;
  --orange: #F97316;

  --shadow: 0 4px 4px rgba(23, 23, 23, .04);
  --shadow-lg: 0 24px 48px -12px rgba(23, 23, 23, .14), 0 4px 8px rgba(23, 23, 23, .04);
  --ring: 0 0 0 1px rgba(23, 23, 23, .08);

  --r-sm: 5px;
  --r-btn: 6px;
  --r-card: 12px;

  --container: 1160px;
  --gutter: 24px;

  --f-display: "Geist", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Layout: container + linee guida ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.frame {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.section { border-top: 1px solid var(--line); }
.section--pad { padding: 128px 0; }
.section--pad-sm { padding: 88px 0; }

.dots {
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 8px 8px;
}

/* ---------- Tipografia ---------- */
.h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h1 .soft, .h2 .soft { color: var(--half); }
.h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 39px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.lead {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--muted);
}
.h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.p { color: var(--muted); font-size: 16px; line-height: 1.4; }
.small { font-size: 13px; color: var(--muted); }
.mono { font-family: var(--f-mono); }
.center { text-align: center; }

.section-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; max-width: 780px; margin: 0 auto; }
.section-head .lead { max-width: 640px; }

/* ---------- Pill / badge ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 4px 9px;
  background: var(--surface);
  border-radius: var(--r-sm);
  box-shadow: var(--ring), var(--shadow);
  font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: -0.2px;
  color: var(--ink);
}
.pill svg { width: 14px; height: 14px; color: var(--muted); }
.pill--round { border-radius: 1000px; height: 30px; padding: 4px 12px 4px 10px; }
.pill .dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(218, 49, 74, .15); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 9px;
  background: var(--surface);
  border-radius: 6px;
  box-shadow: var(--ring), var(--shadow);
  font-family: var(--f-display); font-weight: 500; font-size: 14px; color: var(--ink);
  vertical-align: middle;
  margin: 2px 2px;
}
.chip svg { width: 14px; height: 14px; color: var(--muted); }

.tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  border-radius: 4px; font-size: 11.5px; font-weight: 500; letter-spacing: 0;
}
.tag--ugc { background: #EFF6FF; color: #2563EB; }
.tag--you { background: #F0FDF4; color: var(--green-ink); }
.tag--ref { background: #F5F3FF; color: #7C3AED; }
.tag--comp { background: #FEF2F2; color: #DC2626; }
.tag--edit { background: #FFF7ED; color: #EA580C; }
.tag--neutral { background: var(--surface-2); color: var(--ink-2); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: var(--r-btn);
  font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: -0.3px;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: var(--surface); color: var(--ink); box-shadow: var(--ring), var(--shadow); }
.btn--light:hover { background: #fdfdfd; box-shadow: 0 0 0 1px rgba(23,23,23,.14), var(--shadow); }
.btn--ghost-dark { background: rgba(255,255,255,.08); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.14); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--muted { background: var(--surface-2); color: var(--ink); }
.btn--muted:hover { background: #EDEDED; }
.btn .sq { width: 8px; height: 8px; border-radius: 2px; background: #D4D4D4; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 250, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -0.04em; }
.logo svg { width: 20px; height: 20px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14px; color: rgba(23, 23, 23, .8); transition: color .15s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__cta { display: flex; gap: 8px; }
.nav__burger { display: none; width: 36px; height: 36px; border-radius: 6px; box-shadow: var(--ring); background: var(--surface); align-items: center; justify-content: center; }
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 300px 0 auto 0; height: 220px; opacity: .7;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); }
.hero__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero__sub { max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero__ctas { display: flex; gap: 12px; margin-top: 16px; }
.hero__shot { position: relative; margin-top: 64px; }

/* ---------- Dashboard mock ---------- */
.app {
  position: relative;
  background: var(--surface);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px rgba(23,23,23,.08), 0 30px 60px -20px rgba(23,23,23,.12);
  display: grid; grid-template-columns: 210px 1fr;
  font-size: 13px; letter-spacing: -0.1px;
  overflow: hidden;
  height: 560px;
}
.app::after { content: ""; position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(180deg, rgba(250,250,250,0), var(--bg)); pointer-events: none; }
.app__side { background: #FCFCFC; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.app__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 2px 6px 10px; }
.app__brand .av { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.app__search { display: flex; align-items: center; gap: 6px; height: 30px; border-radius: 6px; box-shadow: var(--ring); background: #fff; padding: 0 8px; color: var(--muted-2); margin-bottom: 10px; }
.app__label { font-size: 11px; color: var(--muted-2); padding: 10px 6px 4px; }
.app__item { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 6px; color: var(--ink-2); }
.app__item svg { width: 15px; height: 15px; color: var(--muted); }
.app__item.is-active { background: var(--surface-2); color: var(--ink); font-weight: 500; }
.app__main { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.app__bar { display: flex; align-items: center; gap: 6px; }
.app__bar .f { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); font-size: 12.5px; }
.app__bar .f svg { width: 13px; height: 13px; color: var(--muted); }
.app__bar .sp { flex: 1; }
.app__crumb { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.app__crumb b { font-weight: 500; color: var(--ink); }
.app__crumb .ranks { color: var(--muted); font-size: 12px; display: flex; gap: 14px; }
.app__crumb .ranks span b { color: var(--ink); }
.up { color: var(--green); } .down { color: var(--red); }
.app__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 12px; flex: 1; min-height: 0; }
.panel { border-radius: 10px; box-shadow: var(--ring); background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: center; }
.panel__title { font-weight: 600; font-size: 13px; }
.panel__sub { color: var(--muted); font-size: 11.5px; }
.seg { display: inline-flex; gap: 2px; padding: 2px; background: var(--surface-2); border-radius: 7px; }
.seg span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 5px; font-size: 12px; color: var(--muted); }
.seg span.on { background: #fff; color: var(--ink); box-shadow: var(--ring), var(--shadow); }
.chart { position: relative; flex: 1; min-height: 220px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .tip {
  position: absolute; right: 9%; top: 18%;
  background: #111; color: #fff; border-radius: 8px; padding: 10px 12px; width: 168px;
  box-shadow: var(--shadow-lg); font-size: 12px;
}
.chart .tip h5 { margin: 0 0 8px; font-size: 12px; font-weight: 600; }
.chart .tip li { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; color: #D4D4D4; }
.chart .tip li i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 8px; }
.chart .tip li b { color: #fff; font-weight: 500; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { text-align: left; font-weight: 400; color: var(--muted); padding: 6px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { color: var(--muted-2); width: 14px; }
.brand-dot { display: inline-flex; align-items: center; gap: 7px; }
.brand-dot i { width: 16px; height: 16px; border-radius: 4px; display: inline-grid; place-items: center; color: #fff; font-style: normal; font-size: 9px; font-weight: 700; }
.bar-mini { display: inline-block; width: 2px; height: 12px; background: var(--green); vertical-align: middle; margin-right: 5px; border-radius: 1px; }
.delta { font-size: 11px; margin-left: 4px; }
.row-you td { background: #FAFAFA; }

.floating {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(23,23,23,.08), var(--shadow-lg);
}
.prompt-box { left: 50%; bottom: 40px; transform: translateX(-50%); width: min(560px, 90%); padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.prompt-box .typed { min-height: 22px; color: var(--ink); font-size: 15px; text-align: left; }
.prompt-box .typed::after { content: ""; display: inline-block; width: 1.5px; height: 17px; background: var(--ink); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.prompt-box .row { display: flex; align-items: center; gap: 8px; }
.prompt-box .row .sp { flex: 1; }
.prompt-box .ico { width: 30px; height: 30px; border-radius: 7px; box-shadow: var(--ring); display: grid; place-items: center; font-size: 14px; }
.prompt-box .send { width: 30px; height: 30px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Loghi ---------- */
.trusted { text-align: center; color: var(--muted); font-size: 14px; padding: 26px 0; }
.trusted b { color: var(--ink); font-weight: 500; }
.logos { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.logos__col { position: relative; padding: 40px 20px 36px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 10px; align-items: center; justify-items: center; }
.logos__col + .logos__col { border-left: 1px solid var(--line); }
.logos__col .pill { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.wordmark { font-family: var(--f-display); color: #2b2b2b; font-size: 17px; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 6px; opacity: .88; white-space: nowrap; }
.wordmark svg { width: 16px; height: 16px; }

/* ---------- Metriche (tab) ---------- */
.metrics { display: grid; grid-template-columns: 340px 1fr; gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.metrics__tabs { padding: 16px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.mtab {
  text-align: left; padding: 22px 24px; border-radius: var(--r-card);
  background: transparent; transition: background .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 10px;
}
.mtab .h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--muted); transition: color .2s; }
.mtab .h3 svg { width: 16px; height: 16px; }
.mtab p { color: var(--muted-2); font-size: 15px; line-height: 1.45; border-left: 1px solid var(--line); padding-left: 14px; transition: color .2s; }
.mtab .progress { height: 2px; background: var(--surface-2); border-radius: 2px; overflow: hidden; display: none; }
.mtab .progress i { display: block; height: 100%; width: 0; background: var(--ink); }
.mtab.is-active { background: var(--surface); box-shadow: var(--ring), var(--shadow); }
.mtab.is-active .h3 { color: var(--ink); }
.mtab.is-active p { color: var(--muted); }
.mtab.is-active .progress { display: block; }
.mtab.is-active .progress i { animation: fill 7s linear forwards; }
@keyframes fill { to { width: 100%; } }
.metrics__stage { position: relative; padding: 48px; min-height: 520px; display: grid; place-items: center; overflow: hidden; }
.answer {
  position: relative; width: min(520px, 100%); background: #fff; border-radius: 12px; padding: 22px 22px 26px;
  box-shadow: 0 0 0 1px rgba(23,23,23,.07), var(--shadow-lg); font-size: 14px; line-height: 1.55; color: var(--ink-2);
}
.answer__q { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.answer__q span { background: var(--surface-2); padding: 8px 12px; border-radius: 12px 12px 4px 12px; color: var(--ink); font-size: 14px; }
.answer__engine { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 13px; }
.answer__engine i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: #fff; font-size: 10px; font-style: normal; }
.answer h6 { margin: 14px 0 4px; font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.answer mark { background: rgba(34,197,94,.14); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.answer .neg { background: rgba(218,49,74,.1); }
.answer .muted-line { color: var(--muted-2); }
.overlay {
  position: absolute; z-index: 2; background: #111; color: #fff; border-radius: 10px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); font-size: 12.5px; min-width: 230px;
  transition: opacity .35s ease, transform .35s ease;
}
.overlay h5 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.overlay .stats { display: flex; gap: 6px; }
.overlay .stats div { flex: 1; background: rgba(255,255,255,.07); border-radius: 6px; padding: 6px 8px; }
.overlay .stats small { display: block; color: #A3A3A3; font-size: 11px; }
.overlay .stats b { font-weight: 600; font-size: 13px; }
.overlay ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.overlay ol li { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 6px; }
.overlay ol li.me { background: rgba(255,255,255,.1); }
.overlay ol li span { color: #A3A3A3; width: 12px; }
.overlay .score { font-size: 30px; font-weight: 600; font-family: var(--f-display); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 6px; }
.overlay .score small { font-size: 12px; color: var(--green); font-weight: 500; }
.stage-panel { display: none; }
.stage-panel.is-active { display: contents; }
.stage-panel .overlay { animation: pop .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Simulazione (differenziatore) ---------- */
.sim { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 64px; }
.sim__left { padding: 56px 48px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.counter { font-family: var(--f-display); font-size: 88px; line-height: .95; letter-spacing: -0.045em; font-weight: 400; font-variant-numeric: tabular-nums; }
.counter-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.counter-label .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.kpis div { padding: 18px 0 0; }
.kpis div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.kpis b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; }
.kpis span { color: var(--muted); font-size: 13px; }
.sim__right { padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; position: relative; }
.step + .step { border-top: 1px dashed var(--line); }
.step .n { width: 32px; height: 32px; border-radius: 8px; background: #fff; box-shadow: var(--ring), var(--shadow); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.step h4 { font-family: var(--f-display); font-weight: 600; font-size: 16px; margin-bottom: 4px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.45; }
.fanout { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fanout span { font-size: 12px; padding: 3px 8px; border-radius: 5px; background: var(--surface-2); color: var(--ink-2); }

/* ---------- Bento feature ---------- */
.section-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding: 0 48px 56px; }
.section-split .lead { border-left: 1px solid var(--line); padding-left: 24px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 8px; border-top: 1px solid var(--line); }
.card {
  position: relative; background: var(--surface); border-radius: var(--r-card);
  box-shadow: var(--ring), var(--shadow);
  padding: 40px 40px 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  min-height: 520px;
}
.card .p { max-width: 380px; }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; }
.card__visual { position: relative; flex: 1; margin-top: 28px; display: flex; align-items: flex-start; justify-content: center; }
.card__visual.fade::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }
.mini { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(23,23,23,.08), var(--shadow); font-size: 12.5px; width: 100%; }
.mini__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mini__head b { font-weight: 500; }
.mini .tbl td, .mini .tbl th { padding: 8px 12px; }
.mini-detail { position: absolute; left: 6%; right: 6%; bottom: 40px; padding: 14px; }
.mini-detail .t { font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.mini-detail .meta { color: var(--muted); font-size: 11.5px; margin-bottom: 12px; }
.mini-detail .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-detail .cols div { box-shadow: var(--ring); border-radius: 8px; padding: 8px 10px; }
.mini-detail .cols small { display: block; color: var(--muted); font-size: 11px; margin: 2px 0 6px; }

.stack { position: relative; width: 100%; height: 300px; perspective: 900px; }
.stack .mini { position: absolute; left: 6%; right: -12%; padding: 14px 16px; transform: rotateX(18deg) rotateZ(-8deg) skewX(8deg); transform-origin: left top; }
.stack .mini:nth-child(1) { top: 0; opacity: .45; }
.stack .mini:nth-child(2) { top: 70px; }
.stack .mini:nth-child(3) { top: 190px; opacity: .55; }
.stack .q { font-weight: 500; font-size: 15px; color: var(--ink); margin: 6px 0 10px; line-height: 1.3; }
.stack .meta { display: flex; justify-content: space-between; gap: 6px; align-items: center; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }

.brands-vis { position: relative; width: 100%; height: 300px; }
.bcard { position: absolute; width: 220px; padding: 0 0 14px; overflow: hidden; }
.bcard .top { height: 46px; }
.bcard .body { padding: 0 14px; margin-top: -20px; }
.bcard .lg { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 700; box-shadow: 0 0 0 3px #fff; }
.bcard .nm { font-weight: 600; margin-top: 8px; font-size: 14px; }
.bcard .dm { color: var(--muted); font-size: 12px; }
.bcard .act { position: absolute; right: 12px; bottom: 14px; }
.btn-xs { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.btn-xs.dark { background: var(--ink); color: #fff; }
.btn-xs.light { background: #fff; box-shadow: var(--ring); }

.models { width: 260px; padding: 8px; }
.models .row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: 13px; }
.models .row .cb { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px #D4D4D4; display: grid; place-items: center; }
.models .row.on .cb { background: var(--blue); box-shadow: none; color: #fff; }
.models .row .sp { flex: 1; }
.models .row.off { color: var(--muted-2); }
.models .ml { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }

.recs { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.rec { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: #fff; box-shadow: var(--ring), var(--shadow); font-size: 13px; transition: all .25s; }
.rec .t { font-weight: 500; }
.rec .s { color: var(--muted); font-size: 12px; }
.rec .sp { flex: 1; }
.rec .go { width: 28px; height: 28px; border-radius: 7px; box-shadow: var(--ring); display: grid; place-items: center; color: var(--muted); }
.rec.dim { opacity: .4; filter: blur(.4px); }
.rec.hot { background: var(--ink); color: #fff; transform: scale(1.04); box-shadow: var(--shadow-lg); }
.rec.hot .s { color: #A3A3A3; }
.rec.hot .go { box-shadow: none; color: #fff; }

/* ---------- Quote ---------- */
.quote { padding: 120px 48px; text-align: center; }
.quote blockquote { margin: 0 auto 32px; max-width: 880px; font-family: var(--f-display); font-weight: 500; font-size: 32px; line-height: 1.25; letter-spacing: -0.02em; color: #111; }
.quote blockquote .w { opacity: .18; transition: opacity .3s; }
.quote blockquote .w.on { opacity: 1; }
.person { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 14px; color: #fff; flex: none; }
.person b { display: block; font-weight: 600; font-size: 15px; font-family: var(--f-display); }
.person span { color: var(--muted); font-size: 14px; }

/* ---------- Due colonne ---------- */
.split2 { display: grid; grid-template-columns: 1fr 1.25fr; }
.split2 > div:first-child { padding: 72px 48px; display: flex; flex-direction: column; gap: 18px; justify-content: center; border-right: 1px solid var(--line); }
.split2 .h2 { font-size: 39px; }
.code {
  background: #0D0D0D; color: #E5E5E5; border-radius: 12px; padding: 18px 20px; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.7;
  box-shadow: var(--shadow-lg); width: 100%; max-width: 520px; overflow: hidden;
}
.code .c { color: #737373; } .code .k { color: #93C5FD; } .code .s { color: #86EFAC; } .code .n { color: #FCD34D; }
.code__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.code__bar i { width: 10px; height: 10px; border-radius: 50%; background: #333; }

/* ---------- Report / scatter ---------- */
.report { display: grid; grid-template-columns: 1fr 360px; border-top: 1px solid var(--line); margin-top: 64px; }
.scatter { position: relative; padding: 24px 24px 56px 56px; border-right: 1px solid var(--line); }
.scatter__plot { position: relative; height: 440px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scatter__plot::before, .scatter__plot::after { content: ""; position: absolute; background: var(--line); }
.scatter__plot::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.scatter__plot::after { top: 50%; left: 0; right: 0; height: 1px; }
.quad { position: absolute; font-size: 12px; color: var(--muted); }
.q-tl { left: 25%; top: 10px; transform: translateX(-50%); } .q-tr { left: 75%; top: 10px; transform: translateX(-50%); }
.q-bl { left: 25%; bottom: 10px; transform: translateX(-50%); } .q-br { left: 75%; bottom: 10px; transform: translateX(-50%); }
.pt { position: absolute; transform: translate(-50%, 50%); width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 3px #fff, var(--shadow); cursor: default; transition: transform .2s; }
.pt:hover { transform: translate(-50%, 50%) scale(1.15); z-index: 3; }
.pt .pt-tip { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); background: #111; color: #fff; border-radius: 8px; padding: 8px 10px; font-weight: 400; font-size: 11.5px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.pt:hover .pt-tip { opacity: 1; }
.pt.me { width: 32px; height: 32px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink), var(--shadow-lg); }
.axis-y { position: absolute; left: 12px; top: 50%; transform: rotate(-90deg) translateX(-50%); transform-origin: left top; font-size: 12px; color: var(--muted); }
.axis-x { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted); }
.ticks-x { position: absolute; left: 56px; right: 24px; bottom: 36px; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-2); }
.report__side { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.report__side .item { padding: 24px; border-radius: var(--r-card); }
.report__side .item.card-like { background: var(--surface); box-shadow: var(--ring), var(--shadow); }
.report__side h4 { font-family: var(--f-display); font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.report__side p { color: var(--muted); font-size: 15px; line-height: 1.45; border-left: 1px solid var(--line); padding-left: 14px; }

/* ---------- Marquee prompt ---------- */
.marquee { display: flex; flex-direction: column; gap: 12px; margin-top: 56px; overflow: hidden; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { display: flex; gap: 12px; width: max-content; animation: scroll 60s linear infinite; }
.marquee__row.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.qpill { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 12px; background: #fff; border-radius: 8px; box-shadow: var(--ring), var(--shadow); font-size: 14px; white-space: nowrap; }
.qpill .m { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 700; }
.qpill .track { height: 28px; padding: 0 10px; border-radius: 6px; background: var(--surface-2); display: inline-flex; align-items: center; font-size: 12.5px; color: var(--ink-2); opacity: 0; transition: opacity .2s; }
.qpill:hover .track { opacity: 1; }

/* ---------- Schede (non usate nella beta) ---------- */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; padding: 0 16px 16px; align-items: start; }
.testi__col { display: flex; flex-direction: column; gap: 16px; }
.testi__col:nth-child(2) { margin-top: -24px; }
.testi__col:nth-child(3) { margin-top: 24px; }
.tcard { background: #fff; border-radius: var(--r-card); box-shadow: var(--ring), var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.tcard p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.tcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tcard .co { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; font-size: 16px; color: #222; }

/* ---------- CTA scura ---------- */
.cta-dark {
  position: relative; margin: 0 16px; border-radius: 14px; overflow: hidden;
  background: #111; color: #fff; display: grid; grid-template-columns: 1fr 1fr; min-height: 420px;
}
.cta-dark__copy { padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; gap: 36px; position: relative; z-index: 2; }
.cta-dark .h2 { font-size: 48px; font-weight: 400; color: #fff; }
.cta-dark .h2 .soft { color: rgba(255,255,255,.5); }
.cta-dark__vis { position: relative; perspective: 1200px; }
.cta-dark__vis .dark-table {
  position: absolute; left: 0; top: 40px; width: 640px; background: #1A1A1A; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  transform: rotateX(28deg) rotateZ(-18deg) skewX(10deg); transform-origin: left top; font-size: 13px; color: #D4D4D4;
}
.dark-table .hd { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; gap: 10px; color: #fff; }
.dark-table .r { display: grid; grid-template-columns: 30px 1fr 80px 80px 60px; padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,.05); align-items: center; }
.dark-table .r i { width: 16px; height: 16px; border-radius: 4px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.cta-dark__vis::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111 0%, rgba(17,17,17,0) 30%, rgba(17,17,17,0) 70%, #111 100%), linear-gradient(0deg, #111 0%, rgba(17,17,17,0) 40%); }

/* ---------- FAQ ---------- */
.faq { max-width: 768px; margin: 56px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-family: var(--f-display); font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 16px; height: 16px; color: var(--muted-2); transition: transform .25s; flex: none; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; line-height: 1.55; }

/* ---------- Footer ---------- */
.footer { background: #000; color: #fff; padding: 72px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 3fr; gap: 48px; }
.footer .logo { color: #fff; font-size: 30px; }
.footer .logo svg { width: 28px; height: 28px; }
.footer__claim { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.2; margin-top: 24px; letter-spacing: -0.02em; }
.footer__claim span { color: rgba(255,255,255,.5); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.footer__cols h5 { margin: 0 0 16px; font-family: var(--f-display); font-weight: 500; font-size: 15px; }
.footer__cols a { display: block; color: #A3A3A3; font-size: 14.5px; padding: 6px 0; transition: color .15s; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 16px; font-size: 13px; color: #A3A3A3; }
.footer__bottom .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Pricing ---------- */
.page-hero { padding: 72px 0 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.page-hero .p { max-width: 620px; font-size: 17px; line-height: 1.5; }
.logos-row { display: flex; justify-content: space-between; align-items: center; padding: 0 56px 32px; gap: 18px; flex-wrap: wrap; }
.billing { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 15px; }
.switch { width: 34px; height: 20px; border-radius: 20px; background: #E5E5E5; position: relative; transition: background .2s; }
.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"]::after { transform: translateX(14px); }
.save { font-size: 12px; color: var(--green-ink); background: #F0FDF4; padding: 2px 7px; border-radius: 5px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.plan { padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 18px; background: var(--surface); position: relative; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.is-featured { box-shadow: 0 0 0 1px rgba(23,23,23,.1), 0 24px 48px -16px rgba(23,23,23,.18); z-index: 2; border-radius: 0 0 12px 12px; transform: translateY(0); }
.plan .name { font-family: var(--f-display); font-weight: 500; font-size: 18px; display: flex; align-items: center; justify-content: space-between; }
.plan .price { font-family: var(--f-display); font-size: 40px; letter-spacing: -0.03em; font-weight: 500; line-height: 1; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.plan .desc { color: var(--muted); font-size: 14px; line-height: 1.45; min-height: 42px; }
.plan .incl { font-size: 13px; color: var(--muted); }
.plan ul { display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 14px; align-items: center; }
.plan li svg { width: 16px; height: 16px; color: var(--ink); flex: none; }
.agency-banner { display: flex; align-items: center; gap: 16px; padding: 24px 32px; border-top: 1px solid var(--line); }
.agency-banner .ic { width: 40px; height: 40px; border-radius: 10px; background: #fff; box-shadow: var(--ring), var(--shadow); display: grid; place-items: center; }
.agency-banner p { flex: 1; font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
.agency-banner p span { color: var(--muted); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.compare th:first-child, .compare td:first-child { text-align: left; width: 28%; }
.compare td + td, .compare th + th { border-left: 1px solid var(--line); }
.compare thead th { position: sticky; top: 64px; background: rgba(250,250,250,.94); backdrop-filter: blur(8px); font-weight: 500; font-family: var(--f-display); z-index: 2; }
.compare thead th small { color: var(--muted); font-weight: 400; }
.compare .grp td { font-family: var(--f-display); font-weight: 600; font-size: 16px; padding-top: 32px; background: transparent; }
.compare .hint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.compare .yes { color: var(--ink); }
.compare .no { color: var(--muted-2); }
.compare .models-list { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; font-size: 13px; }
.compare .models-list span { display: inline-flex; align-items: center; gap: 6px; }
.compare .models-list i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

/* ---------- Blog ---------- */
.blog-hero { padding: 72px 48px 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.blog-hero .h1 { font-size: 56px; font-weight: 500; letter-spacing: -0.03em; margin: 16px 0 20px; }
.featured { margin: 0 16px; display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border-radius: var(--r-card); box-shadow: var(--ring), var(--shadow); overflow: hidden; }
.featured__img { min-height: 380px; position: relative; border-right: 1px solid var(--line); display: grid; place-items: center; }
.featured__body { padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.featured__body h3 { font-family: var(--f-display); font-weight: 500; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.meta-row { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 16px; }
.post { background: #fff; border-radius: var(--r-card); box-shadow: var(--ring), var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--ring), var(--shadow-lg); }
.post__img { height: 200px; border-bottom: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.post__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.post__body h4 { font-family: var(--f-display); font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
.filters { display: flex; gap: 8px; padding: 24px 16px 0; flex-wrap: wrap; }
.filters button { height: 32px; padding: 0 12px; border-radius: 7px; font-size: 14px; color: var(--muted); }
.filters button.on { background: #fff; color: var(--ink); box-shadow: var(--ring), var(--shadow); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .metrics { grid-template-columns: 1fr; }
  .metrics__tabs { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); }
  .report { grid-template-columns: 1fr; }
  .scatter { border-right: 0; border-bottom: 1px solid var(--line); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__mobile.open { display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 16px; border-top: 1px solid var(--line); }
  .nav__mobile a { padding: 10px 4px; font-size: 16px; }
  .h1 { font-size: 38px; }
  .hero .h1 { font-size: 36px; letter-spacing: -0.03em; }
  .mini .tbl th:nth-child(n+4), .mini .tbl td:nth-child(n+4) { display: none; }
  .h2, .split2 .h2 { font-size: 30px; }
  .lead { font-size: 19px; }
  .section--pad { padding: 88px 0; }
  .hero { padding-top: 48px; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 320px; }
  .app { height: 480px; }
  .app__grid { grid-template-columns: 1fr; }
  .app__grid .panel:last-child { display: none; }
  .app__crumb .ranks { display: none; }
  .app__bar .f:nth-child(n+3), .panel__head .small { display: none; }
  .app__bar .f { white-space: nowrap; }
  .prompt-box { bottom: 20px; }
  .logos { grid-template-columns: 1fr; }
  .logos__col { grid-template-columns: repeat(3, 1fr); }
  .logos__col + .logos__col { border-left: 0; border-top: 1px solid var(--line); }
  .metrics__tabs { grid-template-columns: 1fr; }
  .metrics__stage { padding: 24px 16px 40px; min-height: 0; }
  .overlay { position: relative; inset: auto !important; margin-top: 12px; }
  .stage-panel.is-active { display: block; width: 100%; }
  .sim, .split2 { grid-template-columns: 1fr; }
  .sim__left, .split2 > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 40px 20px; }
  .sim__right { padding: 24px 20px; }
  .counter { font-size: 60px; }
  .section-split { grid-template-columns: 1fr; gap: 16px; padding: 0 20px 40px; }
  .bento { grid-template-columns: 1fr; }
  .span-7, .span-5 { grid-column: auto; }
  .card { padding: 28px 24px 0; min-height: 440px; }
  .quote { padding: 80px 20px; }
  .quote blockquote { font-size: 24px; }
  .split2 > div:last-child { padding: 24px 16px; }
  .scatter { padding: 16px 12px 52px 40px; }
  .scatter__plot { height: 320px; }
  .ticks-x { left: 40px; right: 12px; }
  .testi { grid-template-columns: 1fr; }
  .testi__col:nth-child(n) { margin-top: 0; }
  .cta-dark { grid-template-columns: 1fr; margin: 0; }
  .cta-dark__copy { padding: 48px 24px; }
  .cta-dark .h2 { font-size: 36px; }
  .cta-dark__vis { height: 220px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .agency-banner { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .compare-wrap { overflow-x: auto; }
  .compare { min-width: 760px; }
  .compare thead th { top: 0; }
  .logos-row { padding: 0 20px 24px; justify-content: center; }
  .blog-hero { grid-template-columns: 1fr; padding: 48px 20px 40px; }
  .blog-hero .h1 { font-size: 40px; }
  .featured { grid-template-columns: 1fr; margin: 0 12px; }
  .featured__img { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .posts { grid-template-columns: 1fr; padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Entrata della dashboard in hero */
.hero__shot { animation: rise 1s .15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }


/* =========================================================
   Revisione beta: nome variabile, fatti, in arrivo, modulo, testi
   ========================================================= */

/* Wordmark: regge nomi corti e lunghi */
.logo { min-width: 0; }
.logo svg { flex: none; }
.logo__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.footer .logo { max-width: 100%; }
.footer .logo__name { max-width: 100%; }
.nav__cta { flex: none; align-items: center; }
.nav__mobile a.btn { height: 44px; padding: 0 16px; justify-content: center; margin-top: 8px; font-size: 15px; }

/* Etichetta "dati di esempio" */
.sample-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; background: var(--surface-2); color: var(--muted); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.stage-note { position: absolute; left: 16px; top: 14px; z-index: 3; }
.delta.noise { color: var(--muted); }
.tbl small { color: var(--muted-2); font-size: 11px; }

/* Striscia dei fatti */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts > div { padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 6px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts b { font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* Pannello "Per chi e" */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-top: 1px solid var(--line); margin-top: 64px; }
.audience .card { min-height: 0; padding-bottom: 36px; }
.audience .card .p { max-width: 460px; margin-top: 12px; }
.audience .card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.audience .card li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.audience .card li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* In arrivo */
.soon { display: flex; flex-direction: column; gap: 0; width: 100%; max-width: 480px; background: #fff; border-radius: 12px; box-shadow: var(--ring), var(--shadow); }
.soon li { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.soon li + li { border-top: 1px solid var(--line); }
.soon li span { font-family: var(--f-body); font-weight: 400; font-size: 14px; color: var(--muted); }

/* Modulo lista d'attesa */
.beta { min-height: 0; }
.beta__copy { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.beta__copy .h2 { font-size: 44px; font-weight: 400; color: #fff; }
.beta__copy .h2 .soft { color: rgba(255,255,255,.5); }
.beta__copy p { color: #A3A3A3; font-size: 16px; line-height: 1.5; max-width: 420px; }
.beta__form { padding: 16px; display: flex; }
.wl { background: #fff; color: var(--ink); border-radius: 12px; padding: 28px; width: 100%; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--f-display); font-weight: 500; font-size: 14px; }
.field .hint { color: var(--muted); font-size: 12.5px; }
.field input, .field select {
  height: 44px; border-radius: 6px; border: 0; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; box-shadow: 0 0 0 1px rgba(23,23,23,.16); width: 100%; letter-spacing: -0.2px;
}
.field input:focus-visible, .field select:focus-visible, .check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field .err { color: var(--red); font-size: 12.5px; }
.field.has-error input, .field.has-error select { box-shadow: 0 0 0 1.5px var(--red); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 4px 10px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check .err { grid-column: 2; color: var(--red); font-size: 12.5px; }
.wl .btn { align-self: flex-start; }
.wl .btn[disabled] { opacity: .6; cursor: default; }
.wl__msg { border-radius: 8px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; }
.wl__msg a { text-decoration: underline; text-underline-offset: 2px; }
.wl__msg--ok { background: #F0FDF4; color: var(--green-ink); }
.wl__msg--warn { background: #FFF7ED; color: #9A3412; }
.wl__msg--err { background: #FEF2F2; color: #B91C1C; }
.wl__fine { color: var(--muted); font-size: 12.5px; }

/* Pagine di testo (metodo, privacy, termini) */
.prose-wrap { padding: 56px 24px 96px; }
.prose { max-width: 760px; margin: 0 auto; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.prose h2 { font-family: var(--f-display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--ink); margin: 28px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 0; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { padding-left: 18px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: .7em; width: 5px; height: 5px; border-radius: 1px; background: var(--muted-2); }
.prose a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0 20px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 130px; }
.prose th { font-family: var(--f-display); font-weight: 500; color: var(--ink); }
.doc-meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.prose ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose .box { background: var(--surface); box-shadow: var(--ring), var(--shadow); border-radius: 10px; padding: 18px 20px; margin: 8px 0 20px; }
.prose .toc { columns: 2; column-gap: 32px; }
.prose .toc li { break-inside: avoid; }

/* Offerta agenzie fondatrici (home) e listino agenzie (prezzi) */
.offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.offer__terms { padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--line); }
.offer__terms ul { display: flex; flex-direction: column; gap: 10px; }
.offer__terms li { padding-left: 18px; position: relative; color: var(--ink-2); line-height: 1.5; }
.offer__terms li::before { content: ""; position: absolute; left: 3px; top: .65em; width: 5px; height: 5px; border-radius: 1px; background: var(--ink); }
.offer__terms b { color: var(--ink); font-weight: 600; }
.offer__plans { padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; }
.offer__plan { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; background: var(--surface); border-radius: 10px; box-shadow: var(--ring), var(--shadow); }
.offer__plan .name { font-family: var(--f-display); font-weight: 500; font-size: 17px; }
.offer__plan .price { font-family: var(--f-display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.offer__plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; }
  .offer__terms { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 20px; }
  .offer__plans { padding: 28px 20px; }
  .prose .toc { columns: 1; }
}

/* Stato vuoto del blog */
.empty-card { width: min(360px, 90%); padding: 20px; text-align: left; }
.empty-card .t { font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; margin: 8px 0; }

@media (max-width: 1080px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .logo__name { max-width: 44vw; }
  .facts > div { padding: 22px 20px; }
  .audience { grid-template-columns: 1fr; margin-top: 40px; }
  .beta__copy { padding: 44px 24px 12px; }
  .beta__copy .h2 { font-size: 34px; }
  .beta__form { padding: 12px; }
  .wl { padding: 22px 18px; }
  .wl .btn { align-self: stretch; }
  .prose-wrap { padding: 40px 20px 72px; }
  .prose h2 { font-size: 23px; }
  .stage-note { position: static; margin-bottom: 8px; justify-self: start; }
  .page-hero { padding: 48px 20px 36px; }
}
@media (max-width: 560px) {
  .nav__cta .btn { display: none; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
}


/* Glossario: ogni voce è una sezione con il suo h2 (il primo figlio non deve perdere il margine) */
.prose .term > h2:first-child { margin-top: 48px; }
.prose .term, .prose h2[id] { scroll-margin-top: 88px; }
.prose ul.toc { margin-bottom: 8px; }
