/* ──────────────────────────────────────────────────────────────
   NAKŁAD - Press Room v2 (real-photography editorial agency)
   Aesthetic: warm bone paper + warm graphite ink + oxblood crimson + mustard tape
   Reference: Esquire/Pentagram editorial, Wes Anderson symmetry, Saul Bass
   palette diversity vs v1 (cool bone hue 220 + pink 355): TEMP FLIP cool→warm + accent hue 355→28 (327° diff)
   ────────────────────────────────────────────────────────────── */

:root {
    /* Paleta v2: peach-cream paper (hue 30) zamiast warm cream - temp shift od glina (hue 75), wciąż warm.
       Daje rozpoznawalny "skin-tone editorial" feel (Esquire/Magazine vibe). */
    --paper:        oklch(97% 0.012 60);
    --paper-2:      oklch(94% 0.018 50);
    --paper-3:      oklch(82% 0.038 25);
    --paper-kraft:  oklch(76% 0.045 22);

    --ink:          oklch(18% 0.022 25);
    --ink-2:        oklch(32% 0.028 28);
    --ink-mute:     oklch(52% 0.025 32);
    --ink-faint:    oklch(68% 0.020 35);

    --accent:         oklch(38% 0.18 28);
    --oxblood:        oklch(38% 0.18 28);
    --oxblood-bright: oklch(48% 0.20 28);
    --oxblood-edge:   oklch(38% 0.18 28 / 0.30);
    --oxblood-bleed:  oklch(38% 0.18 28 / 0.12);

    --mustard:        oklch(78% 0.13 88);
    --mustard-tape:   oklch(85% 0.14 92);

    --line:           oklch(72% 0.018 60);
    --line-strong:    oklch(50% 0.025 45);
    --line-ink:       oklch(20% 0.020 30);

    --display: 'Khand', 'Bebas Neue', system-ui, sans-serif;
    --body:    'Karla', 'Inter', system-ui, sans-serif;
    --hand:    'Caveat', 'Kalam', cursive;
    --mono:    'JetBrains Mono', ui-monospace, monospace;

    --sp-1:  4px;
    --sp-2:  8px;
    --sp-3:  12px;
    --sp-4:  16px;
    --sp-5:  24px;
    --sp-6:  32px;
    --sp-7:  48px;
    --sp-8:  64px;
    --sp-9:  96px;
    --sp-10: 128px;
    --sp-11: 192px;

    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-back:      cubic-bezier(0.34, 1.56, 0.64, 1);
    --container:      1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    background-image:
        linear-gradient(to right, oklch(78% 0.018 45 / 0.16) 1px, transparent 1px),
        linear-gradient(to bottom, oklch(78% 0.018 45 / 0.16) 1px, transparent 1px);
    background-size: 84px 84px;
    background-position: -1px -1px;
    background-attachment: fixed, fixed;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 200ms var(--ease-out-quart);
}

::selection {
    background: var(--oxblood);
    color: var(--paper);
}

/* ──────────────────────────────────────────────────────────────
   Reading progress (top-edge oxblood line)
   ────────────────────────────────────────────────────────────── */
.read-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: calc(var(--scroll, 0) * 100%);
    background: var(--oxblood);
    z-index: 200;
    transition: width 80ms linear;
}

/* ──────────────────────────────────────────────────────────────
   Nav - minimal masthead
   ────────────────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: oklch(94% 0.012 75 / 0.92);
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    border-bottom: 1px solid var(--line);
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--sp-4) clamp(20px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
}

.nav__brand {
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
}

.nav__brand-issue {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-mute);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav__menu {
    display: flex;
    gap: var(--sp-6);
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-2);
}

.nav__menu a {
    position: relative;
    padding: 4px 0;
}

.nav__menu a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--oxblood);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms var(--ease-out-quart);
}

.nav__menu a:hover::after { transform: scaleX(1); }

.nav__cta {
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--paper);
    background: var(--ink);
    padding: 12px 22px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    transition: all 240ms var(--ease-back);
}

.nav__cta:hover {
    background: var(--oxblood);
    border-color: var(--oxblood);
    transform: translateY(-1px);
}

/* Hamburger button - hidden on desktop */
.nav__toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: border-color 200ms var(--ease-out-quart);
}

.nav__toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: transform 280ms var(--ease-back), opacity 200ms;
}

body.nav-open .nav__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav__toggle-line:nth-child(2) {
    opacity: 0;
}
body.nav-open .nav__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 820px) {
    .nav__toggle { display: flex; }
    .nav__cta { display: none; }

    .nav__menu {
        position: fixed;
        inset: 64px 0 0 0;
        background: var(--paper);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--sp-7) clamp(20px, 6vw, 48px);
        gap: var(--sp-5);
        font-size: 18px;
        letter-spacing: 0.08em;
        color: var(--ink);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 320ms var(--ease-out-quart), transform 320ms var(--ease-out-quart);
        z-index: 99;
        border-top: 1px solid var(--line);
    }

    body.nav-open .nav__menu {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav__menu a {
        font-family: var(--display);
        font-size: 28px;
        text-transform: uppercase;
        color: var(--ink);
        padding: 8px 0;
        letter-spacing: -0.005em;
    }

    .nav__menu a::after { display: none; }

    body.nav-open {
        overflow: hidden;
    }
}

/* ──────────────────────────────────────────────────────────────
   Hero - Variant A (full-bleed photo) + counter-intuitive overlay copy
   ────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: var(--sp-8) 0 var(--sp-9);
    overflow: hidden;
}

.hero__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* Split hero: copy lewo / żywy system prawo */
.hero__inner--split {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    grid-template-areas:
        "eyebrow flow"
        "title   flow"
        "deck    flow";
    column-gap: clamp(32px, 5vw, 76px);
    row-gap: var(--sp-3);
    align-items: start;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--oxblood);
    padding: 7px 14px 7px 12px;
    background: oklch(94% 0.025 28 / 0.55);
    border: 1px solid oklch(78% 0.10 28 / 0.30);
    border-radius: 999px;
    margin-bottom: var(--sp-4);
}

.hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--oxblood);
    box-shadow: 0 0 0 3px oklch(78% 0.12 28 / 0.18);
}

.hero__inner--split .hero__eyebrow { grid-area: eyebrow; align-self: end; }

.hero__inner--split .hero__title {
    grid-area: title;
    font-size: clamp(2.6rem, 5.2vw, 5.4rem);
}

.hero__inner--split .hero__deck {
    grid-area: deck;
    display: block;
    margin-top: var(--sp-5);
}

.hero__inner--split .hero__deck-lead { max-width: 46ch; }

.hero__inner--split .hero__flow {
    grid-area: flow;
    align-self: center;
    margin: 0;
}

@media (max-width: 980px) {
    .hero__inner--split {
        grid-template-columns: 1fr;
        grid-template-areas:
            "eyebrow"
            "title"
            "deck"
            "flow";
    }
    .hero__inner--split .hero__flow { margin-top: var(--sp-6); }
}

.hero__masthead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--ink);
    margin-bottom: var(--sp-5);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--ink-2);
}

.hero__masthead-left,
.hero__masthead-right {
    display: flex;
    gap: var(--sp-5);
    flex-wrap: wrap;
}

.hero__masthead .dot {
    color: var(--oxblood);
}

.hero__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(3rem, 9vw, 8.4rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--ink);
    margin: var(--sp-7) 0 var(--sp-6);
}

.hero__title .line { display: block; }

/* Dopisek = własna ciasna linia. KLUCZ: jawny mały font-size,
   żeby line-box nie dziedziczył olbrzymiego rozmiaru tytułu. */
.hero__title .line--note {
    font-size: clamp(1.15rem, 2.3vw, 1.8rem);
    line-height: 1;
    margin: 0.15em 0 0.1em;
}

.hero__title .red {
    color: var(--oxblood);
    font-style: italic;
    font-weight: 600;
}

.hero__title .strike {
    position: relative;
    display: inline-block;
}

.hero__title .strike::after {
    content: '';
    position: absolute;
    left: -4%;
    right: -4%;
    top: 50%;
    height: 6px;
    background: var(--oxblood);
    transform: translateY(-50%) rotate(-1.5deg);
    opacity: 0;
    animation: strike 700ms 1.4s var(--ease-out-quart) forwards;
}

@keyframes strike {
    from { opacity: 0; transform: translateY(-50%) rotate(-1.5deg) scaleX(0); transform-origin: left; }
    to   { opacity: 1; transform: translateY(-50%) rotate(-1.5deg) scaleX(1); }
}

.hero__title .hand-note {
    display: inline-block;
    font-family: var(--hand);
    font-size: 1em;
    color: var(--oxblood);
    font-weight: 700;
    font-style: normal;
    text-transform: none;
    letter-spacing: -0.01em;
    transform-origin: left center;
    transform: rotate(-3deg);
    opacity: 0;
    animation: handNote 800ms 2.0s var(--ease-out-quart) forwards;
}

@keyframes handNote {
    from { opacity: 0; transform: rotate(-12deg) translateY(40%) scale(0.6); }
    to   { opacity: 1; transform: rotate(-3deg) scale(1); }
}

/* Hero photo - full-bleed editorial top-down desk */
.hero__photo {
    position: relative;
    margin: var(--sp-7) 0 var(--sp-7);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow:
        0 24px 60px -20px oklch(20% 0.020 30 / 0.35),
        inset 0 0 0 1px oklch(94% 0.012 75 / 0.6);
}

.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out-quart);
    will-change: transform;
}

.hero__photo:hover img { transform: scale(1.03); }

.hero__photo-tape {
    position: absolute;
    top: -14px;
    left: 8%;
    width: 110px;
    height: 32px;
    background: linear-gradient(180deg, var(--mustard-tape) 0%, var(--mustard) 100%);
    box-shadow: 0 4px 8px oklch(20% 0.020 30 / 0.2);
    opacity: 0.88;
    transform: rotate(-2deg);
    z-index: 2;
}

.hero__photo-tape:nth-of-type(2) {
    left: auto;
    right: 12%;
    top: -10px;
    transform: rotate(3deg);
    width: 90px;
}

.hero__photo-cap {
    position: absolute;
    bottom: var(--sp-4);
    left: var(--sp-4);
    background: oklch(94% 0.012 75 / 0.96);
    padding: 10px 18px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-2);
    /* OVERRIDE §11 - editorial caption pill (newspaper convention: red side-stripe = editor's mark)
       Sprawdzone alternatywy: 1px za cienkie ginie pod text shadow papier; underline burzy hierarchię. */
    border-left: 3px solid var(--oxblood);
}

.hero__photo-cap strong { color: var(--ink); margin-right: 12px; }

/* Hero deck below photo */
.hero__deck {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: var(--sp-7);
    align-items: end;
    margin-top: var(--sp-6);
}

.hero__deck-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 38ch;
}

.hero__deck-lead em {
    font-style: normal;
    color: var(--ink);
    font-weight: 600;
    background: linear-gradient(180deg, transparent 60%, oklch(78% 0.13 88 / 0.55) 60%);
    padding: 0 2px;
}

.hero__deck-cta {
    display: inline-flex;
    align-items: baseline;
    gap: var(--sp-3);
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 2rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--ink);
    border-bottom: 3px solid var(--oxblood);
    padding-bottom: 10px;
    align-self: end;
    transition: color 200ms var(--ease-out-quart);
}

.hero__deck-cta:hover { color: var(--oxblood); }
.hero__deck-cta::after { content: '→'; transition: transform 250ms var(--ease-back); }
.hero__deck-cta:hover::after { transform: translateX(8px); }

@media (max-width: 820px) {
    .hero__deck { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* ──────────────────────────────────────────────────────────────
   Hero — slider scenariuszy systemu (7 topologii; czysty papier)
   ────────────────────────────────────────────────────────────── */
.hero__flow {
    position: relative;
    margin: var(--sp-7) 0;
    padding: clamp(24px, 3vw, 44px);
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
    box-shadow: 0 24px 60px -22px oklch(20% 0.020 30 / 0.30);
    overflow: hidden;
}

.hero__flow-cap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    gap: 8px;
    padding: 9px 16px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    background: var(--paper);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.hero__flow-cap strong { color: var(--oxblood); }
.hero__flow-name { color: var(--ink); }

.hero-slider { position: relative; z-index: 1; }
.hero-slider__viewport { overflow: hidden; }
.hero-slider__track {
    display: flex;
    transition: transform 0.5s var(--ease-out-quart);
}
.hero-slider__slide { flex: 0 0 100%; min-width: 100%; }

.hero-flow { display: block; width: 100%; height: auto; }

.hero-slider__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}
.hero-slider__arrow {
    appearance: none;
    width: 34px;
    height: 34px;
    padding: 0;
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: color 200ms, border-color 200ms;
}
.hero-slider__arrow:hover { color: var(--oxblood); border-color: var(--oxblood); }

.hero-slider__dots { display: flex; gap: 8px; }
.hero-slider__dot {
    appearance: none;
    width: 26px;
    height: 3px;
    padding: 0;
    border: 0;
    background: var(--line-strong);
    cursor: pointer;
    transition: background 200ms;
}
.hero-slider__dot[aria-current="true"] { background: var(--oxblood); }
.hero-slider__dot:hover { background: var(--ink-mute); }

.hero-flow__node {
    fill: var(--paper);
    stroke: var(--line-strong);
    stroke-width: 1.5;
}
.hero-flow__node--ai {
    fill: var(--paper);
    stroke: var(--oxblood);
    stroke-width: 2.5;
}
.hero-flow__node--done {
    fill: var(--oxblood);
    stroke: var(--oxblood);
    stroke-width: 2;
}

.hero-flow__icon {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero-flow__icon--done { stroke: var(--paper); }

.hero-flow__label {
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    fill: var(--ink);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.hero-flow__label--sm { font-size: 15px; }
.hero-flow__label--done { fill: var(--paper); }

.hero-flow__chip { fill: var(--mustard); }
.hero-flow__chiptxt {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    fill: var(--ink);
}

.hero-flow__conn {
    fill: none;
    stroke: var(--oxblood);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 5 8;
    opacity: 0.55;
    animation: hero-flow-dash 1.6s linear infinite;
}
.hero-flow__arrow { fill: var(--oxblood); opacity: 0.7; }

.hero-flow__msg {
    fill: var(--mustard);
    stroke: var(--ink);
    stroke-width: 1.5;
}

@keyframes hero-flow-dash { to { stroke-dashoffset: -26; } }

@media (prefers-reduced-motion: reduce) {
    .hero-slider__track { transition: none; }
    .hero-flow__msg { display: none; }
    .hero-flow__conn { animation: none; stroke-dasharray: none; }
}
/* ──────────────────────────────────────────────────────────────
   Data ticker - bottom of hero, dark inverse strip
   ────────────────────────────────────────────────────────────── */
.ticker {
    background: var(--ink);
    color: var(--paper);
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.ticker__track {
    display: flex;
    gap: var(--sp-7);
    white-space: nowrap;
    animation: tickerScroll 38s linear infinite;
    font-family: var(--mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
}

.ticker__item { display: inline-flex; align-items: center; gap: var(--sp-4); }
.ticker__item strong { color: var(--mustard); font-weight: 700; }
.ticker__item .pip { color: var(--oxblood-bright); }

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────────────────────────
   Section base
   ────────────────────────────────────────────────────────────── */
.section {
    padding: clamp(96px, 12vw, 180px) 0;
}

.section__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* Section tag pill (cyber-style anchor; treść .section__num bez zmian) */
.section__num {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--oxblood);
    padding: 7px 14px 7px 12px;
    background: oklch(94% 0.025 28 / 0.55);
    border: 1px solid oklch(78% 0.10 28 / 0.30);
    border-radius: 999px;
    margin-bottom: var(--sp-5);
}

.section__num::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--oxblood);
    box-shadow: 0 0 0 3px oklch(78% 0.12 28 / 0.18);
}

.section__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--sp-5);
}

.section__title .red { color: var(--oxblood); font-style: italic; }

/* ──────────────────────────────────────────────────────────────
   Manifest - 5 modułów klikalnych do sub-pages
   ────────────────────────────────────────────────────────────── */
.manifest {
    background:
        linear-gradient(180deg, var(--paper) 0%, oklch(91% 0.018 70) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.manifest__head {
    max-width: 70ch;
    margin: 0 auto var(--sp-8);
    text-align: center;
}

.manifest__head .section__num { text-align: center; }

.manifest__lead {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.55;
    color: var(--ink-2);
    margin-top: var(--sp-4);
    font-weight: 400;
}

.manifest__lead em {
    font-style: normal;
    color: var(--ink);
    font-weight: 600;
}

.modules__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
    margin-top: var(--sp-7);
}

.module {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: clamp(24px, 3vw, 40px);
    color: var(--ink);
    transition: transform 280ms var(--ease-out-quart),
                box-shadow 280ms var(--ease-out-quart),
                border-color 280ms var(--ease-out-quart),
                background 280ms var(--ease-out-quart);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.module:hover {
    transform: translateY(-4px);
    border-color: var(--oxblood);
    box-shadow: 0 24px 50px -20px oklch(20% 0.020 30 / 0.25);
    background: oklch(96% 0.014 60);
}

.module--featured {
    grid-column: 1 / -1;
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    min-height: 220px;
}

.module--featured:hover {
    background: oklch(22% 0.025 28);
    border-color: var(--oxblood);
}

.module__num {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--oxblood);
    margin-bottom: var(--sp-3);
}

.module--featured .module__num {
    color: var(--mustard);
}

.module__name {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    color: inherit;
    margin-bottom: var(--sp-3);
}

.module--featured .module__name {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.module__desc {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin-bottom: var(--sp-5);
    flex-grow: 1;
}

.module--featured .module__desc {
    color: oklch(89% 0.018 70 / 0.85);
    font-size: 1.05rem;
}

.module__cta {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--oxblood);
    align-self: flex-start;
    transition: transform 240ms var(--ease-back);
    display: inline-block;
}

.module--featured .module__cta {
    color: var(--mustard);
}

.module:hover .module__cta {
    transform: translateX(6px);
}

@media (max-width: 720px) {
    .modules__grid { grid-template-columns: 1fr; }
    .module--featured { grid-column: auto; }
    .module { min-height: auto; }
}

/* ──────────────────────────────────────────────────────────────
   Founders - T3 dual editorial portraits
   ────────────────────────────────────────────────────────────── */
.founders {
    background: var(--paper);
}

.founders__intro {
    max-width: 70ch;
    margin: 0 auto var(--sp-9);
    text-align: center;
}

.founders__intro .section__num { text-align: center; }
.founders__intro p {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    color: var(--ink-2);
    margin-top: var(--sp-4);
}

.founders__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
}

.founder {
    position: relative;
}

.founder__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow:
        0 30px 70px -20px oklch(20% 0.020 30 / 0.4),
        inset 0 0 0 1px oklch(94% 0.012 75 / 0.5);
    margin-bottom: var(--sp-5);
}

.founder__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: contrast(1.02) saturate(0.9);
    transition: transform 1.2s var(--ease-out-quart), filter 600ms;
}

.founder:hover .founder__photo img {
    transform: scale(1.04);
    filter: contrast(1.06) saturate(1);
}

.founder:nth-child(odd) .founder__photo { transform: rotate(-0.6deg); }
.founder:nth-child(even) .founder__photo { transform: rotate(0.8deg); }

.founder__photo-num {
    position: absolute;
    top: 14px; left: 14px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    color: var(--paper);
    background: var(--oxblood);
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px oklch(20% 0.020 30 / 0.3);
}

.founder__photo-cap {
    position: absolute;
    bottom: 14px; left: 14px;
    background: var(--paper);
    padding: 8px 14px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--ink-2);
}

.founder__name {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--sp-2);
}

.founder__role {
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--oxblood);
    margin-bottom: var(--sp-4);
}

.founder__bio {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-2);
    max-width: 42ch;
    margin-bottom: var(--sp-4);
}

.founder__quote {
    font-family: var(--hand);
    font-size: 1.4rem;
    line-height: 1.3;
    color: var(--oxblood);
    /* OVERRIDE §11 - handwriting quote stripe (founder pull-quote, editorial blockquote convention) */
    border-left: 2px solid var(--oxblood);
    padding-left: var(--sp-4);
    transform: rotate(-0.3deg);
    margin-top: var(--sp-4);
}

@media (max-width: 820px) {
    .founders__grid { grid-template-columns: 1fr; gap: var(--sp-9); }
}

.founders__team-note {
    margin-top: var(--sp-7);
    padding: var(--sp-4) var(--sp-5);
    background: var(--paper-2);
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 13px;
    color: var(--ink-2);
    letter-spacing: 0.06em;
    text-align: center;
}

.founders__team-note strong {
    font-family: var(--display);
    font-size: 16px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    margin-right: 12px;
}

/* ──────────────────────────────────────────────────────────────
   Proces - 4-up numbered cards z hover accent (cyber-style w paper)
   ────────────────────────────────────────────────────────────── */
.proces {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.proces__head {
    max-width: 60ch;
    margin-bottom: var(--sp-7);
}

.proces__intro {
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin-top: var(--sp-3);
}

.proces__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-4);
    align-items: start;
}

.proces__list { display: contents; }

.proces__step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    min-height: 230px;
    padding: var(--sp-5) var(--sp-5) calc(var(--sp-5) + 18px);
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 280ms var(--ease-out-quart),
        box-shadow 280ms,
        border-color 280ms;
}

.proces__step:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px -22px oklch(20% 0.020 30 / 0.22);
    border-color: var(--oxblood);
}

.proces__step.is-active {
    border-color: var(--oxblood);
    box-shadow: 0 28px 60px -22px oklch(38% 0.18 28 / 0.25);
}

.proces__step-num {
    position: absolute;
    top: 16px;
    right: 18px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.20em;
    color: var(--ink-mute);
}

.proces__step-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.15rem, 1.5vw, 1.45rem);
    line-height: 1.12;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -0.005em;
    padding-right: 40px;
}

.proces__step-name em {
    display: block;
    font-family: var(--mono);
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--oxblood);
    margin: 8px 0 0;
    border: 0;
}

.proces__step-toggle {
    position: absolute;
    left: var(--sp-5);
    bottom: 22px;
    font-family: var(--mono);
    font-size: 0;
    line-height: 1;
    color: var(--oxblood);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 200ms;
    pointer-events: none;
}

.proces__step-toggle::before {
    content: '→ więcej';
    font-size: 11px;
    font-weight: 600;
}

.proces__step.is-active .proces__step-toggle::before { content: '↑ zwiń'; }
.proces__step:hover .proces__step-toggle { opacity: 0; }

.proces__step-detail {
    overflow: hidden;
    max-height: 4.5em;
    transition: max-height 520ms var(--ease-out-quart);
}

/* Hover (desktop) ORAZ klik/is-active (mobile + a11y) rozwijają pełny tekst */
.proces__step:hover .proces__step-detail,
.proces__step:focus-within .proces__step-detail,
.proces__step.is-active .proces__step-detail {
    max-height: 600px;
}

.proces__step-detail p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin-top: 12px;
}

.proces__step-detail p:first-of-type { margin-top: 4px; }
.proces__step-detail strong { color: var(--ink); }

.proces__step::after {
    content: '';
    position: absolute;
    left: var(--sp-5);
    right: var(--sp-5);
    bottom: 10px;
    height: 2px;
    background: var(--oxblood);
    transform: scaleX(0.15);
    transform-origin: left;
    transition: transform 320ms var(--ease-out-quart);
}

.proces__step:hover::after,
.proces__step.is-active::after { transform: scaleX(1); }

/* stary prawy-image column ukryty - karty go zastępują */
.proces__visual { display: none; }

@media (max-width: 1100px) {
    .proces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .proces__grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────
   Pull-quote (R6) - interleaved between sections
   ────────────────────────────────────────────────────────────── */
.pullquote {
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.pullquote::before {
    content: '"';
    position: absolute;
    top: -20px; left: 4%;
    font-family: var(--display);
    font-size: 18rem;
    line-height: 1;
    color: var(--oxblood);
    opacity: 0.5;
    pointer-events: none;
}

.pullquote__inner {
    max-width: 70ch;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 48px);
    position: relative;
    z-index: 1;
}

.pullquote__text {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--paper);
    margin-bottom: var(--sp-5);
    text-transform: none;
}

.pullquote__text em {
    color: var(--mustard);
    font-style: italic;
}

.pullquote__attr {
    font-family: var(--mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: oklch(89% 0.018 70 / 0.7);
}

.pullquote__attr strong { color: var(--paper); }

/* ──────────────────────────────────────────────────────────────
   Pakiety - S1 numbered with featured stamp
   ────────────────────────────────────────────────────────────── */
.pakiety {
    background:
        linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--line);
}

.pakiety__list {
    margin-top: var(--sp-7);
    border-top: 1px solid var(--ink);
}

.pakiet {
    display: grid;
    grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1.6fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
    padding: var(--sp-7) 0;
    border-bottom: 1px solid var(--ink);
    position: relative;
    transition: background 300ms var(--ease-out-quart);
}

.pakiet:hover {
    background: oklch(89% 0.018 70 / 0.5);
}

.pakiet--featured {
    background: var(--paper-2);
}

.pakiet__num {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1;
    color: var(--oxblood);
    letter-spacing: -0.02em;
}

.pakiet__name {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.pakiet__name small {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--ink-mute);
    margin-top: 8px;
}

/* (pakiet__price / pakiet__price-tag usunięte — ceny zdjęte z landingu do czasu finalizacji cennika) */

.pakiet__desc {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-2);
    max-width: 50ch;
}

.pakiet__desc ul {
    list-style: none;
    margin-top: var(--sp-3);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.pakiet__desc li {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-mute);
}

.pakiet__desc li::before { content: '· '; color: var(--oxblood); margin-right: 4px; }

.pakiet__alt {
    margin-top: var(--sp-5);
    padding: var(--sp-4) var(--sp-5);
    background: oklch(94% 0.018 70 / 0.6);
    border: 1px dashed var(--ink-mute);
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.pakiet__alt strong { color: var(--ink); font-weight: 700; }

.pakiet__stamp {
    position: absolute;
    top: 18px;
    right: clamp(-10px, -1vw, 18px);
    width: 130px;
    height: 130px;
    transform: rotate(-12deg);
    pointer-events: none;
    opacity: 0.92;
}

.pakiet__stamp svg { width: 100%; height: 100%; }
.pakiet__stamp text,
.pakiet__stamp circle { color: var(--oxblood); }

@media (max-width: 720px) {
    .pakiet {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            'num  name'
            '.    desc';
        gap: 12px 18px;
    }
    .pakiet__num { grid-area: num; font-size: 2.6rem; }
    .pakiet__name { grid-area: name; }
    .pakiet__desc { grid-area: desc; }
    .pakiet__stamp { width: 90px; height: 90px; top: -10px; right: 0; }
}

/* Opieka inline strip */
.opieka {
    margin-top: var(--sp-7);
    padding: var(--sp-5) clamp(20px, 3vw, 32px);
    background: var(--paper);
    border: 1px solid var(--ink);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-5);
}

.opieka__label {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: var(--ink);
    margin-right: var(--sp-3);
}

.opieka__tier {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--ink-2);
    letter-spacing: 0.06em;
}

.opieka__tier strong { color: var(--ink); font-weight: 700; }
.opieka__tier .price { color: var(--oxblood); font-weight: 700; }

/* ──────────────────────────────────────────────────────────────
   Realizacje - case study cards
   ────────────────────────────────────────────────────────────── */
.realizacje {
    background: var(--paper);
}

.realizacje__intro {
    max-width: 60ch;
    margin-bottom: var(--sp-7);
}

.realizacje__intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ink-2);
    margin-top: var(--sp-3);
}

/* Realizacje - magazine featured + thumbnails column */
.realizacje__featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    margin-top: var(--sp-4);
}

.realizacje__featured {
    position: relative;
    min-height: 540px;
}

.realizacje__featured .case {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms var(--ease-out-quart);
}

.realizacje__featured .case.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.realizacje__featured .case__photo {
    aspect-ratio: 4 / 3;
}

.realizacje__featured .case__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.realizacje__featured .case__excerpt {
    font-size: 1.05rem;
    max-width: 56ch;
}

.realizacje__thumbs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.realizacje__thumb {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: var(--sp-4);
    align-items: center;
    width: 100%;
    padding: var(--sp-3);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: border-color 240ms var(--ease-out-quart),
                background 240ms var(--ease-out-quart),
                transform 240ms var(--ease-out-quart);
}

.realizacje__thumb:hover {
    border-color: var(--oxblood-edge);
    background: var(--paper-2);
    transform: translateX(-2px);
}

.realizacje__thumb.is-active {
    border-color: var(--oxblood);
    background: var(--paper-2);
    box-shadow: -3px 0 0 var(--oxblood);
}

.realizacje__thumb:focus-visible {
    outline: 2px solid var(--oxblood);
    outline-offset: 2px;
}

.realizacje__thumb img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.realizacje__thumb-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.realizacje__thumb-num {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--oxblood);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.realizacje__thumb-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -0.005em;
}

@media (max-width: 900px) {
    .realizacje__featured-layout {
        grid-template-columns: 1fr;
    }
    .realizacje__featured {
        min-height: auto;
    }
    .realizacje__thumbs {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: var(--sp-3);
        margin: 0 calc(-1 * clamp(20px, 4vw, 48px));
        padding-left: clamp(20px, 4vw, 48px);
        padding-right: clamp(20px, 4vw, 48px);
    }
    .realizacje__thumb {
        flex: 0 0 240px;
        scroll-snap-align: start;
    }
}

.case {
    position: relative;
}

.case__photo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 18px 50px -20px oklch(20% 0.020 30 / 0.35);
    transition: transform 360ms var(--ease-out-quart), box-shadow 360ms;
    margin-bottom: var(--sp-3);
}

.case:hover .case__photo {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px -20px oklch(20% 0.020 30 / 0.5);
}

.case__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 1.2s var(--ease-out-quart);
}

.case:hover .case__photo img { transform: scale(1.04); }

.case__tag {
    position: absolute;
    top: 12px; left: 12px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    background: var(--paper);
    color: var(--ink);
    padding: 6px 12px;
    /* OVERRIDE §11 - case study tag pill (editorial filing-tab convention, red = "wdrożenie", mustard = "demo R&D") */
    border-left: 3px solid var(--oxblood);
}

.case__tag--demo { border-left-color: var(--mustard); color: var(--ink-2); }

.case__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: 6px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
}

.case__meta-num { color: var(--oxblood); font-weight: 700; }

.case__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -0.005em;
}

.case__excerpt {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin-top: 8px;
    max-width: 38ch;
}

.case__stack {
    margin-top: var(--sp-4);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-mute);
}

.case__stack span { white-space: nowrap; }
.case__stack span::before { content: '\25B8'; color: var(--oxblood); margin-right: 5px; }

/* ──────────────────────────────────────────────────────────────
   Granice/Dopasowanie - hybryda 3 pozytywne + 3 negatywne (split layout)
   ────────────────────────────────────────────────────────────── */
.granice {
    background:
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    border-top: 1px solid var(--line);
}

.dopasowanie__intro {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 60ch;
    margin-top: var(--sp-3);
}

.granice__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    margin-top: var(--sp-7);
}

.granice__column {
    display: flex;
    flex-direction: column;
}

.granice__column-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--ink);
    margin-bottom: var(--sp-4);
}

.granice__column--positive .granice__column-title {
    color: var(--ink);
}

.granice__column--positive .granice__column-title::before {
    content: '✓ ';
    color: var(--oxblood);
    font-weight: 700;
}

.granice__column--negative .granice__column-title {
    color: var(--ink-mute);
}

.granice__column--negative .granice__column-title::before {
    content: '✕ ';
    color: var(--ink-faint);
    font-weight: 700;
}

.granice__list {
    margin-top: var(--sp-6);
    counter-reset: granica;
}

.granica {
    padding: var(--sp-5) 0;
    border-bottom: 1px dashed var(--line-strong);
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: var(--sp-2) var(--sp-4);
    align-items: baseline;
    counter-increment: granica;
}

.granica::before {
    grid-row: 1 / span 2;
    grid-column: 1;
}

.granica__what {
    grid-column: 2;
    grid-row: 1;
}

.granica__why {
    grid-column: 2;
    grid-row: 2;
}

.granice__column .granica:last-child {
    border-bottom: none;
}

.granica::before {
    content: '✕';
    font-family: var(--display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--oxblood);
    font-weight: 700;
    line-height: 1;
    transform: rotate(-8deg);
    display: inline-block;
}

.granica--positive::before {
    content: '✓';
    transform: rotate(0deg);
}

.granica__what {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -0.005em;
    text-decoration: line-through;
    text-decoration-color: var(--oxblood);
    text-decoration-thickness: 3px;
    text-underline-offset: -1em;
}

.granica--positive .granica__what {
    text-decoration: none;
}

.granica__why {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.granica__why strong { color: var(--ink); }

.dopasowanie__note {
    margin-top: var(--sp-7);
    padding: var(--sp-5) clamp(20px, 3vw, 32px);
    background: var(--paper-2);
    /* OVERRIDE §11 - editor's-mark side-stripe (spójne z .hero__photo-cap, .manifest__photo-cap, .case__tag, .proces__visual-cap).
       Sprawdzone alternatywy: 1px ginie pod text-shadow papier; underline burzy hierarchię. */
    border-left: 3px solid var(--oxblood);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-2);
    max-width: 78ch;
}

.dopasowanie__note strong { color: var(--ink); font-weight: 700; }

@media (max-width: 820px) {
    .granice__split {
        grid-template-columns: 1fr;
        gap: var(--sp-6);
    }
}

@media (max-width: 720px) {
    .granica {
        gap: 12px;
    }
}

/* ──────────────────────────────────────────────────────────────
   Decyzja (kontakt) - C1 split: form + map (light, nie dark!)
   ────────────────────────────────────────────────────────────── */
.decyzja {
    background: var(--paper);
    border-top: 2px solid var(--ink);
}

/* ──────────────────────────────────────────────────────────────
   FAQ - accordion z <details>/<summary> (native HTML)
   ────────────────────────────────────────────────────────────── */
.faq {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.faq__head {
    max-width: 60ch;
    margin-bottom: var(--sp-7);
}

.faq__intro {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink-2);
    margin-top: var(--sp-3);
}

.faq__list {
    display: flex;
    flex-direction: column;
    max-width: 80ch;
    border-top: 1px solid var(--ink);
}

.faq-item {
    border-bottom: 1px solid var(--ink);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--sp-4) var(--sp-5) 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    transition: color 220ms var(--ease-out-quart);
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__question::after {
    content: '+';
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--oxblood);
    line-height: 1;
    flex-shrink: 0;
    transition: transform 320ms var(--ease-back);
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(45deg);
}

.faq-item:hover .faq-item__question {
    color: var(--oxblood);
}

.faq-item[open] .faq-item__question {
    color: var(--oxblood);
}

.faq-item__answer {
    padding: 0 var(--sp-4) var(--sp-5) 0;
    max-width: 70ch;
}

.faq-item__answer p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-2);
}

.faq-item__answer p strong {
    color: var(--ink);
    font-weight: 700;
}

.faq-item__answer p + p {
    margin-top: var(--sp-3);
}

@media (max-width: 720px) {
    .faq-item__question {
        font-size: 1.1rem;
        padding-right: var(--sp-3);
    }
}

/* ──────────────────────────────────────────────────────────────
   Decyzja (kontakt) - C1 split: form + map (light)
   ────────────────────────────────────────────────────────────── */
.decyzja__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 80px);
    margin-top: var(--sp-7);
    align-items: start;
}

.decyzja__form-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ink-2);
    margin-bottom: var(--sp-5);
    max-width: 50ch;
}

.form {
    display: grid;
    gap: var(--sp-4);
}

.form__row {
    display: grid;
    gap: 6px;
}

.form__label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--ink-2);
}

.form__input,
.form__select {
    background: oklch(96% 0.008 75);
    border: 1px solid var(--ink);
    border-radius: 6px;
    padding: 14px 16px;
    font-family: var(--body);
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 200ms, background 200ms;
}

.form__input:focus,
.form__select:focus {
    outline: none;
    border-color: var(--oxblood);
    background: var(--paper);
    box-shadow: 0 0 0 3px var(--oxblood-edge);
}

.form__row--two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-4);
}

.form__submit {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--paper);
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 8px;
    padding: 18px 24px;
    cursor: pointer;
    transition: all 240ms var(--ease-back);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
}

.form__submit:hover {
    background: var(--oxblood);
    border-color: var(--oxblood);
    transform: translateY(-2px);
}

.form__submit::after { content: '→'; transition: transform 250ms var(--ease-back); }
.form__submit:hover::after { transform: translateX(8px); }

.form__row--two .form__row { display: grid; }

.form__consent {
    display: flex;
    gap: var(--sp-3);
    align-items: flex-start;
    padding: var(--sp-3) 0;
    cursor: pointer;
}

.form__consent-check {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--oxblood);
    cursor: pointer;
    flex-shrink: 0;
}

.form__consent-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ink-mute);
}

.form__consent-text a {
    color: var(--oxblood);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form__consent-text a:hover {
    color: var(--ink);
}

@media (max-width: 600px) {
    .form__row--two { grid-template-columns: 1fr; }
}

.decyzja__sidebar {
    border-left: 1px solid var(--line);
    padding-left: clamp(20px, 3vw, 40px);
}

.decyzja__sidebar-block { margin-bottom: var(--sp-6); }
.decyzja__sidebar-block:last-child { margin-bottom: 0; }

.decyzja__label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--oxblood);
    margin-bottom: var(--sp-3);
}

.decyzja__value {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -0.005em;
}

.decyzja__value--small {
    font-size: 1.1rem;
    text-transform: none;
}

.decyzja__sub {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-mute);
    margin-top: 6px;
}

@media (max-width: 820px) {
    .decyzja__grid { grid-template-columns: 1fr; }
    .decyzja__sidebar { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: var(--sp-6); }
}

/* ──────────────────────────────────────────────────────────────
   Footer - minimal masthead-style
   ────────────────────────────────────────────────────────────── */
.footer {
    background: var(--ink);
    color: oklch(89% 0.018 70 / 0.85);
    padding: var(--sp-7) 0 var(--sp-5);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
    gap: var(--sp-6);
    align-items: start;
}

.footer__brand {
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    color: var(--paper);
    letter-spacing: 0.04em;
    margin-bottom: var(--sp-3);
}

.footer__tag {
    font-family: var(--body);
    font-size: 13px;
    line-height: 1.6;
    color: oklch(89% 0.018 70 / 0.7);
    letter-spacing: normal;
    max-width: 32ch;
}

.footer__col h4 {
    color: var(--paper);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    margin-bottom: var(--sp-3);
}

.footer__col a, .footer__col p {
    display: block;
    font-size: 12px;
    line-height: 1.7;
    color: oklch(89% 0.018 70 / 0.75);
    margin-bottom: 4px;
}

.footer__col a:hover { color: var(--oxblood-bright); }

.footer__bottom {
    margin-top: var(--sp-6);
    padding-top: var(--sp-4);
    border-top: 1px solid oklch(35% 0.025 35 / 0.5);
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 4vw, 48px);
    padding-right: clamp(20px, 4vw, 48px);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-3);
    color: oklch(89% 0.018 70 / 0.5);
    font-size: 10px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.footer__legal a {
    color: oklch(89% 0.018 70 / 0.7);
    transition: color 200ms var(--ease-out-quart);
}

.footer__legal a:hover { color: var(--oxblood-bright); }

.footer__legal .sep {
    margin: 0 6px;
    color: oklch(89% 0.018 70 / 0.3);
}

@media (max-width: 720px) {
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ──────────────────────────────────────────────────────────────
   Reveal on scroll
   ────────────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms var(--ease-out-quart), transform 800ms var(--ease-out-quart);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ──────────────────────────────────────────────────────────────
   Sub-pages — shared styles (strona-www, system-sprzedazy, agenci-ai,
   crm-powiadomienia, analizy)
   ────────────────────────────────────────────────────────────── */

/* Breadcrumb */
.breadcrumb {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--sp-5) clamp(20px, 4vw, 48px) 0;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--ink-2);
    transition: color 200ms var(--ease-out-quart);
}

.breadcrumb a:hover { color: var(--oxblood); }

.breadcrumb .sep { color: var(--ink-faint); }

.breadcrumb [aria-current="page"] { color: var(--oxblood); }

/* Sub-page hero */
.subpage-hero {
    padding: clamp(48px, 7vw, 100px) 0;
    border-bottom: 1px solid var(--line);
}

.subpage-hero__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.subpage-hero__num {
    font-family: var(--mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--oxblood);
    margin-bottom: var(--sp-4);
}

.subpage-hero__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--sp-5);
}

.subpage-hero__title .red {
    color: var(--oxblood);
    font-style: italic;
}

.subpage-hero__lead {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 50ch;
    margin-bottom: var(--sp-6);
}

.subpage-hero__lead em {
    font-style: normal;
    color: var(--ink);
    font-weight: 600;
    background: linear-gradient(180deg, transparent 60%, oklch(78% 0.13 88 / 0.5) 60%);
    padding: 0 2px;
}

.subpage-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--paper);
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 8px;
    padding: 16px 28px;
    transition: all 240ms var(--ease-back);
}

.subpage-hero__cta:hover {
    background: var(--oxblood);
    border-color: var(--oxblood);
    transform: translateY(-2px);
}

.subpage-hero__illustration {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    box-shadow:
        0 30px 70px -20px oklch(20% 0.020 30 / 0.35),
        inset 0 0 0 1px oklch(94% 0.012 75 / 0.5);
}

.subpage-hero__illustration img,
.subpage-hero__illustration video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 820px) {
    .subpage-hero__inner { grid-template-columns: 1fr; }
    .subpage-hero__illustration { aspect-ratio: 4 / 3; }
}

/* Sub-page section base */
.subpage-section {
    padding: clamp(64px, 9vw, 120px) 0;
}

/* AI Operations - naprzemienne wiersze (zygzak) */
.opsrows {
    margin-top: var(--sp-7);
}

.opsrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(36px, 5vw, 72px) 0;
    border-bottom: 1px solid var(--line);
}

.opsrow:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.opsrow:nth-child(even) .opsrow__media { order: 2; }

.opsrow__media img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    box-shadow: 0 24px 60px -24px oklch(20% 0.020 30 / 0.35);
}

.opsrow__kicker {
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--oxblood);
    margin-bottom: var(--sp-3);
}

.opsrow__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: var(--sp-4);
}

.opsrow__desc {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-2);
    margin-bottom: var(--sp-4);
}

.opsrow__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-mute);
}

.opsrow__tags span::before {
    content: '\25B8';
    color: var(--oxblood);
    margin-right: 5px;
}

.opsrows__close {
    margin-top: var(--sp-7);
    padding: var(--sp-5) var(--sp-6);
    border: 1px dashed var(--ink-mute);
    border-radius: 10px;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--ink-2);
}

.opsrows__close strong { color: var(--ink); }

@media (max-width: 760px) {
    .opsrow {
        grid-template-columns: 1fr;
        gap: var(--sp-5);
        padding: var(--sp-7) 0;
    }
    .opsrow:nth-child(even) .opsrow__media { order: 0; }
}

.subpage-section__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.subpage-section--dark {
    background: var(--ink);
    color: var(--paper);
}

.subpage-section--dark .subpage-section__num { color: var(--mustard); }
.subpage-section--dark .subpage-section__title { color: var(--paper); }

.subpage-section__num {
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--oxblood);
    margin-bottom: var(--sp-3);
}

.subpage-section__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--sp-6);
    max-width: 22ch;
}

.subpage-section__title .red {
    color: var(--oxblood);
    font-style: italic;
}

.subpage-section__intro {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 60ch;
    margin-bottom: var(--sp-7);
}

.subpage-section--dark .subpage-section__intro { color: oklch(89% 0.018 70 / 0.85); }

/* "Co to robi" - what-grid */
.what-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

/* Logo Koncept 2 - znak modułowy + wordmark (nav + stopka) */
.nav__brand { display: inline-flex; align-items: center; gap: 0.42em; }
.brand-mark { width: 0.95em; height: 0.95em; flex: none; display: block; }
.brand-mark .dot { fill: var(--oxblood); }
.footer__brand { display: inline-flex; align-items: center; gap: 0.4em; }
.footer__brand .brand-mark { width: 0.78em; height: 0.78em; }

/* Komponent tabowany - sekcja "Co dostajesz" */
.tabs {
    margin-top: var(--sp-7);
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) 2fr;
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
}
/* OVERRIDE §11 - rail listy tabów to element nawigacyjny (oś po której biegnie
   wskaźnik aktywnego tabu), nie dekoracyjna side-stripe. Grubość celowa. */
.tabs__list { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--line); }
/* OVERRIDE §11 - border-left tabu to wskaźnik stanu aktywny/nieaktywny
   (oxblood gdy is-active), funkcjonalny element UI, nie side-stripe ozdobna. */
.tabs__tab {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink-mute);
    background: none;
    border: none;
    /* OVERRIDE §11 - wskaźnik aktywnego tabu (oxblood gdy is-active), element UI */
    border-left: 3px solid transparent;
    margin-left: -2px;
    padding: 14px 18px;
    text-align: left;
    cursor: pointer;
    transition: color .2s, border-color .2s, background .2s;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab.is-active { color: var(--oxblood); border-left-color: var(--oxblood); background: var(--paper-2); }
.tabs__tab:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.tabs__panel { display: none; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.tabs__panel.is-active { display: grid; animation: tabfade .35s var(--ease-out-quart); }
@keyframes tabfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tabs__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1;
    margin-bottom: var(--sp-4);
}
.tabs__desc { font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); margin-bottom: var(--sp-5); max-width: 42ch; }
.tabs__cta {
    font-family: var(--mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--oxblood);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.tabs__cta:hover { color: var(--oxblood-bright); }
.tabs__media img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    box-shadow: 0 24px 60px -24px oklch(20% 0.02 30 / 0.35);
}
.tabs__media--hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-5);
    padding: var(--sp-6);
    border: 1px dashed var(--ink-mute);
    border-radius: 12px;
    min-height: 240px;
}
.hub-core { font-family: var(--display); font-weight: 700; font-size: 3rem; color: var(--ink); line-height: 1; }
.hub-core .dot { color: var(--oxblood); }
.hub-svg { width: 100%; height: auto; max-width: 460px; display: block; }
.hub-svg__line { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 5; }
.hub-svg__node { fill: var(--paper); stroke: var(--line-strong); stroke-width: 1.5; }
.hub-svg__logo { fill: var(--ink-2); }
.hub-svg__core-bg { fill: var(--ink); }
.hub-svg__core { font-family: var(--display); font-weight: 700; font-size: 34px; fill: var(--paper); }
.hub-svg__core .dot { fill: var(--oxblood); }

/* Diagram "droga klienta" - hero system-sprzedazy */
.subpage-hero__illustration svg.flow-svg { width: 100%; height: 100%; display: block; background: var(--paper); }
.flow-svg__bg { fill: var(--paper); }
.flow-svg__node { fill: var(--paper-2); stroke: var(--line-strong); stroke-width: 1.5; }
.flow-svg__node--done { fill: var(--oxblood); stroke: var(--oxblood); }
.flow-svg__label { font-family: var(--display); font-weight: 700; font-size: 18px; fill: var(--ink); text-transform: uppercase; letter-spacing: -0.01em; }
.flow-svg__label--done { fill: var(--paper); }
.flow-svg__path { fill: none; stroke: var(--oxblood); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 5 7; animation: flowdash 1.6s linear infinite; }
.flow-svg__arrow { fill: var(--oxblood); }
.flow-svg__chip { fill: var(--mustard); }
.flow-svg__chiptxt { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: var(--ink); }
.flow-svg__check { fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes flowdash { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .flow-svg__path { animation: none; stroke-dasharray: none; } }
.hub-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; max-width: 460px; }
.hub-chips li {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 13px;
}
@media (max-width: 860px) {
    .tabs { grid-template-columns: 1fr; }
    .tabs__list { flex-direction: row; flex-wrap: wrap; border-left: none; gap: 6px; }
    .tabs__tab { border-left: none; border-bottom: 3px solid transparent; margin-left: 0; padding: 10px 14px; font-size: 0.95rem; }
    .tabs__tab.is-active { border-left-color: transparent; border-bottom-color: var(--oxblood); }
    .tabs__panel.is-active { grid-template-columns: 1fr; }
    .tabs__media { order: -1; }
}

/* Pain grid - "Znasz te wyzwania?" */
.pain-grid { margin-top: var(--sp-7); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.pain-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: var(--sp-6);
    transition: transform .25s var(--ease-out-quart), border-color .25s;
}
.pain-card:hover { transform: translateY(-3px); border-color: var(--oxblood); }
.pain-card__tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--oxblood);
    background: var(--paper-2);
    border-radius: 999px;
    padding: 5px 11px;
    margin-bottom: var(--sp-4);
}
.pain-card__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: var(--sp-3);
}
.pain-card__desc { font-size: 0.96rem; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 880px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } }

/* Samotna ostatnia karta (nieparzysta liczba w siatce 2-kol) - wyśrodkowana na dole */
.what-grid--center-last > .what-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - clamp(20px, 3vw, 40px)) / 2);
    margin-inline: auto;
}

.what-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: var(--sp-6);
    transition: transform 280ms var(--ease-out-quart),
                border-color 280ms;
}

.what-item:hover {
    transform: translateY(-3px);
    border-color: var(--oxblood);
}

.what-item__num {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--oxblood);
    line-height: 1;
    margin-bottom: var(--sp-3);
}

.what-item__name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: var(--sp-3);
}

.what-item__desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--ink-2);
}

/* "Jaki problem rozwiązuje" - quote/comparison */
.problem-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
}

.problem-side {
    padding: var(--sp-6);
    border-radius: 12px;
}

.problem-side--bad {
    background: oklch(91% 0.018 35);
    /* OVERRIDE §11 - problem/solution side-stripe (editorial "red ink" correction mark, semantycznie wyróżnia złą/dobrą stronę porównania). 1px za cienki dla intencji. */
    border-left: 3px solid var(--oxblood);
}

.problem-side--good {
    background: var(--ink);
    color: var(--paper);
    /* OVERRIDE §11 - good-side mustard stripe (parna konstrukcja do .problem-side--bad, zachowuje symetrię side-by-side comparison). */
    border-left: 3px solid var(--mustard);
}

.problem-side__label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--oxblood);
    margin-bottom: var(--sp-3);
}

.problem-side--good .problem-side__label { color: var(--mustard); }

.problem-side__text {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    color: inherit;
}

@media (max-width: 720px) {
    .problem-grid { grid-template-columns: 1fr; }
}

/* "Przykłady" - cases-grid */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 32px);
}

.case-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: var(--sp-6);
    transition: transform 280ms var(--ease-out-quart),
                border-color 280ms;
}

.case-card:hover {
    transform: translateY(-3px);
    border-color: var(--oxblood);
}

.case-card__industry {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--oxblood);
    margin-bottom: var(--sp-3);
}

.case-card__scenario {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: var(--sp-3);
}

.case-card__desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--ink-2);
}

/* "Co zawiera" - included list */
.included-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--sp-4);
    margin-top: var(--sp-5);
}

.included-item {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-4);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.subpage-section--dark .included-item {
    background: oklch(22% 0.025 28);
    border-color: oklch(35% 0.025 35);
}

.included-item__check {
    color: var(--oxblood);
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.subpage-section--dark .included-item__check { color: var(--mustard); }

.included-item__text {
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--ink-2);
}

.subpage-section--dark .included-item__text { color: oklch(89% 0.018 70 / 0.85); }

.included-item__text strong { color: var(--ink); font-weight: 700; }
.subpage-section--dark .included-item__text strong { color: var(--paper); }

/* CTA section bottom */
.subpage-cta-section {
    background:
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    padding: clamp(64px, 9vw, 120px) 0;
    border-top: 1px solid var(--line);
}

.subpage-cta-content {
    max-width: 70ch;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    text-align: center;
}

.subpage-cta-content h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--sp-5);
}

.subpage-cta-content h2 .red {
    color: var(--oxblood);
    font-style: italic;
}

.subpage-cta-content p {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink-2);
    margin-bottom: var(--sp-6);
}

.subpage-cta-content .subpage-hero__cta {
    margin: 0 auto;
}

/* ──────────────────────────────────────────────────────────────
   Legal pages (polityka-prywatnosci.html, etc.)
   ────────────────────────────────────────────────────────────── */
.legal {
    max-width: 80ch;
    margin: 0 auto;
    padding: var(--sp-7) clamp(20px, 4vw, 48px) var(--sp-10);
}

.legal__head {
    margin-bottom: var(--sp-8);
    padding-bottom: var(--sp-6);
    border-bottom: 2px solid var(--ink);
}

.legal__num {
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--oxblood);
    margin-bottom: var(--sp-3);
}

.legal__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--sp-4);
}

.legal__updated {
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-mute);
    margin-bottom: var(--sp-5);
}

.legal__intro {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 60ch;
}

.legal__section {
    margin-bottom: var(--sp-7);
    scroll-margin-top: 80px;
}

.legal__h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--sp-4);
    padding-top: var(--sp-3);
}

.legal__section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-2);
    margin-bottom: var(--sp-3);
}

.legal__section p strong {
    color: var(--ink);
    font-weight: 700;
}

.legal__section a {
    color: var(--oxblood);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal__list {
    margin: var(--sp-3) 0 var(--sp-4) 0;
    padding-left: var(--sp-5);
    list-style: none;
}

.legal__list li {
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-2);
    margin-bottom: var(--sp-3);
    padding-left: var(--sp-3);
}

.legal__list li::before {
    content: '·';
    position: absolute;
    left: -8px;
    color: var(--oxblood);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1;
    top: 2px;
}

.legal__list li strong {
    color: var(--ink);
    font-weight: 700;
}

.legal__note {
    margin-top: var(--sp-4);
    padding: var(--sp-4) var(--sp-5);
    background: oklch(91% 0.018 35);
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-2);
}

/* ─── COOKIE BANNER ──────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--ink);
    color: var(--paper);
    padding: var(--sp-5) var(--sp-6);
    transform: translateY(100%);
    transition: transform 420ms var(--ease-out-quart);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    min-width: 260px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: oklch(89% 0.018 70 / 0.8);
}

.cookie-banner__text a {
    color: var(--mustard);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__actions {
    display: flex;
    gap: var(--sp-3);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 200ms;
    white-space: nowrap;
}

.cookie-banner__btn:hover { opacity: 0.82; }

.cookie-banner__btn--accept {
    background: var(--oxblood);
    color: var(--paper);
    border-color: var(--oxblood);
}

.cookie-banner__btn--necessary {
    background: transparent;
    color: var(--paper);
    border-color: oklch(89% 0.018 70 / 0.35);
}

@media (max-width: 600px) {
    .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__btn { flex: 1; text-align: center; }
}

.legal__note strong { color: var(--oxblood); }

/* ─── HERO (Wariant A - editorial + ścięty cognitive load) ─────── */
.hero-a {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    padding: clamp(96px, 12vh, 140px) clamp(20px, 5vw, 72px) clamp(48px, 8vh, 80px);
}

.hero-a__grid {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.hero-a__kicker {
    font-family: var(--mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--oxblood);
    margin-bottom: var(--sp-5);
}

.hero-a__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.6rem, 5.4vw, 5rem);
    line-height: .98;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: var(--sp-5);
}

.hero-a__title .red { color: var(--oxblood); font-style: italic; }

.hero-a__sub {
    font-family: var(--body);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 46ch;
    margin-bottom: var(--sp-7);
}

.hero-a__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--paper);
    background: var(--oxblood);
    padding: 18px 34px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .25s var(--ease-out-quart), background .25s;
}

.hero-a__cta:hover { background: var(--oxblood-bright); transform: translateY(-2px); }
.hero-a__cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero-a__cta span { transition: transform .25s var(--ease-out-quart); }
.hero-a__cta:hover span { transform: translateX(4px); }

.hero-a__note {
    font-family: var(--hand);
    font-size: 1.5rem;
    color: var(--oxblood);
    transform: rotate(-3deg);
    display: inline-block;
    margin-top: var(--sp-5);
}

.hero-a__photo {
    position: relative;
    border-radius: 12px;
}

.hero-a__photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 40px 90px -30px oklch(20% 0.02 30 / 0.45);
    border: 1px solid var(--line-strong);
}

.hero-a__tape {
    position: absolute;
    width: 130px;
    height: 42px;
    background: var(--mustard-tape);
    opacity: .92;
    box-shadow: 0 4px 10px oklch(20% 0.02 30 / 0.18);
}

.hero-a__tape--1 { top: -18px; left: 34px; transform: rotate(-7deg); }
.hero-a__tape--2 { bottom: -16px; right: 40px; transform: rotate(6deg); }

@media (max-width: 900px) {
    .hero-a__grid { grid-template-columns: 1fr; gap: var(--sp-7); }
    .hero-a__photo { order: -1; }
}

/* ──────────────────────────────────────────────────────────────
   Demos - 5 mocków UI w browser-frame windows, układ zigzag
   ────────────────────────────────────────────────────────────── */
.demos__intro { max-width: 62ch; margin-bottom: var(--sp-7); }
.demos__lead { font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); margin-top: var(--sp-3); max-width: 56ch; }
.demos__list { display: flex; flex-direction: column; gap: clamp(80px, 9vw, 140px); }

.demo-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    grid-template-areas: "img text";
    gap: clamp(36px, 5vw, 88px);
    align-items: center;
}
.demo-row--flip {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    grid-template-areas: "text img";
}
.demo-frame { grid-area: img; }
.demo-text  { grid-area: text; }

.demo-frame {
    background: oklch(98% 0.005 70);
    border: 1px solid oklch(86% 0.012 60);
    border-radius: 18px;
    box-shadow: 0 30px 80px -28px oklch(20% 0.020 30 / 0.32), 0 1px 0 oklch(99% 0.004 60) inset;
    overflow: hidden;
    transform: rotate(-0.4deg);
    transition: transform 380ms var(--ease-out-quart), box-shadow 380ms;
}
.demo-row--flip .demo-frame { transform: rotate(0.4deg); }
.demo-frame:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 40px 100px -30px oklch(20% 0.020 30 / 0.40); }
.demo-frame--wow {
    box-shadow:
        0 30px 80px -28px oklch(20% 0.020 30 / 0.35),
        0 0 0 1px oklch(78% 0.12 28 / 0.18),
        0 0 60px -20px oklch(78% 0.14 28 / 0.30);
}

.demo-frame__bar {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 14px;
    background: oklch(96% 0.008 60);
    border-bottom: 1px solid oklch(90% 0.010 60);
}
.demo-frame__dots { display: flex; gap: 7px; }
.demo-frame__dots span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.demo-frame__dots span:nth-child(1) { background: oklch(72% 0.18 27); }
.demo-frame__dots span:nth-child(2) { background: oklch(82% 0.16 86); }
.demo-frame__dots span:nth-child(3) { background: oklch(76% 0.16 145); }
.demo-frame__url {
    font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
    background: var(--paper);
    border: 1px solid oklch(90% 0.010 60);
    padding: 4px 14px; border-radius: 999px; margin: 0 auto;
}
.demo-frame__body { padding: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink); min-height: 380px; }

/* sekcja-text */
.demo-text__tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.20em;
    text-transform: uppercase; color: var(--oxblood);
    padding: 6px 12px 6px 10px;
    background: oklch(94% 0.025 28 / 0.55);
    border: 1px solid oklch(78% 0.10 28 / 0.30);
    border-radius: 999px; margin-bottom: var(--sp-4);
}
.demo-text__tag::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--oxblood);
    box-shadow: 0 0 0 3px oklch(78% 0.12 28 / 0.18);
}
.demo-text__title {
    font-family: var(--display); font-weight: 700;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05;
    letter-spacing: -0.01em; color: var(--ink);
    text-transform: uppercase; margin: 0 0 var(--sp-4);
}
.demo-text__desc { font-size: 1.02rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; margin: 0 0 var(--sp-4); }
.demo-text__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.94rem; color: var(--ink-2); }
.demo-text__list li { padding-left: 22px; position: relative; }
.demo-text__list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 12px; height: 1px; background: var(--oxblood); }

@media (max-width: 900px) {
    .demo-row, .demo-row--flip { grid-template-columns: 1fr; grid-template-areas: "img" "text"; }
    .demo-frame { transform: rotate(0); }
}

/* ── MOCK UI KIT (wspólne) ───────────────────────────────────── */
.mock { display: grid; grid-template-columns: 132px 1fr; min-height: 380px; }

.mock-side {
    background: oklch(97% 0.006 70);
    border-right: 1px solid oklch(91% 0.010 60);
    padding: 14px 8px 14px 12px;
    display: flex; flex-direction: column; gap: 4px;
    font-size: 11.5px;
}
.mock-side__logo {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--display); font-weight: 700; font-size: 13px;
    text-transform: uppercase; color: var(--ink);
    letter-spacing: -0.01em; margin-bottom: 12px;
    padding: 4px 4px 4px 0;
}
.mock-side__logo span {
    width: 22px; height: 22px; border-radius: 6px;
    background: var(--oxblood); color: var(--paper);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--display); font-weight: 700; font-size: 12px;
}
.mock-side__search {
    font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute);
    padding: 5px 10px;
    border: 1px solid oklch(90% 0.010 60);
    border-radius: 6px; background: var(--paper); margin-bottom: 8px;
}
.mock-side__nav { display: flex; flex-direction: column; gap: 2px; }
.mock-side__item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px; border-radius: 6px;
    color: var(--ink-2); font-weight: 500;
    cursor: default; position: relative; line-height: 1;
}
.mock-side__item span { flex: 1; }
.mock-side__item em {
    font-style: normal; font-family: var(--mono); font-size: 9.5px;
    color: var(--ink-mute); letter-spacing: 0.06em;
    background: oklch(94% 0.008 60); padding: 2px 6px; border-radius: 999px;
}
.mock-side__icon {
    width: 14px; height: 14px; fill: none; stroke: var(--ink-mute);
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.mock-side__item.is-active {
    background: oklch(95% 0.020 30 / 0.7); color: var(--oxblood);
    /* OVERRIDE §11 - editor's-mark pasek aktywnego itemu w sidebar */
    border-left: 3px solid var(--oxblood); padding-left: 5px;
}
.mock-side__item.is-active .mock-side__icon { stroke: var(--oxblood); }
.mock-side__item.is-active em { color: var(--oxblood); background: oklch(94% 0.04 28); }
.mock-side__item--bot { margin-top: auto; padding-top: 10px; border-top: 1px solid oklch(92% 0.010 60); }
.mock-side__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--oxblood); }

.mock-main {
    padding: 14px 16px;
    display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.mock-main__head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 12px; padding-bottom: 4px;
    border-bottom: 1px solid oklch(92% 0.010 60);
}
.mock-main__title {
    font-family: var(--display); font-weight: 700; font-size: 16px;
    text-transform: uppercase; margin: 0; line-height: 1;
    letter-spacing: -0.01em; color: var(--ink);
}
.mock-main__crumb {
    font-family: var(--mono); font-size: 10px;
    color: var(--ink-mute); letter-spacing: 0.06em; margin-top: 4px;
}
.mock-main__actions { display: flex; align-items: center; gap: 8px; }

/* tabs/chips/btn */
.mock-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-tab {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
    text-transform: uppercase; padding: 5px 10px;
    border-radius: 6px; color: var(--ink-mute);
    background: transparent; border: 1px solid transparent;
}
.mock-tab.is-active {
    color: var(--oxblood);
    background: oklch(95% 0.018 30 / 0.7);
    border-color: oklch(80% 0.06 30 / 0.4);
}
.mock-tab--ok {
    color: oklch(40% 0.10 145) !important;
    background: oklch(94% 0.08 145 / 0.4) !important;
    border-color: oklch(78% 0.10 145 / 0.40) !important;
}
.mock-tabs--filters .mock-tab { border: 1px solid oklch(90% 0.010 60); background: var(--paper); }
.mock-tabs--filters .mock-tab.is-active { background: oklch(95% 0.020 30 / 0.7); border-color: oklch(80% 0.06 30 / 0.4); }

.mock-crm__search {
    font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute);
    padding: 5px 12px;
    border: 1px solid oklch(90% 0.010 60);
    border-radius: 6px; background: var(--paper);
}
.mock-btn {
    appearance: none; font-family: var(--mono); font-size: 10.5px;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--paper); background: var(--ink);
    border: 0; padding: 6px 12px; border-radius: 6px; cursor: default; line-height: 1;
}

/* ── KPI tiles ─────────────────────────────────────────────── */
.mock-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock-kpi__tile {
    background: oklch(96% 0.008 60);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 8px; padding: 8px 10px;
    display: flex; flex-direction: column; gap: 2px;
}
.mock-kpi__tile em {
    font-style: normal; font-family: var(--mono); font-size: 9px;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute);
}
.mock-kpi__tile b { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.1; }
.mock-kpi__tile span { font-family: var(--mono); font-size: 9px; color: var(--ink-mute); }
.mock-kpi__tile--ok b { color: oklch(46% 0.12 145); }
.mock-kpi__tile--accent {
    background: oklch(94% 0.025 28 / 0.4);
    /* OVERRIDE §11 - KPI tile accent */
    border-left: 3px solid var(--oxblood);
}
.mock-kpi__tile--accent b { color: var(--oxblood); }

/* ── CRM kanban ───────────────────────────────────────────── */
.mock-crm__board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock-col {
    background: oklch(96% 0.008 60);
    border-radius: 8px; padding: 8px 6px;
    display: flex; flex-direction: column; gap: 5px;
}
.mock-col__h {
    font-family: var(--mono); font-size: 9.5px;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-mute);
    display: flex; justify-content: space-between; padding: 0 2px 2px;
}
.mock-col__h em { font-style: normal; color: var(--oxblood); font-weight: 700; }
.mock-card {
    background: oklch(99% 0.004 60);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 6px; padding: 6px 8px;
    display: flex; flex-direction: column; gap: 1px;
    font-size: 10.5px; line-height: 1.3;
}
.mock-card b { color: var(--ink); font-weight: 700; font-size: 11px; }
.mock-card span { color: var(--ink-mute); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.04em; }
.mock-card--hot {
    /* OVERRIDE §11 - editor's-mark priorytet karty CRM */
    border-left: 3px solid var(--oxblood);
}
.mock-card--won {
    background: oklch(94% 0.10 28 / 0.18);
    border-color: oklch(78% 0.10 28 / 0.35);
}
.mock-card--won b { color: var(--oxblood); }

/* ── CHAT / Asystent AI ───────────────────────────────────── */
.mock-side--chat .mock-side__logo { margin-bottom: 8px; }
.mock-convos { display: flex; flex-direction: column; gap: 2px; }
.mock-convo {
    display: grid; grid-template-columns: 26px 1fr auto;
    grid-template-rows: auto auto; column-gap: 8px;
    align-items: center; padding: 6px 6px;
    border-radius: 6px; cursor: default;
}
.mock-convo.is-active {
    background: oklch(95% 0.020 30 / 0.7);
    /* OVERRIDE §11 - active conversation */
    border-left: 3px solid var(--oxblood); padding-left: 3px;
}
.mock-convo__av {
    width: 26px; height: 26px; grid-row: 1 / span 2;
    border-radius: 50%; background: oklch(90% 0.012 60);
    color: var(--ink); font-family: var(--display);
    font-weight: 700; font-size: 10px;
    display: inline-flex; align-items: center; justify-content: center;
}
.mock-convo__meta {
    grid-column: 2; grid-row: 1 / span 2;
    display: flex; flex-direction: column; gap: 1px; min-width: 0;
}
.mock-convo__meta b {
    color: var(--ink); font-weight: 700; font-size: 11px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-convo__meta em {
    font-style: normal; color: var(--ink-mute);
    font-size: 10px; line-height: 1.2;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-convo__t { grid-column: 3; grid-row: 1; font-family: var(--mono); font-size: 9px; color: var(--ink-mute); }
.mock-convo__badge {
    grid-column: 3; grid-row: 2;
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    color: var(--paper); background: var(--oxblood);
    padding: 1px 6px; border-radius: 999px; justify-self: end;
}

.mock-main--chat { padding: 0; background: oklch(98% 0.005 70); }
.mock-chat__head {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid oklch(92% 0.010 60);
}
.mock-chat__avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--oxblood); color: var(--paper);
    font-family: var(--display); font-weight: 700; font-size: 12px;
    display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.mock-chat__name {
    font-family: var(--display); font-weight: 700; font-size: 13px;
    color: var(--ink); line-height: 1.1;
    text-transform: uppercase; letter-spacing: 0.01em;
    display: flex; flex-direction: column; gap: 2px; flex: 1;
}
.mock-chat__name em {
    font-family: var(--mono); font-style: normal;
    text-transform: lowercase; font-size: 10px;
    color: oklch(58% 0.16 145); letter-spacing: 0.05em; font-weight: 500;
}
.mock-chat__actions { display: flex; gap: 4px; }
.mock-chat__actions span { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-mute); }
.mock-chat__msgs { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.mock-msg-day {
    align-self: center; font-family: var(--mono);
    font-size: 9px; letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--ink-mute); padding: 2px 10px;
    background: oklch(95% 0.008 60); border-radius: 999px; margin-bottom: 4px;
}
.mock-msg { padding: 7px 11px; border-radius: 14px; max-width: 80%; font-size: 11.5px; line-height: 1.4; }
.mock-msg--in { align-self: flex-start; background: oklch(95% 0.008 60); color: var(--ink); border-top-left-radius: 4px; }
.mock-msg--out { align-self: flex-end; background: var(--oxblood); color: var(--paper); border-top-right-radius: 4px; }
.mock-msg--typing {
    align-self: flex-start; background: oklch(95% 0.008 60);
    padding: 9px 13px; border-top-left-radius: 4px;
    display: inline-flex; gap: 4px; width: fit-content;
}
.mock-msg--typing span {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--ink-mute);
    animation: mockTyping 1.2s infinite ease-in-out;
}
.mock-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.mock-msg--typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes mockTyping {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30%           { opacity: 1;   transform: translateY(-3px); }
}
.mock-chat__input {
    margin: 8px 16px 16px; padding: 8px 14px;
    border: 1px solid oklch(90% 0.010 60); border-radius: 999px;
    background: var(--paper); font-family: var(--mono);
    font-size: 10.5px; color: var(--ink-mute);
}

/* ── Dashboard: lejek + sources ──────────────────────────── */
.mock-funnel {
    background: oklch(96% 0.008 60);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 8px; padding: 10px 12px;
    display: flex; flex-direction: column; gap: 6px;
}
.mock-funnel__h {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink-mute);
    display: flex; justify-content: space-between; margin-bottom: 2px;
}
.mock-funnel__row {
    display: grid; grid-template-columns: 70px 1fr 86px;
    align-items: center; gap: 8px;
}
.mock-funnel__lbl {
    font-family: var(--mono); font-size: 10px; color: var(--ink-2);
    text-transform: uppercase; letter-spacing: 0.04em;
}
.mock-funnel__val { font-family: var(--mono); font-size: 10px; color: var(--ink); text-align: right; }
.mock-bar {
    display: block; height: 14px; border-radius: 4px;
    background: linear-gradient(90deg, oklch(82% 0.10 30) 0%, oklch(72% 0.13 30) 100%);
}
.mock-bar--end {
    background: linear-gradient(90deg, var(--oxblood) 0%, oklch(48% 0.20 28) 100%);
}

.mock-srcs {
    background: oklch(96% 0.008 60);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 8px; padding: 8px 12px;
}
.mock-srcs__h {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px;
}
.mock-srcs__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock-src {
    display: flex; flex-direction: column; gap: 1px;
    background: var(--paper);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 6px; padding: 5px 8px;
}
.mock-src em { font-style: normal; font-family: var(--mono); font-size: 9px; color: var(--ink-mute); letter-spacing: 0.05em; text-transform: uppercase; }
.mock-src b { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); }

/* ── Email automation timeline ───────────────────────────── */
.mock-timeline {
    position: relative; padding: 4px 0 4px 18px;
    display: flex; flex-direction: column; gap: 10px;
}
.mock-timeline::before {
    content: ''; position: absolute;
    left: 5px; top: 8px; bottom: 8px;
    width: 2px; background: oklch(88% 0.010 60);
}
.mock-step {
    display: grid;
    grid-template-columns: 64px 1fr; align-items: start;
    gap: 10px; position: relative;
}
.mock-step__dot {
    position: absolute; left: -18px; top: 4px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--paper);
    border: 3px solid var(--oxblood);
}
.mock-step__dot--alt { border-color: oklch(80% 0.06 28); background: oklch(94% 0.025 28); }
.mock-step__time {
    font-family: var(--mono); font-size: 10px;
    color: var(--oxblood); letter-spacing: 0.04em;
    text-transform: uppercase; padding-top: 2px;
}
.mock-step__body {
    display: flex; flex-direction: column; gap: 3px;
    padding: 8px 10px; border-radius: 6px;
    background: oklch(96% 0.008 60);
    border: 1px solid oklch(91% 0.010 60);
    font-size: 11px;
}
.mock-step__body b { color: var(--ink); font-weight: 700; font-size: 11.5px; }
.mock-step__body span { color: var(--ink-2); font-size: 10.5px; line-height: 1.4; }
.mock-step__body em {
    font-style: normal; font-family: var(--mono);
    font-size: 9.5px; color: var(--ink-mute);
    letter-spacing: 0.05em; margin-top: 2px;
}
.mock-step--branch .mock-step__body {
    /* OVERRIDE §11 - krok warunkowy w sekwencji */
    border-left: 3px solid oklch(82% 0.18 86);
}

/* ── AI-search visibility (MEGA WOW) ─────────────────────── */
.mock-aisearch {
    padding: 18px 22px;
    display: flex; flex-direction: column; gap: 14px;
    background: oklch(98% 0.005 70);
    min-height: 380px;
}
.mock-aisearch__bar {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 999px;
    background: var(--paper);
    border: 1px solid oklch(90% 0.010 60);
}
.mock-aisearch__icon svg {
    width: 14px; height: 14px;
    fill: none; stroke: var(--ink-mute);
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.mock-aisearch__query { flex: 1; font-size: 12.5px; color: var(--ink); font-weight: 500; }
.mock-aisearch__engine {
    font-family: var(--mono); font-size: 9.5px;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--oxblood);
    padding: 3px 9px; border-radius: 999px;
    background: oklch(94% 0.025 28 / 0.55);
    border: 1px solid oklch(78% 0.10 28 / 0.30);
}

.mock-aisearch__answer-h {
    font-family: var(--mono); font-size: 10px;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 4px;
}
.mock-aisearch__answer p { font-size: 12.5px; line-height: 1.6; color: var(--ink); margin: 4px 0; }
.mock-aisearch__answer mark {
    background: oklch(94% 0.10 28 / 0.55);
    color: var(--oxblood); font-weight: 700;
    padding: 0 4px; border-radius: 3px;
}
.mock-cite {
    font-family: var(--mono); font-size: 9px;
    color: var(--oxblood); font-weight: 700;
    vertical-align: super;
    background: oklch(94% 0.025 28 / 0.55);
    padding: 1px 4px; border-radius: 3px;
    margin-left: 2px;
}
.mock-cite--mut { color: var(--ink-mute); background: oklch(94% 0.008 60); }
.mock-aisearch__followup { color: var(--ink-mute) !important; font-size: 11.5px !important; }

.mock-aisearch__sources-h {
    font-family: var(--mono); font-size: 10px;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 6px;
}
.mock-aisearch__sources-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 6px;
}
.mock-source {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 10px; border-radius: 8px;
    background: var(--paper);
    border: 1px solid oklch(90% 0.010 60);
    font-size: 10.5px; color: var(--ink-2);
    min-width: 0;
}
.mock-source__num {
    font-family: var(--mono); font-size: 9.5px;
    color: var(--ink-mute); letter-spacing: 0.04em;
}
.mock-source__name {
    font-family: var(--mono); font-weight: 600;
    color: var(--ink); font-size: 10.5px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    flex: 1;
}
.mock-source--first {
    background: oklch(94% 0.025 28 / 0.5);
    border: 1.5px solid var(--oxblood);
    box-shadow: 0 0 0 4px oklch(78% 0.12 28 / 0.15);
}
.mock-source--first .mock-source__name { color: var(--oxblood); font-weight: 700; }
.mock-source__star {
    display: inline-flex; flex: none;
}
.mock-source__star svg {
    width: 14px; height: 14px;
    fill: var(--oxblood); stroke: var(--oxblood);
    stroke-width: 1.5; stroke-linejoin: round;
}
.mock-source__tag {
    font-style: normal; font-family: var(--mono);
    font-size: 8.5px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--oxblood);
    padding: 2px 6px; border-radius: 999px;
    background: var(--paper);
    border: 1px solid oklch(78% 0.10 28 / 0.35);
    font-weight: 700; white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────────
   Subpage refactor - hero / demo extended / use cases / pakiet / cta
   ────────────────────────────────────────────────────────────── */
.sub-hero {
    padding: clamp(70px, 8vw, 130px) 0 clamp(50px, 6vw, 80px);
}
.sub-hero__inner { max-width: 60ch; }
.sub-hero__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--ink);
    margin: var(--sp-4) 0 var(--sp-5);
}
.sub-hero__deck {
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 52ch;
    margin: 0 0 var(--sp-5);
}
.sub-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 2px solid var(--oxblood);
    padding-bottom: 4px;
    transition: color 200ms, transform 200ms;
}
.sub-hero__cta:hover { color: var(--oxblood); transform: translateX(4px); }
.sub-hero__cta--big { font-size: clamp(1.4rem, 2.2vw, 2rem); }

.sub-demo { padding: 0 0 clamp(60px, 7vw, 100px); }
.sub-demo .section__inner { max-width: 1100px; }
.demo-frame--sub { transform: rotate(0) !important; }
.demo-frame--sub .demo-frame__body { min-height: 540px; }

/* Panel powiadomień (subpage-only) */
.mock-notif {
    margin-top: 10px;
    background: oklch(96% 0.008 60);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 8px;
    padding: 10px 12px;
}
.mock-notif__h {
    font-family: var(--mono); font-size: 10px;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-mute);
    display: flex; justify-content: space-between;
    margin-bottom: 6px;
}
.mock-notif__h em {
    font-style: normal; color: var(--oxblood); font-weight: 700;
}
.mock-notif__list { display: flex; flex-direction: column; gap: 4px; }
.mock-notif__item {
    display: grid;
    grid-template-columns: 22px 1fr 50px;
    gap: 8px; align-items: center;
    padding: 6px 8px;
    background: var(--paper);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 6px;
    font-size: 10.5px;
}
.mock-notif__item--hot {
    background: oklch(94% 0.025 28 / 0.45);
    /* OVERRIDE §11 - pasek priorytetu powiadomienia */
    border-left: 3px solid var(--oxblood);
}
.mock-notif__ico { display: inline-flex; }
.mock-notif__ico svg {
    width: 14px; height: 14px;
    fill: none; stroke: var(--ink);
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.mock-notif__item--hot .mock-notif__ico svg { stroke: var(--oxblood); }
.mock-notif__txt {
    display: flex; flex-direction: column; gap: 1px;
    min-width: 0;
}
.mock-notif__txt b { color: var(--ink); font-weight: 700; font-size: 10.5px; }
.mock-notif__txt em {
    font-style: normal; color: var(--ink-mute);
    font-family: var(--mono); font-size: 9.5px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-notif__t {
    font-family: var(--mono); font-size: 9.5px;
    color: var(--ink-mute); text-align: right;
}

/* Use cases grid */
.sub-cases {
    padding: clamp(60px, 8vw, 110px) 0;
    background: oklch(96% 0.012 60);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.sub-cases__head { max-width: 60ch; margin-bottom: var(--sp-6); }
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.usecase-card {
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: var(--sp-5);
    display: flex; flex-direction: column; gap: var(--sp-3);
    transition: transform 280ms var(--ease-out-quart), box-shadow 280ms, border-color 280ms;
}
.usecase-card:hover {
    transform: translateY(-3px);
    border-color: var(--oxblood);
    box-shadow: 0 22px 50px -22px oklch(20% 0.020 30 / 0.22);
}
.usecase-card__industry {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--oxblood);
}
.usecase-card__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0;
}
.usecase-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
}
@media (max-width: 900px) {
    .usecase-grid { grid-template-columns: 1fr; }
}

/* Pakiet callout */
.sub-pakiet { padding: clamp(60px, 7vw, 100px) 0; }
.pakiet-card {
    background: var(--paper-2);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 56px);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    /* OVERRIDE §11 - pakiet callout pasek akcent */
    border-left: 3px solid var(--oxblood);
}
.pakiet-card__title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ink);
    margin: var(--sp-3) 0 var(--sp-4);
}
@media (max-width: 760px) {
    .pakiet-card { grid-template-columns: 1fr; }
}

/* Sub CTA */
.sub-cta {
    padding: clamp(80px, 10vw, 140px) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--paper) 0%, oklch(94% 0.018 50) 100%);
    border-top: 1px solid var(--line);
}
.sub-cta__inner { max-width: 60ch; margin: 0 auto; }
.sub-cta p {
    font-size: 1.1rem;
    color: var(--ink-2);
    margin: var(--sp-4) 0 var(--sp-5);
    line-height: 1.55;
}

/* ──────────────────────────────────────────────────────────────
   Section bg variations - subtelne kolorystyczne odróżnienie sekcji
   (alternating warm/cool/tint w obrębie warm-white palety)
   ────────────────────────────────────────────────────────────── */
.section--cool { background: oklch(97% 0.006 105); }
.section--warm { background: oklch(95% 0.022 50); }
.section--tinted { background: oklch(94% 0.025 28 / 0.35); }

.section + .section,
.section + .ticker + .section {
    border-top: 1px solid oklch(91% 0.010 60);
}

/* Editorial side-rubric: wielki numer sekcji w tle (page-number z magazynu) */
.section {
    position: relative;
    overflow: hidden;
}
.section[data-rubric]::before {
    content: attr(data-rubric);
    position: absolute;
    top: clamp(40px, 5vw, 80px);
    right: clamp(20px, 3vw, 56px);
    font-family: var(--mono);
    font-weight: 500;
    font-size: clamp(80px, 11vw, 200px);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: oklch(85% 0.020 30);
    opacity: 0.22;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.section__inner { position: relative; z-index: 1; }

/* W ciemnej sekcji (proces) inverse */
.section.proces[data-rubric]::before { color: var(--ink-mute); opacity: 0.10; }

/* ──────────────────────────────────────────────────────────────
   Sites slider (strona-www subpage) - 3 zdjęcia stron klientów
   w browser-frame, fade-crossfade transition + dots + arrows
   ────────────────────────────────────────────────────────────── */
.demo-frame--sites .demo-frame__body { padding: 0; min-height: auto; }
.sites-slider { position: relative; }
.sites-slider__viewport {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--paper);
}
.sites-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}
.sites-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 600ms var(--ease-out-quart);
    pointer-events: none;
}
.sites-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.sites-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sites-slider__cap {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: var(--paper);
    padding: 7px 14px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-2);
    /* OVERRIDE §11 - editor's-mark caption (consistent z hero__photo-cap) */
    border-left: 3px solid var(--oxblood);
    z-index: 2;
}
.sites-slider__cap strong { color: var(--ink); margin-right: 8px; }

.sites-slider__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 14px;
    background: oklch(96% 0.008 60);
    border-top: 1px solid oklch(90% 0.010 60);
}
.sites-slider__arrow {
    appearance: none;
    width: 32px; height: 32px;
    padding: 0;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: color 200ms, border-color 200ms;
}
.sites-slider__arrow:hover { color: var(--oxblood); border-color: var(--oxblood); }

.sites-slider__dots { display: flex; gap: 8px; }
.sites-slider__dot {
    appearance: none;
    width: 28px; height: 3px;
    padding: 0; border: 0;
    background: var(--line-strong);
    cursor: pointer;
    transition: background 200ms;
}
.sites-slider__dot.is-active { background: var(--oxblood); }
.sites-slider__dot:hover { background: var(--ink-mute); }

@media (prefers-reduced-motion: reduce) {
    .sites-slider__slide { transition: none; }
}

/* ──────────────────────────────────────────────────────────────
   Hero LIVE narrative — JEDEN browser-frame, 6 kroków animacji w 7s loop
   ────────────────────────────────────────────────────────────── */

/* Outer container (subtelna podstawka pod browser-frame, zaokrąglona) */
.hero__inner--split .hero__flow {
    margin: 0;
    padding: clamp(14px, 1.8vw, 24px);
    border: 1px solid oklch(89% 0.012 55);
    background: var(--paper-2);
    border-radius: 26px;
    box-shadow: 0 24px 60px -34px oklch(20% 0.020 30 / 0.22);
    overflow: visible;
}

.hero-live {
    position: relative;
    width: 100%;
}

.hero-live__frame {
    background: oklch(98% 0.005 70);
    border: 1px solid oklch(86% 0.012 60);
    border-radius: 18px;
    box-shadow:
        0 30px 80px -28px oklch(20% 0.020 30 / 0.32),
        0 1px 0 oklch(99% 0.004 60) inset;
    overflow: hidden;
}

.hero-live__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: oklch(96% 0.008 60);
    border-bottom: 1px solid oklch(90% 0.010 60);
}
.hero-live__dots { display: flex; gap: 7px; }
.hero-live__dots span {
    width: 11px; height: 11px; border-radius: 50%; display: block;
}
.hero-live__dots span:nth-child(1) { background: oklch(72% 0.18 27); }
.hero-live__dots span:nth-child(2) { background: oklch(82% 0.16 86); }
.hero-live__dots span:nth-child(3) { background: oklch(76% 0.16 145); }
.hero-live__url {
    font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
    background: var(--paper);
    border: 1px solid oklch(90% 0.010 60);
    padding: 4px 14px; border-radius: 999px;
    margin: 0 auto;
}
.hero-live__live {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--oxblood);
    padding: 3px 8px;
    border-radius: 999px;
    background: oklch(94% 0.025 28 / 0.55);
    border: 1px solid oklch(78% 0.10 28 / 0.30);
    font-weight: 700;
}
.hero-live__live em {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: oklch(58% 0.20 28);
    box-shadow: 0 0 0 3px oklch(78% 0.12 28 / 0.25);
    animation: heroLivePulse 1.2s ease-in-out infinite;
}
@keyframes heroLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.85); }
}

.hero-live__body {
    padding: clamp(18px, 2.5vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 460px;
    font-size: 13px;
    color: var(--ink);
    counter-reset: step;
}

/* ── Wspólny chip "①…" oraz step state machine ── */
.hero-live__chip {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin-bottom: 6px;
}

.hero-live__step {
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.hero-live__step.is-on {
    opacity: 1;
    transform: translateY(0);
}

/* Arrow connectors */
.hero-live__arrow {
    align-self: center;
    width: 1.5px;
    height: 18px;
    background: var(--oxblood);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition:
        opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.hero-live__arrow::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 50%; transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--oxblood);
}
.hero-live__arrow.is-on { opacity: 0.55; transform: scaleY(1); }

/* ── ① FORM ─────────────────────────────────────────────────── */
.hero-live__step--form {
    background: var(--paper);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.hero-live__field {
    display: flex; flex-direction: column; gap: 3px;
    font-size: 12px;
}
.hero-live__lbl {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.hero-live__val {
    display: inline-block;
    background: oklch(96% 0.008 60);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 6px;
    padding: 7px 10px;
    color: var(--ink);
    font-size: 12px;
    min-height: 14px;
    overflow: hidden;
    position: relative;
}
.hero-live__val::after {
    content: attr(data-text);
    display: inline-block;
    white-space: nowrap;
    width: 0;
    overflow: hidden;
    transition: width 600ms steps(20, end);
}
.hero-live__val.is-typed::after { width: 100%; }
.hero-live__val.is-typed::before {
    content: ''; position: absolute; right: 8px; top: 50%;
    transform: translateY(-50%);
    width: 1.5px; height: 14px;
    background: var(--oxblood);
    animation: heroLiveCaret 0.6s steps(2, end) 4;
}
@keyframes heroLiveCaret {
    50% { opacity: 0; }
}

.hero-live__submit {
    appearance: none;
    background: var(--ink);
    color: var(--paper);
    border: 0;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    cursor: default;
    align-self: flex-start;
    position: relative;
    transition: background 320ms ease-out, color 320ms ease-out;
}
.hero-live__submit-done {
    display: none;
}
.hero-live__submit.is-done {
    background: oklch(46% 0.12 145);
    color: var(--paper);
}
.hero-live__submit.is-done .hero-live__submit-default { display: none; }
.hero-live__submit.is-done .hero-live__submit-done { display: inline; }

/* ── ② AI bubble ────────────────────────────────────────────── */
.hero-live__ai {
    display: flex; gap: 10px; align-items: flex-start;
}
.hero-live__ai-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--oxblood);
    color: var(--paper);
    font-family: var(--display);
    font-weight: 700;
    font-size: 11px;
    display: inline-flex;
    align-items: center; justify-content: center;
    flex: none;
}
.hero-live__ai-bubble {
    background: var(--paper);
    border: 1px solid oklch(91% 0.010 60);
    border-top-left-radius: 4px;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink);
    max-width: 92%;
}
.hero-live__ai-bubble b { color: var(--oxblood); font-weight: 700; }

/* ── Row: calendar + KPI side by side ───────────────────────── */
.hero-live__row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12px;
}

/* ── ③ Kalendarz ────────────────────────────────────────────── */
.hero-live__cal {
    background: var(--paper);
    border: 1px solid oklch(91% 0.010 60);
    border-radius: 10px;
    padding: 10px 12px;
}
.hero-live__cal-head {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 6px;
}
.hero-live__cal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 12px;
}
.hero-live__cal-grid span:nth-child(-n+5) {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--ink-mute);
    text-transform: uppercase;
    padding: 2px 0 4px;
}
.hero-live__cal-grid span:nth-child(n+6) {
    padding: 8px 0;
    border-radius: 6px;
    background: oklch(96% 0.008 60);
    color: var(--ink-2);
    font-family: var(--mono);
    font-size: 11px;
    position: relative;
}
.hero-live__cal-grid .is-booked {
    background: var(--oxblood) !important;
    color: var(--paper) !important;
    font-weight: 700;
}
.hero-live__cal-grid .is-booked em {
    position: absolute;
    top: 1px; right: 3px;
    font-size: 9px;
    font-style: normal;
}

/* ── ④ KPI ──────────────────────────────────────────────────── */
.hero-live__kpi {
    background: var(--paper);
    border: 1px solid oklch(91% 0.010 60);
    /* OVERRIDE §11 - editor's-mark accent na live KPI tile */
    border-left: 3px solid var(--oxblood);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    min-height: 92px;
}
.hero-live__kpi-label {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.hero-live__kpi-val {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.hero-live__kpi-val b {
    font-family: var(--display);
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    color: var(--ink);
    transition: color 320ms;
}
.hero-live__kpi.is-on b { color: var(--oxblood); }
.hero-live__kpi-val em {
    font-family: var(--mono);
    font-style: normal;
    font-size: 10px;
    color: var(--oxblood);
    letter-spacing: 0.06em;
    font-weight: 700;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 320ms 200ms, transform 320ms 200ms;
}
.hero-live__kpi.is-on em { opacity: 1; transform: translateY(0); }

/* ── ⑤ SMS ──────────────────────────────────────────────────── */
.hero-live__step--sms {
    background: var(--paper);
    border: 1px solid oklch(91% 0.010 60);
    /* OVERRIDE §11 - editor's-mark accent na sms toast */
    border-left: 3px solid oklch(58% 0.16 145);
    border-radius: 10px;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: 28px 1fr 24px;
    gap: 10px;
    align-items: center;
}
.hero-live__sms-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: oklch(94% 0.08 145 / 0.5);
    color: oklch(46% 0.12 145);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hero-live__sms-icon svg { width: 16px; height: 16px; }
.hero-live__sms-text {
    display: flex; flex-direction: column; gap: 1px;
    font-size: 12px; line-height: 1.3;
}
.hero-live__sms-text b { color: var(--ink); font-weight: 700; font-size: 12px; }
.hero-live__sms-text em {
    font-family: var(--mono);
    font-style: normal;
    font-size: 9.5px;
    color: var(--ink-mute);
    letter-spacing: 0.05em;
}
.hero-live__sms-tick {
    color: oklch(46% 0.12 145);
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

/* prefers-reduced-motion: pokaż wszystko statycznie, brak animacji */
@media (prefers-reduced-motion: reduce) {
    .hero-live__step,
    .hero-live__arrow {
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-live__val::after { width: 100% !important; }
    .hero-live__val.is-typed::before { animation: none !important; }
    .hero-live__live em { animation: none !important; }
}

@media (max-width: 980px) {
    .hero-live__row { grid-template-columns: 1fr; }
    .hero-live__body { min-height: auto; }
}


/* ──────────────────────────────────────────────────────────────
   Form success / error states
   ────────────────────────────────────────────────────────────── */
.form__success {
    padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px);
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    /* OVERRIDE §11 - editor's-mark pasek na success card */
    border-left: 3px solid oklch(46% 0.12 145);
    text-align: center;
}
.form__success h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 var(--sp-3);
}
.form__success p {
    font-size: 1.05rem;
    color: var(--ink-2);
    margin: 0;
}
.form__error {
    margin-top: var(--sp-4);
    padding: 12px 16px;
    background: oklch(94% 0.025 28 / 0.4);
    /* OVERRIDE §11 - error message accent */
    border-left: 3px solid var(--oxblood);
    color: var(--ink);
    font-size: 0.95rem;
}

/* Disclaimer pod hero stack + demos */
.hero__stack-note {
    margin-top: clamp(28px, 4vw, 48px);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--ink-mute);
    display: flex; align-items: center; gap: 8px;
    line-height: 1.5;
}
.hero__stack-note span {
    color: var(--oxblood);
    font-size: 10px;
}
.demos__lead em {
    font-style: normal;
    color: var(--ink-mute);
    font-size: 0.92em;
    display: block;
    margin-top: 6px;
}

