/* ============================================================================
   PsicoVoice — sito vetrina (statico).
   Design system rispecchiato da frontend/src/styles/theme.css: stessa palette
   "clinico-contabile" (teal + panna fumato), stessi font, stesse forme morbide.
   Font SELF-HOSTED (assets/fonts): nessuna chiamata a Google Fonts, per conformità
   GDPR — l'IP del visitatore non viene inviato a terzi.
   ========================================================================== */

/* --- Font self-hosted --- */
@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 500; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 700; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 600; src: url('../fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2'); }

:root {
  /* Palette — allineata a theme.css */
  --ink: #15302E;
  --ink-soft: #2B4A47;
  --primary: #0E8C82;
  --primary-deep: #0B6E66;
  --primary-soft: #DEEDE8;
  --accent: #1FB9AC;
  --paper: #F2EFE7;
  --card: #FBFAF6;
  --cream: #EFEADD;
  --cream-soft: #F6F2E9;
  --line: #E6E0D2;
  --line-soft: #EFEBE0;
  --muted: #5E7370;
  --honey: #E8A04B;
  --honey-soft: #FBEFD9;
  --green: #2BA37A;
  --green-soft: #DBF1E7;
  --clay: #C8553D;
  --clay-soft: #F7E2DB;

  --font-display: 'Bricolage Grotesque Variable', 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21,48,46,.05), 0 6px 16px rgba(21,48,46,.07), 0 22px 44px rgba(21,48,46,.07);
  --shadow-sm: 0 1px 2px rgba(21,48,46,.05), 0 4px 12px rgba(21,48,46,.06);
  --shadow-hover: 0 2px 4px rgba(21,48,46,.06), 0 16px 36px rgba(21,48,46,.14);
  --nav-h: 70px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; font-family: var(--font-ui); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.6;
  /* `clip` contiene l'overflow orizzontale senza trasformare il body in un
     secondo contenitore di scroll (cosa che `hidden` fa forzando overflow-y:auto):
     evita il doppio scrollbar e il layout "spostato a destra" su Chrome. */
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; margin: 0; color: var(--ink); line-height: 1.1; }
p { margin: 0; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.section.tight { padding: 64px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-deep); background: var(--primary-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-lead { font-size: 18px; color: var(--ink-soft); max-width: 620px; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px; border-radius: 13px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; white-space: nowrap;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(180deg, var(--accent) -30%, var(--primary) 75%); color: #fff; border-color: var(--primary-deep); box-shadow: 0 4px 14px rgba(14,140,130,.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,140,130,.32); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.22); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 11px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(242,239,231,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-badge {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(150deg, var(--accent), var(--primary));
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(31,185,172,.35);
}
.brand-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.05; }
.brand-sub { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; margin-top: 2px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-links a {
  padding: 9px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: rgba(14,140,130,.08); color: var(--primary-deep); }
/* Voci in risalto (Calcolatore, Beta): pill colorata sempre visibile. */
.nav-links a.hot { background: var(--honey-soft); color: #9A6311; font-weight: 700; }
.nav-links a.hot:hover { background: var(--honey); color: #3a2408; }
.nav-links a.hot.active { background: var(--primary-soft); color: var(--primary-deep); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); }
.nav-burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 74px) 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 88% 4%, var(--green-soft) 0%, transparent 60%),
    radial-gradient(50% 50% at 4% 96%, var(--honey-soft) 0%, transparent 55%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); font-weight: 800; letter-spacing: -.03em; }
.hero h1 .hl { color: var(--primary-deep); position: relative; white-space: nowrap; }
.hero-lead { font-size: 19.5px; color: var(--ink-soft); margin: 22px 0 30px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; }
.hero-trust .t { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); font-weight: 500; }
.hero-trust .t svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* Mockup dell'app nell'hero */
.hero-visual { position: relative; }
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.2deg);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); background: var(--cream-soft); }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-body { display: grid; grid-template-columns: 76px 1fr; min-height: 300px; }
.mock-side { background: linear-gradient(180deg, var(--ink), var(--primary-deep)); padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.mock-side i { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.16); }
.mock-side i.on { background: var(--accent); }
.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px; }
.mock-stat b { font-family: var(--font-mono); font-size: 18px; color: var(--ink); display: block; }
.mock-stat span { font-size: 10.5px; color: var(--muted); }
.mock-chart { flex: 1; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px; display: flex; align-items: flex-end; gap: 8px; min-height: 120px; }
.mock-chart i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--accent), var(--primary)); opacity: .9; }
.hero-badge {
  position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600;
}
.hero-badge .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.hero-badge.b1 { top: 8%; left: -26px; }
.hero-badge.b2 { bottom: 10%; right: -18px; }

/* ---------- Loghi / social proof ---------- */
.proof { padding: 34px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--cream-soft); }
.proof p { text-align: center; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.proof-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; opacity: .8; }
.proof-item { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink-soft); font-family: var(--font-display); font-size: 17px; }

/* ---------- Come funziona (step) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  font-family: var(--font-mono); font-weight: 600; font-size: 17px; color: #fff;
  background: linear-gradient(150deg, var(--accent), var(--primary)); box-shadow: 0 4px 12px rgba(14,140,130,.28);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Funzionalità (grid) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feature-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; background: var(--primary-soft); color: var(--primary-deep); }
.feature-ic svg { width: 26px; height: 26px; }
.feature.honey .feature-ic { background: var(--honey-soft); color: #9A6311; }
.feature.green .feature-ic { background: var(--green-soft); color: var(--green); }
.feature.clay .feature-ic { background: var(--clay-soft); color: var(--clay); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Split "per chi è" ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.rev .split-media { order: 2; }
.audience { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.aud-item { display: flex; gap: 14px; align-items: flex-start; }
.aud-ic { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--primary-deep); }
.aud-item h4 { font-size: 17px; margin-bottom: 3px; }
.aud-item p { color: var(--ink-soft); font-size: 15px; }
.media-card {
  position: relative; border-radius: var(--radius-lg); padding: 40px; overflow: hidden;
  background: linear-gradient(150deg, var(--ink), var(--primary-deep)); color: #fff; min-height: 320px;
  display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow);
}
.media-card .quote { font-family: var(--font-display); font-size: 24px; line-height: 1.35; font-weight: 600; position: relative; z-index: 1; }
.media-card .who { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.72); position: relative; z-index: 1; }

/* ---------- Sicurezza / GDPR ---------- */
.security { background: linear-gradient(180deg, var(--cream-soft), var(--paper)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.sec-item { display: flex; gap: 15px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.sec-ic { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.sec-item h4 { font-size: 17px; margin-bottom: 5px; }
.sec-item p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Prezzi ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.plan.pro { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan.max { background: linear-gradient(180deg, var(--honey-soft), var(--card)); border: 1.5px dashed var(--honey); }
.plan-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); height: 26px; padding: 0 14px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.plan-ribbon.rec { background: var(--accent); color: #fff; }
.plan-ribbon.soon { background: var(--honey); color: #5A3A0A; }
.plan-name { font-size: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.plan-price { font-family: var(--font-display); font-size: 46px; font-weight: 800; color: var(--ink); margin: 8px 0 2px; }
.plan-price span { font-size: 17px; font-weight: 500; color: var(--muted); }
.plan-desc { color: var(--ink-soft); font-size: 14.5px; min-height: 44px; margin-bottom: 20px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; color: var(--ink-soft); }
.plan-list li svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* ---------- Testimonianze ---------- */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.testi-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.testi-stars { color: var(--honey); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.testi-card p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 18px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; color: #fff; font-family: var(--font-display); }
.testi-who b { font-size: 14.5px; display: block; }
.testi-who span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 16.5px; color: var(--ink); }
.faq-q .chev { transition: transform .2s; color: var(--muted); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-in { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- CTA finale ---------- */
.cta { position: relative; overflow: hidden; }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 66px 40px; text-align: center;
  background: linear-gradient(140deg, var(--ink) 0%, var(--primary-deep) 100%); color: #fff; box-shadow: var(--shadow);
}
.cta-card h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); position: relative; z-index: 1; }
.cta-card p { color: rgba(255,255,255,.82); font-size: 18px; margin: 16px auto 30px; max-width: 520px; position: relative; z-index: 1; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 62px 0 30px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,.5); }
.footer-about { font-size: 14.5px; max-width: 280px; margin-top: 16px; }
.footer-col h5 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-ui); font-weight: 700; }
.footer-col a { display: block; font-size: 14.5px; padding: 5px 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; margin: 0 auto; max-width: 760px;
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.cookie.show { transform: none; }
.cookie p { font-size: 14px; color: var(--ink-soft); flex: 1; min-width: 0; }
.cookie p a { color: var(--primary-deep); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Decorazioni botaniche ---------- */
.leaf-deco { position: absolute; pointer-events: none; z-index: 0; opacity: .9; }
.leaf-soft { opacity: .5; }

/* ---------- Pagine di contenuto (legal / contatti) ---------- */
.page-hero { padding: calc(var(--nav-h) + 60px) 0 44px; background: linear-gradient(180deg, var(--cream-soft), var(--paper)); border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); }
.page-hero p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; max-width: 640px; }
.prose { max-width: 820px; margin: 0 auto; padding: 56px 0 80px; }
.prose h2 { font-size: 24px; margin: 38px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { font-size: 14px; color: var(--muted); }
.prose strong { color: var(--ink); }
.data-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.data-table th, .data-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.data-table th { color: var(--muted); font-weight: 700; background: var(--cream-soft); }
.callout { background: var(--primary-soft); border: 1px solid var(--primary-soft); border-left: 3px solid var(--primary); border-radius: 12px; padding: 16px 18px; margin: 20px 0; font-size: 15px; color: var(--ink-soft); }
.callout.honey { background: var(--honey-soft); border-left-color: var(--honey); }

/* ---------- Contatti form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-family: inherit;
  font-size: 15.5px; color: var(--ink); background: var(--card); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,185,172,.16); }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .ci { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ci .ic { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-deep); }
.form-ok { background: var(--green-soft); color: #1A7355; border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 600; }

/* ---------- Mission / Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.mv-card { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.mv-card.dark { background: linear-gradient(150deg, var(--ink), var(--primary-deep)); color: #fff; border-color: transparent; }
.mv-card.dark h3, .mv-card.dark p { color: #fff; }
.mv-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 14px; }
.mv-card.dark .mv-tag { color: var(--accent); }
.mv-card h3 { font-size: 24px; margin-bottom: 12px; }
.mv-card p { font-size: 16.5px; color: var(--ink-soft); }
.mv-card p + p { margin-top: 12px; }

/* ---------- Pilastri / valori ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.pillar { text-align: center; padding: 26px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pillar .p-ic { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-deep); }
.pillar h4 { font-size: 17px; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Toggle billing (mensile/annuale) ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px; margin: 26px auto 0; box-shadow: var(--shadow); }
.billing-toggle button { height: 46px; padding: 0 26px; border: none; border-radius: 999px; background: transparent; font-weight: 700; font-size: 15.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: background .18s, color .18s, box-shadow .18s, transform .12s; }
.billing-toggle button:hover { color: var(--primary-deep); }
.billing-toggle button.on { background: linear-gradient(180deg, var(--accent) -30%, var(--primary) 75%); color: #fff; box-shadow: 0 4px 14px rgba(14,140,130,.35); transform: translateY(-1px); }
.billing-toggle button.on:hover { color: #fff; }
.billing-save { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 7px; background: var(--honey); color: #5A3A0A; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.billing-toggle button.on .billing-save { background: #fff; color: var(--primary-deep); }
.billing-caption { display: block; text-align: center; margin-top: 20px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* ---------- Plan: limiti, contatore e badge ---------- */
.plan-badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 7px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.plan-badge.free { background: var(--line); color: var(--muted); }
.plan-badge.pro { background: var(--accent); color: #fff; }
.plan-badge.max { background: linear-gradient(135deg, var(--honey), var(--clay)); color: #fff; }
.plan-limits { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; }
.limit-row { }
.limit-row .lr-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-bottom: 5px; }
.limit-row .lr-top b { font-family: var(--font-mono); color: var(--ink); }
.limit-bar { height: 8px; border-radius: 5px; background: var(--line-soft); overflow: hidden; }
.limit-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent), var(--primary)); }
.limit-bar.honey i { background: linear-gradient(90deg, var(--honey), var(--clay)); }
.limit-inf { font-size: 13px; color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* ---------- Tabella comparativa piani ---------- */
.compare-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--card); }
.compare th, .compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-soft); font-weight: 500; }
.compare thead th { font-family: var(--font-display); font-size: 17px; color: var(--ink); background: var(--cream-soft); }
.compare thead th small { display: block; font-family: var(--font-ui); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.compare .hi { background: rgba(31,185,172,.06); }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--line); }
.compare .val { font-family: var(--font-mono); color: var(--ink); font-weight: 600; }

/* ---------- Tabs (guide) ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--line-soft); border-radius: 14px; padding: 5px; margin-bottom: 26px; }
.tabs button { height: 40px; padding: 0 18px; border: none; border-radius: 10px; background: transparent; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.tabs button.on { background: var(--card); color: var(--primary-deep); box-shadow: var(--shadow-sm); }

/* ---------- Stepper (guida passo-passo) ---------- */
.stepper { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.stepper-body { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 300px; }
.stepper-txt { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.stepper-txt .s-num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: .1em; margin-bottom: 10px; }
.stepper-txt h3 { font-size: 24px; margin-bottom: 10px; }
.stepper-txt p { font-size: 16px; color: var(--ink-soft); }
.stepper-visual { background: linear-gradient(150deg, var(--cream-soft), var(--primary-soft)); display: grid; place-items: center; padding: 24px; position: relative; }
.stepper-visual .glyph { width: 120px; height: 120px; border-radius: 30px; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); color: var(--primary-deep); }
.stepper-visual .glyph svg { width: 56px; height: 56px; }
.stepper-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--line-soft); background: var(--cream-soft); }
.step-dots { display: flex; gap: 8px; }
.step-dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .15s, transform .15s; }
.step-dot.on { background: var(--primary); transform: scale(1.25); }

/* ---------- Risorse / notizie ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.res-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.res-cover { height: 120px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; }
.res-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.res-cat { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-deep); }
.res-body h3 { font-size: 17.5px; }
.res-body p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.res-body .res-more { font-size: 13.5px; font-weight: 600; color: var(--primary-deep); }
.link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.link-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.link-item .li-ic { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-deep); }
.link-item b { font-size: 14.5px; }
.link-item span { font-size: 13px; color: var(--muted); }

/* ---------- Recensioni / feedback ---------- */
.rating-big { display: flex; align-items: center; gap: 16px; justify-content: center; margin-top: 8px; }
.rating-big .rb-score { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--ink); }
.rating-big .rb-stars { color: var(--honey); font-size: 22px; letter-spacing: 2px; }
.rating-big .rb-sub { font-size: 13.5px; color: var(--muted); }
.star-input { display: inline-flex; gap: 4px; }
.star-input button { border: none; background: none; padding: 2px; font-size: 26px; line-height: 1; color: var(--line); cursor: pointer; transition: color .12s, transform .12s; }
.star-input button.on { color: var(--honey); }
.star-input button:hover { transform: scale(1.15); }
.review-soon { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--honey-soft); color: #9A6311; font-size: 13px; font-weight: 600; }

/* ---------- Programma Fondatori / closed beta ---------- */
.beta-key {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono);
  font-weight: 600; letter-spacing: .1em; font-size: clamp(18px, 3.4vw, 24px); color: var(--primary-deep);
  background: var(--card); border: 1.5px dashed var(--accent); border-radius: 16px;
  padding: 14px 20px; box-shadow: var(--shadow-sm);
}
.beta-key .k-ic { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(150deg, var(--accent), var(--primary)); color: #fff; box-shadow: 0 3px 10px rgba(14,140,130,.3); }
.beta-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 30px 26px; box-shadow: var(--shadow-sm); }
.beta-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.beta-form-grid .field.full { grid-column: 1 / -1; }
.beta-consent { font-size: 13px; color: var(--muted); margin-top: 4px; }
.beta-consent a { color: var(--primary-deep); font-weight: 600; text-decoration: underline; }
.beta-steps-note { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--green-soft); color: #1A7355; font-size: 13.5px; font-weight: 600; }

/* Blocco "Iscriviti alla beta" in homepage: card in risalto con cattura email. */
.beta-home {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  background: linear-gradient(140deg, var(--cream-soft), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 44px; box-shadow: var(--shadow);
}
.beta-home .eyebrow { margin-bottom: 8px; }
.beta-home .section-title { margin-bottom: 12px; }
.beta-home .section-lead { max-width: 560px; }
.beta-mini { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.beta-mini-input {
  flex: 1; min-width: 220px; height: 52px; padding: 0 18px; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-sm);
}
.beta-mini-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--primary-soft); }
.beta-mini .btn { height: 52px; }
.beta-mini-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.beta-mini-note a { color: var(--primary-deep); font-weight: 600; text-decoration: underline; }
.beta-home-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.beta-home-steps { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 260px; }
.beta-home-steps span { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.beta-home-steps b {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-deep); font-size: 13px; font-weight: 700;
}
@media (max-width: 860px) {
  .beta-home { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; }
  .beta-home-visual { order: -1; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .beta-home-steps { max-width: none; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) { .beta-form-grid { grid-template-columns: 1fr; } .beta-form { padding: 24px 20px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .split, .contact-grid, .mv-grid { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-media { order: 0; }
  .steps, .features, .pricing, .testi, .sec-grid, .res-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stepper-body { grid-template-columns: 1fr; }
  .stepper-visual { min-height: 180px; order: -1; }
  .link-list { grid-template-columns: 1fr; }
}
/* La barra orizzontale non entra sotto ~1140px (troppe voci): sotto i 1024px
   collassa nel menu a panino. Regola solo la navigazione, non il layout mobile. */
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px; gap: 4px;
  }
  .nav.open .nav-links a { padding: 13px 14px; }
  .nav.open .nav-links a.hot { background: var(--honey-soft); color: #9A6311; }
}
@media (max-width: 720px) {
  .section { padding: 66px 0; }
  .steps, .features, .pricing, .testi, .sec-grid, .footer-top, .res-grid, .pillars { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
  .tabs { width: 100%; justify-content: stretch; }
  .tabs button { flex: 1; padding: 0 10px; }
  .stepper-txt { padding: 24px; }
  .plan.pro { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
