/* =====================================================================
   marcin-dobrzynski.pl — arkusz stylów (makieta C, paleta v2, 25.09.2026)
   Wzorzec: design/mockup-c/styles.css. Bez bibliotek, bez gradientów, cieni i ozdobników.

   Baza: biel + grafitowa czerń #0A0A0A. DWA AKCENTY, każdy z własną rolą:
   - pomarańcz #D97757 (barwa marki Anthropic — ta sama rodzina co odznaka certyfikatu) = akcent GŁÓWNY:
     CTA (przycisk „Wyślij” jedynym akcentem w kontakcie), podkreślenia KPI, numery sekcji, litery A–D,
     zaznaczenie węzła mapy, impulsy. Tekst na pomarańczu ZAWSZE czarny. Drobny tekst w kolorze = #B85C3A.
   - zieleń #007A00 (barwa Sellon) = akcent DOWODU/STATUSU: „W produkcji”, „Rozwijam”, legenda,
     linki w treści, ✓ kontroli demo, znaczniki „W produkcji” w mapie kompetencji.
   ⛔ Zieleń nigdy na pomarańczu (1,78:1). ⛔ Biel na pomarańczu (3,0:1) tylko dla elementów ≥ 24 px — w praktyce nie używamy.

   Tabela kontrastów (WCAG 2.2, sprawdzone):
     #0A0A0A na #FFFFFF  19,8:1   tekst
     #0A0A0A na #D97757   6,3:1   tekst na pomarańczu (przyciski, blok kontaktu, odznaki)
     #B85C3A na #FFFFFF   4,6:1   drobny tekst w kolorze akcentu (kicker, strzałki, „!”)
     #007A00 na #FFFFFF   5,1:1   linki w treści, statusy
     #FFFFFF na #0A0A0A  19,8:1   blok wyników, dziennik, suma kalkulatora
     #A1A1AA na #0A0A0A   7,8:1   drugorzędny tekst na czerni
     #52525B na #FFFFFF   7,7:1   tekst drugorzędny (--muted)
     #3F3F46 na #FFFFFF  10,4:1   tekst ciągły (--graphite)
     #0A0A0A na #F3D2C4  15,6:1   tekst w zaproszeniu „Zespół” (tinta pomarańczu)
     #3F3F46 na #F3D2C4   8,2:1   tekst drugorzędny w zaproszeniu „Zespół”

   Kroje: Bricolage Grotesque (display) + DM Sans (tekst), self-hosted: fonts/fonts.css.
   Sekcje są niezależnymi blokami: numer liczy licznik CSS (.sec-num pusty), odstęp nie zależy
   od sąsiada, komponenty inicjują się po atrybutach (.sysmap, [data-demo], [data-calc-block]).
   ===================================================================== */

/* FONTY (dawniej fonts/fonts.css — scalone, żeby strona ładowała jeden plik CSS).
   Fonty self-hosted (RODO/DSGVO: zero zapytań do Google Fonts ani gstatic).
   Bricolage Grotesque (OFL) — display, fonty zmienne: osie opsz 12–96 i wght 200–800.
   DM Sans (OFL) — tekst, fonty zmienne: osie opsz 9–40 i wght 100–1000 (+ kursywa).
   Źródło: Google Fonts CSS API (woff2 z unicode-range), podzbiory latin + latin-ext (polskie znaki, umlauty, ß).
   Pobrane 2026-09-25. Aktualizacja: patrz README.md, sekcja „Fonty”. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin-ext-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin-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: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext-italic.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: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-italic.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: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext-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: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-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;
}

:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --graphite: #3F3F46;
  --muted: #52525B;
  --hair: #D4D4D8;
  --wash: #F4F4F5;
  --orange: #D97757;
  --orange-ink: #B85C3A;
  --orange-tint: #FBEDE7;
  --orange-soft: #F3D2C4;           /* tło zaproszenia w sekcji „Zespół”: czarny tekst 15,6:1 */
  --green: #007A00;
  --green-deep: #006400;
  --green-tint: #E6F2E6;
  --accent: var(--orange);          /* płaszczyzny, linie, display ≥ 24 px */
  --accent-text: var(--orange-ink); /* drobny tekst i glify w kolorze akcentu */
  --on-accent: var(--ink);          /* tekst na pomarańczu: zawsze czarny */
  --proof: var(--green);            /* statusy „W produkcji”, znaczniki dowodu */
  --link: var(--green);             /* linki tekstowe w treści */
  --ink-muted: #A1A1AA;
  --ink-hair: #3F3F46;

  --font-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-text: "DM Sans", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  --gutter: 16px;
  --maxw: 1320px;
  --rule: 2px;
  --sec-pad: clamp(4rem, 2.5rem + 6vw, 8rem);
  --header-h: 66px;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
main p a:not(.btn), main dd a:not(.btn), main li a:not(.btn) { color: var(--link); }
code { font-family: var(--font-mono); font-size: 0.875em; background: var(--wash); padding: 0.05em 0.3em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: break-word; }
/* niemieckie złożenia (Datenschutzerklärung, Bestandssynchronisation) dzielimy w nagłówkach na wąskich ekranach */
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) .map tbody th { -webkit-hyphens: auto; hyphens: auto; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem); line-height: 1.05; text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.nw { white-space: nowrap; }

.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;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 16px; font-weight: 600;
}
.skip:focus { top: 8px; }

.linkish {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px;
}
.linkish:hover { text-decoration-thickness: 2px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 1.5rem;
  font-family: var(--font-text); font-size: 1rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.2;
  text-decoration: none; border: var(--rule) solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink);
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn-solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-solid:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ink:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-invert:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-line-invert { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-line-invert:hover { background: var(--paper); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Nagłówek i nawigacja ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--rule) solid var(--ink);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }

.wordmark { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; min-height: 44px; }
.wordmark-mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; letter-spacing: 0;
  box-shadow: inset 0 -4px 0 var(--accent);
}
.wordmark-name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px; min-width: 44px; padding: 0 0.9rem;
  background: var(--paper); color: var(--ink);
  border: var(--rule) solid var(--ink); border-radius: 0;
  font: 600 0.9375rem var(--font-text); cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: var(--rule) solid var(--ink);
  padding: 0.5rem var(--gutter) 1.25rem;
  max-height: calc(100vh - 66px); overflow-y: auto;
}
.nav.is-open { display: block; }
.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: flex; align-items: center; min-height: 52px;
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 600;
  text-decoration: none; border-bottom: 1px solid var(--hair);
}
.nav-links a:hover { color: var(--accent-text); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.nav-aside { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.nav-aside .btn { flex: 1; }

.lang { display: inline-flex; align-items: center; font-weight: 600; font-size: 0.9375rem; }
.lang a {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 0.25rem;
  color: var(--muted); text-decoration: none; letter-spacing: 0.04em;
}
.lang a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.35em; }
.lang a[aria-current] {
  color: var(--ink); font-weight: 800;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.4em;
}
.lang-sep { color: var(--hair); font-weight: 400; user-select: none; }
@media (min-width: 1240px) {
  .menu-toggle { display: none; }
  .nav {
    display: flex !important; position: static; align-items: center; gap: 1.25rem;
    border: 0; padding: 0; max-height: none; overflow: visible; background: none;
  }
  .nav-links { display: flex; gap: 0; }
  .nav-links a {
    min-height: 44px; padding: 0 0.55rem; border: 0; white-space: nowrap;
    font-family: var(--font-text); font-size: 0.9375rem; font-weight: 500;
  }
  .nav-links a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 0.4em; }
  .nav-aside { margin: 0; gap: 0.75rem; }
  .nav-aside .lang a { min-width: 34px; }
  .nav-aside .btn { flex: none; white-space: nowrap; }
}
/* 1240–1399 px: DE ma najdłuższe etykiety („So arbeite ich”, „Werkzeugkatalog”, „Gespräch vereinbaren”) i przy
   standardowych odstępach wychodziło poza ekran (+43 px przy 1240). Ciaśniejsze odstępy i mniejszy krój tylko w tym zakresie. */
@media (min-width: 1240px) and (max-width: 1399px) {
  .header-row { gap: 0.75rem; }
  .nav { gap: 0.75rem; }
  .nav-links a { padding: 0 0.4rem; font-size: 0.875rem; }
  .nav-aside { gap: 0.5rem; }
  .nav-aside .btn { padding: 0 0.9rem; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(1.75rem, 1rem + 3vw, 4.5rem); }
.hero-grid { display: grid; gap: 2rem; }

.kicker {
  display: inline-block; margin-bottom: 1.1rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-text);
}
/* H1 = zdanie o problemie klienta (runda 6), nie nazwisko — mniejszy stopień niż dawny „Marcin Dobrzyński.” */
.hero-title {
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3.75rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance;
  margin-bottom: clamp(1.25rem, 1rem + 1vw, 1.75rem); max-width: 20ch;
}
.hero-title-2 { color: var(--accent-text); }
.hero-lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.875rem); line-height: 1.22; letter-spacing: -0.01em;
  max-width: 30ch; margin-bottom: 1rem;
}
.hero-stack {
  margin: 0; padding-top: 0.75rem; border-top: 1px solid var(--hair); max-width: 56ch;
  font-size: 0.875rem; font-weight: 600; line-height: 1.5; color: var(--graphite);
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.75rem; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-underline-offset: 0.25em; }
.hero-link:hover { color: var(--accent-text); }
.hero-cta-note { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--muted); max-width: 52ch; }

.hero-photo { margin: 0; background: var(--ink); position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; }
.hero-photo-cap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--paper);
  font-size: 0.8125rem; font-weight: 500; border-top: 4px solid var(--accent);
}
.hero-photo-cap a { color: var(--paper); text-decoration: none; }
.hero-photo-cap a:hover { text-decoration: underline; }
.hero-photo-cap span:last-child { color: var(--ink-muted); }
.hero-badges {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--paper); color: var(--ink); border: 1px solid var(--hair); border-top: 0;
}
.hero-badge {
  display: flex; align-items: center; gap: 0.6rem; min-height: 52px; padding: 0.5rem 0.75rem;
  color: var(--ink); text-decoration: none;
}
.hero-badge + .hero-badge { border-left: 1px solid var(--hair); }
.hero-badge:hover strong { text-decoration: underline; }
.hero-badge img, .badge-slot { flex: none; width: 36px; height: 36px; }
/* rząd ikon social pod odznakami (hero): biały pasek jak .hero-badges, 6 × min. 44 px mieści się na 390 px */
.hero-social {
  list-style: none; margin: 0; padding: 0.25rem 0.5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--paper); border: 1px solid var(--hair); border-top: 0;
}
.hero-social li { flex: 1 1 0; display: flex; justify-content: center; }
.hero-photo .hero-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--ink); }
.hero-photo .hero-social a:hover, .hero-photo .hero-social a:focus-visible { color: var(--accent-text); }
.hero-social svg { width: 20px; height: 20px; }
.cpn-plaque { flex: none; display: inline-flex; align-items: center; background: #FFFFFF; padding: 6px 8px; }
.hero-badge .cpn-plaque img.cpn-mark { width: 107px; height: 34px; max-height: 34px; image-rendering: auto; }
.cpn-plaque picture { display: block; line-height: 0; }
.badge-slot {
  display: grid; place-items: center; text-align: center;
  border: 1px dashed var(--ink-muted); color: var(--ink-muted);
  font: 700 0.75rem/1 var(--font-text); letter-spacing: 0.06em;
}
.hero-badge span { display: grid; gap: 0.1rem; font-size: 0.6875rem; line-height: 1.25; }
.hero-badge strong { font-weight: 600; }
.hero-badge small { font-size: 0.6875rem; color: var(--muted); }
@media (max-width: 480px) {
  .hero-badges { grid-template-columns: 1fr; }
  .hero-badge + .hero-badge { border-left: 0; border-top: 1px solid var(--hair); }
}

.facts {
  list-style: none; margin: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr;
  border-top: var(--rule) solid var(--ink);
}
.facts li {
  display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline;
  padding: 0.7rem 0; border-bottom: 1px solid var(--hair);
}
.facts strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.25rem, 1.05rem + 1.2vw, 2rem); line-height: 1; letter-spacing: -0.02em;
}
.facts li > span { display: block; font-size: 0.875rem; line-height: 1.4; color: var(--graphite); }
.facts li > span a { color: var(--link); font-weight: 600; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 0 2rem; align-items: center; }
  .hero-text { grid-column: 1 / span 7; padding-bottom: 0.5rem; }
  .hero-photo { grid-column: 8 / span 5; }
  .hero-photo img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
  .hero-cta .btn { flex: none; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li {
    display: block; padding: 0.9rem 1.25rem 0 0; border-bottom: 0; border-right: 1px solid var(--hair); margin-right: 1.25rem;
  }
  .facts li:last-child { border-right: 0; margin-right: 0; }
  .facts strong { margin-bottom: 0.3rem; }
}

/* ---------- Sekcje ---------- */
/* Każdy blok ma własny rytm: dwa białe bloki obok siebie dają razem jeden pełny odstęp,
   blok pełnokolorowy odsuwa się od sąsiadów marginesem. Kolejność sekcji jest dowolna. */
main { counter-reset: sec; }
.section { padding-block: calc(var(--sec-pad) * 0.5); }
.section-ink, .section-accent { padding-block: var(--sec-pad); margin-block: calc(var(--sec-pad) * 0.5); }
main > .section:last-child { margin-bottom: 0; }
.hero { padding-bottom: calc(var(--sec-pad) * 0.5); }

.sec-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem clamp(1rem, 0.5rem + 2vw, 2.5rem);
  align-items: start;
  border-top: var(--rule) solid var(--ink);
  padding-top: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  margin-bottom: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}
.sec-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.75rem, 1.6rem + 4.6vw, 6rem); line-height: 0.8; letter-spacing: -0.04em;
  color: var(--accent);
}
.sec-num::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); }
.sec-label {
  margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.sec-head h2 { max-width: 22ch; }

.big-copy {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.3; letter-spacing: -0.01em;
 
}

.split { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 3rem; }
}

/* experience — cytat „przed / po” */
.then-now { margin: 0 0 1.25rem; padding: 0.1rem 0 0.1rem 1rem; border-left: 4px solid var(--accent); }

/* experience — ścieżka */
.path { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.path li {
  counter-increment: step;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 1rem;
  padding: 1.25rem 0; border-top: 1px solid var(--ink);
}
.path li:last-child { border-bottom: 1px solid var(--ink); }
.path li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--accent);
}
.path h3 { margin-bottom: 0.4rem; }
.path p { color: var(--graphite); }

/* areas — obszary */
.areas { list-style: none; margin: 0; padding: 0; }
.area {
  display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.75rem 1rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0;
  border-top: var(--rule) solid var(--ink);
}
.area:last-child { border-bottom: var(--rule) solid var(--ink); }
.area-num {
  grid-row: span 3;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.6vw, 3.25rem); line-height: 0.85; color: var(--accent);
}
.area h3 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.area ul { list-style: none; margin: 0; padding: 0; }
.area ul li { padding: 0.55rem 0 0.55rem 1.4rem; border-bottom: 1px solid var(--hair); position: relative; }
.area ul li:last-child { border-bottom: 0; }
.area ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent-text); font-weight: 600; }
.note {
  font-size: 0.9375rem; color: var(--graphite);
  border-left: 4px solid var(--accent); padding: 0.25rem 0 0.25rem 0.9rem; margin: 0.5rem 0 0;
}
@media (min-width: 900px) {
  .area { grid-template-columns: 4rem 5fr 6fr; gap: 0 2.5rem; }
  .area-num { grid-row: span 2; }
  .area h3 { grid-column: 2; grid-row: 1 / span 2; }
  .area ul { grid-column: 3; }
  .area .note { grid-column: 3; }
  .area ul li:first-child { padding-top: 0; }
}

/* areas — blok „Dlaczego AI, a nie kolejne gotowe narzędzie” */
.why { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); border: var(--rule) solid var(--ink); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.why-title { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem); margin-bottom: 1.25rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 2.5rem; }
.why-list li { padding-top: 0.9rem; border-top: 3px solid var(--accent); color: var(--graphite); }
.why-list strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.125rem; line-height: 1.25; margin-bottom: 0.35rem; }
@media (min-width: 900px) { .why-list { grid-template-columns: repeat(3, 1fr); } }

/* competence — mapa kompetencji */
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.9375rem; color: var(--graphite); }
.legend li { display: block; padding-left: 1.6rem; position: relative; }
.legend li .lvl { position: absolute; left: 0; top: 0.3em; }
.legend li strong { margin-right: 0.35rem; }
.legend strong { color: var(--ink); }

.lvl { display: inline-block; width: 14px; height: 14px; flex: none; position: relative; top: 1px; }
.lvl-on { background: var(--proof); border: 2px solid var(--proof); }
.lvl-mid { border: 2px solid var(--proof); background: var(--paper); }
.lvl-mid::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--proof); }
.lvl-off { border: 2px solid var(--muted); background: var(--paper); }

.map { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.map thead th {
  text-align: left; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  padding: 0 1rem 0.75rem 0; border-bottom: var(--rule) solid var(--ink);
}
.map tbody th, .map td { text-align: left; vertical-align: top; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--hair); }
.map tbody th { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; width: 32%; }
.map td:nth-child(2) { width: 17%; white-space: nowrap; }
.map td:last-child { color: var(--graphite); }
.map tbody tr:last-child th, .map tbody tr:last-child td { border-bottom: var(--rule) solid var(--ink); }

.tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.tag-on { color: var(--proof); }
.tag-mid { color: var(--ink); }
.tag-off { color: var(--muted); }

@media (max-width: 767px) {
  .map, .map tbody, .map tr, .map th, .map td { display: block; width: auto !important; }
  .map thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .map tr { padding: 1rem 0; border-top: 1px solid var(--hair); }
  .map tbody tr:first-child { border-top: var(--rule) solid var(--ink); }
  .map tbody tr:last-child { border-bottom: var(--rule) solid var(--ink); }
  .map tbody th, .map td, .map tbody tr:last-child th, .map tbody tr:last-child td { padding: 0; border: 0; }
  .map tbody th { font-size: 1.125rem; margin-bottom: 0.35rem; }
  .map td:nth-child(2) { margin-bottom: 0.35rem; white-space: normal; }
  .map tr[hidden] { display: none !important; }
}

/* results — wyniki (blok czarny) */
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .sec-head { border-top-color: var(--paper); }
.section-ink .sec-num { color: var(--paper); }
.section-ink .sec-label { color: var(--ink-muted); }
.section-ink :focus-visible { outline-color: var(--accent); }

.results-group {
  margin: 0 0 0.25rem; font-family: var(--font-text); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted);
}
.results-group + .results { margin-bottom: 0; }
.results + .results-group { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 2.5rem; }
.results li { border-top: 1px solid var(--ink-hair); padding: 1.25rem 0 1.5rem; min-width: 0; }
.results p {
  margin-top: 0.75rem; font-size: clamp(1rem, 0.97rem + 0.2vw, 1.125rem); line-height: 1.55; color: #D4D4D8; max-width: 40ch;
}
.kpi {
  font-family: var(--font-display); font-weight: 700; color: var(--paper);
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1; letter-spacing: -0.03em;
  white-space: nowrap;
  display: inline-block; padding-bottom: 0.06em;
  border-bottom: 0.08em solid var(--accent);
}
.kpi--pending {
  white-space: normal; font-family: var(--font-text); font-weight: 600; font-size: 1rem; letter-spacing: 0;
  padding: 0.5rem 0.75rem; border: 1px dashed var(--accent); color: var(--paper);
}
.results-foot { margin-top: 2rem; font-size: 0.875rem; color: var(--ink-muted); }
.results-more { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 599px) { .results-more .btn { flex: 1 1 100%; } }
/* jedna liczba na kafel, liczba nad tekstem — nic nie nachodzi przy żadnej szerokości */
.kpi--long { white-space: normal; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
@media (min-width: 768px) {
  .results--channels, .results--auto { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .results--channels { grid-template-columns: repeat(4, 1fr); }
  .results--auto { grid-template-columns: repeat(3, 1fr); }
}

/* system — „System, który zbudowałem” */
.split--system > div > p:not(.big-copy):not(.fine) { color: var(--graphite); max-width: 52ch; }
.system-api { margin-top: 1.25rem; padding: 0.9rem 1rem; border-left: 4px solid var(--proof); background: var(--wash); color: var(--graphite); }
.system-api strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.0625rem; margin-bottom: 0.2rem; }
.system-lessons { margin-top: 1rem; padding: 0.9rem 1rem; border-left: 4px solid var(--accent); background: var(--wash); color: var(--graphite); }
.system-lessons strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.0625rem; margin-bottom: 0.2rem; }
.system-scale { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 2rem; }
.features li { padding: 0.9rem 0 1rem; border-top: 1px solid var(--hair); }
.features li:first-child, .features li:nth-child(2) { border-top: var(--rule) solid var(--ink); }
.features h3 { font-size: 1.0625rem; line-height: 1.3; margin-bottom: 0.3rem; }
.features p { font-size: 0.9375rem; color: var(--graphite); }
@media (max-width: 767px) { .features li:nth-child(2) { border-top: 1px solid var(--hair); } }
@media (min-width: 768px) { .features { grid-template-columns: 1fr 1fr; } }

/* certificate — certyfikat */
.cert { display: grid; gap: 2rem; }
.cert-badge-link { display: block; width: clamp(140px, 30vw, 200px); }
.cert-badge { width: 100%; }
.cert-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.08; margin-bottom: 1.25rem; }
.cert-meta { margin: 0 0 1.25rem; border-top: var(--rule) solid var(--ink); }
.cert-meta div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--hair); }
.cert-meta dt { font-size: 0.875rem; color: var(--muted); }
.cert-meta dd { margin: 0; font-weight: 600; }
.cert-meta a { display: inline-flex; align-items: center; min-height: 28px; color: var(--link); }
.file-meta { margin-left: 0.4rem; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.cert-body > p { color: var(--graphite); }
.cert-side { border: var(--rule) solid var(--ink); padding: 1.5rem; align-self: start; }
.cert-side h3 { margin-bottom: 0.75rem; }
.fine { font-size: 0.8125rem; line-height: 1.5; color: var(--muted); margin-top: 1rem; }
.partners { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.partners a {
  display: grid; justify-items: start; gap: 0.35rem; min-height: 44px; padding: 0.6rem 0.75rem;
  border: 1px solid var(--hair); text-decoration: none; color: var(--muted); font-size: 0.75rem;
}
.partners a:hover { border-color: var(--ink); color: var(--ink); }
.partners img { height: 32px; width: auto; filter: grayscale(1) contrast(1.1); }
.partners a:hover img { filter: none; }
@media (min-width: 900px) {
  .cert { grid-template-columns: 200px 1fr 0.8fr; gap: 3rem; align-items: start; }
  .cert-badge-link { width: 100%; }
}

/* about — o mnie */
.about { display: grid; gap: 2rem; }
.about-photo { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink); }
.about-text > p:not(.big-copy):not(.entity) { color: var(--graphite); max-width: 60ch; }
.entity { font-size: 0.875rem; font-weight: 600; color: var(--muted); letter-spacing: 0.01em; max-width: 60ch; padding-bottom: 0.75rem; border-bottom: 1px solid var(--hair); }
.quote { margin: 2rem 0; padding: 1.25rem 0 0; border-top: var(--rule) solid var(--ink); }
.quote p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em;
}
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--link); }
@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; }
  .about-photo { max-width: none; }
}

/* faq */
.faq { border-top: var(--rule) solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 64px; padding: 1rem 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border: var(--rule) solid var(--ink); font-family: var(--font-text); font-weight: 500; font-size: 1.5rem; line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}
.faq details[open] summary::after { content: "−"; background: var(--ink); color: var(--paper); }
.faq summary:hover { color: var(--accent-text); }
.faq .answer { max-width: 68ch; color: var(--graphite); padding: 0 0 1.5rem; }
.faq .answer p { margin: 0 0 0.75em; }

/* contact — cicha sekcja na bieli (runda 6, Marcin): jedyny akcent = przycisk „Wyślij” */
.section-accent { background: var(--orange-soft); color: var(--ink); }
.contact { display: grid; gap: 2.5rem; }
.contact-lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.35; max-width: 38ch; margin: 0; }
.contact-direct { margin: 2rem 0 0; border-top: var(--rule) solid var(--ink); }
.contact-direct div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.contact-direct dt { font-size: 0.875rem; color: var(--muted); }
.contact-direct dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-direct a { display: inline-flex; min-height: 28px; align-items: center; color: var(--ink); }
.copy-row { display: grid; gap: 0.35rem; }
@media (max-width: 480px) { .contact-direct div { grid-template-columns: 5.25rem minmax(0, 1fr); gap: 0.75rem; } }
.copy-text { font-weight: 600; user-select: all; }
.copy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; font-weight: 500; font-size: 0.875rem; }
.copy-btn {
  min-height: 36px; padding: 0 0.75rem; background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0; font: 600 0.8125rem var(--font-text); cursor: pointer;
}
.copy-btn:hover { background: var(--ink); color: var(--paper); }
.copy-btn[hidden] { display: none; }
.field-hint { margin: 0.1rem 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }

.form { display: grid; gap: 1.1rem; min-width: 0; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .opt { font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 0.8rem 0.9rem;
  font: 400 1rem/1.5 var(--font-text); color: var(--ink);
  background: var(--paper); border: var(--rule) solid var(--ink); border-radius: 0;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.35rem) 50%, calc(100% - 0.95rem) 50%;
  background-size: 0.45rem 0.45rem; background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.form-info { font-size: 0.875rem; line-height: 1.5; margin: 0; }
.form .btn { justify-self: start; min-width: 180px; }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status.err { padding-left: 0.75rem; border-left: 4px solid var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

/* ---------- Stopka ---------- */
.footer { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; font-size: 0.9375rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer-top { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: var(--rule) solid var(--ink); }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; margin-bottom: 0.5rem; }
.footer-id p:not(.footer-name) { color: var(--graphite); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; }
.footer-legal li { display: inline-flex; align-items: center; }
.footer-legal li + li::before { content: "·"; color: var(--muted); padding: 0 0.5rem; }
.footer-legal a, .footer-legal .linkish { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.footer-nav .lang { margin-top: 0.5rem; margin-left: -0.25rem; }
@media (max-width: 599px) {
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-legal li + li::before { display: none; }
}
.footer-id a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-social ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; min-width: 44px; padding: 0 0.85rem;
  border: var(--rule) solid var(--ink); text-decoration: none; font-weight: 600; font-size: 0.875rem;
  transition: background-color .15s ease, color .15s ease;
}
.footer-social a:hover { background: var(--ink); color: var(--paper); }
.footer-social svg { width: 18px; height: 18px; flex: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding-top: 1.25rem; color: var(--muted); font-size: 0.875rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id social" "nav nav"; align-items: start; gap: 1.5rem 3rem; }
  .footer-id { grid-area: id; }
  .footer-social { grid-area: social; }
  .footer-social ul { justify-content: flex-end; flex-wrap: nowrap; }
  .footer-nav { grid-area: nav; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 2rem; border-top: 1px solid var(--hair); padding-top: 0.75rem; }
  .footer-nav .lang { margin: 0; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .footer-top { grid-template-columns: 1fr; grid-template-areas: "id" "social" "nav"; }
  .footer-social ul { justify-content: flex-start; flex-wrap: wrap; }
}

/* =====================================================================
   PODSTRONY: nagłówek strony, case studies, katalog, strony prawne
   ===================================================================== */
.page-head { padding-top: clamp(2rem, 1.5rem + 3vw, 4.5rem); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-head h1 {
  font-size: clamp(2.25rem, 1.3rem + 4vw, 4.5rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em;
  max-width: 20ch; text-wrap: balance; margin-bottom: 1.25rem;
}
.page-head .lead { max-width: 60ch; }
.lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.125rem, 1.02rem + 0.55vw, 1.5rem); line-height: 1.35; letter-spacing: -0.01em;
}
.crumbs { margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li + li::before { content: "/"; padding: 0 0.5rem; color: var(--hair); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }

/* case studies */
.case { border-top: var(--rule) solid var(--ink); padding: clamp(1.75rem, 1.25rem + 2vw, 3rem) 0; scroll-margin-top: calc(var(--header-h) + 8px); }
.case:last-child { margin-bottom: calc(var(--sec-pad) * 0.5); }
.case-head { display: grid; gap: 1.25rem; margin-bottom: 1.75rem; }
.case .label { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.case-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); max-width: 26ch; }
.case .fig {
  margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1;
}
.case .fig small {
  display: block; margin-top: 0.6rem; padding-top: 0.5rem; border-top: 0.08em solid var(--accent);
  font-family: var(--font-text); font-weight: 500; font-size: 0.875rem; letter-spacing: 0; color: var(--graphite);
}
.case-body { display: grid; gap: 1.25rem 2.5rem; }
.case-body h3 { font-family: var(--font-text); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.case-body p { color: var(--graphite); }
.case > .note { margin-top: 1.5rem; max-width: 70ch; }
@media (min-width: 900px) {
  .case-head { grid-template-columns: minmax(0, 1fr) 16rem; align-items: end; gap: 3rem; }
  .case-body { grid-template-columns: repeat(3, 1fr); }
}

.cta-band { background: var(--paper); color: var(--ink); padding-block: var(--sec-pad); border-top: 1px solid var(--ink); }
.cta-band h2 { max-width: 22ch; margin-bottom: 1rem; }
.cta-band .lead { max-width: 52ch; margin-bottom: 1.75rem; }
.cta-band :focus-visible { outline-color: var(--ink); }
.cta-band .btn-line:hover { background: var(--ink); color: var(--paper); }

/* katalog narzędzi */
.catalog { padding-top: 0; }
.cat-filters { margin-bottom: 2rem; }
.cat { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); scroll-margin-top: calc(var(--header-h) + 8px); }
.cat-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); padding-top: 0.9rem; border-top: var(--rule) solid var(--ink); margin-bottom: 0.5rem;
}
.cat-title .count { font-family: var(--font-text); font-size: 0.875rem; font-weight: 600; letter-spacing: 0; color: var(--proof); }
.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 2.5rem; }
.tools li { padding: 1rem 0; border-bottom: 1px solid var(--hair); }
.tools h3 { font-size: 1.0625rem; line-height: 1.3; margin-bottom: 0.3rem; }
.tools p { font-size: 0.9375rem; color: var(--graphite); }
@media (min-width: 768px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .tools { grid-template-columns: 1fr 1fr 1fr; } }

/* strony prawne */
.legal { padding-bottom: calc(var(--sec-pad) * 0.5); }
.prose { max-width: 72ch; border-top: var(--rule) solid var(--ink); padding-top: 1rem; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.2; margin: 2.25rem 0 0.75rem; scroll-margin-top: calc(var(--header-h) + 8px); }
.prose h2:first-child { margin-top: 0.75rem; }
.prose p, .prose li { color: var(--graphite); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose address { font-style: normal; margin: 0 0 1em; padding: 0.9rem 1rem; border-left: 4px solid var(--accent); background: var(--wash); }
.prose .btn { margin-top: 0.25rem; }
.rights { border: var(--rule) solid var(--ink); padding: 1rem 1.25rem; margin: 1rem 0 1.5rem; }
.rights p:last-child { margin-bottom: 0; }
.placeholder { background: var(--orange-tint); outline: 1px dashed var(--orange-ink); padding: 0 0.25em; color: var(--ink); font-weight: 600; }

/* bramka językowa / (index.html) */
.gate { min-height: 100vh; display: grid; align-content: center; padding-block: 3rem; }
.gate-langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gate-langs .btn { min-width: 9rem; }

/* =====================================================================
   KOMPONENTY INTERAKTYWNE (bez bibliotek; każdy działa też bez JS)
   ===================================================================== */

/* ---------- 1. Mapa systemu (.sysmap) ---------- */
.sysmap { margin: clamp(3rem, 2rem + 4vw, 5.5rem) 0 0; border-top: var(--rule) solid var(--ink); padding-top: clamp(1.25rem, 1rem + 1vw, 2rem); }
.sysmap-head { display: grid; gap: 0.5rem 3rem; margin-bottom: 1.5rem; }
.sysmap-title { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 24ch; }
.sysmap-hint { color: var(--graphite); max-width: 46ch; margin: 0; }
.sysmap-own { margin: 0.6rem 0 0; font-weight: 600; color: var(--ink); padding-left: 0.75rem; border-left: 3px solid var(--proof); max-width: 52ch; }
@media (min-width: 900px) { .sysmap-head { grid-template-columns: 7fr 5fr; align-items: end; } }

.sysmap-stage { position: relative; }
.sysmap-svg { display: block; width: 100%; height: auto; overflow: visible; -webkit-tap-highlight-color: transparent; }
.sysmap-svg--d { display: none; }
.sysmap-svg--m { max-width: 500px; margin-inline: auto; }
@media (min-width: 900px) {
  .sysmap-svg--d { display: block; }
  .sysmap-svg--m { display: none; }
}

.sysmap .grp { font-family: var(--font-text); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; fill: var(--muted); }
.sysmap .edge-label { font-family: var(--font-text); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; fill: var(--accent-text); }
.sysmap .sysmap-svg--m .edge-label { font-size: 9.5px; }
.sysmap .sysmap-svg--m .grp { font-size: 9.5px; letter-spacing: 0.12em; }
.sysmap .edge-ghost { display: none; }
/* tło mapy desktop: siatka globu (sprzedaż międzynarodowa) — dekoracja, bardzo jasna, bez animacji */
.sysmap .globe { fill: none; stroke: #ECECEE; stroke-width: 1.25; }
.sysmap .edge { fill: none; stroke: var(--ink); stroke-width: 1.5; opacity: 0.4; transition: opacity .2s ease, stroke .2s ease, stroke-width .2s ease; }
.sysmap .pulse { fill: var(--accent); transition: opacity .2s ease; }
.sysmap .node { cursor: pointer; outline: none; transition: opacity .2s ease; }
.sysmap .node rect { fill: var(--paper); stroke: var(--ink); stroke-width: 2; transition: fill .15s ease, stroke .15s ease; }
.sysmap .node-label { font-family: var(--font-display); font-weight: 700; font-size: 19px; fill: var(--ink); letter-spacing: -0.01em; pointer-events: none; }
.sysmap .node-sub { font-family: var(--font-text); font-size: 13px; fill: var(--muted); pointer-events: none; }
.sysmap .sysmap-svg--m .node-label { font-size: 13.5px; }
.sysmap .sysmap-svg--m .node-sub { font-size: 10.5px; }
.sysmap .node--hub rect { fill: var(--ink); }
.sysmap .node--hub .node-label { fill: var(--paper); font-size: 30px; }
.sysmap .sysmap-svg--m .node--hub .node-label { font-size: 19px; }
.sysmap .node--hub .node-sub { fill: var(--ink-muted); }
.sysmap .node--wh rect { stroke-width: 4; }
.sysmap .node:hover rect { stroke: var(--accent); }
.sysmap .node:focus-visible rect { stroke: var(--accent); stroke-width: 5; }

.sysmap.has-sel .node:not(.is-sel):not(.is-rel) { opacity: 0.3; }
.sysmap.has-sel .edge:not(.is-rel) { opacity: 0.12; }
.sysmap.has-sel .pulse:not(.is-rel) { opacity: 0.15; }
.sysmap .edge.is-rel { stroke: var(--accent); stroke-width: 3; opacity: 1; }
.sysmap .node.is-rel rect { stroke: var(--accent); stroke-width: 3; }
.sysmap .node.is-sel rect { fill: var(--accent); stroke: var(--accent); }
.sysmap .node.is-sel .node-label, .sysmap .node.is-sel .node-sub { fill: var(--on-accent); }

.sysmap-info {
  margin-top: 1.5rem; padding: 1rem 0 1rem 1.1rem; border-left: 4px solid var(--accent);
  display: grid; gap: 0.25rem; min-height: 7.5rem; align-content: start;
}
.sysmap-info p { margin: 0; }
.sysmap-info-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sysmap-info-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.2; }
.sysmap-info-text { max-width: 70ch; color: var(--graphite); }
.sysmap-info-links { font-size: 0.875rem; color: var(--muted); }
@media (min-width: 900px) {
  .sysmap-info { grid-template-columns: 14rem 1fr; column-gap: 2rem; min-height: 6rem; }
  .sysmap-info-kicker { grid-column: 1; grid-row: 1; }
  .sysmap-info-name { grid-column: 1; grid-row: 2 / span 2; }
  .sysmap-info-text { grid-column: 2; grid-row: 1 / span 2; }
  .sysmap-info-links { grid-column: 2; grid-row: 3; }
}

.sysmap-all { margin-top: 1rem; border-top: 1px solid var(--hair); }
.sysmap-all summary {
  display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 0.9375rem;
  list-style: none;
}
.sysmap-all summary::-webkit-details-marker { display: none; }
.sysmap-all summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 0.6rem; border: 2px solid var(--ink); font-weight: 500; line-height: 1; }
.sysmap-all[open] summary::before { content: "−"; }
.sysmap-list { margin: 0.5rem 0 0; display: grid; gap: 0 2.5rem; }
.sysmap-list div { padding: 0.75rem 0; border-top: 1px solid var(--hair); }
.sysmap-list dt { font-weight: 600; }
.sysmap-list dd { margin: 0.15rem 0 0; color: var(--graphite); font-size: 0.9375rem; }
@media (min-width: 768px) { .sysmap-list { grid-template-columns: 1fr 1fr; } }

/* ---------- 2. Chipy (filtr katalogu) + „Czego nie robię” ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.5rem 1rem;
  background: var(--paper); color: var(--ink); border: var(--rule) solid var(--ink); border-radius: 0;
  font: 600 0.9375rem/1.25 var(--font-text); text-align: left; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--wash); }
.chip-mark { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 2px solid currentColor; font-size: 12px; line-height: 1; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] .chip-mark::after { content: "✓"; font-weight: 700; }

.not-doing { border: var(--rule) solid var(--ink); padding: 1.5rem; }
.not-doing h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.not-doing ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.not-doing li { padding: 0.65rem 0; border-top: 1px solid var(--hair); color: var(--graphite); font-size: 0.9375rem; }
.not-doing li strong { color: var(--ink); display: block; }
.not-doing > p { font-size: 0.875rem; color: var(--muted); }

/* ---------- 3. Dziennik + statyczny przykład generatora ([data-demo]) ---------- */
.demo-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .demo-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; align-items: start; } }

.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.4rem; padding: 0; }
.seg-opts { display: flex; }
.seg-opt { position: relative; flex: 1 1 0; }
.seg-opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.seg-opt span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1rem;
  border: var(--rule) solid var(--ink); font-weight: 600; background: var(--paper);
}
.seg-opt + .seg-opt span { border-left-width: 0; }
.seg-opt input:checked + span { background: var(--ink); color: var(--paper); }
.seg-opt input:checked + span::before { content: "✓"; margin-right: 0.45rem; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; position: relative; z-index: 1; }
@media (min-width: 600px) { .seg-opts { max-width: 360px; } }
.demo-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.75rem; }
.demo-badge, .demo-ai {
  display: inline-block; padding: 0.35rem 0.7rem; font-size: 0.8125rem; font-weight: 600; line-height: 1.35;
  border: var(--rule) solid var(--accent);
}
.demo-badge { background: var(--accent); color: var(--on-accent); }
.demo-ai { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.demo-meta { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }
.demo-title { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 0.4rem; overflow-wrap: anywhere; }
.demo-count { font-size: 0.8125rem; color: var(--muted); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.demo-bullets { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.demo-bullets li { padding: 0.6rem 0 0.6rem 1.4rem; border-top: 1px solid var(--hair); position: relative; font-size: 0.9375rem; }
.demo-bullets li::before { content: "•"; position: absolute; left: 0.25rem; color: var(--accent-text); font-weight: 800; }
.demo-checks { list-style: none; margin: 0; padding: 0.9rem 1rem; display: grid; gap: 0.35rem 1.5rem; border: var(--rule) solid var(--ink); font-size: 0.875rem; }
.demo-checks::before { content: attr(data-title); font-weight: 700; margin-bottom: 0.2rem; }
.demo-checks li { position: relative; padding-left: 1.4rem; }
.demo-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--proof); font-weight: 800; }
.demo-checks li.is-fail::before { content: "!"; color: var(--accent-text); }
@media (min-width: 600px) { .demo-checks { grid-template-columns: 1fr 1fr; } .demo-checks::before { grid-column: 1 / -1; } }

.log { margin: 0; background: var(--ink); color: var(--paper); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.log :focus-visible { outline-color: var(--accent); }
.log-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--ink-hair); font-weight: 600; font-size: 0.9375rem; }
.log-note { color: var(--ink-muted); font-weight: 500; font-size: 0.8125rem; }
.log-list { list-style: none; margin: 0; padding: 0; }
.log-list li {
  display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "time mod . st" "msg msg msg msg";
  gap: 0.2rem 0.75rem; padding: 0.8rem 0; border-bottom: 1px solid var(--ink-hair); align-items: baseline;
}
.log-list time, .log-mod, .log-st { font-family: var(--font-mono); font-size: 0.8125rem; }
.log-list time { grid-area: time; color: var(--ink-muted); }
.log-mod { grid-area: mod; color: var(--paper); }
.log-mod::before { content: "["; color: var(--ink-muted); }
.log-mod::after { content: "]"; color: var(--ink-muted); }
.log-msg { grid-area: msg; color: #E4E4E7; font-size: 0.9375rem; line-height: 1.45; }
.log-st { grid-area: st; justify-self: end; padding: 0.05rem 0.45rem; border: 1px solid var(--ink-muted); color: var(--paper); }
.log-st--ok::before { content: "✓ "; }
.log-st--wait { background: var(--paper); color: var(--ink); border-color: var(--paper); font-weight: 600; }
.log-foot { margin: 1rem 0 0; font-size: 0.8125rem; color: var(--ink-muted); }

/* ---------- 4. Kalkulator ([data-calc-block]) ---------- */
.calc-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .calc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "side calc" "action calc"; grid-template-rows: auto 1fr; gap: 1.5rem 4rem; align-items: start; }
  .calc-side { grid-area: side; }
  .calc { grid-area: calc; }
  .calc-action { grid-area: action; }
}
.calc-side > p:not(.big-copy) { color: var(--graphite); max-width: 52ch; }
.calc-cta { margin-top: 0; }
@media (max-width: 599px) { .calc-cta { width: 100%; } }
.calc-cta-note { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); max-width: 44ch; }

.calc { border: var(--rule) solid var(--ink); min-width: 0; }
.calc-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 0; padding: 1.1rem 1.25rem 0.25rem; }
.calc-hint { font-size: 0.875rem; color: var(--muted); margin: 0; padding: 0 1.25rem 0.9rem; }
.calc-rows { border-top: 1px solid var(--ink); }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: center; padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--hair); }
.calc-row label strong { display: block; font-weight: 600; line-height: 1.3; }
.calc-row label > span { display: block; font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.calc-input { display: inline-flex; align-items: center; gap: 0.5rem; }
.calc-input input {
  width: 6.5rem; min-height: 48px; padding: 0 0.7rem; text-align: right;
  font: 600 1.0625rem var(--font-text); font-variant-numeric: tabular-nums; color: var(--ink);
  background: var(--paper); border: var(--rule) solid var(--ink); border-radius: 0;
}
.calc-input input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-input > span { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
.calc-sum { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--paper); }
.calc-sum > div { padding: 1.1rem 1.25rem; min-width: 0; }
.calc-sum > div + div { border-left: 1px solid var(--ink-hair); }
.calc-sum-label { display: block; font-size: 0.8125rem; color: var(--ink-muted); margin-bottom: 0.25rem; }
.calc-sum-val { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-reset {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0.25rem 1.25rem; padding: 0;
  background: none; border: 0; font: 600 0.875rem var(--font-text); color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer;
}
@media (max-width: 480px) {
  .calc-row { padding-inline: 1rem; gap: 0.5rem 0.75rem; }
  .calc-input { gap: 0.35rem; }
  .calc-input input { width: 5.25rem; padding: 0 0.5rem; }
  .calc-input > span { font-size: 0.75rem; }
}
@media (max-width: 340px) {
  .calc-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   RUNDA 6 — struktura 8 sekcji: rozwijane bloki, dowody (4 KPI), StockHub + „Jak wdrażam”,
   zasada kod vs AI, przykład generatora, zespół, certyfikat w „O mnie”, liczby i metoda w case studies
   ===================================================================== */
/* rozwijany blok (mapa kompetencji, lista funkcji systemu) */
.more { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: var(--rule) solid var(--ink); border-bottom: 1px solid var(--ink); }
.more > summary {
  display: flex; align-items: center; min-height: 56px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3rem);
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before {
  content: "+"; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 0.75rem;
  border: 2px solid var(--ink); font-weight: 500; line-height: 1;
}
.more[open] > summary::before { content: "−"; background: var(--ink); color: var(--paper); }
.more > summary:hover { color: var(--accent-text); }
.areas + .more { margin-top: 0; border-top: 0; }
.more-body { display: grid; gap: 2rem; padding: 0.5rem 0 2rem; }
.more-body .map { margin-top: 0; }
@media (min-width: 1200px) { .more-body { grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.5rem 3rem; align-items: start; } .more-body .legend { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0.5rem 2rem; } }
.area ul li a { color: var(--link); font-weight: 600; }

/* dowody: 4 KPI z definicją */
.results-intro { margin: 0 0 1.5rem; max-width: 60ch; color: #D4D4D8; font-size: clamp(1rem, 0.97rem + 0.2vw, 1.125rem); }
.results--four { grid-template-columns: 1fr; }
.results--four li { display: flex; flex-direction: column; }
.results--four .kpi-def { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.45; color: var(--ink-muted); }
.section-ink .kpi-method { margin-top: auto; padding-top: 0.75rem; display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); font-weight: 600; font-size: 0.875rem; text-underline-offset: 0.25em; }
.kpi-method::after { content: " →"; white-space: pre; color: var(--accent); }
.section-ink .kpi-method:hover { color: var(--accent); }
@media (min-width: 768px) { .results--four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .results--four { grid-template-columns: repeat(4, 1fr); } }

/* doświadczenie: uczciwe zdanie o kompetencjach */
.honest { margin-top: 1.25rem; padding-left: 1rem; border-left: 4px solid var(--ink); color: var(--ink) !important; max-width: 60ch; }

/* StockHub + „Jak wdrażam” */
.stockhub { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); display: grid; gap: 2rem; scroll-margin-top: calc(var(--header-h) + 8px); }
.stockhub-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.08; margin-bottom: 1rem; }
.stockhub-intro > p:not(.big-copy):not(.fine):not(.system-scale) { color: var(--graphite); max-width: 60ch; }
.howto { border: var(--rule) solid var(--ink); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); align-self: start; }
.howto-title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); margin-bottom: 1rem; }
.howto-list { margin: 0; padding: 0; list-style: none; counter-reset: howto; }
.howto-list li { position: relative; padding: 0.7rem 0 0.7rem 2.25rem; border-top: 1px solid var(--hair); color: var(--graphite); font-size: 0.9375rem; }
.howto-list li::before {
  counter-increment: howto; content: counter(howto); position: absolute; left: 0; top: 0.7rem;
  width: 1.5rem; height: 1.5rem; display: grid; place-items: center; background: var(--accent); color: var(--on-accent);
  font: 700 0.8125rem/1 var(--font-text);
}
.howto-list strong { color: var(--ink); }
.more--features { grid-column: 1 / -1; margin-top: 0; }
.more--features .features { padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .stockhub { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 3.5rem; } }

/* automatyzacja w praktyce: zasada + przykład generatora */
.principle {
  margin: 0 0 clamp(2rem, 1.5rem + 2vw, 3rem); padding: 0.25rem 0 0.25rem 1.1rem; border-left: 6px solid var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.18; letter-spacing: -0.015em; max-width: 34ch;
}
.principle:has(+ .principle-more) { margin-bottom: 0.9rem; }
.principle-more { margin: 0 0 clamp(2rem, 1.5rem + 2vw, 3rem); padding-left: calc(1.1rem + 6px); color: var(--graphite); }
.demo { border: var(--rule) solid var(--ink); padding: clamp(1.1rem, 1rem + 0.8vw, 1.6rem); min-width: 0; }
.demo-kicker { margin: 0 0 0.4rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.demo-lead { margin: 0 0 1.1rem; color: var(--graphite); font-size: 0.9375rem; }
.demo-io { margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.demo-in { margin-bottom: 1rem; padding: 0.8rem 0.9rem; background: var(--wash); border-left: 3px solid var(--ink); }
.demo-input { margin: 0; font-size: 0.9375rem; }
.demo .seg { margin-bottom: 1rem; }
.demo-result { border-top: var(--rule) solid var(--ink); padding-top: 1rem; }
.demo-variant + .demo-variant { margin-top: 1.25rem; }
.demo-variant[hidden] { display: none; }
.demo-foot { margin: 1rem 0 0; font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 600px) { .demo .demo-checks { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .demo-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }

/* zespół */
.team { display: grid; gap: 2rem; }
.team-text > p:not(.big-copy) { color: var(--graphite); max-width: 60ch; }
.team-text a { color: var(--link); font-weight: 600; }
.team-invite { background: var(--orange-soft); border-top: 4px solid var(--accent); padding: clamp(1.25rem, 1rem + 1vw, 2rem); align-self: start; }
.team-quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.3; margin: 0 0 1.25rem; }
.team-invite .fine { color: var(--graphite); }
@media (min-width: 900px) { .team { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; } }

/* o mnie: ciągłość + certyfikat w tej samej sekcji */
.continuity { padding-left: 1rem; border-left: 4px solid var(--proof); color: var(--ink) !important; }
.about + .cert { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: clamp(1.5rem, 1rem + 1vw, 2rem); border-top: var(--rule) solid var(--ink); scroll-margin-top: calc(var(--header-h) + 8px); }
.cert-kicker { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* lockup Claude Partner Network | Sellon (jak w Partner Portalu), wordmark w rozmiarze natywnym */
.cpn-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 0 0 1rem; line-height: 0; }
.cpn-lockup img { height: 34px; width: auto; max-height: 34px; image-rendering: auto; }
.cpn-lockup picture { display: block; }
.cpn-lockup-rule { width: 1px; height: 34px; background: var(--ink); }
.cpn-lockup a { display: inline-flex; }

/* kontakt */

/* case studies: wszystkie liczby + metoda */
.numbers, .method { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); scroll-margin-top: calc(var(--header-h) + 8px); }
.numbers { border-top: var(--rule) solid var(--ink); }
.numbers-title { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); margin-bottom: 1rem; }
.numbers .lead { margin-bottom: 1.5rem; }
.numbers .lead a, .page-head .lead a { color: var(--link); font-weight: 600; }
.numbers-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 2.5rem; }
.numbers-list li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--hair); align-items: baseline; }
.numbers-fig { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.numbers-list p { margin: 0; color: var(--graphite); font-size: 0.9375rem; }
.numbers-list strong { color: var(--ink); }
@media (min-width: 1024px) { .numbers-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .numbers-list li { grid-template-columns: 1fr; gap: 0.25rem; } }
.method { padding-bottom: calc(var(--sec-pad) * 0.5); }
.method-list { list-style: none; margin: 0; padding: 0; border-top: var(--rule) solid var(--ink); max-width: 80ch; }
.method-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--hair); color: var(--graphite); }
.method-list strong { color: var(--ink); }

/* podstrona kalkulatora */
.section--page { padding-top: 0; }

/* =====================================================================
   BANER ZGODY (tworzy go js/consent.js). Na 390×844 zajmuje ≤ ~30% ekranu,
   nie blokuje przewijania, dwa równorzędne przyciski (ten sam rozmiar, krój i kontrast).
   ===================================================================== */
.consent {
  position: fixed; z-index: 60; left: var(--gutter); right: var(--gutter); bottom: 12px;
  max-width: 540px; margin-left: auto;
  background: var(--paper); color: var(--ink);
  border: var(--rule) solid var(--ink); border-top: 6px solid var(--accent);
  padding: 0.75rem 1rem 0.9rem;
  max-height: 60vh; overflow-y: auto;
}
.consent:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.consent-x {
  position: absolute; top: 0; right: 0; width: 44px; height: 44px;
  border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.consent-x:hover { color: var(--accent-text); }
.consent-title { margin: 0 2.5rem 0.35rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
.consent p { margin: 0 0 0.7rem; font-size: 0.875rem; line-height: 1.42; color: var(--graphite); }
.consent p a { color: var(--link); font-weight: 600; }
.consent .btn-row { gap: 0.5rem; flex-wrap: nowrap; }
.consent .btn { flex: 1 1 0; min-height: 44px; padding: 0 0.75rem; font-size: 0.9375rem; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.consent .btn:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
@media (min-width: 720px) { .consent { bottom: 20px; right: 20px; left: auto; width: 540px; } }

/* =====================================================================
   DRUK
   ===================================================================== */
@media print {
  .site-header, .skip, .consent, .menu-toggle, .nav, .form, .chips, .demo .seg, .calc-reset, .calc-action, .footer-social, .footer-nav .lang { display: none !important; }
  .section-ink, .section-accent, .log, .calc-sum, .cta-band, .team-invite { background: none !important; color: #000 !important; }
  .section-ink *, .section-accent *, .log * { color: #000 !important; }
  .demo-variant[hidden] { display: block !important; }
  .sysmap-svg--m { display: none !important; }
  .sysmap-svg--d { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .footer-social a::after, .cert-badge-link::after { content: none !important; }
}
