/* ACEON: wspólny arkusz stylów. Tokeny na górze, potem elementy wspólne, sekcje stron i zapytania o szerokość ekranu. */

:root {
  /* Paleta: grafit i srebrzysty błękit */
  --graphite: #0a1015;
  --graphite-2: #18232c;
  --graphite-3: #273340;
  --ink: #101820;
  --slate: #5a6472;
  --slate-light: #65707e;
  --line: #dce0e7;
  --line-strong: #c5ced9;
  --paper: #f7f8fa;
  --white: #ffffff;
  --mist: #edf1f6;
  --haze: #e4ebf3;
  --steel: #4f6176;
  --steel-dark: #303d4b;
  --steel-light: #d3e4f4;
  --on-dark: #f4f7fa;
  --on-dark-muted: #bdc5cf;
  --on-dark-soft: #c4ccd6;
  --on-dark-dim: #aab8c8;
  --line-steel: #9fb0c4;
  --accent-sky: #9fc8ee;
  --focus: #6f93bd;
  --hero-gradient: radial-gradient(ellipse at 94% 18%, #3a4657 0%, #222d37 24%, transparent 59%), radial-gradient(ellipse at 65% 101%, #98a5b7 0%, #4a586a 22%, #1d2832 42%, transparent 66%), linear-gradient(120deg, #050c10, #0e171e 58%, #273340);
  --font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --fs-2xs: 11px;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 15px;
  --fs-lg: 17px;
  --fs-xl: clamp(20px, 1.1rem + .5vw, 24px);
  --fs-2xl: clamp(26px, 1.2rem + 1.2vw, 34px);
  --fs-3xl: clamp(40px, 1.4rem + 3.1vw, 64px);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --pill: 999px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 7.5vw, 112px);
  --max: 1140px;
}

/* Baza */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-md)/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
h1, h2 { font-weight: 400; line-height: 1.18; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); line-height: 1.22; }
h3 { font-size: var(--fs-lg); letter-spacing: -.005em; line-height: 1.4; }
p { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, summary, label { touch-action: manipulation; }
html:has(.chapter-nav) { scroll-padding-top: 72px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.label { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--slate); margin-bottom: 14px; }
.lead { font-size: var(--fs-lg); line-height: 1.75; color: var(--slate); max-width: 60ch; }
.muted { color: var(--slate); }
.footnote { margin: 20px 0 0 auto; max-width: 62ch; font-size: var(--fs-xs); line-height: 1.6; color: var(--slate-light); text-align: right; }
.fig-note { color: #8f9cab; }
.lead + .lead { margin-top: 16px; }
.svg-defs { position: absolute; width: 0; height: 0; }
.todo { display: inline-block; font-size: var(--fs-xs); font-weight: 600; color: #7a4b0c; background: #fbf0dc; border: 1px dashed #d9b06b; border-radius: 4px; padding: 1px 7px; }
.section-head { display: grid; gap: 0; max-width: 680px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head h2 + p, .section-head p + p { margin-top: 18px; }
.section-head p { color: var(--slate); font-size: var(--fs-md); line-height: 1.75; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-box { width: 24px; height: 24px; display: grid; place-items: center; color: var(--steel); }
.icon-box .icon { width: 22px; height: 22px; }
/* Ikona obok nagłówka zamiast kafelka nad nim */
.card:has(> .icon-box:first-child), .principles-list li:has(> .icon-box:first-child) { grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; }
.card > .icon-box:first-child, .principles-list li > .icon-box:first-child { grid-row: 1; align-self: center; }
.card > .icon-box:first-child + h3, .principles-list li > .icon-box:first-child + h3 { grid-column: 2; grid-row: 1; align-self: center; }
.card > .icon-box:first-child ~ :not(h3), .principles-list li > .icon-box:first-child ~ :not(h3) { grid-column: 2; }

/* Przyciski i linki */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 23px; border-radius: var(--pill); border: 1px solid transparent; font-size: var(--fs-sm); font-weight: 500; letter-spacing: .005em; line-height: 1.2; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
/* Hierarchia: primary = wypełniony (.dark na jasnym tle, .light na ciemnym), secondary = obrys, tertiary = .text-link.
   Secondary i text-link same dopasowują kolory w ciemnych kontekstach. Jeden wypełniony przycisk na sekcję. */
.button.dark { background: var(--graphite); color: var(--white); }
.button.dark:hover { background: var(--graphite-3); }
.button.light { background: var(--paper); color: var(--ink); }
.button.light:hover { background: var(--haze); }
.button.secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.button.secondary:hover { border-color: var(--steel); background: var(--white); }
:is(.top, .pilot, .eea) .button.secondary { border-color: rgb(255 255 255 / .35); color: var(--white); }
:is(.top, .pilot, .eea) .button.secondary:hover { border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .08); }
.button:disabled { opacity: .6; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; background: none; border: 0; padding: 0; }
.text-link:hover { text-decoration-color: currentColor; }
:is(.top, .pilot, .eea) .text-link { color: var(--on-dark); text-decoration-color: rgb(255 255 255 / .35); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }

/* Nagłówek i menu */
.top { position: relative; isolation: isolate; background: var(--hero-gradient); color: var(--on-dark); padding-bottom: clamp(70px, 9vw, 130px); overflow: hidden; }
.top::before { content: ""; position: absolute; z-index: -1; inset: 35% 0 0; background: radial-gradient(ellipse at 8% 100%, #b4c0cf90, transparent 55%); pointer-events: none; }
.site-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.site-header::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; border-bottom: 1px solid rgb(255 255 255 / .09); }
.logo { font-size: 19px; letter-spacing: .34em; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; gap: 6px; }
.site-nav a { padding: 8px 10px; font-size: var(--fs-sm); color: #d4dae1; text-decoration: none; }
.site-nav a:hover { color: var(--white); }
.site-nav a { position: relative; }
.site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 14px; height: 1px; transform: translateX(-50%); background: rgb(237 243 251 / .55); }
.site-nav { align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.submenu-toggle { width: 22px; height: 28px; display: grid; place-items: center; margin-left: -6px; padding: 0; background: none; border: 0; color: #d4dae1; }
.submenu-toggle .icon { width: 14px; height: 14px; transition: transform .18s ease; }
.has-menu:hover .submenu-toggle .icon, .submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.submenu { position: absolute; z-index: 30; top: calc(100% + 12px); left: -14px; min-width: 330px; display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: rgb(13 20 27 / .97); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 28px 56px -24px rgb(0 0 0 / .7); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.submenu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-menu[data-closed]:not(:hover) .submenu { opacity: 0; visibility: hidden; transform: translateY(-6px); }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .submenu-toggle[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
.site-nav .submenu a { --mark-accent: var(--accent-sky); display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--on-dark); }
.site-nav .submenu a:hover, .site-nav .submenu a:focus-visible { background: rgb(255 255 255 / .07); }
.submenu .mark { width: 30px; height: 30px; color: #eef2f6; }
.submenu b { display: block; font-size: var(--fs-sm); font-weight: 500; }
.submenu small { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--on-dark-dim); }
.site-nav .submenu .submenu-all { display: block; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .08); border-radius: 0 0 10px 10px; font-size: var(--fs-xs); color: #bdc5cf; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; background: transparent; color: var(--on-dark); border: 1px solid rgb(255 255 255 / .2); border-radius: var(--pill); }
.menu-toggle .bars { width: 18px; height: 12px; position: relative; border-block: 1.5px solid currentColor; }
.menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }

/* Fale pod ciemną częścią */
.waves { position: absolute; z-index: -1; left: 0; right: 0; bottom: -1px; height: clamp(70px, 10vw, 155px); pointer-events: none; }
.waves svg { width: 100%; height: 100%; overflow: visible; }
/* Delikatny ruch fal: każda warstwa kołysze się w bok w innym tempie. Oś przekształcenia to środek, więc krawędzie nie odsłaniają tła. */
.waves path { transform-box: fill-box; transform-origin: center; will-change: transform; }
.waves path:nth-of-type(1) { animation: wave-drift 11s ease-in-out infinite alternate; }
.waves path:nth-of-type(2) { animation: wave-drift 8s ease-in-out infinite alternate-reverse; }
.waves path:nth-of-type(3) { animation: wave-drift 13s ease-in-out infinite alternate; }
.waves path:nth-of-type(4) { animation: wave-lift 9s ease-in-out infinite alternate-reverse; }
@keyframes wave-drift { from { transform: translate(-3.5%, 3%) scaleX(1.08); } to { transform: translate(3.5%, -3%) scaleX(1.08); } }
/* Dolna fala rusza się tylko w dół: w górę odsłoniłaby prosty pasek tła hero nad krawędzią sekcji. */
@keyframes wave-lift { from { transform: translateY(0) scaleX(1.03); } to { transform: translateY(4%) scaleX(1.03); } }
@media (prefers-reduced-motion: reduce) { .waves path { animation: none; } }

/* Nagłówek podstron */
.page-hero { padding-block: clamp(48px, 6vw, 84px) clamp(24px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(36px, 1.2rem + 2.8vw, 58px); line-height: 1.12; }
.breadcrumbs { font-size: var(--fs-xs); color: var(--on-dark-muted); margin-bottom: 32px; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumbs a { color: inherit; }
.page-hero h1 { max-width: 20ch; }
.page-hero p { margin-top: 24px; max-width: 58ch; color: #c9d1da; font-size: var(--fs-lg); line-height: 1.8; }
/* Strony do czytania: niższy, jednokolumnowy nagłówek bez pustego pola */
.hero-compact { padding-bottom: clamp(48px, 6vw, 84px); }
.hero-compact .page-hero { padding-block: clamp(36px, 4.5vw, 64px) clamp(12px, 2vw, 24px); }
.hero-compact .page-hero h1 { font-size: clamp(32px, 1.1rem + 2.3vw, 48px); max-width: 24ch; }
.hero-compact .breadcrumbs { margin-bottom: 24px; }
.hero-compact .waves { height: clamp(50px, 7vw, 110px); }
/* Panel w hero: szklany ekran w tej samej perspektywie co tablet na AI Log. Jedna płaszczyzna, miękki cień kontaktowy, odbicie światła od góry. */
.visual-media:has(> .hero-panel), .visual-media:has(> .anon-panel) { perspective: 1400px; perspective-origin: 30% 40%; }
.hero-panel, .anon-panel { position: relative; transform: rotateY(-12deg) rotateX(5deg); transform-origin: 50% 50%; box-shadow: 18px 34px 60px -30px rgb(0 0 0 / .55), 0 0 0 1px rgb(255 255 255 / .05) inset; backface-visibility: hidden; }
.hero-panel::after, .anon-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(118deg, rgb(255 255 255 / .09), rgb(255 255 255 / .02) 38%, transparent 60%); pointer-events: none; }
.hero-panel { width: min(100%, 470px); display: grid; gap: 14px; padding: 20px 22px 18px; font-size: var(--fs-sm); line-height: 1.5; color: var(--on-dark); text-align: left; background: linear-gradient(160deg, rgb(26 36 46 / .92), rgb(14 22 30 / .94)); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-lg); }

.hero-panel .panel-top { padding-bottom: 12px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.hero-panel .panel-brand { font-weight: 500; color: var(--on-dark); }
.hp-rows { display: grid; gap: 14px; }
.hp-row { display: grid; gap: 8px; }
.hp-name { color: var(--on-dark-soft); }
.hp-bar { display: grid; grid-template-columns: 4.5ch minmax(0, 1fr) 6ch; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
.hp-bar em { font-style: normal; font-size: var(--fs-xs); color: var(--on-dark-dim); }
.hp-bar i { display: block; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .1); overflow: hidden; }
.hp-bar i::before { content: ""; display: block; width: var(--v); height: 100%; border-radius: inherit; background: rgb(255 255 255 / .45); }
.hp-bar.is-acc i::before { background: var(--accent-sky); }
.hp-bar b { font-weight: 500; text-align: right; }
.hp-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .1); font-size: var(--fs-xs); color: var(--on-dark-dim); }
.hp-foot b { font-weight: 500; font-size: var(--fs-sm); color: var(--on-dark); text-align: right; }
.hp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hp-grid li { display: grid; gap: 2px; align-content: start; padding: 12px 14px; border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius); background: rgb(255 255 255 / .04); }
.hp-grid .hp-area { font-size: var(--fs-xs); color: var(--on-dark-dim); }
.hp-grid b { font-weight: 500; }
.hp-grid small { font-size: var(--fs-xs); color: var(--on-dark-soft); }
.hp-grid .is-urgent::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #e9a48a; vertical-align: 1px; }
.hp-list { list-style: none; margin: 0; padding: 0; display: grid; }
.hp-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.hp-list li:first-child { padding-top: 2px; }
.hp-list li:last-child { border-bottom: 0; padding-bottom: 2px; }
.hp-list .mark { width: 24px; height: 24px; color: #eef2f6; }
.hp-list .hp-num { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); font-size: var(--fs-2xs); color: var(--on-dark-dim); font-variant-numeric: tabular-nums; }
.hp-list b { display: block; font-weight: 500; }
.hp-list small { display: block; font-size: var(--fs-xs); line-height: 1.5; color: var(--on-dark-soft); }
.page-hero .visual figcaption { padding-inline: 0; margin-top: 10px; }
.visual-media:has(> .hero-panel) { aspect-ratio: auto; }
.hero .visual:has(.hero-panel) figcaption { margin-top: 10px; }

/* Strona główna: karuzela produktów */
.hero { padding-top: clamp(32px, 5vw, 64px); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(16px, 3vw, 40px); align-items: center; visibility: hidden; transition: visibility 0s linear .45s; }
.slide.is-active { visibility: visible; transition: none; }
/* Przenikają elementy slajdu, a nie cały slajd: przezroczystość rodzica wyłączyłaby mieszanie obrazu z tłem. */
.slide > .hero-copy, .slide .visual-media, .slide .visual figcaption { opacity: 0; transition: opacity .45s ease; }
.slide.is-active > .hero-copy, .slide.is-active .visual-media, .slide.is-active .visual figcaption { opacity: 1; }
.hero-copy { position: relative; z-index: 2; }
.tag { border: 1px solid rgb(255 255 255 / .14); border-radius: 4px; font-size: var(--fs-2xs); padding: 1px 7px; color: #bdc8d5; font-variant-numeric: tabular-nums; }
.slide h2 { font-size: var(--fs-3xl); line-height: 1.13; letter-spacing: -.035em; margin-top: 24px; }
.slide h2 span { display: block; color: #e1e6ed; }
.slide .hero-copy > p { margin-top: 24px; max-width: 410px; font-size: var(--fs-md); line-height: 1.8; color: var(--on-dark-soft); }
.slide .actions { margin-top: 30px; }
.visual { position: relative; margin: 0; }
.visual-media { aspect-ratio: 3 / 2; display: grid; place-items: center; }
.visual-media:has(> img:not(.render), > picture) { mix-blend-mode: lighten; }
.visual-media img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.86); -webkit-mask-image: radial-gradient(ellipse 69% 66% at 50% 48%, #000 54%, transparent 91%); mask-image: radial-gradient(ellipse 69% 66% at 50% 48%, #000 54%, transparent 91%); }
.visual figcaption { display: flex; justify-content: flex-end; align-items: baseline; gap: 16px; padding: 0 clamp(8px, 3vw, 36px); font-size: var(--fs-xs); letter-spacing: .02em; color: #bbc6d3; }
.anon-panel { width: min(100%, 440px); display: grid; gap: 10px; padding: 20px; font-size: clamp(.75rem, .65rem + .35vw, .875rem); background: linear-gradient(160deg, rgb(26 36 46 / .92), rgb(14 22 30 / .94)); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-lg); }
@media (max-width: 960px) { .hero-panel, .anon-panel { transform: none; box-shadow: none; } .visual-media:has(> .hero-panel), .visual-media:has(> .anon-panel) { perspective: none; } }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-xs); color: var(--on-dark-muted); }
.doc { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius); padding: 12px 16px; line-height: 1.7; color: var(--on-dark); }
.doc small { display: block; font-size: var(--fs-xs); color: var(--on-dark-dim); margin-bottom: 4px; }
.doc .pii { background: rgb(214 140 140 / .2); border-radius: 3px; padding: 0 4px; }
.doc mark { background: rgb(211 228 244 / .2); color: var(--white); border-radius: 3px; padding: 0 4px; }
.doc.safe { border-color: rgb(211 228 244 / .3); }
.anon-step { display: flex; align-items: center; gap: 10px; color: #d3e4f4; padding-left: 16px; }
.anon-step .icon { width: 18px; height: 18px; }
.carousel-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(24px, 4vw, 44px); border-top: 1px solid rgb(255 255 255 / .17); }
@keyframes tab-progress { to { width: 100%; } }
/* Strona główna: płynne przejścia, rysunki i kropki w karuzeli */
.hero .slide { transition: visibility 0s linear .9s; }
.hero .slide.is-active { transition: none; }
.hero .slide > .hero-copy { transform: translateY(12px); transition: opacity .9s cubic-bezier(.4, 0, .2, 1), transform .9s cubic-bezier(.4, 0, .2, 1); }
.hero .slide .visual-media { transform: scale(.98); transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1), transform 1.1s cubic-bezier(.4, 0, .2, 1); }
.hero .slide.is-active > .hero-copy { transform: none; transition-delay: .15s; }
.hero .slide.is-active .visual-media { transform: none; transition-delay: .2s; }
.hero .slide h2 { margin-top: 0; }
.hero .carousel-nav { justify-content: flex-start; border-top: 0; }
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dot { position: relative; width: 96px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dot::before, .hero-dot::after { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 999px; }
.hero-dot::before { right: 0; background: rgb(237 243 251 / .22); transition: background-color .2s ease; }
.hero-dot:hover::before { background: rgb(237 243 251 / .4); }
.hero-dot::after { width: 0; background: #f4f7fa; }
.hero-dot:has(~ .hero-dot[aria-selected="true"])::after { width: 100%; }
.hero[data-autoplay-state] .hero-dot[aria-selected="true"]::after { animation: tab-progress var(--autoplay, 7s) linear forwards; }
.hero[data-autoplay-state="paused"] .hero-dot[aria-selected="true"]::after { animation-play-state: paused; }
.hero[data-autoplay-state="off"] .hero-dot[aria-selected="true"]::after { animation: none; width: 100%; }
@media (max-width: 640px) { .hero-dot { width: 64px; } }

/* Strona główna: oś czasu */
.process { scroll-margin-top: 24px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "intro steps" "cta steps"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-intro { grid-area: intro; display: grid; gap: 0; }
.process-intro h2 + p { margin-top: 22px; }
.process-intro p { color: var(--slate); max-width: 40ch; font-size: var(--fs-sm); line-height: 1.8; }
.process-cta { grid-area: cta; margin-top: 32px; }
.timeline { list-style: none; padding: 0; position: relative; }
.process > .timeline { grid-area: steps; }
.timeline li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 24px; padding-bottom: 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; border-left: 1px solid var(--line-strong); }
.timeline li:last-child::before { display: none; }
.timeline .step { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 1px solid var(--line-strong); font-size: var(--fs-2xs); font-weight: 600; color: var(--steel-dark); font-variant-numeric: tabular-nums; }
.timeline h3 { padding-top: 9px; font-size: var(--fs-md); }
.timeline p { grid-column: 2; margin-top: 8px; color: var(--slate); max-width: 52ch; font-size: var(--fs-sm); line-height: 1.75; }

/* Oś etapów: linia dorysowuje się, a kolejne punkty zapalają przy przewijaniu */
.timeline[data-reveal] li { opacity: .38; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.timeline[data-reveal] li.is-on { opacity: 1; transform: none; }
.timeline[data-reveal] li::before { transform: scaleY(0); transform-origin: top; transition: transform .7s ease .25s; }
.timeline[data-reveal] li.is-on::before { transform: scaleY(1); }
.timeline[data-reveal] .step { transition: background-color .4s ease, color .4s ease, border-color .4s ease; }
.timeline[data-reveal] li.is-on .step { background: var(--graphite-2); color: var(--white); border-color: var(--graphite-2); }
@media (prefers-reduced-motion: reduce) { .timeline[data-reveal] li, .timeline[data-reveal] li::before { opacity: 1; transform: none; transition: none; } }
/* Bramka decyzji na osi: romb na linii i krótki opis */
.timeline .gate { padding-bottom: 40px; }
.timeline .gate::before { top: 28px; }
.gate-mark { width: 40px; height: 28px; display: grid; place-items: center; }
.gate-mark i { width: 12px; height: 12px; transform: rotate(45deg); background: var(--white); border: 1px solid var(--steel); border-radius: 2px; transition: background-color .4s ease; }
.timeline[data-reveal] li.is-on .gate-mark i { background: var(--steel); }
.timeline .gate p { margin-top: 0; padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: var(--fs-sm); line-height: 1.6; color: var(--slate); max-width: 52ch; }
.timeline .gate strong { display: block; margin-bottom: 2px; font-size: var(--fs-xs); font-weight: 600; color: var(--steel-dark); }
/* Kontakt: osoba przy osi etapów, formularz na dole strony */
.talk-who { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-items: center; }
.talk-photo { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); border: 1px dashed var(--line-strong); }
.talk-photo .icon { width: 24px; height: 24px; stroke-width: 1.3; color: #8aa4bf; }
.talk-name { font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.talk-name .todo { vertical-align: 2px; margin-left: 6px; }
.talk-role { margin-top: 2px; font-size: var(--fs-sm); color: var(--slate); }
.talk .form { margin-top: 28px; }
/* Okno „Porozmawiajmy”: jasne okno, osoba kontaktowa nad formularzem, bez ciemnego paska */
dialog.form-dialog { width: min(640px, calc(100% - 24px)); }
.dialog-body { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 40px); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); transition: background-color .2s, border-color .2s; }
.dialog-close:hover { background: var(--mist); border-color: var(--line-strong); }
.dialog-title { margin: 0 48px 20px 0; font-size: var(--fs-2xl); }
.form-dialog .talk-who { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
.form-dialog .talk-photo { width: 52px; height: 52px; }
.form-dialog .talk-name { font-size: var(--fs-md); font-weight: 600; }
.form-dialog .talk-name .todo { vertical-align: 1px; }
.form-dialog .talk-role { font-size: var(--fs-sm); }
.form-dialog .form { margin-top: 24px; }
.contact-block .talk-who { margin-top: 2px; }
.contact-block .talk-name { font-size: var(--fs-lg); font-weight: 600; }
/* Pasma zasad */
.band { background: linear-gradient(110deg, #f8f8f9, #edf1f6 65%, #e4ebf3); border-block: 1px solid #e4e7ed; }
/* Ostatnia sekcja przed stopką: tło wygasa w kolor strony, żeby płynnie przejść w pas z wezwaniem do działania */
.principles { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.principles-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
.principles-list li { display: grid; gap: 10px; align-content: start; padding-left: 20px; border-left: 1px solid var(--line-strong); }
.principles-list p { font-size: var(--fs-sm); line-height: 1.7; color: var(--slate); }
.principles-list h3 { font-size: var(--fs-md); }

/* Strona główna: badania */
.editorial { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.editorial-head { display: grid; gap: 0; align-content: start; }
.editorial-head h2 + p { margin-top: 22px; }
.editorial-head p { color: var(--slate); font-size: var(--fs-sm); line-height: 1.8; }
.findings { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.findings li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.findings .icon-box { grid-row: span 3; margin-top: 1px; }
.findings p { color: var(--slate); font-size: var(--fs-sm); line-height: 1.75; }
.findings .fact { color: var(--ink); }
.findings .fact strong { font-weight: 600; color: var(--steel-dark); }
.findings cite { font-style: normal; font-size: var(--fs-xs); }
.findings cite a { color: var(--slate); }

/* Karty i siatki */
.table-wrap { position: relative; overflow-x: auto; }
.price-table, .plans { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.price-table th, .price-table td, .plans th, .plans td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table thead th, .plans thead th { font-size: var(--fs-xs); font-weight: 500; color: var(--slate); border-bottom-color: var(--line-strong); }
.price-table th:first-child, .price-table td:first-child, .plans th:first-child, .plans td:first-child, .compare th:first-child, .compare td:first-child { padding-left: 0; }
.price-table th:last-child, .price-table td:last-child, .compare th:last-child, .compare td:last-child { padding-right: 0; }
.price-table tbody th, .plans tbody th { font-weight: 500; color: var(--ink); }
.price-table td { color: var(--slate); line-height: 1.6; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table .featured-row { background: rgb(232 238 244 / .55); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: grid; gap: 12px; align-content: start; padding: 26px 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.card p { color: var(--slate); font-size: var(--fs-sm); line-height: 1.75; }
.card h3 { font-size: var(--fs-md); }
.card .text-link { margin-top: 4px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--slate); font-size: var(--fs-sm); line-height: 1.7; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel); transform: rotate(-45deg); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

/* Znaki produktów */
.tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 2px 10px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: var(--fs-xs); letter-spacing: .02em; color: var(--steel-dark); background: var(--white); }
.pick-copy .tags { margin-top: 10px; }
.mark { width: 24px; height: 24px; flex: none; }
.mark .acc { fill: var(--mark-accent, #5b84ab); }
.mark-xs { width: 14px; height: 14px; }
.mark-lg { width: 34px; height: 34px; }
.top, .pilot, .eea, .pick-preview, .pick-tabs [aria-selected="true"] { --mark-accent: var(--accent-sky); }
.panel-brand { display: inline-flex; align-items: center; gap: 8px; color: #dfe6ee; }
.with-mark { display: flex; align-items: center; gap: 14px; }
.pick-a .mark { width: 16px; height: 16px; }
.flow b { display: inline-flex; align-items: center; gap: 8px; }

/* Diagramy */
.diagram { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); }
.diagram-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.diagram-scroll svg { min-width: 760px; width: 100%; height: auto; }
.diagram svg text { font-family: var(--font); }
.legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; font-size: var(--fs-xs); color: var(--slate); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend i { display: inline-block; width: 32px; border-top: 2px solid var(--steel); }
.legend i.dash { border-top-style: dashed; border-color: var(--slate-light); }
.legend i.zone { height: 14px; border: 1.5px dotted var(--steel); border-radius: 3px; }
.scroll-hint { display: none; font-size: var(--fs-xs); color: var(--slate); margin-top: 10px; }

/* Nasze produkty: droga jednego zapytania */
.journey-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; margin-bottom: 28px; }
.journey-track::before { content: ""; position: absolute; top: 26px; left: 12.5%; right: 12.5%; border-top: 1.5px solid var(--line-steel); }
.stop { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 0 4px 6px; background: none; border: 0; color: var(--ink); text-align: center; }
.stop-dot { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-strong); color: var(--ink); transition: background-color .2s, border-color .2s, box-shadow .2s; }
.stop-dot .icon, .stop-dot .mark { width: 24px; height: 24px; }
.stop-name { font-size: var(--fs-md); font-weight: 500; }
.stop-text { max-width: 20ch; font-size: var(--fs-xs); line-height: 1.5; color: var(--slate); }
.stop:not(.stop-anna):not(.stop-log)::before { content: ""; position: absolute; top: 21px; left: -16px; width: 9px; height: 9px; border-top: 1.5px solid var(--line-steel); border-right: 1.5px solid var(--line-steel); transform: rotate(45deg); }
.stop:hover .stop-dot { border-color: var(--steel); }
.stop[aria-selected="true"] .stop-dot { --mark-accent: var(--accent-sky); background: var(--graphite-2); border-color: var(--graphite-2); color: var(--white); box-shadow: 0 0 0 6px rgb(91 132 171 / .16); }
.stop-log { grid-column: 2 / 5; grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 16px; padding: 14px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgb(255 255 255 / .6); text-align: left; }
.stop-log .stop-dot { grid-row: span 2; margin: 0; }
.stop-log .stop-text { max-width: none; }
.stop-log::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 30px; background-image: repeating-linear-gradient(var(--line-steel) 0 4px, transparent 4px 8px), repeating-linear-gradient(var(--line-steel) 0 4px, transparent 4px 8px), repeating-linear-gradient(var(--line-steel) 0 4px, transparent 4px 8px); background-size: 1.5px 100%; background-repeat: no-repeat; background-position: 16.66% 0, 50% 0, 83.33% 0; }
.journey-stage { --caret: 12.5%; position: relative; }
.journey-panel { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 44px -34px rgb(16 24 32 / .45); }
.journey-panel::before { content: ""; position: absolute; top: -8px; left: var(--caret); width: 14px; height: 14px; margin-left: -7px; background: var(--white); border-top: 1px solid var(--line); border-left: 1px solid var(--line); transform: rotate(45deg); transition: left .25s ease; }
.journey-panel[hidden] { display: none; }
.journey-copy h3 { font-size: var(--fs-xl); font-weight: 400; letter-spacing: -.02em; line-height: 1.3; }
.journey-copy h3 + p { margin-top: 12px; color: var(--slate); font-size: var(--fs-md); line-height: 1.8; }
.without { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.7; color: var(--slate); }
.without strong { color: var(--ink); font-weight: 500; }
.journey-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.journey-nav .text-link { margin-left: auto; }
.journey-dots { display: inline-flex; gap: 6px; margin-right: 8px; }
.journey-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.journey-dots i.on { width: 20px; border-radius: 4px; background: var(--graphite-2); }
.round-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); }
.round-btn:hover:not(:disabled) { border-color: var(--steel); }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn .icon { width: 18px; height: 18px; }
.preview-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 12px 0 0; font-size: var(--fs-xs); }
.preview-dl dt { color: var(--on-dark-dim); }
.preview-dl dd { margin: 0; color: #dfe6ee; }
.preview-doc .pii { background: rgb(214 140 140 / .2); border-radius: 3px; padding: 0 4px; }

/* Nasze produkty: wybór sytuacji */
.picker { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; align-items: stretch; }
.pick-tabs { display: grid; gap: 10px; align-content: start; }
.pick-tabs [role="tab"] { display: grid; gap: 10px; text-align: left; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, background-color .2s; }
.pick-tabs [role="tab"]:hover { border-color: var(--line-strong); }
.pick-tabs [role="tab"][aria-selected="true"] { background: var(--graphite-2); border-color: var(--graphite-2); color: var(--white); }
.pick-q { font-size: var(--fs-md); line-height: 1.45; }
.pick-a { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--slate); }
.pick-a .icon { width: 16px; height: 16px; }
.pick-tabs [role="tab"][aria-selected="true"] .pick-a { color: var(--on-dark-soft); }
.pick-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; height: 100%; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pick-panel[hidden] { display: none; }
.pick-copy h3 { font-size: var(--fs-2xl); font-weight: 400; letter-spacing: -.02em; }
.pick-copy p { margin: 12px 0 18px; color: var(--slate); font-size: var(--fs-sm); line-height: 1.75; }
.pick-copy .actions { margin-top: 24px; }
.pick-preview { align-self: center; padding: 18px; border-radius: var(--radius-lg); background: var(--hero-gradient); color: var(--on-dark); font-size: var(--fs-sm); box-shadow: 0 24px 50px -30px rgb(10 16 21 / .7); }
.preview-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid rgb(255 255 255 / .12); font-size: var(--fs-xs); color: var(--on-dark-soft); }
.preview-rows { list-style: none; padding: 0; display: grid; }
.preview-rows li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid rgb(255 255 255 / .07); }
.preview-rows b { font-weight: 500; }
.preview-rows span { color: var(--on-dark-dim); font-size: var(--fs-xs); }
.preview-rows .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-sky); }
.preview-rows .dot.new { background: #f0c27a; }
.preview-rows .dot.warn { background: #e9a48a; }
.preview-rows .pill { padding: 2px 8px; border-radius: var(--pill); background: rgb(255 255 255 / .08); color: #d3dbe4; font-size: var(--fs-2xs); }
.preview-rows .pill.new { background: rgb(240 194 122 / .18); color: #f6dcb1; }
.preview-rows .pill.warn { background: rgb(233 164 138 / .16); color: #f2c7b6; }
.preview-doc { padding: 12px 4px; line-height: 1.9; color: #dfe6ee; }
.preview-doc s { color: #8b98a6; }
.preview-doc mark { background: rgb(211 228 244 / .2); color: var(--white); border-radius: 3px; padding: 0 4px; }
.preview-foot { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / .12); font-size: var(--fs-xs); color: var(--on-dark-dim); }
.flow { list-style: none; padding: 0; margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; counter-reset: flow; }
.flow li { position: relative; counter-increment: flow; }
.flow li + li { border-left: 1px solid var(--line); }
.flow li + li::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--white); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); }
.flow a { display: grid; gap: 2px; padding: 16px 24px 16px 28px; text-decoration: none; }
.flow a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.flow b { font-weight: 500; font-size: var(--fs-sm); }
.flow b::before { content: "0" counter(flow) "  "; color: var(--slate-light); font-weight: 400; font-size: var(--fs-2xs); white-space: pre; }
.flow span { font-size: var(--fs-xs); color: var(--slate); }

/* Nasze produkty: przepływy */
.lanes { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: lane; }
.lanes li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.lanes li:last-child { border-bottom: 0; }
.lanes li::before { counter-increment: lane; content: counter(lane); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--steel-dark); font-size: var(--fs-xs); font-weight: 600; }
.lanes.meta li::before { background: transparent; border: 1px dashed var(--slate-light); color: var(--slate); }

/* Warianty integracji */
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.level { padding: 28px 32px 8px 0; }
.level + .level { padding-left: 32px; border-left: 1px solid var(--line); }
.level-fig { display: flex; align-items: center; height: 126px; margin: 0 0 22px; }
.level-fig svg { display: block; width: 100%; max-width: 252px; height: auto; }
.level-step { display: block; margin-bottom: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--steel); }
.level h3 { margin-bottom: 8px; }
.level p { font-size: var(--fs-sm); line-height: 1.7; color: var(--slate); }
.trust-note { display: flex; align-items: flex-start; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-note p { max-width: 72ch; font-size: var(--fs-sm); line-height: 1.7; color: var(--slate); }
.trust-note strong { font-weight: 500; color: var(--ink); }
.trust-frame { flex: none; width: 34px; height: 24px; margin-top: 2px; border: 1.5px dashed #46698c; border-radius: 6px; }

/* Infrastruktura w EOG */
.eea { position: relative; background: var(--hero-gradient); color: var(--on-dark); }
.eea .label { color: #bdc5cf; }
.eea-head { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.eea-head p { color: var(--on-dark-muted); margin-top: 16px; max-width: 64ch; }
.eu-mark { width: 160px; height: 160px; }
.eea .card { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .1); color: var(--on-dark); }
.eea .card p, .eea .check-list li { color: var(--on-dark-muted); }
.eea .check-list li::before { border-color: #d3e4f4; }
.eea .icon-box { color: var(--steel-light); }
.eea .footnote { color: #8f9cab; }
.eea .todo { color: #f3d9a8; background: rgb(243 217 168 / .08); border-color: rgb(243 217 168 / .5); }
.distinctions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.distinctions div { padding: 22px; display: grid; gap: 8px; align-content: start; }
.distinctions div + div { border-left: 1px solid rgb(255 255 255 / .12); }
.distinctions h3 { font-size: var(--fs-md); }
.distinctions p { font-size: var(--fs-sm); color: var(--on-dark-muted); }
.evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }

/* Podstrony produktów */
.plans { min-width: 680px; table-layout: fixed; }
.plans thead th:first-child { width: 34%; }
.plans thead th:not(:first-child), .plans tfoot td { text-align: center; }
.plans thead th { vertical-align: bottom; text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); color: var(--slate); font-weight: 400; }
.plans .tier { display: block; margin-bottom: 4px; font-size: var(--fs-lg); font-weight: 500; color: var(--ink); }
.plans thead th small { font-size: var(--fs-xs); line-height: 1.4; }
.plans thead th:nth-child(3), .plans td:nth-child(3) { background: rgb(232 238 244 / .55); }
.plans td { color: var(--slate); text-align: center; vertical-align: middle; }
.plans .yes { color: var(--steel); }
.plans .yes .icon { width: 20px; height: 20px; margin-inline: auto; }
.plans .no { color: var(--line-strong); }
.plans .dash { display: inline-block; width: 12px; height: 1.5px; vertical-align: middle; border-radius: 1px; background: currentColor; }
.plans tfoot th, .plans tfoot td { border-bottom: 0; vertical-align: middle; }
.plans tfoot td { display: table-cell; }
.soon { display: inline-block; white-space: nowrap; padding: 6px 14px; border-radius: var(--pill); border: 1px dashed var(--line-strong); font-size: var(--fs-xs); color: var(--slate); }
.plans .badge { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: var(--pill); background: var(--graphite-2); color: var(--white); font-size: var(--fs-2xs); font-weight: 500; }
.plans .setup th, .plans .setup td { font-size: var(--fs-sm); color: var(--slate); }
.plans tfoot .setup th { font-weight: 400; }
/* Porównanie produktów */
.compare { width: 100%; min-width: 760px; table-layout: fixed; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.6; }
.compare thead th:first-child { width: 22%; }
.compare thead th { vertical-align: bottom; font-weight: 400; border-bottom-color: var(--line-strong); }
.compare thead a { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: var(--fs-lg); font-weight: 500; color: var(--ink); text-decoration: none; }
.compare thead a:hover span, .compare thead a:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }
.compare thead .mark { width: 28px; height: 28px; color: var(--graphite-2); --mark-accent: var(--steel); }
.compare thead th:nth-child(2), .compare td:nth-child(2) { background: rgb(232 238 244 / .55); }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare td { color: var(--slate); }
.compare .yes { color: var(--steel); }
.compare .yes .icon { width: 20px; height: 20px; }
.compare tfoot th, .compare tfoot td { border-bottom: 0; }
.product-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.limit-list li::before { width: 10px; height: 0; border-left: 0; transform: none; top: .8em; }
.check-list.big li { font-size: var(--fs-md); color: var(--ink); padding-block: 12px; border-bottom: 1px solid var(--line); }
.check-list.big li::before { top: 1.2em; }
.faqs { display: grid; gap: 10px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .2s; color: var(--slate); }
.faq[open] summary .chev { transform: rotate(180deg); }
.faq p { padding: 0 20px 20px; color: var(--slate); }
.pilot { position: relative; background: var(--hero-gradient); color: var(--on-dark); }
.pilot .label { color: #bdc5cf; }
.pilot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pilot-grid > div > p { margin-top: 20px; color: var(--on-dark-soft); font-size: var(--fs-md); line-height: 1.8; max-width: 46ch; }
.pilot .pilot-note { font-size: var(--fs-sm); color: var(--on-dark-soft); margin-top: 20px; }
.pilot .todo { color: #f3d9a8; background: rgb(243 217 168 / .08); border-color: rgb(243 217 168 / .5); }
.pilot-steps { list-style: none; padding: 0; counter-reset: ps; display: grid; gap: 0; border-top: 1px solid rgb(255 255 255 / .14); }
.pilot-steps li { counter-increment: ps; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid rgb(255 255 255 / .14); }
.pilot-steps li::before { content: "0" counter(ps); grid-row: span 2; font-size: var(--fs-2xs); color: var(--on-dark-dim); padding-top: 3px; }
.pilot-steps b { font-weight: 500; font-size: var(--fs-md); }
.pilot-steps span { color: var(--on-dark-soft); font-size: var(--fs-sm); line-height: 1.7; }

/* Wdrożenia */
.phases { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.phases li { position: relative; display: grid; align-content: start; gap: 12px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.phases p { font-size: var(--fs-sm); line-height: 1.75; color: var(--slate); }
.browser-deploy { margin-top: clamp(20px, 3vw, 32px); }
.care-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.care-group { padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.care-group h4 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.care-group h4 span { font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .1em; color: var(--steel); }
.care-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.care-group li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink); }
.care-group li .icon { width: 20px; height: 20px; color: var(--steel); }
.care-asks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.care-asks li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.care-asks strong { display: block; margin-top: 7px; font-size: var(--fs-md); font-weight: 600; color: var(--white); }
.care-asks p { margin: 6px 0 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--on-dark-muted); }
.care h2 + p { margin-top: 20px; color: var(--slate); font-size: var(--fs-md); line-height: 1.8; max-width: 46ch; }
.solutions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
@supports (grid-template-rows: subgrid) { .solutions { row-gap: 0; } .solution { grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; margin-bottom: 20px; } }
.solution { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.solution .mini { height: 92px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--mist), #f2f6f9); display: grid; place-items: center; overflow: hidden; }
.solution .mini svg { width: 100%; height: 100%; }
.solution p { font-size: var(--fs-sm); color: var(--slate); }
.solution dl { display: grid; align-content: start; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; font-size: var(--fs-xs); padding-top: 14px; border-top: 1px solid var(--line); }
.solution dt { font-weight: 600; color: var(--ink); }
.solution dd { margin: 0; color: var(--slate); }
.vendors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vendor { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 8px 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.vendor img { width: 32px; height: 32px; grid-row: 1 / span 3; }
.vendor .icon-box { width: 32px; height: 32px; grid-row: 1 / span 3; }
.vendor .icon-box .icon { width: 20px; height: 20px; }
.vendors-title { font-size: var(--fs-xs); font-weight: 500; color: var(--slate); margin: 0 0 14px; }
.vendors + .vendors-title { margin-top: 32px; }
.vendor h3 { font-size: var(--fs-md); }
.vendor p { font-size: var(--fs-sm); color: var(--slate); line-height: 1.7; }
.vendor a { font-size: var(--fs-xs); color: var(--ink); }

/* Zakładki */
.tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--mist); border-radius: var(--radius); margin-bottom: 24px; }
.tablist [role="tab"] { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--slate); font-size: var(--fs-sm); font-weight: 600; }
.tablist [role="tab"]:hover { color: var(--ink); }
.tablist [role="tab"][aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgb(26 35 44 / .12), inset 0 -2px 0 var(--steel); }
.tablist .icon { width: 20px; height: 20px; }
.tabpanel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.tabpanel[hidden] { display: none; }
.tabpanel > div { display: grid; gap: 16px; align-content: start; }
.tabpanel p { color: var(--slate); }
.decision { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.decision .card h3 { display: flex; align-items: center; gap: 10px; }

/* Pasek logotypów klientów */
.rail-note { margin-top: 12px; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); }
.rail-controls button:hover:not(:disabled) { border-color: var(--steel); }
.rail-controls button:disabled { opacity: .4; cursor: default; }
/* Pasek przewijania ukryty: przewijają strzałki, klawiatura (tabindex) i gest. */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-slot { scroll-snap-align: start; display: grid; place-items: center; gap: 4px; height: 112px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgb(255 255 255 / .6); color: var(--slate); font-size: var(--fs-xs); text-align: center; }

/* Audyty */
.situations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.situation { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.situation q { quotes: "„" "”"; color: var(--ink); }
.situation span { font-size: var(--fs-xs); color: var(--slate); }
.chapter-nav { position: sticky; top: 0; z-index: 5; background: rgb(245 247 249 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chapter-nav ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chapter-nav a { display: flex; gap: 10px; align-items: center; padding: 14px 8px; font-size: var(--fs-sm); color: var(--slate); text-decoration: none; border-bottom: 2px solid transparent; }
.chapter-nav a:hover, .chapter-nav a.is-current { color: var(--ink); border-bottom-color: var(--steel); }
.chapter-nav b { font-weight: 600; color: var(--steel); font-variant-numeric: tabular-nums; }
.chapter { padding-block: var(--section); border-bottom: 1px solid var(--line); scroll-margin-top: 56px; }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.chapter-detail h3:first-child { margin-top: 0; }
.chapter-num { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--steel); }
.chapter-num .mark { width: 22px; height: 22px; color: var(--graphite-2); }
.chapter h2 { margin-top: 10px; }
.chapter .story { margin-top: 20px; font-size: var(--fs-lg); line-height: 1.6; color: var(--ink); max-width: 52ch; }
.chapter h3 { font-size: var(--fs-md); font-weight: 600; margin: 28px 0 12px; }
.chapter .result { margin-top: 24px; padding: 18px 0 0; border-top: 1px solid var(--line-strong); }
.chapter .result strong { display: block; font-size: var(--fs-sm); margin-bottom: 6px; }
.chapter .result p { color: var(--slate); font-size: var(--fs-sm); }
.chapter figcaption { margin-top: 12px; font-size: var(--fs-xs); color: var(--slate); }
.deliverables { counter-reset: d; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.deliverables li { counter-increment: d; display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.deliverables li::before { content: "Krok " counter(d); font-size: var(--fs-xs); font-weight: 600; color: var(--steel); }
.deliverables p { color: var(--slate); font-size: var(--fs-sm); }
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.module { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.module:hover { border-color: var(--steel); }
.module p { font-size: var(--fs-sm); color: var(--slate); }

/* Szkolenia */
.org-list { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.org-list div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-md); }
.org-list dt { color: var(--slate); }
.org-list dd { margin: 0; color: var(--ink); }
.program { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); }

/* Szkolenia: lista wierszy jak spis programu; szczegóły rozwijają się pod swoim wierszem */
.courses { display: grid; border-top: 1px solid var(--line-strong); }
.course { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) auto; grid-template-areas: "who title more" "who text more"; column-gap: clamp(16px, 3vw, 40px); row-gap: 4px; align-items: start; width: 100%; text-align: left; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: inherit; cursor: pointer; transition: background-color .2s; }
.course:hover { background: linear-gradient(90deg, transparent, rgb(255 255 255 / .6) 12%, rgb(255 255 255 / .6) 88%, transparent); }
.course[aria-expanded="true"] { border-bottom-color: transparent; }
.course-who { grid-area: who; padding-top: 3px; font-size: var(--fs-sm); color: var(--slate); }
.course h3 { grid-area: title; font-size: var(--fs-lg); font-weight: 500; line-height: 1.35; }
.course p { grid-area: text; font-size: var(--fs-sm); line-height: 1.7; color: var(--slate); max-width: 52ch; }
.course-more { grid-area: more; align-self: start; padding-top: 3px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.course:hover .course-more { text-decoration-color: currentColor; }
.course[aria-expanded="true"] .course-more { text-decoration-color: currentColor; }
/* Szkolenie dedykowane: osobny, wyróżniony blok nad listą */
.course-featured { margin-bottom: 32px; }
.course-featured .course { padding: 24px 28px; background: var(--graphite-2); color: var(--white); border: 0; border-radius: var(--radius-lg); transition: background-color .2s; }
.course-featured .course:hover { background: var(--graphite-3); }
.course-featured .course-who { color: var(--on-dark-dim); }
.course-featured .course p { color: var(--on-dark-soft); }
.course-featured .course-more { color: var(--white); text-decoration-color: rgb(255 255 255 / .4); }
.course-featured .course[aria-expanded="true"] { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.course-featured .course-panel { margin: 0; border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.course-panel { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); margin: 0 0 8px; padding: clamp(24px, 3vw, 32px) clamp(20px, 3vw, 32px) clamp(24px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.course-panel[hidden] { display: none; }
.course-panel:focus { outline: none; }
.course-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); }
.course-close:hover { border-color: var(--steel); }
.course-close .icon { width: 18px; height: 18px; }
.course-main h3 { padding-right: 56px; font-size: var(--fs-xl); font-weight: 400; letter-spacing: -.01em; line-height: 1.3; }
.course-lead { margin-top: 14px; font-size: var(--fs-md); line-height: 1.7; color: var(--ink); max-width: 56ch; }
.course-main .course-steps { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.course-main .actions { margin-top: 28px; }
.course-side { display: grid; gap: 20px; align-content: start; padding-top: 4px; }
.trainer { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 0 56px 20px 0; border-bottom: 1px solid var(--line); }
.trainer .talk-photo { width: 56px; height: 56px; }
.trainer .talk-name { font-size: var(--fs-md); }
.trainer .talk-role { font-size: var(--fs-sm); }
.course-facts { margin: 0; display: grid; gap: 14px; }
.course-facts dt { font-size: var(--fs-xs); color: var(--slate); }
.course-facts dd { margin: 4px 0 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink); }
.course-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: cs; }
.course-steps li { counter-increment: cs; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; }
.course-steps li::before { content: counter(cs); grid-row: span 2; width: 24px; height: 24px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: var(--fs-2xs); color: var(--slate); font-variant-numeric: tabular-nums; }
.course-steps strong { font-weight: 500; }
.course-steps span { font-size: var(--fs-sm); line-height: 1.65; color: var(--slate); }
.course-body .actions { margin-top: 24px; }
@media (max-width: 960px) { .course { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who more" "title more" "text more"; row-gap: 6px; } .course-who { padding-top: 0; } .course-panel { grid-template-columns: minmax(0, 1fr); } .course-side { padding-top: 24px; border-top: 1px solid var(--line); } }

/* Szkolenia specjalistyczne */
.workshops { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.workshops > li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(16px, 3vw, 40px); padding: 22px 0; border-bottom: 1px solid var(--line); }
.workshops h3 { font-size: var(--fs-lg); font-weight: 500; line-height: 1.4; }
.workshops p { font-size: var(--fs-sm); line-height: 1.7; color: var(--slate); }
.workshops ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.workshops ul li { position: relative; padding-left: 16px; font-size: var(--fs-sm); color: var(--ink); }
.workshops ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--steel); opacity: .6; }
[data-tabs] > .actions { margin-top: 28px; }

/* Zespół */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { display: grid; align-content: start; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.person-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; }
.person .photo { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(160deg, var(--mist), var(--haze)); border: 1px dashed var(--line-strong); }
.person .photo svg { width: 40px; height: 40px; stroke-width: 1.2; color: #8aa4bf; }
.person-name { font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.01em; }
.person .role { display: block; margin-top: 4px; font-size: var(--fs-sm); color: var(--slate); }
.person p { color: var(--slate); font-size: var(--fs-sm); line-height: 1.75; }

/* Kontakt */
.start-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: start; }
.start-steps li { counter-increment: start; display: grid; align-content: start; gap: 12px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.start-steps h3::before { content: counter(start) ". "; color: var(--slate-light); font-weight: 400; }
.start-steps p { font-size: var(--fs-sm); line-height: 1.7; color: var(--slate); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--slate); }
.form { display: grid; gap: 14px; }
.form label { font-size: var(--fs-sm); font-weight: 600; }
.form input:not(:where(altcha-widget *)), .form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); }
.topic-note { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--slate); }
.visual-media img.render { filter: none; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; object-fit: contain; }

/* Kontakt: formularz bez karty, temat jako przyciski wyboru, kolumna boczna jako lista */
.contact-main h2 { margin-bottom: 6px; }
.contact-form { margin-top: 22px; gap: 18px; }
.form .topics { gap: 0; padding: 0; border: 0; }
.form .topics legend { margin-bottom: 10px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.chip-choice { position: relative; }
.form .chip-choice input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.chip-choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font-size: var(--fs-sm); font-weight: 500; line-height: 1.2; }
/* Przejście koloru dopiero po interakcji, żeby temat ustawiony z adresu nie migał przy wczytaniu */
.form:where(:hover, :focus-within) .chip-choice span { transition: background-color .2s, border-color .2s, color .2s; }
.chip-choice:hover span { border-color: var(--steel); }
.chip-choice input:checked + span { background: var(--graphite-2); border-color: var(--graphite-2); color: var(--white); }
.chip-choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form .extra { padding-top: 0; border-top: 0; }
.contact-form textarea { min-height: 124px; max-height: 360px; field-sizing: content; }
/* Weryfikacja ALTCHA liczy się w tle; widget nie zajmuje miejsca i nie wchodzi w kolejność tabulacji */
.captcha-quiet { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; }
.form-aside { margin: 0; font-size: var(--fs-sm); color: var(--slate); }
.form-aside a { color: var(--ink); }
.contact-side { display: grid; gap: 32px; padding-top: 12px; }
.contact-block { display: grid; gap: 12px; justify-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-block:first-child { padding-top: 6px; border-top: 0; }
.contact-block h2 { font-size: var(--fs-lg); font-weight: 600; }
.contact-block p { font-size: var(--fs-sm); line-height: 1.7; color: var(--slate); }
.contact-block > small { font-size: var(--fs-xs); color: var(--slate-light); }
.contact-block .button { margin-top: 4px; }
.contact-list.compact { width: 100%; margin: 0; border-top: 0; }
.contact-list.compact li { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.contact-list.compact li:last-child { border-bottom: 0; }
.workshops li > div { display: grid; gap: 14px; align-content: start; }
.form { display: grid; gap: 20px; margin-top: 12px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: 20px; row-gap: 0; }
/* Etykieta, pole i błąd w jednym wierszu siatki, więc kolumny się nie rozjeżdżają. */
.form-row > .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 6px; align-content: start; }
.form-row > .field > label { align-self: end; }
.field { display: grid; gap: 6px; }
.form label { font-size: var(--fs-sm); font-weight: 500; }
.optional { font-weight: 400; color: var(--slate-light); }
.form input:not(:where(altcha-widget *)), .form select { height: 52px; }
.form input:not(:where(altcha-widget *)), .form select, .form textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: var(--fs-md); }
.form textarea { resize: vertical; line-height: 1.6; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
/* Lista rozwijana jak pole formularza; sama lista po otwarciu zostaje systemowa. */
.form select { -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6472' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px 18px; }
.form select:hover { border-color: var(--steel); }
.form select::-ms-expand { display: none; }
/* Własna lista rozwijana ([data-select]): natywny select ukryty, przycisk jak pole, lista w stylu strony */
.select { position: relative; }
.select select[data-select] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; border: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 52px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: var(--fs-md); text-align: left; cursor: pointer; transition: border-color .2s; }
.select-trigger:hover { border-color: var(--steel); }
.select-trigger:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.select-trigger[aria-invalid="true"] { border-color: #b4403a; }
.select-trigger .icon { width: 18px; height: 18px; flex: none; color: var(--slate); transition: transform .2s; }
.select-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 20px 44px -24px rgb(16 24 32 / .45); animation: fade-rise .18s cubic-bezier(.16, 1, .3, 1); }
.select-list[hidden] { display: none; }
.select-list:focus { outline: none; }
.select-list li { padding: 10px 12px; border-radius: var(--radius-sm); font-size: var(--fs-md); line-height: 1.4; color: var(--ink); cursor: pointer; }
.select-list li:hover, .select-list li.is-active { background: var(--mist); }
.select-list li[aria-selected="true"] { font-weight: 500; }
.select-list li[aria-selected="true"]::after { content: ""; float: right; width: 10px; height: 6px; margin: 7px 2px 0 12px; border-left: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel); transform: rotate(-45deg); }
.form select option { color: var(--ink); background: var(--white); }
.form [aria-invalid="true"] { border-color: #b4403a; }
.field-error { min-height: 0; font-size: var(--fs-xs); color: #9b2c2c; }
.field-error:empty { display: none; }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 400 !important; font-size: var(--fs-sm) !important; line-height: 1.6; color: var(--slate); }
.consent input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: var(--graphite-2); }
/* Pole-pułapka na boty i weryfikacja ALTCHA w formularzach (widget ma własne style pól, stąd wyjątek w .form input) */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha { display: block; --altcha-max-width: 100%; --altcha-border-color: var(--line); --altcha-border-radius: var(--radius); --altcha-color-primary: var(--graphite-2); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form-status { font-size: var(--fs-sm); color: var(--slate); }
.form-status:empty { display: none; }
.form-status[data-state="error"] { flex-basis: 100%; padding: 12px 14px; border: 1px solid #e3b7b1; border-left: 4px solid #9b2c2c; border-radius: var(--radius-sm); background: #fbefed; color: #7a2020; font-weight: 500; line-height: 1.5; }
.form-done { display: grid; justify-items: start; gap: 10px; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.form[hidden], .form-done[hidden] { display: none; }
.form-done:focus { outline: none; }
.form-done .icon { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--graphite-2); color: var(--white); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { margin: 4px 0 0; font-size: var(--fs-lg); font-weight: 600; color: var(--ink); }
.form-done p { margin: 0 0 6px; color: var(--slate); line-height: 1.6; }
.contact-list span + span { display: block; margin-top: 6px; }

/* Baza wiedzy */
.post-count { font-size: var(--fs-xs); color: var(--slate); }
.blog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 18px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font-size: var(--fs-sm); }
.chip[aria-pressed="true"] { background: var(--graphite-2); border-color: var(--graphite-2); color: var(--white); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; transition: border-color .2s; }
.post-card[hidden] { display: none; }
.post-card:hover { border-color: var(--steel); }
.post-card h2 { font-size: var(--fs-lg); font-weight: 500; line-height: 1.3; }
.post-card p { color: var(--slate); font-size: var(--fs-sm); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--fs-xs); color: var(--slate); }
.article > .post-meta { margin: 24px 0 -8px; }

/* Artykuły i dokumenty */
.article { max-width: 760px; }
.article h2 { font-size: var(--fs-xl); margin: 40px 0 12px; }
.article p, .article li { color: #34404b; }
.article p + p { margin-top: 14px; }
.article ul + p, .article ol + p { margin-top: 14px; }
.article ul, .article ol { padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }
.article .callout { margin-top: 32px; padding: 20px 22px; border-radius: var(--radius); background: var(--mist); }
.draft-banner { padding: 16px 20px; border-radius: var(--radius); background: #fbf0dc; border: 1px dashed #d9b06b; color: #5f3b09; margin-bottom: 32px; font-size: var(--fs-sm); }

/* Sekcja zamykająca */
.closing-surface { position: relative; overflow: hidden; isolation: isolate; margin-top: 0; padding-top: clamp(56px, 7vw, 100px); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px); mask-image: linear-gradient(to bottom, transparent 0, #000 110px); background: radial-gradient(ellipse at 99% 0, #dbe4ef 0, transparent 52%), linear-gradient(130deg, #fafafb 30%, #e9eef5 75%, #d9e2ec); }
.closing-surface::before, .closing-surface::after { content: ""; position: absolute; z-index: -1; width: 150%; height: 330px; border-radius: 50%; pointer-events: none; }
.closing-surface::before { left: -24%; bottom: -220px; transform: rotate(-10deg); background: linear-gradient(100deg, #d5dde680, #b7c3d260 60%, #eff3f8); box-shadow: 0 -22px 0 #c4cfdd38, 0 -42px 0 #dde5ef45; }
.closing-surface::after { right: -55%; bottom: -250px; transform: rotate(-16deg); background: linear-gradient(80deg, #c3cfdc60, #f5f7fa99); }
/* Sekcja zamykająca: jeden blok, kontakt jako primary, pięć pytań jako cicha druga linia */
.closing-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: center; padding-block: 32px clamp(48px, 6vw, 72px); }
.cta-copy h2 { font-size: var(--fs-2xl); }
.cta-copy p { margin-top: 16px; color: var(--slate); font-size: var(--fs-md); line-height: 1.75; max-width: 46ch; }
.cta-actions { display: grid; justify-items: start; gap: 16px; }
.cta-alt { font-size: var(--fs-sm); line-height: 1.7; color: var(--slate); }
.cta-alt .text-link { display: inline; font: inherit; font-weight: 500; }
.cta-alt span { display: block; font-size: var(--fs-xs); color: var(--slate); }

/* Stopka */
.site-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; align-items: start; padding-block: 24px 28px; font-size: var(--fs-sm); }
.site-footer h2 { font-size: var(--fs-xs); font-weight: 500; color: var(--slate); letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer a:not(.logo) { font-size: var(--fs-sm); color: var(--ink); text-decoration: none; }
.site-footer a:not(.logo):hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .logo { font-size: 19px; }
.footer-brand p { margin: 14px 0 10px; max-width: 30ch; font-size: var(--fs-sm); line-height: 1.6; color: var(--slate); }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line-strong); padding-top: 20px; margin-top: 16px; font-size: var(--fs-xs); color: var(--slate); }

/* Analizator potrzeb */
dialog.analyzer { width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgb(10 16 22 / .5); overflow: hidden; }
.form fieldset { display: grid; gap: 20px; min-width: 0; margin: 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); }
.form fieldset[hidden] { display: none; }
.form legend { float: left; width: 100%; margin-bottom: 2px; padding: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--steel); }
.form legend + * { clear: both; }
dialog.analyzer::backdrop { background: rgb(13 19 26 / .62); backdrop-filter: blur(2px); }
.analyzer-shell { display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: calc(100dvh - 24px); }
.analyzer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: var(--graphite); color: var(--on-dark); }
.analyzer-top strong { font-size: var(--fs-sm); font-weight: 600; }
.analyzer-top button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .2); background: transparent; border-radius: 50%; color: var(--on-dark); }
.analyzer-body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(20px, 4vw, 36px); }
.progress { display: flex; align-items: center; gap: 14px; font-size: var(--fs-xs); color: var(--slate); margin-bottom: 20px; }
.progress-track { flex: 1; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress-track i { display: block; width: 20%; height: 100%; background: var(--steel); transition: width .3s; }
.question h2 { font-size: var(--fs-xl); }
.question h2:focus { outline: none; }
.question .hint { margin-top: 8px; color: var(--slate); font-size: var(--fs-sm); }
.question fieldset { border: 0; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.option:hover { border-color: var(--steel-light); }
.option input { width: 18px; height: 18px; margin: 0; accent-color: var(--steel); }
.option:has(input:checked) { border-color: var(--steel); box-shadow: inset 0 0 0 1px var(--steel); }
.option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.error { min-height: 1.5em; margin-top: 10px; font-size: var(--fs-sm); color: #9b2c2c; }
.analyzer-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 16px; }
.result h2 { font-size: var(--fs-xl); }
.result h2:focus { outline: none; }
.result > p { margin-top: 10px; color: var(--slate); }
.result h3 { font-size: var(--fs-md); font-weight: 600; margin: 28px 0 12px; }
.result-list { display: grid; gap: 12px; }
.result-item { padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 8px; }
.result-item h4 { font-size: var(--fs-md); font-weight: 600; }
.result-item p, .result-item li { font-size: var(--fs-sm); color: var(--slate); }
.result-item ul { padding-left: 18px; display: grid; gap: 4px; }
.result-item .why { color: var(--steel-dark); }
.result-item a { font-size: var(--fs-sm); font-weight: 600; color: var(--steel-dark); }
.result details { margin-top: 20px; font-size: var(--fs-sm); }
.result summary { cursor: pointer; font-weight: 600; }
.result dl { margin-top: 12px; display: grid; gap: 4px 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.result dt { color: var(--slate); }
.result dd { margin: 0; }
.callback { margin-top: 28px; padding: 20px; border-radius: var(--radius); background: var(--mist); display: grid; gap: 8px; }
.callback p { font-size: var(--fs-sm); color: var(--slate); }
.analyzer-note { margin-top: 20px; font-size: var(--fs-xs); color: var(--slate); }
.pdf-status { font-size: var(--fs-sm); color: var(--slate); margin-top: 8px; min-height: 1.4em; }

/* Responsywność */
@media (max-width: 1080px) {
.site-nav a { padding: 8px 8px; }
.vendors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phases, .start-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.situations, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.distinctions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.distinctions div:nth-child(3) { border-left: 0; }
.distinctions div:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .12); }
}
@media (max-width: 960px) {
.menu-toggle { display: inline-flex; }
.site-header { flex-wrap: wrap; }
.site-nav { display: none; flex-basis: 100%; flex-direction: column; padding-bottom: 16px; }
.site-nav.is-open { display: flex; }
.site-nav a { padding: 12px 8px; font-size: var(--fs-md); border-radius: var(--radius-sm); }
.site-nav { align-items: stretch; }
.nav-item { display: block; }
.submenu-toggle { display: none; }
.submenu { position: static; min-width: 0; padding: 0 0 6px 14px; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.submenu::before { display: none; }
.site-nav .submenu a { padding: 8px; }
.submenu .mark { width: 24px; height: 24px; }
.site-nav .submenu .submenu-all { display: none; }
.site-nav .has-menu .submenu, .site-nav .has-menu[data-closed]:not(:hover) .submenu { opacity: 1; visibility: visible; transform: none; transition: none; }
.site-nav a[aria-current="page"]::after { left: 8px; bottom: 50%; width: 1px; height: 14px; transform: translateY(50%); }
.slide { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 28px; }
.slide h2 { max-width: none; }
.visual { max-width: 640px; }
.process { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "steps" "cta"; }
.timeline { margin-top: 40px; }
.care-groups, .care-asks { grid-template-columns: minmax(0, 1fr); }
.principles, .editorial, .split, .chapter-grid, .program, .contact-grid, .product-hero, .tabpanel { grid-template-columns: minmax(0, 1fr); }
.principles-list, .grid-3, .team, .decision, .deliverables { grid-template-columns: minmax(0, 1fr); }
.team { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chapter figure { position: static; }
.site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
.footer-brand { grid-column: 1 / -1; }
.closing-cta { grid-template-columns: minmax(0, 1fr); }
.eea-head { grid-template-columns: minmax(0, 1fr); }
.eu-mark { width: 112px; height: 112px; }
.evidence, .grid-2 { grid-template-columns: minmax(0, 1fr); }
.scroll-hint { display: block; }
.picker, .pick-panel, .pilot-grid, .journey-panel { grid-template-columns: minmax(0, 1fr); }
.journey-track { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.journey-track::before { top: 26px; bottom: 26px; left: 26px; right: auto; border-top: 0; border-left: 1.5px solid var(--line-steel); }
.stop, .stop-log { grid-column: auto; grid-template-columns: 52px minmax(0, 1fr); justify-items: start; column-gap: 16px; padding: 6px 0; text-align: left; border: 0; background: none; }
.stop .stop-dot { grid-row: span 2; margin: 0; }
.stop-text { max-width: none; }
.stop-log::before { display: none; }
.stop:not(.stop-anna):not(.stop-log)::before { display: none; }
.journey-panel { padding: 24px; }
.journey-panel::before { display: none; }
.flow { grid-template-columns: minmax(0, 1fr); }
.flow li + li { border-left: 0; border-top: 1px solid var(--line); }
.flow li + li::before { display: none; }
}
@media (max-width: 640px) {
.hero .visual { display: none; }
.visual-media { aspect-ratio: 4 / 3; }
.anon-panel { padding: 12px; gap: 6px; font-size: var(--fs-xs); }
.anon-panel .doc { padding: 8px 12px; line-height: 1.55; }
.panel-top { display: none; }
.slide .hero-copy > p { font-size: var(--fs-md); }
.carousel-nav { gap: 0; }
.phases, .start-steps, .vendors, .situations, .grid-4, .team, .distinctions, .modules, .posts { grid-template-columns: minmax(0, 1fr); }
.distinctions div + div { border-left: 0; border-top: 1px solid rgb(255 255 255 / .12); }
.chapter-nav ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chapter-nav a { flex-direction: column; gap: 0; font-size: var(--fs-xs); padding: 10px 2px; text-align: center; }
.footer-bottom { flex-direction: column; }
.form-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 20px; }
.form-row > .field { grid-row: auto; grid-template-rows: none; }
.contact-form { gap: 16px; }
.chip-choice span { min-height: 38px; padding: 7px 14px; }
.org-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.price-table { min-width: 620px; }
.levels { grid-template-columns: minmax(0, 1fr); }
.workshops > li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.level, .level + .level { padding: 24px 0 8px; border-left: 0; }
.level + .level { border-top: 1px solid var(--line); }
.level-fig { height: auto; margin-bottom: 16px; }
.level-fig svg { max-width: 220px; }
.compare { min-width: 640px; }
.compare thead th:first-child { width: 112px; }
.compare tr > th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line); }
.compare thead tr > th:first-child { background: var(--paper); }
.tablist { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
.result dl { grid-template-columns: minmax(0, 1fr); }
.result dd { margin-bottom: 8px; }
.rail-head { flex-direction: column; align-items: start; }
.vendors { grid-template-columns: minmax(0, 1fr); }
.pick-panel { padding: 22px; }
}
@media (min-width: 641px) {
.chapter .scroll-hint { display: none; }
}
/* Bez ramek tam, gdzie nic się nie klika: listy treści rozdziela włosowa linia u góry. Ramkę zachowują elementy klikalne i kontenery formularzy. */
.card, .phases li, .care-group, .situation, .deliverables li, .start-steps li, .person, .vendor, .decision .card { background: transparent; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 20px 0 0; box-shadow: none; }
.grid-2, .grid-3, .grid-4, .phases, .situations, .start-steps, .deliverables, .team, .vendors, .care-groups { gap: 28px 32px; }
.eea .card { background: transparent; border-top-color: rgb(255 255 255 / .18); }
.distinctions { border: 0; border-radius: 0; gap: 28px 32px; overflow: visible; }
.distinctions div { padding: 20px 0 0; border-top: 1px solid rgb(255 255 255 / .18); }
.distinctions div + div { border-left: 0; }
.faqs { gap: 0; border-top: 1px solid var(--line); }
.faq { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.faq summary { padding: 18px 0; }
.faq p { padding: 0 0 20px; }
.closing-surface::before, .closing-surface::after { display: none; }

/* Ruch: wjazd treści przy przewijaniu (klasy nadaje app.js, nie przy prefers-reduced-motion), paski w hero, wejścia paneli. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), transform .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms); }
/* Wejście nagłówka podstrony: okruszki, tytuł, lead i obraz po kolei */
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } }
.page-hero > :not(.product-hero), .product-hero > :not(.visual), .product-hero > .visual:has(.hero-panel, .anon-panel), .hero .hero-copy, .hero .visual:has(.hero-panel) { animation: hero-in .75s cubic-bezier(.16, 1, .3, 1) both; }
.hero .visual { animation-delay: .18s; }
.page-hero > :nth-child(2), .product-hero > :first-child { animation-delay: .1s; }
.page-hero > :nth-child(3), .product-hero > .visual { animation-delay: .22s; }
.button:active { transform: scale(.985); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes measure { from { width: 0; } }
@keyframes fade-rise { from { opacity: 0; transform: translateY(6px); } }
.page-hero .hp-bar i::before, .slide.is-active .hp-bar i::before { animation: measure .9s cubic-bezier(.16, 1, .3, 1) .35s both; }
.page-hero .hp-bar.is-acc i::before, .slide.is-active .hp-bar.is-acc i::before { animation-delay: .55s; }
.slide:not(.is-active) .hp-bar i::before { animation: none; }
.course-panel:not([hidden]) { animation: fade-rise .35s cubic-bezier(.16, 1, .3, 1); }
.faq[open] p { animation: fade-rise .3s cubic-bezier(.16, 1, .3, 1); }
.journey-panel:not([hidden]), .pick-panel:not([hidden]), .tabpanel:not([hidden]) { animation: fade-rise .3s cubic-bezier(.16, 1, .3, 1); }

.section-note { margin-top: 24px; font-size: var(--fs-sm); color: var(--slate); }
.faq > ul { margin: 0 0 20px; }
.faq > ul li { font-size: var(--fs-sm); }
.who-title { margin: 28px 0 12px; font-size: var(--fs-xs); font-weight: 500; color: var(--slate); }

@media (prefers-reduced-motion: reduce) {
  /* Wyłączamy tylko ruch dekoracyjny i przesunięcia; krótkie zmiany koloru i przezroczystości zostają. */
.waves path, .timeline[data-reveal] li, .timeline[data-reveal] li::before, .hero-dot::after { animation: none !important; transition: none !important; }
.hero .slide > .hero-copy, .hero .slide .visual-media, .submenu, .journey-panel::before { transition-duration: .01ms !important; }
.reveal { opacity: 1; transform: none; transition: none; }
.hp-bar i::before, .course-panel, .faq[open] p, .journey-panel, .pick-panel, .tabpanel, .page-hero > *, .product-hero > *, .select-list { animation: none !important; }
}
@media print {
.top, .closing-surface, dialog { display: none !important; }
}

/* Zgoda na analitykę: pasek na dole strony i okno ustawień prywatności */
.consent-banner { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 0 16px 16px; pointer-events: none; }
.consent-inner { pointer-events: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 32px; width: min(100%, var(--max)); margin: 0 auto; padding: 20px 24px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: 0 18px 50px -18px rgb(10 16 22 / .35); }
.consent-banner h2 { font-size: var(--fs-md); font-weight: 600; margin: 0 0 6px; }
.consent-banner p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--slate); }
.consent-banner a, .consent-dialog a { color: var(--ink); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .button { min-width: 168px; }
.consent-actions .button:focus-visible, .consent-close:focus-visible, .consent-banner a:focus-visible, .consent-dialog a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.consent-actions .button[aria-pressed="true"]::before { content: ""; width: 7px; height: 12px; margin: -3px 2px 0 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
dialog.consent-dialog { width: min(520px, calc(100% - 24px)); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px -20px rgb(10 16 22 / .5); }
dialog.consent-dialog::backdrop { background: rgb(13 19 26 / .55); }
.consent-dialog-body { display: grid; gap: 14px; padding: 24px; }
.consent-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.consent-dialog h2 { font-size: var(--fs-lg); font-weight: 500; margin: 0; }
.consent-dialog p { margin: 0; font-size: var(--fs-sm); line-height: 1.65; color: var(--slate); }
.consent-dialog .consent-state { color: var(--ink); font-weight: 500; }
.consent-close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.consent-close .icon { width: 18px; height: 18px; }
@media (max-width: 760px) {
.consent-banner { padding: 0 8px 8px; }
.consent-inner { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
.consent-banner p { font-size: var(--fs-xs); line-height: 1.55; }
.consent-actions .button { flex: 1 1 140px; min-width: 0; }
}
@media print {
.consent-banner { display: none !important; }
}
