/* ==========================================================================
   Kompas Gracza — styles.css
   Motyw: Webflow (białe studio, czarny atrament, jeden niebieski akcent).
   Biały holst, near-black tekst, jedyny akcent #146ef5 (primary/linki/aktywne),
   karty 8px z hairline-border bez cienia, przyciski 4px, browser-frame mockupy.
   ========================================================================== */

:root {
  /* Kolory */
  --blue: #146ef5;         /* Webflow Blue — primary, aktywne, linki */
  --blue-deep: #1366e2;    /* hover primary */
  --mercury: #6ca7ff;      /* jasny niebieski na ciemnym tle */
  --mint: #60ed76;         /* zielony — tylko dekoracja w ilustracjach */
  --apricot: #ffa666;      /* pomarańczowy — tylko dekoracja */
  --ink: #080808;          /* Obsidian — tekst, nagłówki */
  --white: #ffffff;        /* holst, powierzchnie kart */
  --slate: #5a5a5a;        /* tekst drugorzędny */
  --border: #d8d8d8;       /* Ash Border — hairline */
  --smoke: #bdbdbd;
  --mist: #f0f0f0;         /* tło naprzemiennych sekcji */
  --onyx: #171717;         /* najciemniejsza powierzchnia — stopka */
  --charcoal: #292929;
  --ink-60: rgba(8, 8, 8, 0.60);
  --white-70: rgba(255, 255, 255, 0.70);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-14: rgba(255, 255, 255, 0.14);

  /* Typografia — jedna rodzina bezszeryfowa */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --fw-reg: 400;
  --fw-med: 500;
  --fw-semi: 600;

  /* Skala typograficzna */
  --t-caption: 13px;
  --t-body: 16px;
  --t-body-lg: 18px;
  --t-subhead: 20px;
  --t-h-sm: clamp(22px, 3vw, 24px);
  --t-h: clamp(28px, 5vw, 40px);
  --t-display: clamp(38px, 7vw, 56px);
  --t-display-xl: clamp(44px, 9vw, 80px);

  /* Odstępy (4px) */
  --s-4: 4px;   --s-8: 8px;   --s-12: 12px; --s-16: 16px; --s-24: 24px;
  --s-32: 32px; --s-40: 40px; --s-48: 48px; --s-64: 64px; --s-80: 80px;

  /* Układ */
  --page-max: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-pad: clamp(56px, 9vw, 88px);

  /* Promienie */
  --r-btn: 4px;
  --r-card: 8px;

  /* Cienie */
  --shadow-card: rgba(0,0,0,0.01) 0px 54px 22px 0px, rgba(0,0,0,0.04) 0px 30px 18px 0px, rgba(0,0,0,0.08) 0px 13px 13px 0px, rgba(0,0,0,0.09) 0px 3px 7px 0px;
  --shadow-frame: rgba(0,0,0,0.02) 0px 67px 27px 0px, rgba(0,0,0,0.06) 0px 38px 23px 0px, rgba(0,0,0,0.1) 0px 17px 17px 0px, rgba(0,0,0,0.12) 0px 4px 9px 0px;

  --header-h: 64px;
}

/* --------------------------------------------------------------------------
   Reset / bazowe
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.u-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;
}
.u-skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: var(--white);
  padding: 12px 20px; border-radius: var(--r-btn);
  font-size: var(--t-caption); font-weight: var(--fw-med); text-decoration: none;
  transition: top 0.2s ease;
}
.u-skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   Kontener / sekcje
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section--tight { padding-block: clamp(48px, 7vw, 72px); }
.section--tinted { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--white); }

/* Nagłówek sekcji (eyebrow + tytuł + lead) */
.eyebrow {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-16);
  margin-bottom: var(--s-16);
}
.eyebrow__label {
  font-size: var(--t-caption); font-weight: var(--fw-med);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate);
}
.section--ink .eyebrow__label { color: var(--mercury); }
.eyebrow__count {
  font-size: var(--t-caption); font-weight: var(--fw-med);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--smoke);
}
.section__title {
  font-weight: var(--fw-semi);
  font-size: var(--t-h);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-16);
  max-width: 22ch;
}
.section__lead {
  font-size: var(--t-body-lg);
  color: var(--slate);
  max-width: 60ch;
  margin: 0 0 var(--s-48);
}
.section--ink .section__lead { color: var(--white-70); }

/* --------------------------------------------------------------------------
   Przyciski / linki
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-8);
  font-size: var(--t-body); font-weight: var(--fw-med);
  padding: 13px 20px; border-radius: var(--r-btn);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { background: var(--mist); }
.btn--block { width: 100%; }
/* aliasy używane w formularzu / cookie */
.btn--on-ink { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--on-ink:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--ghost-ink { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost-ink:hover { background: var(--mist); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-8);
  font-size: var(--t-body); font-weight: var(--fw-med);
  text-decoration: none; color: var(--blue);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Etykieta-tag (gatunek) */
.tag {
  display: inline-block;
  font-size: var(--t-caption); font-weight: var(--fw-med); letter-spacing: 0.02em;
  padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--r-btn);
  color: var(--slate); background: var(--white);
}

/* --------------------------------------------------------------------------
   Browser-frame (mockup / chrome kart) — sygnaturowy element Webflow
   -------------------------------------------------------------------------- */
.chrome {
  display: flex; align-items: center; gap: var(--s-8);
  height: 28px; padding: 0 12px;
  background: var(--mist); border-bottom: 1px solid var(--border);
}
.chrome__dots { display: inline-flex; gap: 6px; flex: none; }
.chrome__dot { width: 8px; height: 8px; border-radius: 50%; display: block; }
.chrome__dot--r { background: #ff5f57; }
.chrome__dot--y { background: #febc2e; }
.chrome__dot--g { background: #28c840; }
.chrome__url {
  flex: 1; min-width: 0;
  font-family: var(--font-mono); font-size: 11px; color: var(--slate);
  background: var(--white); border: 1px solid var(--border); border-radius: 3px;
  padding: 2px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: center;
}

.browser {
  border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-frame);
}
.browser .chrome { height: 40px; }
.browser__body { padding: clamp(20px, 3vw, 32px); }
.browser__kicker {
  font-size: var(--t-caption); font-weight: var(--fw-med);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate);
  margin: 0 0 var(--s-24);
}
.preview {
  display: grid; grid-template-columns: 1fr; gap: var(--s-12);
}
@media (min-width: 520px) { .preview { grid-template-columns: 1fr 1fr; gap: var(--s-16); } }
@media (min-width: 860px) { .preview { grid-template-columns: repeat(3, 1fr); } }
.preview__item {
  display: flex; align-items: center; gap: var(--s-12);
  padding: var(--s-12); border: 1px solid var(--border); border-radius: var(--r-card);
  background: var(--white); text-decoration: none; color: var(--ink);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.preview__item:hover { border-color: var(--blue); background: var(--mist); }
.preview__thumb { width: 44px; height: 44px; border-radius: var(--r-card); flex: none; }
.preview__meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.preview__name { font-size: var(--t-body); font-weight: var(--fw-med); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview__genre { font-size: var(--t-caption); color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  padding-block: var(--s-12);
}
.brand {
  font-weight: var(--fw-semi);
  font-size: 20px; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
  line-height: 1;
}
.brand__accent { color: var(--blue); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  font-size: var(--t-body); font-weight: var(--fw-reg); text-decoration: none; color: var(--ink);
  white-space: nowrap; transition: color 0.18s ease;
}
.nav__link:hover { color: var(--blue); }
.nav__cta { margin-left: var(--s-8); }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px; border: 1px solid var(--border);
  border-radius: var(--r-btn); background: var(--white); cursor: pointer;
}
.burger__bar { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) var(--s-48);
  display: flex; flex-direction: column; gap: var(--s-4);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu__link {
  font-weight: var(--fw-semi);
  font-size: clamp(24px, 7vw, 32px); letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
  padding-block: 10px; border-bottom: 1px solid var(--border);
}
.mobile-menu__link:last-of-type { border-bottom: none; }
.mobile-menu__cta { margin-top: var(--s-24); }

/* --------------------------------------------------------------------------
   Hero — czysta typografia na białym + browser-frame
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(48px, 8vw, 88px) var(--section-pad); }
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow {
  font-size: var(--t-caption); font-weight: var(--fw-med);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate);
  margin: 0 0 var(--s-24);
}
.hero__title {
  font-weight: var(--fw-semi);
  font-size: var(--t-display-xl);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-24);
  max-width: 16ch;
}
.hero__lead { font-size: var(--t-subhead); color: var(--slate); max-width: 560px; margin: 0 0 var(--s-32); line-height: 1.4; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-12); margin-bottom: clamp(48px, 7vw, 72px); }
.hero__mockup { width: 100%; max-width: 1000px; }

/* --------------------------------------------------------------------------
   Karty gier (Feature Card + chrome)
   -------------------------------------------------------------------------- */
.games__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s-24);
}
.game-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.game-card:hover { box-shadow: var(--shadow-card); border-color: var(--smoke); transform: translateY(-2px); }
.game-card__media { position: relative; display: flex; flex-direction: column; }
.game-card__shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: var(--mist); }
.game-card__icon {
  position: absolute; left: 16px; bottom: -20px;
  width: 52px; height: 52px; border-radius: var(--r-card);
  border: 2px solid var(--white); background: var(--white); box-shadow: var(--shadow-card);
}
.game-card__body { padding: 32px var(--s-24) var(--s-24); display: flex; flex-direction: column; gap: var(--s-8); flex: 1; }
.game-card__title { font-weight: var(--fw-semi); font-size: var(--t-subhead); letter-spacing: -0.01em; margin: 0; line-height: 1.2; }
.game-card__dev { font-size: var(--t-caption); color: var(--slate); }
.game-card__desc { font-size: var(--t-body); color: var(--slate); margin: 4px 0 0; flex: 1; line-height: 1.55; }
.game-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); margin-top: var(--s-16); padding-top: var(--s-16); border-top: 1px solid var(--border); }
.game-card__foot .link-arrow { font-size: var(--t-caption); }

/* Gwiazdki z ułamkowym wypełnieniem */
.rating { display: inline-flex; align-items: center; gap: 8px; }
.rating__stars { position: relative; display: inline-flex; line-height: 0; }
.rating__row { display: inline-flex; }
.rating__row svg { width: 15px; height: 15px; display: block; fill: currentColor; }
.rating__row--empty svg { color: var(--border); }
.rating__row--fill { position: absolute; inset: 0; overflow: hidden; width: var(--fill, 0%); color: var(--blue); }
.rating__num { font-size: var(--t-body); font-weight: var(--fw-med); }

/* --------------------------------------------------------------------------
   Liczby / statystyki
   -------------------------------------------------------------------------- */
.stats__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-24);
}
.stat {
  border: 1px solid var(--border); border-radius: var(--r-card);
  padding: var(--s-24); background: var(--white);
}
.section--tinted .stat { background: var(--white); }
.stat__num {
  font-weight: var(--fw-semi);
  font-size: clamp(36px, 7vw, 56px); line-height: 1; letter-spacing: -0.02em;
  margin: 0 0 var(--s-8); color: var(--ink);
}
.stat__label { font-size: var(--t-body); color: var(--slate); }

/* --------------------------------------------------------------------------
   O projekcie / zaufanie — feature cards z ikonami
   -------------------------------------------------------------------------- */
.pillars__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-24); }
.pillar {
  border: 1px solid var(--border); border-radius: var(--r-card);
  padding: var(--s-24); background: var(--white);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.pillar:hover { box-shadow: var(--shadow-card); border-color: var(--smoke); }
.pillar__icon { display: inline-flex; width: 28px; height: 28px; color: var(--blue); margin-bottom: var(--s-16); }
.pillar__icon svg { width: 28px; height: 28px; }
.pillar__title { font-weight: var(--fw-semi); font-size: var(--t-body-lg); letter-spacing: -0.01em; margin: 0 0 var(--s-8); }
.pillar__text { font-size: var(--t-body); color: var(--slate); margin: 0; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Jak zarabiamy
   -------------------------------------------------------------------------- */
.earn__layout { display: grid; grid-template-columns: 1fr; gap: var(--s-40); align-items: start; }
.earn__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.earn__point { display: grid; grid-template-columns: auto 1fr; gap: var(--s-16); align-items: start; padding: var(--s-24) 0; border-bottom: 1px solid var(--border); }
.earn__point:first-child { padding-top: 0; }
.earn__marker {
  font-family: var(--font-mono); font-size: 14px; color: var(--blue);
  min-width: 28px; padding-top: 3px;
}
.earn__point-title { font-weight: var(--fw-semi); font-size: var(--t-body-lg); margin: 0 0 4px; letter-spacing: -0.01em; }
.earn__point-text { font-size: var(--t-body); color: var(--slate); margin: 0; line-height: 1.55; }
.earn__panel {
  border: 1px solid var(--border); border-radius: var(--r-card);
  padding: var(--s-32); background: var(--white);
}
.earn__panel-eyebrow { font-size: var(--t-caption); font-weight: var(--fw-med); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin: 0 0 var(--s-16); }
.earn__panel-text { font-size: var(--t-body); color: var(--slate); margin: 0 0 var(--s-24); line-height: 1.55; }

/* --------------------------------------------------------------------------
   Opinie
   -------------------------------------------------------------------------- */
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-24); }
.review {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: var(--s-32); display: flex; flex-direction: column; gap: var(--s-16);
}
.review__quote { font-size: var(--t-body-lg); line-height: 1.5; margin: 0; flex: 1; color: var(--ink); }
.review__author { display: flex; align-items: center; gap: var(--s-16); }
.review__avatar {
  width: 44px; height: 44px; border-radius: var(--r-card);
  background: var(--mist); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--t-body); font-weight: var(--fw-semi); color: var(--blue); flex: none;
}
.review__name { font-weight: var(--fw-semi); font-size: var(--t-body); }
.review__role { font-size: var(--t-caption); color: var(--slate); }

/* --------------------------------------------------------------------------
   Formularz zapisu (sekcja inwersyjna #080808)
   -------------------------------------------------------------------------- */
.subscribe__layout { display: grid; grid-template-columns: 1fr; gap: var(--s-40); align-items: center; }
.subscribe__title { font-weight: var(--fw-semi); font-size: var(--t-h); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 var(--s-16); }
.subscribe__lead { font-size: var(--t-body-lg); color: var(--white-70); margin: 0; max-width: 44ch; line-height: 1.5; }
.form { display: flex; flex-direction: column; gap: var(--s-16); }
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--s-16); }
.field { display: flex; flex-direction: column; gap: var(--s-8); }
.field__label { font-size: var(--t-caption); font-weight: var(--fw-med); letter-spacing: 0.04em; color: var(--white-70); }
.field__input {
  background: var(--charcoal); color: var(--white);
  border: 1px solid #3a3a3a; border-radius: var(--r-btn);
  padding: 13px 14px; font-size: var(--t-body); font-family: inherit;
}
.field__input::placeholder { color: var(--white-55); }
.field__input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: var(--s-12); align-items: start; }
.consent__box { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.consent__text { font-size: var(--t-caption); line-height: 1.5; color: var(--white-70); }
.consent__text a { color: var(--white); text-decoration: underline; }
.form__success {
  display: none;
  border: 1px solid #3a3a3a; border-radius: var(--r-card);
  padding: var(--s-32); text-align: left; background: var(--charcoal);
}
.form__success.is-visible { display: block; }
.form__success-title { font-weight: var(--fw-semi); font-size: var(--t-subhead); margin: 0 0 var(--s-8); }
.form__success-text { font-size: var(--t-body); color: var(--white-70); margin: 0; line-height: 1.55; }
.form__error { font-size: var(--t-caption); color: #ff8a8a; min-height: 16px; margin: 0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-16);
  background: transparent; border: none; cursor: pointer;
  padding: var(--s-24) 0; text-align: left; color: var(--ink);
  font-family: var(--font-sans); font-size: var(--t-body-lg); font-weight: var(--fw-med); letter-spacing: -0.01em;
}
.faq__trigger:hover { color: var(--blue); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: currentColor; transition: transform 0.25s ease, opacity 0.2s ease; }
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq__item.is-open .faq__trigger { color: var(--blue); }
.faq__item.is-open .faq__icon::after { opacity: 0; transform: translateX(-50%) scaleY(0); }
.faq__panel { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.faq__answer { font-size: var(--t-body); color: var(--slate); margin: 0; padding-bottom: var(--s-24); max-width: 72ch; line-height: 1.6; }
.faq__answer a { color: var(--blue); }

/* --------------------------------------------------------------------------
   Niezależność / gwarancje
   -------------------------------------------------------------------------- */
.guarantee__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-24); margin-top: var(--s-40); }
.guarantee {
  border: 1px solid var(--border); border-radius: var(--r-card);
  padding: var(--s-32); background: var(--white); display: flex; flex-direction: column; gap: var(--s-16);
}
.guarantee__icon { width: 36px; height: 36px; color: var(--blue); }
.guarantee__icon svg { width: 100%; height: 100%; }
.guarantee__title { font-weight: var(--fw-semi); font-size: var(--t-body-lg); letter-spacing: -0.01em; margin: 0; }
.guarantee__text { font-size: var(--t-body); color: var(--slate); margin: 0; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Footer (ciemna powierzchnia Onyx)
   -------------------------------------------------------------------------- */
.footer { background: var(--onyx); color: var(--white); padding-block: var(--s-64) var(--s-40); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: var(--s-40); margin-bottom: var(--s-48); }
.footer__brand-block { max-width: 36ch; }
.footer__brand { font-weight: var(--fw-semi); font-size: 20px; letter-spacing: -0.01em; text-decoration: none; color: var(--white); }
.footer__brand .brand__accent { color: var(--mercury); }
.footer__tagline { font-size: var(--t-body); color: var(--white-55); margin: var(--s-16) 0 0; line-height: 1.55; }
.footer__col-title { font-size: var(--t-caption); font-weight: var(--fw-med); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-55); margin: 0 0 var(--s-16); }
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-12); }
.footer__link { font-size: var(--t-body); text-decoration: none; color: var(--white-70); transition: color 0.18s ease; }
.footer__link:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-16); padding-top: var(--s-24); border-top: 1px solid var(--white-14); }
.footer__copy { font-size: var(--t-caption); color: var(--white-55); }
.footer__note { font-size: var(--t-caption); color: var(--white-55); max-width: 54ch; }

/* --------------------------------------------------------------------------
   Do góry + cookie banner
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed; right: clamp(16px, 4vw, 32px); bottom: clamp(16px, 4vw, 32px); z-index: 90;
  width: 44px; height: 44px; border-radius: var(--r-btn);
  border: 1px solid var(--border); background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  box-shadow: var(--shadow-card);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.18s ease, color 0.18s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.to-top svg { width: 20px; height: 20px; }

.cookie {
  position: fixed; left: clamp(16px, 4vw, 24px); bottom: clamp(16px, 4vw, 24px); z-index: 95;
  max-width: 380px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--s-16);
  box-shadow: var(--shadow-frame);
  display: none; flex-direction: column; gap: var(--s-16);
}
.cookie.is-visible { display: flex; }
.cookie__text { font-size: var(--t-caption); color: var(--ink); margin: 0; line-height: 1.5; }
.cookie__text a { color: var(--blue); }
.cookie__actions { display: flex; gap: var(--s-8); }
.cookie__actions .btn { flex: 1; padding: 10px 14px; font-size: var(--t-caption); }

/* --------------------------------------------------------------------------
   Strony prawne
   -------------------------------------------------------------------------- */
.legal { padding-top: clamp(40px, 6vw, 64px); padding-bottom: var(--section-pad); }
.legal__head { border-bottom: 1px solid var(--border); padding-bottom: var(--s-32); margin-bottom: var(--s-48); }
.legal__eyebrow { font-size: var(--t-caption); font-weight: var(--fw-med); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin: 0 0 var(--s-16); }
.legal__title { font-weight: var(--fw-semi); font-size: var(--t-h); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 var(--s-16); }
.legal__meta { font-size: var(--t-caption); color: var(--slate); }
.legal__body { max-width: 74ch; }
.legal__body h2 { font-weight: var(--fw-semi); font-size: var(--t-h-sm); letter-spacing: -0.01em; margin: var(--s-48) 0 var(--s-16); }
.legal__body h3 { font-size: var(--t-body-lg); font-weight: var(--fw-semi); margin: var(--s-32) 0 var(--s-8); }
.legal__body p, .legal__body li { font-size: var(--t-body); color: var(--slate); line-height: 1.7; }
.legal__body ul { padding-left: 20px; margin: var(--s-16) 0; display: flex; flex-direction: column; gap: 8px; }
.legal__body a { color: var(--blue); }
.legal__body strong { color: var(--ink); font-weight: var(--fw-semi); }
.legal__back { margin-bottom: var(--s-32); }

/* --------------------------------------------------------------------------
   Breakpointy
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  .games__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .form__row--split { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr; }
  .guarantee__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .earn__layout { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-64); }
  .subscribe__layout { grid-template-columns: 1fr 1fr; gap: var(--s-64); }
  .guarantee__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  :root { --header-h: 68px; }
  .nav { display: block; }
  .burger { display: none; }
  .mobile-menu { display: none; }
  .games__grid { grid-template-columns: repeat(3, 1fr); }
  .pillars__grid { grid-template-columns: repeat(4, 1fr); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
}
