/* RunnerTemple — recensioni di giochi idle, merge e clicker
   Sistema visivo ispirato al tema "Relate dot App":
   carta bianca, card a spigolo vivo (raggio 0), bordi capello,
   niente ombre, blu Signal per le azioni, lime per disponibilita'. */

:root {
  /* Colori */
  --lime-pulse: #7bd428;
  --signal-blue: #2484f2;
  --deep-signal: #2374c4;
  --carbon: #222222;
  --graphite: #444444;
  --ink: #000000;
  --mist: #eeeeee;
  --paper: #ffffff;
  --paper-soft: #f6f6f4;

  /* Blocchi cromatici del mosaico (dietro le icone dei giochi) */
  --tile-1: #ff6b9d;
  --tile-2: #7bd428;
  --tile-3: #2484f2;
  --tile-4: #ff8c42;
  --tile-5: #2ec4b6;
  --tile-6: #ffd166;
  --tile-7: #9b5de5;
  --tile-8: #f15bb5;

  /* Tipografia — solo font di sistema (nessun font esterno) */
  --font-display: "Helvetica Neue", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  /* Scala */
  --text-caption: 14px;
  --text-body-sm: 16px;
  --text-body: 18px;
  --text-body-lg: 20px;
  --text-subheading: 22px;
  --text-heading-sm: 30px;
  --text-heading: 34px;
  --text-display: 46px;

  /* Spaziatura */
  --sp-6: 6px;
  --sp-10: 10px;
  --sp-15: 15px;
  --sp-20: 20px;
  --sp-30: 30px;
  --sp-36: 36px;
  --sp-56: 56px;
  --sp-80: 80px;

  /* Layout */
  --page-max: 1200px;
  --radius-card: 0px;
  --radius-badge: 2px;
  --radius-btn: 0px;

  --border-hair: 1px solid var(--mist);
  --border-ink: 1px solid var(--ink);
}

/* Reset leggero */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--signal-blue); text-decoration: none; }
a:hover { color: var(--deep-signal); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--carbon); font-family: var(--font-display); line-height: 1.12; margin: 0 0 var(--sp-20); }

/* Contenitore comune — stessi margini laterali ovunque */
.container { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--sp-20); }

/* Sezioni */
.section { padding-block: var(--sp-80); }
.section--tint { background: var(--paper-soft); border-block: var(--border-hair); }
.section__eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: var(--text-caption);
  font-weight: 800;
  color: var(--signal-blue);
  margin: 0 0 var(--sp-15);
}
.section__title {
  font-size: var(--text-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.section__lead { max-width: 62ch; font-size: var(--text-body-lg); color: var(--graphite); margin: 0 0 var(--sp-36); }
.accent { color: var(--signal-blue); }

/* Pillole / chip */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-caption);
  letter-spacing: .04em; color: var(--deep-signal);
}
.pill--avail { color: #4c8f14; }
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime-pulse); display: inline-block; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--signal-blue); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-body-sm);
  padding: 9px 15px; border-radius: var(--radius-badge);
}
.chip--ghost { background: transparent; color: var(--carbon); border: var(--border-ink); }

/* Bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-body-sm);
  padding: 13px 26px; border-radius: var(--radius-btn); cursor: pointer;
  border: 1px solid transparent; background: transparent; transition: border-color .15s, color .15s, background .15s;
}
/* Azione primaria: chip a bordo blu (come da tema) */
.btn--primary { border-color: var(--signal-blue); color: var(--signal-blue); background: #fff; }
.btn--primary:hover { border-color: var(--deep-signal); color: var(--deep-signal); text-decoration: none; }
/* Azione su fondo scuro (hero) */
.btn--onhero { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--onhero:hover { background: #fff; color: var(--carbon); text-decoration: none; }
.btn--ink { border-color: var(--ink); color: var(--carbon); background: #fff; }
.btn--ink:hover { background: var(--carbon); color: #fff; text-decoration: none; }
.btn__ico { width: 18px; height: 18px; }
.link-lime { color: #4c8f14; font-weight: 700; }
.link-lime:hover { color: #3c7310; }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  border-bottom: var(--border-ink);
}
.header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-20); min-height: 68px; }
.logo { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 22px; color: var(--carbon); }
.logo:hover { text-decoration: none; }
.logo__accent { color: var(--signal-blue); }
.header__nav { display: flex; align-items: center; gap: 4px; }
.header__link {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-body-sm);
  color: var(--graphite); padding: 8px 12px;
}
.header__link:hover { color: var(--carbon); text-decoration: none; }
.header__cta { margin-left: 8px; padding: 10px 18px; }
.burger {
  display: none; width: 44px; height: 44px; border: var(--border-ink); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 0;
}
.burger__bars, .burger__bars::before, .burger__bars::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--carbon); position: relative;
}
.burger__bars::before { position: absolute; top: -7px; }
.burger__bars::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .header__nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: var(--border-ink); padding: var(--sp-15) var(--sp-20) var(--sp-30);
    transform: translateY(-120%); transition: transform .22s ease; box-shadow: none;
  }
  .header__nav.is-open { transform: translateY(0); }
  .header__link { padding: 14px 4px; border-bottom: var(--border-hair); }
  .header__cta { margin: var(--sp-15) 0 0; }
}

/* ============ HERO ============ */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(16,20,26,.86) 0%, rgba(16,20,26,.62) 42%, rgba(16,20,26,.30) 100%),
    linear-gradient(0deg, rgba(16,20,26,.55), rgba(16,20,26,.05));
}
.hero__inner { position: relative; z-index: 2; padding-block: 96px; }
.hero__card {
  background: #fff; color: var(--graphite);
  border: var(--border-ink); border-radius: var(--radius-card);
  padding: var(--sp-36); max-width: 640px;
}
.hero__h1 {
  font-size: clamp(34px, 6vw, var(--text-display));
  font-weight: 800; text-transform: uppercase; letter-spacing: .005em;
  color: var(--carbon); margin: var(--sp-15) 0 var(--sp-20);
}
.hero__sub { font-size: var(--text-body-lg); color: var(--graphite); margin: 0 0 var(--sp-30); }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-15); }
.hero__mosaic { position: relative; z-index: 2; margin-top: var(--sp-30); display: flex; gap: 0; flex-wrap: wrap; }
.hero__tile { width: 56px; height: 56px; display: grid; place-items: center; }
.hero__tile img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag { margin-top: 12px; font-size: var(--text-caption); color: rgba(255,255,255,.85); }

/* ============ STATISTICHE ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: var(--border-ink); background: var(--ink); }
.stats__item { background: #fff; padding: var(--sp-30) var(--sp-20); }
.stats__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--carbon); line-height: 1; }
.stats__num .accent { color: var(--signal-blue); }
.stats__star { width: 28px; height: 28px; fill: #f5a623; display: inline-block; vertical-align: -3px; }
.stats__label { font-size: var(--text-body-sm); color: var(--graphite); margin-top: 8px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============ STELLE ============ */
.stars { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars__row { position: relative; display: inline-block; line-height: 0; font-size: 0; }
.stars__base, .stars__fill { font-size: 0; line-height: 0; }
.stars__base svg { fill: var(--mist); }
.stars__fill { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; white-space: nowrap; }
.stars__fill svg { fill: #f5a623; }
.stars svg { width: 18px; height: 18px; display: inline-block; vertical-align: top; }
.stars__val { font-family: var(--font-display); font-weight: 700; color: var(--carbon); font-size: var(--text-body-sm); }
.stars__count { color: var(--graphite); font-size: var(--text-caption); }

/* ============ STAR GAME (approfondimento) ============ */
.star { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-56); align-items: start; }
.star__media { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--border-ink); background: var(--ink); }
.star__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1000 / 1600; background: #fff; }
.star__head { display: flex; align-items: center; gap: var(--sp-15); margin-bottom: var(--sp-20); }
.star__icon { width: 76px; height: 76px; border: var(--border-ink); }
.star__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-bottom: var(--sp-20); }
.star__dev { font-weight: 700; color: var(--carbon); font-family: var(--font-display); }
.star__lead { font-size: var(--text-body-lg); color: var(--graphite); }
.star__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-20) var(--sp-30); margin: var(--sp-30) 0; }
.feature { border-left: 3px solid var(--lime-pulse); padding-left: var(--sp-15); }
.feature h4 { font-size: var(--text-body); margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.feature p { margin: 0; font-size: var(--text-body-sm); }
.facts { border: var(--border-hair); border-collapse: collapse; width: 100%; margin: var(--sp-20) 0 var(--sp-30); }
.facts th, .facts td { text-align: left; padding: 11px 14px; border-bottom: var(--border-hair); font-size: var(--text-body-sm); }
.facts th { color: var(--graphite); font-weight: 400; width: 42%; }
.facts td { color: var(--carbon); font-family: var(--font-display); font-weight: 700; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: none; }
@media (max-width: 940px) {
  .star { grid-template-columns: 1fr; gap: var(--sp-36); }
  .star__grid { grid-template-columns: 1fr; }
}

/* ============ BYLINE (voce editoriale) ============ */
.byline {
  font-family: var(--font-body); font-size: var(--text-body-sm); color: var(--graphite);
  margin: 0 0 var(--sp-36); padding-left: var(--sp-15); border-left: 3px solid var(--lime-pulse);
}
.byline strong { color: var(--carbon); font-family: var(--font-display); }

/* ============ CATALOGO — ZIG-ZAG GRANDE ============ */
.zz-list { display: flex; flex-direction: column; gap: var(--sp-80); }
.zz {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-56);
  align-items: center;
}
/* alternanza: le righe pari ribaltano immagine a destra */
.zz:nth-child(even) .zz__media { order: 2; }
.zz__media {
  border: var(--border-ink); min-height: 420px;
  display: grid; place-items: center; padding: var(--sp-30); overflow: hidden;
}
.zz__media img { width: auto; max-width: 100%; max-height: 460px; height: auto; }
.zz__body { max-width: 52ch; }
.zz__head { display: flex; align-items: flex-start; gap: var(--sp-15); margin-bottom: var(--sp-20); }
.zz__tile { flex: 0 0 auto; width: 60px; height: 60px; display: grid; place-items: center; padding: 7px; }
.zz__tile img { width: 100%; height: 100%; object-fit: cover; }
.zz__name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-heading-sm); color: var(--carbon); margin: 0 0 4px; text-transform: none; letter-spacing: 0; line-height: 1.05; }
.zz__dev { font-size: var(--text-caption); color: var(--graphite); margin: 0 0 8px; }
.zz__desc { font-size: var(--text-body); color: var(--graphite); margin: 0 0 var(--sp-20); }
.zz__pull {
  font-family: var(--font-serif); font-style: italic; font-size: var(--text-body-lg);
  color: var(--carbon); line-height: 1.4; margin: 0 0 var(--sp-30);
  border-left: 3px solid var(--signal-blue); padding-left: var(--sp-20);
}
.zz__foot { display: flex; align-items: center; gap: var(--sp-20); flex-wrap: wrap; }
.zz__link { font-family: var(--font-display); font-weight: 700; font-size: var(--text-body-sm); color: var(--signal-blue); display: inline-flex; align-items: center; gap: 6px; }
.zz__link:hover { color: var(--deep-signal); }
@media (max-width: 900px) {
  .zz-list { gap: var(--sp-56); }
  .zz { grid-template-columns: 1fr; gap: var(--sp-30); }
  .zz:nth-child(even) .zz__media { order: 0; }
  .zz__media { min-height: 0; padding: var(--sp-20); }
  .zz__media img { max-height: 380px; }
  .zz__body { max-width: none; }
}

/* ============ REDAZIONE ============ */
.redazione { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-56); align-items: start; }
.redazione__lead { font-size: var(--text-body-lg); color: var(--carbon); margin: 0 0 var(--sp-20); }
.redazione__intro p { margin: 0 0 var(--sp-20); }
.redazione__quote {
  font-family: var(--font-serif); font-style: italic; font-size: var(--text-subheading);
  color: var(--carbon); line-height: 1.42; margin: var(--sp-30) 0 var(--sp-15);
  border-left: 3px solid var(--lime-pulse); padding-left: var(--sp-20);
}
.redazione__sign { font-family: var(--font-display); font-weight: 700; color: var(--graphite); font-size: var(--text-body-sm); margin: 0; }
.redazione__team { list-style: none; margin: 0; padding: 0; border-top: var(--border-ink); }
.member { display: flex; gap: var(--sp-20); padding: var(--sp-20) 0; border-bottom: var(--border-hair); }
.member:last-child { border-bottom: 0; }
.member__ava { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; border-radius: var(--radius-badge); }
.member__name { display: block; font-family: var(--font-display); font-weight: 800; color: var(--carbon); font-size: var(--text-body-lg); }
.member__role { display: block; font-size: var(--text-caption); color: var(--signal-blue); font-weight: 700; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; margin: 2px 0 8px; }
.member__bio { margin: 0; font-size: var(--text-body-sm); color: var(--graphite); }
@media (max-width: 900px) { .redazione { grid-template-columns: 1fr; gap: var(--sp-30); } }

/* ============ TRUST ============ */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: var(--border-ink); background: var(--ink); }
.trust__item { background: #fff; padding: var(--sp-30) var(--sp-20); }
.trust__ico { width: 34px; height: 34px; color: var(--signal-blue); margin-bottom: var(--sp-15); }
.trust__item h3 { font-size: var(--text-body-lg); margin: 0 0 8px; text-transform: none; letter-spacing: 0; }
.trust__item p { margin: 0; font-size: var(--text-body-sm); }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* ============ MONETIZZAZIONE ============ */
.money { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-56); align-items: center; }
.money__list { list-style: none; margin: 0; padding: 0; }
.money__list li { padding: var(--sp-15) 0; border-bottom: var(--border-hair); display: flex; gap: var(--sp-15); }
.money__list li:last-child { border-bottom: none; }
.money__k { color: var(--signal-blue); font-family: var(--font-display); font-weight: 800; }
.money__panel { background: #fff; border: var(--border-ink); padding: var(--sp-36); }
.money__panel h3 { text-transform: none; letter-spacing: 0; }
@media (max-width: 900px) { .money { grid-template-columns: 1fr; gap: var(--sp-30); } }

/* ============ RECENSIONI ============ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-30); }
.review { background: #fff; border: var(--border-hair); padding: var(--sp-30); }
.review__quote { font-family: var(--font-serif); font-style: italic; font-size: var(--text-body-lg); color: var(--carbon); margin: var(--sp-15) 0 var(--sp-20); line-height: 1.45; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; display: grid; place-items: center; background: var(--signal-blue); color: #fff; font-family: var(--font-display); font-weight: 800; border-radius: var(--radius-badge); }
.review--b .review__avatar { background: var(--tile-1); }
.review--c .review__avatar { background: var(--tile-5); }
.review__name { font-family: var(--font-display); font-weight: 700; color: var(--carbon); font-size: var(--text-body-sm); }
.review__role { font-size: var(--text-caption); color: var(--graphite); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ============ FORM ============ */
.subscribe { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--sp-56); align-items: start; }
.form { background: #fff; border: var(--border-ink); padding: var(--sp-36); }
.form__field { margin-bottom: var(--sp-20); }
.form__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-body-sm); color: var(--carbon); margin-bottom: 6px; }
.form__input {
  width: 100%; padding: 13px 14px; font-size: var(--text-body-sm); font-family: var(--font-body);
  border: var(--border-ink); border-radius: 0; background: #fff; color: var(--carbon);
}
.form__input:focus { outline: 2px solid var(--signal-blue); outline-offset: 1px; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--text-body-sm); }
.form__consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--signal-blue); flex: 0 0 auto; }
.form__submit { width: 100%; margin-top: var(--sp-20); padding: 15px; }
.form__note { font-size: var(--text-caption); color: var(--graphite); margin-top: var(--sp-15); }
.form__success {
  display: none; margin-top: var(--sp-20); padding: var(--sp-20);
  border: 1px solid var(--lime-pulse); background: #f4fbe9; color: #3c7310; font-weight: 700; font-family: var(--font-display);
}
.form__success.is-visible { display: block; }
@media (max-width: 900px) { .subscribe { grid-template-columns: 1fr; gap: var(--sp-30); } }

/* ============ FAQ ============ */
.faq { max-width: 860px; }
.faq__item { border-bottom: var(--border-ink); }
.faq__item:first-child { border-top: var(--border-ink); }
.faq__q {
  width: 100%; text-align: left; background: #fff; border: 0; cursor: pointer;
  padding: var(--sp-20) 0; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-20);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-body-lg); color: var(--carbon);
}
.faq__ico { flex: 0 0 auto; width: 20px; height: 20px; position: relative; }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; background: var(--signal-blue); }
.faq__ico::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__ico::after { left: 9px; top: 0; width: 2px; height: 20px; transition: transform .2s; }
.faq__item.is-open .faq__ico::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .24s ease; }
.faq__a p { margin: 0 0 var(--sp-20); font-size: var(--text-body); color: var(--graphite); }

/* ============ FOOTER ============ */
.footer { background: var(--paper); border-top: var(--border-ink); padding-block: var(--sp-56) var(--sp-30); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-36); }
.footer__brand .logo { font-size: 24px; }
.footer__tag { font-size: var(--text-body-sm); color: var(--graphite); margin-top: var(--sp-15); max-width: 34ch; }
.footer__col h4 { font-size: var(--text-body-sm); text-transform: uppercase; letter-spacing: .1em; color: var(--carbon); margin: 0 0 var(--sp-15); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { color: var(--graphite); font-size: var(--text-body-sm); }
.footer__list a:hover { color: var(--carbon); }
.footer__mail { font-family: var(--font-display); font-weight: 700; color: var(--signal-blue); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--sp-15); justify-content: space-between; margin-top: var(--sp-36); padding-top: var(--sp-20); border-top: var(--border-hair); font-size: var(--text-caption); color: var(--graphite); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============ COOKIE BANNER + TOP ============ */
.cookie {
  position: fixed; left: var(--sp-20); right: var(--sp-20); bottom: var(--sp-20); z-index: 80;
  background: var(--carbon); color: #fff; border: var(--border-ink);
  padding: var(--sp-20); display: none; gap: var(--sp-20); align-items: center; flex-wrap: wrap;
  max-width: 720px; margin-inline: auto;
}
.cookie.is-visible { display: flex; }
.cookie__txt { flex: 1 1 260px; font-size: var(--text-body-sm); }
.cookie__txt a { color: #9ecbff; }
.cookie__btns { display: flex; gap: 10px; }
.cookie .btn { padding: 10px 18px; }
.cookie .btn--accept { border-color: var(--lime-pulse); color: var(--lime-pulse); }
.cookie .btn--accept:hover { background: var(--lime-pulse); color: var(--carbon); }
.cookie .btn--decline { border-color: #fff; color: #fff; }
.cookie .btn--decline:hover { background: #fff; color: var(--carbon); }

.top {
  position: fixed; right: var(--sp-20); bottom: var(--sp-20); z-index: 70;
  width: 48px; height: 48px; display: none; align-items: center; justify-content: center;
  background: #fff; border: var(--border-ink); color: var(--carbon); cursor: pointer;
}
.top.is-visible { display: inline-flex; }
.top svg { width: 22px; height: 22px; }

/* ============ PAGINE LEGALI ============ */
.legal { padding-block: var(--sp-56) var(--sp-80); max-width: 820px; }
.legal h1 { font-size: var(--text-heading); text-transform: uppercase; }
.legal h2 { font-size: var(--text-subheading); margin-top: var(--sp-36); text-transform: none; letter-spacing: 0; }
.legal p, .legal li { font-size: var(--text-body-sm); color: var(--graphite); }
.legal ul { padding-left: 1.2em; }
.legal__meta { color: var(--graphite); font-size: var(--text-body-sm); margin-bottom: var(--sp-30); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--sp-30); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--sp-20); top: var(--sp-15); z-index: 100; background: #fff; border: var(--border-ink); padding: 10px 16px; }
:focus-visible { outline: 2px solid var(--signal-blue); outline-offset: 2px; }
