/* CandorLims, strona publiczna. Język wizualny: dokument techniczny, nie siatka kart.
   - Struktura z linii: reguły poziome, listy definicji, tabele z nagłówkami, numer sekcji w wąskiej kolumnie.
   - Narożniki ostre (promień 0; 2 px tylko na kontrolkach), bez cieni, gradientów i ikon-ozdobników.
   - Dwa motywy na tych samych zasadach co aplikacja (Q-008, Q-009): biel lub prawie czerń jako tło,
     tusz i szarości, karmazyn jako oszczędny akcent (numery sekcji, jedno słowo w h1, bieżący język i motyw,
     fokus, podkreślenie odnośnika). Karmazyn nigdy nie oznacza stanu ani błędu.
   - Wartości kolorów są te same co tokeny aplikacji (static/css/app.css); makieta w hero używa --app-*.
   Kontrast i zgodność tokenów pilnuje tests/test_landing.py. */

/* Fonty z własnego serwera (apps/landing/static/landing/fonts, licencja SIL OFL 1.1 w tym katalogu).
   IBM Plex Sans: tekst i makieta aplikacji (aplikacja używa tej samej rodziny); Source Serif 4: nagłówki;
   IBM Plex Mono: numery, etykiety, identyfikatory. Cyfry w Plex są tabelaryczne domyślnie. */
@font-face {
  font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/ibm-plex-sans-400-700.bcb98908b362.woff2") format('woff2');
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/source-serif-4-600.71e1c4134b24.woff2") format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-400.0b85585699d5.woff2") format('woff2');
}

/* Motyw jasny (domyślny). */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #111317;
  --muted: #444a52;
  --faint: #565c65;
  --line: #d3d6db;
  --line-strong: #6c717a;
  --ink: #111317;
  --ink-hover: #343941;
  --on-ink: #ffffff;
  --accent: #dc143c;
  --app-bg: #ffffff;
  --app-bg-raised: #ffffff;
  --app-surface: #ffffff;
  --app-surface-hover: #f0f1f3;
  --app-border: #d3d6db;
  --app-border-strong: #6c717a;
  --app-text: #111317;
  --app-text-muted: #444a52;
  --app-text-faint: #565c65;
  --app-accent: #111317;
  --app-accent-hover: #343941;
  --app-accent-muted: #e6e8eb;
  --app-on-accent: #ffffff;
  --app-success: #0b6b34;
  --app-success-muted: #dff2e6;
  --app-info: #343941;
  --app-info-muted: #e6e8eb;
  --app-crimson-mark: #dc143c;
  --app-chrome: #ebebeb;
  --app-chrome-text: #2e3436;
}

/* Motyw ciemny wybrany ręcznie. Ten sam zestaw co w bloku @media niżej (test pilnuje, że są identyczne). */
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0f1012;
  --text: #f2f3f4;
  --muted: #c4c8ce;
  --faint: #a9aeb6;
  --line: #3b3e45;
  --line-strong: #8d929b;
  --ink: #f2f3f4;
  --ink-hover: #ffffff;
  --on-ink: #0f1012;
  --accent: #ff6b8a;
  --app-bg: #0f1012;
  --app-bg-raised: #17181b;
  --app-surface: #1b1d21;
  --app-surface-hover: #26282d;
  --app-border: #3b3e45;
  --app-border-strong: #8d929b;
  --app-text: #f2f3f4;
  --app-text-muted: #c4c8ce;
  --app-text-faint: #a9aeb6;
  --app-accent: #f2f3f4;
  --app-accent-hover: #ffffff;
  --app-accent-muted: #30333a;
  --app-on-accent: #0f1012;
  --app-success: #62d08c;
  --app-success-muted: #12291b;
  --app-info: #d2d5da;
  --app-info-muted: #2b2e34;
  --app-crimson-mark: #ff6b8a;
  --app-chrome: #303030;
  --app-chrome-text: #f2f3f4;
}

/* Motyw ciemny z ustawień systemu, dopóki użytkownik nie wybrał jasnego. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #0f1012;
    --text: #f2f3f4;
    --muted: #c4c8ce;
    --faint: #a9aeb6;
    --line: #3b3e45;
    --line-strong: #8d929b;
    --ink: #f2f3f4;
    --ink-hover: #ffffff;
    --on-ink: #0f1012;
    --accent: #ff6b8a;
    --app-bg: #0f1012;
    --app-bg-raised: #17181b;
    --app-surface: #1b1d21;
    --app-surface-hover: #26282d;
    --app-border: #3b3e45;
    --app-border-strong: #8d929b;
    --app-text: #f2f3f4;
    --app-text-muted: #c4c8ce;
    --app-text-faint: #a9aeb6;
    --app-accent: #f2f3f4;
    --app-accent-hover: #ffffff;
    --app-accent-muted: #30333a;
    --app-on-accent: #0f1012;
    --app-success: #62d08c;
    --app-success-muted: #12291b;
    --app-info: #d2d5da;
    --app-info-muted: #2b2e34;
    --app-crimson-mark: #ff6b8a;
    --app-chrome: #303030;
    --app-chrome-text: #f2f3f4;
  }
}

:root {
  --font-sans: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: 'Source Serif 4', Charter, 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --font-app: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --maxw: 72rem;
  --label-col: 11rem;
  --gap: 2.5rem;
}

* { box-sizing: border-box; }
/* scroll-padding-top: zapas nad nagłówkiem sekcji, do której prowadzi odnośnik. */
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  overflow-wrap: break-word;
  font-synthesis: style;  /* bez sztucznego pogrubienia; pochylenie tylko dla nazw łacińskich */
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
p, dl, dd, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
h1, h2 {
  margin: 0; font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.012em; overflow-wrap: break-word;
}
h1 { font-size: 2rem; line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.12; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* fokus i link pomijający */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
main:focus { outline: none; }
.skip {
  position: absolute; left: 0.75rem; top: -6rem; z-index: 20;
  background: var(--ink); color: var(--on-ink); padding: 0.6rem 1rem; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 0.75rem; }

/* nagłówek: logo, język, motyw. Bez odnośników do sekcji i bez logowania.
   Logo to znak słowny z zestawu docs/design/logo (kopie w brand/): plik kolorowy w motywie jasnym, odwrócony
   w ciemnym; oba <img> są w HTML, a motyw wybiera CSS (data-theme ustawia skrypt przed arkuszem, więc bez
   mignięcia). Szerokość 9.75rem = 156 px (minimum z wytycznych: 96 px); pole ochronne = pół wysokości C,
   czyli około 6 px poza ramką pliku: padding nagłówka i odstępy flex dają więcej. Bez przebarwiania plików. */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.9rem; }
.brand { display: block; max-width: 100%; text-decoration: none; }
.brand-light, .brand-dark { display: block; width: 9.75rem; max-width: 100%; height: auto; }
.brand-dark { display: none; }
:root[data-theme='dark'] .brand-light { display: none; }
:root[data-theme='dark'] .brand-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .brand-light { display: none; }
  :root:not([data-theme='light']) .brand-dark { display: block; }
}
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
/* odnośnik do strony kontaktu: pojawia się tylko, gdy adres kontaktowy jest ustawiony (LANDING_CONTACT_EMAIL) */
.top-link {
  display: inline-flex; align-items: center; min-height: 2rem; padding: 0.25rem 0.6rem; border-bottom: 2px solid transparent;
  font-size: 0.9375rem; line-height: 1.25; font-weight: 600; color: var(--text); text-decoration: none;
}
.top-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--accent); text-underline-offset: 0.3em; }
.top-link[aria-current] { border-bottom-color: var(--accent); }

/* przełączniki: tekst rozdzielony pionową linią; wybrana pozycja ma grubszą kreskę pod spodem i pełny kolor
   tekstu (nie tylko kolor: także aria-current / aria-pressed i grubość pisma) */
.seg { display: flex; flex-wrap: wrap; align-items: stretch; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.02em; }
.seg > * {
  display: inline-flex; align-items: center; min-height: 2rem; padding: 0.25rem 0.6rem;
  color: var(--muted); text-decoration: none; background: none; border: 0; border-bottom: 2px solid transparent;
  border-radius: 0; font: inherit; letter-spacing: inherit; cursor: pointer;
}
.seg > * + * { border-left: 1px solid var(--line); }
.seg > a:hover, .seg > button:hover { color: var(--text); text-decoration: underline; }
.seg > [aria-current], .seg > [aria-pressed='true'] { color: var(--text); border-bottom-color: var(--accent); cursor: default; }
.theme[hidden] { display: none; }

/* siatka sekcji: wąska kolumna etykiet, szeroka kolumna treści */
.sec-grid { display: grid; grid-template-columns: var(--label-col) minmax(0, 1fr); column-gap: var(--gap); }
.sec { padding: 0 0 5.5rem; }
.sec .sec-grid::before { content: ""; grid-column: 1 / -1; border-top: 1px solid var(--text); margin-bottom: 1.1rem; }
.sec-label, .eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.sec-label { padding-top: 0.45rem; }
.sec-no { color: var(--accent); margin-right: 0.6em; letter-spacing: 0; }
.sec-body > h2 + .lead { margin-top: 0.9rem; }
.sec-body > h2 + .rows { margin-top: 1.75rem; }
.prose { margin-top: 0.9rem; max-width: 44rem; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--muted); max-width: 60rem; }

/* hero: tytuł na pełną szerokość kontenera. Od 48rem tytuł ma dwa wiersze, a rozmiar pisma liczy się
   z szerokości kontenera (cqw), tak żeby dłuższy wiersz wypełniał rząd; --h1-fit dobrane osobno dla języka. */
.hero { padding: 3.5rem 0 5rem; }
.hero-head { container-type: inline-size; }
.eyebrow { margin-bottom: 1.25rem; }
.eyebrow::before { content: ""; display: block; width: 2rem; height: 3px; background: var(--accent); margin-bottom: 1rem; }
h1 em { font-style: normal; color: var(--accent); }
h1 { font-size: clamp(2rem, 9cqw, 3rem); }
.hero .lead { margin-top: 1.75rem; font-size: 1.375rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.55rem 1.1rem;
  border: 1px solid var(--line-strong); border-radius: 2px; background: var(--bg); color: var(--text);
  font-weight: 600; font-size: 1rem; text-decoration: none;
}
.btn:hover { border-color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: currentColor; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); }

/* listy definicji w wierszach: termin w lewej kolumnie, opis w prawej, między wierszami cienka linia */
.rows { margin-top: 2rem; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 14rem minmax(0, 1fr); column-gap: 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 600; }
.rows dd { max-width: 44rem; }

/* strona kontaktu: ta sama siatka co sekcje strony głównej, z h1 w rozmiarze h2 (strona ma jeden nagłówek główny) */
.contact { padding-top: 3rem; }
.contact .sec-grid::before { display: none; }  /* linia nagłówka strony wystarczy; bez drugiej tuż pod nią */
.page-title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.015em; }
.sub { margin-top: 2.75rem; font-family: var(--font-serif); font-weight: 600; font-size: 1.375rem; line-height: 1.25; }
.sec-body > .page-title + .lead { margin-top: 0.9rem; }
.sec-body > .sub + .rows { margin-top: 1rem; }
.rows-after { margin-top: 0; border-top: 0; }  /* ciąg dalszy tej samej listy, bez pustego pasa między liniami */
.contact .cta { margin-top: 2.5rem; }


/* stopka jako jeden blok: nota o prywatności wyśrodkowana w jednym wierszu (na wąskim ekranie zawija się),
   pod nią cienka linia, a w dolnym wierszu prawa autorskie po lewej i wybór języka po prawej
   (na wąskim ekranie oba wyśrodkowane jedno pod drugim). */
footer { border-top: 1px solid var(--text); padding: 1.5rem 0 3rem; font-size: 0.9375rem; color: var(--muted); }
.foot-note { text-align: center; text-wrap: balance; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.75rem 2rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: baseline; }
.foot span[aria-current] { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

/* hero: okno GNOME (Fedora) z interfejsem aplikacji. Wnętrze okna powtarza style aplikacji
   (static/css/app.css: tokeny, promienie przycisków i plakietek, znacznik bieżącej pozycji menu w karmazynie),
   dlatego tylko tutaj są zaokrąglenia. Rama jest prostokątna jak przycięty zrzut ekranu. Statusy w makiecie
   mają etykiety tekstowe i nie ma wśród nich błędu ani wyniku poza specyfikacją. */
.gwin { margin-top: 3.5rem; }
figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.gwin-frame { container-type: inline-size; border: 1px solid var(--line-strong); background: var(--app-bg); color: var(--app-text); font-family: var(--font-app); font-size: 0.8125rem; line-height: 1.45; overflow: hidden; }
.gwin-bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 2.6rem; background: var(--app-chrome); color: var(--app-chrome-text); border-bottom: 1px solid var(--app-border); }
.gwin-title { font-weight: 650; font-size: 0.875rem; }
.gwin-close { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--app-border); display: grid; place-items: center; }
.gwin-close svg { width: 0.75rem; height: 0.75rem; stroke: var(--app-chrome-text); stroke-width: 1.6; stroke-linecap: round; fill: none; }
.gwin-body { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); }
.app-side { background: var(--app-bg-raised); border-right: 1px solid var(--app-border); padding: 0.75rem 0.6rem 1.25rem; display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.app-brand { display: block; padding: 0.15rem 0.3rem 0.75rem; }
.app-brand .brand-light, .app-brand .brand-dark { width: 7.5rem; }  /* jak w pasku bocznym aplikacji */
.app-nav-title { padding: 0.15rem 0.6rem 0.2rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--app-text-faint); }
.app-nav { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.6rem; border-radius: 0.4rem; color: var(--app-text-muted); white-space: nowrap; }
.app-nav.is-active { background: var(--app-accent-muted); color: var(--app-text); font-weight: 600; box-shadow: inset 3px 0 0 var(--app-crimson-mark); }
.app-count { margin-left: auto; min-width: 1.5rem; height: 1.25rem; padding: 0 0.4rem; border-radius: 999px; border: 1px solid var(--app-accent); background: var(--app-accent); color: var(--app-on-accent); font-size: 0.75rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.app-main { padding: 1.1rem 1.25rem 1.4rem; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.9rem; }
.app-title { font-size: 1.125rem; font-weight: 600; }
.app-btn { display: inline-flex; align-items: center; padding: 0.35rem 0.7rem; border-radius: 0.45rem; border: 1px solid var(--app-border-strong); background: var(--app-surface); color: var(--app-text); font-weight: 500; white-space: nowrap; }
.app-btn-primary { background: var(--app-accent); border-color: var(--app-accent); color: var(--app-on-accent); }
.app-panel { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 0.6rem; padding: 0.8rem 1rem; margin-bottom: 0.9rem; }
.app-panel:last-child { margin-bottom: 0; }
.app-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; }
.app-field { display: grid; gap: 0.2rem; }
.app-input { display: block; min-width: 13rem; padding: 0.4rem 0.6rem; border: 1px solid var(--app-border-strong); border-radius: 0.45rem; background: var(--app-bg); color: var(--app-text-faint); }
.app-select { min-width: 10rem; color: var(--app-text); }
.app-filter > .app-btn { margin-left: auto; padding-block: 0.4rem; }
.app-table { width: 100%; border-collapse: collapse; }
.app-table th { text-align: left; font-weight: 400; color: var(--app-text-muted); padding: 0.4rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--app-border); }
.app-table td { padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--app-border); vertical-align: middle; }
.app-table tr:last-child td { border-bottom: 0; }
.app-table th:last-child, .app-table td:last-child { padding-right: 0; }
.app-num, .app-mono { font-family: var(--font-mono); white-space: nowrap; }
.app-num { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.app-muted { color: var(--app-text-muted); }
.app-tests { font-size: 0.75rem; }
.app-badge { display: inline-flex; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 500; white-space: nowrap; }
.app-badge.success { background: var(--app-success-muted); color: var(--app-success); }
.app-badge.accent { background: var(--app-accent-muted); color: var(--app-accent-hover); }
.app-badge.info { background: var(--app-info-muted); color: var(--app-info); }

/* responsywność */
@media (max-width: 62rem) {
  .rows > div { grid-template-columns: 12rem minmax(0, 1fr); column-gap: 1.5rem; }
}
@media (max-width: 48rem) {
  :root { --gap: 0rem; }
  .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 2.25rem 0 3.5rem; }
  .hero .lead { font-size: 1.2rem; }
  .lead { font-size: 1.125rem; }
  .sec { padding-bottom: 3.5rem; }
  .sec-label { padding: 0 0 0.9rem; }
  .gwin { margin-top: 2.5rem; }
}
@media (max-width: 36rem) {
  .wrap { padding: 0 1rem; }
  body { font-size: 1rem; }
  /* nagłówek na telefonie: logo wyśrodkowane w pierwszym wierszu, w drugim kontakt, język i motyw rozłożone na całą szerokość */
  .top-in { justify-content: center; row-gap: 0.25rem; padding-block: 0.9rem 0.4rem; }
  .brand { margin-inline: auto; }
  .tools { width: 100%; justify-content: space-between; gap: 0.5rem; }
  .top-link { padding-left: 0; }
  .tools > .theme > :last-child { padding-right: 0; }
  .rows > div { grid-template-columns: minmax(0, 1fr); row-gap: 0.3rem; }
  .foot-base { flex-direction: column; align-items: center; text-align: center; }
  .seg > * { padding-inline: 0.5rem; }
}
/* Tytuł w dwóch wierszach dopasowany do szerokości kontenera (hero-head). */
@container (min-width: 44rem) {
  h1 .h1-line { display: block; }
  h1 { font-size: min(var(--h1-fit, 6cqw), 5.5rem); }
  :lang(pl) h1 { --h1-fit: 7.45cqw; }
  :lang(en) h1 { --h1-fit: 6.7cqw; }
}
/* Makieta dopasowuje się do własnej szerokości (także przy powiększonym tekście): kolejno znikają kolumny
   Matryca i Zlecenie, menu boczne, a na końcu filtr i kolumna Badania. */
@container (max-width: 62rem) {
  .gwin-body { grid-template-columns: 12.5rem minmax(0, 1fr); }
  .app-table th:nth-child(3), .app-table td:nth-child(3), .app-table th:nth-child(4), .app-table td:nth-child(4) { display: none; }
}
@container (max-width: 48rem) {
  .gwin-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
}
@container (max-width: 34rem) {
  .app-main { padding: 0.6rem; }
  .app-panel { padding: 0.4rem 0.6rem; }
  .app-table th, .app-table td { padding-right: 0.5rem; vertical-align: top; }
  .app-badge { white-space: normal; padding-inline: 0.4rem; }
  .app-table { font-size: 0.75rem; }
  .app-num { font-size: 0.75rem; }
  .app-filter, .app-tests, .app-table th:nth-child(5) { display: none; }
}
@container (max-width: 17rem) {
  .app-table th:nth-child(2), .app-table td:nth-child(2) { display: none; }
  .app-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Tryb wymuszonych kolorów (Windows High Contrast): tła znikają, więc stany mają obrys i podkreślenie. */
@media (forced-colors: active) {
  .btn, .skip, .app-btn, .app-badge, .app-count, .app-input { border: 1px solid CanvasText; }
  .seg > [aria-current], .seg > [aria-pressed='true'], .top-link[aria-current] { border-bottom-color: Highlight; text-decoration: underline; }
  .eyebrow::before { background: CanvasText; }
  .app-nav.is-active { outline: 1px solid CanvasText; }
  :focus-visible { outline-color: Highlight; }
}
@media print {
  .top .tools, .cta { display: none; }
  .brand-light { display: block !important; }  /* na papierze zawsze wersja na biel, także gdy wybrano ciemny motyw */
  .brand-dark { display: none !important; }
  .sec { break-inside: auto; padding-bottom: 2rem; }
}
