/* =========================================================
   SzybkiSkaut - arkusz stylów
   System kształtów: przyciski = pigułka, karty = 24px, pola = 14px
   Motyw: ciemny (świadomie, gaming / broadcast)
   ========================================================= */

/* ---------- Fonty (self-hosted, zero zapytań do zewnętrznych serwerów) ---------- */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JBMono"; src: url("../fonts/jbmono-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JBMono"; src: url("../fonts/jbmono-latin-ext.woff2") format("woff2"); font-weight: 100 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokeny ---------- */
:root {
  /* paleta marki */
  --harvest: #ff7b00;
  --dark-orange: #ff8800;
  --saffron: #ff9500;
  --amber-glow: #ffa200;
  --orange: #ffaa00;
  --amber-flame: #ffb700;
  --bus: #ffc300;
  --gold: #ffd000;
  --bright-gold: #ffdd00;
  --sunbeam: #ffea00;

  --accent: var(--saffron);
  --grad: linear-gradient(100deg, var(--harvest) 0%, var(--amber-glow) 42%, var(--gold) 78%, var(--sunbeam) 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 123, 0, .22), rgba(255, 208, 0, .08));

  /* neutralne, ciepłe */
  --bg: #0c0906;
  --bg-2: #110c07;
  --surface: #17110a;
  --surface-2: #20180e;
  --surface-3: #2a2013;
  --line: rgba(255, 190, 110, .11);
  --line-strong: rgba(255, 190, 110, .22);
  --text: #fff4e2;
  --muted: #c9b89e;
  --dim: #9a8870;
  --ink: #1a0e00;
  --good: #7ee08a;
  --bad: #ff6a4d;

  --font-display: "Bricolage", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JBMono", ui-monospace, "Cascadia Code", monospace;

  --r-card: 24px;
  --r-field: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shell: min(1240px, 100% - 32px);

  /* warstwy z-index */
  --z-grain: 60;
  --z-nav: 50;
  --z-toast: 70;
  --z-modal: 80;
  --z-progress: 90;

  color-scheme: dark;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--amber-glow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { width: var(--shell); margin-inline: auto; }
.mono { font-family: var(--font-mono); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: var(--z-progress);
  background: var(--gold); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ziarno - tylko fixed, pointer-events none */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* pasek postępu przewijania */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: var(--z-progress);
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Przyciski ---------- */
.btn {
  --pad: 6px;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: var(--pad) var(--pad) var(--pad) 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn .btn-ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 18px;
  transition: transform .5s var(--ease-spring);
}
.btn:hover .btn-ico { transform: translate(3px, -2px) rotate(-8deg) scale(1.06); }
.btn-primary {
  background: var(--grad); background-size: 160% 100%; background-position: 0 0; color: var(--ink);
  box-shadow: 0 10px 40px -12px rgba(255, 140, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 18px 50px -12px rgba(255, 160, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary .btn-ico { background: var(--ink); color: var(--gold); }
.btn-ghost {
  color: var(--text); background: rgba(255, 190, 110, .06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 190, 110, .12); }
.btn-ghost .btn-ico { background: rgba(255, 190, 110, .1); color: var(--gold); }
.btn-sm { font-size: 15px; padding-left: 18px; --pad: 5px; }
.btn-sm .btn-ico { width: 32px; height: 32px; font-size: 15px; }
.btn-block { width: 100%; justify-content: space-between; }

/* ---------- Nawigacja (pływająca wyspa) ---------- */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; justify-content: center; pointer-events: none; padding-inline: 16px;
}
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 18px; border-radius: 999px; height: 64px;
  background: rgba(20, 14, 8, .62); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 220, 170, .08), 0 20px 50px -20px rgba(0, 0, 0, .6);
  transition: transform .6s var(--ease), background-color .4s var(--ease);
}
.nav.is-hidden { transform: translateY(-120%); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; user-select: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); color: var(--ink); font-size: 19px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px -6px rgba(255, 140, 0, .8);
  transition: transform .6s var(--ease-spring);
}
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }
.logo b { font-weight: 700; color: var(--gold); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: rgba(255, 190, 110, .08); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; background: rgba(255, 190, 110, .08); }
.burger span { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .5s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1);
  background: rgba(12, 9, 6, .94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display); font-size: clamp(34px, 10vw, 52px); font-weight: 700; letter-spacing: -.03em; text-decoration: none; line-height: 1.2;
  transform: translateY(40px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease), color .3s;
}
.mobile-menu a:not(.btn):hover { color: var(--gold); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; transform: translateY(40px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu > *:nth-child(1) { transition-delay: .08s; }
.menu-open .mobile-menu > *:nth-child(2) { transition-delay: .13s; }
.menu-open .mobile-menu > *:nth-child(3) { transition-delay: .18s; }
.menu-open .mobile-menu > *:nth-child(4) { transition-delay: .23s; }
.menu-open .mobile-menu > *:nth-child(5) { transition-delay: .28s; }
.menu-open .mobile-menu > *:nth-child(6) { transition-delay: .33s; }
.menu-open { overflow: hidden; }

/* ---------- Sekcje ---------- */
section { position: relative; }
section[id] { scroll-margin-top: 90px; }
.section { padding-block: clamp(88px, 12vw, 150px); }
.h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(38px, 5.6vw, 72px); max-width: 16ch;
}
.lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 52ch; margin-top: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--gold); background: rgba(255, 190, 110, .07); box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 22px;
}
.eyebrow i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: var(--ink); font-size: 12px; }

/* double-bezel */
.bezel {
  padding: 6px; border-radius: calc(var(--r-card) + 6px);
  background: rgba(255, 190, 110, .04); box-shadow: inset 0 0 0 1px var(--line);
}
.bezel > .core {
  border-radius: var(--r-card); background: var(--surface); height: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .07), inset 0 0 0 1px rgba(255, 190, 110, .05);
}

/* reveal (JS dodaje .in) */
.js .reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* spotlight pod kursorem */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 162, 0, .14), transparent 60%);
  transition: opacity .4s var(--ease);
}
.spot:hover::before { opacity: 1; }

/* ---------- Stopka ---------- */
.footer { padding: 90px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer p { color: var(--dim); font-size: 14px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.footer h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a, .footer ul button { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .3s var(--ease); text-align: left; }
.footer ul a:hover, .footer ul button:hover { color: var(--gold); }
.footer-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-giant {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.06em; line-height: .8; text-align: center;
  font-size: min(15.2vw, 212px); margin-top: 60px; user-select: none; white-space: nowrap; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 162, 0, .22), rgba(255, 162, 0, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Toast ---------- */
.toast-stack { position: fixed; right: 16px; bottom: 16px; z-index: var(--z-toast); display: grid; gap: 10px; pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; max-width: 360px;
  background: var(--surface-2); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 50px -15px rgba(0, 0, 0, .7);
  font-size: 14px; animation: toastIn .6s var(--ease-spring) both;
}
.toast i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--grad); color: var(--ink); font-size: 17px; flex-shrink: 0; }
.toast.out { animation: toastOut .4s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ---------- Baner cookies ---------- */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: var(--z-modal); width: min(440px, calc(100% - 32px));
  transform: translateY(calc(100% + 40px)); transition: transform .8s var(--ease);
}
.cookie.show { transform: none; }
.cookie .core { padding: 22px; background: var(--surface-2); }
.cookie-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.cookie-head i { font-size: 26px; color: var(--gold); animation: cookieWobble 3s var(--ease) infinite; }
@keyframes cookieWobble { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-18deg); } 92% { transform: rotate(14deg); } }
.cookie h3 { font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; }
.cookie p { color: var(--muted); font-size: 14px; }
.cookie p a { color: var(--gold); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cookie-actions .wide { grid-column: 1 / -1; }
.cbtn {
  padding: 12px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; text-align: center;
  background: rgba(255, 190, 110, .08); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.cbtn:hover { background: rgba(255, 190, 110, .16); }
.cbtn:active { transform: scale(.97); }
.cbtn.primary { background: var(--grad); color: var(--ink); box-shadow: none; }
.cookie-prefs { display: none; margin-top: 14px; gap: 8px; }
.cookie.expanded .cookie-prefs { display: grid; }
.pref {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-field);
  background: rgba(255, 190, 110, .04); box-shadow: inset 0 0 0 1px var(--line);
}
.pref b { font-size: 14px; display: block; }
.pref small { color: var(--dim); font-size: 12.5px; display: block; line-height: 1.4; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .3s var(--ease); pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); transition: transform .4s var(--ease-spring), background-color .3s; }
.switch input:checked + span { background: var(--amber-glow); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--ink); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Monety / konfetti (canvas) ---------- */
.fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: var(--z-toast); }

/* ---------- Walkout (easter egg) ---------- */
.walkout {
  position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 162, 0, .35), rgba(12, 9, 6, .96) 60%);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.walkout.show { opacity: 1; visibility: visible; }
.walkout-card {
  width: 250px; aspect-ratio: 3 / 4.2; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--sunbeam), var(--amber-glow) 45%, var(--harvest));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .35) inset, 0 40px 120px -20px rgba(255, 150, 0, .9);
  color: var(--ink); padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between;
  transform: scale(.2) rotateY(180deg); transition: transform 1.1s var(--ease-spring);
}
.walkout.show .walkout-card { transform: none; }
.walkout-card::after {
  content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .6) 50%, transparent 60%);
  animation: shine 2.4s var(--ease) infinite;
}
@keyframes shine { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.walkout-card .ovr { font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.walkout-card .pos { font-weight: 700; font-size: 18px; }
.walkout-card .name { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
.walkout-card .stats { font-family: var(--font-mono); font-size: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; margin-top: 12px; }
.walkout-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: 15px; }
.walkout-note b { color: var(--gold); }

/* ---------- Podstrony prawne ---------- */
.legal-hero { padding: 150px 0 50px; }
.legal-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 6vw, 76px); letter-spacing: -.04em; line-height: 1; }
.legal-hero p { color: var(--muted); margin-top: 16px; }
.legal-grid > * { min-width: 0; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; padding-bottom: 100px; }
.toc { position: sticky; top: 100px; }
.toc h2 { font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-active { color: var(--gold); border-left-color: var(--gold); }
.legal-doc { max-width: 76ch; }
.legal-doc section { scroll-margin-top: 100px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-doc section:last-child { border-bottom: 0; }
.legal-doc h2 { font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; margin-bottom: 14px; }
.legal-doc h3 { font-size: 17px; margin: 18px 0 8px; }
.legal-doc p, .legal-doc li { color: #e6d7bf; font-size: 16px; }
.legal-doc p + p { margin-top: 10px; }
.legal-doc ol, .legal-doc ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 8px; }
.legal-doc ol ol, .legal-doc ol ul { margin-top: 6px; }
.legal-doc a { color: var(--gold); }
.legal-doc strong { color: var(--text); }
.fill { background: rgba(255, 208, 0, .14); color: var(--gold); padding: 1px 6px; border-radius: 6px; font-family: var(--font-mono); font-size: .88em; }
.note {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; margin: 16px 0;
  background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px;
}
.note i { color: var(--gold); font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.table-wrap { overflow-x: auto; margin-top: 12px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.legal-doc th, .legal-doc td { text-align: left; padding: 12px 14px; vertical-align: top; }
.legal-doc th { color: var(--gold); font-weight: 600; background: rgba(255, 190, 110, .05); }
.legal-doc tr + tr td { border-top: 1px solid var(--line); }
.legal-doc td { color: #e6d7bf; }
.form-template {
  background: var(--surface); border-radius: var(--r-card); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-mono); font-size: 14px; line-height: 1.8; white-space: pre-wrap; color: #e6d7bf;
}

/* 404 */
.nf { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 120px 16px 60px; }
.nf h1 { font-family: var(--font-display); font-size: clamp(110px, 26vw, 280px); line-height: .85; letter-spacing: -.07em; }
.nf p { color: var(--muted); max-width: 44ch; margin: 18px auto 30px; }

/* strona podziękowania */
.thanks-steps { text-align: left; display: grid; gap: 12px; margin: 26px auto 32px; max-width: 520px; padding: 0; list-style: none; counter-reset: s; }
.thanks-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 15.5px; }
.thanks-steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--ink); font-weight: 700; font-family: var(--font-mono); }
.thanks-steps b { color: var(--text); }
.thanks-steps code { font-family: var(--font-mono); color: var(--gold); }
.thanks .muted { color: var(--dim); }
.thanks .muted a { color: var(--gold); }

/* ---------- Responsywność ---------- */
@media (max-width: 960px) {
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
  .nav { gap: 12px; padding-left: 14px; justify-content: space-between; width: 100%; max-width: 560px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-grid { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .btn { font-size: 15px; }
}

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .mobile-menu { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
