/* emplohouse.com — wygląd strony.
   Kierunek „hybryda”: struktura i treść ze specyfikacji (eh website final.docx), styl marki emplohouse
   (Manrope, fiolet #7239EA, ciemne pasy, prawdziwe zrzuty panelu). Pierwszy ekran spokojny, ruch niżej.
   Komponenty sekcji: .s-hero, .s-compare, .s-cards, .s-steps, .s-tabs, .s-faq, .s-cta, .s-table, .s-cols, .s-split. */

:root {
  --bg: #ffffff; --bg-alt: #f5f4fa; --card: #ffffff; --foot-base: #ecebf3;
  --fg: #0b0f19; --fg-2: #50536b; --fg-3: #85879f; --line: #e5e4ef;
  --accent: #7239ea; --accent-2: #5b21d6; --accent-text: #6a2fe0; --accent-soft: #f0eafe; --on-accent: #ffffff;
  --band: #0b0f19; --band-2: #151a2b; --band-3: #1f2438; --band-fg: #f5f5f7; --band-fg-2: #a3a6bd; --band-line: #2a2f45; --band-accent: #a98bff;
  --ok: #14853f; --ok-soft: #e3f5ea; --no: #9a9cb0; --warn: #a8650a; --warn-soft: #fdf1dc; --err: #c0263a;
  --bezel: #0b0f19; --screen: #f8f8fc;
  --shadow: 0 40px 90px -40px rgba(30, 16, 80, .35), 0 10px 30px -14px rgba(30, 16, 80, .16);
  --shadow-sm: 0 1px 2px rgba(20, 16, 60, .06), 0 8px 24px -12px rgba(20, 16, 60, .14);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-xl: 28px; --r-lg: 20px; --r: 14px;
  --wrap: 1200px; --nav-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07080d; --bg-alt: #0f111a; --card: #141724; --foot-base: #0a0b12;
    --fg: #f5f5f7; --fg-2: #a8abc2; --fg-3: #707490; --line: #252839;
    --accent: #7d4cf0; --accent-2: #6a3be6; --accent-text: #b39bff; --accent-soft: #221a40;
    --band: #0f111a; --band-2: #171a28; --band-3: #212538; --band-line: #2a2e43; --band-accent: #b39bff;
    --ok: #5fd68c; --ok-soft: #10301d; --no: #6f7390; --warn: #f2b552; --warn-soft: #382709; --err: #ff7a8a;
    --bezel: #1a1d29;
    --shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 10px 30px -14px rgba(0, 0, 0, .6);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07080d; --bg-alt: #0f111a; --card: #141724; --foot-base: #0a0b12;
  --fg: #f5f5f7; --fg-2: #a8abc2; --fg-3: #707490; --line: #252839;
  --accent: #7d4cf0; --accent-2: #6a3be6; --accent-text: #b39bff; --accent-soft: #221a40;
  --band: #0f111a; --band-2: #171a28; --band-3: #212538; --band-line: #2a2e43; --band-accent: #b39bff;
  --ok: #5fd68c; --ok-soft: #10301d; --no: #6f7390; --warn: #f2b552; --warn-soft: #382709; --err: #ff7a8a;
  --bezel: #1a1d29;
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 10px 30px -14px rgba(0, 0, 0, .6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.wrap--narrow { max-width: 860px; }
.sec { padding-block: clamp(72px, 9vw, 128px); }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.alt { background: var(--bg-alt); }
.band { background: var(--band); color: var(--band-fg); }

.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); }
.band .eyebrow { color: var(--band-accent); }
.h-hero { font-size: clamp(2.3rem, 3.9vw, 3.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.h-sec { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; text-wrap: balance; }
.h-card { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.22; text-wrap: balance; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.band .lead { color: var(--band-fg-2); }
.muted { color: var(--fg-2); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.shead { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead .h-sec + .lead, .shead .eyebrow + .h-sec { margin-top: 14px; }
.shead .lead { margin-top: 18px; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 16px; line-height: 1.1; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .2s; white-space: nowrap; box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn:hover { background: var(--accent-2); }
.btn:active { transform: scale(.98); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--light { background: #fff; color: #0b0f19; box-shadow: none; }
.btn--light:hover { background: #f0eafe; }
.link { color: var(--accent-text); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link i { transition: transform .15s; font-size: .85em; }
.link:hover i { transform: translateX(3px); }
.band .link { color: var(--band-accent); }
.ilink { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cta-row { display: flex; gap: 14px 22px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.micro { font-size: 14px; color: var(--fg-3); margin-top: 14px; }
.band .micro { color: var(--band-fg-2); }
.sec-cta { margin-top: clamp(36px, 4vw, 52px); display: flex; gap: 14px 22px; align-items: center; flex-wrap: wrap; }
.sec-cta--center { justify-content: center; }
.sec-cta__intro { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.band .sec-cta__intro { color: var(--band-fg); }

.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.5' fill='none' stroke='%236a2fe0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.band .checks li::before, .s-cta .checks li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.5' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line); }
.badges li i { color: var(--accent-text); }

/* znaczniki [TODO] (widoczne tylko lokalnie) */
mark.todo { background: var(--warn-soft); color: var(--warn); font: 600 .78em/1.4 var(--mono); padding: 2px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 35%, transparent); white-space: normal; }
.todo-box { display: grid; place-items: center; text-align: center; gap: 10px; min-height: 240px; padding: 28px; border-radius: var(--r-lg); border: 2px dashed color-mix(in srgb, var(--warn) 45%, transparent); background: var(--warn-soft); color: var(--warn); font: 600 13px/1.5 var(--mono); }
.todo-box small { display: block; color: var(--fg-3); font-family: var(--font); font-size: 12px; }

/* ---------- nagłówek ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 22px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; letter-spacing: -.03em; flex: none; }
.logo__mark { width: auto; height: 32px; flex: none; }
.logo .h { color: var(--accent-text); }
.menu { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.menu > li { position: static; }
.menu__top { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--fg-2); background: none; border: 0; cursor: pointer; transition: color .15s, background .15s; }
.menu__top:hover, .menu__top[aria-expanded="true"] { color: var(--fg); background: var(--bg-alt); }
/* bieżąca sekcja: jasnofioletowe tło, fioletowy tekst (wariant D) */
.menu__top.is-active, .menu__top.is-active:hover { color: var(--accent-text); background: var(--accent-soft); }
.menu__top i { font-size: 11px; transition: transform .2s; }
.menu__top[aria-expanded="true"] i { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-block: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(20, 16, 60, .25); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.mega__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-block: 28px 32px; }
.mega__in--plain { grid-template-columns: minmax(0, 1fr); }
.mega__cols { display: grid; gap: 28px; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.mega__col h3 { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 10px 12px; }
.mega__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 12px; }
.mega__list a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 10px 12px; border-radius: 14px; transition: background .15s; }
.mega__list a:hover { background: var(--bg-alt); }
.mega__list i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: 15px; }
.mega__list b { display: block; font-size: 15px; font-weight: 700; color: var(--fg); }
.mega__list b::first-letter { text-transform: uppercase; }
.mega__list small { display: block; font-size: 13px; color: var(--fg-2); line-height: 1.4; margin-top: 2px; }
.menu > li.menu__drop { position: relative; }
/* Zasoby, O nas: wąska pionowa lista pod przyciskiem (Platforma i Rozwiązania zostają szerokim mega menu) */
.mega--compact { left: 0; right: auto; top: calc(100% + 10px); width: 380px; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 60px -24px rgba(20, 16, 60, .3); }
.mega--compact .mega__in { display: block; padding: 8px; }
.mega--compact .mega__cols { display: block; }
.mega--compact .mega__list { display: flex; flex-direction: column; gap: 2px; }
.mega--compact .mega__list a { padding: 12px 14px; }
.menu > li:last-child .mega--compact { left: auto; right: 0; }
.mega__banner { border-radius: var(--r-lg); padding: 24px; background: linear-gradient(150deg, var(--accent) 0%, #4b1fb8 100%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.mega__banner b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.nav__end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav__login { font-size: 15px; font-weight: 600; color: var(--fg-2); }
.nav__login:hover { color: var(--fg); }
.theme-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--fg-2); cursor: pointer; font-size: 16px; display: inline-grid; place-items: center; transition: background .15s, color .15s; }
.theme-btn:hover { background: var(--bg-alt); color: var(--fg); }
.theme-btn i { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.theme-btn:active i { transform: rotate(-40deg) scale(.85); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--bg-alt); cursor: pointer; font-size: 17px; }
.drawer { display: none; }
@media (max-width: 1080px) {
  .menu, .nav__login { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .drawer { display: block; position: fixed; inset: var(--nav-h) 0 0; background: var(--bg); overflow-y: auto; padding: 12px 20px 40px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s; z-index: 49; }
  .drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s cubic-bezier(.2, .7, .2, 1); }
  .drawer details { border-bottom: 1px solid var(--line); }
  .drawer summary, .drawer > a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 18px; font-weight: 700; list-style: none; cursor: pointer; }
  .drawer > a { border-bottom: 1px solid var(--line); }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer summary i { font-size: 13px; transition: transform .2s; }
  .drawer details[open] summary i { transform: rotate(180deg); }
  .drawer details a { display: block; padding: 10px 4px; }
  .drawer details a b { display: block; font-weight: 700; }
  .drawer details a b::first-letter { text-transform: uppercase; }
  .drawer details a small { color: var(--fg-2); font-size: 14px; }
  /* bieżąca strona w menu mobilnym — jak w nagłówku (jasnofioletowe tło, fioletowy tekst) */
  .drawer summary.is-active { color: var(--accent-text); }
  .drawer > a.is-active, .drawer details a.is-active { margin-inline: -12px; padding-inline: 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
  .drawer > a.is-active { border-bottom-color: transparent; }
  .drawer details a.is-active small { color: color-mix(in srgb, var(--accent-text) 70%, var(--fg-2)); }
  .drawer details h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); margin: 8px 4px 2px; }
  .drawer .btn, .drawer > a.btn { width: 100%; margin-top: 24px; justify-content: center; padding: 16px 24px; border-bottom: 0; color: var(--on-accent); }
  html.menu-open { overflow: hidden; }
}
/* przełącznik języka: przycisk z kodem bieżącego języka + lista rozwijana (na węższych ekranach w menu mobilnym) */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--fg-2); font: 700 13px var(--font); letter-spacing: .04em; cursor: pointer; transition: background .15s, color .15s; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: var(--bg-alt); color: var(--fg); }
.lang__btn .fa-globe { font-size: 15px; }
.lang__chev { font-size: 10px; transition: transform .2s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--card); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(20, 16, 60, .28); }
.lang__menu[hidden] { display: none; }
.lang__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--fg); }
a.lang__item:hover, a.lang__item:focus-visible { background: var(--bg-alt); }
.lang__item.is-active { background: var(--accent-soft); color: var(--accent-text); }
.lang__item .fa-check { font-size: 13px; }
.drawer__lang { display: none; }
@media (max-width: 1080px) {
  .nav__end .lang { display: none; }
  .drawer details.drawer__lang { display: block; }
  .drawer__lang summary > span { display: inline-flex; align-items: center; gap: 12px; }
  .drawer details.drawer__lang summary .fa-globe { font-size: 17px; color: var(--fg-2); transform: none; }
  .drawer .drawer__lang > a, .drawer .drawer__lang > span { display: block; padding: 12px 4px; font-size: 17px; font-weight: 600; }
  .drawer .drawer__lang > span.is-active { margin-inline: -12px; padding-inline: 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
  .drawer__lang > :last-child { margin-bottom: 12px; }
}
/* telefon: przełącznik motywu przenosi się do menu, żeby logo + „Umów demo” + menu zmieściły się w jednym rzędzie */
.drawer__theme { display: none; }
@media (max-width: 1080px) {
  .drawer__theme { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; font: 700 18px var(--font); color: var(--fg); cursor: pointer; text-align: left; }
  .drawer__theme::after { content: attr(aria-label); }
}
@media (max-width: 560px) { .nav__end .theme-btn { display: none; } .nav__in { gap: 12px; } .nav__end { gap: 8px; } }
@media (max-width: 420px) { .nav__end .btn { padding-inline: 13px; } .logo { font-size: 19px; } .logo__mark { height: 28px; } }
@media (max-width: 350px) { .logo > span { display: none; } }

/* okruszki */
.crumbs { font-size: 14px; color: var(--fg-3); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--fg-3); }
.crumbs a { color: var(--fg-2); font-weight: 600; }
.crumbs a:hover { color: var(--accent-text); }

/* ---------- HERO ---------- */
.s-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.s-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); pointer-events: none; }
.s-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.s-hero--solo .s-hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.s-hero .eyebrow { margin-bottom: 16px; }
.s-hero .lead { margin-top: 20px; max-width: 56ch; }
.s-hero .checks { margin-top: 26px; }
.s-hero .checks li { font-size: 16px; }
.shot { position: relative; perspective: 1600px; }
.shot__frame { position: relative; background: var(--bezel); border-radius: 18px; padding: 1.4%; box-shadow: var(--shadow); transform-origin: 50% 60%; will-change: transform; }
.shot__frame img { width: 100%; border-radius: 9px; background: var(--screen); }
.shot--flat .shot__frame { background: transparent; padding: 0; box-shadow: none; }
.shot--flat .shot__frame img { border-radius: 16px; box-shadow: var(--shadow); }
@media (max-width: 920px) { .s-hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- porównanie: bez / z emplohouse ---------- */
.s-compare__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cmp-col { border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-col h3 { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.cmp-col li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--fg-2); font-weight: 500; }
.cmp-col li i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; margin-top: 1px; background: var(--bg-alt); color: var(--no); }
.cmp-col--with { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 40%, transparent); }
.cmp-col--with h3 { color: var(--accent-text); }
.cmp-col--with li { color: var(--fg); font-weight: 600; border-color: color-mix(in srgb, var(--accent) 18%, transparent); }
.cmp-col--with li i { background: var(--accent); color: #fff; }
@media (max-width: 820px) { .s-compare__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- karty ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.cards--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: translate .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.alt .card { box-shadow: var(--shadow-sm); }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: 20px; margin-bottom: 6px; }
.card p { color: var(--fg-2); font-size: 15.5px; }
.card .link { margin-top: auto; padding-top: 6px; font-size: 15px; }
.card--link:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent), var(--shadow-sm); }
.card--link .link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rows { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; margin: 6px 0 0; font-size: 15px; }
.rows dt { font-weight: 800; color: var(--fg); }
.rows dd { margin: 0; color: var(--fg-2); }
.tabcards { display: grid; gap: 14px; margin-top: 22px; }
.tabcard { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.tabcard > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.tabcard b { font-weight: 800; }
.tabcard p { color: var(--fg-2); font-size: 15px; margin-top: 2px; }
.card__examples { font-size: 14px; color: var(--fg-3); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.card ul.checks li { font-size: 15px; }
.band .card { background: var(--band-2); box-shadow: inset 0 0 0 1px var(--band-line); }
.band .card p { color: var(--band-fg-2); }
.band .card__icon { background: color-mix(in srgb, var(--band-accent) 16%, transparent); color: var(--band-accent); }
.band .card--link:hover { box-shadow: inset 0 0 0 1.5px var(--band-accent); }
.links-row { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: clamp(28px, 3vw, 40px); }

/* ---------- kroki ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; counter-reset: st; }
.steps::before { content: ""; position: absolute; left: 28px; right: calc(100% / var(--n, 4) - 28px); top: 27px; height: 2px; background: var(--line); }
.steps__line { position: absolute; left: 28px; right: calc(100% / var(--n, 4) - 28px); top: 27px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(1); }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.motion .steps .step { will-change: opacity; }
.step__n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent-text); font: 800 20px var(--font); margin-bottom: 8px; }
.alt .step__n { background: var(--bg-alt); }
/* oś kroków z ruchem: kółka nieaktywne (pełne tło, przygaszone kolory) i zapalone */
.motion .step__n { transition: background-color .35s, color .35s, box-shadow .35s; }
.step__n--lit { background: var(--accent); color: #fff; }
.alt .step__n--lit { background: var(--accent); }
.step__n--dim { color: color-mix(in srgb, var(--accent-text) 35%, var(--bg)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 25%, var(--bg)); }
.alt .step__n--dim { color: color-mix(in srgb, var(--accent-text) 35%, var(--bg-alt)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 25%, var(--bg-alt)); }
.step b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.step p { color: var(--fg-2); font-size: 16px; }
/* przypięta oś kroków: sekcja na cały ekran, treść na środku (pod przezroczystym nagłówkiem) */
.is-pinned-steps { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--nav-h) + 24px) 32px; background: var(--bg); }
.alt.is-pinned-steps { background: var(--bg-alt); }
.is-pinned-steps > .wrap { width: 100%; }
.step--plain p { color: var(--fg); font-weight: 600; font-size: 17px; line-height: 1.45; }
.note { margin-top: clamp(32px, 4vw, 48px); padding: 18px 22px; border-radius: var(--r); background: var(--accent-soft); color: var(--fg); font-weight: 600; display: flex; gap: 14px; align-items: flex-start; }
.note i { color: var(--accent-text); margin-top: 4px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps::before, .steps__line { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; transform-origin: top; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px; }
  .step__n { grid-row: span 2; margin: 0; }
}

/* ---------- dzień pracy z zegarem („Jak to działa” na stronie głównej) ---------- */
.sec-day { padding-block: clamp(72px, 9vw, 120px); }
.day-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.h-day { font-size: clamp(2rem, 3.6vw, 3rem); }
.clock-row { display: flex; align-items: center; gap: 22px; margin: 24px 0 22px; }
.clock { width: 104px; height: 104px; flex: none; }
.clock .face { fill: var(--card); stroke: var(--line); stroke-width: 1; }
.clock .tick { stroke: var(--fg-3); stroke-width: 2; stroke-linecap: round; }
.clock .tick.big { stroke: var(--fg); stroke-width: 3; }
.clock .hh, .clock .mh { transform-box: view-box; transform-origin: 60px 60px; stroke-linecap: round; }
.clock .hh { stroke: var(--fg); stroke-width: 5; }
.clock .mh { stroke: var(--accent-text); stroke-width: 3; }
.clock .pin { fill: var(--accent-text); }
.clock-t { font-size: clamp(2.4rem, 4.2vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.day-steps { display: flex; flex-direction: column; gap: 16px; }
.day-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; transition: opacity .4s; }
.day-step time { font-size: 14px; font-weight: 700; color: var(--accent-text); padding-top: 3px; }
.day-step p { font-size: 16.5px; font-weight: 600; line-height: 1.45; max-width: 46ch; }
.day-step__img { margin-top: 14px; border-radius: 14px; box-shadow: var(--shadow); width: 100%; max-width: 440px; background: var(--screen); }
.day-copy .note { margin-top: 26px; }
.day-screen { display: none; position: relative; aspect-ratio: 1 / .92; border-radius: var(--r-xl); background: var(--bg-alt); overflow: hidden; perspective: 1200px; }
.alt .day-screen { background: var(--card); }
.day-screen::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); }
.day-screen img { position: absolute; inset: 0; margin: auto; max-width: 84%; max-height: 84%; width: auto; height: auto; object-fit: contain; border-radius: 16px; box-shadow: var(--shadow); background: var(--screen); opacity: 0; transform: translateY(40px) scale(.92) rotateX(10deg); transition: opacity .6s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.day-screen img.on { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .motion .day-screen { display: block; }
  .motion .day-step__img { display: none; }
  .motion .day-step { opacity: .32; }
  .motion .day-step.active { opacity: 1; }
  .motion .day-pin { min-height: 100vh; display: flex; align-items: center; padding-block: calc(var(--nav-h) + 24px) 32px; }
  .motion .day-pin > .wrap { width: 100%; }
  .motion .sec-day { padding-block: 0; }
}
@media (max-width: 899px) { .day-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- e-teczka A–E ---------- */
.folder { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; margin-top: clamp(44px, 6vw, 72px); align-items: start; }
.folder__tabs { display: flex; flex-direction: column; gap: 8px; }
.folder__tab { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; background: transparent; border: 1px solid var(--band-line); color: var(--band-fg-2); text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.folder__tab:hover { background: var(--band-2); }
.folder__tab .L { font-weight: 800; font-size: 24px; color: var(--band-fg); width: 50px; height: 50px; border-radius: 13px; background: var(--band-2); display: grid; place-items: center; transition: background .2s, color .2s, transform .3s; }
.folder__tab b { display: block; color: var(--band-fg); font-size: 15px; font-weight: 700; line-height: 1.25; }
.folder__tab small { font-size: 13px; font-weight: 500; }
.folder__tab[aria-selected="true"] { background: var(--band-2); border-color: var(--band-accent); }
.folder__tab[aria-selected="true"] .L { background: var(--band-accent); color: var(--band); transform: rotate(-8deg); }
.folder__stage { perspective: 1400px; min-width: 0; }
.folder__panel { background: var(--band-2); border-radius: var(--r-xl); border: 1px solid var(--band-line); padding: clamp(22px, 3vw, 34px); min-width: 0; transform-origin: 0 50%; }
.xp-top { display: flex; align-items: flex-start; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--band-line); }
.xp-L { font-size: clamp(3.5rem, 6vw, 4.75rem); font-weight: 800; line-height: .85; letter-spacing: -.05em; color: var(--band-accent); }
.xp-t { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.xp-c { font-size: 12.5px; font-weight: 600; color: var(--band-fg-2); margin-top: 6px; }
.xdoc { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--band-line); }
.xdoc > div { min-width: 0; }
.fic { width: 34px; height: 40px; border-radius: 5px 12px 5px 5px; font-size: 8.5px; font-weight: 700; display: grid; place-items: end center; padding-bottom: 6px; letter-spacing: .04em; background: var(--band-3); box-shadow: inset 0 0 0 1px var(--band-line); color: var(--band-accent); }
.doc-name { font-weight: 700; font-size: 14.5px; }
.doc-meta { font-size: 11.5px; font-weight: 500; color: var(--band-fg-2); }
.xdoc.tpl { opacity: .55; }
.xdoc.tpl .fic { box-shadow: inset 0 0 0 1px var(--band-fg-2); background: transparent; }
.bpill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.bpill.ok { background: color-mix(in srgb, #5fd68c 16%, transparent); color: #7fe0a4; }
.bpill.warn { background: color-mix(in srgb, #f2b552 18%, transparent); color: #f5c472; }
.bpill.mute { background: var(--band-3); color: var(--band-fg-2); }
.bpill.sig { background: color-mix(in srgb, var(--band-accent) 22%, transparent); color: var(--band-accent); }
.xp-empty { padding: 18px 0 4px; color: var(--band-fg-2); font-size: 15px; font-weight: 500; }
@media (max-width: 860px) {
  .folder { grid-template-columns: minmax(0, 1fr); }
  .folder__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .folder__tabs::-webkit-scrollbar { display: none; }
  .folder__tab { grid-template-columns: auto; padding: 6px; border-radius: 16px; flex: none; }
  .folder__tab > span:last-child { display: none; }
}
@media (max-width: 520px) { .xdoc .bpill { display: none; } .xdoc { grid-template-columns: 34px minmax(0, 1fr); } }

/* ---------- zakładki (na telefonie: akordeon) ---------- */
.tabs__list { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--bg-alt); width: max-content; max-width: 100%; margin: 0 auto clamp(28px, 4vw, 44px); overflow-x: auto; scrollbar-width: none; }
.alt .tabs__list { background: var(--card); box-shadow: var(--shadow-sm); }
.tabs__tab { border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--fg-2); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tabs__tab[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.tabp { border-radius: var(--r-xl); }
.tabp > summary { display: none; }
.tabp__body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.tabp__body .lead { color: var(--fg); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; }
.tabp__body .checks { margin-top: 22px; }
.tabp__media { perspective: 1400px; }
.tabp__media img { border-radius: 16px; box-shadow: var(--shadow); background: var(--screen); max-height: 520px; width: auto; margin-inline: auto; }
@media (min-width: 761px) {
  .js .tabp:not(.is-active) { display: none; }
}
@media (max-width: 760px) {
  .tabs__list { display: none; }
  .tabp { border-bottom: 1px solid var(--line); border-radius: 0; }
  .tabp > summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; font-size: 18px; font-weight: 800; list-style: none; cursor: pointer; }
  .tabp > summary::-webkit-details-marker { display: none; }
  .tabp > summary i { font-size: 13px; transition: transform .2s; }
  .tabp[open] > summary i { transform: rotate(180deg); }
  .tabp__body { grid-template-columns: minmax(0, 1fr); padding-bottom: 22px; }
}
.tabs__more { text-align: center; margin-top: clamp(28px, 3vw, 40px); color: var(--fg-2); }

/* ---------- tabela porównawcza (3 podejścia) ---------- */
.approach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.approach__col { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.approach__col .tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--fg-3); }
.approach__col p { color: var(--fg-2); font-size: 15.5px; }
.approach__col--featured { background: var(--band); color: var(--band-fg); box-shadow: 0 0 0 2px var(--accent), var(--shadow); translate: 0 -8px; }
.approach__col--featured p { color: var(--band-fg-2); }
.approach__col--featured .tag { background: var(--accent); color: #fff; }
@media (max-width: 860px) { .approach { grid-template-columns: minmax(0, 1fr); } .approach__col--featured { translate: none; } }

/* ---------- podział: tekst + grafika ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .lead { margin-top: 18px; }
.split .checks { margin-top: 24px; }
.split--solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cennik ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin-inline: auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 3vw, 38px); border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.plan--featured { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.plan__tag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan__for { color: var(--fg-2); font-size: 15px; }
.plan__price { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; margin-top: 10px; }
.plan__note { font-size: 14px; color: var(--fg-3); }
.plan .checks { margin: 18px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan .checks li { font-size: 15.5px; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.calc { background: var(--card); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.calc__label { font-weight: 800; }
.calc__inputs { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 16px; align-items: center; }
.calc__inputs input[type=range] { width: 100%; accent-color: var(--accent); }
.calc__inputs input[type=number] { font: 800 20px var(--font); text-align: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--fg); width: 100%; }
.calc__out { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r); background: var(--accent-soft); }
.calc__out span { font-weight: 700; color: var(--fg-2); }
.calc__out b { font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.calc__out small { color: var(--fg-2); font-size: 13.5px; }
.calc__out .btn { margin-top: 12px; align-self: flex-start; }
.calc__ex { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--fg-3); }
.ftable { overflow-x: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.ftable table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.ftable th, .ftable td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ftable thead th { position: sticky; top: 0; background: var(--card); font-size: 14px; color: var(--fg-2); }
.ftable tbody th { font-weight: 600; width: 52%; }
.ftable td { color: var(--fg-2); }
.ftable td i { color: var(--accent-text); margin-right: 6px; }
.ftable__cat th { background: var(--bg-alt); font-weight: 800; color: var(--fg); padding-block: 12px; }
.ftable tr:last-child th, .ftable tr:last-child td { border-bottom: 0; }

.company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.company div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.company dt { font-size: 13px; font-weight: 700; color: var(--fg-3); }
.company dd { margin: 4px 0 0; font-weight: 700; }
@media (max-width: 720px) { .company { grid-template-columns: minmax(0, 1fr); } }

/* ---------- program partnerski ---------- */
.plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.plans--3 .plan { text-align: center; align-items: center; }
.plans--3 .plan--featured { translate: 0 -10px; }
@media (max-width: 860px) { .plans--3 { grid-template-columns: minmax(0, 1fr); } .plans--3 .plan--featured { translate: none; } }
.tiercard { position: relative; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); background: radial-gradient(120% 140% at 0% 0%, #8f5cff 0%, var(--accent) 40%, #3e17a8 100%); color: #fff; box-shadow: var(--shadow); text-align: center; max-width: 440px; margin-inline: auto; }
.tiercard__k { display: block; font-weight: 700; font-size: 18px; opacity: .85; }
.tiercard__big { display: block; font-size: clamp(5rem, 11vw, 8rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; }
.tiercard ul { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .25); }
.tiercard li { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-weight: 600; }
.tiercard li b { font-weight: 800; }
.pcalc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 4vw, 48px); align-items: center; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); background: var(--card); box-shadow: var(--shadow); }
.pcalc__in { display: flex; flex-direction: column; gap: 14px; }
.pcalc__in .calc__inputs { margin-bottom: 10px; }
.pcalc__out { border-radius: var(--r-lg); padding: 24px; background: var(--accent-soft); }
.pcalc__tier { display: inline-block; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; }
.pcalc__out dl { margin: 16px 0 0; display: grid; gap: 12px; }
.pcalc__out dt { font-size: 13.5px; font-weight: 700; color: var(--fg-2); }
.pcalc__out dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pcalc__main dd { font-size: clamp(2rem, 3.6vw, 2.75rem); letter-spacing: -.04em; color: var(--accent-text); }
.pcalc .micro { margin-top: 14px; }
@media (max-width: 860px) { .pcalc { grid-template-columns: minmax(0, 1fr); } }
.conds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; margin: 0; }
.conds > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.conds dt { font-weight: 800; display: flex; gap: 10px; align-items: center; }
.conds dt i { color: var(--accent-text); width: 20px; }
.conds dd { margin: 6px 0 0 30px; color: var(--fg-2); font-size: 15.5px; }
@media (max-width: 760px) { .conds { grid-template-columns: minmax(0, 1fr); } }
.docs__h { margin: 28px 0 12px; }
.docs { border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.alt .docs { box-shadow: var(--shadow-sm); }
.docs li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.docs li:last-child { border-bottom: 0; }
.docs li > i { color: var(--accent-text); font-size: 18px; }
.docs a { font-weight: 700; }
.docs a::after { content: ""; position: absolute; inset: 0; }
.docs li:hover { background: var(--bg-alt); }
.docs__go { color: var(--fg-3); }

/* ---------- zasoby: newsletter, puste listy ---------- */
.nlform { display: flex; flex-direction: column; gap: 10px; }
/* pole e-mail z przyciskiem w środku (jedna pigułka, jak w stopce) */
.nlform__row { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.nlform__row:focus-within { box-shadow: inset 0 0 0 2px var(--accent-text); }
.nlform__row:has(input.is-error) { box-shadow: inset 0 0 0 2px var(--err); }
.nlform__row input { flex: 1; min-width: 0; font: 600 16px var(--font); padding: 10px 6px 10px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--fg); }
.nlform__row input:focus { outline: none; }
.nlform__row .btn { flex: none; box-shadow: none; }
.nlform__name { flex: 1; min-width: 0; font: 600 16px var(--font); padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); }
.nlform__name:focus { outline: 2px solid var(--accent-text); border-color: transparent; }
.nlform__legal { font-size: 12.5px; color: var(--fg-3); }
.nlform__legal a { text-decoration: underline; }
@media (max-width: 400px) { .nlform__row .btn { padding-inline: 16px; } }
.empty--big { padding: clamp(36px, 5vw, 64px) 24px; }
.empty--big p { max-width: 52ch; margin-inline: auto; }
.notify { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 24px 48px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--bg-alt); }
.notify .card__icon { margin-bottom: 14px; }
@media (max-width: 860px) { .notify { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(1.0625rem, 1.7vw, 1.2rem); font-weight: 700; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-alt); position: relative; }
.alt .faq summary i { background: var(--card); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--fg); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { padding: 0 48px 24px 0; color: var(--fg-2); font-size: 16.5px; max-width: 70ch; }

/* ---------- końcowe CTA z formularzem ---------- */
.s-cta { background: radial-gradient(120% 140% at 0% 0%, #8f5cff 0%, var(--accent) 38%, #3e17a8 100%); color: #fff; }
.s-cta .h-sec { color: #fff; }
.s-cta .lead { color: rgba(255, 255, 255, .86); margin-top: 18px; }
.s-cta .checks { margin-top: 26px; }
.s-cta .checks li { color: #fff; }
.s-cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.s-cta .micro { color: rgba(255, 255, 255, .7); }
@media (max-width: 920px) { .s-cta__grid { grid-template-columns: minmax(0, 1fr); } }

/* formularz */
.form { background: var(--card); color: var(--fg); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 40px 80px -40px rgba(10, 4, 40, .55); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--fg-2); }
.field > span em { font-style: normal; font-weight: 500; color: var(--fg-3); }
.field input, .field select, .field textarea { font: 600 16px var(--font); color: var(--fg); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2385879f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-text); outline-offset: 0; border-color: transparent; }
.field.has-error input, .field.has-error select { border-color: var(--err); }
.field__error { font-size: 13px; color: var(--err); font-weight: 600; }
.check { display: flex; gap: 10px; font-size: 13px; color: var(--fg-2); line-height: 1.45; cursor: pointer; }
.check input { margin-top: 2px; accent-color: var(--accent); flex: none; width: 17px; height: 17px; }
.check.has-error span { color: var(--err); }
.form .btn { margin-top: 4px; width: 100%; }
.form small { font-size: 13px; color: var(--fg-3); text-align: center; }
.form small a { text-decoration: underline; }
.form__alert { background: var(--warn-soft); color: var(--warn); padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.form--sent { text-align: center; align-items: center; padding-block: 44px; }
.form__check { font-size: 40px; color: var(--ok); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }

/* baner CTA (blog, podstrony) */
.cta-band { border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); background: var(--band); color: var(--band-fg); display: flex; gap: 24px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; background: radial-gradient(closest-side, color-mix(in srgb, var(--band-accent) 30%, transparent), transparent); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; max-width: 26ch; }
.cta-band p { color: var(--band-fg-2); margin-top: 8px; max-width: 52ch; }

/* ---------- treści ogólne (sekcje bez dedykowanego komponentu) ---------- */
.prose { font-size: 17.5px; line-height: 1.7; color: var(--fg); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; margin-top: 1.6em; }
.prose h4 { font-size: 1.05rem; font-weight: 800; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent-text); }
.prose a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; color: var(--fg-2); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose strong { font-weight: 800; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--bg-alt); padding: 1px 5px; border-radius: 5px; }
.generic__list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.generic dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 10px 24px; margin-top: 24px; }
.generic dt { font-weight: 800; }
.generic dd { margin: 0; color: var(--fg-2); }
@media (max-width: 640px) { .generic dl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- blog ---------- */
.b-hero { padding-block: clamp(36px, 5vw, 60px) clamp(24px, 3vw, 36px); }
.b-hero .lead { margin-top: 16px; max-width: 60ch; }
.b-search { display: flex; gap: 8px; margin-top: 26px; max-width: 560px; }
.b-search input { flex: 1; min-width: 0; font: 600 16px var(--font); padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-alt); }
.b-search input:focus { outline: 2px solid var(--accent-text); border-color: transparent; }
.chips { position: sticky; top: var(--nav-h); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.chips__in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.chips__in::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--bg-alt); color: var(--fg-2); transition: background .15s, color .15s; }
.chip small { font-weight: 600; color: var(--fg-3); }
.chip:hover { color: var(--fg); }
.chip.is-active { background: var(--fg); color: var(--bg); }
.chip.is-active small { color: inherit; opacity: .6; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.post { position: relative; display: flex; flex-direction: column; gap: 12px; }
.post__cover { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--cover, linear-gradient(135deg, #7239ea, #3e17a8)); transition: translate .3s cubic-bezier(.2, .7, .2, 1), scale .3s cubic-bezier(.2, .7, .2, 1); }
.post__cover::after { content: ""; position: absolute; right: -14%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .10); }
.post__cover span { font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; opacity: .85; position: relative; z-index: 1; }
.post__cover b { position: relative; z-index: 1; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post:hover .post__cover { translate: 0 -4px; scale: 1.01; }
.post__cat { font-size: 13px; font-weight: 800; color: var(--accent-text); }
.post h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { color: var(--fg-2); font-size: 15px; }
.post__meta { font-size: 13px; color: var(--fg-3); display: flex; gap: 6px 12px; flex-wrap: wrap; margin-top: auto; }
.post--featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.post--featured .post__cover { aspect-ratio: 16 / 10; padding: 28px 32px; }
.post--featured .post__cover b { font-size: clamp(1.5rem, 2.8vw, 2.2rem); -webkit-line-clamp: 4; }
.post--featured h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); -webkit-line-clamp: 3; }
.post--featured p { font-size: 16.5px; }
@media (max-width: 820px) { .post--featured { grid-template-columns: minmax(0, 1fr); } }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: clamp(40px, 5vw, 60px); flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; display: inline-grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--bg-alt); color: var(--fg-2); }
.pager a:hover { color: var(--fg); }
.pager .is-current { background: var(--fg); color: var(--bg); }
.pager .is-off { opacity: .4; }
.empty { padding: 48px 24px; text-align: center; border-radius: var(--r-xl); background: var(--bg-alt); color: var(--fg-2); }

/* wpis */
.art-head { padding-block: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 36px); }
.art-head h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; max-width: 22ch; text-wrap: balance; margin-top: 12px; }
.art-head .lead { margin-top: 20px; max-width: 62ch; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.byline__av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #3e17a8); color: #fff; display: grid; place-items: center; font-weight: 800; }
.byline b { display: block; font-weight: 800; }
.byline span { font-size: 14px; color: var(--fg-3); }
.art { display: grid; grid-template-columns: minmax(0, 740px) minmax(0, 300px); gap: clamp(32px, 5vw, 72px); justify-content: space-between; align-items: start; }
.art__side { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.toc { border-radius: var(--r-lg); padding: 20px 22px; background: var(--bg-alt); font-size: 14.5px; }
.toc b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0 5px 12px; color: var(--fg-2); border-left: 2px solid var(--line); line-height: 1.35; }
.toc a.l3 { padding-left: 24px; font-size: 13.5px; }
.toc a:hover, .toc a.is-active { color: var(--accent-text); border-color: var(--accent); }
.toc-m { display: none; margin-bottom: 28px; }
.toc-m summary { cursor: pointer; font-weight: 800; padding: 14px 18px; border-radius: var(--r); background: var(--bg-alt); list-style: none; }
.toc-m .toc { margin-top: 8px; }
.side-cta { border-radius: var(--r-lg); padding: 24px; background: var(--band); color: var(--band-fg); display: flex; flex-direction: column; gap: 14px; }
.side-cta b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.side-cta .micro { margin: 0; }
.art-foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share > span { font-weight: 800; margin-right: 6px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); color: var(--fg-2); border: 0; cursor: pointer; font-size: 16px; transition: background .15s, color .15s; }
.share a:hover, .share button:hover { background: var(--accent-soft); color: var(--accent-text); }
.share button.is-done { color: var(--ok); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags a { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--fg-2); }
.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--bg-alt); }
.author .byline__av { width: 64px; height: 64px; font-size: 20px; }
.author p { color: var(--fg-2); font-size: 15px; margin-top: 4px; }
.preview-bar { background: var(--warn-soft); color: var(--warn); text-align: center; font-weight: 700; padding: 10px; font-size: 14px; }
@media (max-width: 1000px) {
  .art { grid-template-columns: minmax(0, 1fr); }
  .art__side { display: none; }
  .toc-m { display: block; }
}

/* strony prawne i UE */
.legal { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 110px); }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 28px; }
.eu-logos { display: flex; justify-content: center; padding: 18px; background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.eu-logos img { width: min(100%, 906px); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-block: 32px; }
.fact { padding: 22px 24px; border-radius: var(--r-lg); background: var(--bg-alt); }
.fact b { display: block; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fact span { font-size: 14px; color: var(--fg-2); font-weight: 600; }

/* ---------- stopka ---------- */
.foot { background: var(--bg-alt); color: var(--fg-2); font-size: 14.5px; }
/* dolny pas stopki: pełna szerokość, odrobinę ciemniejsze tło aż do dołu strony */
.foot__base { background: var(--foot-base); box-shadow: inset 0 1px 0 var(--line); padding-top: 28px; }
.foot__cols { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 44px 44px; }
.foot__cols h3 { font-size: 14px; color: var(--fg); font-weight: 800; margin-bottom: 12px; }
.foot__cols li { margin-bottom: 9px; }
.foot__cols a:hover { color: var(--fg); }
.foot__social { display: flex; gap: 8px; margin-top: 18px; }
.foot__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--card); font-size: 16px; }
.foot__social a:hover { color: var(--accent-text); }
.foot__eu { display: block; padding: 14px; background: #fff; border-radius: var(--r); }
.foot__eu img { margin-inline: auto; width: min(100%, 760px); }
.foot__legal { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-block: 22px 30px; font-size: 13px; color: var(--fg-3); }
.foot__legal nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot__legal a:hover { color: var(--fg); }
@media (max-width: 960px) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__about { grid-column: 1 / -1; } }

/* zgoda na cookies */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80; max-width: 760px; margin-inline: auto; background: var(--band); color: var(--band-fg); border-radius: var(--r-lg); padding: 18px 20px; display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s; }
.consent.is-open { opacity: 1; transform: none; }
.consent b { display: block; font-size: 15px; }
.consent p { font-size: 13.5px; color: var(--band-fg-2); margin-top: 4px; max-width: 52ch; }
.consent p a { text-decoration: underline; }
.consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent .btn--ghost { color: var(--band-fg); box-shadow: inset 0 0 0 1.5px var(--band-line); }
.consent .btn--ghost:hover { background: var(--band-2); }

/* ---------- ruch (tylko gdy JS i bez prefers-reduced-motion) ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================================
   Wersje pierwszego ekranu strony głównej do porównania: /home2, /home3, /home4
   (/home1 = obecny top). Przełącznik w lewym dolnym rogu.
   ===================================================================== */
.hv-switch { position: fixed; left: 16px; bottom: 56px; z-index: 60; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: var(--fg); color: var(--bg); box-shadow: var(--shadow); font-size: 13px; font-weight: 800; }
.hv-switch span { padding: 0 8px 0 10px; opacity: .65; }
.hv-switch a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.hv-switch a:hover { background: color-mix(in srgb, var(--bg) 18%, transparent); }
.hv-switch a[aria-current] { background: var(--accent); color: #fff; }

/* ---------- top 2: scena jak devtyped.com ---------- */
.v2-ribbon { background: var(--bg-alt); text-align: center; padding: 12px 20px; font-size: 14px; color: var(--fg-2); }
.v2-ribbon b { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; }
.v2-ribbon a { color: var(--accent-text); font-weight: 700; white-space: nowrap; }
.v2 { position: relative; background: #07080d; color: #f5f5f7; }
.v2__stage { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 20px clamp(40px, 5vw, 64px); }
.v2__glow { position: absolute; left: 50%; top: 62%; width: 1200px; height: 760px; margin: -380px 0 0 -600px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(114, 57, 234, .5), rgba(114, 57, 234, 0)); filter: blur(30px); }
.v2__title { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.v2__eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #b39bff; }
.v2__h1 { font-size: clamp(42px, 6.6vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; perspective: 800px; }
.v2__w { display: inline-block; }
.v2__grad { background: linear-gradient(95deg, #9d7bff 0%, #c9b6ff 55%, #ff9ad5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; margin-bottom: -.12em; }
.v2__lead { max-width: 640px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: #a8abc2; font-weight: 500; text-wrap: pretty; }
.v2__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn--glass:hover { background: rgba(255, 255, 255, .17); }
.motion .v2-in { opacity: 0; transform: translateY(60px) rotateX(-50deg); filter: blur(8px); transition: opacity .9s ease var(--d, 0ms), transform 1.1s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), filter 1s ease var(--d, 0ms); }
.motion .v2-in--soft { transform: translateY(20px); filter: none; }
.motion .v2.is-in .v2-in { opacity: 1; transform: none; filter: none; }
.v2__device { position: relative; z-index: 1; width: min(1100px, 100%); margin: clamp(40px, 6vw, 72px) auto 0; aspect-ratio: 16 / 10; padding: 10px; border-radius: 22px; background: #1a1d29; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -40px rgba(114, 57, 234, .55); transform-origin: 50% 20%; will-change: transform; }
.v2__screen { display: flex; height: 100%; border-radius: 13px; overflow: hidden; background: #f8f8fc; color: #0b0f19; }
.v2__rail { flex: none; width: 5.4%; min-width: 30px; display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.4vw, 18px); padding-top: clamp(8px, 1.2vw, 16px); background: #fff; border-right: 1px solid #ecebf3; color: #85879f; font-size: clamp(10px, 1.1vw, 15px); }
.v2__rail img { width: 58%; height: auto; margin-bottom: 4px; }
.v2__rail i { width: 2.2em; height: 2.2em; display: grid; place-items: center; border-radius: .6em; transition: background .3s, color .3s; }
.v2__rail i.is-on { background: #f0eafe; color: #6a2fe0; }
.v2__app { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v2__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 1.3% 2.2%; background: #fff; border-bottom: 1px solid #ecebf3; font-size: clamp(9px, 1.05vw, 15px); line-height: 1.3; }
.v2__bar b { display: block; font-weight: 700; }
.v2__bar small { color: #6a2fe0; font-size: .8em; }
.v2__acc { display: inline-flex; align-items: center; gap: .5em; padding: .3em .35em .3em .9em; border: 1px solid #e5e4ef; border-radius: 999px; font-weight: 600; font-size: .82em; white-space: nowrap; }
.v2__acc i { font-style: normal; font-size: .8em; font-weight: 800; padding: .25em .5em; border-radius: 999px; background: #f0eafe; color: #6a2fe0; }
.v2__views { position: relative; flex: 1; overflow: hidden; }
.v2__view { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; }
.v2__view.is-on { opacity: 1; }
.v2__view img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
/* zrzut „Nowy wniosek” ma własne menu i nagłówek — pokazujemy tylko treść */
.v2__view--crop img { width: 127.4%; max-width: none; height: auto; margin: -7.2% 0 0 -27.3%; object-fit: fill; }
.v2__tabs { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.v2__pill { position: relative; overflow: hidden; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; font: 700 14px var(--font); cursor: pointer; background: rgba(255, 255, 255, .08); color: #d2d2d7; transition: background .4s, color .4s; }
.v2__pill:hover { background: rgba(255, 255, 255, .14); }
.v2__pill[aria-pressed="true"] { background: #f5f5f7; color: #0b0f19; }
.v2__bar-p { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
/* scena przypięta (JS, szeroki ekran): sekcja 230% wysokości ekranu, scena stoi, przewijanie steruje tytułem i urządzeniem */
.v2.is-scene { height: 230vh; height: 230svh; }
.v2.is-scene .v2__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; }
.v2.is-scene .v2__title { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 4vh); padding: 0 20px; will-change: transform, opacity; }
.v2.is-scene .v2__device { position: absolute; left: 50%; top: 50%; z-index: 3; margin: 0; aspect-ratio: auto; } /* urządzenie nachodzi na odpływający tytuł */
.v2.is-scene .v2__tabs { position: absolute; z-index: 4; left: 0; right: 0; bottom: 24px; margin: 0; padding: 0 20px; }
.v2-trust { padding-block: 22px; border-bottom: 1px solid var(--line); }
.v2-trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; }
.v2-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--fg-2); }
.v2-trust i { color: var(--accent-text); }
@media (max-width: 560px) { .v2-ribbon { font-size: 13px; } .v2__device { padding: 5px; border-radius: 12px; } .v2__screen { border-radius: 8px; } .v2__pill { min-height: 36px; padding: 0 14px; font-size: 13px; } }

/* ---------- top 3: droga dokumentu ---------- */
.v3 { position: relative; overflow: hidden; padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px); background: radial-gradient(55% 70% at 82% 40%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%); }
.v3__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.v3__h1 { font-size: clamp(2.3rem, 4.2vw, 3.75rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.v3 .eyebrow { margin-bottom: 16px; }
.v3 .lead { margin-top: 20px; max-width: 54ch; }
.v3__scene { position: relative; height: 540px; }
.v3doc { position: absolute; left: 0; top: 0; width: min(370px, 58%); padding: 22px 24px; border-radius: 16px; background: #fff; color: #0b0f19; box-shadow: var(--shadow), 0 0 0 1px rgba(20, 16, 60, .06); rotate: -2deg; z-index: 1; }
.v3doc__head { display: flex; justify-content: space-between; align-items: center; }
.v3doc__pdf { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #fdecee; color: #c0263a; font-size: 12px; font-weight: 800; }
.v3doc__no { font-family: var(--mono); font-size: 12px; color: #85879f; }
.v3doc__title { display: block; margin-top: 14px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.v3doc__sub { display: block; font-size: 13px; color: #50536b; }
.v3doc__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; font-size: 13px; font-weight: 700; }
.v3doc__parties em { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #85879f; }
.v3doc__lines { margin: 14px 0 16px; }
.v3doc__lines i { display: block; height: 7px; margin-top: 8px; border-radius: 4px; background: #eeedf5; }
.v3doc__sign { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; border-top: 1px dashed #e5e4ef; }
.v3doc__slot { position: relative; height: 84px; display: flex; align-items: center; justify-content: center; padding-bottom: 14px; border-radius: 10px; background: #f8f7fc; }
.v3doc__who { position: absolute; left: 10px; bottom: 6px; font-size: 11px; font-weight: 700; color: #85879f; }
.v3doc__sig { width: 90%; height: auto; overflow: visible; }
.v3doc__sig path { fill: none; stroke: #2b2f8f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.v3seal { width: 66px; height: 66px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #7239ea; box-shadow: inset 0 0 0 2px #7239ea, inset 0 0 0 5px #f8f7fc, inset 0 0 0 6.5px #7239ea; rotate: -12deg; text-align: center; line-height: 1; }
.v3seal span { font-size: 8.5px; font-weight: 800; letter-spacing: .06em; }
.v3seal i { font-size: 17px; }
.v3seal small { font-size: 5.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; max-width: 46px; }
.v3log { position: absolute; right: 0; top: 13%; z-index: 2; width: min(290px, 47%); display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.v3log li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 10px; }
.v3log li > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--bg-alt); color: var(--fg-3); transition: background .3s, color .3s; }
.v3log li.is-done > i { background: var(--accent-soft); color: var(--accent-text); }
.v3log li:last-child.is-done > i { background: var(--ok-soft); color: var(--ok); }
.v3log b { display: block; font-size: 13.5px; line-height: 1.3; }
.v3log small { display: block; font-size: 12px; color: var(--fg-3); line-height: 1.3; }
.v3log time { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.v3folder { position: absolute; left: 6%; bottom: 0; z-index: 0; width: min(360px, 64%); }
.v3folder__tabs { display: flex; gap: 4px; padding-left: 14px; }
.v3folder__tabs span { width: 30px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--bg-alt); font-size: 12px; font-weight: 800; color: var(--fg-3); transition: background .3s, color .3s; }
.v3folder__tabs span.is-hot { background: var(--accent); border-color: var(--accent); color: #fff; }
.v3folder__body { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 0 14px 14px 14px; background: var(--card); box-shadow: var(--shadow-sm); }
.v3folder__body > i { font-size: 26px; color: var(--accent-text); }
.v3folder__body b { display: block; font-size: 15px; }
.v3folder__body small { display: block; font-size: 13px; color: var(--fg-3); }
.v3folder__plus { position: absolute; right: 16px; top: 50%; translate: 0 -50%; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 800; font-style: normal; opacity: 0; }
@media (max-width: 920px) { .v3__grid { grid-template-columns: minmax(0, 1fr); } .v3__scene { width: min(100%, 540px); margin-inline: auto; } }
@media (max-width: 560px) {
  /* telefon: dokument, dziennik i teczka jeden pod drugim */
  .v3__scene { height: auto; display: flex; flex-direction: column; gap: 16px; }
  .v3doc, .v3log, .v3folder { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .v3doc { width: 94%; padding: 18px; }
  .v3log { width: 88%; margin: -14px 0 0 auto; }
  .v3folder { width: 92%; }
}

/* ---------- top 4: kolaż kart ---------- */
.v4 { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100vh - var(--nav-h)), 880px); padding-top: clamp(48px, 7vw, 96px); }
.v4__bg { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--fg) 16%, transparent) 1px, transparent 0); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 42%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 62% at 50% 42%, #000 25%, transparent 75%); }
.v4__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(38% 42% at 50% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.v4__copy { position: relative; z-index: 2; order: 1; max-width: 700px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.v4__h1 { margin-top: 14px; font-size: clamp(2.5rem, 4.7vw, 4.25rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; text-wrap: balance; }
.v4__rot { margin-top: 22px; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -.02em; color: var(--fg-2); }
.v4__words { display: inline-block; position: relative; color: var(--accent-text); white-space: nowrap; }
.v4__words > span + span { display: none; }
.v4__words.is-live { height: 1.3em; line-height: 1.3em; overflow: hidden; vertical-align: bottom; }
.v4__words.is-live > span { display: block; position: absolute; left: 0; top: 0; }
.v4 .cta-row { justify-content: center; }
.v4 .micro { max-width: 46ch; }
.v4__cards { position: absolute; inset: 0 0 70px; z-index: 1; max-width: 1480px; margin-inline: auto; pointer-events: none; }
.v4c { position: absolute; margin: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(20, 16, 60, .06); }
.v4c img { width: 100%; height: auto; }
.v4c--1 { left: 3%; top: 9%; width: 19%; rotate: -6deg; }
.v4c--2 { left: 6%; top: 43%; width: 15%; rotate: 4deg; }
.v4c--3 { right: 4%; top: 8%; width: 16%; rotate: 6deg; }
.v4c--4 { right: 5%; top: 42%; width: 15%; rotate: -4deg; }
.v4chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 700; white-space: nowrap; }
.v4chip i { color: var(--accent-text); }
.v4chip--1 { left: 2%; top: 76%; }
.v4chip--1 i { color: var(--ok); }
.v4chip--2 { right: 3%; top: 77%; }
.v4chip--3 { left: 13%; top: 3%; }
.v4__strip { position: relative; z-index: 2; order: 3; margin-top: clamp(40px, 6vw, 80px); padding-block: 16px; overflow: hidden; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 75%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.v4__track { display: flex; gap: 44px; width: max-content; padding-right: 44px; }
.v4__track li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--fg-2); white-space: nowrap; }
.v4__track i { color: var(--accent-text); }
.motion .v4__track { animation: v4-marquee 70s linear infinite; }
.v4__strip:hover .v4__track { animation-play-state: paused; }
@keyframes v4-marquee { to { transform: translateX(-50%); } }
@media (max-width: 1100px) {
  .v4 { min-height: 0; }
  .v4__cards { position: relative; inset: auto; order: 2; display: flex; justify-content: center; align-items: flex-start; margin-top: 44px; padding-inline: 20px; }
  .v4c { position: relative; left: auto; right: auto; top: auto; width: 30%; max-width: 250px; margin-inline: -1.5%; }
  .v4c--2 { margin-top: 26px; }
  .v4c--3 { display: none; }
  .v4chip { display: none; }
}
@media (max-width: 600px) { .v4c--1 { display: none; } .v4c { width: 46%; } }
