/* =========================================================
   Astrovante — un piccolo osservatorio di giochi tranquilli
   Tema "Comodino": notte calda, lettura da abat-jour.
   Fondo espresso profondo, testo crema, schermi che brillano,
   un solo accento ambra. Impegno deliberato su un unico look scuro.
   ========================================================= */

:root {
  /* ---- Superfici (notte calda) ---- */
  --canvas: #171009;        /* fondo pagina, espresso profondo */
  --canvas-2: #1e150d;      /* fascia leggermente sollevata */
  --surface: #241a10;       /* carte, schede, plate */
  --surface-2: #2c2015;     /* input, elementi sollevati */

  /* ---- Testo (crema su scuro) ---- */
  --ink: #efe4d1;           /* testo corrente */
  --ink-strong: #fbf4e6;    /* titoli */
  --muted: #b8a488;         /* secondario */
  --faint: #8a7357;         /* terziario, didascalie */

  /* ---- Accento unico: ambra da lampada ---- */
  --amber: #e8ad57;
  --amber-bright: #f4c67c;
  --amber-deep: #c98a34;
  --on-amber: #1a1207;      /* testo su bottone ambra */

  /* ---- Linee e vetri ---- */
  --hairline: rgba(239, 228, 209, 0.13);
  --hairline-soft: rgba(239, 228, 209, 0.07);
  --screen: #f3ede1;        /* pannello "schermo acceso" dietro gli screenshot */
  --glow: rgba(232, 173, 87, 0.22);

  /* ---- Tipografia ---- */
  --font-display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Lora', 'Georgia', serif;

  /* ---- Ritmo ---- */
  --pad-x: clamp(20px, 6vw, 96px);
  --section-y: clamp(60px, 9vw, 132px);
  --measure: 64ch;

  /* ---- Forma (una sola scala) ---- */
  --r-card: 14px;
  --r-el: 9px;
  --r-img: 10px;

  --fw-light: 300;
  --fw-reg: 400;
  --fw-med: 500;
  --fw-semi: 600;

  color-scheme: dark;
}

/* ---------- Reset leggero ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: var(--fw-reg);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.17rem);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Bagliore d'abat-jour in alto + vignettatura calda ai bordi */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 82% -8%, rgba(232, 173, 87, 0.16), transparent 46%),
    radial-gradient(90% 60% at 0% 108%, rgba(201, 138, 52, 0.08), transparent 55%),
    radial-gradient(140% 120% at 50% 0%, transparent 62%, rgba(0, 0, 0, 0.4) 100%);
}
/* Grana finissima per togliere banding e dare calore materico */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  color: var(--ink-strong);
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* Skip link */
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--amber); color: var(--on-amber);
  padding: 10px 16px; z-index: 200; font-family: var(--font-body); border-radius: var(--r-el);
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }

/* Eyebrow */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--fw-med);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--amber);
  margin: 0 0 clamp(14px, 2vw, 22px);
}

/* Inline highlight link (firma editoriale) */
.mark {
  color: var(--amber-bright);
  text-decoration: none;
  background: linear-gradient(var(--amber), var(--amber));
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 1.15em;
  padding-bottom: 1px;
  transition: color .18s;
}
.mark:hover { color: var(--amber); }

/* ---------- Layout helpers ---------- */
.bleed { padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.rule {
  border: 0; border-top: 1px solid var(--hairline);
  margin-inline: var(--pad-x);
}

/* =========================================================
   Header / Nav
   ========================================================= */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-block: clamp(13px, 1.8vw, 18px);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand svg { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; }
/* Adatta il marchio (SVG inline chiaro) al tema notturno */
.brand svg rect { fill: color-mix(in srgb, var(--amber) 20%, transparent); }
.brand svg path:first-of-type { fill: var(--ink-strong); }
.brand svg path:nth-of-type(2) { fill: var(--amber); }
.brand svg circle { fill: var(--amber); }
.brand-name {
  font-family: var(--font-display);
  font-weight: var(--fw-med);
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink-strong);
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--faint); margin-top: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px);
}
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-size: 0.98rem; padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--amber-bright); border-bottom-color: var(--amber); }

.burger {
  display: none; position: relative; z-index: 110;
  background: none; border: 1px solid var(--hairline); border-radius: var(--r-el);
  width: 44px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center; gap: 4px; flex-direction: column;
}
/* Scrim dietro il menu mobile: tap fuori per chiudere */
.nav-scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10, 7, 4, 0.62);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  border: 0; opacity: 0; transition: opacity .28s ease;
}
.nav-scrim.show { opacity: 1; }
.nav-scrim[hidden] { display: none; }
/* Bottone di chiusura dentro il drawer (primo elemento in alto a destra) */
.nav-close {
  display: none; width: 48px; height: 48px; margin: 0 0 22px 0; padding: 0;
  border-radius: var(--r-el);
  background: transparent; border: 1px solid var(--amber); color: var(--amber);
  font-family: var(--font-body); font-size: 2rem; line-height: 44px; text-align: center;
  cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
}
.nav-close:hover { color: var(--on-amber); background: var(--amber); border-color: var(--amber); }
.burger span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .burger { display: flex; }
  .nav-links {
    /* height esplicita: un antenato con backdrop-filter (.site-head) diventa
       containing block per i figli fixed, quindi inset:0 non basta a coprire il viewport */
    position: fixed; top: 0; right: 0; left: auto; bottom: auto;
    height: 100vh; height: 100dvh; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--canvas-2); border-left: 1px solid var(--hairline);
    padding: 84px var(--pad-x) 40px;
    transform: translateX(100%); transition: transform .28s ease;
    z-index: 90;
  }
  .nav-links.open { transform: translateX(0); box-shadow: -40px 0 80px -30px rgba(0,0,0,.7); }
  .nav-links a { font-family: var(--font-display); font-size: 1.6rem; padding: 10px 0; }
  .nav-close { display: block; }
}

/* =========================================================
   Hero (typography-first)
   ========================================================= */
.hero {
  padding-block: clamp(46px, 7vw, 96px) clamp(28px, 3.5vw, 48px);
}
.hero h1 {
  font-size: clamp(2.7rem, 1.7rem + 4.4vw, 5.6rem);
  font-weight: var(--fw-light);
  letter-spacing: -0.033em;
  line-height: 0.99;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic; color: var(--amber);
  text-shadow: 0 0 34px rgba(232, 173, 87, 0.35);
}
.hero-lead {
  max-width: 50ch;
  margin-top: clamp(22px, 3vw, 32px);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.34rem);
  line-height: 1.55;
  color: var(--muted);
}

/* Hero rail: pellicola di giochi che scorre piano nel buio */
.hero-rail {
  position: relative;
  padding-block: clamp(26px, 3.5vw, 48px) clamp(44px, 6vw, 84px);
}
.hero-rail::before, .hero-rail::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 130px);
  z-index: 2; pointer-events: none;
}
.hero-rail::before { left: 0; background: linear-gradient(90deg, var(--canvas), transparent); }
.hero-rail::after { right: 0; background: linear-gradient(270deg, var(--canvas), transparent); }
.rail-viewport { overflow: hidden; }
.rail-track {
  display: flex; width: max-content;
  animation: rail-scroll 60s linear infinite;
}
.rail-track:hover, .rail-track:focus-within { animation-play-state: paused; }
@keyframes rail-scroll { to { transform: translateX(-50%); } }

.rail-card { flex: 0 0 auto; width: clamp(158px, 18vw, 208px); margin-right: clamp(14px, 1.6vw, 22px); }
.rail-card a { text-decoration: none; color: var(--ink); display: block; }
.rail-shot {
  display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--screen); border-radius: var(--r-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 3px rgba(20,14,8,0.45), 0 20px 44px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,0,0,0.3);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.rail-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rail-name {
  display: block; margin-top: 14px;
  font-family: var(--font-display); font-size: 1.22rem; font-weight: var(--fw-med);
  color: var(--ink-strong); line-height: 1.12; letter-spacing: -0.01em;
}
.rail-tag {
  display: block; margin-top: 3px;
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--amber);
}
@media (prefers-reduced-motion: no-preference) {
  .rail-card a:hover .rail-shot {
    transform: translateY(-6px);
    box-shadow: inset 0 0 0 3px rgba(20,14,8,0.45), 0 30px 60px -22px rgba(0,0,0,0.85), 0 22px 50px -22px var(--glow);
  }
}
.rail-card a:focus-visible .rail-shot { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .rail-viewport { overflow-x: auto; scroll-snap-type: x proximity; }
  .rail-track { animation: none; }
  .rail-card { scroll-snap-align: start; }
}

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px;
  margin-top: clamp(28px, 4vw, 44px);
}
.hero-trust {
  margin-top: clamp(26px, 3.4vw, 40px);
  display: flex; align-items: baseline; gap: 12px;
  font-size: 0.9rem; color: var(--muted);
}
.hero-trust b { font-family: var(--font-display); font-weight: var(--fw-med); font-size: 1.35rem; color: var(--amber); }

/* Bottoni */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 1rem; font-weight: var(--fw-med);
  text-decoration: none; cursor: pointer;
  padding: 13px 24px; border: 1px solid var(--amber); border-radius: var(--r-el);
  background: var(--amber); color: var(--on-amber);
  box-shadow: 0 12px 34px -14px rgba(232, 173, 87, 0.55);
  transition: background .18s, box-shadow .2s, transform .12s, color .18s;
}
.btn:hover { background: var(--amber-bright); border-color: var(--amber-bright); box-shadow: 0 16px 40px -14px rgba(232, 173, 87, 0.7); }
.btn:active { transform: translateY(1px); }
.btn .arw { transition: transform .18s; }
.btn:hover .arw { transform: translateX(4px); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--hairline);
  box-shadow: none;
}
.btn--ghost:hover { background: transparent; color: var(--amber-bright); border-color: var(--amber); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--ink); font-weight: var(--fw-med);
  border-bottom: 1px solid var(--hairline); padding-bottom: 2px;
  transition: color .18s, border-color .18s;
}
.link-arrow:hover { color: var(--amber-bright); border-color: var(--amber); }

/* =========================================================
   Trust / cura block
   ========================================================= */
.cura { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .cura { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.cura h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem);
  max-width: 14ch;
}
.cura-body { max-width: var(--measure); }
.cura-body p { color: var(--muted); }
.cura-meta {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  margin-top: clamp(24px, 3vw, 38px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--hairline);
}
.cura-meta div { min-width: 120px; }
.cura-meta dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--faint); }
.cura-meta dd { margin: 6px 0 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: var(--fw-med); color: var(--amber); }

/* =========================================================
   Indice / anchor list
   ========================================================= */
.indice { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 760px) { .indice { grid-template-columns: 16ch 1fr; align-items: baseline; } }
.indice ol {
  list-style: none; padding: 0; margin: 0;
  columns: 2; column-gap: clamp(24px, 5vw, 72px);
}
@media (max-width: 560px) { .indice ol { columns: 1; } }
.indice li {
  break-inside: avoid;
  display: flex; gap: 14px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--hairline-soft);
}
.indice li a { text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 1.45rem; transition: color .18s; }
.indice li a:hover { color: var(--amber-bright); }
.indice .num { font-size: 0.8rem; color: var(--amber); font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.indice .tag { margin-left: auto; font-size: 0.8rem; color: var(--faint); text-transform: lowercase; }

/* =========================================================
   Catalogo giochi — schede editoriali
   ========================================================= */
.catalog { display: flex; flex-direction: column; }
.game {
  display: grid; gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 92px);
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.game:first-child { border-top: 0; }
@media (min-width: 880px) {
  .game { grid-template-columns: 0.88fr 1.12fr; }
  .game.flip .game-plate { order: 2; }
  .game.wide { grid-template-columns: 1fr; }
}

/* Plate = comodino su cui poggia lo schermo */
.game-plate {
  background:
    radial-gradient(90% 70% at 50% 42%, rgba(232,173,87,0.12), transparent 62%),
    var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 44px);
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; gap: clamp(10px, 1.6vw, 16px);
  align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 30px 60px -34px rgba(0,0,0,0.8);
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
}
.game.wide .game-plate { aspect-ratio: 16 / 7; }
@media (min-width: 880px) and (prefers-reduced-motion: no-preference) {
  .game-plate:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--amber) 34%, var(--hairline));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 40px 80px -34px rgba(0,0,0,0.85);
  }
}

/* Numero-filigrana editoriale */
.plate-index {
  position: absolute; top: -0.3em; right: 0.04em;
  font-family: var(--font-display); font-weight: var(--fw-light); line-height: 1;
  font-size: clamp(6.5rem, 4rem + 12vw, 13rem);
  color: var(--amber); opacity: 0.15;
  font-variant-numeric: tabular-nums;
  z-index: 0; pointer-events: none; user-select: none;
}
.game.wide .plate-index { top: -0.42em; right: 0.16em; }

/* Screenshot: schermo acceso che brilla nel buio */
.shot-hero {
  position: relative; z-index: 1;
  flex: 1 1 auto; min-height: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.shot-hero img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; background: var(--screen);
  border-radius: var(--r-img);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 3px rgba(20, 14, 8, 0.5),
    0 18px 40px -18px rgba(0,0,0,0.8),
    0 24px 64px -26px var(--glow);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
@media (min-width: 880px) and (prefers-reduced-motion: no-preference) {
  .game-plate:hover .shot-hero img {
    transform: translateY(-4px) scale(1.015);
    box-shadow: inset 0 0 0 3px rgba(20,14,8,0.5), 0 26px 54px -18px rgba(0,0,0,0.85), 0 34px 80px -24px var(--glow);
  }
}
.shot-thumbs {
  position: relative; z-index: 1;
  flex: 0 0 auto; width: 100%;
  display: flex; gap: 8px;
}
.shot-thumbs img {
  flex: 1 1 0; width: 0; height: clamp(50px, 8vw, 78px);
  object-fit: cover; background: var(--screen);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 18px -10px rgba(0,0,0,0.75);
  transition: transform .2s, box-shadow .2s;
}
.shot-thumbs img:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px var(--glow); }
.plate-caption {
  position: absolute; z-index: 1; bottom: 13px; right: 18px;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
}

/* Testo scheda */
.game-genre {
  display: inline-block;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--amber); font-weight: var(--fw-med);
  border: 1px solid color-mix(in srgb, var(--amber) 32%, var(--hairline));
  background: color-mix(in srgb, var(--amber) 9%, transparent);
  border-radius: 100px; padding: 6px 14px;
  margin-bottom: 18px;
}
.game h3 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  font-weight: var(--fw-light); letter-spacing: -0.02em;
}
.game .hook {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  color: var(--muted); margin: 12px 0 0; line-height: 1.32;
}
.meta {
  display: flex; flex-wrap: wrap; gap: 8px 0;
  margin: clamp(20px, 2.6vw, 30px) 0;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  padding: 12px 0;
  font-size: 0.86rem; color: var(--muted);
}
.meta span { position: relative; padding: 0 14px; }
.meta span:first-child { padding-left: 0; }
.meta span::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 12px; background: var(--hairline);
}
.meta span:last-child::after { display: none; }
.meta b { color: var(--ink-strong); font-weight: var(--fw-med); }
.game .review { max-width: var(--measure); }
.game .review p { color: var(--ink); }
.game .review .caveat { color: var(--muted); }

.why {
  margin: clamp(18px, 2.4vw, 26px) 0;
  display: grid; gap: 11px;
  max-width: var(--measure);
}
.why li {
  position: relative; padding-left: 26px;
  font-size: 0.98rem; line-height: 1.5; color: var(--ink);
}
.why li::before {
  content: ""; position: absolute; left: 0; top: 0.58em;
  width: 9px; height: 9px; background: var(--amber);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(232, 173, 87, 0.5);
}
.stores {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(20px, 2.6vw, 28px);
}
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 0.94rem; font-weight: var(--fw-med);
  padding: 11px 19px; border: 1px solid var(--hairline); border-radius: var(--r-el);
  background: transparent; color: var(--ink);
  transition: background .18s, color .18s, border-color .18s, transform .12s;
}
.store-btn:active { transform: translateY(1px); }
.store-btn svg { width: 18px; height: 18px; flex: none; }
.store-btn svg [fill] { fill: currentColor; }
.store-btn--play {
  background: var(--amber); color: var(--on-amber); border-color: var(--amber);
  box-shadow: 0 10px 26px -14px rgba(232, 173, 87, 0.6);
}
.store-btn--play:hover { background: var(--amber-bright); border-color: var(--amber-bright); }
.store-btn--app:hover { border-color: var(--amber); color: var(--amber-bright); }

/* =========================================================
   Scelta della redazione
   ========================================================= */
.redazione { background: var(--canvas-2); }
.redazione-head { max-width: 30ch; margin-bottom: clamp(32px, 4vw, 52px); }
.redazione-head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.picks { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 760px) { .picks { grid-template-columns: 1fr 1fr; } }
.pick {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 38px);
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 26px 50px -34px rgba(0,0,0,0.8);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pick:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--amber) 40%, var(--hairline)); box-shadow: 0 34px 60px -34px rgba(0,0,0,0.85); }
.pick .pick-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--amber); }
.pick h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: var(--fw-reg); }
.pick p { margin: 0; color: var(--muted); }
.pick a { align-self: flex-start; margin-top: 6px; }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .faq { grid-template-columns: 15ch 1fr; align-items: start; } }
.faq h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2.4vw, 26px) 0;
  font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: var(--fw-reg); color: var(--ink-strong);
  transition: color .18s;
}
.faq-q:hover { color: var(--amber-bright); }
.faq-q .sign { font-family: var(--font-body); font-size: 1.4rem; color: var(--amber); transition: transform .2s; flex: none; }
.faq-q[aria-expanded="true"] .sign { transform: rotate(45deg); }
.faq-a {
  max-width: var(--measure);
  overflow: hidden; max-height: 0;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-a > div { padding-bottom: clamp(18px, 2.4vw, 26px); color: var(--muted); }
.faq-item.open .faq-a { max-height: 460px; }

/* =========================================================
   Forms
   ========================================================= */
.form-wrap { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 880px) { .form-wrap { grid-template-columns: 0.9fr 1.1fr; } }
.contact-form { display: grid; gap: 20px; max-width: 44ch; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1.02rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-el);
  padding: 13px 15px; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,173,87,0.18); }
.field textarea { min-height: 130px; resize: vertical; }
.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.9rem; color: var(--muted); line-height: 1.5;
}
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--amber); flex: none; }

/* =========================================================
   Prose (about, come-scegliamo, legal)
   ========================================================= */
.prose { max-width: var(--measure); }
.prose h1 { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 5rem); font-weight: var(--fw-light); letter-spacing: -0.03em; margin-bottom: 0.4em; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin: 1.6em 0 0.5em; font-weight: var(--fw-reg); }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 0.4em; font-weight: var(--fw-med); font-family: var(--font-body); color: var(--ink-strong); }
.prose p, .prose li { color: var(--ink); }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.prose .lead { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); color: var(--muted); line-height: 1.5; margin-bottom: 1.4em; }
.prose a:not(.btn):not(.link-arrow) { color: var(--amber-bright); text-underline-offset: 3px; }
.prose .updated { font-size: 0.85rem; color: var(--faint); margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--hairline); }
.caveat-box {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  border-left: 2px solid var(--amber);
  padding: clamp(20px, 3vw, 30px); margin: 1.6em 0;
}
.caveat-box p { color: var(--muted); }
.caveat-box p:last-child { margin-bottom: 0; }

.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); }
.page-head .eyebrow { margin-bottom: 18px; }

/* =========================================================
   404
   ========================================================= */
.err {
  min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(56px, 10vw, 140px);
}
.err h1 { font-size: clamp(4rem, 2rem + 12vw, 12rem); font-weight: var(--fw-light); color: var(--amber); text-shadow: 0 0 60px rgba(232,173,87,0.3); }
.err p { max-width: 44ch; font-size: 1.2rem; color: var(--muted); margin: 18px 0 30px; }

/* =========================================================
   Footer
   ========================================================= */
.site-foot {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 40px);
}
.foot-top {
  display: grid; gap: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (min-width: 760px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand .brand-name { font-size: 1.95rem; }
.foot-brand p { max-width: 36ch; color: var(--muted); margin-top: 14px; font-size: 0.96rem; }
.foot-col h4 { font-family: var(--font-body); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--faint); font-weight: var(--fw-med); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--ink); font-size: 0.98rem; border-bottom: 1px solid transparent; transition: color .18s, border-color .18s; }
.foot-col a:hover { color: var(--amber-bright); border-bottom-color: var(--amber); }
.disclaimer {
  font-size: 0.78rem; line-height: 1.6; color: var(--faint);
  max-width: 90ch; padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--hairline-soft);
}
.foot-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 20px; font-size: 0.82rem; color: var(--faint);
}

/* =========================================================
   Cookie notice (Modo A — solo tecnici, non bloccante)
   ========================================================= */
.cookie-note {
  position: fixed; left: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 24px); z-index: 150;
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: clamp(16px, 2.4vw, 22px) clamp(18px, 3vw, 28px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px;
  max-width: 760px; margin-inline: auto;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.85);
}
.cookie-note p { margin: 0; font-size: 0.9rem; line-height: 1.5; flex: 1 1 320px; color: var(--muted); }
.cookie-note a { color: var(--amber-bright); text-decoration: underline; text-underline-offset: 3px; }
.cookie-note button {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: var(--fw-med);
  background: var(--amber); color: var(--on-amber); border: 0; cursor: pointer; border-radius: var(--r-el);
  padding: 11px 24px; transition: background .18s;
}
.cookie-note button:hover { background: var(--amber-bright); }
.cookie-note[hidden] { display: none; }

/* =========================================================
   Reveal allo scroll (motivato: rivela le schede in sequenza)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
  .js-reveal.in { opacity: 1; transform: none; }
}

/* =========================================================
   Small utilities
   ========================================================= */
.success-msg {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: 18px; color: var(--ink); margin-top: 8px;
}
.center-narrow { max-width: 60ch; }
