/* Stili del sito di Nexus: un file solo per tutte le pagine (italiano, inglese, privacy, 404). */
/* font ospitati sul sito: niente richieste a Google, solo caratteri latini (italiano incluso) */
@font-face { font-family: "Bricolage Grotesque"; src: url(/font/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/font/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/font/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/font/instrument-serif-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  --notte: #07070a; --pannello: #0d0d11; --linea: #1d1c23; --testo: #ece9e3; --tenue: #8e8b95; --tasto: #f1ede4;
  --tasto-testo: #0b0b0e; --iri-a: #ff5f86; --iri-b: #ffb46a; --iri-c: #6fd3ff; --vetro: rgba(13, 13, 17, 0.72);
  --arancio-testo: #ffb46a;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --accento-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --corpo: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", "Cascadia Mono", ui-monospace, monospace;
  --morbido: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --notte: #f3f2ee; --pannello: #fbfaf7; --linea: #dfddd6; --testo: #121116; --tenue: #65636b; --tasto: #121116;
    --tasto-testo: #f6f4ef; --iri-a: #e0315f; --iri-b: #d77b16; --iri-c: #0a86b8; --vetro: rgba(243, 242, 238, 0.78);
    --arancio-testo: #9e5508;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --notte: #f3f2ee; --pannello: #fbfaf7; --linea: #dfddd6; --testo: #121116; --tenue: #65636b; --tasto: #121116;
  --tasto-testo: #f6f4ef; --iri-a: #e0315f; --iri-b: #d77b16; --iri-c: #0a86b8; --vetro: rgba(243, 242, 238, 0.78);
  --arancio-testo: #9e5508;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --notte: #07070a; --pannello: #0d0d11; --linea: #1d1c23; --testo: #ece9e3; --tenue: #8e8b95; --tasto: #f1ede4;
  --tasto-testo: #0b0b0e; --iri-a: #ff5f86; --iri-b: #ffb46a; --iri-c: #6fd3ff; --vetro: rgba(13, 13, 17, 0.72);
  --arancio-testo: #ffb46a;
  color-scheme: dark;
}

@property --notte { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --pannello { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --linea { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --testo { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --tenue { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --tasto { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --tasto-testo { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --iri-a { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --iri-b { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --iri-c { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --vetro { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --arancio-testo { syntax: "<color>"; inherits: true; initial-value: #000; }
:root.sfuma { transition: --notte 0.6s ease, --pannello 0.6s ease, --linea 0.6s ease, --testo 0.6s ease, --tenue 0.6s ease, --tasto 0.6s ease, --tasto-testo 0.6s ease, --iri-a 0.6s ease, --iri-b 0.6s ease, --iri-c 0.6s ease, --vetro 0.6s ease, --arancio-testo 0.6s ease; }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 76px); }
* { box-sizing: border-box; }
body { background: var(--notte); color: var(--testo); font-family: var(--corpo); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--vetro); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--iri-c); outline-offset: 3px; border-radius: 4px; }
.gabbia { max-width: 1180px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.etichetta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tenue); }
.serif { font-family: var(--accento-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }

/* ---------- testata ---------- */
.testata { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--vetro);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--linea);
  transition: box-shadow 0.4s ease; }
.testata.scesa { box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.6); }
.testata .gabbia { display: flex; align-items: center; gap: 22px; height: 60px; }
.marchio { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; }
.marchio img { width: 28px; height: 28px; border-radius: 8px; }
.voci { display: flex; gap: 20px; margin-left: auto; }
.voci a { position: relative; padding-block: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tenue); text-decoration: none; transition: color 0.25s ease; white-space: nowrap; }
.voci a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform: scaleX(0); transform-origin: right;
  background: linear-gradient(90deg, var(--iri-a), var(--iri-b), var(--iri-c)); transition: transform 0.45s var(--morbido); }
.voci a:hover, .voci a.attiva { color: var(--testo); }
.voci a:hover::after, .voci a.attiva::after { transform: scaleX(1); transform-origin: left; }
.tema { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--linea); border-radius: 50%;
  background: none; color: var(--testo); cursor: pointer; transition: border-color 0.25s ease, transform 0.3s var(--morbido); }
.tema:hover { border-color: var(--tenue); transform: rotate(18deg); }
.tema:active { transform: scale(0.9); }
.tema svg { grid-area: 1 / 1; transition: rotate 0.7s var(--morbido), scale 0.7s var(--morbido), opacity 0.35s ease; }
.tema .luna { rotate: -90deg; scale: 0.4; opacity: 0; }
:root[data-theme="light"] .tema .sole { rotate: 90deg; scale: 0.4; opacity: 0; }
:root[data-theme="light"] .tema .luna { rotate: 0deg; scale: 1; opacity: 1; }
.bottone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 15px 22px; border: 1px solid var(--tasto);
  transition: transform 0.3s var(--morbido), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s ease; cursor: pointer; }
.bottone.pieno { background: var(--tasto); color: var(--tasto-testo); }
.bottone:hover { transform: translateY(-2px); }
.bottone:active { transform: translateY(0) scale(0.97); }
.bottone.pieno:hover { box-shadow: 0 10px 30px -12px var(--iri-b); }
.bottone.piccolo { padding: 9px 14px; font-size: 11.5px; }

/* ---------- modulo lista d'attesa ---------- */
.waitlist-form { display: flex; gap: 10px; width: 100%; max-width: 460px; margin-top: 10px; }
.campo-email { flex: 1; background: var(--pannello); border: 1px solid var(--linea); padding: 14px 18px; font-family: var(--corpo);
  font-size: 15px; color: var(--testo); border-radius: 0; transition: border-color 0.25s ease; }
.campo-email:focus { outline: none; border-color: var(--iri-c); }
.campo-email::placeholder { color: var(--tenue); }
.consenso { font-size: 12.5px; color: var(--tenue); margin: 10px 0 0; max-width: 460px; line-height: 1.5; }
#form-sezione ~ .consenso { max-width: 100%; }
.esito-waitlist { font-family: var(--mono); font-size: 13px; color: var(--arancio-testo); margin-top: 6px; display: none; }


/* ---------- stato iscritto + contatore ---------- */
.bottone.iscritto { background: linear-gradient(90deg, var(--iri-a), var(--iri-b), var(--iri-c)); background-size: 200% 100%; color: #0b0b0e;
  cursor: default; pointer-events: none; animation: lucePulsa 2.4s ease-in-out infinite, scorriGradiente 6s linear infinite; }
@keyframes lucePulsa { 0%, 100% { box-shadow: 0 0 14px -2px var(--iri-b), 0 0 28px -8px var(--iri-c); } 50% { box-shadow: 0 0 26px 2px var(--iri-b), 0 0 52px -2px var(--iri-c); } }
@keyframes scorriGradiente { to { background-position: 200% 0; } }
.campo-email:disabled { opacity: 0.75; cursor: default; border-color: var(--iri-b); }
.esito-waitlist.visibile { display: block; animation: sali 0.6s var(--morbido) both; }
.contatore { text-align: center; padding-block: 96px 104px; display: none; }
.contatore.pronto { display: block; }
.contatore .numero-grande { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 16vw, 200px); line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--iri-a), var(--iri-b), var(--iri-c)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--iri-b), transparent 65%)); margin-block: 14px 10px; font-variant-numeric: tabular-nums; }
.contatore p { color: var(--tenue); font-size: 18px; max-width: 30em; margin-inline: auto; }

/* ---------- apertura ---------- */
.apertura { position: relative; border-bottom: 1px solid var(--linea); overflow: hidden; }
#disco { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.apertura .gabbia { position: relative; display: grid; gap: 26px; justify-items: center; text-align: center; padding-block: 120px 72px; }
.apertura h1 { font-size: clamp(46px, 8.4vw, 112px); line-height: 0.95; font-weight: 800; letter-spacing: -0.035em; }
.apertura h1 .serif { font-size: 1.05em; display: block; }
.parola { display: inline-block; animation: sali 1s var(--morbido) both; }
@keyframes sali { from { transform: translateY(18px); } }
.apertura .sotto { max-width: 34em; color: var(--tenue); font-size: 18px; }
.azioni { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.garanzie { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--tenue); text-transform: uppercase;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }

/* ---------- vetrina ---------- */
.vetrina { border-bottom: 1px solid var(--linea); padding-block: 64px; }
.cornice { position: relative; max-width: 1000px; margin-inline: auto; }
.cornice img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--linea); }
/* linea continua intorno all'immagine: i tre colori ci scorrono dentro piano, con un alone morbido */
@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cornice::before, .cornice::after { content: ""; position: absolute; inset: -4px; border-radius: 18px; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--giro), var(--iri-a), var(--iri-b), var(--iri-c), var(--iri-a));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: giraLuce 9s linear infinite; }
.cornice::after { inset: -6px; border-radius: 20px; padding: 4px; filter: blur(10px); opacity: 0.45; }
@keyframes giraLuce { to { --giro: 360deg; } }
.didascalia { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; max-width: 1000px; margin: 14px auto 0; }

/* ---------- griglia di celle ---------- */
.sezione { border-bottom: 1px solid var(--linea); }
.testa-sezione { display: grid; gap: 14px; padding-block: 72px 40px; }
.testa-sezione h2 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.testa-sezione p { max-width: 38em; color: var(--tenue); font-size: 17px; }
.celle { display: grid; grid-template-columns: repeat(var(--colonne, 2), minmax(0, 1fr)); border-top: 1px solid var(--linea);
  border-left: 1px solid var(--linea); margin-bottom: 72px; }
.cella { position: relative; min-width: 0; border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
  padding: 28px; display: grid; gap: 14px; align-content: start; background: var(--pannello);
  transition: translate 0.9s var(--morbido) var(--ritardo, 0ms), background-color 0.4s ease; }
.cella:hover { background: color-mix(in srgb, var(--pannello), var(--iri-c) 5%); }
.cella::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(320px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--iri-c) 10%, transparent), transparent 70%); }
.cella:hover::after { opacity: 1; }
.cella.larga { grid-column: span 2; }
.cella h3 { font-size: 26px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.cella p { color: var(--tenue); }
.cella img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--linea); display: block; }
.testa-cella { display: flex; justify-content: space-between; gap: 10px; }
.elenco { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.elenco li { font-family: var(--mono); font-size: 12.5px; padding: 6px 10px; border: 1px solid var(--linea); border-radius: 99px;
  transition: transform 0.3s var(--morbido), border-color 0.25s ease, color 0.25s ease; }
.elenco li:hover { transform: translateY(-2px); border-color: var(--iri-c); color: var(--testo); }
.elenco li.altro { color: var(--tenue); border-style: dashed; }
.punto { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--iri-c); box-shadow: 0 0 12px var(--iri-c); }

.orbita-grande { width: 100%; max-width: 220px; aspect-ratio: 1; margin: 6px auto; }
.orbita-grande circle { fill: none; }

/* ---------- striscia dei modelli ---------- */
.striscia { overflow: hidden; border-bottom: 1px solid var(--linea); padding-block: 22px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.nastro { display: flex; gap: 46px; width: max-content; animation: scorri 46s linear infinite; font-family: var(--display);
  font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--tenue); white-space: nowrap; }
.nastro span:nth-child(3n) { font-family: var(--accento-serif); font-style: italic; font-weight: 400; color: var(--testo); }
@keyframes scorri { to { transform: translateX(-50%); } }

/* ---------- passi ---------- */
.passo .numero { font-family: var(--mono); font-size: 13px; color: var(--arancio-testo); }

/* ---------- sezione iscrizione ---------- */
.iscrizione { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-top: 1px solid var(--linea); border-left: 1px solid var(--linea); margin-bottom: 72px; }
.iscrizione > div { border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); padding: 42px; background: var(--pannello); min-width: 0; }
.incluso { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.incluso li { display: flex; gap: 12px; align-items: baseline; }
.incluso li::before { content: "+"; font-family: var(--mono); color: var(--iri-b); }

/* ---------- domande ---------- */
.domande { border-top: 1px solid var(--linea); margin-bottom: 72px; }
details { border-bottom: 1px solid var(--linea); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 22px 4px;
  font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary { transition: padding-left 0.35s var(--morbido); }
summary:hover { padding-left: 12px; }
summary::after { content: "+"; font-family: var(--mono); color: var(--tenue); transition: rotate 0.35s var(--morbido), color 0.25s ease; }
summary:hover::after { color: var(--testo); }
details[open]:not([data-chiudendo]) summary::after { rotate: 45deg; }
details p { color: var(--tenue); padding: 0 4px 24px; max-width: 46em; }

/* ---------- video ---------- */
.schermo { margin: 0 0 72px; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--linea); background: #050507;
  box-shadow: 0 40px 90px -50px color-mix(in srgb, var(--iri-b), transparent 40%); }
.schermo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #050507; }

/* ---------- confronto ---------- */
.tabella-scorre { overflow-x: auto; margin-bottom: 72px; border: 1px solid var(--linea); background: var(--pannello); }
.confronto { width: 100%; border-collapse: collapse; min-width: 560px; }
.confronto th, .confronto td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--linea); vertical-align: top; }
.confronto tbody tr:last-child > * { border-bottom: 0; }
.confronto thead th { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tenue); font-weight: 500; }
.confronto tbody th { font-weight: 500; width: 34%; }
.confronto td { color: var(--tenue); font-size: 15px; }
.confronto .nostro { background: color-mix(in srgb, var(--pannello), var(--iri-b) 7%); color: var(--testo); }
.confronto thead .nostro { color: var(--testo); font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; text-transform: none; font-weight: 700; }
.si::before, .no::before, .forse::before { display: inline-block; width: 1.3em; font-family: var(--mono); }
.si::before { content: "✓"; color: var(--iri-c); }
.no::before { content: "–"; }
.forse::before { content: "~"; color: var(--iri-b); }
@media (max-width: 640px) {
  .tabella-scorre { overflow: visible; border: 0; background: none; }
  .confronto { min-width: 0; }
  .confronto thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .confronto tbody, .confronto th, .confronto td { display: block; }
  .confronto tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--linea); background: var(--pannello); margin-bottom: 10px; }
  .confronto tbody th { grid-column: 1 / -1; width: auto; border-bottom: 1px solid var(--linea) !important; padding: 14px 14px 12px; }
  .confronto td { border-bottom: 0; padding: 12px 14px; font-size: 14px; }
  .confronto td::before { content: attr(data-col); display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--tenue); margin-bottom: 4px; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- tabella di marcia ---------- */
.marcia { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; }
.marcia li { position: relative; padding: 0 0 26px 30px; display: grid; gap: 4px; }
.marcia li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--tenue); background: var(--pannello); z-index: 1; }
.marcia li::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1px; background: var(--linea); }
.marcia li:last-child { padding-bottom: 0; }
.marcia li:last-child::after { display: none; }
.marcia li.ora::before { border-color: var(--iri-b); background: var(--iri-b); box-shadow: 0 0 12px var(--iri-b); }
.marcia .quando { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tenue); }
.marcia li.ora .quando { color: var(--arancio-testo); }
.marcia strong { font-family: var(--display); font-size: 20px; letter-spacing: -0.01em; }
.marcia p { color: var(--tenue); font-size: 15px; }
.consenso a { color: var(--testo); text-underline-offset: 3px; }

/* ---------- piè di pagina ---------- */
.piede .gabbia { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; padding-block: 48px 40px; align-items: start; }
.piede-marchio p { color: var(--tenue); font-size: 14.5px; margin-top: 10px; max-width: 28em; }
.piede-voci { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.piede-voci a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tenue); text-decoration: none; transition: color 0.25s ease; }
.piede-voci a:hover { color: var(--testo); }
.contatto { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.contatto .indirizzo { font-family: var(--mono); font-size: 14px; user-select: all; overflow-wrap: anywhere; }
.copia { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px; cursor: pointer;
  background: none; color: var(--testo); border: 1px solid var(--linea); transition: border-color 0.25s ease; }
.copia:hover { border-color: var(--tenue); }
.piede-fondo { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--linea); }

.entra:not(.cella) { transition: translate 0.9s var(--morbido) var(--ritardo, 0ms); }
.pronto .entra { translate: 0 26px; }
.pronto .entra.vista { translate: 0 0; }

@media (max-width: 1060px) {
  .voci { display: none; }
  .testata .tema { margin-left: auto; }
}
@media (max-width: 860px) {
  .celle { --colonne: 1 !important; }
  .cella.larga { grid-column: auto; }
  .apertura .gabbia { padding-block: 84px 56px; }
  .cella { padding: 22px; }
  .iscrizione > div { padding: 26px; }
  .waitlist-form { flex-direction: column; }
  .iscrizione { grid-template-columns: minmax(0, 1fr); }
  .piede .gabbia { grid-template-columns: minmax(0, 1fr); }
  .confronto th, .confronto td { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pronto .entra { translate: none; }
  html { scroll-behavior: auto; }
}

/* ---------- lingua ---------- */
.lingua { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tenue); text-decoration: none;
  padding: 6px 8px; border: 1px solid var(--linea); border-radius: 99px; transition: color 0.25s ease, border-color 0.25s ease; }
.lingua:hover { color: var(--testo); border-color: var(--tenue); }

/* ---------- pagine di testo (privacy) ---------- */
.testo-lungo { max-width: 760px; margin-inline: auto; padding-top: 36px; padding-bottom: 40px; }
.testo-lungo h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1; font-weight: 800; margin: 72px 0 16px; letter-spacing: -0.035em; }
.testo-lungo h2 { font-size: 24px; line-height: 1.2; margin: 44px 0 10px; letter-spacing: -0.02em; }
.testo-lungo p, .testo-lungo li { color: var(--tenue); font-size: 16.5px; line-height: 1.7; }
.testo-lungo p + p { margin-top: 12px; }
.testo-lungo strong { color: var(--testo); font-weight: 600; }
.testo-lungo ul { padding-left: 20px; }
.testo-lungo li { margin-bottom: 6px; }
.testo-lungo a { text-underline-offset: 3px; }
.riassunto { margin: 32px 0 8px; padding: 24px 26px; border: 1px solid var(--linea); background: var(--pannello); }
.riassunto p { margin: 0 0 6px; }

/* ---------- pagina 404 ---------- */
.vuoto { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 18px; padding-block: 80px; }
.vuoto h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.vuoto p { color: var(--tenue); }
.anello { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 8px; border: 2.5px solid transparent;
  background: linear-gradient(var(--notte), var(--notte)) padding-box, linear-gradient(135deg, var(--iri-a), var(--iri-b), var(--iri-c)) border-box;
  box-shadow: 0 0 34px -4px var(--iri-b); }
