/* Spacepills · bozza della landing dimostrativa
   Colori SOLO dalle variabili --sp-*; trasparenze con color-mix(in srgb, …). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette spaziale: nero profondo, luce di stella, azzurro del tramonto marziano */
  --sp-vuoto: #04060b;
  --sp-notte: #0a1120;
  --sp-orbita: #15223c;
  --sp-stella: #eef2f7;
  --sp-cenere: #a7b3c4;
  --sp-ghiaccio: #8fd6ff;
  --sp-sole: #ffcf7a;
  --sp-corona: #ff8a3d;
  --sp-alba: #efe5de;
  --sp-alba-tenue: #4a5468;
  --sp-inchiostro: #0b1424;
  --sp-terra: #10335a;
  --sp-regolite: #8f8b86;
  --sp-venere-chiaro: #f1e6cc;
  --sp-venere-scuro: #b88f58;
  --sp-saturno-chiaro: #e9d8ab;
  --sp-saturno-scuro: #8a7350;
  --sp-spettro-r: #ff3b30;
  --sp-spettro-g: #2bff78;
  --sp-spettro-b: #3a6bff;
  --sp-errore: #ff8f84;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-monumento: 12.6vw;

  --margine: max(16px, min(4vw, 40px), env(safe-area-inset-left, 0px));
  --stacco: clamp(96px, 14vw, 200px);
  --curva: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sp-vuoto);
  color: var(--sp-stella);
  font: 400 var(--step-body)/1.5 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p, ul, ol, dl, figure, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--sp-ghiaccio); outline-offset: 3px; }
::selection { background: var(--sp-ghiaccio); color: var(--sp-vuoto); }
.tabulare { font-variant-numeric: tabular-nums; }
.visivo-nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salta { position: absolute; left: 16px; top: -100px; z-index: 50; padding: 12px 16px; background: var(--sp-stella); color: var(--sp-vuoto); border-radius: 999px; }
.salta:focus { top: 16px; }

/* La capsula: il segno del marchio, mezza luce e mezza ghiaccio */
.capsula {
  display: inline-block; position: relative; overflow: hidden;
  width: 1.5em; height: 0.62em; border-radius: 999px;
  background: var(--sp-ghiaccio); vertical-align: 0.05em;
}
.capsula::after { content: ""; position: absolute; inset: 0 50% 0 0; background: var(--sp-stella); }

/* Cielo 3D: un solo canvas fisso dietro la pagina */
.cielo {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.6s var(--curva);
}
.cielo.pronto { opacity: 1; }
.cielo.cambio { opacity: 0; transition-duration: 0.22s; }
main, .eroe { position: relative; z-index: 1; }

/* Bottoni: capsule piene */
.bottone {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.5rem; border: 0; border-radius: 999px;
  background: var(--sp-ghiaccio); color: var(--sp-vuoto);
  font: 600 var(--step-body)/1 "Archivo", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--curva), background-color 0.2s;
}
.bottone:hover { background: var(--sp-stella); }
.bottone:active { transform: scale(0.97); }
.bottone-piccolo { min-height: 40px; padding: 0 1rem; font-size: var(--step-small); }
.collegamento {
  background: none; border: 0; padding: 12px 0; color: inherit; cursor: pointer;
  font: 500 var(--step-body)/1.2 "Archivo", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 4px;
}
.collegamento:hover { color: var(--sp-ghiaccio); }

.titolo-sezione {
  font-size: var(--step-head); font-weight: 800; font-stretch: 112%;
  line-height: 1; letter-spacing: -0.02em;
}

/* ---------- Testata: il nome come monumento ---------- */
.eroe {
  min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  padding: 20px var(--margine) 0;
}
.barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marchio { font-weight: 700; font-stretch: 112%; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; }
.marchio .capsula { margin: 0; }
.barra-link { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); }
.barra-link a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.barra-link a:hover { color: var(--sp-ghiaccio); }
.barra-azione { padding: 0 1rem; border-radius: 999px; background: var(--sp-stella); color: var(--sp-vuoto); }
.barra-link a.barra-azione:hover { background: var(--sp-ghiaccio); color: var(--sp-vuoto); }

.eroe-centro { align-self: center; display: grid; gap: 28px; justify-items: start; max-width: 30rem; }
.eroe-sommario { font-size: var(--step-lead); line-height: 1.35; }

.eroe-nome { position: relative; margin-inline: calc(var(--margine) * -0.25); overflow: clip; }
.eroe-titolo, .prisma span {
  font-size: var(--step-monumento); font-weight: 800; font-stretch: 125%;
  line-height: 0.86; letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap;
}
.eroe-titolo { padding-bottom: 0.06em; }
.prisma { position: absolute; inset: 0; isolation: isolate; opacity: 0; pointer-events: none; }
.banda { position: absolute; inset: 0; }
.banda.b1 { clip-path: inset(0 0 75% 0); }
.banda.b2 { clip-path: inset(25% 0 50% 0); }
.banda.b3 { clip-path: inset(50% 0 25% 0); }
.banda.b4 { clip-path: inset(75% 0 0 0); }
.prisma span { position: absolute; left: 0; top: 0; mix-blend-mode: screen; will-change: transform; }
.prisma .r { color: var(--sp-spettro-r); }
.prisma .g { color: var(--sp-spettro-g); }
.prisma .b { color: var(--sp-spettro-b); }

/* Presa della capsula 3D: area circolare agganciata alla pillola proiettata */
.presa {
  position: fixed; left: 0; top: 0; z-index: 3; width: 200px; height: 200px; border-radius: 50%;
  cursor: grab; touch-action: pan-y; visibility: hidden; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}
.presa.attiva { visibility: visible; }
.presa.trascina { cursor: grabbing; }
.presa:focus-visible { outline: 3px solid var(--sp-ghiaccio); outline-offset: 4px; }
.presa-aiuto {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 70%);
  white-space: nowrap; font-size: var(--step-small); color: var(--sp-stella);
  padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--sp-orbita) 82%, transparent);
  pointer-events: none; transition: opacity 0.4s;
}
.presa.usata .presa-aiuto { opacity: 0; }

/* ---------- Indice: una pillola per riga ---------- */
.indice { padding: var(--stacco) var(--margine) calc(var(--stacco) * 0.6); }
.indice .titolo-sezione { margin-bottom: 48px; }
.indice-elenco { list-style: none; padding: 0; }
.indice-elenco a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  text-decoration: none; padding-block: 0.04em;
}
.indice-nome {
  font-size: clamp(3rem, 9.2vw, 9.5rem); font-weight: 800; font-stretch: 125%;
  line-height: 0.92; letter-spacing: -0.035em; text-transform: uppercase;
  transition: color 0.25s, transform 0.4s var(--curva);
}
.indice-dato { font-size: var(--step-lead); color: var(--sp-cenere); white-space: nowrap; font-variant-numeric: tabular-nums; }
.indice-elenco a:hover .indice-nome, .indice-elenco a:focus-visible .indice-nome { color: var(--sp-ghiaccio); transform: translateX(0.12em); }

/* ---------- Capitoli: palco fisso, testo su un lato, scena 3D sull'altro ---------- */
.capitolo { position: relative; height: 260vh; }
.palco {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center; padding-inline: var(--margine);
}
.lato-destra .palco { justify-content: flex-end; }
.testo { width: min(34rem, 42vw); display: grid; gap: 18px; position: relative; z-index: 2; }
.testo h2 { font-size: var(--step-head); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -0.02em; }
.pillola {
  display: inline-flex; align-items: center; gap: 0.6em; justify-self: start;
  font-size: var(--step-small); font-weight: 600; color: var(--sp-ghiaccio);
}
.pillola .capsula { margin: 0; }
.cifra {
  font-size: clamp(4rem, 10vw, 9rem); font-weight: 800; font-stretch: 125%;
  line-height: 0.85; letter-spacing: -0.04em; color: var(--sp-ghiaccio);
}
.fonte { font-size: var(--step-small); color: var(--sp-cenere); line-height: 1.45; }
.fonte a { color: inherit; }

.inserto { display: flex; gap: 14px; align-items: flex-end; }
.inserto img { width: 12rem; flex: none; }
.inserto figcaption { font-size: var(--step-small); color: var(--sp-cenere); max-width: 14rem; }
#saturno .inserto img { width: 18rem; }
#venere h2 { font-size: clamp(1.75rem, 1.1rem + 2.1vw, 3rem); }
#venere .inserto img { width: 9rem; }
#orbita .inserto img { width: 16rem; }

/* Pillola 01: orologio dal vivo */
.dal-vivo { display: grid; gap: 12px; padding: 16px 18px; border-radius: 20px; background: color-mix(in srgb, var(--sp-orbita) 78%, transparent); }
.dal-vivo time { font-weight: 700; color: var(--sp-sole); font-variant-numeric: tabular-nums; }
.viaggio { position: relative; height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--sp-stella) 14%, transparent); overflow: hidden; }
.viaggio-fotone { position: absolute; inset: 0; border-radius: 999px; background: var(--sp-sole); transform-origin: left center; transform: scaleX(0); }

/* Pillola 02: contatore dei giorni */
.contatore { display: grid; gap: 12px; padding: 16px 18px; border-radius: 20px; background: color-mix(in srgb, var(--sp-orbita) 78%, transparent); }
.cifra-piccola { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--sp-ghiaccio); }
.contatore-righe { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; font-size: var(--step-small); }
.tacca { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--sp-stella) 14%, transparent); overflow: hidden; }
.tacca span { display: block; height: 100%; border-radius: 999px; background: var(--sp-ghiaccio); transform-origin: left center; transform: scaleX(0); }
#venere-giro { background: var(--sp-venere-chiaro); }
.contatore-esito { font-size: var(--step-small); color: var(--sp-cenere); opacity: 0.35; transition: opacity 0.3s; }
.contatore-esito.acceso { opacity: 1; color: var(--sp-stella); }

/* Pillola 03: foto reale a tutta altezza */
.capitolo-foto .foto-piena { position: absolute; top: 0; right: 0; bottom: 0; width: 58vw; overflow: hidden; }
.capitolo-foto .foto-piena img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; transform: scale(1.12); transform-origin: 30% 60%; }

/* Pillola 05: campo chiaro */
.capitolo-chiaro { color: var(--sp-inchiostro); }
.capitolo-chiaro .pillola, .capitolo-chiaro .cifra { color: var(--sp-terra); }
.capitolo-chiaro .pillola .capsula { background: var(--sp-terra); }
.capitolo-chiaro .pillola .capsula::after { background: var(--sp-inchiostro); }
.capitolo-chiaro .fonte, .capitolo-chiaro figcaption { color: var(--sp-alba-tenue); }
.albe { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(16, 1fr); gap: 6px; max-width: 26rem; }
.albe li { height: 26px; border-radius: 999px; background: color-mix(in srgb, var(--sp-inchiostro) 14%, transparent); position: relative; overflow: hidden; }
.albe li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sp-corona); opacity: 0; transition: opacity 0.35s; }
.albe li.accesa::after { opacity: 1; }

/* ---------- Fonti ---------- */
.fonti { padding: var(--stacco) var(--margine); }
.fonti-corpo { max-width: 60rem; margin-left: clamp(0px, 8vw, 140px); }
.fonti .titolo-sezione { margin-bottom: 56px; margin-left: calc(132px + 24px); }
.fonti-righe { display: grid; gap: 28px; }
.fonti-righe div { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: baseline; }
.fonti-righe dt { text-align: right; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; font-stretch: 112%; }
.fonti-righe dd { margin: 0; max-width: 46ch; }
.fonti-righe dd a { color: var(--sp-ghiaccio); overflow-wrap: anywhere; }
@media (min-width: 900px) { .fonti-righe dd a { white-space: nowrap; overflow-wrap: normal; } }

/* ---------- Missione: il gioco ---------- */
.missione { padding: var(--stacco) var(--margine); }
.missione-testa { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 40px; }
.missione-sommario { font-size: var(--step-lead); line-height: 1.35; max-width: 32rem; }
.plancia {
  position: relative; aspect-ratio: 16 / 9; max-height: 86svh; width: 100%;
  border-radius: 28px; overflow: hidden; background: var(--sp-notte);
  outline: none;
}
.plancia:focus-visible { outline: 3px solid var(--sp-ghiaccio); outline-offset: 4px; }
.plancia-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plancia.in-gioco .plancia-3d { touch-action: none; cursor: none; }
.schermo {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 20px;
  padding: 24px; text-align: center; background: color-mix(in srgb, var(--sp-vuoto) 72%, transparent);
  overflow-y: auto;
}
.schermo[hidden], .hud[hidden], .sblocco[hidden] { display: none; }
.schermo-titolo { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; }
.istruzioni { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 36rem; text-align: left; }
.istruzioni li { padding-left: 2.1em; position: relative; }
.istruzioni li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 1.4em; height: 0.56em; border-radius: 999px; background: var(--sp-ghiaccio); }
.record { font-size: var(--step-small); color: var(--sp-cenere); min-height: 1.4em; }

.hud {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 14px 16px;
  pointer-events: none;
}
.hud-voce { font-size: var(--step-body); font-weight: 600; }
.hud-etichetta { font-size: var(--step-small); font-weight: 400; color: var(--sp-cenere); margin-right: 4px; }
.hud-scudi { display: inline-flex; gap: 6px; }
.hud-scudi span { width: 26px; height: 12px; border-radius: 999px; background: var(--sp-ghiaccio); transition: opacity 0.3s, transform 0.3s var(--curva); }
.hud-scudi span.perso { opacity: 0.2; transform: scale(0.8); }
.hud-esci { margin-left: auto; pointer-events: auto; }

.sblocco {
  position: absolute; z-index: 2; left: 16px; bottom: 16px; max-width: min(26rem, calc(100% - 32px));
  padding: 14px 18px; border-radius: 20px; background: color-mix(in srgb, var(--sp-orbita) 92%, transparent);
  display: grid; gap: 4px; pointer-events: none;
}
.sblocco-titolo { font-weight: 700; color: var(--sp-ghiaccio); }
.sblocco-fonte { font-size: var(--step-small); color: var(--sp-cenere); }

.fine-grado { font-size: var(--step-lead); }
.fine-grado strong { color: var(--sp-ghiaccio); }
.fine-numeri { display: flex; gap: 32px; }
.fine-numeri dt { font-size: var(--step-small); color: var(--sp-cenere); }
.fine-numeri dd { margin: 0; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.medaglie { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.medaglie li { padding: 6px 14px; border-radius: 999px; background: var(--sp-stella); color: var(--sp-vuoto); font-size: var(--step-small); font-weight: 600; }
.fine-curiosita { max-width: 40rem; text-align: left; display: grid; gap: 6px; font-size: var(--step-small); padding-left: 1.4em; }
.fine-azioni { display: flex; gap: 20px; align-items: center; }

.senza-gioco { margin-top: 28px; max-width: 46rem; }
.senza-gioco summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.senza-gioco summary:hover { color: var(--sp-ghiaccio); }
.senza-gioco ol { display: grid; gap: 10px; padding-left: 1.4em; margin-top: 12px; }

/* ---------- Nastro: il nome che scorre ---------- */
.nastro { position: relative; z-index: 1; overflow: hidden; padding-block: 48px; background: var(--sp-ghiaccio); color: var(--sp-vuoto); }
.nastro-scorre { display: flex; align-items: center; gap: 0.5em; width: max-content; animation: scorri 38s linear infinite; }
.nastro:hover .nastro-scorre { animation-play-state: paused; }
.nastro span { font-size: clamp(3rem, 8vw, 7.5rem); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; }
.nastro .capsula { width: 1.2em; height: 0.5em; font-size: clamp(3rem, 8vw, 7.5rem); background: var(--sp-vuoto); }
.nastro .capsula::after { background: var(--sp-stella); }
@keyframes scorri { to { transform: translateX(-50%); } }

/* ---------- Contatti ---------- */
.contatti { padding: var(--stacco) var(--margine); display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.contatti-testa { display: grid; gap: 24px; position: sticky; top: 40px; }
.contatti-titolo { font-size: clamp(2.5rem, 1.5rem + 4.5vw, 5.5rem); }
.contatti-sommario { font-size: var(--step-lead); line-height: 1.35; }
.sito-demo { padding-left: 14px; border-left: 3px solid var(--sp-ghiaccio); color: var(--sp-cenere); }
.contatti-box { padding: clamp(20px, 3vw, 40px); border-radius: 28px; background: var(--sp-notte); }
.modulo { display: grid; gap: 20px; }
.modulo-nota { color: var(--sp-cenere); }
.campi-doppi { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 600; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--sp-stella) 22%, transparent);
  background: var(--sp-vuoto); color: var(--sp-stella); font: inherit; font-size: 16px;
}
.campo textarea { resize: vertical; }
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible { border-color: var(--sp-ghiaccio); }
.campo [aria-invalid="true"] { border-color: var(--sp-errore); }
.campo-aiuto { font-size: var(--step-small); color: var(--sp-cenere); }
.campo-errore { font-size: var(--step-small); color: var(--sp-errore); min-height: 0; }
.campo-errore:empty { display: none; }
.consenso { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; }
.consenso input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--sp-ghiaccio); }
.consenso .campo-errore { grid-column: 2; }
.modulo .bottone { justify-self: start; }
.modulo-esito { min-height: 1.5em; color: var(--sp-ghiaccio); }
.modulo-esito[data-esito="errore"] { color: var(--sp-errore); }
.trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bottone[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Piede: colori invertiti, il nome torna a tutta larghezza ---------- */
.piede {
  position: relative; z-index: 1; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: 40px var(--margine) 20px; background: var(--sp-stella); color: var(--sp-vuoto); overflow-x: clip;
}
.piede-colonne { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; font-size: var(--step-small); line-height: 1.5; }
.piede-colonne ul { list-style: none; padding: 0; display: grid; gap: 4px; font-size: var(--step-body); }
.piede-colonne a { text-decoration-thickness: 1px; }
.piede-marchio {
  grid-row: 3; align-self: end; margin-inline: calc(var(--margine) * -0.25);
  font-size: var(--step-monumento); font-weight: 800; font-stretch: 125%;
  line-height: 0.86; letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap;
}
.piede-firma { grid-row: 4; margin-top: 16px; font-size: var(--step-small); }

/* ---------- Telefono ---------- */
@media (max-width: 899px) {
  .barra-link a:not(.barra-azione) { display: none; }
  .eroe-centro { align-self: end; padding-bottom: 32px; }
  .indice-elenco a { flex-direction: column; align-items: flex-start; gap: 4px; padding-block: 0 20px; }
  .indice-nome { font-size: 13vw; }
  .indice-dato { font-size: var(--step-body); }

  .palco { align-items: flex-end; padding-bottom: 16px; }
  .lato-destra .palco { justify-content: flex-start; }
  .testo {
    width: 100%; gap: 12px; padding: 18px; border-radius: 24px;
    background: color-mix(in srgb, var(--sp-vuoto) 80%, transparent);
  }
  .capitolo-chiaro .testo { background: color-mix(in srgb, var(--sp-alba) 86%, transparent); }
  .testo h2 { font-size: clamp(1.75rem, 7.4vw, 2.5rem); }
  .cifra { font-size: 16vw; }
  .inserto img, #saturno .inserto img, #orbita .inserto img { width: 32%; }
  .contatore, .dal-vivo { padding: 12px 14px; }
  .albe li { height: 18px; }
  .capitolo-foto .foto-piena { left: 0; width: 100%; bottom: auto; height: 56svh; }
  #venere .inserto { display: none; } /* su telefono il pannello lascerebbe poco spazio all'orbita */

  .fonti-corpo { margin-left: 0; }
  .fonti .titolo-sezione { margin-left: 0; }
  .fonti-righe div { grid-template-columns: 88px 1fr; gap: 16px; }
  .fonti-righe dt { font-size: 1.25rem; }

  .missione-testa { grid-template-columns: 1fr; }
  .plancia { aspect-ratio: auto; height: min(calc(100svh - 24px), 720px); max-height: none; border-radius: 22px; }
  .schermo { gap: 14px; padding: 18px; }
  .istruzioni { gap: 6px; font-size: var(--step-small); }
  .hud { gap: 6px 14px; padding: 10px 12px; }
  .hud-voce { font-size: var(--step-small); }

  .contatti { grid-template-columns: 1fr; }
  .contatti-testa { position: static; }
  .campi-doppi { grid-template-columns: 1fr; }

  .piede-colonne { grid-template-columns: 1fr 1fr; }
  .piede-colonne ul { grid-column: 1 / -1; }
}

/* Movimento ridotto: niente palchi lunghi, niente nastro in moto */
@media (prefers-reduced-motion: reduce) {
  .capitolo { height: auto; }
  .palco { position: relative; min-height: 100svh; height: auto; padding-block: 64px; }
  .nastro-scorre { animation: none; }
  .capitolo-foto .foto-piena img { transform: none; }
  .cielo { transition: none; }
}

/* Senza 3D (WebGL assente): il testo resta, i palchi si accorciano */
.senza-3d .capitolo { height: auto; }
.senza-3d .palco { position: relative; min-height: 100svh; height: auto; padding-block: 64px; }

/* ---------- Informativa privacy ---------- */
.informativa { max-width: 44rem; margin-inline: auto; padding: 48px var(--margine) 80px; }
.informativa h1 { font-size: var(--step-head); font-weight: 800; font-stretch: 112%; line-height: 1; margin: 24px 0; }
.informativa h2 { font-size: var(--step-lead); font-weight: 700; margin: 36px 0 8px; color: var(--sp-ghiaccio); }
.informativa p { margin-bottom: 14px; }
.informativa a { color: var(--sp-ghiaccio); }
.torna { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
