/* SpeedRunPlaza — editorial dark theme (Lama Lama DNA)
   Ice-cyan foreground on near-black void, Swiss grotesque, weight 300 headlines,
   hairline underlined links, 15px media radius, single inverted closing panel. */

:root {
  --void: #020203;
  --carbon: #111314;
  --carbon-2: #171a1c;
  --ice: #d7f3f5;
  --ice-dim: rgba(215, 243, 245, 0.66);
  --ice-mute: rgba(215, 243, 245, 0.44);
  --ice-faint: rgba(215, 243, 245, 0.22);
  --line: rgba(215, 243, 245, 0.16);
  --line-strong: rgba(215, 243, 245, 0.30);
  --brand-dim: #7fb4b8;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Inter, Roboto, Arial, sans-serif;
  --font-logo: "Georgia", "Times New Roman", "Iowan Old Style", serif;

  --w-light: 300;
  --w-reg: 400;
  --w-med: 500;

  --r-card: 15px;
  --r-btn: 8px;

  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-20: 20px;
  --s-28: 28px; --s-40: 40px; --s-48: 48px; --s-60: 60px; --s-64: 64px;
  --s-80: 80px; --s-100: 100px; --s-120: 120px;

  --container: 1200px;
  --gutter: 40px;
}

* { box-sizing: border-box; }

html { 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(--void);
  color: var(--ice);
  font-family: var(--font);
  font-weight: var(--w-reg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

/* Icon safety net: inline SVGs default to a small size so a missing
   size rule can never balloon to the 300x150 SVG default. Class and
   descendant rules below override this with exact dimensions. */
svg { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.sprite { width: 0; height: 0; }

a { color: inherit; }

::selection { background: var(--ice); color: var(--carbon); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

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

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--s-100); }
.section--tight { padding-block: var(--s-80); }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-20);
  flex-wrap: wrap;
  margin-bottom: var(--s-48);
}
.section__eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice-mute);
  margin-bottom: var(--s-16);
}
.section__title {
  font-weight: var(--w-light);
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 22ch;
}
.section__intro {
  color: var(--ice-dim);
  font-size: 17px;
  max-width: 62ch;
  margin: var(--s-20) 0 0;
}
.section__link {
  font-size: 14px;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--ice);
  padding-bottom: 2px;
  white-space: nowrap;
}
.section__link:hover { color: var(--brand-dim); border-color: var(--brand-dim); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  font-size: 15px;
  font-weight: var(--w-reg);
  letter-spacing: 0.01em;
  padding: 13px 24px;
  border-radius: var(--r-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--primary {
  border: 1px solid var(--ice);
  color: var(--ice);
  background: transparent;
}
.btn--primary:hover { background: var(--ice); color: var(--carbon); }
.btn--solid {
  border: 1px solid var(--ice);
  background: var(--ice);
  color: var(--carbon);
}
.btn--solid:hover { background: transparent; color: var(--ice); }
.btn__ico { width: 17px; height: 17px; }

.tlink {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: border-color .2s;
}
.tlink:hover { border-color: var(--ice); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 2, 3, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo {
  font-family: var(--font-logo);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 19px;
  font-weight: var(--w-reg);
  color: var(--brand-dim);
  text-decoration: none;
  white-space: nowrap;
}
.logo__accent { color: var(--ice); }

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-28);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  font-size: 14px;
  color: var(--ice-dim);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__link:hover { color: var(--ice); border-color: var(--ice); }
.nav__link--cta { color: var(--ice); border-color: var(--line-strong); }

.header__burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  color: var(--ice);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.header__burger svg { width: 22px; height: 22px; }
.header__burger .ic-x { display: none; }
.header__burger.is-open .ic-hamburger { display: none; }
.header__burger.is-open .ic-x { display: inline; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2,2,3,0.55) 0%, rgba(2,2,3,0.25) 34%, rgba(2,2,3,0.78) 82%, rgba(2,2,3,0.96) 100%),
    linear-gradient(90deg, rgba(2,2,3,0.72) 0%, rgba(2,2,3,0.30) 55%, rgba(2,2,3,0) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--s-80) var(--s-100);
  width: 100%;
}
.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ice-dim);
  margin-bottom: var(--s-28);
}
.hero__title {
  font-weight: var(--w-light);
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16ch;
}
.hero__accent {
  border-bottom: 2px solid var(--ice);
  padding-bottom: 2px;
}
.hero__lead {
  margin: var(--s-40) 0 0;
  max-width: 54ch;
  font-size: 18px;
  color: var(--ice-dim);
  columns: 2;
  column-gap: var(--s-48);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-16);
  align-items: center;
  margin-top: var(--s-48);
}
.hero__note {
  font-size: 13px;
  color: var(--ice-mute);
}

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-40);
  padding-block: var(--s-64);
}
.stat__num {
  font-weight: var(--w-light);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: var(--s-12);
  font-size: 14px;
  color: var(--ice-mute);
  max-width: 22ch;
}

/* ---------- Rating stars ---------- */
.rating { display: inline-flex; align-items: center; gap: var(--s-8); }
.rating__stars { position: relative; display: inline-block; line-height: 0; }
.rating__base, .rating__fill { display: inline-flex; }
.rating__base { color: var(--ice-faint); }
.rating__fill {
  position: absolute; inset: 0; overflow: hidden;
  color: var(--ice); white-space: nowrap;
}
.rating__star { width: 15px; height: 15px; }
.rating__value { font-size: 14px; color: var(--ice-dim); }

/* ---------- Featured top game ---------- */
.featured { border-bottom: 1px solid var(--line); }
.featured__top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-64);
  align-items: center;
}
.featured__media {
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--carbon);
  aspect-ratio: 16 / 10;
}
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--ice);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: var(--s-20);
}
.featured__name {
  font-weight: var(--w-light);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-16);
}
.featured__meta {
  display: flex;
  align-items: center;
  gap: var(--s-20);
  flex-wrap: wrap;
  color: var(--ice-dim);
  font-size: 14px;
  margin-bottom: var(--s-28);
  padding-bottom: var(--s-28);
  border-bottom: 1px solid var(--line);
}
.featured__lead { color: var(--ice-dim); font-size: 17px; margin: 0 0 var(--s-28); }
.featured__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-20) var(--s-40);
  margin: 0 0 var(--s-40);
  padding: 0;
  list-style: none;
}
.featured__fact { font-size: 15px; }
.featured__fact strong {
  display: block;
  font-weight: var(--w-reg);
  color: var(--ice);
  margin-bottom: 2px;
}
.featured__fact span { color: var(--ice-mute); font-size: 13px; }

.detail {
  margin-top: var(--s-80);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-64);
  align-items: start;
}
.detail__block h3 {
  font-weight: var(--w-med);
  font-size: 15px;
  letter-spacing: 0.02em;
  margin: 0 0 var(--s-12);
}
.detail__block p { color: var(--ice-dim); margin: 0 0 var(--s-28); }
.detail__list { list-style: none; padding: 0; margin: 0; }
.detail__list li {
  display: flex; gap: var(--s-12);
  padding: var(--s-12) 0;
  border-top: 1px solid var(--line);
  color: var(--ice-dim);
}
.detail__list li:last-child { border-bottom: 1px solid var(--line); }
.detail__list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ice); margin-top: 2px; }

.shots {
  margin-top: var(--s-80);
}
.shots__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-20);
}
.shots__grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-card);
  background: var(--carbon);
}

/* ---------- Byline (editorial signature) ---------- */
.byline {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  margin-top: var(--s-40);
  padding-top: var(--s-20);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ice-mute);
}
.byline strong { font-weight: var(--w-reg); color: var(--ice-dim); }
.byline__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ice-mute); }

/* ---------- Record tips ---------- */
.record { border-bottom: 1px solid var(--line); }
.record__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--s-64);
  align-items: start;
}
.record__lead p { color: var(--ice-dim); font-size: 17px; margin: 0 0 var(--s-20); }
.record__aside { font-size: 13px; color: var(--ice-mute); }
.tips { list-style: none; margin: 0; padding: 0; counter-reset: tip; }
.tips__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-20);
  padding: var(--s-28) 0;
  border-top: 1px solid var(--line);
}
.tips__item:last-child { border-bottom: 1px solid var(--line); }
.tips__num {
  counter-increment: tip;
  font-family: var(--font-logo);
  font-size: 22px;
  color: var(--brand-dim);
  line-height: 1;
  min-width: 2ch;
}
.tips__num::before { content: counter(tip, decimal-leading-zero); }
.tips__title { font-weight: var(--w-med); font-size: 17px; margin: 0 0 6px; }
.tips__text { color: var(--ice-dim); font-size: 15px; margin: 0; }

/* ---------- Carousel ---------- */
.catalog { border-bottom: 1px solid var(--line); }
.carousel { margin-top: var(--s-60); }
.carousel + .carousel { margin-top: var(--s-64); }
.carousel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-20);
  margin-bottom: var(--s-28);
}
.carousel__title {
  font-weight: var(--w-light);
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0;
}
.carousel__hint { font-size: 12px; color: var(--ice-mute); margin-left: var(--s-16); }
.carousel__controls { display: flex; gap: var(--s-12); }
.carousel__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ice);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.carousel__btn:hover { background: var(--ice); color: var(--carbon); border-color: var(--ice); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__track {
  display: flex;
  gap: var(--s-28);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: 0;
  padding-bottom: var(--s-16);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.carousel__track::-webkit-scrollbar { height: 6px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.carousel__track::-webkit-scrollbar-track { background: transparent; }
.carousel__track:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; border-radius: 4px; }
.carousel__track .card {
  flex: 0 0 clamp(280px, 78%, 500px);
  scroll-snap-align: start;
}
@media (min-width: 900px) {
  .carousel__track .card { flex-basis: clamp(400px, 42%, 500px); }
}

/* ---------- Novità del mese ---------- */
.novita { border-bottom: 1px solid var(--line); }
.novita__list { list-style: none; margin: 0; padding: 0; }
.novita__item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--s-40);
  padding: var(--s-40) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.novita__item:last-child { border-bottom: 1px solid var(--line); }
.novita__meta { display: flex; flex-direction: column; gap: var(--s-8); }
.novita__date { font-size: 13px; color: var(--ice-mute); font-variant-numeric: tabular-nums; }
.novita__tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--ice);
  padding: 4px 10px;
  border-radius: 999px;
}
.novita__title { font-weight: var(--w-med); font-size: 20px; margin: 0 0 var(--s-8); }
.novita__text { color: var(--ice-dim); font-size: 15.5px; margin: 0; max-width: 60ch; }

/* ---------- Game cards ---------- */
.card {
  background: var(--carbon);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--carbon-2);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--s-20) var(--s-20) var(--s-28); flex: 1; display: flex; flex-direction: column; }
.card__head { display: flex; align-items: center; gap: var(--s-12); margin-bottom: var(--s-12); }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
  background: var(--carbon-2);
}
.card__title { font-weight: var(--w-med); font-size: 18px; margin: 0; line-height: 1.2; }
.card__dev { font-size: 12px; color: var(--ice-mute); margin-top: 2px; }
.card__rating { margin-bottom: var(--s-12); }
.card__desc { color: var(--ice-dim); font-size: 14.5px; margin: 0 0 var(--s-20); flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); }
.card__tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice-mute); }
.card__link {
  font-size: 14px; color: var(--ice); text-decoration: none;
  border-bottom: 1px solid var(--ice); padding-bottom: 2px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card__link svg { width: 14px; height: 14px; }
.card__link:hover { color: var(--brand-dim); border-color: var(--brand-dim); }

/* ---------- Trust pillars ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-40);
}
.pillar { padding-top: var(--s-28); border-top: 1px solid var(--line-strong); }
.pillar__icon { width: 26px; height: 26px; color: var(--ice); margin-bottom: var(--s-20); }
.pillar__title { font-weight: var(--w-med); font-size: 19px; margin: 0 0 var(--s-12); }
.pillar__text { color: var(--ice-dim); font-size: 15px; margin: 0; }

/* ---------- Monetization ---------- */
.money { border-bottom: 1px solid var(--line); }
.money__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-64);
  align-items: start;
}
.money__list { list-style: none; margin: 0; padding: 0; }
.money__item { padding: var(--s-28) 0; border-top: 1px solid var(--line); }
.money__item:last-child { border-bottom: 1px solid var(--line); }
.money__item h3 { font-weight: var(--w-med); font-size: 18px; margin: 0 0 var(--s-8); }
.money__item p { color: var(--ice-dim); font-size: 15px; margin: 0; }
.disclosure {
  margin-top: var(--s-28);
  font-size: 13px;
  color: var(--ice-mute);
}

/* ---------- Reviews ---------- */
.reviews { border-bottom: 1px solid var(--line); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-28);
}
.review {
  background: var(--carbon);
  border-radius: var(--r-card);
  padding: var(--s-28);
  display: flex;
  flex-direction: column;
  gap: var(--s-20);
}
.review__stars { color: var(--ice); display: inline-flex; }
.review__stars svg { width: 15px; height: 15px; }
.review__quote { font-size: 16px; color: var(--ice); margin: 0; flex: 1; line-height: 1.5; }
.review__author { display: flex; align-items: center; gap: var(--s-12); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--carbon-2);
  border: 1px solid var(--line-strong);
  font-size: 14px; letter-spacing: 0.04em; color: var(--ice);
}
.review__name { font-size: 14px; color: var(--ice); }
.review__role { font-size: 12px; color: var(--ice-mute); }

/* ---------- Subscribe form ---------- */
.subscribe { border-bottom: 1px solid var(--line); }
.subscribe__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-64);
  align-items: start;
}
.form { display: grid; gap: var(--s-20); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-20); }
.form__field { display: grid; gap: var(--s-8); }
.form__label { font-size: 13px; color: var(--ice-dim); }
.form__input {
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  color: var(--ice);
  font-family: inherit;
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color .2s;
}
.form__input::placeholder { color: var(--ice-mute); }
.form__input:focus { outline: none; border-color: var(--ice); }
.form__check { display: flex; gap: var(--s-12); align-items: flex-start; font-size: 13px; color: var(--ice-dim); }
.form__check input {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--ice);
  flex-shrink: 0;
}
.form__check a { color: var(--ice); }
.form__actions { display: flex; align-items: center; gap: var(--s-20); flex-wrap: wrap; }
.form__msg {
  display: none;
  align-items: center;
  gap: var(--s-8);
  font-size: 14px;
  color: var(--ice);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-btn);
  padding: 12px 16px;
}
.form__msg.is-visible { display: inline-flex; }
.form__msg svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  color: var(--ice);
  font-family: inherit;
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: var(--w-light);
  text-align: left;
  padding: var(--s-28) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-20);
  cursor: pointer;
}
.faq__icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s; color: var(--ice-dim); }
.faq__item--open .faq__icon { transform: rotate(45deg); color: var(--ice); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__a-inner { padding-bottom: var(--s-28); color: var(--ice-dim); max-width: 74ch; }

/* ---------- Footer ---------- */
.footer { background: var(--void); }
.footer__cta {
  background: var(--ice);
  color: var(--carbon);
  padding-block: var(--s-80);
}
.footer__cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-40); flex-wrap: wrap; }
.footer__cta-title {
  font-weight: var(--w-med);
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--carbon);
}
.footer__cta-link {
  font-size: 16px;
  color: var(--carbon);
  text-decoration: none;
  border-bottom: 1px solid var(--carbon);
  padding-bottom: 2px;
}
.footer__bar { padding-block: var(--s-64); }
.footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-40);
}
.footer__brand { font-family: var(--font-logo); text-transform: uppercase; letter-spacing: 0.14em; font-size: 18px; color: var(--brand-dim); }
.footer__brand span { color: var(--ice); }
.footer__tagline { color: var(--ice-mute); font-size: 14px; margin-top: var(--s-16); max-width: 34ch; }
.footer__col-title { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice-mute); margin-bottom: var(--s-20); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-12); }
.footer__link { font-size: 14px; color: var(--ice-dim); text-decoration: none; }
.footer__link:hover { color: var(--ice); }
.footer__bottom {
  margin-top: var(--s-60);
  padding-top: var(--s-28);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: var(--s-20);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ice-mute);
}

/* ---------- Back to top ---------- */
.backtotop {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--carbon);
  border: 1px solid var(--line-strong);
  color: var(--ice);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 40;
}
.backtotop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.backtotop svg { width: 20px; height: 20px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 24px; right: 24px; bottom: 24px;
  z-index: 60;
  background: var(--carbon);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  padding: var(--s-20) var(--s-28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-28);
  flex-wrap: wrap;
  max-width: 760px;
  margin-inline: auto;
}
.cookie[hidden] { display: none; }
.cookie__text { font-size: 13.5px; color: var(--ice-dim); max-width: 52ch; }
.cookie__text a { color: var(--ice); }
.cookie__actions { display: flex; gap: var(--s-12); }
.cookie__btn {
  font-size: 14px;
  padding: 9px 18px;
  border-radius: var(--r-btn);
  border: 1px solid var(--ice);
  background: transparent;
  color: var(--ice);
  cursor: pointer;
}
.cookie__btn--accept { background: var(--ice); color: var(--carbon); }
.cookie__btn--reject { color: var(--ice-dim); border-color: var(--line); }

/* ---------- Legal pages ---------- */
.legal { padding-block: var(--s-64) var(--s-100); }
.legal__head { margin-bottom: var(--s-48); padding-bottom: var(--s-40); border-bottom: 1px solid var(--line); }
.legal__back { font-size: 14px; color: var(--ice-dim); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--s-28); }
.legal__back:hover { color: var(--ice); }
.legal__back svg { width: 16px; height: 16px; }
.legal__title { font-weight: var(--w-light); font-size: clamp(34px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 var(--s-16); }
.legal__updated { color: var(--ice-mute); font-size: 14px; }
.legal__body { max-width: 76ch; }
.legal__body h2 { font-weight: var(--w-light); font-size: 26px; margin: var(--s-60) 0 var(--s-16); }
.legal__body h3 { font-weight: var(--w-med); font-size: 17px; margin: var(--s-40) 0 var(--s-8); }
.legal__body p, .legal__body li { color: var(--ice-dim); font-size: 15.5px; }
.legal__body ul { padding-left: 20px; }
.legal__body li { margin-bottom: var(--s-8); }
.legal__body a { color: var(--ice); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .featured__top, .money__grid, .subscribe__grid, .record__grid { grid-template-columns: 1fr; gap: var(--s-40); }
  .detail { grid-template-columns: 1fr; gap: var(--s-40); }
  .trust__grid, .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .shots__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: var(--s-40); }
}

@media (max-width: 768px) {
  .section { padding-block: var(--s-80); }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--void);
    border-bottom: 1px solid var(--line);
    padding: var(--s-28) var(--gutter) var(--s-40);
    transform: translateY(-140%);
    transition: transform .35s ease;
    z-index: 45;
  }
  .nav.nav--open { transform: none; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: var(--s-20); }
  .header__burger { display: inline-flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-40) var(--s-28); }
  .hero__lead { columns: 1; }
  .footer__cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --gutter: 22px; }
  .trust__grid, .reviews__grid, .shots__grid { grid-template-columns: 1fr; }
  .novita__item { grid-template-columns: 1fr; gap: var(--s-16); padding: var(--s-28) 0; }
  .carousel__title { font-size: 21px; }
  .footer__cols { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .cookie { left: 14px; right: 14px; bottom: 14px; padding: var(--s-16) var(--s-20); }
}
