/* ── Font self-hosted (nessuna richiesta a Google Fonts: privacy) ──
   File variabili scaricati da Google Fonts (licenza SIL OFL 1.1). */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ═══════════════ Più39 — piu39.online ═══════════════
   Token system: navy ink dominante, gradiente blu→viola come accento netto.
   Display: Bricolage Grotesque · Body: Instrument Sans                    */

:root {
  --ink: #121a2f;
  --ink-soft: #46516a;
  --paper: #f6f7fc;
  --surface: #ffffff;
  --line: #e3e7f1;
  --brand: #3157e3;
  --brand-dark: #2445be;
  --violet: #713de0;
  --azure: #2f7bff;
  --grad: linear-gradient(118deg, var(--azure), var(--brand) 46%, var(--violet));
  --night: #0e1630;
  --night-soft: #b9c3e2;
  --shadow: 0 18px 45px rgba(24, 34, 58, .12);
  --radius: 20px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  padding: .7rem 1.1rem; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ── Tipografia ── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.35rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .6rem;
  color: var(--brand); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow-light { color: #8fb0ff; }

/* ── Onda sonora (elemento firma) ── */
.wave { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.wave i {
  width: 3px; height: 100%; border-radius: 99px;
  background: var(--grad); transform-origin: center;
  animation: wave-bounce 1.15s ease-in-out infinite;
}
.wave i:nth-child(1) { animation-delay: 0s;   height: 55%; }
.wave i:nth-child(2) { animation-delay: .15s; height: 100%; }
.wave i:nth-child(3) { animation-delay: .3s;  height: 70%; }
.wave i:nth-child(4) { animation-delay: .45s; height: 95%; }
.wave i:nth-child(5) { animation-delay: .6s;  height: 60%; }
@keyframes wave-bounce {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}

/* ── Pulsanti ── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.35rem;
  border: 1.5px solid transparent; border-radius: 12px;
  font-family: var(--font-body); font-size: .97rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  touch-action: manipulation;
}
.button:active { transform: translateY(1px); }
.button-lg { min-height: 52px; padding: .85rem 1.7rem; font-size: 1.02rem; }
.button-primary {
  color: #fff; background: var(--brand);
  box-shadow: 0 10px 24px rgba(49, 87, 227, .28);
}
.button-primary:hover { background: var(--brand-dark); box-shadow: 0 12px 28px rgba(49, 87, 227, .36); }
.button-ghost { color: var(--ink); background: transparent; border-color: #c9d2e8; }
.button-ghost:hover { border-color: var(--ink-soft); background: #eef1f9; }
.button-light { color: var(--night); background: #fff; }
.button-light:hover { background: #e8edff; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 252, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227, 231, 241, .8);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
.wordmark { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; line-height: 1; }
.wordmark-piu { color: var(--ink); }
.wordmark-39 {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.main-nav { display: flex; gap: 1.9rem; }
.main-nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .6rem 0;
}
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.menu-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1.5px solid #c9d2e8; border-radius: 12px; color: var(--ink); background: transparent;
}
.mobile-nav { display: none; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: clamp(3.2rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(720px 420px at 12% 0%, rgba(47, 123, 255, .13), transparent 65%),
    radial-gradient(640px 460px at 88% 18%, rgba(113, 61, 224, .12), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lede { margin: 1.3rem 0 0; max-width: 34rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; margin: 2.3rem 0 0; padding: 0; list-style: none; }
.trust-row li { display: flex; align-items: center; gap: .55rem; color: var(--ink-soft); font-size: .92rem; font-weight: 500; }
.trust-row svg { width: 19px; height: 19px; flex: none; color: var(--brand); }

/* ── Call demo ── */
.call-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
.call-head {
  display: flex; align-items: center; gap: .7rem;
  padding: .95rem 1.25rem; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcff, #f4f6fd);
}
.call-dot { width: 9px; height: 9px; border-radius: 99px; background: #1da45c; box-shadow: 0 0 0 4px rgba(29, 164, 92, .14); }
.call-title { flex: 1; font-size: .87rem; font-weight: 600; color: var(--ink-soft); }
.call-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.25rem; min-height: 342px; }
.msg {
  margin: 0; max-width: 88%;
  padding: .68rem .95rem; border-radius: 15px;
  font-size: .93rem; line-height: 1.45;
}
.msg-ai { align-self: flex-start; color: var(--ink); background: #eef1f9; border-bottom-left-radius: 5px; }
.msg-user {
  align-self: flex-end; color: #fff; background: var(--grad);
  border-bottom-right-radius: 5px;
}
.booking-chip {
  display: flex; align-items: center; gap: .6rem; margin-top: .4rem;
  padding: .7rem .95rem; border: 1px solid #bfe4cf; border-radius: 13px;
  background: #e9f8f0; color: #135c39; font-size: .87rem;
}
.booking-chip svg { width: 20px; height: 20px; flex: none; }
.demo-caption { margin: .9rem .3rem 0; color: var(--ink-soft); font-size: .87rem; }

/* stato animato: i messaggi partono nascosti e appaiono in sequenza (via JS) */
.call-card.is-animated .msg, .call-card.is-animated .booking-chip { opacity: 0; transform: translateY(8px); }
.call-card.is-animated .msg.shown, .call-card.is-animated .booking-chip.shown {
  opacity: 1; transform: none;
  transition: opacity .3s ease-out, transform .3s ease-out;
}

/* ── Sezioni ── */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-lede { margin: 1.2rem 0 0; color: var(--ink-soft); font-size: 1.08rem; }

/* ── Cosa facciamo ── */
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.mode-card {
  display: flex; flex-direction: column;
  padding: 1.8rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mode-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mode-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.2rem;
  border-radius: 15px; color: #fff; background: var(--grad);
  box-shadow: 0 10px 22px rgba(49, 87, 227, .25);
}
.mode-icon svg { width: 26px; height: 26px; }
.mode-card p { margin: .8rem 0 0; color: var(--ink-soft); font-size: .96rem; }
.mode-for {
  margin-top: auto !important; padding-top: 1.2rem;
  color: var(--brand) !important; font-size: .82rem !important; font-weight: 600;
}

/* ── WhatsApp (banda scura) ── */
.section-dark { color: #fff; background: var(--night); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 420px at 85% 10%, rgba(113, 61, 224, .28), transparent 65%),
    radial-gradient(560px 400px at 5% 95%, rgba(47, 123, 255, .18), transparent 65%);
}
.wa-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lede-light { color: var(--night-soft); }
.wa-features { margin: 1.6rem 0 0; padding: 0; list-style: none; display: grid; gap: .65rem; }
.wa-features li { position: relative; padding-left: 1.7rem; color: #dbe2f6; font-size: .98rem; }
.wa-features li::before {
  content: ""; position: absolute; left: 0; top: .34em; width: 15px; height: 15px;
  border-radius: 99px; background: var(--grad);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="m4 13 5 5L20 7"/></svg>') center / contain no-repeat;
}
.wa-bridge {
  display: flex; gap: .7rem; align-items: flex-start;
  margin: 1.8rem 0 2rem; padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
  background: rgba(255, 255, 255, .06); color: #dbe2f6; font-size: .93rem;
}
.wa-bridge svg { width: 21px; height: 21px; flex: none; margin-top: .15rem; color: #8fb0ff; }
.logo-card {
  padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: 26px; background: #fff;
  box-shadow: 0 24px 60px rgba(5, 10, 30, .45);
}
.logo-card img { margin-inline: auto; }

/* ── Come funziona ── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem;
  margin: 0; padding: 0; list-style: none;
  counter-reset: step;
}
.step {
  position: relative; padding: 1.8rem 1.7rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.step-num {
  display: block; margin-bottom: .9rem;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.step p { margin: .8rem 0 0; color: var(--ink-soft); font-size: .96rem; }

/* ── Chi siamo ── */
.section-idea { position: relative; overflow: hidden; background: #fff; border-block: 1px solid var(--line); }
.idea-numeral {
  position: absolute; right: -1.5rem; top: -3rem; z-index: 0;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(14rem, 30vw, 26rem);
  line-height: 1; letter-spacing: -.05em; color: transparent;
  background: linear-gradient(160deg, rgba(47, 123, 255, .09), rgba(113, 61, 224, .05));
  -webkit-background-clip: text; background-clip: text;
  user-select: none; pointer-events: none;
}
.idea-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.idea-copy p { margin: 1.2rem 0 0; color: var(--ink-soft); font-size: 1.05rem; max-width: 36rem; }
.idea-copy h2 { margin-top: 0; }
.idea-copy strong { color: var(--ink); }
.logo-card-light { border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ── CTA finale ── */
.section-cta { padding-bottom: clamp(4rem, 9vw, 7rem); }
.cta-card {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: 30px;
  background: var(--night); color: #fff; text-align: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 320px at 18% 0%, rgba(47, 123, 255, .3), transparent 65%),
    radial-gradient(560px 320px at 82% 100%, rgba(113, 61, 224, .3), transparent 65%);
}
.cta-card > * { position: relative; }
.wave-cta { height: 26px; margin-bottom: 1.4rem; }
.wave-cta i { width: 4px; }
.cta-card p { margin: 1.2rem auto 0; max-width: 33rem; color: var(--night-soft); font-size: 1.07rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.2rem; }
.cta-card .button-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-card .button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
  padding: 3.2rem 0 2.2rem;
}
.footer-brand p { margin: .7rem 0 0; color: var(--ink-soft); font-size: .9rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.footer-nav { display: grid; gap: .6rem; align-content: start; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; padding: .15rem 0; }
.footer-nav a:hover { color: var(--ink); }
.footer-powered { justify-self: end; text-align: right; }
.footer-powered span { display: block; margin-bottom: .5rem; color: var(--ink-soft); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-powered img { width: 150px; height: auto; margin-left: auto; }
.footer-legal { padding: 1.2rem 0 1.6rem; border-top: 1px solid var(--line); }
.footer-legal p { margin: 0; color: var(--ink-soft); font-size: .85rem; }
.footer-legal a { color: var(--ink-soft); }

/* ── Modulo "Parla con noi" ── */
.lead-dialog {
  width: min(560px, calc(100% - 2rem));
  margin: auto; padding: 0;
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px rgba(10, 16, 40, .35);
}
.lead-dialog::backdrop { background: rgba(10, 15, 35, .55); backdrop-filter: blur(3px); }
.lead-dialog form { display: grid; gap: 1.05rem; padding: clamp(1.4rem, 4vw, 2.2rem); margin: 0; }
.lead-dialog form[hidden] { display: none; }
.lead-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lead-head h2 { font-size: 1.65rem; }
.dialog-close {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1.5px solid #c9d2e8; border-radius: 12px;
  color: var(--ink-soft); background: transparent;
}
.dialog-close:hover { color: var(--ink); border-color: var(--ink-soft); }
.dialog-close svg { width: 20px; height: 20px; }
.lead-intro { margin: -.4rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.lead-field { display: grid; gap: .4rem; margin: 0; padding: 0; border: 0; }
.lead-field > span, .lead-field > legend { font-size: .92rem; font-weight: 600; }
.lead-field legend { padding: 0; margin-bottom: .45rem; }
.lead-field em { color: var(--brand); font-style: normal; }
.lead-field input[type="text"], .lead-field select {
  min-height: 46px; padding: .6rem .8rem;
  border: 1.5px solid #c9d2e8; border-radius: 11px;
  background: #fbfcff; color: var(--ink); font: inherit; font-size: .97rem;
  width: 100%;
}
.lead-field input[type="text"]:focus, .lead-field select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(49, 87, 227, .18); }
.choice input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.choice:has(input:focus-visible) { border-color: var(--brand); }
.lead-field input.invalid { border-color: #b42318; }
.lead-choices { display: grid; gap: .55rem; }
.choice {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .7rem .85rem; border: 1.5px solid #c9d2e8; border-radius: 12px;
  cursor: pointer; font-size: .95rem;
}
.choice:has(input:checked) { border-color: var(--brand); background: #eef2ff; }
.choice input { width: 19px; height: 19px; margin-top: .12rem; accent-color: var(--brand); flex: none; }
.choice strong { font-weight: 700; }
.field-error { display: none; color: #b42318; font-size: .84rem; font-weight: 500; }
.field-error.show { display: block; }
.form-error { display: none; margin: 0; padding: .7rem .9rem; border-radius: 11px; background: #fdecea; color: #b42318; font-size: .9rem; }
.form-error.show { display: block; }
.lead-submit[disabled] { opacity: .6; cursor: default; }
.lead-hp { position: absolute; left: -9999px; top: auto; }
.lead-success { display: grid; justify-items: center; gap: .6rem; padding: clamp(2rem, 5vw, 3rem); text-align: center; }
.lead-success[hidden] { display: none; }
.lead-success svg { width: 52px; height: 52px; color: #16794d; }
.lead-success h2 { font-size: 1.6rem; }
.lead-success p { margin: 0; color: var(--ink-soft); }
.lead-success .button { margin-top: .8rem; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════ Responsive ═══════════════ */
@media (max-width: 1023px) {
  .hero-grid, .wa-grid, .idea-grid { grid-template-columns: 1fr; }
  .hero-demo { max-width: 34rem; }
  .wa-visual { max-width: 26rem; }
  .idea-visual { max-width: 24rem; }
  .mode-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-powered { justify-self: start; text-align: left; }
  .footer-powered img { margin-left: 0; }
  .idea-numeral { font-size: 18rem; right: -4rem; }
}

@media (max-width: 767px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.open {
    display: grid; gap: .2rem; padding: .6rem 1.25rem 1rem;
    border-top: 1px solid var(--line);
    background: rgba(246, 247, 252, .97);
  }
  .mobile-nav a {
    padding: .8rem .4rem; color: var(--ink); text-decoration: none;
    font-weight: 600; font-size: 1.05rem; border-radius: 10px;
  }
  .header-actions .button { min-height: 42px; padding: .55rem 1rem; font-size: .9rem; }
  .mode-grid, .steps { grid-template-columns: 1fr; }
  .call-body { min-height: 368px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2.4rem; }
  .footer-nav a { padding: .55rem 0; }
  .cta-actions .button { width: 100%; }
  .hero-actions .button { flex: 1 1 auto; }
}

/* ═══════════════ Reduced motion ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave i { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mode-card, .button { transition: none; }
  .mode-card:hover { transform: none; }
}

/* ── Pagine legali (privacy) ── */
.legal-page { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem); }
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: .5rem; }
.legal-updated { color: var(--muted, #5b6675); margin: 0 0 2.25rem; }
.legal-page h2 { font-size: 1.35rem; margin: 2.25rem 0 .6rem; }
.legal-page h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
.legal-page p, .legal-page li { line-height: 1.7; }
.legal-page ul { padding-left: 1.25rem; }
.legal-page li { margin: .35rem 0; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal-page th, .legal-page td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid rgba(18, 26, 47, .12); }
.legal-page th { font-weight: 600; }
.legal-table-wrap { overflow-x: auto; }
.legal-box { background: rgba(47, 123, 255, .07); border-left: 4px solid #3157e3; padding: 1rem 1.25rem; border-radius: 10px; margin: 1.5rem 0; }
