/* Reframe · landing.
   Si apre con un'alba bianca che sfuma nel buio, i fasci di luce, il titolo cromato e il software con il video che parte
   dentro la finestra. Poi si alternano fasce bianche e sezioni scure: la differenza, il metodo, le schede bento a colori,
   la squadra di agenti AI, Carlo che esce dalla cornice. Scroll fluido ed entrate dal basso. */

:root {
  --notte: #020304;
  --notte-2: #05070A;
  --superficie: #0B0E13;
  --superficie-2: #11151B;
  --bordo: rgb(255 255 255 / .07);
  --bordo-forte: rgb(255 255 255 / .14);
  --bianco: #FFFFFF;
  --testo-2: #A9B2BE;
  --testo-3: #7C8692;
  --blu: #1663FF;
  --blu-scuro: #0A2C9E;
  --azzurro: #0AA6F4;
  --ciano: #33EAF7;
  --lavanda: #BFD0FF;
  --carta: #F4F9FB;
  --ghiaccio-2: #EEF3F7;
  --inchiostro: #0B0D10;
  --inchiostro-2: #4E5865;
  --accento-chiaro: #1259EA;

  /* nomi usati anche da privacy.html e grazie.html */
  --nero: var(--notte); --ghiaccio: var(--carta);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-testo: "Geist", "Segoe UI", system-ui, sans-serif;

  --t-titolo: clamp(2.4rem, 1rem + 4.2vw, 4.5rem);
  --t-sezione: clamp(2rem, 1.3rem + 2.5vw, 3.35rem);
  --t-l: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  --t-m: clamp(1.02rem, .95rem + .3vw, 1.18rem);
  --t-s: .9375rem;
  --t-xs: .8125rem;

  --margine: clamp(20px, 5vw, 72px);
  --guscio: 1200px;
  --sezione: clamp(96px, 11vw, 168px);

  --curva: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* I font stanno sul sito, così il browser di chi visita non contatta Google. Gli intervalli di peso sono quelli usati finora. */
@font-face { font-family: "Sora"; src: url("../fonts/sora.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
/* il banner dei cookie: «Accetta», oppure si continua senza con il link o la X, come dalle linee guida del Garante */
.banner-cookie { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); max-width: 440px; margin-left: auto; padding: 20px 20px 18px; border-radius: 22px; background: rgb(13 17 23 / .96); border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 24px 60px -20px rgb(0 0 0 / .8); color: #fff; font: 400 15px/1.5 var(--font-testo); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.banner-cookie p { margin: 0; padding-right: 22px; color: #C9D1DB; }
.banner-cookie strong { color: #fff; font-weight: 600; }
.banner-cookie a { color: #fff; }
.banner-cookie__tasti { display: grid; gap: 4px; margin-top: 14px; }
.banner-cookie__tasti button[data-scelta="si"] { background: var(--blu); border-color: transparent; }
.banner-cookie__tasti button[data-scelta="no"] { height: 36px; border: 0; background: transparent; color: #C9D1DB; font-weight: 500; font-size: 14px; }
.banner-cookie__tasti button { height: 46px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); background: rgb(255 255 255 / .08); color: #fff; font: 600 15px var(--font-testo); cursor: pointer; }
.banner-cookie__tasti button:hover { background: rgb(255 255 255 / .16); }
.banner-cookie__chiudi { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #A9B2BE; cursor: pointer; }
.banner-cookie__chiudi svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* il prezzo accanto al modulo: «Dopo il lancio» è il prezzo futuro, non uno sconto su un prezzo già esistito */
.prezzo-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 2px; }
.prezzo-lista__voce { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgb(255 255 255 / .1); background: rgb(255 255 255 / .03); }
.prezzo-lista__voce span { color: var(--testo-3); font-size: var(--t-xs); }
.prezzo-lista__voce strong { font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--testo-2); }
.prezzo-lista__voce--lista { border-color: rgb(51 234 247 / .45); background: rgb(22 99 255 / .14); }
.prezzo-lista__voce--lista span { color: #DCE8F2; }
.prezzo-lista__voce--lista strong { color: #fff; }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* campo invisibile contro i bot */
html {
  background: var(--notte); color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;              /* niente zoom con il doppio tocco */
  /* niente selezione del testo (Carlo, 04/11/2026); i campi del modulo restano selezionabili */
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
html.lenis, html.lenis body { height: auto; }
html.in-uscita body { opacity: 0; transition: opacity .35s ease; }   /* la landing sfuma prima di aprire la pagina di grazie */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--notte); color: var(--bianco);
  font: 400 var(--t-m)/1.6 var(--font-testo); letter-spacing: -.007em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
input, textarea, select { -webkit-user-select: text; user-select: text; }
img, video { display: block; max-width: 100%; -webkit-user-drag: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ciano); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 90px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sfuma { background: linear-gradient(110deg, var(--ciano) 0%, var(--azzurro) 40%, var(--blu) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.grigio { color: var(--testo-3); }
.occhiello { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--t-xs)/1 var(--font-testo); letter-spacing: .14em; text-transform: uppercase; color: var(--ciano); }
.occhiello::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.occhiello--piccolo { font-size: 11px; }

.sezione { position: relative; isolation: isolate; max-width: calc(var(--guscio) + 2 * var(--margine)); margin: 0 auto; padding: var(--sezione) var(--margine) 0; }
.testa { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 780px; margin: 0 auto; text-align: center; }
.testa h2 { font-weight: 600; font-size: var(--t-sezione); line-height: 1.06; letter-spacing: -.042em; }
.testa p:not(.occhiello) { max-width: 600px; color: var(--testo-2); }
h2 .sfuma, h2 .grigio { display: block; }
/* aloni blu dietro le sezioni scure: il nero non è mai piatto */
.differenza::before, .ricevi::before, .reel::before, .domande::before, .metodo-sezione::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 22%; width: min(1200px, 100%); height: 70%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgb(22 99 255 / .16), rgb(10 44 158 / .06) 45%, transparent 72%); pointer-events: none; }
.domande::before { top: 10%; height: 60%; opacity: .7; }

/* ---------- bottoni a pillola ---------- */
.bottone {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border: 0; border-radius: 999px; white-space: nowrap;
  font: 600 var(--t-s)/1 var(--font-testo); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--curva), background-color .3s, box-shadow .3s, filter .3s;
}
.bottone:hover { transform: translateY(-1px); }
.bottone:active { transform: scale(.98); }
.bottone__chevron { width: 16px; height: 16px; stroke-width: 2.4; margin-right: -4px; transition: transform .3s var(--curva); }
.bottone:hover .bottone__chevron { transform: translateX(3px); }
.bottone__play { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.bottone--nero { background: #050608; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16), 0 12px 30px -12px rgb(0 0 0 / .7); }
.bottone--nero:hover { background: #0E1218; }
.bottone--vetro { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .38), inset 0 1px 0 rgb(255 255 255 / .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bottone--vetro:hover { background: rgb(255 255 255 / .2); }
.bottone--blu { background: var(--blu); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 12px 30px -12px rgb(22 99 255 / .9); }
.bottone--blu:hover { background: #2A72FF; }
.bottone--chiaro { background: #fff; color: var(--inchiostro); }
.bottone--chiaro:hover { background: var(--carta); }
.bottone--super { height: 60px; padding: 0 28px 0 12px; gap: 10px; font-size: 1.05rem; color: #fff;
  background: linear-gradient(100deg, #1663FF 0%, #0A8FE0 55%, #19C9DE 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), inset 0 0 14px rgb(255 255 255 / .2), 0 0 26px rgb(10 166 244 / .55), 0 0 80px rgb(22 99 255 / .35);
  animation: respira 3.4s ease-in-out infinite alternate; }
.bottone--super img { width: 40px; height: 40px; border-radius: 12px; mix-blend-mode: screen; }
@keyframes respira { to { box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), inset 0 0 14px rgb(255 255 255 / .2), 0 0 36px rgb(51 234 247 / .7), 0 0 110px rgb(22 99 255 / .5); } }
.bottone--piccolo { height: 40px; padding: 0 16px; font-size: var(--t-xs); }
.bottone--pieno { width: 100%; }

/* ---------- navigazione: una barra sola, larga in cima, si stringe appena scorri ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: max(14px, env(safe-area-inset-top, 0px)) var(--margine) 0; pointer-events: none; transition: padding .55s var(--curva); }
.nav__dentro { pointer-events: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; max-width: var(--guscio); height: 62px; margin: 0 auto; padding: 0 9px 0 24px; border-radius: 999px;
  background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .09); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: max-width .6s var(--curva), height .55s var(--curva), padding .55s var(--curva), background-color .4s, border-color .4s, box-shadow .4s; }
.nav__logo { justify-self: start; display: inline-flex; text-decoration: none; color: var(--bianco); transition: color .35s; }
.logotipo { display: block; height: 17px; width: 94px; fill: currentColor; stroke: none; transition: height .55s var(--curva), width .55s var(--curva); }
.nav__link { display: flex; gap: 2px; }
.nav__link a { padding: 8px 14px; border-radius: 999px; font-size: var(--t-xs); text-decoration: none; color: var(--testo-2); transition: color .25s, background-color .25s; }
.nav__link a:hover { color: var(--bianco); background: rgb(255 255 255 / .06); }
.nav__cta { justify-self: end; transition: height .55s var(--curva), padding .55s var(--curva), transform .3s var(--curva), background-color .3s; }
.nav.sotto { padding-top: max(10px, env(safe-area-inset-top, 0px)); }
.nav.sotto .nav__dentro { max-width: 840px; height: 52px; padding-left: 20px; background: rgb(5 7 10 / .74); border-color: rgb(255 255 255 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 14px 40px -16px rgb(0 0 0 / .8); }
.nav.sotto .logotipo { height: 15px; width: 83px; }
.nav.sotto .nav__cta { height: 36px; padding: 0 14px; }
.nav.chiaro .nav__dentro { background: rgb(255 255 255 / .82); border-color: rgb(11 13 16 / .07); box-shadow: 0 12px 34px -16px rgb(11 13 16 / .3); }
.nav.chiaro .nav__logo { color: var(--inchiostro); }
.nav.chiaro .nav__link a { color: var(--inchiostro-2); }
.nav.chiaro .nav__link a:hover { color: var(--inchiostro); background: rgb(11 13 16 / .05); }

/* ---------- caricamento e entrate ---------- */
.js .carica { animation: sale .95s var(--curva) both; animation-delay: var(--d, 0s); }
@keyframes sale { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.js .entra { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .85s var(--curva), transform .85s var(--curva), filter .85s var(--curva); transition-delay: calc(var(--i, 0) * 90ms); }
.js .entra.visto { opacity: 1; transform: none; filter: blur(0); }

/* ---------- apertura: fasci di luce, titolo cromato e il software ---------- */
.eroe { --cima: clamp(156px, 13vw, 196px); position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding: var(--cima) var(--margine) 0; text-align: center; overflow: hidden; }
/* l'alba: bianco sotto il menu, poi azzurro, blu e buio prima del titolo */
.eroe__alba { position: absolute; z-index: -2; inset: 0 0 auto; height: calc(var(--cima) * 2.3); pointer-events: none;
  background: radial-gradient(60% 45% at 50% 62%, rgb(51 234 247 / .2), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 9%, #F4F8FF 17%, #DCE8FF 25%, #B4CBFF 32%, #7FA3FB 38%, #4C7BEF 43.5%, #2A5BDC 48%, #173FAE 54%, #0E2A7A 61%, #091A4D 69%, #060F2C 78%, #04081A 88%, var(--notte) 100%); }
.eroe__chiaro { position: absolute; inset: 0 0 auto; height: 24%; }
.eroe__su { text-shadow: 0 1px 14px rgb(4 12 50 / .55); }
.eroe__fasci { position: absolute; left: 0; top: 0; width: 100%; height: 780px; z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, transparent calc(var(--cima) * .45), #000 calc(var(--cima) * 1.05)); mask-image: linear-gradient(180deg, transparent calc(var(--cima) * .45), #000 calc(var(--cima) * 1.05)); }
.eroe__su { font: 500 14px/1 var(--font-testo); letter-spacing: .42em; text-transform: uppercase; color: #DCE8F2; padding-left: .42em; }
.eroe__titolo { margin-top: 22px; font-weight: 800; }
.eroe__titolo .riga { display: block; }
.eroe__titolo .cromato { font-size: clamp(2.4rem, .9rem + 5vw, 5.4rem); line-height: 1.05; padding: 0 .04em .06em; }
.eroe__nobr { white-space: nowrap; }
.eroe__claude { display: inline-block; width: clamp(1.9rem, .7rem + 4vw, 4.3rem); height: auto; aspect-ratio: 1; margin-left: .2em; vertical-align: baseline; border-radius: 23%; box-shadow: 0 0 0 1px rgb(255 255 255 / .22), 0 18px 44px -10px rgb(22 99 255 / .75), 0 0 36px rgb(51 234 247 / .45); }
.eroe__sotto { max-width: 50ch; margin-top: 24px; color: #C3CDD8; font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); }
.eroe .bottone--super { margin-top: 32px; }
.fila { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); width: 100%; max-width: 1240px; margin-top: clamp(56px, 7vw, 92px); transition: gap .7s var(--curva); }
.fila__lato { flex: none; width: clamp(110px, 11vw, 160px); aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .16), 0 30px 60px -20px rgb(22 99 255 / .55); opacity: .92;
  transition: width .7s var(--curva), opacity .4s, translate .7s var(--curva); }
.fila__lato video { width: 100%; height: 100%; object-fit: cover; }

/* il software: si raddrizza mentre scorri, i pannelli escono dalla finestra */
.palco { position: relative; flex: 0 1 820px; min-width: 0; perspective: 1500px; text-align: left; transition: flex-basis .7s var(--curva); }
/* mentre guardi il video: i Reel ai lati e i pannelli si fanno da parte, la finestra si allarga e si raddrizza */
.fila.guarda { gap: 0; }
.fila.guarda .fila__lato { width: 0; opacity: 0; translate: -40px 0; }
.fila.guarda .fila__lato:last-child { translate: 40px 0; }
.fila.guarda .palco { flex-basis: max(820px, min(1180px, calc((100svh - 360px) * 1.78))); }
.palco.guarda .palco__cornice { transform: none; transition: transform .7s var(--curva); }
.palco.guarda .pannello { opacity: 0; pointer-events: none; }
.palco.guarda .pannello--stile { translate: -70px 0; }
.palco.guarda .pannello--claude { translate: 70px 0; }
.palco__cornice { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #07090D; border: 1px solid rgb(255 255 255 / .12);
  box-shadow: 0 40px 100px -30px rgb(3 10 50 / .85);
  transform-origin: 50% 0; transform: rotateX(calc(14deg * (1 - var(--p, 1)))) scale(calc(.94 + .06 * var(--p, 1))); will-change: transform; }
.app { font: 500 12px/1.3 var(--font-testo); color: var(--testo-2); }
.app__barra { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--bordo); }
.app__puntini { display: flex; gap: 6px; } .app__puntini i { width: 10px; height: 10px; border-radius: 50%; background: #232A33; }
.app__titolo { color: var(--testo-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .app__titolo b { color: var(--bianco); font-weight: 600; }
.app__export { justify-self: end; padding: 6px 12px; border-radius: 8px; background: var(--blu); color: #fff; font-weight: 600; }
.app__anteprima { position: relative; margin: 14px 14px 0; }
.app__video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border-radius: 12px; background: #000; object-fit: contain; opacity: 0; visibility: hidden; transition: opacity .45s var(--curva), visibility 0s .45s; }
.palco.guarda .app__video { opacity: 1; visibility: visible; transition: opacity .45s var(--curva) .15s, visibility 0s; }
.app__chiudi { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgb(5 7 10 / .6); color: #fff; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s, background-color .2s; }
.app__chiudi:hover { background: rgb(5 7 10 / .85); }
.app__chiudi svg { width: 16px; height: 16px; stroke-width: 2.4; }
.palco.guarda .app__chiudi { opacity: 1; visibility: visible; transition: opacity .3s .5s, visibility 0s; }
.palco.guarda .app__testina { animation: none; left: calc(16px + (100% - 34px) * var(--avanza, 0)); transition: left .3s linear; }
.app__presentazione { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; }
.app__presentazione img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--curva); }
.app__presentazione:hover img { transform: scale(1.03); }
.app__presentazione::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, transparent, rgb(2 3 4 / .35)); }
.app__play { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgb(255 255 255 / .16); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .55), 0 0 0 10px rgb(255 255 255 / .06), 0 20px 50px -10px rgb(22 99 255 / .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; transition: transform .3s var(--curva); }
.app__presentazione:hover .app__play { transform: scale(1.08); }
.app__play svg { width: 30px; height: 30px; margin-left: 5px; fill: currentColor; stroke: none; }
.app__comandi { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 14px 4px; }
.app__chiedi { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: #151A22; color: #fff; }
.app__chiedi img { width: 18px; height: 18px; border-radius: 5px; }
.app__comandi i { width: 22px; height: 22px; border-radius: 6px; background: #151A22; }
.app__si { position: relative; width: 28px; height: 16px; border-radius: 99px; background: var(--blu); flex: none; }
.app__si::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.app__timeline { position: relative; padding: 8px 16px 16px; display: grid; gap: 6px; }
.app__righello { position: relative; height: 16px; font-size: 10px; color: var(--testo-3); font-variant-numeric: tabular-nums; }
.app__righello span { position: absolute; top: 0; transform: translateX(-50%); }
.app__righello span:first-child { transform: none; }
.app__traccia { position: relative; height: 26px; border-radius: 7px; background: #0D1117; overflow: hidden; }
.app__traccia i { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; }
.app__traccia--video i { background: linear-gradient(180deg, #2B74FF, #1663FF); }
.app__traccia--video i:nth-child(odd) { background: linear-gradient(180deg, #3D80FF, #1C5FEA); }
.app__traccia--grafica { height: 18px; } .app__traccia--grafica i { background: linear-gradient(90deg, var(--ciano), var(--azzurro)); }
.app__traccia--testo { height: 14px; } .app__traccia--testo i { background: var(--lavanda); opacity: .85; }
.app__traccia--audio { height: 22px; } .app__traccia--audio i { top: 50%; bottom: auto; width: 2px; border-radius: 1px; background: #1A8C9E; transform: translateY(-50%); }
.app__testina { position: absolute; top: 26px; bottom: 12px; left: 16px; width: 2px; background: #fff; box-shadow: 0 0 10px rgb(255 255 255 / .8); animation: testina 14s linear infinite; }
.app__testina::before { content: ""; position: absolute; top: -6px; left: -5px; width: 12px; height: 8px; border-radius: 3px; background: #fff; }
@keyframes testina { from { left: 16px; } to { left: calc(100% - 18px); } }

.pannello { position: absolute; z-index: 2; border-radius: 16px; background: rgb(13 16 21 / .94); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 500 12px/1.45 var(--font-testo); color: var(--testo-2); padding: 14px; transition: opacity .4s, translate .7s var(--curva); }
.pannello--stile { left: -96px; bottom: 12%; width: 210px; animation: galleggia 7s ease-in-out infinite; }
.pannello--claude { right: -96px; top: 10%; width: 250px; animation: galleggia 7s ease-in-out -3.5s infinite; }
.pannello__testa { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #fff; }
.pannello__testa span { margin-left: auto; padding: 3px 8px; border-radius: 6px; background: #1A2029; color: var(--testo-2); font-weight: 500; }
.pannello__testa img { width: 24px; height: 24px; border-radius: 7px; }
.pannello__gruppo { margin: 10px 0 4px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--testo-3); }
.pannello__riga { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px; margin-top: 4px; border-radius: 8px; background: #161B22; }
.pannello__riga b { color: #fff; font-weight: 600; }
.msg { padding: 8px 11px; border-radius: 13px; }
.msg + .msg { margin-top: 7px; }
.msg--tu { margin-left: 30px; background: var(--blu); color: #fff; border-bottom-right-radius: 4px; }
.msg--ai { margin-right: 8px; background: #1A2029; color: #DCE3EA; border-bottom-left-radius: 4px; }
.pannello__scrive { display: flex; gap: 4px; width: 46px; margin-top: 7px; padding: 10px 11px; border-radius: 13px; background: #1A2029; }
.pannello__scrive i { width: 6px; height: 6px; border-radius: 50%; background: var(--testo-2); animation: puntino 1.2s ease-in-out infinite; }
.pannello__scrive i:nth-child(2) { animation-delay: .15s; } .pannello__scrive i:nth-child(3) { animation-delay: .3s; }
@keyframes puntino { 40% { transform: translateY(-3px); opacity: 1; } 0%, 80%, 100% { opacity: .4; } }
@keyframes galleggia { 50% { transform: translateY(-9px); } }

/* ---------- titolo cromato e scintille ---------- */
.cromato { display: inline-block; font: 800 clamp(3.4rem, 1.5rem + 8vw, 7.5rem)/1 var(--font-display); letter-spacing: -.045em;
  background: linear-gradient(180deg, #FFFFFF 8%, #D3F4FF 40%, #59B4FF 56%, #E8FCFF 72%, #33EAF7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 1px rgb(255 255 255 / .8)) drop-shadow(0 0 24px rgb(51 234 247 / .5)); }
.scintilla { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; background: #fff; clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); animation: brilla 2.4s ease-in-out infinite; animation-delay: var(--r, 0s); pointer-events: none; }
@keyframes brilla { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- la differenza ---------- */
.differenza .testa h2 { max-width: 900px; }
.confronto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 40px); margin-top: 56px; }
.confronto__lato { padding: 28px; border-radius: 28px; background: var(--superficie); border: 1px solid var(--bordo); }
.confronto__lato h3 { font-weight: 600; font-size: var(--t-l); letter-spacing: -.03em; }
.confronto__lato ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: var(--t-s); }
.confronto__lato li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.confronto__lato li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: center / 12px no-repeat; }
.confronto__lato--no { color: var(--testo-3); }
.confronto__lato--no h3 { color: var(--testo-2); }
.confronto__lato--no li::before { background-color: rgb(255 255 255 / .06); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C8692' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.confronto__lato--si { background: var(--blu); border-color: transparent; color: #fff; box-shadow: 0 30px 80px -40px rgb(22 99 255 / .9); }
.confronto__lato--si li::before { background-color: rgb(255 255 255 / .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.primadopo { --pos: 50%; position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 40px 90px -30px rgb(22 99 255 / .7); touch-action: pan-y; }
.primadopo img, .primadopo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.primadopo__prima { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.primadopo__tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; }
.primadopo__tag--prima { left: 14px; background: rgb(5 7 10 / .6); color: #fff; }
.primadopo__tag--dopo { right: 14px; background: rgb(22 99 255 / .85); color: #fff; }
.primadopo__maniglia { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgb(255 255 255 / .8); pointer-events: none; }
.primadopo__maniglia svg { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 11px; border-radius: 50%; background: #fff; color: var(--inchiostro); stroke-width: 2.4; box-shadow: 0 6px 20px rgb(0 0 0 / .4); }
.primadopo__cursore { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y; }

/* ---------- il vero valore ---------- */
.valore { max-width: calc(980px + 2 * var(--margine)); margin: 0 auto; padding: var(--sezione) var(--margine) 0; }
.valore__frase { font: 600 clamp(1.7rem, 1.1rem + 2.3vw, 3rem)/1.18 var(--font-display); letter-spacing: -.035em; text-wrap: pretty; }
.valore__frase .p { color: rgb(255 255 255 / .16); transition: color .5s var(--curva); }
.valore__frase .p.accesa { color: var(--bianco); }
.valore__frase .p.accesa.blu { color: var(--ciano); }


/* ---------- il metodo ---------- */
.metodo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); max-width: var(--guscio); margin: 72px auto 0; }
.metodo__passi { margin: 0; padding: 0; list-style: none; }
.passo { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; min-height: 62vh; align-content: center; padding: 24px 0; opacity: .3; transition: opacity .5s var(--curva); }
.passo.attivo { opacity: 1; }
.passo__n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); font: 600 15px/1 var(--font-display); transition: background-color .4s, box-shadow .4s; }
.passo.attivo .passo__n { background: var(--blu); box-shadow: 0 10px 26px -8px rgb(22 99 255 / .9); }
.passo h3 { font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.035em; }
.passo p { color: var(--testo-2); max-width: 38ch; }
.metodo__palco { position: sticky; top: calc(50vh - min(32vh, 290px)); align-self: start; }
.metodo__didascalia, .metodo__punti { display: none; }
.metodo__schermo { position: relative; height: min(64vh, 580px); border-radius: 32px; background: radial-gradient(70% 60% at 50% 100%, rgb(22 99 255 / .6), transparent 70%), linear-gradient(180deg, #060A12, #0A1630); overflow: hidden; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 50px 100px -40px rgb(10 44 158 / .8); }
.vista { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; transform: translateY(18px) scale(.98); filter: blur(6px); transition: opacity .6s var(--curva), transform .6s var(--curva), filter .6s var(--curva); pointer-events: none; }
.metodo__schermo[data-vista="1"] .vista--1, .metodo__schermo[data-vista="2"] .vista--2, .metodo__schermo[data-vista="3"] .vista--3, .metodo__schermo[data-vista="4"] .vista--4 { opacity: 1; transform: none; filter: none; }

.terminale { width: min(100%, 440px); border-radius: 18px; background: rgb(7 9 13 / .9); border: 1px solid rgb(255 255 255 / .1); padding: 0 0 18px; font: 500 14px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #DCE3EA; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8); }
.terminale__barra { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--bordo); font-family: var(--font-testo); font-size: 12px; color: var(--testo-3); }
.terminale__barra i { width: 10px; height: 10px; border-radius: 50%; background: #2A313B; }
.terminale__barra span { margin-left: 8px; }
.terminale__riga { padding: 16px 18px 6px; min-height: 48px; }
.terminale__prompt { color: var(--ciano); margin-right: 10px; }
.scrive::after { content: ""; display: inline-block; width: 8px; height: 16px; margin-left: 2px; vertical-align: -2px; background: var(--ciano); animation: cursore 1s steps(1) infinite; }
@keyframes cursore { 50% { opacity: 0; } }
.terminale__lista { margin: 6px 0 0; padding: 0 18px; list-style: none; display: grid; gap: 6px; }
.terminale__lista li { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s var(--curva); }
.terminale__lista li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgb(51 234 247 / .15); color: var(--ciano); font-size: 11px; flex: none; }
.terminale__fine { margin: 14px 18px 0; padding: 10px 12px; border-radius: 10px; background: rgb(22 99 255 / .18); color: #fff; font-family: var(--font-testo); font-weight: 600; opacity: 0; transition: opacity .4s; }
[data-vista="1"] .terminale__lista li { opacity: 1; transform: none; }
[data-vista="1"] .terminale__lista li:nth-child(1) { transition-delay: 1.3s; } [data-vista="1"] .terminale__lista li:nth-child(2) { transition-delay: 1.5s; }
[data-vista="1"] .terminale__lista li:nth-child(3) { transition-delay: 1.7s; } [data-vista="1"] .terminale__lista li:nth-child(4) { transition-delay: 1.9s; }
[data-vista="1"] .terminale__lista li:nth-child(5) { transition-delay: 2.1s; }
[data-vista="1"] .terminale__fine { opacity: 1; transition-delay: 2.5s; }

.cartella { width: min(100%, 460px); padding: 18px; border-radius: 22px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cartella__testa { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15px; }
.cartella__testa svg { width: 22px; height: 22px; color: var(--ciano); }
.cartella__griglia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.cartella figure { position: relative; margin: 0; aspect-ratio: 9 / 13; border-radius: 12px; overflow: hidden; opacity: 0; transform: translateY(-30px) scale(.9); transition: opacity .5s, transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.cartella img { width: 100%; height: 100%; object-fit: cover; }
.cartella span { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 6px; background: rgb(0 0 0 / .55); font-size: 11px; color: #fff; }
[data-vista="2"] .cartella figure { opacity: 1; transform: none; }
[data-vista="2"] .cartella figure:nth-child(2) { transition-delay: .12s; } [data-vista="2"] .cartella figure:nth-child(3) { transition-delay: .24s; }
[data-vista="2"] .cartella figure:nth-child(4) { transition-delay: .36s; } [data-vista="2"] .cartella figure:nth-child(5) { transition-delay: .48s; }
[data-vista="2"] .cartella figure:nth-child(6) { transition-delay: .6s; }

.lavoro { display: grid; grid-template-columns: 150px minmax(0, 230px); gap: 18px; align-items: center; }
.lavoro__video { aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .14), 0 20px 50px -10px rgb(51 234 247 / .4); }
.lavoro__video img, .lavoro__video video { width: 100%; height: 100%; object-fit: cover; }
.lavoro__lista { color: #DCE3EA; font-size: 14px; }
.lavoro__testa { font-weight: 600; color: #fff; margin-bottom: 10px; }
.lavoro__lista ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lavoro__lista li { display: flex; gap: 10px; align-items: center; opacity: .35; transition: opacity .3s; }
.lavoro__lista li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .3); flex: none; transition: background-color .3s, border-color .3s; }
[data-vista="3"] .lavoro__lista li { opacity: 1; }
[data-vista="3"] .lavoro__lista li::before { background: var(--ciano); border-color: var(--ciano); }
[data-vista="3"] .lavoro__lista li:nth-child(1), [data-vista="3"] .lavoro__lista li:nth-child(1)::before { transition-delay: .3s; }
[data-vista="3"] .lavoro__lista li:nth-child(2), [data-vista="3"] .lavoro__lista li:nth-child(2)::before { transition-delay: .7s; }
[data-vista="3"] .lavoro__lista li:nth-child(3), [data-vista="3"] .lavoro__lista li:nth-child(3)::before { transition-delay: 1.1s; }
[data-vista="3"] .lavoro__lista li:nth-child(4), [data-vista="3"] .lavoro__lista li:nth-child(4)::before { transition-delay: 1.5s; }
[data-vista="3"] .lavoro__lista li:nth-child(5), [data-vista="3"] .lavoro__lista li:nth-child(5)::before { transition-delay: 1.9s; }
[data-vista="3"] .lavoro__lista li:nth-child(6), [data-vista="3"] .lavoro__lista li:nth-child(6)::before { transition-delay: 2.3s; }
.lavoro__barra { height: 6px; margin-top: 16px; border-radius: 99px; background: rgb(255 255 255 / .1); overflow: hidden; }
.lavoro__barra i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blu), var(--ciano)); transition: width 2.6s cubic-bezier(.4, 0, .2, 1) .3s; }
[data-vista="3"] .lavoro__barra i { width: 100%; }

.rivedi { position: relative; width: min(100%, 460px); padding: 22px 18px; border-radius: 20px; background: rgb(7 9 13 / .9); border: 1px solid rgb(255 255 255 / .1); }
.rivedi__righe { display: grid; gap: 8px; }
.rivedi__traccia { position: relative; height: 40px; border-radius: 9px; background: #0D1117; overflow: hidden; }
.rivedi__traccia--g { height: 22px; }
.rivedi__traccia i { position: absolute; top: 4px; bottom: 4px; border-radius: 6px; background: linear-gradient(180deg, #2B74FF, #1663FF); }
.rivedi__traccia--g i { background: linear-gradient(90deg, var(--ciano), var(--azzurro)); }
.rivedi__traccia i.mobile { box-shadow: 0 0 0 2px #fff; transition: left .8s var(--curva) 1.4s; }
.rivedi__mano { position: absolute; left: 47%; top: 34px; width: 26px; height: 26px; filter: drop-shadow(0 4px 8px rgb(0 0 0 / .6)); opacity: 0; transition: left .8s var(--curva) 1.4s, opacity .3s .6s; }
.rivedi__mano svg { width: 100%; height: 100%; fill: #fff; stroke: #07090D; stroke-width: 1.2; }
[data-vista="4"] .rivedi__mano { opacity: 1; left: 52%; }
.rivedi__toast { position: absolute; left: 50%; bottom: -54px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--inchiostro); font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .4s 2.4s, bottom .5s var(--curva) 2.4s; }
[data-vista="4"] .rivedi__toast { opacity: 1; bottom: -44px; }

/* ---------- le schede (bento a colori) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.scheda { position: relative; isolation: isolate; overflow: hidden; min-height: 360px; padding: 30px; border-radius: 30px; transition: opacity .85s var(--curva), transform .85s var(--curva), filter .85s var(--curva); }
.scheda--larga { grid-column: span 2; }
.scheda h3 { position: relative; font-weight: 600; font-size: var(--t-l); line-height: 1.12; letter-spacing: -.03em; }
.scheda p { position: relative; margin-top: 10px; max-width: 46ch; font-size: var(--t-s); color: var(--testo-2); }
.scheda__testa { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.scheda__icona { width: 72px; height: 72px; margin: -6px 0 14px -6px; mix-blend-mode: screen; }
.scheda__tag { padding: 7px 12px; border-radius: 999px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); font-size: var(--t-xs); color: #DCE3EA; }
.scheda__riga { display: flex; align-items: center; gap: 12px; }
.scheda__freccia { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgb(255 255 255 / .08); }
.scheda__freccia svg { width: 15px; height: 15px; stroke-width: 2.2; }
.scheda__piccolo { margin: 0 0 8px !important; font-size: var(--t-xs) !important; color: var(--ciano) !important; }

/* scura, con la luce che entra da un angolo e il bordo che si accende */
.scheda--notte { border: 1px solid transparent; background: linear-gradient(160deg, #0F131A, #07090D) padding-box, linear-gradient(140deg, rgb(255 255 255 / .16), rgb(255 255 255 / .03) 40%, rgb(255 255 255 / .02) 65%, rgb(51 234 247 / .45)) border-box; }
.scheda--notte::before { content: ""; position: absolute; z-index: -1; right: -20%; bottom: -40%; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(22 99 255 / .4), rgb(10 166 244 / .12) 55%, transparent); }
/* blu pieno con i cerchi concentrici */
.scheda--blu { background: var(--blu); color: #fff; }
.scheda--blu p { color: rgb(255 255 255 / .86); }
.scheda__cerchi { position: absolute; z-index: -1; right: -90px; top: -90px; width: 360px; height: 360px; }
.scheda__cerchi i { position: absolute; inset: 0; border-radius: 50%; background: rgb(255 255 255 / .07); }
.scheda__cerchi i:nth-child(2) { inset: 50px; background: rgb(255 255 255 / .08); }
.scheda__cerchi i:nth-child(3) { inset: 100px; background: rgb(255 255 255 / .1); }
.scheda__vetro { position: relative; width: 104px; height: 104px; margin: -10px 0 10px -10px; mix-blend-mode: screen; animation: galleggia 6s ease-in-out infinite; }
/* il tuo stile: sfumata con forme di vetro */
.scheda--stile { background: linear-gradient(160deg, #19C9DE 0%, #0A8FE0 35%, #1663FF 75%, #0A2C9E 100%); color: #fff; }
.scheda--stile p { color: rgb(255 255 255 / .88); }
.scheda--stile::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgb(255 255 255 / .9) 1px, transparent 1.6px), radial-gradient(circle, rgb(255 255 255 / .6) 1px, transparent 1.6px); background-size: 130px 110px, 90px 150px; background-position: 20px 30px, 70px 10px; opacity: .45; }
.vetri { position: absolute; right: -30px; bottom: -30px; width: 230px; height: 230px; }
.vetri span { position: absolute; width: 150px; height: 150px; border-radius: 40px; background: linear-gradient(145deg, rgb(255 255 255 / .38), rgb(255 255 255 / .08)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45), inset 0 1px 0 rgb(255 255 255 / .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vetri span:nth-child(1) { right: 70px; bottom: 30px; transform: rotate(-14deg); }
.vetri span:nth-child(2) { right: 30px; bottom: 60px; transform: rotate(8deg); }
.vetri span:nth-child(3) { right: 0; bottom: 0; transform: rotate(-4deg); }
.vetri img { position: absolute; right: 30px; bottom: 40px; width: 120px; height: 120px; mix-blend-mode: screen; animation: galleggia 7s ease-in-out infinite; }
/* il software: uno schermo vero con l'alone */
.scheda--software { background: radial-gradient(70% 60% at 60% 0%, rgb(22 99 255 / .5), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgb(51 234 247 / .18), transparent 70%), #07090D; border: 1px solid rgb(255 255 255 / .08); padding-bottom: 0; display: flex; flex-direction: column; }
.mini-app { margin: 26px 0 0; border-radius: 16px 16px 0 0; background: #0B0E13; border: 1px solid rgb(255 255 255 / .12); border-bottom: 0; padding-bottom: 14px; font-size: 12px; color: var(--testo-2); box-shadow: 0 -20px 60px -20px rgb(22 99 255 / .5); flex: 1; }
.mini-app__barra { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--bordo); }
.mini-app__barra i { width: 9px; height: 9px; border-radius: 50%; background: #232A33; }
.mini-app__barra span { margin-left: 8px; color: #fff; font-weight: 600; }
.mini-app__barra b { margin-left: auto; padding: 4px 10px; border-radius: 7px; background: var(--blu); color: #fff; font-weight: 600; }
.mini-app__corpo { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; padding: 14px; }
.mini-app__video { aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; }
.mini-app__video img, .mini-app__video video { width: 100%; height: 100%; object-fit: cover; }
.mini-app__lista { display: grid; align-content: start; gap: 6px; }
.mini-app__lista p { display: flex; justify-content: space-between; margin: 0 !important; padding: 8px 10px; border-radius: 9px; background: #141920; font-size: 12px !important; color: var(--testo-2) !important; }
.mini-app__lista b { color: #fff; }
.mini-app__bottone { justify-self: start; margin-top: 4px; padding: 7px 12px; border-radius: 999px; background: var(--ciano); color: #04121C; font-weight: 600; }
.minitimeline { position: relative; display: grid; gap: 6px; margin: 0 14px; padding: 10px; border-radius: 12px; background: #07090D; }
.minitimeline div { position: relative; height: 22px; border-radius: 6px; background: #10141A; }
.minitimeline div + div { height: 12px; }
.minitimeline i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: var(--blu); }
.minitimeline div + div i { background: var(--ciano); }
.minitimeline > span { position: absolute; top: 6px; bottom: 6px; left: 40%; width: 2px; background: #fff; animation: oscilla 5s ease-in-out infinite alternate; }
@keyframes oscilla { from { left: 18%; } to { left: 82%; } }
/* le skill: icone di vetro ad arco */
.scheda--arco { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 24px; }
.arco { position: relative; height: 240px; }
.arco img { position: absolute; width: 76px; height: 76px; mix-blend-mode: screen; animation: galleggia 6s ease-in-out infinite; }
.arco img:nth-child(1) { left: 0; top: 62%; animation-delay: 0s; }
.arco img:nth-child(2) { left: 16%; top: 30%; animation-delay: -1s; }
.arco img:nth-child(3) { left: 36%; top: 12%; animation-delay: -2s; }
.arco img:nth-child(4) { left: 57%; top: 12%; animation-delay: -3s; }
.arco img:nth-child(5) { left: 76%; top: 30%; animation-delay: -4s; }
.arco img:nth-child(6) { left: 88%; top: 62%; animation-delay: -5s; }
/* entra in lista: ciano, con Carlo che spunta dal basso */
.scheda--ciano { background: linear-gradient(160deg, #6FF2FA 0%, #33EAF7 30%, #0AA6F4 75%, #1663FF 120%); color: #04121C; }
.scheda--ciano p { color: rgb(4 18 28 / .72); max-width: 22ch; }
.scheda--ciano .bottone { margin-top: 18px; position: relative; z-index: 1; }
.scheda__carlo { position: absolute; z-index: -1; right: -14%; bottom: 0; height: 74%; width: auto; max-width: none; }
.scheda--ghiaccio { background: var(--carta); color: var(--inchiostro); }
.scheda--ghiaccio p { color: var(--inchiostro-2); }
.scheda--ghiaccio .scheda__icona { mix-blend-mode: normal; border-radius: 20px; }

.lezioni { position: relative; columns: 2; column-gap: 28px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: l; font-size: var(--t-s); }
.lezioni li { break-inside: avoid; display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--bordo); color: #DCE3EA; counter-increment: l; }
.lezioni li::before { content: counter(l, decimal-leading-zero); color: var(--ciano); font-variant-numeric: tabular-nums; font-size: 13px; padding-top: 2px; }
.interruttori { position: relative; margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--t-s); }
.interruttori li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgb(255 255 255 / .12); color: #fff; }
.interruttori i { position: relative; width: 32px; height: 18px; border-radius: 99px; background: rgb(255 255 255 / .25); transition: background-color .4s var(--curva); flex: none; }
.interruttori i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .4s var(--curva); }
.visto .interruttori i { background: var(--notte-2); }
.visto .interruttori i::after { transform: translateX(14px); background: var(--ciano); }
.visto .interruttori li:nth-child(1) i, .visto .interruttori li:nth-child(1) i::after { transition-delay: .5s; }
.visto .interruttori li:nth-child(2) i, .visto .interruttori li:nth-child(2) i::after { transition-delay: .65s; }
.visto .interruttori li:nth-child(3) i, .visto .interruttori li:nth-child(3) i::after { transition-delay: .8s; }
.visto .interruttori li:nth-child(4) i, .visto .interruttori li:nth-child(4) i::after { transition-delay: .95s; }
.visto .interruttori li:nth-child(5) i, .visto .interruttori li:nth-child(5) i::after { transition-delay: 1.1s; }

/* ---------- comandi ---------- */
.sezione.comandi { min-height: 1040px; margin-top: var(--sezione); padding-top: 0; display: grid; place-items: center; }
.comandi__centro { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 520px; text-align: center; }
.claude-segno { position: relative; display: grid; place-items: center; width: 120px; height: 120px; }
.claude-segno::before { content: ""; position: absolute; inset: -46px; border-radius: 50%; background: radial-gradient(closest-side, rgb(51 234 247 / .42), rgb(22 99 255 / .3) 55%, transparent); animation: alone-claude 4s ease-in-out infinite alternate; }
.claude-segno img { position: relative; width: 108px; height: 108px; border-radius: 26px; box-shadow: 0 0 0 1px rgb(255 255 255 / .22), 0 24px 60px -12px rgb(22 99 255 / .8), 0 0 40px rgb(51 234 247 / .35); }
@keyframes alone-claude { from { opacity: .7; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.claude-inline { display: inline-block; width: .9em; height: .9em; margin-left: .14em; vertical-align: -.1em; border-radius: .22em; box-shadow: 0 0 24px rgb(51 234 247 / .45); }
.comandi h2 { font-weight: 600; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.comandi p { color: var(--testo-2); }
.bolla { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px; transform: rotate(var(--r, 0deg)); animation: galleggia-bolla 6.5s ease-in-out infinite; animation-delay: var(--d); }
.bolla--dx { left: auto; right: var(--x); flex-direction: row-reverse; }
@keyframes galleggia-bolla { 50% { translate: 0 -10px; } }
@media (min-width: 1300px) {
  .bolla { left: var(--xl, var(--x)); top: var(--yl, var(--y)); }
  .bolla--dx { left: auto; right: var(--xl, var(--x)); }
}
.bolla img { width: 74px; height: 74px; object-fit: contain; flex: none; filter: drop-shadow(0 14px 22px rgb(22 99 255 / .45)); }
.bolla > span { padding: 9px 16px 10px; border-radius: 18px; border-top-left-radius: 6px; background: var(--c); color: var(--t); font-size: var(--t-s); font-weight: 500; line-height: 1.3; white-space: nowrap; box-shadow: 0 10px 30px -12px rgb(0 0 0 / .8); }
.bolla > span b { display: block; margin-bottom: 2px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }

/* ---------- i reel ---------- */
.nastro { position: relative; margin: 48px calc(-1 * var(--margine)) 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.nastro__pista { display: flex; gap: 14px; width: max-content; animation: scorre 70s linear infinite; }
.nastro:hover .nastro__pista { animation-play-state: paused; }
@keyframes scorre { to { transform: translateX(-50%); } }
.reelcard { flex: none; width: 210px; }
.reelcard__img { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .1); }
.reelcard__img img, .reelcard__img video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--curva); }
.reelcard:hover .reelcard__img video { transform: scale(1.04); }
.reelcard__dati { margin-top: 12px; font-size: 12px; color: var(--testo-3); font-variant-numeric: tabular-nums; }
.reelcard__dati b { color: var(--bianco); font-weight: 600; }
.reelcard__barra { height: 4px; margin-top: 8px; max-width: 100%; border-radius: 99px; background: rgb(255 255 255 / .2); overflow: hidden; }
.reelcard__barra i { display: block; height: 100%; background: linear-gradient(90deg, var(--blu), var(--ciano)); }
.reelcard p { margin-top: 4px; font-size: var(--t-xs); color: var(--bianco); line-height: 1.35; }

/* ---------- chi sono: Carlo esce dalla cornice, su fondo chiaro ---------- */
.chi { position: relative; margin: var(--sezione) 8px 0; padding: clamp(72px, 9vw, 130px) var(--margine); border-radius: 40px; background: radial-gradient(60% 55% at 22% 100%, rgb(22 99 255 / .2), transparent 70%), radial-gradient(40% 40% at 90% 0%, rgb(51 234 247 / .14), transparent 70%), var(--ghiaccio-2); color: var(--inchiostro); color-scheme: light; overflow: hidden; }
.chi__dentro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; max-width: var(--guscio); margin: 0 auto; }
.persona { position: relative; width: min(100%, 470px); aspect-ratio: 5 / 6; margin: 0 auto; }
.persona__quadro { position: absolute; left: 13%; right: 13%; top: 27%; bottom: 0; border-radius: 56px; background: radial-gradient(80% 60% at 50% 100%, rgb(22 99 255 / .55), transparent 70%), #050608; }
.persona__foto { position: absolute; left: 50%; bottom: 0; height: 97%; width: auto; max-width: none; transform: translateX(-50%); -webkit-mask-image: linear-gradient(to top, transparent 0, #000 5%); mask-image: linear-gradient(to top, transparent 0, #000 5%); }
.persona__logo { position: absolute; left: 0; top: 16%; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #050608; box-shadow: 0 16px 30px -12px rgb(5 6 8 / .5); animation: galleggia 6s ease-in-out infinite; }
.persona__logo img { width: 58px; height: 58px; mix-blend-mode: screen; border-radius: 16px; }
.persona__logo::after { content: ""; position: absolute; right: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ciano); border: 3px solid var(--ghiaccio-2); }
.pchip { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; box-shadow: 0 24px 40px -20px rgb(5 6 8 / .5); white-space: nowrap; animation: galleggia 6.5s ease-in-out infinite; }
.pchip small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pchip b { font: 600 16px/1.2 var(--font-display); letter-spacing: -.01em; }
.pchip--bianco { left: -7%; top: 60%; padding: 8px 8px 8px 8px; background: #fff; color: var(--inchiostro); animation-delay: -2s; }
.pchip--bianco small { color: var(--accento-chiaro); }
.pchip__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(22 99 255 / .12); color: var(--blu); flex: none; }
.pchip__ic svg { width: 20px; height: 20px; }
.pchip__av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.pchip--blu { right: -10%; top: 44%; padding: 16px 24px; border-radius: 36px; background: var(--blu); color: #fff; font: 600 17px/1.25 var(--font-display); letter-spacing: -.01em; animation-delay: -4s; }
.pchip--nero { right: -5%; bottom: 7%; padding: 9px 9px 9px 22px; background: #050608; color: #fff; }
.pchip--nero small { color: var(--ciano); }
.pila { display: flex; }
.pila img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #050608; margin-left: -10px; }
.chi__testo { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.chi .occhiello { color: var(--accento-chiaro); }
.chi__testo h2 { font-weight: 600; font-size: var(--t-sezione); line-height: 1.06; letter-spacing: -.042em; }
.chi .grigio { color: #7A8591; }
.chi__grande { font: 500 var(--t-l)/1.35 var(--font-display); letter-spacing: -.02em; }
.chi__testo > p:not(.occhiello):not(.chi__grande) { color: var(--inchiostro-2); max-width: 56ch; }
.competenze { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.competenze li { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(11 13 16 / .08); font-size: var(--t-xs); }
.link-ig { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--accento-chiaro); }
.link-ig svg { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .3s var(--curva); }
.link-ig:hover svg { transform: translate(2px, -2px); }

/* ---------- per chi è ---------- */
.perchi__griglia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.perchi__griglia .scheda { min-height: 0; }

/* ---------- lista d'attesa ---------- */
.lista { position: relative; isolation: isolate; margin-top: var(--sezione); padding: var(--sezione) var(--margine); overflow: hidden; }
.lista__luce { position: absolute; inset: 0; z-index: -1; background: var(--notte) url("../media/sfondi/spot-1x1.webp") center bottom / cover no-repeat; }
.lista__luce::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--notte), transparent 30%); }
.lista__dentro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; max-width: var(--guscio); margin: 0 auto; }
.lista__foto { border-radius: 40px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 60px 120px -40px rgb(22 99 255 / .9); }
.lista__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.lista__carta { padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: rgb(8 11 16 / .72); border: 1px solid rgb(255 255 255 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 40px 100px -40px rgb(0 0 0 / .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.lista__carta h2 { margin-top: 14px; font-weight: 600; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.05; letter-spacing: -.042em; }
.lista__sotto { margin-top: 12px; color: var(--testo-2); }
.modulo { display: grid; gap: 14px; margin-top: 26px; }
.modulo__doppio { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.campo { display: grid; gap: 6px; font-size: var(--t-xs); color: var(--testo-2); }
.campo em { font-style: normal; color: var(--testo-3); }
.campo input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .04); color: #fff; font: 400 16px var(--font-testo); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.campo input::placeholder { color: var(--testo-3); }
.campo input:focus { outline: none; border-color: var(--azzurro); background: rgb(255 255 255 / .06); box-shadow: 0 0 0 4px rgb(10 166 244 / .18); }
.ruoli { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ruoli legend { width: 100%; margin-bottom: 6px; padding: 0; font-size: var(--t-xs); color: var(--testo-2); }
.ruoli label { position: relative; cursor: pointer; }
.ruoli input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.ruoli span { display: inline-flex; padding: 11px 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .14); font-size: var(--t-s); transition: background-color .2s, border-color .2s, color .2s; }
.ruoli input:checked + span { background: var(--blu); border-color: var(--blu); color: #fff; }
.ruoli input:focus-visible + span { outline: 2px solid var(--ciano); outline-offset: 2px; }
.consenso { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: var(--t-xs); color: var(--testo-2); cursor: pointer; }
.consenso input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blu); }
.consenso a { color: #fff; }
.modulo__errore { padding: 10px 14px; border-radius: 12px; background: rgb(255 92 122 / .12); color: #FFB3C1; font-size: var(--t-s); }
.modulo__nota { text-align: center; font-size: var(--t-xs); color: var(--testo-3); }
.modulo__nota a { color: var(--testo-2); }
.modulo .bottone { height: 56px; }

/* ---------- domande ---------- */
.domande__elenco { display: grid; gap: 10px; max-width: 820px; margin: 48px auto 0; }
.domande details { border-radius: 20px; background: var(--superficie); border: 1px solid var(--bordo); transition: border-color .3s, background-color .3s, opacity .85s var(--curva), transform .85s var(--curva), filter .85s var(--curva); }
.domande details[open] { border-color: rgb(51 234 247 / .3); background: var(--superficie-2); }
.domande summary { position: relative; list-style: none; padding: 22px 64px 22px 24px; font: 500 var(--t-m)/1.35 var(--font-testo); cursor: pointer; }
.domande summary::-webkit-details-marker { display: none; }
.domande summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgb(255 255 255 / .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .3s var(--curva); }
.domande details[open] summary::after { transform: rotate(45deg); }
.domande details p { padding: 0 24px 22px; color: var(--testo-2); }
.domande details.muove { overflow: hidden; }

/* ---------- finale ---------- */
.finale { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: var(--sezione) var(--margine) clamp(100px, 12vw, 160px); text-align: center; }
.finale__sfondo { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 45% at 50% 34%, rgb(22 99 255 / .32), transparent 70%), radial-gradient(30% 25% at 50% 30%, rgb(51 234 247 / .14), transparent 70%); }
.finale__logo { width: clamp(150px, 18vw, 230px); height: auto; mix-blend-mode: screen; }
.js .finale__logo.visto { animation: fluttua 7s ease-in-out infinite 1s; }
@keyframes fluttua { 50% { transform: translateY(-10px) rotate(-2deg); } }
.finale h2 { font-weight: 600; font-size: var(--t-sezione); line-height: 1.06; letter-spacing: -.042em; }
.finale p { color: var(--testo-2); }
.finale .bottone { margin-top: 12px; }

/* ---------- piede ---------- */
.piede { border-top: 1px solid var(--bordo); padding: 56px var(--margine) max(40px, env(safe-area-inset-bottom, 0px)); }
.piede__dentro { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: var(--guscio); margin: 0 auto; text-align: center; }
.piede__logo { color: #fff; }
.piede__logo .logotipo { height: 22px; width: 122px; }
.piede__payoff { font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--testo-3); }
.piede__link { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 8px; font-size: var(--t-s); }
.piede__link a { color: var(--testo-2); text-decoration: none; }
.piede__link a:hover { color: #fff; }
.piede__nota { max-width: 62ch; font-size: 12px; color: var(--testo-3); }

/* ---------- fasce bianche: più contrasto, il sito non è tutto nero ---------- */
.fascia { position: relative; isolation: isolate; margin: clamp(56px, 7vw, 110px) 8px 0; padding-bottom: var(--sezione); border-radius: 40px; overflow: clip; color-scheme: light;
  background: radial-gradient(55% 40% at 12% 0%, rgb(51 234 247 / .16), transparent 70%), radial-gradient(50% 40% at 100% 100%, rgb(22 99 255 / .12), transparent 70%), #F6F8FC;
  color: var(--inchiostro);
  --bianco: var(--inchiostro); --testo-2: #4E5865; --testo-3: #7A8591; --bordo: rgb(11 13 16 / .08); --bordo-forte: rgb(11 13 16 / .14); --superficie: #FFFFFF; --superficie-2: #FFFFFF; }
/* le schede scure dentro il bianco tengono i colori del buio */
.fascia .scheda--notte, .fascia .scheda--software, .fascia .primadopo {
  --bianco: #FFFFFF; --testo-2: #A9B2BE; --testo-3: #7C8692; --bordo: rgb(255 255 255 / .07); --bordo-forte: rgb(255 255 255 / .14); --superficie: #0B0E13; --superficie-2: #11151B; color: #fff; }
.fascia .occhiello { color: var(--accento-chiaro); }
.fascia .scheda__piccolo { color: var(--ciano) !important; }
.fascia .sfuma { background-image: linear-gradient(110deg, #0A8FE0 0%, var(--blu) 55%, #0A2C9E 100%); }
.fascia .scheda { box-shadow: 0 34px 70px -38px rgb(11 13 16 / .55); }
.fascia .confronto__lato--no { background: #fff; box-shadow: 0 24px 60px -36px rgb(11 13 16 / .35); }
.fascia .confronto__lato--no li::before { background-color: rgb(11 13 16 / .06); }
.fascia .valore__frase .p { color: rgb(11 13 16 / .13); }
.fascia .valore__frase .p.accesa { color: var(--inchiostro); }
.fascia .valore__frase .p.accesa.blu { color: var(--blu); }
.fascia .domande details { box-shadow: 0 14px 34px -26px rgb(11 13 16 / .4); }
.fascia .domande details[open] { border-color: rgb(22 99 255 / .32); }
.fascia .domande summary::after { background-color: rgb(22 99 255 / .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231663FF' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.fascia + .sezione.comandi { margin-top: clamp(56px, 7vw, 110px); }

/* ---------- schermi medi ---------- */
@media (max-width: 1180px) {
  .pannello--stile { left: -24px; }
  .pannello--claude { right: -24px; }
}
@media (max-width: 1080px) {
  .confronto { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
  .primadopo { grid-column: 2; grid-row: 1 / span 2; }
  .confronto__lato--no { grid-column: 1; grid-row: 1; }
  .confronto__lato--si { grid-column: 1; grid-row: 2; }
  .pchip--blu { right: -4%; } .pchip--bianco { left: -3%; }
}
@media (max-width: 900px) {
  .nav__link { display: none; }
  .nav__dentro { grid-template-columns: 1fr auto; }
  .nav.sotto { padding-inline: calc(var(--margine) + 14px); }
  .fila.guarda .palco { flex-basis: 100%; }
  .pannello--stile { display: none; }
  .fila__lato { display: none; }
  .palco { flex-basis: 100%; }
  .pannello--claude { right: -16px; }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .scheda--larga { grid-column: span 2; }
  /* il metodo su telefono: schermo e testo del passo restano fermi insieme, scorrendo cambiano entrambi */
  .metodo { display: flex; flex-direction: column; gap: 0; margin-top: 44px; }
  .metodo__palco { order: -1; top: 72px; z-index: 1; height: calc(100svh - 88px); display: flex; flex-direction: column; gap: 16px; }
  .metodo__schermo { flex: none; height: min(52svh, 500px); }
  .metodo__punti { display: flex; justify-content: center; gap: 6px; }
  .metodo__punti i { width: 18px; height: 4px; border-radius: 99px; background: rgb(255 255 255 / .16); transition: width .45s var(--curva), background-color .45s; }
  .metodo__palco[data-vista="1"] .metodo__punti i:nth-child(1), .metodo__palco[data-vista="2"] .metodo__punti i:nth-child(2),
  .metodo__palco[data-vista="3"] .metodo__punti i:nth-child(3), .metodo__palco[data-vista="4"] .metodo__punti i:nth-child(4) { width: 34px; background: var(--ciano); }
  .metodo__didascalia { display: grid; }
  .didascalia__passo { grid-area: 1 / 1; display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; align-content: start; opacity: 0; translate: 0 14px; transition: opacity .45s var(--curva), translate .45s var(--curva); }
  .metodo__palco[data-vista="1"] .didascalia__passo[data-passo="1"], .metodo__palco[data-vista="2"] .didascalia__passo[data-passo="2"],
  .metodo__palco[data-vista="3"] .didascalia__passo[data-passo="3"], .metodo__palco[data-vista="4"] .didascalia__passo[data-passo="4"] { opacity: 1; translate: none; transition-delay: .12s; }
  .didascalia__passo .passo__n { width: 40px; height: 40px; border-radius: 12px; background: var(--blu); box-shadow: 0 10px 26px -8px rgb(22 99 255 / .9); }
  .didascalia__passo h3 { font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem); line-height: 1.1; letter-spacing: -.035em; }
  .didascalia__passo p { color: var(--testo-2); font-size: var(--t-s); max-width: 44ch; }
  /* i passi veri restano per chi legge con lo screen reader e danno la lunghezza allo scorrimento */
  .passo { min-height: 62svh; padding: 0; opacity: 0 !important; pointer-events: none; }
  .chi__dentro, .lista__dentro { grid-template-columns: minmax(0, 1fr); }
  .lista__foto { max-width: 420px; aspect-ratio: 1; }
  .perchi__griglia { grid-template-columns: minmax(0, 1fr); }
  .sezione.comandi { min-height: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .comandi__centro { width: 100%; max-width: none; margin-bottom: 18px; }
  .sezione.comandi { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .bolla, .bolla--dx { position: static; animation: none; align-self: flex-start; margin-left: var(--m, 0%); }
  .bolla--dx { align-self: flex-end; margin-left: 0; margin-right: var(--m, 0%); }
  .bolla:nth-of-type(3n) { --m: 12%; } .bolla:nth-of-type(3n+1) { --m: 4%; }
  .bolla img { width: 58px; height: 58px; }
  .bolla > span { white-space: normal; }
}

/* ---------- telefono ---------- */
@media (max-width: 640px) {
  .nav__dentro { height: 56px; padding-left: 20px; }
  .nav.sotto .nav__dentro { height: 50px; padding-left: 18px; }
  .eroe { --cima: 168px; }
  .fascia { margin-inline: 6px; border-radius: 30px; }
  .palco.guarda .pannello--claude { opacity: 1; translate: none; }
  .eroe__su { font-size: 11px; letter-spacing: .3em; }
  .eroe__titolo .riga { display: inline; }
  .fila { margin-top: 44px; }
  .palco__cornice { border-radius: 18px; }
    .app__anteprima { margin: 10px 10px 0; padding: 14px; }
    .app__comandi i { display: none; }
  .app__titolo { font-size: 11px; }
  .pannello--claude { position: relative; right: auto; top: auto; width: auto; margin: -28px 8px 0; animation: none; }
  .bottone--super { height: 56px; }
  .confronto { grid-template-columns: minmax(0, 1fr); }
  .primadopo { grid-column: auto; grid-row: auto; width: min(100%, 320px); margin: 0 auto; order: -1; }
  .confronto__lato--no, .confronto__lato--si { grid-column: auto; grid-row: auto; }
  .metodo__schermo { height: min(48svh, 440px); border-radius: 24px; }
  .vista { padding: 16px; }
  .terminale { font-size: 12px; }
  .lavoro { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .scheda--larga { grid-column: auto; }
  .scheda { min-height: 0; padding: 24px; border-radius: 26px; }
  .lezioni { columns: 1; }
  .scheda--stile { min-height: 300px; }
  .vetri { transform: scale(.8); transform-origin: 100% 100%; }
  .scheda--arco { grid-template-columns: minmax(0, 1fr); }
  .arco { height: 190px; }
  .arco img { width: 60px; height: 60px; }
  .arco img:nth-child(6) { left: 82%; }
  .scheda--ciano { min-height: 300px; }
  .scheda__carlo { height: 80%; right: -18%; }
  .chi { margin-inline: 6px; border-radius: 30px; padding-top: 64px; }
  .persona { width: 100%; max-width: 380px; }
  .persona__logo { width: 62px; height: 62px; } .persona__logo img { width: 46px; height: 46px; }
  .pchip b { font-size: 14px; }
  .pchip__ic { width: 36px; height: 36px; } .pchip__av { width: 32px; height: 32px; }
  .pchip--bianco { left: -2%; top: 62%; }
  .pchip--blu { right: -2%; top: 44%; padding: 12px 16px; font-size: 14px; }
  .pchip--nero { right: -2%; bottom: 4%; padding-left: 16px; }
  .pila img { width: 30px; height: 30px; }
  .modulo__doppio { grid-template-columns: minmax(0, 1fr); }
  .lista__carta { padding: 24px 18px; border-radius: 26px; }
  .reelcard { width: 168px; }
}

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