/* ==========================================================================
   Sterna GPS — strona sternagps.pl
   Tokeny i komponenty według Design Systemu Sterna (tokens.json, bundle.css).
   Rozmiary dopasowane do strony www: większe kontrolki (dotyk) i tekst czytany.
   ========================================================================== */

/* ---------- fonty: IBM Plex Sans z własnego serwera (bez Google przed zgodą) ---------- */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: motyw jasny (pierwszy w tokens.json) ---------- */
:root {
  color-scheme: light;
  --bg: #f3f5f6;
  --surface: #ffffff;
  --surface-sunken: #e9edef;
  --surface-hover: #eef2f4;
  --border: #d6dde1;
  --control-border: #7f8f99;
  --ink: #131a1f;
  --ink-muted: #55626c;
  --brand: #0b6577;
  --brand-hover: #084f5d;
  --on-brand: #ffffff;
  --brand-soft: #dbedf0;
  --focus: #1268c4;
  --state-drive: #1d7a4c;
  --state-idle: #a86a0c;
  --state-park: #4e6373;
  --state-offline: #7b8790;
  --danger: #b42318;
  --danger-soft: #fce8e6;
  --warning: #a8530a;
  --warning-soft: #fbefe2;
  --info: #1a5fc9;
  --info-soft: #e6eefc;
  --chart-1: #0b6577;
  --chart-2: #c07a12;
  --shadow-raised: 0 1px 2px rgba(19,26,31,0.06), 0 4px 12px rgba(19,26,31,0.08);
  --shadow-overlay: 0 8px 24px rgba(19,26,31,0.14), 0 2px 6px rgba(19,26,31,0.08);

  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 22px; --space-8: 30px;
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px; --radius-full: 999px;

  /* strona www */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --section-y: clamp(56px, 8vw, 104px);
  --control-web: 44px;
  --t-h1: clamp(2.125rem, 1.35rem + 3.2vw, 3.5rem);
  --t-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem);
  --t-h3: 1.25rem;
  --t-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

/* motyw ciemny: z systemu (gdy nie wybrano jasnego) albo wybrany ręcznie */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d1216; --surface: #141b20; --surface-sunken: #0a0e11; --surface-hover: #1b242a;
    --border: #28333b; --control-border: #6c7d88; --ink: #e6ecf0; --ink-muted: #9dabb5;
    --brand: #5bbfcf; --brand-hover: #80d0dc; --on-brand: #062228; --brand-soft: #123139; --focus: #78b8ff;
    --state-drive: #4cc38a; --state-idle: #e3a64a; --state-park: #93a7b6; --state-offline: #6e7b85;
    --danger: #ff8070; --danger-soft: #3b1714; --warning: #f2a35a; --warning-soft: #36240f;
    --info: #86b6ff; --info-soft: #14233c; --chart-1: #5bbfcf; --chart-2: #e6a84d;
    --shadow-raised: 0 1px 2px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.4);
    --shadow-overlay: 0 8px 24px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.5);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1216; --surface: #141b20; --surface-sunken: #0a0e11; --surface-hover: #1b242a;
  --border: #28333b; --control-border: #6c7d88; --ink: #e6ecf0; --ink-muted: #9dabb5;
  --brand: #5bbfcf; --brand-hover: #80d0dc; --on-brand: #062228; --brand-soft: #123139; --focus: #78b8ff;
  --state-drive: #4cc38a; --state-idle: #e3a64a; --state-park: #93a7b6; --state-offline: #6e7b85;
  --danger: #ff8070; --danger-soft: #3b1714; --warning: #f2a35a; --warning-soft: #36240f;
  --info: #86b6ff; --info-soft: #14233c; --chart-1: #5bbfcf; --chart-2: #e6a84d;
  --shadow-raised: 0 1px 2px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.4);
  --shadow-overlay: 0 8px 24px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.5);
}

@media (min-width: 960px) { :root { --header-h: 72px; } }

/* ---------- podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
/* podstrona z przyklejonym spisem sekcji: kotwica ląduje pod nagłówkiem i spisem */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 68px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); }
strong { font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-muted); }
.sprite { overflow: hidden; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 10px 16px;
  background: var(--brand); color: var(--on-brand); border-radius: var(--radius-md); font-weight: 500;
}
.skip-link:focus { top: 12px; color: var(--on-brand); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.icon {
  width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon.sm { width: 16px; height: 16px; }

/* ---------- typografia stron ---------- */
.h1 { font-size: var(--t-h1); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: var(--t-h2); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-muted); max-width: 62ch; }
.caption { font-size: 0.8125rem; line-height: 1.4; color: var(--ink-muted); }
.section-head { display: grid; gap: var(--space-4); max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }

/* ---------- przyciski (Button z DS, wysokość pod dotyk) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--control-web); padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-md);
  font: 500 0.9375rem/1.2 var(--font-sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { min-height: 48px; padding: 0 24px; font-size: 1rem; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--control-border); }
.btn--secondary:hover { background: var(--surface-hover); color: var(--ink); }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover { background: var(--surface-hover); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .icon { width: 18px; height: 18px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-hover); }

.link-btn { padding: 0; border: 0; background: none; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.link-btn:hover { color: var(--brand-hover); }
.link-btn[hidden] { display: none; }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- ThemeSwitch z DS (trzy ikony) i przełącznik cykliczny w nagłówku ---------- */
.theme-switch { display: inline-flex; border: 1px solid var(--control-border); border-radius: var(--radius-md); overflow: hidden; }
.theme-switch button {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 36px;
  border: 0; background: var(--surface); color: var(--ink-muted); cursor: pointer;
}
.theme-switch button + button { border-left: 1px solid var(--control-border); }
.theme-switch button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand); }
.theme-switch .icon { width: 16px; height: 16px; }

.theme-cycle .icon { display: none; }
.theme-cycle[data-current="system"] .theme-cycle__system,
.theme-cycle[data-current="light"] .theme-cycle__light,
.theme-cycle[data-current="dark"] .theme-cycle__dark { display: block; }
.theme-cycle:not([data-current]) .theme-cycle__system { display: block; }

/* ---------- nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header__bar { display: flex; align-items: center; gap: var(--space-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; min-height: 44px; }
.logo { display: block; height: 40px; width: auto; aspect-ratio: 2172 / 787; }
.site-header__tools { display: flex; align-items: center; gap: var(--space-1); margin-left: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 12px;
  margin-right: -12px; border: 0; border-radius: var(--radius-md); background: none; color: var(--ink); font-weight: 500; cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-hover); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* menu na telefonie: panel pod nagłówkiem (nagłówek bez filter/transform, żeby fixed liczył się od okna) */
.site-nav {
  position: fixed; inset: calc(var(--header-h) + 1px) 0 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: var(--space-6);
  padding: var(--space-4) var(--gutter) calc(var(--space-8) + env(safe-area-inset-bottom));
  background: var(--surface); overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility 0s linear .18s;
}
.menu-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
.site-nav__list { display: flex; flex-direction: column; }
.site-nav__link {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--border);
  color: var(--ink); font-size: 1.375rem; font-weight: 600; text-decoration: none;
}
.site-nav__link[aria-current="page"] { color: var(--brand); }
.site-nav__extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.site-nav__phone { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; }
.site-nav__cta { width: 100%; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-header__tools { margin-left: 0; order: 3; }
  .site-nav {
    position: static; flex: 1; flex-direction: row; align-items: center; justify-content: flex-end; gap: var(--space-4);
    padding: 0; background: none; overflow: visible; visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .site-nav__list { flex-direction: row; gap: 2px; }
  .site-nav__link {
    display: inline-flex; align-items: center; height: 40px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-md);
    font-size: 0.9375rem; font-weight: 500;
  }
  .site-nav__link:hover { background: var(--surface-hover); color: var(--ink); }
  .site-nav__link[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
  .site-nav__extra { display: none; }
  .site-nav__cta { width: auto; margin-left: var(--space-2); }
}

/* ---------- sekcje ---------- */
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }
.section--flush-top { padding-top: 0; }

/* ---------- znaczki nad nagłówkiem ---------- */
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 32px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius-full); background: var(--surface);
  color: var(--ink); font-size: 0.875rem; font-weight: 500; text-decoration: none;
}
a.tag:hover { border-color: var(--brand); color: var(--brand); }
.tag--brand { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.tag .icon { width: 16px; height: 16px; }

/* ---------- hero strony głównej ---------- */
.hero { padding-block: clamp(32px, 6vw, 80px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero__copy { display: grid; gap: var(--space-6); }
.hero__copy .lead { color: var(--ink-muted); }
.hero__note { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 0.9375rem; color: var(--ink-muted); max-width: 52ch; }
.hero__note .icon { color: var(--state-drive); margin-top: 2px; }
.hero .actions .btn { flex: 1 1 220px; }
@media (min-width: 560px) { .hero .actions .btn { flex: 0 0 auto; } }
@media (min-width: 1040px) {
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* wizual: płyta brand z siatką punktów (motyw okładki DS: punkty GPS trasy) i zrzut aplikacji */
.showcase { position: relative; padding: 28px 0 0 28px; }
.showcase::before {
  content: ""; position: absolute; left: 0; top: 0; width: 46%; height: 78%; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle, var(--bg) 2.5px, transparent 3px) 12px 12px / 24px 24px,
    var(--brand);
}
.showcase .shot { position: relative; }
@media (min-width: 1040px) { .showcase { margin-right: calc(-1 * max(0px, (100vw - var(--container)) / 2 - 8px)); } }

/* zrzut ekranu w ramce okna */
.shot { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-overlay); }
.shot--flat { box-shadow: none; }
.shot img { width: 100%; }
.shot-caption { margin-top: var(--space-3); }

/* wersja jasna/ciemna zrzutu idzie za motywem strony */
.only-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-light { display: none; }
  :root:not([data-theme="light"]) .only-dark { display: block; }
}
:root[data-theme="dark"] .only-light { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }

/* ---------- pytania właściciela firmy ---------- */
.questions { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 720px) { .questions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .questions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.question { display: grid; align-content: start; gap: var(--space-3); padding: clamp(20px, 2.6vw, 30px); background: var(--surface); }
.question__icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--brand-soft); color: var(--brand);
}
.question p { color: var(--ink-muted); }
.question__where { display: flex; align-items: center; gap: var(--space-1); font-size: 0.8125rem; color: var(--ink-muted); margin-top: auto; padding-top: var(--space-2); }
.question__where .icon { width: 14px; height: 14px; }

/* ---------- kalkulator ---------- */
.calc { display: grid; gap: clamp(24px, 4vw, 48px); margin-top: clamp(32px, 5vw, 56px); padding: clamp(20px, 3vw, 36px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; } }
.calc__intro { display: grid; gap: var(--space-3); }
.calc__fields { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 560px) { .calc__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc__result { display: grid; gap: var(--space-4); padding: clamp(20px, 3vw, 28px); background: var(--surface-sunken); border-radius: var(--radius-lg); }
.calc__row { display: grid; gap: 2px; }
.calc__label { font-size: 0.875rem; color: var(--ink-muted); }
.calc__value { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.calc__value--sm { font-size: 1.375rem; }
.calc__note { font-size: 0.875rem; color: var(--ink-muted); }

/* ---------- pola formularzy (Field z DS) ---------- */
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field__label { font-size: 0.875rem; font-weight: 500; }
.field__label .opt { font-weight: 400; color: var(--ink-muted); }
.field__hint { font-size: 0.8125rem; color: var(--ink-muted); }
.field__error { font-size: 0.8125rem; color: var(--danger); }
.field__error[hidden] { display: none; }
.input, .select, .textarea {
  width: 100%; min-height: var(--control-web); padding: 0 var(--space-3);
  border: 1px solid var(--control-border); border-radius: var(--radius-md); background: var(--surface); color: var(--ink);
  font: 400 1rem/1.4 var(--font-sans); font-variant-numeric: tabular-nums;
}
.textarea { min-height: 128px; padding: 10px var(--space-3); resize: vertical; }
.select { appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.affix { display: flex; align-items: stretch; }
.affix .input { border-radius: var(--radius-md) 0 0 var(--radius-md); flex: 1; min-width: 0; }
.affix__unit {
  display: flex; align-items: center; padding: 0 var(--space-3); border: 1px solid var(--control-border); border-left: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--surface-sunken); color: var(--ink-muted); font-size: 0.875rem; white-space: nowrap;
}
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px var(--space-3); align-items: start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.check label { font-size: 0.875rem; line-height: 1.5; color: var(--ink-muted); cursor: pointer; }
.check .field__error { grid-column: 2; }

/* ---------- przeglądarka zrzutów z zakładkami (Tabs z DS) ---------- */
.tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; margin-bottom: var(--space-6); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  appearance: none; flex: none; min-height: 44px; padding: 0 var(--space-4); border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: none; color: var(--ink-muted); font: 500 0.9375rem/1.2 var(--font-sans); cursor: pointer; white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tabpanel { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .tabpanel { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: start; } }
.tabpanel[hidden] { display: none; }
.tabpanel__text { display: grid; gap: var(--space-3); align-content: start; }
.tabpanel__text p { color: var(--ink-muted); }

/* ---------- lista z ptaszkami ---------- */
.ticks { display: grid; gap: var(--space-3); }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.ticks .icon { color: var(--brand); margin-top: 3px; width: 18px; height: 18px; }
.ticks strong { color: var(--ink); }

/* ---------- podział tekst + obraz ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .split--reverse > :first-child { order: 2; }
}
.split__text { display: grid; gap: var(--space-4); align-content: start; }
.split__text > p { color: var(--ink-muted); max-width: 60ch; }

/* ---------- raporty ---------- */
.formats { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.format {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: var(--radius-full);
  background: var(--surface-sunken); font-size: 0.875rem; font-weight: 500;
}
.paper { border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-raised); overflow: hidden; }
.paper-stack { position: relative; padding: 0 0 24px 24px; }
.paper-stack .paper + .paper { position: absolute; width: 62%; right: -4%; bottom: 0; }

/* ---------- komponenty stanu z DS ---------- */
.st-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.st-status { display: inline-flex; align-items: center; gap: var(--space-1); height: 28px; padding: 0 10px 0 8px; border-radius: var(--radius-full); background: var(--surface-sunken); color: var(--ink); font: 500 0.8125rem/1 var(--font-sans); white-space: nowrap; }
.st-status svg { width: 12px; height: 12px; flex: none; }
.st-status--drive svg { color: var(--state-drive); }
.st-status--idle svg { color: var(--state-idle); }
.st-status--park svg { color: var(--state-park); }
.st-status--offline svg { color: var(--state-offline); }
.st-status--offline { color: var(--ink-muted); }
.st-chip { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 26px; padding: 2px var(--space-2); border-radius: var(--radius-sm); font: 500 0.8125rem/1.3 var(--font-sans); font-variant-numeric: tabular-nums; }
.st-chip svg { width: 14px; height: 14px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-chip--warning { background: var(--warning-soft); color: var(--warning); }
.st-chip--danger { background: var(--danger-soft); color: var(--danger); }
.st-chip--info { background: var(--info-soft); color: var(--info); }
.st-quality { display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: var(--radius-sm); font: 500 0.8125rem/1 var(--font-sans); white-space: nowrap; vertical-align: 0.1em; }
.st-quality--provisional { border: 1px dashed var(--control-border); color: var(--ink-muted); }
.st-quality--incomplete { background: var(--warning-soft); color: var(--warning); }
.st-quality--good { background: var(--brand-soft); color: var(--brand); }
/* znaczek nowej funkcji: kolor akcji (brand), jak zaznaczenie w aplikacji */
.badge-new { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand); font: 600 0.75rem/1 var(--font-sans); letter-spacing: 0.01em; vertical-align: 0.35em; white-space: nowrap; }
.st-soon { justify-self: start; width: fit-content; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); border: 1px dashed var(--control-border); color: var(--ink-muted); font: 500 0.75rem/1 var(--font-sans); white-space: nowrap; }

/* ---------- AI (AiButton z DS) ---------- */
.st-ai {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px;
  border: 1px dashed var(--brand); border-radius: var(--radius-full); background: var(--surface); color: var(--brand);
  font: 600 0.875rem/1 var(--font-sans); letter-spacing: 0.02em; cursor: help; white-space: nowrap;
}
.st-ai svg { width: 16px; height: 16px; flex: none; fill: currentColor; }
.ai { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .ai { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ai__text { display: grid; gap: var(--space-4); align-content: start; }
.ai__text > p { color: var(--ink-muted); max-width: 58ch; }
.ai__demo { display: grid; gap: var(--space-4); padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ai__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.ai__tip { flex: 1 1 220px; font-size: 0.8125rem; color: var(--ink-muted); max-width: 44ch; }
.ai__tip strong { display: block; color: var(--ink); }
.prompts { display: grid; gap: var(--space-3); }
.prompt {
  justify-self: start; max-width: 100%; padding: 10px 14px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);
  background: var(--surface-sunken); font-size: 0.9375rem; line-height: 1.45;
}
.prompt:nth-child(even) { justify-self: end; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg); }

/* ---------- wygoda ---------- */
.perks { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 720px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.perk { display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-4); border-top: 2px solid var(--brand); }
.perk p { color: var(--ink-muted); }
.perk__visual { margin-top: var(--space-2); }

/* ---------- fakty o niezawodności ---------- */
.facts { display: grid; gap: 0 clamp(24px, 4vw, 56px); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px var(--space-4); padding: var(--space-6) 0; border-top: 1px solid var(--border); }
.fact .question__icon { grid-row: span 2; }
.fact p { color: var(--ink-muted); }

/* ---------- planowane funkcje ---------- */
.planned { display: grid; gap: var(--space-4); }
@media (min-width: 720px) { .planned { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .planned { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.plan__head .icon { color: var(--brand); }
.plan p { color: var(--ink-muted); }
.plan--ai { border-color: var(--brand); }
@media (min-width: 1100px) { .plan--ai { grid-column: span 2; } }

/* ---------- pas programu pilotażowego ---------- */
.band { padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--brand-soft); border: 1px solid var(--brand); }
.band__grid { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 960px) { .band__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; } }
.band__text { display: grid; gap: var(--space-4); }
.band__text > p { color: var(--ink); max-width: 56ch; }
.timeline { display: grid; gap: 0; counter-reset: tl; }
.timeline li { position: relative; display: grid; gap: 2px; padding: 0 0 var(--space-6) 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--brand); background: var(--brand-soft); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: -2px; width: 2px; background: var(--brand); opacity: .45; }
.timeline li:last-child::after { display: none; }
.timeline li.is-now::before { background: var(--brand); }
.timeline__when { font-size: 0.8125rem; font-weight: 500; color: var(--brand); }
.timeline__what { font-weight: 600; }

/* ---------- pytania i odpowiedzi ---------- */
.faq { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); align-items: start; } }
.faq__list { border-top: 1px solid var(--border); }
.qa { border-bottom: 1px solid var(--border); }
.qa summary {
  position: relative; display: block; min-height: 44px; padding: 18px 44px 18px 0;
  font-size: 1.0625rem; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand); }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s;
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa__a { padding: 0 44px 20px 0; color: var(--ink-muted); }
.qa__a p + p { margin-top: var(--space-2); }

/* ---------- nagłówek podstron ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px); }
/* .container i __inner stoją na jednym elemencie: szerokość ograniczamy dzieciom, nie blokowi (inaczej margin:auto go centruje) */
.page-hero__inner { display: grid; gap: var(--space-4); justify-items: start; }
.page-hero__inner > * { max-width: 820px; }

/* spis sekcji podstrony (przewijany poziomo na telefonie) */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--border); }
.subnav__list { display: flex; gap: var(--space-1); overflow-x: auto; scrollbar-width: none; padding-block: var(--space-2); }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: var(--radius-full);
  color: var(--ink-muted); font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.subnav a:hover { background: var(--surface-hover); color: var(--ink); }
.subnav a[aria-current="true"] { background: var(--brand-soft); color: var(--brand); }

/* blok funkcji na podstronie */
.feature + .feature { border-top: 1px solid var(--border); }
.feature { padding-block: clamp(48px, 7vw, 88px); }
.feature__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); }
.shots { display: grid; gap: var(--space-4); }
.shots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- galeria ---------- */
.gallery { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery__item { display: grid; gap: var(--space-2); align-content: start; }
.gallery__link { display: block; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.gallery__link img { transition: opacity .15s; }
.gallery__link:hover img { opacity: .88; }
.gallery__item figcaption { font-size: 0.875rem; line-height: 1.45; }

/* ---------- okno (Dialog z DS) ---------- */
.dialog {
  width: min(560px, calc(100vw - 2 * var(--space-4))); max-height: calc(100dvh - 2 * var(--space-6)); padding: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-overlay);
}
.dialog::backdrop { background: color-mix(in srgb, var(--bg) 72%, transparent); }
.dialog__box { display: grid; gap: var(--space-4); padding: var(--space-4) var(--space-6) var(--space-6); }
.dialog__head { display: flex; align-items: center; gap: var(--space-3); }
.dialog__title { flex: 1; font-size: 1.125rem; font-weight: 600; }
.dialog__head .icon-btn { margin-right: -10px; }
.dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-2); }
.lightbox { width: min(1280px, calc(100vw - 2 * var(--space-4))); }
.lightbox .dialog__box { padding: var(--space-3) var(--space-4) var(--space-4); gap: var(--space-3); }
.lightbox img { width: 100%; max-height: calc(100dvh - 180px); object-fit: contain; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-sunken); }
.lightbox__foot { display: flex; align-items: center; gap: var(--space-3); }
.lightbox__caption { flex: 1; font-size: 0.9375rem; }

.toggle { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); align-items: start; padding: var(--space-3) 0; border-top: 1px solid var(--border); cursor: pointer; }
.toggle input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.toggle small { display: block; color: var(--ink-muted); font-size: 0.875rem; line-height: 1.45; }

/* ---------- kroki (sekwencja) ---------- */
.steps { display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); } }
.step { display: grid; gap: var(--space-2); align-content: start; counter-increment: step; }
.step::before {
  content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--space-2);
  border: 2px solid var(--brand); border-radius: 50%; color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums;
}
.step p { color: var(--ink-muted); }

/* ---------- karty raportów ---------- */
.reports { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 720px) { .reports { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.report { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.report__img { display: block; background: var(--surface-sunken); border-bottom: 1px solid var(--border); padding: var(--space-4) var(--space-4) 0; overflow: hidden; height: 260px; }
.report__img img { width: 100%; border-radius: var(--radius-sm) var(--radius-sm) 0 0; box-shadow: var(--shadow-raised); background: #fff; }
.report__body { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6); }
.report__body p { color: var(--ink-muted); }
.downloads { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.download {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--control-border); border-radius: var(--radius-md);
  color: var(--ink); font-size: 0.875rem; font-weight: 500; text-decoration: none; background: var(--surface);
}
.download:hover { background: var(--surface-hover); color: var(--ink); }
.download .icon { width: 16px; height: 16px; color: var(--brand); }
.download small { color: var(--ink-muted); font-weight: 400; }

/* ---------- tarcza doby (raporty) ---------- */
.day { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 960px) { .day { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.dial { width: 100%; max-width: 440px; margin-inline: auto; }
.dial svg { display: block; width: 100%; height: auto; overflow: visible; }
.dial__face { fill: var(--surface); stroke: var(--border); }
.dial__tick { fill: none; }
.dial__tick--q { stroke: var(--ink-muted); stroke-width: 6; stroke-dasharray: 1.6 13.4; stroke-dashoffset: 0.8; opacity: .6; }
.dial__tick--h { stroke: var(--ink); stroke-width: 12; stroke-dasharray: 2.6 57.4; stroke-dashoffset: 1.3; }
.dial__hr { font: 500 13px var(--font-sans); fill: var(--ink-muted); text-anchor: middle; font-variant-numeric: tabular-nums; }
.dial__track { fill: none; stroke: var(--surface-sunken); stroke-width: 22; }
.dial__seg { fill: none; stroke-width: 22; }
.dial__seg--drive { stroke: var(--state-drive); }
.dial__seg--stop { stroke: var(--state-idle); }
.dial__seg--parking { stroke: var(--state-park); opacity: .55; }
.dial__base { fill: none; stroke: var(--border); }
.dial__grid { fill: none; stroke: var(--border); stroke-width: 1; stroke-dasharray: 2 3; }
.dial__scale { font: 400 9px var(--font-sans); fill: var(--ink-muted); }
.dial__trace path { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.dial__hub { fill: var(--brand); }
.dial__hub-label { font: 600 13px var(--font-sans); fill: var(--on-brand); text-anchor: middle; }
.dial__hand { opacity: 0; transition: opacity .4s; }
.dial__hand line { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.dial__hand circle { fill: var(--brand); stroke: var(--surface); stroke-width: 1.5; }
.is-playing .dial__hand { opacity: 1; transition: none; }
@media (max-width: 420px) { .dial__hr--minor, .dial__scale { display: none; } .dial__hr { font-size: 17px; } }
.readout { display: grid; gap: var(--space-4); padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.readout__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.readout__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (min-width: 560px) { .readout__grid { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.readout dt { font-size: 0.8125rem; color: var(--ink-muted); }
.readout dd { font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.readout__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--border); }

/* ---------- kontakt i formularze ---------- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.form { display: grid; gap: var(--space-6); padding: clamp(20px, 3vw, 36px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: 0.9375rem; }
.form__status:empty { display: none; }
.form__status--error { background: var(--danger-soft); color: var(--danger); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form__foot .caption { flex: 1 1 260px; }
.contact-card { display: grid; gap: var(--space-4); padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.contact-line { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px var(--space-3); align-items: center; }
.contact-line .question__icon { grid-row: span 2; }
.contact-line a { font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-line a:hover { color: var(--brand); }

/* ---------- tekst prawny ---------- */
.prose > * { max-width: 72ch; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: 1.375rem; font-weight: 600; line-height: 1.3; }
.prose h3 { margin: 1.6em 0 0.4em; font-size: 1.0625rem; font-weight: 600; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: 0.35em; }
.fill { padding: 0 4px; border: 1px dashed var(--warning); border-radius: var(--radius-sm); background: var(--warning-soft); color: var(--warning); font-weight: 500; }

/* ---------- baner zgód ---------- */
.consent {
  position: fixed; z-index: 60; left: var(--space-4); right: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
  display: grid; gap: var(--space-4); max-width: 760px; margin-inline: auto; padding: var(--space-6);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-overlay);
}
.consent[hidden] { display: none; }
.consent__title { font-size: 1.0625rem; font-weight: 600; }
.consent p { font-size: 0.9375rem; color: var(--ink-muted); margin-top: var(--space-1); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: flex-end; }
.consent__actions .btn { flex: 1 1 140px; }
@media (min-width: 640px) { .consent__actions .btn { flex: 0 0 auto; } }

/* ---------- stopka ---------- */
.site-footer { padding-block: clamp(40px, 6vw, 72px) calc(var(--space-8) + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); font-size: 0.9375rem; }
.site-footer__grid { display: grid; gap: var(--space-8); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand { display: grid; gap: var(--space-3); align-content: start; }
.site-footer__brand p { color: var(--ink-muted); }
.site-footer__head { margin-bottom: var(--space-3); font-size: 0.875rem; font-weight: 600; }
.site-footer__links { display: grid; gap: var(--space-2); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.site-footer__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--border); font-size: 0.8125rem; color: var(--ink-muted); }

/* ---------- strona błędu i podziękowania ---------- */
.notice { display: grid; gap: var(--space-4); justify-items: start; padding-block: clamp(64px, 12vw, 140px); }
.notice > * { max-width: 640px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
