/* ActionShore — recensioni di giochi arcade casual gratuiti
   Design system ispirato al tema "blacklight terminal": canvas onice,
   bordi hairline, un solo accento lime, tipografia monospace. */

:root {
  --onyx: #0a0a0a;
  --carbon: #18181b;
  --carbon-2: #1f1f23;
  --hairline: #27272a;
  --smoke: #3b3b3b;
  --white: #ffffff;
  --steel: #9d9d9d;
  --ash: #6c6c6c;
  --lime: #faff00;

  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --font-display: "Tomorrow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;

  --sp-8: 8px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;

  --r-6: 6px;
  --r-12: 12px;
  --r-full: 9999px;

  --container: 1200px;
  --header-h: 60px;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--onyx);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  word-break: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; margin: 0; line-height: 1.15; }

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

.section { padding-block: var(--sp-64); border-top: 1px solid var(--hairline); }
.section--flush { border-top: 0; }

.section__eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 var(--sp-16);
}
.section__title { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.01em; }
.section__lead { color: var(--steel); max-width: 62ch; margin-top: var(--sp-16); font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: var(--r-6);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--lime); color: #000; border-color: var(--lime); }
.btn--primary:hover { background: #e2e600; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--smoke); background: var(--carbon); }
.btn__ic { width: 16px; height: 16px; flex: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 2px;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header__bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-24);
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 20px;
  color: var(--white);
}
.logo__accent { color: var(--lime); }
.header__nav { display: flex; align-items: center; gap: var(--sp-24); }
.header__links { display: flex; gap: var(--sp-24); list-style: none; margin: 0; padding: 0; }
.header__links a { font-size: 13px; color: var(--steel); transition: color .15s ease; }
.header__links a:hover { color: var(--white); }
.header__cta { display: inline-flex; }
.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--hairline); border-radius: var(--r-6);
  color: var(--white); cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .header__cta { display: none; }
  .burger { display: inline-flex; }
  .header__nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--onyx); border-bottom: 1px solid var(--hairline);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--sp-8) var(--sp-24) var(--sp-24);
    transform: translateY(-140%); transition: transform .22s ease; visibility: hidden;
  }
  .header__nav.is-open { transform: translateY(0); visibility: visible; }
  .header__links { flex-direction: column; gap: 0; }
  .header__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; }
  .header__nav .btn { margin-top: var(--sp-16); justify-content: center; display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-top: 0; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.82) 42%, rgba(10,10,10,.55) 100%),
    linear-gradient(0deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.2) 60%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(72px, 12vw, 128px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--sp-8);
  border: 1px solid var(--hairline); background: rgba(24,24,27,.6);
  border-radius: var(--r-full); padding: 6px 14px; font-size: 12px; color: var(--steel);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--sp-24);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; }
.hero__title {
  font-size: clamp(34px, 6.5vw, 68px);
  letter-spacing: -.02em; max-width: 16ch;
}
.hero__title em { font-style: normal; color: var(--lime); }
.hero__sub { color: var(--steel); font-size: clamp(15px, 2.2vw, 18px); max-width: 54ch; margin-top: var(--sp-24); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-16); margin-top: var(--sp-32); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-24); margin-top: var(--sp-40); color: var(--ash); font-size: 12px; }
.hero__meta b { color: var(--white); font-weight: 500; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-12); overflow: hidden; }
.stats__cell { background: var(--onyx); padding: var(--sp-24); }
.stats__num { font-family: var(--font-display); font-size: clamp(24px, 4vw, 34px); color: var(--white); }
.stats__num span { color: var(--lime); }
.stats__label { color: var(--steel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Star (featured game) ---------- */
.star__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-24); }
.star__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-40); margin-top: var(--sp-40); align-items: start; }
@media (max-width: 900px) { .star__grid { grid-template-columns: 1fr; } }
.star__id { display: flex; gap: var(--sp-16); align-items: center; }
.star__icon { width: 72px; height: 72px; border-radius: var(--r-12); border: 1px solid var(--hairline); }
.star__name { font-family: var(--font-display); font-size: 26px; }
.star__dev { color: var(--steel); font-size: 13px; margin-top: 4px; }
.star__lead { color: var(--white); font-size: 16px; margin-top: var(--sp-24); }
.star__block { margin-top: var(--sp-24); }
.star__block h3 { font-size: 16px; color: var(--white); margin-bottom: var(--sp-8); }
.star__block p { color: var(--steel); margin: 0; }
.star__facts { list-style: none; margin: var(--sp-24) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-12); overflow: hidden; }
.star__facts li { background: var(--onyx); padding: 14px 16px; }
.star__facts dt { color: var(--ash); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.star__facts dd { margin: 4px 0 0; font-size: 15px; color: var(--white); }
.star__facts dd b { color: var(--lime); font-weight: 500; }
.star__actions { margin-top: var(--sp-24); display: flex; flex-wrap: wrap; gap: var(--sp-16); align-items: center; }
.star__shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); }
.star__shot { position: relative; padding-top: 158%; border: 1px solid var(--hairline); border-radius: var(--r-12); overflow: hidden; background: var(--carbon); }
.star__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.star__note { color: var(--ash); font-size: 12px; margin-top: var(--sp-16); }

/* ---------- Stars rating (SVG) ---------- */
.stars { display: inline-flex; align-items: center; gap: var(--sp-8); }
.stars svg { width: 92px; height: 18px; flex: none; }
.stars__val { font-size: 13px; color: var(--white); }
.stars__count { font-size: 12px; color: var(--ash); }

/* ---------- Games — bento mosaic ---------- */
.games { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; gap: var(--sp-16); margin-top: var(--sp-40); }
.g-w2 { grid-column: span 2; }
.g-w4 { grid-column: span 4; }
.g-w6 { grid-column: span 6; }
@media (max-width: 1080px) {
  .games { grid-template-columns: repeat(4, 1fr); }
  .g-w2 { grid-column: span 2; }
  .g-w4 { grid-column: span 4; }
  .g-w6 { grid-column: span 4; }
}
@media (max-width: 560px) {
  .games { grid-template-columns: 1fr; }
  .g-w2, .g-w4, .g-w6 { grid-column: span 1; }
}
.card {
  background: var(--onyx); border: 1px solid var(--hairline); border-radius: var(--r-12);
  padding: var(--sp-16); display: flex; flex-direction: column; gap: var(--sp-16);
  transition: border-color .15s ease, background .15s ease;
}
.card:hover { border-color: var(--smoke); background: var(--carbon); }
.card__top { display: flex; gap: var(--sp-16); align-items: center; }
.card__icon { width: 56px; height: 56px; border-radius: var(--r-12); border: 1px solid var(--hairline); flex: none; }
.card__name { font-family: var(--font-display); font-size: 16px; line-height: 1.2; }
.card__dev { color: var(--ash); font-size: 12px; margin-top: 4px; }
.card__desc { color: var(--steel); font-size: 13px; line-height: 1.5; margin: 0; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); margin-top: auto; }
.card__tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); border: 1px solid var(--hairline); border-radius: var(--r-full); padding: 3px 10px; }
.card .btn { width: 100%; justify-content: center; }

/* ---------- Bento: tessere larghe (feature + banner) ---------- */
.card--wide { display: grid; grid-template-columns: minmax(180px, 36%) 1fr; gap: var(--sp-24); padding: var(--sp-24); }
.card__side { display: flex; flex-direction: column; gap: var(--sp-16); border-right: 1px solid var(--hairline); padding-right: var(--sp-24); }
.card__main { display: flex; flex-direction: column; gap: var(--sp-16); min-width: 0; }
.card--wide .card__icon { width: 64px; height: 64px; }
.card--wide .card__name { font-size: 19px; }
.card--wide .card__desc { font-size: 14px; flex: 0 1 auto; }
.card--wide .btn { width: auto; align-self: flex-start; justify-content: flex-start; }
.card--banner .card__icon { width: 76px; height: 76px; }
.card--banner .card__name { font-size: 22px; }
.card__badge { align-self: flex-start; font-family: var(--font-display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #000; background: var(--lime); border-radius: var(--r-full); padding: 3px 11px; }
.card__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.card__points li { font-size: 12px; color: var(--steel); border: 1px solid var(--hairline); border-radius: var(--r-full); padding: 4px 11px; }
@media (max-width: 720px) {
  .card--wide { grid-template-columns: 1fr; padding: var(--sp-16); }
  .card__side { border-right: 0; border-bottom: 1px solid var(--hairline); padding-right: 0; padding-bottom: var(--sp-16); }
  .card--wide .btn { width: 100%; justify-content: center; }
}

/* ---------- Editoriale: 5 motivi ---------- */
.reasons { margin-top: var(--sp-40); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-16); }
.reason { border: 1px solid var(--hairline); border-radius: var(--r-12); background: var(--onyx); padding: var(--sp-24); display: grid; grid-template-columns: auto 1fr; gap: var(--sp-16) var(--sp-24); align-items: start; }
.reason:last-child { grid-column: 1 / -1; }
.reason__n { font-family: var(--font-display); font-size: 26px; color: var(--lime); line-height: 1; grid-row: span 2; }
.reason h3 { font-size: 17px; align-self: center; }
.reason p { grid-column: 2; color: var(--steel); font-size: 14px; margin: 0; }
@media (max-width: 720px) { .reasons { grid-template-columns: 1fr; } .reason:last-child { grid-column: auto; } }

/* ---------- Curiosità rapide (fatti) ---------- */
.facts { margin-top: var(--sp-40); display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; gap: var(--sp-16); }
.fact { border: 1px solid var(--hairline); border-radius: var(--r-12); background: var(--onyx); padding: var(--sp-24); grid-column: span 2; }
.fact--w6 { grid-column: span 6; }
.fact--w3 { grid-column: span 3; }
.fact__k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--lime); }
.fact p { margin: var(--sp-8) 0 0; color: var(--steel); font-size: 14px; line-height: 1.55; }
.fact--w6 p { font-size: 16px; color: var(--white); max-width: 70ch; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact, .fact--w3 { grid-column: span 1; }
  .fact--w6 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact--w3, .fact--w6 { grid-column: span 1; }
}

/* ---------- Firma redazionale ---------- */
.byline { margin-top: var(--sp-16); color: var(--ash); font-size: 12px; letter-spacing: .03em; }
.byline b { color: var(--steel); font-weight: 500; }
.byline .byline__dot { color: var(--smoke); margin: 0 6px; }

/* ---------- Header di sezione compatto ---------- */
.stats { margin-top: var(--sp-40); }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); margin-top: var(--sp-40); }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; } }
.trust__item { border: 1px solid var(--hairline); border-radius: var(--r-12); padding: var(--sp-24); background: var(--onyx); }
.trust__ic { width: 28px; height: 28px; color: var(--lime); margin-bottom: var(--sp-16); }
.trust__item h3 { font-size: 17px; margin-bottom: var(--sp-8); }
.trust__item p { color: var(--steel); font-size: 14px; margin: 0; }

/* ---------- Earn ---------- */
.earn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-40); align-items: center; }
@media (max-width: 900px) { .earn { grid-template-columns: 1fr; } }
.earn__list { list-style: none; margin: var(--sp-24) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-16); }
.earn__list li { display: flex; gap: var(--sp-16); }
.earn__num { font-family: var(--font-display); color: var(--lime); font-size: 14px; border: 1px solid var(--hairline); border-radius: var(--r-6); min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.earn__list b { color: var(--white); font-weight: 500; }
.earn__list p { margin: 4px 0 0; color: var(--steel); font-size: 14px; }
.earn__panel { border: 1px solid var(--hairline); border-radius: var(--r-12); background: var(--onyx); padding: var(--sp-24); }
.earn__panel h3 { font-size: 18px; margin-bottom: var(--sp-16); }
.earn__panel p { color: var(--steel); font-size: 14px; }
.earn__panel a { color: var(--lime); border-bottom: 1px solid transparent; }
.earn__panel a:hover { border-color: var(--lime); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); margin-top: var(--sp-40); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--hairline); border-radius: var(--r-12); padding: var(--sp-24); background: var(--onyx); }
.step__n { font-family: var(--font-display); font-size: 13px; color: var(--ash); letter-spacing: .1em; }
.step h3 { font-size: 17px; margin: var(--sp-16) 0 var(--sp-8); }
.step p { color: var(--steel); font-size: 14px; margin: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); margin-top: var(--sp-40); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review { border: 1px solid var(--hairline); border-radius: var(--r-12); padding: var(--sp-24); background: var(--onyx); display: flex; flex-direction: column; gap: var(--sp-16); }
.review__quote { color: var(--white); font-size: 15px; margin: 0; }
.review__author { display: flex; align-items: center; gap: var(--sp-16); margin-top: auto; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--carbon-2); border: 1px solid var(--hairline); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 14px; color: var(--lime); flex: none; }
.review__name { font-size: 14px; color: var(--white); }
.review__role { font-size: 12px; color: var(--ash); }

/* ---------- Subscribe ---------- */
.subscribe { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-40); align-items: start; }
@media (max-width: 900px) { .subscribe { grid-template-columns: 1fr; } }
.form { border: 1px solid var(--hairline); border-radius: var(--r-12); background: var(--onyx); padding: var(--sp-24); }
.field { margin-bottom: var(--sp-16); }
.field label { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-bottom: var(--sp-8); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; background: var(--onyx); border: 1px solid var(--smoke); border-radius: var(--r-6);
  color: var(--white); font-family: var(--font-mono); font-size: 14px; padding: 11px 14px;
}
.field input::placeholder { color: var(--ash); }
.field input:focus { border-color: var(--lime); outline: none; }
.consent { display: flex; gap: var(--sp-16); align-items: flex-start; margin-bottom: var(--sp-16); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--lime); flex: none; }
.consent label { font-size: 13px; color: var(--steel); text-transform: none; letter-spacing: 0; }
.consent a { color: var(--lime); }
.form .btn { width: 100%; justify-content: center; }
.form__success {
  display: none; margin-top: var(--sp-16); border: 1px solid var(--lime);
  border-radius: var(--r-6); padding: 14px 16px; color: var(--white); font-size: 14px;
  background: rgba(250,255,0,.06);
}
.form__success.is-visible { display: block; }
.subscribe__aside h2 { margin-bottom: var(--sp-16); }
.subscribe__aside ul { list-style: none; padding: 0; margin: var(--sp-24) 0 0; display: flex; flex-direction: column; gap: var(--sp-16); }
.subscribe__aside li { display: flex; gap: var(--sp-16); color: var(--steel); font-size: 14px; }
.subscribe__aside svg { width: 18px; height: 18px; color: var(--lime); flex: none; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--sp-40); border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  color: var(--white); font-family: var(--font-display); font-size: 17px;
  padding: var(--sp-24) 0; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-16);
}
.faq__q .sign { width: 18px; height: 18px; color: var(--lime); flex: none; transition: transform .2s ease; }
.faq__item.is-open .faq__q .sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a p { color: var(--steel); font-size: 14px; margin: 0 0 var(--sp-24); max-width: 68ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hairline); background: var(--onyx); padding-block: var(--sp-48); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-40); }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: var(--sp-32); } }
.footer__brand p { color: var(--steel); font-size: 13px; margin: var(--sp-16) 0 0; max-width: 40ch; }
.footer__col h4 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); margin-bottom: var(--sp-16); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--steel); font-size: 14px; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-16); margin-top: var(--sp-40); padding-top: var(--sp-24); border-top: 1px solid var(--hairline); color: var(--ash); font-size: 12px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 44px; height: 44px; border-radius: var(--r-6);
  background: var(--carbon); border: 1px solid var(--hairline); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease, border-color .15s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { border-color: var(--lime); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60;
  max-width: 720px; margin-inline: auto;
  background: var(--carbon); border: 1px solid var(--hairline); border-radius: var(--r-12);
  padding: var(--sp-24); display: none; gap: var(--sp-16); align-items: center; flex-wrap: wrap;
}
.cookie.is-visible { display: flex; }
.cookie p { margin: 0; color: var(--steel); font-size: 13px; flex: 1; min-width: 240px; }
.cookie p a { color: var(--lime); }
.cookie__actions { display: flex; gap: var(--sp-16); }

/* ---------- Legal pages ---------- */
.legal { padding-block: var(--sp-48); }
.legal__head { border-bottom: 1px solid var(--hairline); padding-bottom: var(--sp-24); margin-bottom: var(--sp-32); }
.legal__updated { color: var(--ash); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-top: var(--sp-16); }
.legal h1 { font-size: clamp(28px, 5vw, 44px); }
.legal h2 { font-size: 20px; margin: var(--sp-40) 0 var(--sp-16); color: var(--white); }
.legal p, .legal li { color: var(--steel); font-size: 14px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--lime); }
.back-home { display: inline-flex; margin-bottom: var(--sp-32); }

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