/* ══════════════════════════════════════════════════════════════════════
   Smoke test di vendita in call (99 / 199 / 399 / Enterprise), marchio di
   prova. Grammatica di gradial.com: nero e bianco, un sans a peso 400 con
   tracking stretto, mono per etichette e selettori, raggi piccoli (8px),
   griglie di punti, un gradiente blu-viola usato SOLO dentro riquadri.
   Il prodotto si vede in motion graphic: interfaccia ricostruita in HTML
   e animata con GSAP (cartella motion/). Ritmo: tre misure di spaziatura
   (--s-sec, --s-head, --s-gap) e un fondo diverso per ogni sezione.
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --bg: #ffffff;
  --tile: #f9f9f9;
  --tile-2: #efeff0;
  --ink: #101828;
  --black: #000000;
  --ink-2: #364153;
  --muted: #5b6472;
  --line: rgba(0, 0, 0, .1);
  --line-soft: rgba(0, 0, 0, .06);
  --night: #141414;
  --abyss: #030712;

  /* il gradiente del marchio: blu, viola, magenta, lilla chiaro */
  --g1: #2a3df0;
  --g2: #5b5bf7;
  --g3: #8b4df5;
  --g4: #c24df0;
  --g5: #e7d9ff;
  --blue: #3b2eea;

  --panel: #f4f4f6;                        /* fascia grigia: alterna col bianco */

  /* ritmo verticale: tre misure, usate ovunque */
  --s-sec: clamp(72px, 7.6vw, 116px);      /* sopra e sotto ogni sezione */
  --s-head: clamp(36px, 3.8vw, 56px);      /* dal titolo della sezione al suo contenuto */
  --s-gap: clamp(16px, 1.5vw, 22px);       /* fra riquadri fratelli */

  --wrap: 1344px;
  --gut: clamp(20px, 3.4vw, 48px);
  --r: 8px;
  --r-lg: 16px;                            /* riquadri grandi: scene, schede, fasce interne */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── base: styles.css impone Sora/Noto su h1-h4, em, b; si riprende qui ── */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
h1, h2, h3, h4, em, b, strong, p, li, a, button, input, select, label, summary, blockquote, figcaption, dt, dd, span { font-family: var(--sans); }
h1, h2, h3, h4 { margin: 0; color: var(--black); font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
b, strong { font-weight: 500; }
img, svg { display: block; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); box-sizing: border-box; }
.sec { padding: var(--s-sec) 0; }
.sec--panel { background: var(--panel); }
.h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--ink-2); }
.center { text-align: center; }
.center .h2, .center .lead { margin-left: auto; margin-right: auto; }
.dots { background-image: radial-gradient(rgba(16, 24, 40, .16) 1px, transparent 1.2px); background-size: 14px 14px; }

/* ── bottoni: 8px di raggio, peso normale, freccia ─────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r); box-sizing: border-box; font: 400 16px/1 var(--sans); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer; background: #000; color: #fff; border: 1px solid transparent; transition: background-color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease); }
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
@media (hover: hover) { .btn:hover { background: #1f2937; } .btn:hover svg { transform: translateX(3px); } }
.btn:active { transform: scale(.98); }
.btn--white { background: #fff; color: #000; }
@media (hover: hover) { .btn--white:hover { background: #f1f1f3; } }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .9); }
@media (hover: hover) { .btn--ghost:hover { background: rgba(255, 255, 255, .12); } }
.btn--lg { height: 44px; padding: 0 18px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── selettore a segmenti (mono) + select su telefono ──────────────── */
.panel-in { animation: panelIn .5s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── nav (sopra la hero scura) ─────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: transform .26s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.nav.is-scrolled { background: var(--night); }
.nav.is-light { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line-soft); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__in { position: relative; display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; font: 600 24px/1 var(--sans); letter-spacing: -0.035em; }
.nav__links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 16px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 8px; border-radius: 8px; font-size: 16px; letter-spacing: -0.01em; color: inherit; text-decoration: none; transition: background-color .2s var(--ease); }
.nav__links a:hover { background: rgba(255, 255, 255, .12); }
.nav.is-light .nav__links a:hover { background: var(--line-soft); }
.nav .btn { height: 40px; padding: 0 12px; font-size: 16px; }
.nav.is-light .btn--white { background: var(--ink); color: #fff; }
@media (hover: hover) { .nav.is-light .btn--white:hover { background: var(--abyss); } }

/* ── hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; color: #fff; text-align: center; --stage-h: calc(min(100vw - var(--gut) * 2, 1118px) * .5536 + 76px); }
.hero__bg { position: absolute; z-index: -1; inset: 0 0 calc(var(--stage-h) - 76px) 0; overflow: hidden; background-color: var(--night); }
.hero__bg::before { content: ""; position: absolute; inset: -30% -12% 0; transform-origin: 50% 0; background-image: radial-gradient(30% 46% at 6% 22%, #2d7eee 0%, rgba(45, 126, 238, 0) 70%), radial-gradient(18% 30% at 0% 26%, #8b3fe8 0%, rgba(139, 63, 232, 0) 72%), radial-gradient(30% 54% at 96% 30%, #9347ed 0%, rgba(147, 71, 237, 0) 68%), radial-gradient(20% 34% at 84% 22%, #3a34c9 0%, rgba(58, 52, 201, 0) 72%), radial-gradient(14% 24% at 100% 42%, #d62fe2 0%, rgba(214, 47, 226, 0) 74%); }
.hero__in { padding-top: clamp(132px, 12vw, 172px); }
.hero h1 { color: #fff; font-size: clamp(42px, 6.1vw, 88px); line-height: .96; letter-spacing: -0.035em; max-width: 12.5em; margin: 0 auto; }
.hero__sub { margin: clamp(22px, 2.6vw, 32px) auto 0; max-width: 564px; font-size: 18px; font-weight: 300; line-height: 1.44; letter-spacing: -0.01em; color: #fff; }
.hero__cta { margin-top: 32px; }

/* il riquadro è una colonna flessibile (la didascalia sta in fondo anche prima dello script): la tela deve
   comunque prendere tutta la larghezza, altrimenti quella da telefono, centrata coi margini automatici, si chiude a zero */
.hstage > .mg { width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
/* il cerchio delle preferenze cookie che lo script comune lascia in basso a sinistra porta il logo dell'altro marchio: qui si riapre dal piede */
#cookieFab { display: none !important; }
.voice blockquote, .voice__by span, .mg-cap span, .faq summary, .plan__list li { text-wrap: balance; }
/* pannello delle preferenze cookie: la X usa un font di icone che qui non è caricato */
#cookieModalClose::before { content: "×"; font: 400 22px/1 var(--sans); }
#cookieModalClose i { display: none; }
/* Tornato il 4/11/2026 dopo la prova del riquadro standard (3-4/11, clic che arrivano al pixel dal 45% al 31%).
   banner dei cookie: un velo scuro sulla pagina e una scheda nera che chiede una scelta prima
   di proseguire (dal basso su telefono, al centro su schermi grandi). Il perché in una frase,
   "Accetta" largo e a destra dove arriva il pollice; la X in alto chiude senza accettare.
   Sostituisce la barra blu di styles.css, che si poteva ignorare (testo da 11,5px). */
.cookie-banner { inset: 0; padding: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)); display: flex; align-items: flex-end; justify-content: center; gap: 0; background: rgba(3, 7, 18, .55); box-shadow: none; font: 400 15px/1.45 var(--sans); letter-spacing: 0; color: #fff; transform: none; transition: opacity .35s var(--ease); }
.cookie-banner.visible { transform: none; }
html:has(#cookieBanner.visible) { overflow: hidden; }
.cookie-card { position: relative; width: 100%; max-width: 480px; box-sizing: border-box; padding: 22px 20px 20px; display: grid; gap: 18px; background: #000; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); box-shadow: 0 24px 64px rgba(0, 0, 0, .45); outline: none; transform: translateY(24px); transition: transform .55s var(--ease); }
.cookie-banner.visible .cookie-card { transform: none; }
.cookie-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--r); background: transparent; color: rgba(255, 255, 255, .72); cursor: pointer; }
.cookie-x svg { width: 16px; height: 16px; }
@media (hover: hover) { .cookie-x:hover { color: #fff; background: rgba(255, 255, 255, .08); } }
.cookie-x:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.cookie-banner-text { text-wrap: pretty; padding-right: 30px; }
.cookie-banner-title { display: block; margin: 0 0 6px; font: 500 20px/1.25 var(--sans); letter-spacing: -0.015em; color: #fff; }
.cookie-banner-long { display: inline; color: rgba(255, 255, 255, .72); }
.cookie-banner-short { display: none; }
.cookie-banner-text a { font-weight: 400; color: #fff; text-decoration-color: rgba(255, 255, 255, .45); white-space: nowrap; }
.cookie-banner-actions { display: flex; flex-wrap: nowrap; gap: 8px; }
.cookie-banner .cookie-btn { height: 48px; padding: 0 18px; border-radius: var(--r); font: 500 16px/1 var(--sans); letter-spacing: 0; }
.cookie-banner .cookie-btn-primary { flex: 1 1 auto; }
.cookie-banner .cookie-btn-ghost { color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .24); }
.cookie-banner .cookie-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) { .cookie-banner .cookie-btn-ghost:hover { background: rgba(255, 255, 255, .08); text-decoration: none; } .cookie-banner .cookie-btn-primary:hover { background: #e9e9ec; } }
@media (min-width: 761px) {
  .cookie-banner { align-items: center; padding: 24px; }
  .cookie-card { padding: 28px 28px 24px; gap: 22px; }
  .cookie-banner-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity .2s linear; }
  .cookie-card, .cookie-banner.visible .cookie-card { transform: none; transition: none; }
}
.hsteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3.5px; max-width: 918px; margin: clamp(44px, 4.8vw, 68px) auto 0; }
.hstep { background: none; border: 0; padding: 12px 0 0; cursor: pointer; color: rgba(255, 255, 255, .72); font: 400 16px/1 var(--sans); transition: color .25s var(--ease); }
.hstep span { display: inline-flex; align-items: center; gap: 8px; height: 24px; }
.hstep svg { width: 22px; height: 14px; opacity: 0; transition: opacity .25s var(--ease); }
.hstep[aria-selected="true"] { color: #fff; font-weight: 500; }
.hstep[aria-selected="true"] svg { opacity: 1; }
.hstep__bar { display: block; height: 4px; margin-top: 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hstep__bar i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.hstage { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; width: calc(100% - var(--gut) * 2); max-width: 1118px; min-height: var(--stage-h); margin: 36px auto 0; border-radius: var(--r-lg); background-color: #cdb6ff; background-image: radial-gradient(46% 70% at 0% 0%, #2f3cf5 0%, rgba(47, 60, 245, 0) 62%), radial-gradient(44% 64% at 100% 100%, #a743f0 0%, rgba(167, 67, 240, 0) 62%), radial-gradient(30% 60% at 100% 50%, #5a6bff 0%, rgba(90, 107, 255, 0) 64%), radial-gradient(36% 46% at 0% 100%, #efe6ff 0%, rgba(239, 230, 255, 0) 70%), linear-gradient(135deg, #8f8bff 0%, #d7b9ff 46%, #ecd6ff 62%, #c79bff 100%); }
.hpause { position: absolute; right: 24px; bottom: 16px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: rgba(10, 10, 10, .72); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s var(--ease); }
.hpause:hover { background: rgba(10, 10, 10, .9); }
.hpause svg { width: 14px; height: 14px; }
.hpause .ic-play { display: none; }
.hpause[aria-pressed="true"] .ic-play { display: block; }
.hpause[aria-pressed="true"] .ic-pause { display: none; }

/* ── valore: il conto del lavoro a mano ────────────────────────────── */
.value__head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px clamp(32px, 6vw, 112px); align-items: end; }
.value__head .h2 { max-width: 12.5em; }
.value__head .lead { max-width: 30em; }
.gains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-gap); margin-top: var(--s-head); }
.gain { padding: 32px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft); display: flex; flex-direction: column; }
.gain__k { font: 400 14px/1.3 var(--mono); color: var(--muted); }
.gain__n { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.gain__n s { font-size: 16px; color: var(--muted); text-decoration-thickness: 1px; }
.gain__n svg { width: 15px; height: 15px; color: var(--blue); align-self: center; }
.gain__n b { width: 100%; text-wrap: balance; font-size: clamp(24px, 2.22vw, 32px); line-height: 1.04; font-weight: 400; letter-spacing: -0.02em; color: #000; }
.gain__t { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 26em; }
.value__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.value__src { font: 400 14px/1.5 var(--sans); color: var(--muted); max-width: 46em; }
/* un esempio solo, in grande, al posto del calcolatore */

/* etichetta dei bottoni che scorre al passaggio (la monta lo script) */
.roll { display: inline-grid; overflow: hidden; line-height: 1.3; }
.roll > span { grid-area: 1 / 1; transition: transform .38s var(--ease); }
.roll > span + span { transform: translateY(115%); }
@media (hover: hover) {
  .btn:hover .roll > span:first-child { transform: translateY(-115%); }
  .btn:hover .roll > span + span { transform: none; }
}
/* titoli di sezione: entrano parola per parola quando arrivano a schermo */
.anim .kh .kw > span { animation: none; opacity: 0; transform: translateY(.3em); }
.anim .kh.rv-in .kw > span { animation: kIn .65s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }

/* ── riprova: una voce in grande con la foto, tre in colonna ───────── */
.voices { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4.5vw, 72px); align-items: stretch; }
.voice { margin: 0; }
.voices__k { font: 400 14px/1.3 var(--mono); color: rgba(255, 255, 255, .72); }
.voice blockquote { margin: 0; font-size: 18px; line-height: 1.5; letter-spacing: 0; color: #101828; }
.voice--hi { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: clamp(32px, 3.34vw, 48px); border-radius: var(--r-lg); background: #0a0a0a; color: #fff; }
.voice--hi blockquote { margin-top: 16px; font-size: clamp(24px, 2.22vw, 32px); line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.voice__by { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.voice--hi .voice__by { margin-top: auto; padding-top: 40px; }
.voice__av { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--panel); font: 500 14px/1 var(--mono); font-style: normal; color: var(--ink-2); }
.voice--hi .voice__av { width: 52px; height: 52px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .28); }
.voice__by span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.voice__by b { display: block; font-size: 16px; font-weight: 500; color: #101828; }
.voice--hi .voice__by span { color: rgba(255, 255, 255, .72); }
.voice--hi .voice__by b { color: #fff; }
.voices__list { display: flex; flex-direction: column; }
.voices__list li { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; border-top: 1px solid var(--line); }
.voices__list li:last-child { border-bottom: 1px solid var(--line); }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s-head); border-radius: var(--r-lg); background: var(--panel); }
.cells li { padding: 30px 24px 28px; text-align: center; }
.cells li + li { border-left: 1px solid rgba(0, 0, 0, .08); }
.cells b { display: block; font-size: clamp(24px, 2.22vw, 32px); line-height: 1; font-weight: 400; letter-spacing: -0.02em; color: #000; }
.cells span { display: block; margin-top: 10px; font: 400 14px/1.3 var(--mono); color: var(--muted); }


/* ── etichetta a pillola e parola in evidenza (usate con parsimonia) ── */
.hl { color: inherit; }

/* ── schede a tinta piena: colore pieno, frase grande in basso, interfaccia che esce dal bordo ── */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-gap); margin-top: var(--s-head); }
.bc { position: relative; isolation: isolate; overflow: hidden; display: grid; min-height: 384px; border-radius: var(--r-lg); }
.bc--6 { grid-column: span 6; }
.bc--h { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.bc--v { grid-template-rows: auto minmax(0, 1fr); }
.bc--low { min-height: 316px; }
.bc__txt { position: relative; z-index: 2; align-self: end; padding: 32px; }
.bc--v .bc__txt { padding-top: 20px; }
.bc__k { display: block; font: 400 14px/1.3 var(--mono); opacity: .72; }
.bc__t { margin-top: 16px; color: inherit; font-size: clamp(18px, 1.67vw, 24px); line-height: 1.2; letter-spacing: -0.02em; text-wrap: pretty; }
.bc--night { background: #1d1647; color: #fff; }
.bc--ink { background: #0a0a0a; color: #fff; }
.bc--lilac { background: #e6e1ff; color: #15113a; }
.bc--grey { background: #ecedf2; color: var(--ink); }
.bc--white { background: #fff; color: var(--ink); }
/* l'interfaccia: scorre dall'alto e viene tagliata dal bordo della scheda */
.bc__art { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
.bc--h .bc__art { padding: 44px 36px 0 4px; }
.bc--v .bc__art { order: -1; padding: 32px 32px 0; }
.bc--v .vg { width: 82%; }
.vg { position: relative; z-index: 1; flex: 0 0 auto; width: 100%; box-sizing: border-box; border-radius: 8px; background: #fff; color: #0f172a; font-size: 14px; line-height: 1.35; text-align: left; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); }
.vg b { font-weight: 600; }
.vg-logo { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f3e9d8; color: #2a1810; font: 700 15px/1 Georgia, "Times New Roman", serif; box-shadow: 0 0 0 1px rgba(42, 24, 16, .14); }
.vg-ok { flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #16a34a; color: #fff; }
.vg-ok svg { width: 10px; height: 10px; }
.vg-doc__h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #e6eaf1; }
.vg-doc__h > div { flex: 1; min-width: 0; white-space: nowrap; }
.vg-doc__h span { display: block; font-size: 12.5px; color: #64748b; }
.vg-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 12px; }
.vg-stats div + div { padding-left: 12px; border-left: 1px solid #e6eaf1; }
.vg-stats b { display: block; font-size: 26px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.vg-stats span { display: block; margin-top: 6px; font-size: 12.5px; color: #64748b; white-space: nowrap; }
.vg-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0 12px 12px; }
.vg-post { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: #b5573a; }
.vg-post img { width: 100%; height: 100%; object-fit: cover; }
.vg-post--cv { display: grid; align-content: end; padding: 8px; gap: 5px; }
.vg-post--cv i { display: block; height: 5px; border-radius: 3px; background: rgba(243, 233, 216, .9); }
.vg-post--cv i:last-child { width: 60%; }
.vg-post .vg-ok { position: absolute; right: 4px; top: 4px; width: 15px; height: 15px; box-shadow: 0 0 0 1.5px #fff; }
.vg-post .vg-ok svg { width: 8px; height: 8px; }
.pl { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0f172a; }
.pl svg { width: 11px; height: 11px; margin-left: 1px; }
.vg-post .pl { position: absolute; left: 50%; top: 56%; width: 20px; height: 20px; margin: -10px 0 0 -10px; }
.vg-post .pl svg { width: 9px; height: 9px; }
.vg-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #eef1f6; }
.vg-row:last-child { border-bottom: 0; }
.vg-row > span:first-child { flex: 0 0 58px; font-size: 13px; color: #64748b; }
.vg-row .cs { display: flex; flex-wrap: wrap; gap: 6px; }
.vg-chip { display: inline-flex; align-items: center; height: 25px; padding: 0 9px; border-radius: 999px; background: #eef0ff; color: #4338ca; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.vg-chip--n { background: #f1f5f9; color: #334155; }
.vg--num { padding: 16px; }
.vg-num__k { font-size: 13px; color: #64748b; }
.vg-bars { display: flex; align-items: flex-end; gap: 8px; height: 72px; margin-top: 12px; }
.vg-bars i { flex: 1; border-radius: 5px 5px 0 0; background: #d5dafc; }
.vg-bars i.hi { background: #4f46e5; }
.vg-num__r { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 11px; margin-top: 11px; border-top: 1px solid #e6eaf1; }
.vg-num__r span { font-size: 13px; color: #64748b; white-space: nowrap; }
.vg-num__r b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vg-plan { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid #e6eaf1; }
.vg-plan li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef1f6; font-size: 13.5px; white-space: nowrap; }
.vg-plan li span { flex: 0 0 auto; color: #64748b; }
.vg-plan li em { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-style: normal; color: #334155; }
.vg-tabs { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #e6eaf1; }
.vg-tabs span { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12.5px; font-weight: 600; }
.vg-tabs span.on { background: #0f172a; color: #fff; }
.vg-q { margin: 14px 14px 0; padding: 10px 12px; border-radius: 12px 12px 4px 12px; background: #eef0ff; color: #1e1b4b; }
.vg-a { display: flex; align-items: center; gap: 8px; padding: 12px 14px 0; font-weight: 600; }
.vg-a small { font: 400 12px/1 var(--mono); color: #64748b; white-space: nowrap; }
.vg--mcp { padding-bottom: 14px; }
.vg--mcp .vg-plan { margin: 10px 14px -14px; }
.vg--cmp { padding: 16px; }
.sn-k { margin: 0 0 12px; font-size: 13px; color: #64748b; }
.sn-bar { display: grid; grid-template-columns: 92px minmax(0, 1fr) 16px; gap: 10px; align-items: center; padding: 7px 0; font-size: 13.5px; color: #0f172a; }
.sn-bar u { display: block; height: 10px; border-radius: 5px; background: #eef0f6; text-decoration: none; }
.sn-bar i { display: block; height: 100%; border-radius: 5px; background: #b9b4f5; }
.sn-bar.me i { background: #4f46e5; }
.sn-bar.me span { font-weight: 600; }
.sn-bar b { font: 500 13px var(--mono); text-align: right; }
.mem__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 3.6vw, 56px); align-items: center; }
.mem__head .h2 { margin-top: 0; }
.mem__head .lead { margin-top: 18px; max-width: 26em; }
.mem__note { margin-top: 22px; font: 400 14px/1.5 var(--sans); color: var(--muted); }
.mem__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-gap); }
.mem__cards .bc { min-height: 0; }
.mem__cards .bc__art { padding: 24px 24px 0; }
.mem__cards .bc__txt { padding: 18px 24px 26px; }
.mem__cards .bc__t { font-size: 18px; }
.mem__cards .vg { width: 100%; font-size: 13.5px; }
.mem__cards .vg-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mem__cards .vg-row { padding: 10px 12px; }
.mem__cards .vg-row > span:first-child { flex-basis: 52px; }
@media (hover: hover) {
}


/* ── selettore largo con icone (funzioni) ──────────────────────────── */

/* ── i contenitori grandi hanno un raggio più morbido ──────────────── */

/* ── funzioni: elenco a sinistra, screen vero a destra ─────────────── */
.feat__head .h2 { max-width: 13.5em; }
/* Funzioni: schede ferme a tinta piena (v21). Niente scene animate fuori dalla hero: il founder,
   guardando la pagina da telefono, la trovava "pesante da vedere e capire", e i due siti di
   riferimento (superhuman.com, lexroom.ai) dopo l'apertura non muovono niente, nemmeno le
   comparse allo scroll. Anatomia presa da superhuman: etichetta, UNA frase, e un pezzo di
   interfaccia fermo che esce dal bordo. Le immagini sono i fermi delle vecchie scene, senza
   fondo (img/fn/, si rigenerano con scripts/landing-call/fermi/): una per desktop, una pensata
   per il telefono, dove il testo dentro resta sopra gli 11px. */
.bc--12 { grid-column: 1 / -1; }
.fn__c { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); min-height: 400px; }
.fn__c .bc__t { max-width: 19em; }
.fn__c--rev { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.fn__c--rev .fn__shot { order: -1; }
.fn__c--v { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
.fn__c--v .bc__txt { align-self: start; }
.fn__shot { position: relative; overflow: hidden; min-height: 320px; }
.fn__shot img { position: absolute; left: var(--x, 32px); top: var(--y, 48px); width: var(--w, 560px); max-width: none; height: auto; }
.fn__c--v .fn__shot img { top: 0; }
.fn__shot--c img { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.fn__c--v .fn__shot--c img { top: 50%; }
/* Il ciclo: fascia piena blu notte (lo stesso delle schede), figura fatta di soli bordi. */
.loop { background: #1d1647; color: #fff; padding: var(--s-sec) 0; }
.loop__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.loop__k { font: 400 14px/1.3 var(--mono); color: rgba(255, 255, 255, .72); }
.loop .h2 { margin-top: 16px; color: #fff; max-width: 11em; }
.loop .lead { margin-top: 18px; max-width: 27em; color: rgba(255, 255, 255, .72); }
.loop__fig { position: relative; padding-bottom: 76px; }
.loop__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-gap); margin: 0; padding: 0; list-style: none; }
.loop__steps li { position: relative; display: flex; flex-direction: column; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .28); }
.loop__steps li:not(:last-child)::after { content: ""; position: absolute; right: calc(var(--s-gap) * -.5 - 4px); top: -4.5px; width: 8px; height: 8px; border-top: 1px solid rgba(255, 255, 255, .7); border-right: 1px solid rgba(255, 255, 255, .7); transform: rotate(45deg); }
.loop__steps span { font: 400 14px/1.3 var(--mono); color: rgba(255, 255, 255, .6); }
.loop__steps b { margin-top: 12px; font-size: 24px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
.loop__steps em { margin-top: 8px; font-style: normal; font-weight: 400; font-size: 16px; line-height: 1.4; color: rgba(255, 255, 255, .72); text-wrap: balance; }
/* il ritorno: una U che parte sotto "Misura" e risale fino ad "Analizza" */
.loop__fig::before { content: ""; position: absolute; left: 0; right: calc((100% - var(--s-gap) * 3) / 4); bottom: 22px; height: 34px; border: 1px solid #b9adff; border-top: 0; border-radius: 0 0 16px 16px; }
.loop__fig::after { content: ""; position: absolute; left: -4px; bottom: 52px; width: 8px; height: 8px; border-top: 1px solid #b9adff; border-left: 1px solid #b9adff; transform: rotate(45deg); }
.loop__back { position: absolute; left: calc((100% - (100% - var(--s-gap) * 3) / 4) / 2); bottom: 10px; transform: translateX(-50%); z-index: 1; display: inline-flex; width: max-content; align-items: center; gap: 8px; margin: 0; padding: 0 14px; background: #1d1647; color: #d9d2ff; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.loop__back svg { flex: 0 0 auto; width: 18px; height: 18px; }
.feat__note { margin-top: 28px; font: 400 14px/1.5 var(--sans); color: var(--muted); }

/* ── fascia scura ──────────────────────────────────────────────────── */
.impact { position: relative; background-color: #0a0a0a; color: #fff; padding: var(--s-sec) 0; }
.impact h2 { color: #fff; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 300; max-width: 756px; }
.impact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-gap) clamp(24px, 4vw, 64px); margin-top: var(--s-head); }
.impact__grid li { padding: 0; }
.impact__grid h3 { color: #fff; font: 300 clamp(18px, 1.67vw, 24px)/1.2 var(--mono); letter-spacing: -0.01em; }
.impact__grid p { margin-top: 16px; max-width: 42ch; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .72); }

/* ── canali: icone in arco su griglia di punti ─────────────────────── */
.chan { position: relative; height: 580px; background-color: var(--tile); background-image: radial-gradient(circle, #d1d5dc 1px, transparent 1.25px); background-position: 4px 4px; background-size: 15px 15px; text-align: center; overflow: hidden; }
.arc { position: absolute; inset: 0; }
.arc span { position: absolute; left: 50%; top: 0; width: 112px; height: 112px; margin-left: -56px; border-radius: 50%; box-sizing: border-box; border: 1px solid #e5e7eb; background: #fff; box-shadow: 0 12px 36px rgba(9, 9, 37, .08); display: grid; place-items: center; color: #101828; will-change: transform, opacity; }
.arc svg { width: 42%; height: 42%; }
.chan__txt { position: absolute; left: 50%; top: 46%; transform: translateX(-50%); width: min(100% - 48px, 720px); }
.chan__txt .h2 { max-width: 13.5em; margin: 0 auto; }
.chan .lead { max-width: 584px; margin: 24px auto 0; font-size: 18px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }

/* ── piani ─────────────────────────────────────────────────────────── */
.plans__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.plans__head .lead { max-width: 30em; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-gap); margin-top: var(--s-head); }
.plan { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.plan__name { font: 400 14px/1.3 var(--mono); color: var(--muted); }
.plan__price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: clamp(40px, 3.34vw, 48px); line-height: 1; font-weight: 400; letter-spacing: -0.035em; color: #000; }
.plan__price span { font-size: 14px; color: var(--muted); }
.plan__for { margin-top: 14px; min-height: 3em; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.plan__specs { margin-top: 24px; border-top: 1px solid var(--line); }
.plan__specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan__specs dt { font-size: 16px; color: var(--ink-2); }
.plan__specs dd { font: 500 14px var(--mono); color: #000; white-space: nowrap; }
.plan .btn { margin-top: 26px; }
.plan__list { margin-top: 24px; display: grid; gap: 11px; }
.plan__list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.plan__list svg { width: 16px; height: 16px; margin-top: 3px; color: #000; }
.plan--hi { background: #0a0a0a; color: #fff; }
.plan--hi .plan__name { color: rgba(255, 255, 255, .72); }
.plan--hi .plan__price b { color: #fff; }
.plan--hi .plan__price span, .plan--hi .plan__for { color: rgba(255, 255, 255, .72); }
.plan--hi .plan__specs, .plan--hi .plan__specs div { border-color: rgba(255, 255, 255, .16); }
.plan--hi .plan__specs dt, .plan--hi .plan__list li { color: #fff; }
.plan--hi .plan__specs dd, .plan--hi .plan__list svg { color: #fff; }
.plans__soon { margin-top: 24px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.plans__soon b { font-weight: 500; color: #000; }
.plans__note { margin-top: 8px; font: 400 14px/1.5 var(--sans); color: var(--muted); }

/* ── domande: titolo a sinistra, righe a destra ────────────────────── */
.faq__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 112px); }
.faq { padding: 6px clamp(18px, 2.4vw, 30px); border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 74px; box-sizing: border-box; padding: 18px 4px; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink-2); transition: color .24s var(--ease), padding-left .24s var(--ease); }
@media (hover: hover) { .faq summary:hover { padding-left: 12px; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { color: #000; }
.faq summary svg { flex: 0 0 auto; width: 16px; height: 16px; transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__a { padding: 0 44px 26px 4px; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.faq details[open] .faq__a { animation: panelIn .35s var(--ease) both; }

/* ── CTA finale: banda a gradiente con grana ───────────────────────── */
.final { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 480px; box-sizing: border-box; text-align: center; color: #fff; padding: var(--s-sec) 0; background-color: #3b2eea; background-image: radial-gradient(42% 80% at 30% 112%, #c23ab0 0%, rgba(194, 58, 176, 0) 70%), radial-gradient(40% 80% at 100% 0%, #1f5bd8 0%, rgba(31, 91, 216, 0) 72%), radial-gradient(50% 80% at 78% 100%, #804ce1 0%, rgba(128, 76, 225, 0) 70%), linear-gradient(150deg, #3b2eea 0%, #4a3cf0 50%, #6f45e6 100%); }
.final h2 { color: #fff; max-width: 12em; margin: 0 auto; }
.final p { margin: 24px auto 0; font-size: 16px; color: #fff; }
.final .btn { margin-top: 40px; position: relative; z-index: 1; }
.final > .wrap { position: relative; z-index: 1; }

/* ── piede scuro, link in mono, wordmark gigante ───────────────────── */
.foot { position: relative; overflow: hidden; background: var(--abyss); color: #fff; padding: 64px 0 0; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot h3 { color: #e5e7eb; font-size: 14px; line-height: 1.12; font-weight: 400; }
.foot ul { margin-top: 16px; display: grid; gap: 12px; }
.foot__btn { display: inline-block; padding: 6px 0; border: 0; background: none; font: 400 16px/1.48 var(--mono); letter-spacing: 0; color: #fff; text-align: left; cursor: pointer; }
.foot a { display: inline-block; padding: 6px 0; font: 400 16px/1.48 var(--mono); letter-spacing: 0; color: #fff; text-decoration: none; transition: padding-left .32s cubic-bezier(.65, 0, .35, 1), color .32s; }
@media (hover: hover) { .foot a:hover { padding-left: 12px; color: #d1d5dc; } }
.foot__legal { margin-top: 96px; font: 400 14px/1.4 var(--mono); color: #d1d5dc; max-width: 46em; }
.foot__mark { display: block; margin: clamp(48px, 8vw, 112px) 0 -0.17em; text-align: center; font: 600 clamp(72px, 23vw, 330px)/.9 var(--sans); letter-spacing: -0.055em; color: #101828; pointer-events: none; user-select: none; white-space: nowrap; }

/* ── modale con il modulo (dialog nativo) ──────────────────────────── */
.modal { border: 0; padding: 0; background: transparent; width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: auto; }
html:has(#modal[open]) { overflow: hidden; }          /* dietro il modulo la pagina non scorre */
.modal { overscroll-behavior: contain; }
.modal:focus { outline: none; }                       /* il fuoco va al modulo solo per non accendere l'anello sulla X */
.modal::backdrop { background: rgba(3, 7, 18, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .34s var(--ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.card { position: relative; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 30px 32px; }
.card__t { font-size: 24px; line-height: 1.05; letter-spacing: -0.02em; color: #000; }
.card__s { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.card__plan { display: none; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 8px 12px; border-radius: var(--r); background: var(--tile); font: 400 14px var(--mono); color: var(--ink); }
.card__plan.is-on { display: flex; }
.card__plan b { font-family: var(--mono); font-weight: 500; }
.card__plan button { background: none; border: 0; font: 400 14px var(--mono); text-decoration: underline; cursor: pointer; padding: 0; color: var(--ink-2); }
.form { margin-top: 18px; }
.fields { display: grid; gap: 12px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: #000; margin-bottom: 6px; }
.field input, .field select { width: 100%; box-sizing: border-box; height: 50px; padding: 0 16px; border: 1px solid #d5d8de; border-radius: var(--r); background: #fff; font: 400 16px var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #6a7282; }
.field input:focus, .field select:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(59, 46, 234, .18); }
.field select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; text-overflow: ellipsis; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field select:invalid { color: #6a7282; }
#mCliBox:not([hidden]) { animation: panelIn .3s var(--ease) both; }
.err { display: none; margin-top: 14px; font-size: 14px; color: #b42318; }
.err.is-on { display: block; }
.form .btn { margin-top: 20px; }
.pp { margin-top: 12px; font: 400 14px/1.4 var(--sans); color: var(--muted); text-align: center; }
.pp a { color: inherit; font-family: inherit; text-decoration: underline; text-underline-offset: 2px; }
.card__plan span { font-family: inherit; }
.field .err { margin-top: 6px; }
.ok { display: none; }
.ok.is-on { display: block; }
.card.is-done .card__live { display: none; }
.ok h3 { font-size: 24px; letter-spacing: -0.02em; }
.ok p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.modal__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: var(--r); border: 0; background: var(--tile); color: #000; display: grid; place-items: center; cursor: pointer; }
.modal__x svg { width: 14px; height: 14px; }

/* ── entrata dell'hero (una volta) ─────────────────────────────────── */
.kw { display: inline-block; overflow: hidden; padding-block: .15em; margin-block: -.15em; vertical-align: top; font-family: inherit; }
.kw > span { display: inline-block; font-family: inherit; }
.nw { white-space: nowrap; font-family: inherit; }      /* le ultime due parole di un titolo restano insieme: niente parola sola in fondo */
.anim .kw > span { animation: kIn .65s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes kIn { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
.anim .hero .in { animation: bIn .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--d, 0) * 1ms); }
/* comparsa allo scroll: la classe la mette lo script, senza script tutto è già visibile */
.anim .hstage { animation: bIn 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: .64s; }
@keyframes bIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── telefono e tablet: le righe diventano binari che scorrono ─────── */
@media (max-width: 1080px) {
  .mem__row { grid-template-columns: 1fr; }
  .mem__head .lead { max-width: 40em; }
  .bc--h { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .bc--h .bc__art { order: -1; padding: 32px 32px 0; }
  .bc .vg-plan { display: none; }
  .bc .vg { max-width: 460px; }
  .bc--h .bc__txt { padding-top: 20px; }
  .bc, .bc--low { min-height: 0; }
}
/* tablet: le due schede larghe delle funzioni restano alte, e l'immagine si aggancia al bordo della scheda */
@media (min-width: 761px) and (max-width: 1080px) {
  .fn__c:not(.fn__c--v) { min-height: 400px; }
  .fn__c--rev .fn__shot img { left: auto; right: 24px; }
  /* la vignetta dell'assistente tiene due righe del piano: alta come quella accanto */
  .fn .bc .vg-plan { display: block; margin-bottom: 0; }
  .fn .vg-plan li:nth-child(n+3) { display: none; }
}
/* quattro colonne strette: piani e vantaggi due per riga fino a 1260, poi margini più stretti */
@media (max-width: 1260px) {
  .plans, .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan__for { min-height: 0; }
}
@media (min-width: 1261px) and (max-width: 1400px) {
  .plan { padding: 32px 20px; }   /* "Immagini al mese" e "fino a 1.333" stanno su una riga: i bottoni restano allineati */
}
@media (min-width: 1261px) and (max-width: 1340px) {
  .gain { padding: 32px 24px; }
  .gain__n svg { display: none; }
}
/* memoria su tre colonne strette: la spunta finiva sopra il titolo della vignetta */
@media (min-width: 861px) and (max-width: 1340px) {
  .mem__cards .vg-doc__h .vg-ok { display: none; }
}
/* il ciclo: sotto i 1180 il testo sta sopra e i quattro passi sotto, a tutta larghezza */
@media (min-width: 761px) and (max-width: 1180px) {
  .loop__in { grid-template-columns: 1fr; gap: 40px; }
  .loop .h2 { max-width: none; }
  .loop .lead { max-width: 40em; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .hstage { max-width: 520px; }
  .fn__c:not(.fn__c--v) { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
  .fn__c--rev:not(.fn__c--v) { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
  .fn__c:not(.fn__c--v) .fn__shot img { width: 440px; left: 24px; }
  .fn__c--rev:not(.fn__c--v) .fn__shot img { left: auto; right: 24px; }
}
@media (max-width: 860px) {
  .bc--6 { grid-column: 1 / -1; }
  .mem__cards { display: flex; gap: var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 0 var(--gut); scroll-padding: 0 var(--gut); }
  .mem__cards::-webkit-scrollbar { display: none; }
  .mem__cards > .bc { flex: 0 0 min(300px, 80vw); scroll-snap-align: start; }
  .nav__links { display: none; }
  .nav__in { height: 72px; }
  .voices, .plans__head, .faq__grid, .value__head { grid-template-columns: 1fr; }
  .voices { gap: 28px; }
  .value__foot { flex-direction: column; align-items: stretch; }
  .voices__list li { flex: none; }
  .impact__grid { grid-template-columns: 1fr; row-gap: 36px; }
  .impact__grid p { margin-top: 10px; }
  .faq__grid { gap: var(--s-head); }
  .nav .btn { height: 44px; padding: 0 14px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .bc__txt { padding: 18px 22px 24px; }
  .bc--h .bc__art, .bc--v .bc__art { padding: 22px 22px 0; }
  .bc--v .vg { width: 88%; }
  .mem__cards .vg { width: 100%; }
  /* memoria su telefono: tre schede in colonna, niente binario laterale (due su tre restavano fuori schermo) */
  .mem__cards { display: grid; grid-template-columns: 1fr; gap: var(--s-gap); overflow: visible; margin-left: 0; margin-right: 0; padding: 0; }
  .mem__cards > .bc { flex: none; }
  .mem__cards .bc__art { padding-bottom: 1px; }
  .vg-stats b { font-size: 23px; }
  .vg-stats div + div { padding-left: 10px; }
  .field input, .field select { height: 48px; }
  /* canali: il testo sta sotto l'arco, non sopra le icone */
  .chan { height: auto; padding: 228px 0 var(--s-sec); }
  .chan__txt { position: static; transform: none; margin: 0 auto; }
  .feat__more .sn-bar:nth-of-type(n+5) { display: none; }
  .hero__in { padding-top: 88px; }
  .btn { height: 44px; }
  .faq__a { padding-right: 8px; }
  .foot a, .foot__btn { padding: 11px 0; }
  .foot ul { gap: 4px; }
  .foot__grid { grid-template-columns: 1fr auto; column-gap: 40px; }
  .foot__grid > div:first-child { grid-column: auto; grid-row: 1 / span 2; }
  .foot__legal { margin-top: 56px; }
  .foot__mark { margin-bottom: -.02em; }
  .final { min-height: 0; }
  /* modulo: più basso, e la X resta in vista mentre si scorre */
  .modal { margin-top: 16px; border-radius: var(--r-lg); }
  .modal__x { position: sticky; top: 10px; float: right; z-index: 2; width: 44px; height: 44px; margin: -12px -8px 0 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
  .card { padding: 20px 20px 22px; }
  .card__t { font-size: 24px; }
  .card__s { display: none; }
  .form { margin-top: 14px; }
  /* il sesto campo compare accanto a "In quanti siete?", così il modulo non si allunga */
  .fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .field { grid-column: 1 / -1; }
  .fields:has(#mCliBox:not([hidden])) .field:has(#mTeam) { grid-column: 1; }
  .fields:has(#mCliBox:not([hidden])) #mCliBox { grid-column: 2; }
  .field label { margin-bottom: 4px; }
  .card__plan button { padding: 13px 6px; margin: -13px -6px; }
  .hero__sub { margin-top: 16px; }
  .hero__cta { margin-top: 24px; }
  .hsteps { margin-top: 20px; gap: 4px; grid-template-columns: 1.1fr .88fr .76fr 1.36fr .94fr; }
  .hstep { font-size: 14px; }
  .hstep svg { display: none; }
  .hstage { margin-top: 12px; }
  .hpause { right: 14px; bottom: 12px; }
  .feat__note { margin-top: 24px; }
  /* il ciclo su telefono: quattro caselle in giro orario (1 → 2, giù al 3, ← 4, su all'1), con le frecce nei vuoti */
  .loop__in { grid-template-columns: 1fr; gap: 36px; }
  .loop__fig { padding-bottom: 0; }
  .loop__fig::before, .loop__fig::after { display: none; }
  .loop__steps { grid-template-columns: 1fr 1fr; gap: 40px 36px; }
  .loop__steps li { padding: 14px 14px 16px; border-top: 0; border-radius: var(--r-lg); background: rgba(255, 255, 255, .07); }
  .loop__steps li:nth-child(3) { order: 4; }
  .loop__steps li:nth-child(4) { order: 3; }
  .loop__steps b { margin-top: 8px; }
  .loop__steps em { margin-top: 6px; line-height: 1.35; }
  .loop__steps li::after, .loop__steps li:not(:last-child)::after { content: ""; display: block; position: absolute; width: 20px; height: 20px; border: 0; right: auto; top: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23b9adff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h13M11.5 5.5 16 10l-4.5 4.5'/%3E%3C/svg%3E") center / 20px no-repeat; transform: none; }
  .loop__steps li:nth-child(1)::after { right: -28px; top: 50%; margin-top: -10px; }
  .loop__steps li:nth-child(2)::after { left: 50%; bottom: -30px; margin-left: -10px; transform: rotate(90deg); }
  .loop__steps li:nth-child(3)::after { left: -28px; top: 50%; margin-top: -10px; transform: rotate(180deg); }
  .loop__steps li:nth-child(4)::after { left: 50%; top: -30px; margin-left: -10px; transform: rotate(-90deg); }
  .loop__back { position: static; transform: none; display: flex; justify-content: center; width: auto; margin-top: 22px; padding: 0; white-space: normal; }
  /* funzioni su telefono: una colonna, frase sopra e interfaccia sotto, niente binari */
  .fn__c, .fn__c--rev, .fn__c--v { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
  .fn__c .bc__txt { align-self: start; padding: 24px 22px 22px; }
  .fn__c--rev .fn__shot { order: 0; }
  /* l'altezza segue la larghezza: il taglio cade sempre nella stessa fascia senza testo dell'immagine */
  .fn__shot { min-height: 0; height: calc((100vw - var(--gut) * 2 - 22px) * .727); }
  .fn__shot--c { height: 248px; }
  /* le due schede basse: stesso ordine delle altre quattro (etichetta, frase, interfaccia) */
  .fn .bc--h .bc__art { order: 0; padding: 0 22px 22px; }
  .fn .bc--h .bc__txt { align-self: start; padding: 24px 22px 22px; }
  .fn__shot img, .fn__c--v .fn__shot img { left: 22px; top: 0; width: calc(100% - 22px); border-radius: 12px 0 0 0; }
  .fn__shot--c img, .fn__c--v .fn__shot--c img { left: 50%; top: 50%; width: min(321px, 90%); border-radius: 0; }
  .fn .bc--low { min-height: 0; }
  .feat__more .vg-a small { display: none; }
  .arc span { width: 56px; height: 56px; margin-left: -28px; }
  .chan .lead { font-size: 16px; }
  /* vantaggi: quattro righe una sotto l'altra, senza riquadro (in binario tre su quattro restavano fuori schermo) */
  .gains { grid-template-columns: 1fr; gap: 0; }
  .gain { padding: 20px 0; background: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--line); }
  .gain__n { margin-top: 10px; }
  .gain__t { margin-top: 8px; max-width: none; }
  /* piani: l'unico binario rimasto. Accanto al nome, a che piano sei: si capisce che sono quattro e che si scorre */
  .plans { display: flex; gap: var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 0 var(--gut); scroll-padding: 0 var(--gut); counter-reset: pl; }
  .plans::-webkit-scrollbar { display: none; }
  .plans > * { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; padding: 26px 24px 28px; }
  .plan { counter-increment: pl; }
  .plan__name { display: flex; justify-content: space-between; }
  .plan__name::after { content: counter(pl) " di 4"; }
  .plan__for { min-height: 3em; }
  /* il bottone subito sotto "per chi": all'arrivo dalla hero resta sopra la banda dei cookie */
  .plan .btn { order: 4; }
  .plan__specs { order: 5; }
  .plan__list { order: 6; }
  .cells { grid-template-columns: 1fr; }
  .cells li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 20px; text-align: left; }
  .cells li + li { border-left: 0; border-top: 1px solid rgba(0, 0, 0, .08); }
  .cells span { margin-top: 0; text-align: right; }
}
@media (max-width: 380px) {
  .plans > * { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 340px) {
  .nav__in { gap: 12px; }
  .nav .btn { padding: 0 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   Tre pagine (27/10/2026): home istituzionale, /aziende/, /agenzie/.
   Stessa grammatica di sopra; qui solo i pezzi nuovi.
   ══════════════════════════════════════════════════════════════════════ */

/* due CTA affiancate: stessa larghezza; su telefono una sopra l'altra, larghe uguali */
.cta-pair { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta-pair .btn { min-width: 220px; }
@media (max-width: 640px) {
  .cta-pair { display: flex; flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; }
  .cta-pair .btn { width: 100%; min-width: 0; }
}

/* selettore della pagina (Aziende / Agenzie) sopra il titolo delle landing: orienta chi arriva dall'annuncio sbagliato */
.segsw { display: inline-flex; gap: 2px; padding: 3px; margin: 0 auto clamp(22px, 2.4vw, 30px); border-radius: 10px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.segsw a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 7px; font: 400 14px/1 var(--mono); color: rgba(255, 255, 255, .72); text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.segsw a[aria-current="page"] { background: #fff; color: #000; }
@media (hover: hover) { .segsw a:not([aria-current]):hover { color: #fff; background: rgba(255, 255, 255, .1); } }

/* ── hero delle landing: titolo, una frase, CTA, e sotto un'interfaccia FERMA dentro il riquadro a gradiente ── */
.hero--l .hero__in { padding-top: clamp(120px, 10.5vw, 152px); }
.hero--l h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 13em; }
.hero--l .hero__bg { inset: 0 0 clamp(150px, 21vw, 300px) 0; }
.lstage { position: relative; width: calc(100% - var(--gut) * 2); max-width: 1118px; margin: clamp(40px, 4.4vw, 60px) auto 0; padding: clamp(28px, 3.6vw, 52px) clamp(16px, 3.6vw, 52px) 0; box-sizing: border-box; overflow: hidden; border-radius: var(--r-lg); background-color: #cdb6ff; background-image: radial-gradient(46% 70% at 0% 0%, #2f3cf5 0%, rgba(47, 60, 245, 0) 62%), radial-gradient(44% 64% at 100% 100%, #a743f0 0%, rgba(167, 67, 240, 0) 62%), radial-gradient(30% 60% at 100% 50%, #5a6bff 0%, rgba(90, 107, 255, 0) 64%), radial-gradient(36% 46% at 0% 100%, #efe6ff 0%, rgba(239, 230, 255, 0) 70%), linear-gradient(135deg, #8f8bff 0%, #d7b9ff 46%, #ecd6ff 62%, #c79bff 100%); }
.lstage__cap { margin: 0; padding: 16px 0 18px; text-align: center; font: 400 13px/1.4 var(--mono); color: #1b1250; }
.anim .lstage { animation: bIn 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: .5s; }

/* tela a misura fissa che si rimpicciolisce col riquadro (la misura la mette site.js: --fw e --fs).
   Su telefono la tela è un'altra, più stretta, così il testo dentro resta leggibile. */
.fit { position: relative; width: 100%; overflow: hidden; }
.fit__in { width: calc(var(--fw) * 1px); transform: scale(var(--fs, 1)); transform-origin: 0 0; }
.app { --fw: 1000; }
@media (max-width: 760px) { .app { --fw: 330; } }

/* ── l'interfaccia disegnata (dati di esempio): finestra, colonna dei brand, pannello ── */
.app .fit__in { display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 30px 60px -30px rgba(30, 27, 75, .7); font: 400 14px/1.35 var(--sans); letter-spacing: -0.005em; color: #0f172a; text-align: left; }
.app b { font-weight: 600; }
.app__side { padding: 18px 14px; background: #f8fafc; border-right: 1px solid #e6eaf1; }
.app__k { margin: 0 6px 10px; font: 400 12px/1 var(--mono); color: #64748b; }
.app__brands { display: grid; gap: 4px; }
.app__brand { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 8px; border-radius: 10px; }
.app__brand.on { background: #fff; box-shadow: 0 0 0 1px #e2e6f0, 0 6px 14px -10px rgba(15, 23, 42, .35); }
.app__av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font: 700 14px/1 Georgia, "Times New Roman", serif; color: #fff; }
.app__brand span { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app__brand small { display: block; margin-top: 2px; font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__add { margin: 10px 8px 0; font-size: 13px; color: #4f46e5; }
.app__main { min-width: 0; padding: 18px 20px 22px; }
.app__h { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #eef1f6; }
.app__h .app__av { width: 28px; height: 28px; font-size: 13px; }
.app__h > div { flex: 1; min-width: 0; }
.app__h small { display: block; font-size: 12.5px; color: #64748b; }
.app__pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: #eef0ff; color: #4338ca; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.app__pill--n { background: #f1f5f9; color: #334155; }
.app__chips { display: flex; gap: 3px; }
.app__chips svg { width: 15px; height: 15px; color: #475569; }
/* righe dei post: miniatura, titolo, data, stato */
.app__rows { display: grid; }
.app__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #eef1f6; }
.app__row:last-child { border-bottom: 0; }
.app__th { position: relative; width: 44px; height: 54px; border-radius: 7px; overflow: hidden; background: #b5573a; }
.app__th img { width: 100%; height: 100%; object-fit: cover; }
.app__th--cv { display: grid; align-content: end; gap: 4px; padding: 7px; box-sizing: border-box; }
.app__th--cv i { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .85); }
.app__th--cv i:last-child { width: 60%; }
.app__row > div { min-width: 0; }
.app__row b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app__row small { display: block; margin-top: 3px; font-size: 12.5px; color: #64748b; white-space: nowrap; }
.app__note { display: block; margin-top: 6px; padding: 6px 9px; border-radius: 8px; background: #fff7ed; color: #9a3412; font-size: 12.5px; line-height: 1.3; white-space: normal; }
.st { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st--ok { background: #ecfdf3; color: #15803d; }
.st--wait { background: #f1f5f9; color: #475569; }
.st--fix { background: #fff7ed; color: #c2410c; }
/* la richiesta in chat e la risposta (aziende) */
.app__ask { margin: 14px 0 6px; padding: 10px 12px; border-radius: 12px 12px 4px 12px; background: #eef0ff; color: #1e1b4b; justify-self: end; max-width: 88%; }
.app__ans { display: flex; align-items: center; gap: 8px; margin: 8px 0 10px; font-weight: 600; }
.app__ans .vg-ok { width: 18px; height: 18px; }
.app__chat { display: grid; }
/* telefono: niente colonna dei brand; al suo posto il selettore chiuso in cima al pannello */
.app__sel { display: none; }
@media (max-width: 760px) {
  .app .fit__in { grid-template-columns: 1fr; border-radius: 12px 12px 0 0; font-size: 14.5px; }
  .app__side { display: none; }
  .app__main { padding: 14px 14px 16px; }
  .app__sel { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 8px 10px; border-radius: 10px; background: #f8fafc; box-shadow: inset 0 0 0 1px #e6eaf1; font-size: 13.5px; }
  .app__sel .app__av { width: 24px; height: 24px; font-size: 12px; }
  .app__sel span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .app__sel small { color: #64748b; font-size: 12.5px; white-space: nowrap; }
  .app__h .app__chips, .app__h .app__pill { display: none; }
  .app__row { grid-template-columns: 40px minmax(0, 1fr); }
  .app__row .st { grid-column: 2; justify-self: start; margin-top: 2px; }
  .app__th { width: 40px; height: 50px; }
  .app__row:nth-child(n+4) { display: none; }
}

/* ── sezione "problema": il lavoro di oggi, attività per attività ───────── */
.prob__head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px clamp(32px, 6vw, 112px); align-items: end; }
.prob__head .h2 { max-width: 12em; }
.prob__head .lead { max-width: 30em; }
.stack { margin-top: var(--s-head); border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-soft); overflow: hidden; }
.stack__r { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 clamp(20px, 3vw, 48px); padding: 20px clamp(20px, 2.6vw, 36px); border-top: 1px solid var(--line-soft); align-items: baseline; }
.stack__r:first-child { border-top: 0; }
.stack__r--h { padding-top: 16px; padding-bottom: 16px; background: var(--tile); }
.stack__r--h span { font: 400 14px/1.3 var(--mono); color: var(--muted); }
.stack__a { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; color: #000; }
.stack__o { font-size: 16px; line-height: 1.45; color: var(--muted); }
.stack__m { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.stack__m b { font-weight: 500; color: #000; }
.stack__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.stack__src { font: 400 14px/1.5 var(--sans); color: var(--muted); max-width: 52em; }

/* ── il flusso: una sequenza vera, quindi numerata ──────────────────────── */
.flow__head { max-width: 760px; }
.flow__head .lead { margin-top: 18px; max-width: 34em; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-gap); margin-top: var(--s-head); counter-reset: fl; }
.flow li { counter-increment: fl; position: relative; padding-top: 20px; border-top: 1px solid var(--line); }
/* numero e chi lo fa sulla stessa riga: "01  Il cliente" */
.flow li::before { content: counter(fl, decimal-leading-zero); margin-right: 10px; font: 400 14px/1.3 var(--mono); color: var(--muted); }
.flow__who { font: 400 14px/1.3 var(--mono); color: var(--blue); }
.flow h3 { margin-top: 12px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -0.02em; }
.flow p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 26em; }

/* ── cosa fa Marketio, cosa resta a te: il confine onesto ───────────────── */
.fence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-gap); margin-top: var(--s-head); }
.fence > div { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg); }
.fence__m { background: #1d1647; color: #fff; }
.fence__y { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; }
.fence h3 { color: inherit; font: 400 14px/1.3 var(--mono); opacity: .8; }
.fence ul { margin-top: 18px; display: grid; gap: 12px; }
.fence li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 17px; line-height: 1.4; }
.fence li svg { width: 16px; height: 16px; margin-top: 4px; }
.fence__y li { color: rgba(255, 255, 255, .78); }
.fence__y li svg { opacity: .6; }

/* ── home: due strade, una per pubblico ─────────────────────────────────── */
.route__head { max-width: 760px; }
.routes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-gap); margin-top: var(--s-head); }
.rt { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 460px; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg); text-decoration: none; }
.rt--a { background: #1d1647; color: #fff; }
.rt--b { background: #e6e1ff; color: #15113a; }
.rt__k { font: 400 14px/1.3 var(--mono); opacity: .72; }
.rt h3 { margin-top: 16px; color: inherit; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -0.025em; max-width: 12em; }
.rt p { margin-top: 14px; font-size: 17px; line-height: 1.45; max-width: 28em; opacity: .86; }
.rt ul { margin-top: 24px; display: grid; gap: 10px; }
.rt li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 16px; line-height: 1.4; }
.rt li svg { width: 16px; height: 16px; margin-top: 3px; }
.rt .btn { margin-top: auto; align-self: flex-start; }
.rt ul + .btn { margin-top: 32px; }
.rt__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 32px; font-size: 17px; }
.rt__go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
@media (hover: hover) { .rt:hover .rt__go svg { transform: translateX(4px); } }
.rt--a .rt__go { color: #fff; }

/* ── piani: quattro schede e sotto la fascia Enterprise ─────────────────── */
.ent { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; margin-top: var(--s-gap); padding: clamp(24px, 2.6vw, 36px) clamp(24px, 2.6vw, 40px); border-radius: var(--r-lg); background: #0a0a0a; color: #fff; }
.ent__name { font: 400 14px/1.3 var(--mono); color: rgba(255, 255, 255, .72); }
.ent h3 { margin-top: 10px; color: #fff; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.02em; }
.ent p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .78); max-width: 46em; }
.ent .btn { min-width: 200px; }
.plans__help { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 40em; }

@media (max-width: 1080px) {
  .stack__r { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .stack__r .stack__o { display: none; }
  .stack__r--h span:nth-child(2) { display: none; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 860px) {
  .prob__head, .routes, .fence, .ent { grid-template-columns: 1fr; }
  .rt { min-height: 0; }
  .stack__foot { flex-direction: column; align-items: stretch; }
}
@media (max-width: 760px) {
  .hero--l .hero__in { padding-top: 92px; }
  .hero--l .hero__bg { inset: 0 0 150px 0; }
  .segsw { margin-bottom: 18px; }
  .lstage { width: calc(100% - var(--gut) * 2); padding: 16px 12px 0; margin-top: 32px; }
  .lstage__cap { padding: 12px 0 14px; font-size: 12px; }
  .stack { background: none; box-shadow: none; border-radius: 0; }
  .stack__r { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
  .stack__r--h { display: none; }
  .stack__r .stack__o { display: block; font-size: 15px; }
  .stack__r .stack__o::before { content: "Oggi: "; }
  .flow { grid-template-columns: 1fr; row-gap: 28px; }
  .fence li { font-size: 16px; }
  .rt { padding: 24px 22px; }
  .rt .btn, .ent .btn { align-self: stretch; width: 100%; }
}
/* chiusura con due strade: il margine sta sulla coppia, non su ogni bottone */
.final .cta-pair { margin-top: 40px; }
.final .cta-pair .btn { margin-top: 0; }
/* scheda competitor: la classifica dei post è il contenuto, resta visibile anche dove .vg-plan si nasconde */
.bc .vg--cmp .vg-plan { display: block; margin: 8px 0 0; }
.fn .bc .vg--cmp .vg-plan li { display: flex; }
/* tablet stretto: tela intermedia, così il testo dell'interfaccia resta sopra gli 11px */
.fit__in { margin-inline: auto; }
@media (min-width: 761px) and (max-width: 900px) {
  .app { --fw: 760; }
  .app .fit__in { grid-template-columns: 228px minmax(0, 1fr); }
}
