/* Pagine di servizio (informative, condizioni, grazie): stessi token della landing, niente movimento. */
@font-face {
  font-family: 'Montserrat';
  src: url('../font/montserrat-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --nero: #08090A;
  --riga: #1F2126;
  --riga-2: #2A2D33;
  --testo: #F7F8F8;
  --sec: #A3A9B3;
  --cromo: #C9A9E9;
  --cromo-chiaro: #DFC9F0;
  --cromo-scritta: linear-gradient(115deg, #8B6FB8 0%, #C9A9E9 25%, #F5E6FF 45%, #E8B7D4 55%, #C9A9E9 75%, #8B6FB8 100%);
  --g: 20px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --g: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--nero); }
body { margin: 0; background: var(--nero); color: var(--testo); font: 400 16.5px/1.65 'Montserrat', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--cromo); color: var(--nero); }
:focus-visible { outline: 2px solid var(--cromo); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
img { display: block; }

.salta-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cromo); color: var(--nero); padding: 12px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.salta-link:focus { top: 12px; }

.lg-testa { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; padding: 0 var(--g); border-bottom: 1px solid var(--riga); }
.lg-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.lg-logo img:first-child { width: 30px; height: auto; }
.lg-logo img:last-child { width: 76px; height: auto; }
.lg-torna { display: inline-flex; align-items: center; min-height: 44px; color: var(--testo); font-size: 15px; font-weight: 600; text-underline-offset: 3px; }

.lg { max-width: 44em; margin: 0 auto; padding: 40px var(--g) 72px; }
.lg h1 { margin: 0; font-size: clamp(32px, 8.4vw, 52px); line-height: 1.08; font-weight: 780; letter-spacing: -0.03em; text-wrap: balance; }
.lg__data { margin: 12px 0 0; font-size: 14.5px; color: var(--sec); }
.lg__intro { margin: 20px 0 0; font-size: 18px; color: #D0D4DA; }
/* the short version on top: four lines, then the full notice */
.lg__breve { margin-top: 28px; padding: 18px 20px; border-left: 3px solid #C9A9E9; background: rgba(201, 169, 233, 0.07); border-radius: 0 6px 6px 0; }
.lg__breve b { display: block; font-size: 15px; letter-spacing: 0.01em; color: #F5E6FF; }
.lg__breve ul { margin: 10px 0 0; padding-left: 18px; }
.lg__breve li { margin-top: 6px; }
.lg h2 { margin: 40px 0 8px; font-size: 21px; line-height: 1.25; font-weight: 720; letter-spacing: -0.016em; }
.lg h3 { margin: 22px 0 4px; font-size: 16.5px; font-weight: 680; }
.lg p { margin: 8px 0 0; color: #C6CBD2; }
.lg ul { margin: 8px 0 0; padding-left: 20px; color: #C6CBD2; }
.lg li + li { margin-top: 6px; }
.lg a { color: var(--testo); text-underline-offset: 3px; overflow-wrap: anywhere; }
.lg strong { color: var(--testo); font-weight: 650; }

.tab { margin-top: 12px; overflow-wrap: anywhere; }
.tab__riga { padding: 14px 0; border-top: 1px solid var(--riga-2); }
.tab__riga:last-child { border-bottom: 1px solid var(--riga-2); }
.tab__riga b { display: block; font-weight: 650; color: var(--testo); }
.tab__riga p { margin-top: 2px; font-size: 15.5px; }

.lg-piede { padding: 28px var(--g) calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--riga); font-size: 14.5px; color: var(--sec); }
.lg-piede p { margin: 2px 0 0; }
.lg-piede a, .lg-piede button { display: inline-flex; align-items: center; min-height: 44px; color: var(--testo); text-underline-offset: 3px; }
.lg-piede button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-decoration: underline; }

/* ── Grazie ── */
.gr { max-width: 34em; margin: 0 auto; padding: 56px var(--g) 72px; }
.gr h1 { margin: 0; font-size: clamp(38px, 10vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -0.032em; }
.gr h1 span { color: var(--cromo); background: var(--cromo-scritta); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gr__sotto { margin: 14px 0 0; font-size: 18.5px; color: #D0D4DA; }
.gr__blocco { margin-top: 28px; padding: 20px; border-radius: 6px; background: #111316; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.gr__blocco h2 { margin: 0; font-size: 19.5px; line-height: 1.3; font-weight: 700; letter-spacing: -0.014em; }
.gr__blocco p { margin: 8px 0 0; font-size: 15.5px; color: #C6CBD2; }
.gr__blocco a { color: var(--testo); text-underline-offset: 3px; }
.gr__tasti { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.gr__tasto { min-height: 50px; padding: 0 10px; border: 0; border-radius: 999px; background: #2A2D33; color: var(--testo); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); font: 650 15px/1.2 'Montserrat', system-ui, sans-serif; cursor: pointer; }
.gr__tasto:disabled { opacity: 0.6; cursor: default; }
.gr__fatto { margin-top: 12px !important; font-weight: 600; color: var(--cromo-chiaro) !important; }
.gr__passi { margin: 10px 0 0; padding-left: 20px; color: #C6CBD2; }
.gr__passi li + li { margin-top: 6px; }

/* the cookie panel also opens from these pages: same look as the landing */
.ck { position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); max-height: calc(100svh - 20px); overflow: auto; padding: 16px 16px 14px; border-radius: 20px; background: #131417; color: var(--testo); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 60px -16px rgba(0, 0, 0, 0.9); }
.ck__testa { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ck__titolo { margin: 0; font-size: 16.5px; font-weight: 720; letter-spacing: -0.015em; }
.ck__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -8px -8px 0; border: 0; border-radius: 999px; background: none; color: var(--testo); cursor: pointer; }
.ck__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ck__testo { margin: 4px 0 0; font-size: 14.2px; line-height: 1.5; color: #C6CBD2; }
.ck__testo a { color: var(--testo); text-underline-offset: 3px; }
.ck__scelte { margin: 12px 0 0; padding: 0; border: 0; display: grid; gap: 4px; }
.ck__riga { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--riga-2); cursor: pointer; }
.ck__riga b { display: block; font-size: 15px; font-weight: 650; }
.ck__riga small { display: block; font-size: 13px; line-height: 1.4; color: var(--sec); }
.ck__riga input { width: 44px; height: 26px; margin: 0; accent-color: var(--cromo); }
.ck__fisso { font-size: 13px; color: var(--sec); }
.ck__azioni { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.ck__tasto { min-height: 46px; padding: 0 8px; border: 0; border-radius: 999px; cursor: pointer; background: #2A2D33; color: var(--testo); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); font: 650 14.5px/1.2 'Montserrat', system-ui, sans-serif; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 640px) { .ck { left: auto; right: 20px; bottom: 20px; width: 420px; } }
