/* ===== Fonty self-hosted (scalone z assets/fonts/*.css — jeden arkusz blokujący zamiast trzech) ===== */
/* Inter — self-hosted font zmienny (oś wght 100–900), zsubsetowany do zestawu
   łacińskiego + polskich znaków diakrytycznych. Dwa pliki zamiast sześciu:
   jeden font zmienny obsługuje wszystkie wagi, jakich używa strona.
   CSP wymusza font-src 'self' — żadnych zewnętrznych hostów. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-subset-ext.woff2') format('woff2');
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-subset.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2212, U+2713;
}

/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400-latin-ext.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;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500-latin-ext.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;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600-latin-ext.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;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins-700-latin-ext.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;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins-700-latin.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;
}

/* ============================================================
   xSecures — DARK redesign (design system: „xSecures Design System")
   Deep-navy near-black surfaces · ONE electric-blue accent ·
   mint = „secure" micro-cue only · Poppins + system mono.
   ============================================================ */
:root {
  /* Accent */
  --blue: #089ED6; --blue-light: #5cc8f5;
  --mint: #75D69C;
  /* Przezroczysty błękit — osobne tokeny, bo --blue trzyma hex, nie triplet RGB */
  --blue-a10: rgba(8,158,214,0.10); --blue-a12: rgba(8,158,214,0.12);
  --blue-a16: rgba(8,158,214,0.16);
  /* Ink / surfaces */
  --ink-900: #070b12; --ink-850: #0a1019; --ink-800: #0e1726; --ink-700: #111a28;
  --glass: rgba(255,255,255,0.045); --glass-strong: rgba(255,255,255,0.07);
  /* Lines */
  --line: rgba(255,255,255,0.09); --line-strong: rgba(255,255,255,0.15); --line-blue: rgba(8,158,214,0.45);
  /* Text */
  --text: #eef3f9; --text-muted: rgba(233,240,248,0.76); --text-faint: rgba(233,240,248,0.66);
  --text-on-blue: #04121a; --focus: #5cc8f5;
  /* Aliases */
  --bg: var(--ink-850); --bg-elevated: var(--ink-800); --surface-card: var(--ink-700);
  --border: var(--line); --border-hover: var(--line-strong);
  --text-body: var(--text-muted); --text-heading: var(--text);
  --accent-text: var(--blue-light);
  /* Type */
  /* Tekst czytany niesie Inter — Poppins to krój geometryczny, projektowany pod
     nagłówki; w 13-16 px jego okragłe litery i wąskie prześwity robiły się mętne
     (uwaga Wojtka 31.08.2026). Poppins zostaje na h1-h3 jako charakter marki. */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* Space / radii / shadow / motion */
  --maxw: 1200px; --nav-h: 70px;
  --radius: 16px; --radius-sm: 12px; --radius-lg: 22px; --radius-pill: 999px;
  --shadow-md: 0 18px 40px -18px rgba(0,0,0,0.7), 0 6px 16px -10px rgba(0,0,0,0.5);
  --glow-blue: 0 10px 30px -8px rgba(8,158,214,0.5);
  --glow-mint: 0 0 0 4px rgba(117,214,156,0.2);
  /* Trzy role, nie trzy widzimisię: --ease-out prowadzi NARRACJĘ (wejścia),
     --ease-ui STANY (hover, akordeon, chevron, focus — start bez płaskiego
     rozbiegu: --ease-io przejeżdżał 10% drogi przez pierwsze 94 ms),
     --ease-io został przy PĘTLACH i keyframe'ach (caps-scan, cta-zoom, hsl-draw). */
  --ease-out: cubic-bezier(0.16,1,0.3,1); --ease-ui: cubic-bezier(0.32,0.72,0,1);
  --ease-io: cubic-bezier(0.65,0,0.35,1);
  --arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
    --chev-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); -webkit-text-size-adjust: 100%; } /* padding: kotwice nie chowają się pod sticky nav */
body { font-family: var(--font-sans); background: var(--bg); color: var(--text-heading);
  font-size: 16px; line-height: 1.6; font-weight: 400; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image: radial-gradient(120% 80% at 50% -10%, #0f1a2e 0%, var(--ink-850) 42%, var(--ink-900) 100%); }
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; transition: color .16s var(--ease-ui); }
a:hover { color: #fff; }
::selection { background: rgba(8,158,214,0.32); color: #fff; }
.mono { font-family: var(--font-mono); }
.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 { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
/* Interlinia i tracking są FUNKCJĄ stopnia, nie stałą rodziny: jedna wartość
   dla h1–h3 (1.12 / −0.03em) czytała się jako szablon — display za luźno,
   h3 za ciasno. */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--text-heading); }
h1 { line-height: 1.06; letter-spacing: -0.028em; }
h2 { line-height: 1.08; letter-spacing: -0.02em; }
h3 { line-height: 1.22; letter-spacing: -0.012em; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* JEDEN wariant mikro-typografii zamiast sześciu (10,5–13 px, cztery trackingi,
   dwa fonty). Rodzina zostaje per element — mono dla liczb i etykiet to DNA
   projektu; ujednolicony jest stopień, waga, tracking i interlinia. */
.kicker, .pillarbar li, .toc-list a .num, .xcard .xidx, .xidx-of, .vnum,
.flow-num, .toolcard .vendor-tag, .pt-foot, .tdef dt, .tease .tnum,
.cblock h3, .footer h2 {
  /* Waga 500, nie 600: drobne wersaliki w monospace półgrubym zlewały się
     w plamę — to była druga część uwagi o czytelności. */
  font-size: 12px; font-weight: 500; letter-spacing: 0.07em; line-height: 1.25; text-transform: uppercase;
}
/* Cyfry w kolumnach muszą stać w kolumnach. */
.xcard .xidx, .xidx-of, .vnum, .toc-list a .num, .flow-num, .stat-num,
.footer-bottom .reg, .cblock .reg { font-variant-numeric: tabular-nums; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blue); color: var(--text-on-blue); padding: 10px 18px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 600; }
.skip-link:focus { left: 16px; }

/* ---------- Eyebrow ---------- */
/* Świadomy wyjątek: 13 px zamiast 12 — to etykieta hero, jedyna w kadrze.
   Tracking wyrównany do tokenu mikro-typografii. */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: var(--glow-mint); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: inherit;
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; border: 0; border-radius: var(--radius-pill);
  padding: 13px 26px; transition: transform .22s var(--ease-ui), background-color .16s var(--ease-ui), box-shadow .22s var(--ease-ui), color .16s var(--ease-ui), border-color .16s var(--ease-ui); }
.btn-sm { padding: 11px 20px; min-height: 44px; } /* stopień dziedziczy z .btn — „sm" to padding, nie osobny rozmiar pisma */
.btn-primary { background: var(--blue); color: var(--text-on-blue); box-shadow: var(--glow-blue); }
.btn-primary:hover { background: var(--blue-light); color: var(--text-on-blue); }
.btn-primary:active { transform: scale(0.98); transition-duration: 50ms; }
.btn-white { background: #fff; color: #0b1220; }
.btn-white:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,0.6); color: #0b1220; }
.btn-ghost { background: var(--glass); color: var(--text-heading); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--glass-strong); border-color: var(--line-blue); color: var(--text-heading); }
/* Uniesienie przycisku to dekoracja — na dotyku :hover zostaje przyklejony
   po tapnięciu. Zmiana koloru/tła zostaje wszędzie (potrzebna klawiaturze). */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover, .btn-white:hover, .btn-ghost:hover { transform: translateY(-2px); }
}
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.btn-arrow { transition: transform .22s var(--ease-ui); }
@media (hover: hover) and (pointer: fine) { .btn:hover .btn-arrow { transform: translateX(4px); } }
a:focus-visible, .acc-q:focus-visible, .nav-toggle:focus-visible, .hs-rail button:focus-visible, .nav-links a:focus-visible, .lang a:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- Chip ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  color: var(--text-body); background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 7px 14px; }
.chip .chip-check { color: var(--mint); }
.chip .chip-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.chip .chip-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--mint); opacity: 0; animation: pulse-ring 2.2s var(--ease-out) infinite; }
@keyframes pulse-ring { 0% { transform: scale(.5); opacity: .8; } 70%,100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,16,25,0.4);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: background .26s var(--ease-ui), border-color .26s var(--ease-ui), box-shadow .26s var(--ease-ui); }
.nav.scrolled { background: rgba(10,16,25,0.82); border-bottom-color: var(--border); box-shadow: 0 4px 20px -12px rgba(0,0,0,0.6); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.nav-logo { height: 26px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-body); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; min-height: 26px; } /* WCAG 2.2 Target Size ≥24px */
.nav-links a:hover { color: var(--text-heading); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 6px; font-size: 13px; font-weight: 600; }
.lang a { color: var(--text-faint); } .lang a.active { color: var(--text-heading); } .lang span { color: var(--text-faint); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 11px;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center; flex-direction: column; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-heading); border-radius: 2px; margin: 4px 0; transition: transform .26s var(--ease-ui), opacity .22s var(--ease-ui); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 20px; background: rgba(10,16,25,0.96); border-bottom: 1px solid var(--border); }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--text-body); font-size: 15px; font-weight: 500; padding: 12px 0; }
.nav-mobile .btn { margin-top: 8px; align-self: flex-start; }

/* ---------- ShieldHero (#top, pinned scroll-story opening) ---------- */
.hs { position: relative; height: 520vh; padding: 0; } /* nadpisz globalny section-padding (robił 92px pustki pod nav) */
.hs-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(90% 90% at 30% 34%, #101f38 0%, var(--ink-850) 62%); }
.hs-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--ease-out); }
.hs.story-on .hs-canvas { opacity: 1; }
.hs-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0.22; mix-blend-mode: screen;
  background: radial-gradient(42% 42% at 50% 46%, rgba(8,158,214,0.35), transparent 70%); }
.hs-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,9,15,0.45) 0%, rgba(5,9,15,0.1) 16%, transparent 40%, rgba(5,9,15,0.2) 64%, rgba(5,9,15,0.88) 100%); }
.hs-layout { position: relative; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hs-copy { position: absolute; left: 24px; right: 24px; top: calc(var(--nav-h) + 12px); max-width: 620px; transition: opacity .1s linear; }
.hs-copy h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; margin: 18px 0 0; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.hs-copy h1 span { display: block; } .hs-copy h1 .accent { color: var(--blue-light); }
.hs-copy .hs-sub { font-size: clamp(16px, 1.7vw, 19px); color: rgba(238,243,249,0.82); margin: 22px 0 0; max-width: 520px; line-height: 1.55; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
/* Powyżej 900 px H1 dochodzi do 60 px, a wiersz „sztuczna inteligencja w firmie"
   potrzebuje wtedy 810 px (Poppins, zmierzone zakresem) — przy capie 620 px łamał się na dwa wiersze i zostawiał
   sierotę „w firmie". Poszerzamy WYŁĄCZNIE kolumnę: lead (520 px) i formularz
   (480 px) mają własne, węższe limity, więc ich to nie rusza. */
@media (min-width: 900px) { .hs-copy { max-width: 850px; }
  /* Lead „Monitorujemy…" potrzebuje 523 px ze spacją — przy capie 520 px
     odrywał samo „w organizacjach." do drugiego wiersza. */
  .hs-copy .hs-sub { max-width: 560px; } }
.hs-micro { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(238,243,249,0.6); margin-top: 14px; }
.hs-micro svg { color: var(--blue-light); }
.hs-badges { display: flex; gap: 20px; margin-top: 28px; align-items: center; flex-wrap: wrap; }
.hs-badges .yrs { font-size: 13px; color: rgba(238,243,249,0.7); } .hs-badges .yrs b { color: #fff; }
/* Inline email capture */
.capture { display: flex; gap: 10px; margin-top: 28px; max-width: 480px; flex-wrap: wrap; }
/* Wejście hero na desktopie (mobilka ma własne po loaderze — .hs-enter).
   Stagger dzieci kopii: eyebrow → h1 → sub → formularz → micro → badge. */
@media (min-width: 821px) {
  .js .hs-copy > * { opacity: 0; transform: translateY(16px); animation: hs-rise .75s var(--ease-out) forwards; }
  .js .hs-copy > *:nth-child(1) { animation-delay: .08s; }
  .js .hs-copy > *:nth-child(2) { animation-delay: .16s; }
  .js .hs-copy > *:nth-child(3) { animation-delay: .26s; }
  .js .hs-copy > *:nth-child(4) { animation-delay: .36s; }
  .js .hs-copy > *:nth-child(5) { animation-delay: .44s; }
  .js .hs-copy > *:nth-child(6) { animation-delay: .5s; }
}
@keyframes hs-rise { to { opacity: 1; transform: none; } }
.hs-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(238,243,249,0.6); font-size: 12px; letter-spacing: 0.04em; }
.hs-scrolldot { width: 20px; height: 32px; border: 1px solid rgba(255,255,255,0.4); border-radius: 12px; position: relative; }
.hs-scrolldot::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue-light); transform: translateX(-50%); animation: hs-dot 1.8s var(--ease-io) infinite; }
@keyframes hs-dot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } 100% { opacity: 0; } }
.hs-head { position: absolute; top: calc(var(--nav-h) + 24px); left: 24px; right: 24px; opacity: 0; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); text-shadow: 0 2px 18px rgba(0,0,0,0.6); pointer-events: none; }
.hs-head h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); margin-top: 12px; }
.hs-cards { position: absolute; left: 24px; right: 24px; bottom: 104px; max-width: 460px; min-height: 200px; }
.hs-card { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(7,11,18,0.6);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 26px 28px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.hs-card.active { opacity: 1; transform: none; pointer-events: auto; }
.hs-card .step { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--blue-light); margin-bottom: 12px; }
.hs-card h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
.hs-card p { color: rgba(255,255,255,0.78); font-size: 15.5px; margin-top: 12px; line-height: 1.6; }
.hs-rail { position: absolute; left: 24px; right: 24px; bottom: 34px; display: flex; gap: 22px; flex-wrap: wrap; opacity: 0; transition: opacity .3s; }
.hs-rail button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-family: var(--font-sans); font-size: 13px; font-weight: 500; padding: 8px 2px; color: rgba(255,255,255,0.45); transition: color .2s; }
.hs-rail button.active { color: #fff; }
.hs-rail .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: background .2s, box-shadow .2s; }
.hs-rail button.active .dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(8,158,214,0.25); }
.hs-bar { position: absolute; left: 0; bottom: 0; height: 2px; z-index: 4; width: 100%; transform: scaleX(var(--p, 0)); transform-origin: left; background: linear-gradient(90deg, var(--blue), #5cc8f5); box-shadow: 0 0 12px rgba(8,158,214,0.8); } /* transform zamiast width = zero layoutu co klatkę */
/* reduced-motion / Save-Data / no-JS: hero jest zwykłą sekcją (poster + kopia) */
.hs.story-reduced, html:not(.js) .hs { height: auto; }
.hs.story-reduced .hs-pin, html:not(.js) .hs-pin { position: relative; height: auto; min-height: 100svh; }
.hs.story-reduced .hs-head, .hs.story-reduced .hs-cards, .hs.story-reduced .hs-rail, .hs.story-reduced .hs-hint,
html:not(.js) .hs-head, html:not(.js) .hs-cards, html:not(.js) .hs-rail, html:not(.js) .hs-hint, html:not(.js) .hs-bar { display: none; }
.hs.story-reduced .hs-copy, html:not(.js) .hs-copy { position: relative; left: auto; right: auto; top: auto; opacity: 1 !important; transform: none !important; padding: calc(var(--nav-h) + 40px) 0 60px; }
html:not(.js) .hs-canvas { display: none; }

/* ---------- Logo wall ---------- */
.logowall { padding: 48px 0 12px; }
.logowall p { text-align: center; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; min-height: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; align-items: center; animation: scroll-x 48s linear infinite; }
/* Pauza na wskaźniku, nie na dotyku: tap zatrzymywał taśmę NA STAŁE
   (:hover na dotyku jest lepki aż do tapnięcia gdzie indziej). */
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
/* Realne, kolorowe loga na białych kaflach (na ciemnym tle sylwetki zabijały znaki) */
.marquee-track img { height: 60px; width: 150px; margin-right: 22px; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 14px 20px; border: 1px solid rgba(255,255,255,0.08);
  transition: transform .25s var(--ease-io), box-shadow .25s var(--ease-io); }
@media (hover: hover) and (pointer: fine) { .marquee-track img:hover { transform: translateY(-3px); box-shadow: var(--glow-blue); } }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Compliance strip ---------- */
.compliance { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compliance .wrap { display: flex; align-items: center; justify-content: center; gap: 16px 34px; flex-wrap: wrap; padding: 22px 24px; }
.compliance .clabel { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.compliance .citems { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; justify-content: center; }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 44px); margin: 14px 0 0; }
.section-head p { color: var(--text-body); font-size: 17px; margin-top: 16px; }

/* About + pillars + ops */
.about { background: var(--bg-elevated); }
.about-lead { font-size: clamp(20px, 2.5vw, 27px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.4; max-width: 840px; margin-top: 16px; }
.about-lead .hl { color: var(--accent-text); }
.about-body { color: var(--text-body); font-size: 16.5px; max-width: 720px; margin-top: 18px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.pillar { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: transform .3s var(--ease-io), box-shadow .3s var(--ease-io), border-color .25s; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-blue); }
.pillar-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(8,158,214,0.18), rgba(117,214,156,0.12)); color: var(--blue-light); transition: transform .3s var(--ease-io); }
.pillar:hover .pillar-ico { transform: scale(1.08); }
.pillar h3 { font-size: 19px; letter-spacing: -0.01em; }
.pillar p { color: var(--text-body); font-size: 14.5px; margin-top: 10px; line-height: 1.6; }
.ops { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px;
  padding: 16px 24px; border-radius: 14px; background: var(--surface-card); border: 1px solid var(--border); color: var(--text-body); font-size: 14px; box-shadow: var(--shadow-md); }
.ops .live { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--text-heading); }
.ops .live .chip-dot { width: 8px; height: 8px; }
.ops b { color: var(--text-heading); font-family: var(--font-mono); }
.ops .sep { width: 1px; height: 16px; background: var(--border); }

/* ---------- HeadlineArrow (akcent „attack-chain" pod nagłówkami; port z DS) ---------- */
.hl-row { margin-top: 20px; }
.section-head.center .hl-row { display: flex; justify-content: center; }
.hl-arrow { display: inline-flex; align-items: center; gap: 4px; height: 12px; }
.hl-node { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(8,158,214,0.22); transform: scale(1); transition: transform .4s var(--ease-out); }
.hl-line { position: relative; width: 132px; max-width: 40vw; height: 2px; border-radius: 2px; background: var(--border); overflow: hidden; }
.hl-fill { position: absolute; inset: 0; border-radius: 2px; transform-origin: left; transform: scaleX(1);
  background: linear-gradient(90deg, var(--blue), var(--blue-light)); box-shadow: 0 0 10px rgba(8,158,214,0.7); transition: transform .7s var(--ease-out) .1s; }
.hl-head { display: inline-flex; color: var(--blue-light); margin-left: -2px; opacity: 1; transform: none;
  transition: transform .5s var(--ease-out) .5s, opacity .5s var(--ease-out) .5s; }
/* z JS start = zwinięty, po wejściu w kadr (.in) rysuje się; bez JS = od razu narysowany */
.js .hl-arrow:not(.in) .hl-node { transform: scale(0); }
.js .hl-arrow:not(.in) .hl-fill { transform: scaleX(0); }
.js .hl-arrow:not(.in) .hl-head { opacity: 0; transform: translateX(-10px); }

/* ---------- Capabilities scroll (#mozliwosci) — przypięta konsola SOC + przewijane karty + spine ---------- */
.caps { position: relative; background: var(--bg); }
.caps-head { max-width: 640px; margin-bottom: 26px; }
.caps-head h2 { font-size: clamp(28px, 3.8vw, 44px); margin: 14px 0 0; }
.caps-sub { color: var(--text-body); font-size: 17px; margin-top: 16px; line-height: 1.6; }
.caps-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.caps-cards { display: block; }
.caps-card { padding: 22px 0; }
.caps-card + .caps-card { border-top: 1px solid var(--border); }
.caps-idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-faint); }
.caps-card h3 { font-size: clamp(23px, 3vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-top: 12px; }
.caps-card > p { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.55; max-width: 440px; margin-top: 14px; color: var(--text-body); }
.caps-tags { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin-top: 20px; }
.caps-tags .chip { font-family: var(--font-mono); font-size: 12px; }
.caps-inline { margin-top: 20px; max-width: 460px; }

/* Spine + sticky visual — ukryte dopóki nie ma wzbogacenia desktopowego */
.caps-spine, .caps-visual { display: none; }
.caps-spine-line { position: relative; width: 2px; height: 60vh; background: var(--border); border-radius: 2px; }
.caps-spine-fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-light)); box-shadow: 0 0 12px rgba(8,158,214,0.7);  }
.caps-node { position: absolute; left: 50%; width: 8px; height: 8px; transform: translate(-50%,-50%); border-radius: 50%;
  background: var(--ink-700); border: 1px solid var(--border-hover); transition: width .3s var(--ease-io), height .3s var(--ease-io), background-color .3s var(--ease-io), border-color .3s var(--ease-io), box-shadow .3s var(--ease-io); }
.caps-node.on { width: 11px; height: 11px; background: var(--blue-light); border-color: var(--blue-light); }
.caps-node.cur { box-shadow: 0 0 0 5px rgba(8,158,214,0.22); }
.caps-vwrap { position: relative; width: 100%; aspect-ratio: 1 / 1.02; max-height: 100%; margin: auto; }

/* Konsola SOC */
.caps-console { position: relative; height: 100%; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: radial-gradient(120% 120% at 68% 14%, #122340 0%, var(--ink-850) 62%);
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; justify-content: space-between; padding: 26px; }
.caps-shield { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; z-index: 0; }
.caps-console::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,11,18,0.55) 0%, rgba(7,11,18,0.15) 40%, rgba(7,11,18,0.82) 100%); }
.caps-console::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(78% 78% at 60% 40%, #000, transparent 78%); mask-image: radial-gradient(78% 78% at 60% 40%, #000, transparent 78%); }
.caps-scan { display: none; position: absolute; left: 0; right: 0; height: 34%; top: 0; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(124,204,247,0.4), transparent);
  filter: blur(3px); mix-blend-mode: screen; pointer-events: none;
  transform: translateY(-120%); animation: caps-scan 4.2s var(--ease-io) infinite; } /* transform = kompozytowany, płynny też na mobilce */
@keyframes caps-scan { 0% { transform: translateY(-120%); } 60%, 100% { transform: translateY(400%); } }
/* Mobilka (stacked): karta w kadrze (.m-active z JS) — skan + akcenty na inline-konsoli */
.caps-card.m-active .caps-scan { display: block; }
.caps-card.m-active .caps-idx { color: var(--blue-light); }
.caps-card.m-active .caps-console { border-color: var(--line-blue); }
.caps-console-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.caps-console-btm { position: relative; z-index: 3; }
.caps-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(238,243,249,0.72);
  background: var(--glass); border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.caps-live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.caps-live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--mint); opacity: 0; animation: pulse-ring 2.4s var(--ease-out) infinite; }
.caps-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(8,158,214,0.28), rgba(117,214,156,0.18)); border: 1px solid var(--border); color: var(--blue-light); }
.caps-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-light); }
.caps-metric { display: block; font-family: var(--font-mono); font-size: clamp(34px, 4.2vw, 54px); font-weight: 600; letter-spacing: -0.03em; color: #fff; line-height: 1; margin-top: 8px; }
.caps-ctitle { display: block; color: rgba(238,243,249,0.72); font-size: 15px; margin-top: 14px; max-width: 320px; line-height: 1.5; }

/* Wzbogacenie desktopowe (JS dodaje .caps-enhanced; tylko ≥901px) */
@media (min-width: 901px) {
  /* Bez scroll-snap: karty przewijają się naturalnie, stany przełącza IntersectionObserver. */
  .caps-enhanced .caps-grid { grid-template-columns: 44px 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
  .caps-enhanced .caps-cards { display: block; }
  .caps-enhanced .caps-card { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
  .caps-enhanced .caps-card + .caps-card { border-top: 0; }
  .caps-enhanced .caps-inline { display: none; }
  .caps-enhanced .caps-spine { display: flex; position: sticky; top: 0; height: 100vh; align-items: center; justify-content: center; }
  .caps-enhanced .caps-visual { display: flex; position: sticky; top: 0; height: 100vh; align-items: center; overflow: hidden; }
  .caps-enhanced .caps-panel { position: absolute; inset: 0; opacity: 0; transform: scale(0.985); pointer-events: none;
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
  .caps-enhanced .caps-panel.active { opacity: 1; transform: none; pointer-events: auto; }
  .caps-enhanced .caps-panel.active .caps-scan { display: block; }
  .caps-enhanced .caps-card h3 { color: rgba(238,243,249,0.5); transition: color .4s var(--ease-io); }
  .caps-enhanced .caps-card.active h3 { color: var(--text-heading); }
  .caps-enhanced .caps-card > p { color: rgba(238,243,249,0.6); transition: color .4s var(--ease-io); }
  .caps-enhanced .caps-card.active > p { color: var(--text-body); }
  .caps-enhanced .caps-card.active .caps-idx { color: var(--blue-light); }
}
@media (prefers-reduced-motion: reduce) { .caps-scan { display: none !important; } }

/* Stats */
.stats { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-mono); font-size: clamp(34px, 4vw, 46px); font-weight: 600; letter-spacing: -0.03em; color: var(--accent-text); line-height: 1; }
.stat.plain .num { color: var(--text-heading); }
.stat .lbl { font-size: 14px; color: var(--text-body); margin-top: 8px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface-card); transition: transform .3s var(--ease-io), box-shadow .3s var(--ease-io), border-color .25s; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-blue); }
.member-photo { position: relative; aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(180deg, var(--ink-800) 0%, #0c1a2e 100%); }
.member-photo::before { content: ""; position: absolute; left: 50%; top: 56%; transform: translate(-50%,-50%); width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(8,158,214,0.22) 0%, rgba(8,158,214,0.06) 62%, transparent 72%); }
.member-photo img { position: relative; width: 100%; height: 94%; margin-top: 6%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.5)); transition: transform .5s var(--ease-out); }
.member:hover .member-photo img { transform: scale(1.04); }
.member-body { padding: 22px 24px 26px; }
.member-role { font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-text); }
.member h3 { font-size: 20px; margin: 8px 0 12px; }
.member p { color: var(--text-body); font-size: 14px; line-height: 1.6; }
.member-tag { margin-top: 14px; font-size: 13px; font-style: italic; opacity: 0.8; }
@media (max-width: 820px) { .member-photo { aspect-ratio: 3/2; } }

/* FAQ */
.faq { background: var(--bg-elevated); }
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.acc { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--text-heading); text-align: left; }
.acc-q .chev { flex: 0 0 auto; color: var(--text-faint); transition: rotate .22s var(--ease-ui); }
.acc-q[aria-expanded="true"] .chev { rotate: 180deg; }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease-ui); }
.acc:has(.acc-q[aria-expanded="true"]) .acc-a { grid-template-rows: 1fr; }
.acc-a-inner { overflow: hidden; min-height: 0; padding: 0 24px; color: var(--text-body); font-size: 15px; line-height: 1.6; transition: padding .3s var(--ease-ui); }
.acc:has(.acc-q[aria-expanded="true"]) .acc-a-inner { padding-bottom: 22px; }

/* Meteors — subtelne electric-blue smugi na ciemnym */
.meteors { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.meteor { position: absolute; top: 0; width: 2px; height: 2px; border-radius: 9999px;
  background: var(--blue-light); box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotate(215deg); animation: meteor linear infinite; opacity: 0; }
.meteor::before { content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 60px; height: 1px; background: linear-gradient(90deg, var(--blue-light), transparent); }
@keyframes meteor {
  0% { transform: rotate(215deg) translateX(0); opacity: 0.8; }
  70% { opacity: 0.8; }
  100% { transform: rotate(215deg) translateX(-520px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .meteors { display: none; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--ink-850); text-align: center; padding: 92px 0; }
.cta-band .meteors { z-index: 0; }
.cta-band .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; z-index: 0; }
/* Powolny Ken Burns na tle CTA — życie w kadrze za grosze (transform = kompozytor).
   Desktop only; IO w main.js pauzuje poza kadrem. */
@media (min-width: 821px) { .cta-band .cta-bg { animation: cta-zoom 26s var(--ease-io) infinite alternate; will-change: transform; } }
@keyframes cta-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(62% 100% at 50% 50%, rgba(5,9,15,0.5), transparent 78%), linear-gradient(180deg, rgba(10,16,25,0.6), rgba(10,16,25,0.85)); }
.cta-band .wrap { position: relative; z-index: 1; }
/* Ten sam stopień H2 co w blokach treści — 44/28 px był jedynym w serwisie
   i na 390 px stał 2 px od 30 px z .pblock-head (para bez różnicy). */
.cta-band h2 { color: var(--text-heading); font-size: clamp(30px, 3.4vw, 38px); max-width: 720px; margin: 0 auto; }
.cta-band p { color: var(--text-body); margin: 16px auto 0; max-width: 46ch; font-size: 17.5px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 4vw, 40px); margin: 14px 0 0; }
.contact-info > p { color: var(--text-body); margin-top: 16px; max-width: 360px; line-height: 1.6; }
.contact-blocks { margin-top: 26px; display: grid; gap: 18px; }
.cblock h3 { color: var(--text-heading); margin-bottom: 8px; }
.cblock p { color: var(--text-body); font-size: 15px; line-height: 1.6; }
.cblock .reg { font-family: var(--font-mono); font-size: 13px; }
.form { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-head { margin-bottom: 22px; }
.form-head h3 { font-size: 20px; }
.form-head p { color: var(--text-body); font-size: 13px; margin-top: 8px; line-height: 1.55; }
.field .opt { color: var(--text-faint); font-weight: 400; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--text-body); line-height: 1.5; margin-bottom: 20px; }
.consent input { margin-top: 3px; accent-color: var(--blue); width: 15px; height: 15px; flex: 0 0 auto; }
.form .btn-primary { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Footer */
.footer { background: var(--ink-900); color: var(--text-body); padding: 64px 0 0; border-top: 1px solid var(--border); }
.footer a { color: inherit; } .footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { height: 24px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 13px; margin-top: 16px; max-width: 300px; line-height: 1.6; }
.footer h2 { color: var(--text-heading); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; font-size: 13px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text-faint); }
.footer-bottom .reg { font-family: var(--font-mono); }

/* Reveal — na WŁASNOŚCI `translate`, nie na `transform`.
   Powód (pomiar 2026-08-26): `.js .reveal.in { transform: none }` ma
   specyficzność (0,3,0) i biło `.xcard:hover { transform: translateY(-4px) }`
   (0,2,0) — uniesienie karty wynosiło 0 px. Dodatkowo skrót `transition`
   z `.js .reveal` (0,2,0) nadpisywał deklaracje komponentów (0,1,0), więc
   computed transition-property na każdej karcie brzmiało „opacity, transform",
   a border-color i box-shadow strzelały w 0 ms.
   `translate` jest niezależną własnością — wejście i hover nie dzielą już
   jednego kanału. Opóźnienie stagger wchodzi zmienną --rd (main.js), żeby nie
   opóźniało stanów UI. Osobne czasy: jasność 440 ms, pozycja 560 ms. */
.js .reveal { opacity: 0; translate: 0 20px;
  transition: opacity 440ms var(--ease-io) var(--rd, 0ms),
              translate 560ms var(--ease-out) var(--rd, 0ms); }
.js .reveal.in { opacity: 1; translate: none; }

/* Komponenty z własnym stanem powtarzają segmenty wejścia, bo `transition` to
   SKRÓT: sama deklaracja hoveru skasowałaby wejście, a samo `.js .reveal`
   nie ma czego animować na hoverze. Specyficzność (0,2,0) + kolejność źródłowa. */
.js .xcard, .js .tease {
  transition: opacity 440ms var(--ease-io) var(--rd, 0ms),
              translate 560ms var(--ease-out) var(--rd, 0ms),
              transform 220ms var(--ease-ui), border-color 220ms var(--ease-ui); }
.js .toolcard, .js .flow-step {
  transition: opacity 440ms var(--ease-io) var(--rd, 0ms),
              translate 560ms var(--ease-out) var(--rd, 0ms),
              border-color 220ms var(--ease-ui); }
.js .pt-tile {
  transition: opacity 440ms var(--ease-io) var(--rd, 0ms),
              translate 560ms var(--ease-out) var(--rd, 0ms),
              transform 220ms var(--ease-ui); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pillars, .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 68px 0; }

  /* Nav bez backdrop-filter — blur nad animującym canvasem to główny zjadacz FPS na mobilce */
  .nav { background: rgba(10,16,25,0.92); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.scrolled { background: rgba(10,16,25,0.97); }

  /* Blend/blur są kosztowne na mobilnym GPU — na małych ekranach rezygnujemy */
  .hs-glow { display: none; } /* mix-blend screen nad canvasem = rekompozycja z blendem co klatkę */
  .caps-scan { filter: none; mix-blend-mode: normal; opacity: 0.55; } /* sweep zostaje, blur+blend nie */
  .caps-live { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10,16,25,0.55); }

  /* Sekcje pod foldem renderują się dopiero przy dojeżdżaniu — mniejszy koszt layout/paint */

  /* ShieldHero: wideo jako pasmo 16:9 na środku — CAŁY poziomy kadr, a mniejszy canvas = płynniej */
  .hs { height: 620vh; } /* dłuższy przebieg: na dotyku ta sama animacja czyta się szybciej */
  .hs-poster, .hs-canvas { top: 52%; bottom: auto; height: auto; aspect-ratio: 16/9; transform: translateY(-50%); }
  .hs-poster { object-fit: cover; } /* box 16:9 = kadr 16:9 → dokładne dopasowanie, bez cięcia */

  /* Kopia hero: tekst U GÓRY, formularz NA DOLE — nic nie zasłania wideo */
  .js .hs:not(.story-reduced) .hs-copy { display: flex; flex-direction: column; top: calc(var(--nav-h) + 10px); bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .js .hs:not(.story-reduced) .hs-copy .capture { margin-top: auto; }
  .hs-copy h1 { font-size: clamp(26px, 8.2vw, 34px); }
  .hs-copy .hs-sub { font-size: 15px; margin-top: 12px; }
  .capture { gap: 8px; }
  
  .hs-micro { margin-top: 10px; }
  .hs-badges { margin-top: 12px; gap: 12px; }

  /* Story: nagłówek u góry, kompaktowa karta pod pasmem wideo, bez blura (jank) */
  .hs-head { top: calc(var(--nav-h) + 14px); }
  .hs-head h2 { font-size: 22px; }
  .hs-cards { bottom: 76px; max-width: none; }
  .hs-card { padding: 16px 18px; border-radius: 14px; background: rgba(7,11,18,0.88);
    backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hs-card .step { font-size: 12px; margin-bottom: 8px; }
  .hs-card h3 { font-size: 20px; }
  .hs-card p { font-size: 14px; margin-top: 8px; line-height: 1.5; }

  /* Rail: same kropki, etykieta tylko przy aktywnym etapie — nic nie wychodzi poza ekran */
  .hs-rail { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
  .hs-hint { bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .hs-cards { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .hs-rail button { padding: 14px 8px; } /* cel dotykowy ≥44px */
  .hs-rail .lbl { display: none; }
  .hs-rail button.active .lbl { display: inline; }
}
@media (max-width: 820px) and (max-height: 720px) {
  /* Niskie ekrany: ciaśniej, żeby nic nie wjeżdżało na pasmo wideo */
  .hs-copy h1 { font-size: 24px; }
  .hs-copy .hs-sub { font-size: 13.5px; }
  .hs-badges { display: none; }
}
@media (max-width: 560px) { .ops .sep { display: none; } }
@media (max-width: 480px) {
  .capture { flex-direction: column; }
  /* W kolumnie flex-basis 220px = 220px WYSOKOŚCI pola — stąd „formularz-gigant". Zeruj (min 48px = touch target). */
  
  .capture .btn { width: 100%; }
  .hs-badges { gap: 12px; }
}

/* ---------- HS Loader — mobilny „secure boot" przed scroll-story ----------
   Pokazywany tylko gdy JS doda .hs-loading na <html> (telefon, bez reduced-motion/Save-Data).
   Strona odsłania się dopiero, gdy klatki story siedzą w RAM → scroll bez dogrywania w tle. */
.hs-loader { position: fixed; inset: 0; z-index: 200; display: none; place-items: center;
  background: radial-gradient(120% 90% at 50% 24%, #0f1a2e 0%, var(--ink-900) 72%);
  opacity: 1; transition: opacity .55s var(--ease-out); touch-action: none; overscroll-behavior: contain; }
.hs-loading .hs-loader { display: grid; }
.hs-loader.hide { opacity: 0; pointer-events: none; }
html.hs-loading, html.hs-loading body { overflow: hidden; height: 100%; }
.hs-loader::before { content: ""; position: absolute; inset: 0; opacity: 0.45; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(72% 58% at 50% 46%, #000, transparent 80%); mask-image: radial-gradient(72% 58% at 50% 46%, #000, transparent 80%); }
.hsl-core { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px;
  width: min(400px, calc(100% - 64px)); }
.hsl-shield { width: 88px; height: 88px; color: var(--blue-light); filter: drop-shadow(0 0 20px rgba(8,158,214,0.45)); }
.hsl-shield path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: hsl-draw 2.4s var(--ease-io) infinite; }
.hsl-shield .hsl-x { stroke: var(--blue); animation-delay: 0.35s; }
@keyframes hsl-draw { 0% { stroke-dashoffset: 1; } 32%, 78% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.hsl-status { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-muted);
  min-height: 18px; text-align: center; }
.hsl-status::before { content: "▸ "; color: var(--blue-light); }
.hsl-bar { width: 100%; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.hsl-bar span { display: block; height: 100%; transform: scaleX(0); transform-origin: left; transition: transform .3s linear;
  background: linear-gradient(90deg, var(--blue), var(--blue-light)); box-shadow: 0 0 12px rgba(8,158,214,0.8); }
.hsl-meta { display: flex; justify-content: space-between; width: 100%;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-faint); }
.hsl-meta .hsl-pct { color: var(--blue-light); }
.hs-loader.done .hsl-status { color: var(--mint); }
.hs-loader.done .hsl-status::before { color: var(--mint); }
.hs-loader.done .hsl-shield { color: var(--mint); filter: drop-shadow(0 0 22px rgba(117,214,156,0.5)); }
.hs-loader.done .hsl-shield path { animation: none; stroke-dashoffset: 0; }

/* Wejście strony po zniknięciu loadera — prosty, spokojny fade + drobne uniesienie treści hero.
   Tylko mobilka (loader jest tylko tam). Klasę .hs-enter JS zdejmuje po ~0.8s. */
.hs-enter main { animation: hs-page-in .6s var(--ease-out) both; }
.hs-enter .hs-copy { animation: hs-copy-in .66s var(--ease-out) .06s both; }
@keyframes hs-page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hs-copy-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hs-enter main, .hs-enter .hs-copy { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto; }
  /* „Wolniej, nie wcale": `animation: none` zamrażało taśmę w pozycji zerowej,
     przez co 8 z 17 logotypów partnerów NIGDY nie trafiało w kadr na 1440 px
     (14 z 17 na 390 px) — to utrata TREŚCI, nie tylko ruchu. !important jest
     konieczny, bo reset wyżej ścina duration do 0,01 ms i iterację do 1. */
  /* Taśma logotypów: zamiast ruchu — statyczna siatka ze WSZYSTKIMI logotypami
     (WCAG 2.2.2). Duplikat do pętli ukryty, więc nic się nie powtarza. */
  .marquee-track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  .marquee-track > [aria-hidden="true"] { display: none !important; }
  .js .reveal { opacity: 1; transform: none; translate: none; }
}

/* ============================================================
   v2.2 — Struktura logiczna xsecures.com
   Pozycjonowanie „Your AI Security Partner" + podstrony:
   Bezpieczeństwo AI · Producenci · Rozwiązania · Usługi · Partnerzy
   ============================================================ */

/* ---------- Pasek filarów (AI Security | Governance | …) ---------- */
/* Pasek stoi na tle TREŚCI (--bg), nie na tle hero (--bg-elevated). Wcześniej
   obie powierzchnie były identyczne (rgb 14,23,38), a rozdzielały je DWA
   hairline'y — kreska między tym samym a tym samym. Teraz różnica 3,08 L*
   robi granicę sama. */
.pillarbar { background: var(--bg); display: block; }
.pillarbar .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 10px; padding: 15px 24px; }
/* Kropka jako element listy, nie ::before — przy zawijaniu nie zostaje sierota
   na końcu wiersza (separator ::before robił ragged prawą krawędź). */
.pillarbar li { list-style: none; display: inline-flex; align-items: center; font-family: var(--font-mono);
  color: var(--text-muted); white-space: nowrap;
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 14px; }
.pillarbar li:first-child { color: var(--accent-text); border-color: var(--line-blue);
  background: var(--blue-a10); }

/* ---------- Hero podstrony ---------- */
.phero { position: relative; overflow: hidden; padding: 72px 0 52px;
  background: radial-gradient(90% 120% at 12% -20%, var(--blue-a16) 0%, transparent 60%), var(--bg-elevated); }
.phero .wrap { position: relative; }
/* 17ch obiecywało 17 znaków, dostarczało 13–22 na wiersz (1ch w Poppins = 1,16
   znaku) — H1 łamał się na 3–4 poszarpane wiersze i zostawiał 583 px martwego
   pasa po prawej. 22ch to ~27 znaków w wierszu i pas krótszy o ~174 px. */
.phero h1 { font-size: clamp(40px, 5vw, 54px); margin: 16px 0 0; max-width: 22ch; }
.phero .phero-lead { color: var(--text-body); font-size: 17.5px; line-height: 1.65; margin-top: 20px; max-width: 62ch; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-faint); margin-bottom: 22px; }
.crumbs a { color: var(--text-faint); } .crumbs a:hover { color: var(--blue-light); }
.crumbs span[aria-current] { color: var(--text-body); }
.crumbs .sep { color: var(--line-strong); }

/* ---------- Spis treści podstrony (sticky na desktopie) ---------- */
.toc { margin-top: 30px; }
.toc-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.toc-list a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  color: var(--text-body); background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 10px 16px; min-height: 44px; /* WCAG 2.2 Target Size */
  transition: border-color .22s var(--ease-ui), background-color .22s var(--ease-ui), color .16s var(--ease-ui); }
/* Numerek jest etykietą porządkową, nie punktem decyzji — akcent zapala się
   dopiero na hoverze i na bieżącej sekcji. 25 błękitnych numerków w kadrze
   zjadało budżet koloru marki. */
.toc-list a .num { font-family: var(--font-mono); color: var(--text-faint); }

/* ---------- Blok sekcji na podstronie ---------- */
.pblock { padding: 72px 0; }
/* `.pblock:last-of-type` NIGDY nie odpalał — `.cta-band` też jest <section>,
   więc żaden .pblock nie był ostatnim elementem swojego typu. Zamiast 19 kresek
   pełnej szerokości zostaje jedna, tam gdzie faktycznie stykają się dwie
   identyczne powierzchnie (treść → pas CTA, obie --ink-850). */
.pblock + .cta-band { border-top: 1px solid var(--border); }
.pblock.alt { background: var(--bg-elevated); }
.pblock-head { max-width: 720px; margin-bottom: 42px; }
.pblock-head h2 { font-size: clamp(30px, 3.4vw, 38px); margin: 14px 0 0; }
/* 50ch ≈ 58 znaków w wierszu; bez capa lead bloku dobijał do 89 znaków. */
.pblock-head p { color: var(--text-body); font-size: 17.5px; line-height: 1.55; margin-top: 14px; max-width: 50ch; }
.pblock-head .kicker { font-family: var(--font-mono); color: var(--text-faint); }

/* ---------- Karta obszaru / usługi ---------- */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
/* Karty na --glass, nie na --surface-card. Powód: --surface-card to WARTOŚĆ
   BEZWZGLĘDNA (#111a28) — na tle body dawała +4,52 L*, ale na sekcji .alt
   już tylko +1,44 L* i karta praktycznie znikała. --glass to nakładka
   WZGLĘDNA: +4,88 L* nad body, +5,15 nad .alt (różnica 0,26) — jeden materiał
   czyta się tak samo wszędzie. --surface-card zostaje w :root dla kodu
   sprzed v2.2 (formularz, .hs-card). */
.xcard { position: relative; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 26px 28px;
  transition: transform 220ms var(--ease-ui), border-color 220ms var(--ease-ui); }
.xcard .xidx { font-family: var(--font-mono); color: var(--text-faint); }
.xcard h3 { font-size: 20px; margin: 12px 0 10px; }
.xcard p { color: var(--text-body); font-size: 15px; line-height: 1.6; }
.xcard .xen { display: block; font-size: 13px; color: var(--text-faint); font-style: italic; margin-top: -4px; margin-bottom: 10px; }
/* Ikona = JEDEN materiał w całym serwisie. Wcześniej 21 elementów .xicon,
   z czego 12 dostawało chip 40×40 z błękitną ramką, a 9 (nagłówki katalogu
   /rozwiazania) nie dostawało nic — klasa-widmo. Zdjęty chip zabiera też
   12 znaczników akcentu z budżetu koloru. */
.xicon { display: inline-flex; align-items: center; color: var(--text-muted); vertical-align: -0.28em; }
.xcard .xicon { display: flex; margin: 12px 0 16px; }

/* ---------- Karta narzędzia AI (Do czego służy / Korzyść) ---------- */
.toolcard { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color 220ms var(--ease-ui); }
.toolcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.toolcard h3 { font-size: 20px; }
/* Nazwa producenta to metryczka, nie punkt decyzji — pigułka schodzi z akcentu. */
.toolcard .vendor-tag { font-family: var(--font-mono);
  color: var(--text-faint); background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 5px 12px; white-space: nowrap; }
.tdef { margin-top: 20px; display: grid; gap: 18px; }
.tdef > div { padding-left: 16px; border-left: 2px solid var(--line); }
.tdef > div.good { border-left-color: var(--mint); }
.tdef dt { color: var(--text-faint); margin-bottom: 7px; }
.tdef > div.good dt { color: var(--mint); }
.tdef dd { color: var(--text-body); font-size: 15px; line-height: 1.65; max-width: 60ch; }
.vendorlist.tools .tdef dd { max-width: none; }
.tdef dd b, .tdef dd strong { color: var(--text-heading); font-weight: 600; }
.tdef dd em { color: var(--text); font-style: italic; }

/* ---------- Taksonomia produktów producenta ---------- */
.vendorlist { display: grid; gap: 14px; }
.vendor { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
/* `.vendor > .acc-q` NIE ŁAPAŁO NICZEGO: markup to .vendor > h3.vendor-h >
   button.acc-q (wrapper h3 dodany dla kolejności nagłówków), a kombinator
   dziecka przez wrapper nie przechodzi. Nazwa producenta renderowała się
   w 16 px zamiast 18 i z paddingiem bazowego .acc-q. Kombinator potomka. */
.vendor .acc-q { padding: 20px 26px; font-size: 20px; }
/* Pasek zwiniętego katalogu był w ~70% pusty (średnio 787–845 px pustki przy
   szerokości 1150 px), bo nota szła POD nazwą. Trzy kolumny: numer · nazwa ·
   nota — pustka przechodzi w treść, a pasek traci wiersz wysokości. */
.vendor .vmeta { display: grid; grid-template-columns: 40px minmax(0, 27ch) minmax(0, 1fr);
  column-gap: 26px; align-items: baseline; flex: 1 1 auto; min-width: 0; }
.vendor .vname { min-width: 0; }
.vendor .vnote { font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--text-faint); min-width: 0; }
.vendor .vnum { font-family: var(--font-mono); color: var(--text-faint); }
.vbody { padding: 0 26px; }
.vendor:has(.acc-q[aria-expanded="true"]) .vbody-wrap { grid-template-rows: 1fr; }
.vbody-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease-ui); }
.vbody-inner { overflow: hidden; min-height: 0; }
.vendor:has(.acc-q[aria-expanded="true"]) .vbody { padding-bottom: 26px; }

/* Kreska między grupami wewnątrz karty (55 sztuk w serwisie) była kreską
   wewnątrz kreski — karta już ma ramkę. Zostaje sam odstęp. */
.pgroup + .pgroup { margin-top: 26px; padding-top: 0; }
/* Cap miary 60ch na pozycji listy sam z siebie zostawiłby ~530 px martwej
   szerokości w rozwiniętym panelu (1098 px) — przeniósłby problem, nie
   rozwiązał go. Kolumny dostają GRUPY, nie pozycje: nagłówek zostaje nad
   swoją listą, a lista czyta się z góry na dół. Multicol, nie grid — nie
   wyrównuje wierszy, więc nie robi dziur pod niższą grupą.
   `:has(.plist)` odcina /uslugi, gdzie w grupach jest proza (.deep-p),
   a nie spis — prozy w dwóch kolumnach nie chcemy. */
@media (min-width: 901px) {
  .vbody:has(.plist) { columns: 2; column-gap: 52px; }
  .vbody:has(.plist) .pgroup { break-inside: avoid; }
  .vbody:has(.plist) .pgroup + .pgroup { margin-top: 0; padding-top: 26px; }
}
/* Nagłówek grupy przegrywał z pogrubieniem w swojej własnej liście
   (14 px vs 14,5 px): 79 nagłówków przeciwko 193 boldom. Teraz stopień wyżej. */
.pgroup > h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.008em; line-height: 1.35;
  color: var(--text-heading); margin-bottom: 14px; }
.pgroup > h4 .en { color: var(--text-faint); font-weight: 400; }
.plist { list-style: none; display: grid; gap: 11px; }
.plist > li { position: relative; padding-left: 22px;
  color: var(--text-body); font-size: 15px; line-height: 1.6; max-width: 60ch; }
/* Punktor listy nie jest punktem decyzji — 198 błękitnych kropek (12 na kadr)
   to była największa pojedyncza pozycja w budżecie akcentu. */
.plist > li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--line-strong); }
.plist > li b { color: var(--text-heading); font-weight: 600; }
.plist ul { list-style: none; margin: 9px 0 0; display: grid; gap: 8px; }
.plist ul > li { position: relative; padding-left: 18px; font-size: 13px; color: var(--text-muted); }
.plist ul > li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px;
  border-radius: 50%; border: 1px solid var(--mint); opacity: 0.75; }

/* ---------- Siatka partnerów ----------
   Loga producentów mają wypalone białe tło, więc każdy kafel dostaje tę samą
   jasną płytkę o stałej wysokości. Producenci bez pliku loga dostają wordmark
   na identycznej płytce — dzięki temu siatka czyta się jako jeden system. */
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
/* Kafel nie ma własnego pudełka: obrys dawał +4,52 L* nad tłem, a biała
   płytka w środku +90,9 L*. Obrysu nikt nie widział — obiektem jest płytka. */
.pt-tile { display: flex; flex-direction: column; gap: 12px; padding: 0 0 14px;
  transition: transform 220ms var(--ease-ui); }
.pt-plate { display: grid; place-items: center; height: 76px; padding: 12px 16px;
  background: #fff; border-radius: var(--radius-sm); overflow: hidden;
  transition: box-shadow 220ms var(--ease-ui); }
/* `max-height: 100%` nie działało: procent bez odniesienia przy height:auto.
   Logo o proporcji 2,22 renderowało się 157×70,7 px w polu 157×52 i traciło
   6,73 px u dołu — 11 z 17 płytek. 52 px = dokładna wysokość pola. */
.pt-plate img { max-height: 52px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.pt-word { font-size: 16px; font-weight: 600; letter-spacing: -0.008em; color: #0b1220;
  text-align: center; line-height: 1.2; }
.pt-foot { display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-mono); color: var(--text-muted); transition: color .22s var(--ease-ui); }

/* ---------- Bramka na datasheety ---------- */
/* 1fr 1fr + rynna ze skali (48–96 px). Poprzednie 1,05:1 z rynną 40 px robiło
   kolumny nierówne bez powodu i rynnę węższą niż padding karty obok. */
.gate { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(48px, 6vw, 96px); row-gap: 28px; align-items: center; }
.gate .form { margin: 0; }

/* ---------- Pole select w formularzu ---------- */
/* Strzałka jako maska, nie kolorowy data-URI — kolor zostaje w tokenie systemu. */

/* ---------- Zajawki sekcji na stronie głównej ---------- */
.tease-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tease { display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; color: inherit;
  transition: transform 220ms var(--ease-ui), border-color 220ms var(--ease-ui); }
.tease .tnum { font-family: var(--font-mono); color: var(--text-faint); }
.tease h3 { font-size: 20px; margin: 12px 0 10px; }
.tease p { color: var(--text-body); font-size: 15px; line-height: 1.6; flex: 1 1 auto; }
.tease .tgo { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13px; font-weight: 600; color: var(--blue-light); }

/* ---------- Nota redakcyjna / uwaga ---------- */
/* Powierzchnia unosi się ALBO leży: nota ma szkło + błękitną belkę, więc
   ramka 1 px była trzecim sygnałem tego samego. Szerokość panelu idzie za
   miarą tekstu — inaczej w ramce zostawał martwy pas ~375 px. */
.note { display: flex; gap: 14px; align-items: flex-start; background: var(--glass);
  border-left: 3px solid var(--blue); border-radius: var(--radius-sm); padding: 18px 20px;
  color: var(--text-body); font-size: 15px; line-height: 1.65; max-width: 64ch; }
.note svg { flex: 0 0 auto; color: var(--blue-light); margin-top: 3px; }
.note p { max-width: 56ch; } /* 60ch dawało jeszcze 80 znaków w najdłuższym wierszu */

/* ---------- Responsywność v2.2 ---------- */
@media (max-width: 900px) {
  .gate { grid-template-columns: 1fr; column-gap: 0; row-gap: 28px; }
  .vendor .vmeta { grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; row-gap: 3px; }
  .vendor .vnote { grid-column: 2; }
}
@media (max-width: 820px) {
  .phero { padding: 52px 0 52px; }
  .pblock { padding: 52px 0; }
  .pblock-head { margin-bottom: 30px; }
  /* Kombinator potomka — `.vendor > .acc-q` nie łapał wrappera h3, więc ten
     stopień NIGDY nie wchodził. Na mobile zmienia się tylko padding: osobny
     stopień 19 px byłby dziewiątym w skali bez różnicy percepcyjnej wobec 20. */
  .vendor .acc-q { padding: 18px 20px; }
  .vbody { padding: 0 20px; }
  .toolcard { padding: 22px; }
  /* Bez własnego font-size: 11,5 px łamało podłogę 12 px. Zostaje sam padding. */
  .pillarbar li { padding: 8px 12px; }
  /* Pas CTA nie miał wariantu mobilnego: 92+92 px przy blokach 52+52 dawało
     styk o 38% grubszy niż rytm strony. */
  .cta-band { padding: 56px 0; }
}
/* Taśma filarów jednym rzędem: trzy rzędy pigułek zajmowały 145 px, czyli 17%
   viewportu 390×844, i to bez żadnej funkcji — pigułki nie są klikalne. */
@media (max-width: 560px) {
  .pillarbar .wrap { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .pillarbar .wrap::-webkit-scrollbar { display: none; }
  .pillarbar li { scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .pt-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .xcard { padding: 22px; }
}

/* Nagłówki opakowujące przyciski akordeonu — potrzebne dla poprawnej kolejności
   h2 → h3 → h4 w drzewie dostępności; wizualnie nie zmieniają nic. */
.acc-h, .vendor-h { margin: 0; font-family: var(--font-sans); font-size: inherit; font-weight: inherit; letter-spacing: 0; line-height: inherit; }

/* Focus dla elementów interaktywnych wprowadzonych w v2.2 (zasada 8 systemu). */
.toc-list a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
a.pt-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.vendor .acc-q:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: var(--radius-sm); }

/* Lead podstrony na małych ekranach — osobny stopień, żeby hierarchia H1/lead
   nie zapadała się do 1,8× (bar A1 wymaga ≥2,4×). */
@media (max-width: 480px) {
  .phero .phero-lead { font-size: 16px; line-height: 1.6; }
}

/* Bramka na materiały — stopnie pisma ze skali systemu (zasada 3: bez style=""). */
.gate-h { font-size: 20px; margin-bottom: 14px; }
.gate-lead { color: var(--text-body); font-size: 17.5px; line-height: 1.55; max-width: 50ch; }
.gate-points { list-style: none; display: grid; gap: 12px; margin-top: 24px; justify-items: start; }

/* Wydruk / zapis do PDF: reveal nie może ukrywać treści (IO nie odpala bez scrolla). */
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; translate: none !important; }
  .vbody-wrap { grid-template-rows: 1fr !important; }
  .nav, .hs-loader, .meteors, .cta-bg { display: none !important; }
}

/* Odstępy i wtrącenia, które wcześniej siedziały w style="" (zasada 3 systemu). */
.vendorlist.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
  gap: 18px; align-items: stretch; }
/* 7 kart w dwóch kolumnach dawało układ 2/2/2/1: ostatnia karta 567×402 px
   stała obok 567×402 px pustki. Nieparzysta ostatnia idzie przez całą
   szerokość, a jej definicje rozkładają się na dwie kolumny — inaczej
   `.vendorlist.tools .tdef dd { max-width: none }` puściłby wiersz ~140 znaków. */
@media (min-width: 901px) {
  .vendorlist.tools > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .vendorlist.tools > :last-child:nth-child(odd) .tdef { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (max-width: 900px) { .vendorlist.tools { grid-template-columns: 1fr; } }
/* Karta-sierota w siatce 3-kolumnowej: 7 usług dawało układ 3/3/1, więc ostatnia
   karta stała obok DWÓCH pustych pól. Idzie przez całą szerokość, a jej treść
   rozkłada się na dwie kolumny — ten sam zabieg co karty platform w v2.2. */
@media (min-width: 901px) {
  .cardgrid > .xcard-wide { grid-column: 1 / -1; display: grid;
    grid-template-columns: minmax(260px, 1fr) 1.55fr; column-gap: 48px; align-items: center; }
  .xcard-wide .xcw-a > .xidx { margin-top: 0; }
  .xcard-wide .xcw-b p { max-width: 62ch; }
}
.xcard-wide .xcw-b p + .xmore { margin-top: 14px; }
/* Dwie kolumny dla grup treści (podstrona „Informacje niejawne"). Jedna kolumna
   zostawiała ok. 800 px martwego pola po prawej przy 1440 px — ta sama pułapka,
   co karty platform w v2.2. */
.pcols { display: grid; gap: 26px 48px; }
@media (min-width: 901px) {
  .pcols { grid-template-columns: 1fr 1fr; align-items: start; }
  .pcols > .pgroup + .pgroup { margin-top: 0; }
}
.after-block { margin-top: 26px; }
.after-block-lg { margin-top: 30px; }

/* Lead bloku na małych ekranach — osobny stopień, żeby H2/treść trzymało ≥1,8× (bar A2). */
@media (max-width: 480px) {
  .pblock-head p { font-size: 16px; }
}

/* ============================================================
   Usługi v2 — proces jako przepływ + dwie warstwy treści
   (runda poprawek 2026-08-26, wg skilla strony-premium)
   ============================================================ */

/* Mocny indeks karty usługi — zamiast małych „a. b. c."
   Waga i stopień zostają, akcent schodzi: numer porządkowy to nie punkt decyzji
   (nim jest link „czytaj szczegóły" niżej w tej samej karcie). */
.xidx.strong { font-size: 20px; font-weight: 600; letter-spacing: -0.012em; text-transform: none;
  color: var(--text-heading); }
.xidx.strong .xidx-of { font-weight: 500; color: var(--text-faint); }

/* Link „czytaj szczegóły" na karcie — spójny z .tgo.
   Focus dziedziczy z globalnej reguły a:focus-visible (outline + radius 4 px);
   własna deklaracja była duplikatem i szóstym promieniem w bloku v2.2. */
.xmore { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 13px; font-weight: 600; color: var(--blue-light); min-height: 24px; }

/* Głębsza warstwa opisowa w akordeonach */
.deep-p { color: var(--text-body); font-size: 15px; line-height: 1.7; max-width: 56ch; }

/* ---------- Przepływ procesu: boks → strzałka → boks ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px;
  counter-reset: none; margin: 0; padding: 0; }
.flow-step { position: relative; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 24px 26px;
  transition: border-color 220ms var(--ease-ui); }
/* Numer kroku to etykieta porządkowa — 4 błękitne pigułki w jednym kadrze
   licytowały się z sześcioma linkami „czytaj szczegóły" tuż nad nimi. */
.flow-num { display: inline-block; font-family: var(--font-mono);
  color: var(--text-faint); background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 5px 12px; margin-bottom: 14px; }
.flow-step h3 { font-size: 20px; margin-bottom: 10px; }
.flow-step p { color: var(--text-body); font-size: 15px; line-height: 1.6; }

/* Strzałka między krokami — maska barwiona tokenem, żadnych nowych kolorów.
   Obrót siedzi w OSOBNEJ własności `rotate`, a wjazd w `translate`: dzięki temu
   warianty 1000/640 px podają samo `rotate: 90deg`, zamiast powielać po trzy
   deklaracje `transform` na breakpoint (i trzy bloki reduced-motion). */
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -37px;
  width: 28px; height: 28px; margin-top: -14px; background-color: var(--line-strong);
  -webkit-mask: var(--arrow-mask) center / 28px 28px no-repeat;
  mask: var(--arrow-mask) center / 28px 28px no-repeat; }
/* Sekwencja: boksik → strzałeczka → boksik. Delay liczony OD opóźnienia własnego
   kroku (--rd), inaczej wszystkie cztery strzałki lądowały razem w 441 ms,
   podczas gdy boksy wchodziły po 191/250/310/366 ms. */
.js .flow-step.reveal::after { opacity: 0; translate: -8px 0;
  transition: opacity 440ms var(--ease-io) calc(var(--rd, 0ms) + 300ms),
              translate 440ms var(--ease-out) calc(var(--rd, 0ms) + 300ms); }
.js .flow-step.reveal.in::after { opacity: 1; translate: none; }

@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 54px 46px; }
  /* W siatce 2×2 strzałka w prawo ma sens tylko w obrębie wiersza */
  .flow-step:nth-child(2)::after { top: auto; bottom: -41px; right: 50%; margin: 0 -14px 0 0; rotate: 90deg; }
  .js .flow-step.reveal:nth-child(2)::after { translate: 0 -8px; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; gap: 54px; }
  .flow-step:not(:last-child)::after { top: auto; bottom: -41px; right: 50%; margin: 0 -14px 0 0; rotate: 90deg; }
  .js .flow-step.reveal:not(:last-child)::after { translate: 0 -8px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Sam ruch znika; `rotate` zostaje w regułach układu wyżej, więc pionowe
     warianty nie wymagają już trzech osobnych bloków-protez. */
  .js .flow-step.reveal::after { opacity: 1 !important; translate: none !important; transition: none !important; }
}

/* Hasło zamykające dokument v2.2 — stopka */
.footer-tagline { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--text-faint); margin-top: 14px; max-width: 300px; line-height: 1.7; }

/* ---------- Stany wskaźnika ----------
   Wszystko, co jest DEKORACJĄ (uniesienie, poświata, przesunięcie strzałki),
   siedzi tutaj. Na dotyku :hover jest lepki: karta zostawała uniesiona, a tap
   w taśmę logotypów zatrzymywał ją na stałe. Focus i kolor linku zostają poza —
   są potrzebne klawiaturze. */
@media (hover: hover) and (pointer: fine) {
  .xcard:hover, .tease:hover { transform: translateY(-4px); border-color: var(--line-blue); }
  .tease:hover { color: inherit; }
  .toolcard:hover, .flow-step:hover { border-color: var(--line-blue); }
  a.pt-tile:hover { transform: translateY(-3px); }
  a.pt-tile:hover .pt-plate { box-shadow: var(--glow-blue); }
  a.pt-tile:hover .pt-foot { color: var(--text-heading); }
  .tease:hover .tgo .btn-arrow, .xmore:hover .btn-arrow { transform: translateX(4px); }
  .toc-list a:hover { color: var(--text-heading); border-color: var(--line-blue); background: var(--glass-strong); }
  .toc-list a:hover .num { color: var(--accent-text); }
}

/* ============================================================
   „Dlaczego xSecures" — wizualne porównanie: 6 dostawców vs 1 partner.
   Zasady: JEDEN akcent (chaos jest szary, błękitna jest tylko droga
   przez xSecures) · ruch wyłącznie transform/opacity (linie = scaleX,
   ŻADNEGO animowania <path>) · sekwencję odpala istniejący .reveal.in
   na korzeniu sekcji — zero nowego JS.
   ============================================================ */
.wm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wm-scn { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; }
.wm-new { border-color: var(--line-blue); background: var(--blue-a10); }
.wm-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.07em;
  line-height: 1.2; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.wm-new .wm-tag { color: var(--accent-text); }

.wm-rig { flex: 1; display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px;
  align-items: stretch; min-height: 208px; margin-top: 26px; } /* miejsce na etykietę „Ty" */
.wm-rig--hub { grid-template-columns: auto minmax(30px, 0.6fr) auto minmax(48px, 1fr) auto; }

.wm-src { position: relative; display: flex; flex-direction: column; justify-content: space-around;
  align-items: flex-start; }
.wm-src--one { justify-content: center; align-self: center; gap: 8px; }
.wm-src-l { position: absolute; bottom: calc(100% + 8px); left: 0; font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-faint); }
.wm-src--one .wm-src-l { position: static; }

/* Dokument-umowa: prostokąt z zagiętym rogiem, czysty CSS */
.wm-doc { position: relative; width: 17px; height: 22px; flex: none;
  border: 1.5px solid var(--text-faint); border-radius: 3px; opacity: 0.85; }
.wm-doc::before { content: ""; position: absolute; right: -1.5px; top: -1.5px; width: 6px; height: 6px;
  background: var(--bg); border-left: 1.5px solid var(--text-faint); border-bottom: 1.5px solid var(--text-faint); }
.wm-doc::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 1.5px;
  background: var(--text-faint); box-shadow: 0 4px 0 var(--text-faint); }
.wm-doc--on { border-color: var(--blue-light); opacity: 1; width: 20px; height: 26px; }
.wm-doc--on::before { border-color: var(--blue-light); }
.wm-doc--on::after { background: var(--blue-light); box-shadow: 0 5px 0 var(--blue-light); }

.wm-mid { position: relative; min-width: 30px; }
.wm-tangle, .wm-fan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wm-tangle path { stroke: var(--line-strong); stroke-width: 1.6; vector-effect: non-scaling-stroke;
  stroke-linecap: round; }
.wm-fan line { stroke: var(--blue); stroke-width: 1.8; vector-effect: non-scaling-stroke;
  stroke-linecap: round; }

/* Jedna linia Ty→xSecures: div, nie SVG — scaleX na kompozytorze */
.wm-one { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  border-radius: var(--radius-pill); background: var(--blue); }

.wm-node { align-self: center; position: relative; z-index: 1; display: inline-flex;
  align-items: center; gap: 7px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--blue); color: var(--text-on-blue); font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em; white-space: nowrap; }
.wm-node::before { content: ""; position: absolute; inset: -8px; z-index: -1; pointer-events: none;
  border-radius: calc(var(--radius-sm) + 8px); border: 1px solid var(--line-blue);
  background: var(--blue-a10); }

.wm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column;
  justify-content: space-around; min-width: 0; }
.wm-list li { display: flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--text-body); }
.wm-no { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-faint); font-variant-numeric: tabular-nums; }
.wm-list--on li { font-weight: 600; color: var(--text-heading); }
.wm-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--mint); }

.wm-sum { margin-top: 20px; font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; line-height: 1.2; text-transform: uppercase; color: var(--text-faint); }
.wm-new .wm-sum { color: var(--text-heading); }

.wm-knot { margin-top: 12px; display: flex; align-items: center; gap: 7px; font-size: 13px;
  color: var(--text-faint); }
.wm-knot--ok { color: var(--text-body); }
.wm-knot--ok svg { color: var(--mint); flex: none; }

.wm-eq { margin-top: 34px; text-align: center; font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600; letter-spacing: -0.02em; color: var(--text-heading); text-wrap: balance; }
.wm-eq-hl { color: var(--blue-light); }

/* ---------- Sekwencja (odpala .reveal.in na korzeniu; sam korzeń robi rise) ----------
   Chronologia: panele → dokumenty/splot (lewa) → linia (prawa, +.45s) → węzeł →
   wachlarz → obszary → podsumowania → puenta. Wszystko transform/opacity. */
.js .whymap .wm-doc,
.js .whymap .wm-list li { opacity: 0; transform: translateX(-8px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  transition-delay: calc(0.15s + var(--i, 0) * 0.06s); }
.js .whymap .wm-tangle { opacity: 0; transition: opacity .7s var(--ease-out) .35s; }
.js .whymap .wm-one { transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease-out) .45s; }
.js .whymap .wm-node { opacity: 0; transform: scale(.6);
  transition: opacity .3s var(--ease-out) .85s, transform .45s var(--ease-out) .85s; }
.js .whymap .wm-fan line { transform-box: fill-box; transform-origin: left center;
  transform: scaleX(0);
  transition: transform .45s var(--ease-out) calc(1.05s + var(--i, 0) * 0.07s); }
.js .whymap .wm-new .wm-list li { transition-delay: calc(1.2s + var(--i, 0) * 0.07s); }
.js .whymap .wm-sum, .js .whymap .wm-knot { opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease-out) .8s, transform .45s var(--ease-out) .8s; }
.js .whymap .wm-new .wm-sum, .js .whymap .wm-knot--ok { transition-delay: 1.55s; }
.js .whymap .wm-eq { opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease-out) 1.75s, transform .5s var(--ease-out) 1.75s; }

.js .whymap.in .wm-doc, .js .whymap.in .wm-list li { opacity: 1; transform: none; }
.js .whymap.in .wm-doc { opacity: 0.85; }
.js .whymap.in .wm-doc--on { opacity: 1; }
.js .whymap.in .wm-tangle { opacity: 0.75; }
.js .whymap.in .wm-one { transform: scaleX(1); }
.js .whymap.in .wm-node { opacity: 1; transform: none; }
.js .whymap.in .wm-fan line { transform: scaleX(1); }
.js .whymap.in .wm-sum, .js .whymap.in .wm-knot { opacity: 1; transform: none; }
.js .whymap.in .wm-eq { opacity: 1; transform: none; }

/* Stany spoczynkowe bez JS i przy reduced-motion: wszystko widoczne */
@media (prefers-reduced-motion: reduce) {
  .js .whymap .wm-doc, .js .whymap .wm-list li, .js .whymap .wm-node,
  .js .whymap .wm-sum, .js .whymap .wm-knot, .js .whymap .wm-eq { opacity: 1 !important; transform: none !important; }
  .js .whymap .wm-doc { opacity: 0.85 !important; }
  .js .whymap .wm-tangle { opacity: 0.75 !important; }
  .js .whymap .wm-one { transform: scaleX(1) !important; }
  .js .whymap .wm-fan line { transform: scaleX(1) !important; }
}

@media (max-width: 900px) {
  .wm-grid { grid-template-columns: 1fr; }
  .wm-rig { min-height: 190px; }
}
@media (max-width: 640px) {
  /* Wąski kadr: etykiety łamią się zamiast rozpychać siatkę (grid blowout) */
  .wm-list li { white-space: normal; }
  .wm-rig { column-gap: 8px; }
  .wm-rig--hub { grid-template-columns: auto minmax(22px, 0.45fr) auto minmax(34px, 1fr) auto; }
  .wm-node { padding: 8px 10px; font-size: 13px; gap: 5px; }
}
@media (max-width: 480px) {
  .wm-scn { padding: 20px; }
  .wm-list li { white-space: normal; font-size: 13px; }
  .wm-node { padding: 8px 11px; font-size: 13px; }
  .wm-rig { column-gap: 8px; }
}

/* Mikro-narracja: JEDEN impuls z „Ty" tuż przed
   narysowaniem linii — raz przy wejściu w kadr, nigdy w pętli (spokój, INP, bateria). */
.wm-src--one { position: relative; }
.wm-pulse { position: absolute; left: 50%; top: 60%; width: 34px; height: 34px;
  margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid var(--blue-light);
  opacity: 0; pointer-events: none; }
.js .whymap.in .wm-pulse { animation: wm-signal .9s var(--ease-out) .3s 1 both; }
@keyframes wm-signal {
  0% { transform: scale(.55); opacity: .7; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .whymap.in .wm-pulse { animation: none; opacity: 0; }
}

/* Kontakt bez formularza (decyzja klienta 2026-09-04): tylko e-mail. */
.contact-mail-row { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--border); }
.contact-mail-row .opt { font-size: 13px; color: var(--text-faint); }
.contact-mail-link { font-size: 20px; font-weight: 600; color: var(--text-heading); word-break: break-all; }
.contact-mail-link:hover { color: var(--accent-text); }
.btn-block { display: flex; justify-content: center; width: 100%; margin-top: 22px; }

/* ============================================================
   PRZYCISKI PREMIUM (prośba klienta 2026-09-04): kolory bez zmian.
   Miękki, „poduszkowy" cień jak w neumorfizmie: ciemna krawędź
   dół-prawo, jasna listewka u góry (inset), delikatny lift na hover,
   wciśnięcie na active. Dwa tokeny, żeby nie było cieni ad hoc.
   ============================================================ */
:root {
  --btn-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.25),
                0 2px 4px rgba(0,0,0,0.35), 0 10px 22px -8px rgba(0,0,0,0.6);
  --btn-shadow-hover: inset 0 1px 0 rgba(255,255,255,0.32), inset 0 -1px 0 rgba(0,0,0,0.25),
                0 4px 8px rgba(0,0,0,0.4), 0 18px 34px -10px rgba(0,0,0,0.65);
  --btn-shadow-active: inset 0 2px 6px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.3);
}
.btn { box-shadow: var(--btn-shadow); transition: transform .18s var(--ease-ui), box-shadow .18s var(--ease-ui),
  filter .18s var(--ease-ui), background-color .18s var(--ease-ui), border-color .18s var(--ease-ui); }
.btn-primary { box-shadow: var(--btn-shadow), 0 10px 30px -8px rgba(8,158,214,0.45); }
.btn-white { box-shadow: var(--btn-shadow); }
.btn-ghost { box-shadow: var(--btn-shadow); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: var(--btn-shadow-hover); }
  .btn-primary:hover { background: var(--blue); box-shadow: var(--btn-shadow-hover), 0 16px 40px -8px rgba(8,158,214,0.6); }
  .btn-white:hover { box-shadow: var(--btn-shadow-hover); }
  .btn-ghost:hover { background: var(--glass-strong); box-shadow: var(--btn-shadow-hover); }
}
.btn:active, .btn-primary:active { transform: translateY(0) scale(0.985); filter: brightness(0.97); box-shadow: var(--btn-shadow-active); transition-duration: 60ms; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transform: none; transition: none; } }

/* Numeracja staggera w CSS — atrybuty style="--i" łamały CSP (style-src 'self'). */
.whymap i.wm-doc:nth-of-type(1), .whymap .wm-list li:nth-child(1), .whymap .wm-fan line:nth-of-type(1) { --i: 0; }
.whymap i.wm-doc:nth-of-type(2), .whymap .wm-list li:nth-child(2), .whymap .wm-fan line:nth-of-type(2) { --i: 1; }
.whymap i.wm-doc:nth-of-type(3), .whymap .wm-list li:nth-child(3), .whymap .wm-fan line:nth-of-type(3) { --i: 2; }
.whymap i.wm-doc:nth-of-type(4), .whymap .wm-list li:nth-child(4), .whymap .wm-fan line:nth-of-type(4) { --i: 3; }
.whymap i.wm-doc:nth-of-type(5), .whymap .wm-list li:nth-child(5), .whymap .wm-fan line:nth-of-type(5) { --i: 4; }
.whymap i.wm-doc:nth-of-type(6), .whymap .wm-list li:nth-child(6), .whymap .wm-fan line:nth-of-type(6) { --i: 5; }

/* Zamknięty akordeon nie może przyjmować fokusu (WCAG 2.4.7): panel zwinięty
   wizualnie przez 0fr nadal siedział w drzewie fokusu. visibility załatwia oba. */
.acc-a, .vbody-wrap { visibility: hidden; transition-property: grid-template-rows, visibility; transition-duration: .3s, 0s; transition-delay: 0s, .3s; }
.acc:has(.acc-q[aria-expanded="true"]) > .acc-a,
.vendor:has(.acc-q[aria-expanded="true"]) > .vbody-wrap { visibility: visible; transition-delay: 0s, 0s; }

/* Nagłówki w wadze 400/500 jadą na Interze — inaczej dociągały osobny plik Poppins po pierwszym renderze. */
.cblock h3, .footer-col h2 { font-family: var(--font-sans); }

/* Polityka prywatności — dokument prawny: długa treść, miara 70 znaków, tabele przewijane. */
.policy { max-width: 76ch; }
.policy h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 44px 0 12px; }
.policy h3 { font-size: 20px; margin: 28px 0 10px; }
.policy h4 { font-size: 16px; margin: 20px 0 6px; color: var(--text-heading); }
.policy p, .policy li { color: var(--text-body); font-size: 16px; line-height: 1.65; }
.policy p { margin: 0 0 12px; }
.policy ul { margin: 0 0 14px 20px; }
.policy li { margin-bottom: 6px; }
.tbl-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.policy-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.policy-table th, .policy-table td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text-body); }
.policy-table th { color: var(--text-heading); font-weight: 600; background: var(--glass); }
.policy-table tr:last-child td { border-bottom: 0; }
/* Logo w stopce i nawigacji: wysokość z proporcji pliku (341×59), nie z ręki — Lighthouse image-aspect-ratio. */
.footer img[src$="logo.png"] { height: auto; }
/* Przełącznik PL/EN: cel dotykowy ≥ 24×24 px (WCAG 2.5.8) — było 15×21. */
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; padding: 0 5px; }

/* Nawigacja: między 821 a 1024 px sześć linków + PL/EN + CTA nie mieściły się w 1200 px
   i logo (flex item) ściskało się do zera. Hamburger wchodzi już poniżej 1024 px. */
.nav-inner > a, .nav-logo { flex: none; }
@media (max-width: 1024px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
}
