/* =========================================================
   SpeedRunNotes — styles.css
   Tema: midnight command center, accento corallo
   ========================================================= */

:root {
  /* Colori */
  --c-void: #040506;
  --c-ink: #07080a;
  --c-obsidian: #111214;
  --c-graphite: #1b1c1e;
  --c-smoke: #6a6b6c;
  --c-ash: #9c9c9d;
  --c-mist: #e6e6e6;
  --c-iron: #454647;
  --c-slate: #2f3031;
  --c-white: #ffffff;
  --c-coral: #ff6363;
  --c-ember: #452324;
  --c-sky: #63a1ff;
  --c-cobalt: #143ca3;
  --c-deep: #02193b;
  --c-border: #363739;
  --c-border-soft: rgba(255, 255, 255, .08);

  /* Tipografia */
  --font-ui: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'GeistMono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-num: 'SF Pro Text', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --text-eyebrow: 11px;
  --text-body: 16px;
  --text-body-lg: 18px;
  --text-subheading: 20px;
  --text-heading-sm: 24px;
  --text-heading: 32px;
  --text-heading-lg: 56px;
  --text-display: 64px;

  /* Spaziatura */
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-56: 56px;
  --s-64: 64px;
  --s-80: 80px;
  --s-96: 96px;
  --s-120: 120px;

  /* Raggi */
  --r-badge: 6px;
  --r-btn: 8px;
  --r-input: 8px;
  --r-bar: 11px;
  --r-card: 16px;
  --r-card-lg: 20px;
  --r-pill: 9999px;

  /* Ombre — trattamento "keyboard key" */
  --shadow-key:
    rgba(255, 255, 255, .05) 0 1px 0 0 inset,
    rgba(255, 255, 255, .18) 0 0 0 1px,
    rgba(0, 0, 0, .2) 0 -1px 0 0 inset;
  --shadow-edge:
    rgba(255, 255, 255, .05) 0 1px 0 0 inset,
    var(--c-border) 0 0 0 1px;
  --shadow-lift:
    rgba(0, 0, 0, .03) 0 7px 3px 0,
    rgba(0, 0, 0, .25) 0 4px 4px 0;
  --shadow-window:
    rgba(255, 255, 255, .1) 0 1px 0 0 inset,
    rgba(0, 0, 0, .4) 0 30px 50px 0,
    rgba(255, 255, 255, .06) 0 0 0 1px inset,
    rgba(255, 255, 255, .14) 0 0 0 1px;

  --shell: 1200px;
  --header-h: 76px;
}

/* ------------------ reset ------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-void);
  color: var(--c-ash);
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.65;
  font-feature-settings: 'calt', 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--c-white); font-weight: 400; margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--c-mist);
  color: var(--c-iron);
  padding: 10px 16px;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 500;
}
.skip:focus { left: 16px; top: 16px; }

/* ------------------ primitivi ------------------ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: var(--s-48); }
.section > .shell { position: relative; }

.section__head { max-width: 760px; margin-bottom: var(--s-48); }
.section__head--split { max-width: none; display: grid; gap: var(--s-24); }
.section__title {
  font-size: clamp(28px, 5vw, var(--text-heading));
  letter-spacing: .1px;
  margin-top: var(--s-12);
}
.section__head--split .section__title { margin-top: var(--s-8); }
.section__lead {
  margin-top: var(--s-16);
  font-size: var(--text-body-lg);
  color: var(--c-ash);
  max-width: 62ch;
  line-height: 1.6;
}
.section__head--split .section__lead { margin-top: 0; align-self: end; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  line-height: 1;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--c-smoke);
}

.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .17px; }

.metastrip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2px;
  color: var(--c-smoke);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
  align-items: center;
}
.metastrip span { color: var(--c-slate); }

.link {
  color: var(--c-mist);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-iron);
  transition: text-decoration-color .18s ease, color .18s ease;
}
.link:hover { color: var(--c-white); text-decoration-color: var(--c-ash); }

/* bottoni */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  padding: 10px 16px;
  border-radius: var(--r-btn);
  border: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn--fill {
  background: var(--c-mist);
  color: var(--c-iron);
  box-shadow: var(--shadow-lift);
}
.btn--fill:hover { background: var(--c-white); color: #2a2b2c; }
.btn--fill:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--c-ash);
  box-shadow: var(--c-border) 0 0 0 1px inset;
}
.btn--ghost:hover { color: var(--c-white); box-shadow: var(--c-slate) 0 0 0 1px inset, rgba(255, 255, 255, .06) 0 0 0 100px inset; }
.btn--sm { padding: 7px 12px; font-size: 13px; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-badge);
  background: var(--c-graphite);
  color: var(--c-mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.badge--soft { background: rgba(255, 255, 255, .06); color: var(--c-ash); }

.taglist { display: flex; flex-wrap: wrap; gap: 6px; }

/* card */
.card {
  position: relative;
  border-radius: var(--r-card);
  background: var(--c-ink);
  padding: var(--s-24);
}
.card--key { box-shadow: var(--shadow-key); }
.card--edge { box-shadow: var(--shadow-edge); border-radius: var(--r-card-lg); }
.card__title { font-size: var(--text-subheading); font-weight: 500; letter-spacing: .2px; }
.card__text { margin-top: var(--s-12); color: var(--c-ash); font-size: 15px; line-height: 1.6; }

.iconwell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 99999px;
  background: var(--c-obsidian);
  color: var(--c-mist);
  box-shadow: rgba(255, 255, 255, .06) 0 0 0 1px inset;
  margin-bottom: var(--s-24);
}

/* valutazioni */
.rating {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  flex-wrap: wrap;
}
.rating__stars {
  position: relative;
  display: block;
  width: 94px;
  height: 18px;
  flex: none;
}
.rating__base { display: block; fill: rgba(255, 255, 255, .13); }
.rating__over {
  position: absolute;
  inset: 0;
  width: var(--fill, 0%);
  overflow: hidden;
}
.rating__over svg { display: block; fill: var(--c-mist); }
.rating__value {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-white);
}
.rating__count { font-family: var(--font-mono); font-size: 11px; color: var(--c-smoke); letter-spacing: .3px; }

/* ------------------ 1. header ------------------ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  padding-block: var(--s-12);
}
.topbar__shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}
.topbar__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-16);
  padding: 8px 8px 8px 14px;
  border-radius: var(--r-bar);
  border: 1px solid var(--c-border);
  background: rgba(7, 8, 10, .72);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
.logo__mark {
  width: 11px;
  height: 11px;
  background: var(--c-coral);
  transform: rotate(45deg);
  border-radius: 2px;
  flex: none;
}
.logo__text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  white-space: nowrap;
}
.logo__a { color: var(--c-white); }
.logo__b { color: var(--c-coral); }

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-inline: auto;
}
.topbar__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08px;
  color: var(--c-ash);
  transition: color .18s ease;
  white-space: nowrap;
}
.topbar__link:hover { color: var(--c-white); }
.topbar__cta { flex: none; padding: 8px 12px; font-size: 13px; }

.topbar__burger {
  display: none;
  margin-left: auto;
  width: 38px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  color: var(--c-mist);
  cursor: pointer;
}

/* ------------------ 2. hero ------------------ */
.hero {
  position: relative;
  padding-block: var(--s-56) var(--s-96);
  overflow: hidden;
}
.hero__atmosphere {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
  z-index: 0;
  pointer-events: none;
}
.hero__atmosphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
@media (min-width: 768px) {
  .hero__atmosphere img { opacity: .85; }
}
.hero__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(4, 5, 6, 0) 30%, rgba(4, 5, 6, .55) 70%, var(--c-void) 100%),
    linear-gradient(180deg, rgba(4, 5, 6, .35) 0%, rgba(4, 5, 6, .1) 40%, var(--c-void) 96%);
}
.hero__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-48);
}
.hero__title {
  margin-top: var(--s-24);
  font-size: clamp(40px, 9vw, var(--text-heading-lg));
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: .22px;
}
.hero__accent { color: var(--c-coral); }
.hero__lead {
  margin-top: var(--s-24);
  max-width: 52ch;
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--c-ash);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-12);
  margin-block: var(--s-32) var(--s-24);
}

/* mockup finestra "command center" */
.window {
  border-radius: var(--r-card-lg);
  background: linear-gradient(180deg, #0b0c0e 0%, var(--c-ink) 100%);
  box-shadow: var(--shadow-window);
  padding: var(--s-8);
  overflow: hidden;
}
.window__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, .04);
  box-shadow: rgba(255, 255, 255, .06) 0 1px 0 0 inset;
}
.window__prompt { color: var(--c-smoke); display: inline-flex; }
.window__field { flex: 1; color: var(--c-smoke); font-size: 14px; }
.window__list { margin-top: 6px; }
.window__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  border-radius: var(--r-btn);
}
.window__row img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex: none;
}
.window__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ash);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-smoke);
  flex: none;
}
.window__row--active {
  background: var(--c-ember);
  box-shadow: rgba(255, 255, 255, .07) 0 1px 0 0 inset;
}
.window__row--active .window__name { color: var(--c-white); }
.window__row--active .window__meta { color: var(--c-coral); }
.window__foot {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-smoke);
  padding: 12px 10px 6px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  margin-top: 6px;
}

/* ------------------ 3. spotlight ------------------ */
.spotlight { border-top: 1px solid var(--c-border-soft); }
.spotlight__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  margin-bottom: var(--s-48);
}
.spotlight__shot {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-key);
  background: var(--c-ink);
}
.spotlight__shot img {
  width: 100%;
  aspect-ratio: 900 / 416;
  object-fit: cover;
}
.spotlight__shot--wide img { aspect-ratio: 900 / 320; }
.spotlight__body {
  display: grid;
  gap: var(--s-32);
  border-top: 1px solid var(--c-border-soft);
  padding-top: var(--s-40);
}
.block { max-width: 68ch; }
.block__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--c-smoke);
  margin-bottom: 10px;
}
.block__title {
  font-size: var(--text-heading-sm);
  font-weight: 500;
  margin-bottom: var(--s-12);
  letter-spacing: .1px;
}
.block p { color: var(--c-ash); line-height: 1.68; }
.block--verdict {
  max-width: none;
  background: var(--c-ink);
  border-radius: var(--r-card);
  padding: var(--s-24);
  box-shadow: var(--shadow-edge);
}
.block--verdict p:last-child { max-width: 78ch; }

.statrow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: var(--s-48);
  background: var(--c-border-soft);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-edge);
}
.statrow__item { background: var(--c-ink); padding: var(--s-24); }
.statrow dt {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--c-smoke);
}
.statrow__num {
  font-family: var(--font-num);
  font-size: var(--text-heading-sm);
  font-weight: 500;
  color: var(--c-white);
  margin-top: 6px;
  line-height: 1.15;
}
.spotlight__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-16);
  margin-top: var(--s-32);
}
.spotlight__disclosure { font-size: 13px; color: var(--c-smoke); max-width: 46ch; }

/* ------------------ 4. metodo ------------------ */
.method__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
}
.method__card { display: flex; flex-direction: column; }

/* ------------------ 5. catalogo ------------------ */
.catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
}
.gamecard {
  display: flex;
  flex-direction: column;
  padding: var(--s-8) var(--s-8) var(--s-24);
}
.gamecard__media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-obsidian);
}
.gamecard__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .4s ease, opacity .3s ease;
  opacity: .92;
}
.gamecard:hover .gamecard__media img { transform: scale(1.03); opacity: 1; }
.gamecard__head {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  padding: var(--s-16) var(--s-16) 0;
}
.gamecard__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
  box-shadow: rgba(255, 255, 255, .1) 0 0 0 1px;
}
.gamecard__title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1px;
  line-height: 1.3;
}
.gamecard__dev { font-size: 12px; color: var(--c-smoke); margin-top: 2px; }
.gamecard .rating { padding: var(--s-16) var(--s-16) 0; }
.gamecard__text {
  padding: var(--s-12) var(--s-16) 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ash);
}
.gamecard .taglist { padding: var(--s-16) var(--s-16) 0; }
.gamecard__btn { margin: var(--s-24) var(--s-16) 0; }

@media (min-width: 600px) {
  .gamecard__btn { margin-top: auto; }
  .gamecard .taglist { padding-bottom: var(--s-24); }
}

/* ------------------ 6. note tecniche ------------------ */
.notes__list {
  display: grid;
  gap: 1px;
  background: var(--c-border-soft);
  border-radius: var(--r-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-edge);
}
.notes__item {
  background: var(--c-ink);
  padding: var(--s-24);
  display: grid;
  gap: var(--s-8);
}
.notes__item dt .mono {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--r-badge);
  background: var(--c-graphite);
  color: var(--c-white);
}
.notes__item dd { color: var(--c-ash); font-size: 15px; line-height: 1.65; }

/* ------------------ 7. trasparenza ------------------ */
.transparency { border-top: 1px solid var(--c-border-soft); }
.transparency__grid { display: grid; gap: var(--s-40); }
.transparency__copy .section__title { margin-top: var(--s-12); }
.checklist { display: grid; gap: var(--s-12); margin-top: var(--s-32); }
.checklist li {
  display: flex;
  gap: var(--s-12);
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-ash);
}
.checklist__ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 99999px;
  background: var(--c-obsidian);
  color: var(--c-mist);
  box-shadow: rgba(255, 255, 255, .07) 0 0 0 1px inset;
  margin-top: 1px;
}
.transparency__link { margin-top: var(--s-24); font-size: 15px; }
.transparency__figure {
  margin: 0;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-key);
  background: var(--c-ink);
}
.transparency__figure img { width: 100%; aspect-ratio: 7 / 4; object-fit: cover; }
.transparency__figure figcaption {
  padding: var(--s-16);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--c-smoke);
  border-top: 1px solid var(--c-border-soft);
}

/* ------------------ 8. faq ------------------ */
.faq__list {
  display: grid;
  gap: 1px;
  background: var(--c-border-soft);
  border-radius: var(--r-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-edge);
}
.faq__item { background: var(--c-ink); }
.faq__q { margin: 0; font-size: inherit; }
.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-16);
  padding: var(--s-24);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--c-white);
  font-size: var(--text-body-lg);
  font-weight: 400;
  letter-spacing: .1px;
  transition: background-color .18s ease;
}
.faq__btn:hover { background: rgba(255, 255, 255, .03); }
.faq__chev {
  flex: none;
  display: inline-flex;
  color: var(--c-smoke);
  transition: transform .25s ease, color .25s ease;
}
.faq__btn[aria-expanded="true"] .faq__chev { transform: rotate(180deg); color: var(--c-mist); }
.faq__a { padding: 0 var(--s-24) var(--s-24); }
.faq__a p { color: var(--c-ash); font-size: 15px; line-height: 1.68; max-width: 74ch; }

/* ------------------ 9. voci ------------------ */
.voices__grid { display: grid; gap: var(--s-16); }
.voices__card { display: flex; flex-direction: column; gap: var(--s-16); }
.rating--sm .rating__stars { width: 78px; height: 15px; }
.rating--sm .rating__stars svg { width: 78px; height: 15px; }
.voices__quote {
  margin: 0;
  color: var(--c-mist);
  font-size: 16px;
  line-height: 1.65;
}
.voices__author { display: flex; align-items: center; gap: var(--s-12); margin-top: auto; }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 99999px;
  background: var(--c-graphite);
  color: var(--c-mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .5px;
  flex: none;
}
.voices__name { display: block; color: var(--c-white); font-size: 14px; font-weight: 500; }
.voices__role { display: block; font-size: 12px; color: var(--c-smoke); }

/* ------------------ 10. iscrizione ------------------ */
.subscribe { border-top: 1px solid var(--c-border-soft); }
.subscribe__grid { display: grid; gap: var(--s-40); }
.subscribe__copy .section__title { margin-top: var(--s-12); }
.subscribe__contact { margin-top: var(--s-24); font-size: 15px; color: var(--c-ash); }
.subscribe__note { margin-top: var(--s-12); font-size: 13px; color: var(--c-smoke); }

.subscribe__form {
  border-radius: var(--r-card-lg);
  background: var(--c-ink);
  box-shadow: var(--shadow-key);
  padding: var(--s-24);
  display: grid;
  gap: var(--s-16);
  align-content: start;
}
.field { display: grid; gap: 6px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--c-mist); letter-spacing: .14px; }
.field__opt { color: var(--c-smoke); font-weight: 400; }
.field__input {
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--r-input);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, .05);
  color: var(--c-white);
  font-family: inherit;
  font-size: 16px;
  transition: border-color .18s ease, background-color .18s ease;
}
.field__input::placeholder { color: var(--c-smoke); }
.field__input:hover { background: rgba(255, 255, 255, .07); }
.field__input:focus { border-color: var(--c-border); outline: none; background: var(--c-obsidian); }
.field__input:focus-visible { outline: 2px solid var(--c-mist); outline-offset: 2px; }
.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 4px;
}
.field__check {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--c-mist);
  flex: none;
}
.field__label--inline { font-weight: 400; color: var(--c-ash); line-height: 1.5; }
.field--check .field__error { grid-column: 1 / -1; }
.field__error { font-size: 12px; color: var(--c-coral); }

.successmsg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: var(--s-16);
  border-radius: var(--r-btn);
  background: var(--c-ember);
  color: var(--c-mist);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: rgba(255, 255, 255, .08) 0 1px 0 0 inset;
}
.successmsg__ico { color: var(--c-coral); flex: none; margin-top: 2px; }

/* ------------------ 11. footer ------------------ */
.footer {
  border-top: 1px solid var(--c-border-soft);
  padding-block: var(--s-56) var(--s-32);
  background: var(--c-void);
}
.footer__grid { display: grid; gap: var(--s-32); }
.logo--footer { margin-bottom: var(--s-16); }
.footer__tagline { font-size: 14px; color: var(--c-smoke); max-width: 34ch; line-height: 1.6; }
.footer__title {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--c-smoke);
  font-weight: 400;
  margin-bottom: var(--s-16);
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 14px; color: var(--c-ash); transition: color .18s ease; }
.footer__col a:hover { color: var(--c-white); }
.footer__mail a { font-size: 14px; color: var(--c-mist); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-iron); }
.footer__mail a:hover { color: var(--c-white); }
.footer__small { margin-top: 10px; font-size: 13px; color: var(--c-smoke); }
.footer__meta { margin-top: var(--s-40); padding-top: var(--s-24); border-top: 1px solid var(--c-border-soft); }

/* ------------------ utilità flottanti ------------------ */
.totop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 99999px;
  background: var(--c-mist);
  color: var(--c-iron);
  cursor: pointer;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}
.totop.is-visible { opacity: 1; transform: translateY(0); }

.cookiebar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-16);
  padding: var(--s-16);
  border-radius: var(--r-card);
  background: rgba(7, 8, 10, .92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-key);
}
.cookiebar__text { font-size: 13px; color: var(--c-ash); line-height: 1.55; flex: 1 1 260px; }
.cookiebar__actions { display: flex; gap: var(--s-8); margin-left: auto; }

/* ------------------ pagine legali ------------------ */
.legal { padding-block: var(--s-56) var(--s-80); }
.legal__head { max-width: 780px; }
.legal__title { font-size: clamp(30px, 6vw, 44px); letter-spacing: .1px; margin-top: var(--s-12); }
.legal__updated { margin-top: var(--s-16); font-family: var(--font-mono); font-size: 12px; color: var(--c-smoke); }
.legal__back { margin-top: var(--s-24); }
.legal__body {
  max-width: 780px;
  margin-top: var(--s-48);
  display: grid;
  gap: var(--s-32);
}
.legal__body h2 {
  font-size: var(--text-heading-sm);
  font-weight: 500;
  letter-spacing: .1px;
  margin-bottom: var(--s-12);
}
.legal__body h3 {
  font-size: var(--text-body-lg);
  font-weight: 500;
  margin-top: var(--s-24);
  margin-bottom: var(--s-8);
}
.legal__body p { color: var(--c-ash); line-height: 1.7; margin-bottom: var(--s-12); }
.legal__body ul { display: grid; gap: 10px; margin-top: var(--s-12); }
.legal__body ul li {
  position: relative;
  padding-left: 18px;
  color: var(--c-ash);
  line-height: 1.65;
}
.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--c-iron);
}
.legal__section { border-top: 1px solid var(--c-border-soft); padding-top: var(--s-32); }
.legal__section:first-child { border-top: 0; padding-top: 0; }
.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s-16);
  font-size: 14px;
}
.legal__table th, .legal__table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-border-soft);
  vertical-align: top;
  color: var(--c-ash);
}
.legal__table th {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--c-smoke);
  font-weight: 400;
}
.legal__tablewrap { overflow-x: auto; border-radius: var(--r-card); box-shadow: var(--shadow-edge); }

/* ------------------ breakpoint ------------------ */
@media (max-width: 1023px) {
  .topbar__nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: var(--s-8);
    border-radius: var(--r-card);
    border: 1px solid var(--c-border);
    background: rgba(7, 8, 10, .96);
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
  }
  .topbar__nav.is-open { display: flex; }
  .topbar__nav .topbar__link {
    display: block;
    padding: 11px 12px;
    border-radius: var(--r-btn);
    font-size: 15px;
  }
  .topbar__nav .topbar__link:hover { background: rgba(255, 255, 255, .05); }
  .topbar__burger { display: inline-flex; }
  .topbar__cta { display: none; }
}

@media (min-width: 600px) {
  .shell, .topbar__shell { padding-inline: 24px; }
  .spotlight__grid { grid-template-columns: repeat(6, 1fr); }
  .spotlight__shot { grid-column: span 2; }
  .spotlight__shot--wide { grid-column: span 6; }
  .method__grid { grid-template-columns: 1fr 1fr; }
  .catalog__grid { grid-template-columns: 1fr 1fr; }
  .voices__grid { grid-template-columns: 1fr 1fr; }
  .statrow { grid-template-columns: repeat(4, 1fr); }
  .notes__list { grid-template-columns: 1fr 1fr; }
  .totop { right: 24px; bottom: 24px; }
}

@media (min-width: 1024px) {
  .section { padding-block: var(--s-64); }
  .section__head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-48); align-items: end; }
  .hero { padding-block: var(--s-56) var(--s-96); }
  .hero__shell { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: var(--s-56); align-items: center; }
  .hero__title { line-height: 1.02; }
  .spotlight__body { grid-template-columns: 1fr 1fr; column-gap: var(--s-64); row-gap: var(--s-40); }
  .block--verdict { grid-column: 1 / -1; }
  .method__grid { grid-template-columns: repeat(4, 1fr); }
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
  .voices__grid { grid-template-columns: repeat(3, 1fr); }
  .transparency__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-64); align-items: center; }
  .subscribe__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: var(--s-64); align-items: start; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--s-48); }
  .cookiebar { left: auto; right: 24px; bottom: 24px; max-width: 520px; }
  .notes__list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .hero__title { font-size: var(--text-heading-lg); }
}

/* offset per l'ancoraggio sotto la testata fissa */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
