/* ==========================================================================
   SiteCode: design system v3 (strona główna, portfolio, polityka prywatności).
   Paleta bez zmian: ivory #FAF9F5, ink #141413, jeden akcent clay (#B5532F / #D97757).
   Typografia: Bricolage Grotesque (nagłówki, kondensowany) + Geist (tekst) + Geist Mono (tylko dane w symulacji).
   Zasada ruchu: jeden zorkiestrowany moment (hero), reszta odpowiada na przewijanie lub kliknięcie.
   Fonty self-host w /images/fonts/ (wyjątek /images/* w edge function).
   ========================================================================== */

@font-face { font-family: "Geist"; src: url("images/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("images/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("images/fonts/Bricolage-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; src: url("images/fonts/Bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FAF9F5;
  --tint: #F3F1E9;
  --card: #FFFFFF;
  --ink: #141413;
  --ink-2: #3B3A36;
  --muted: #6B6962;
  --line: #E7E3D7;
  --line-2: #D6D1C1;
  --clay: #D97757;
  --accent: #B5532F;
  --accent-hov: #98431F;
  --accent-text: #A24726;
  --accent-tint: #F6E6DC;
  --accent-tint-2: #EDCDBB;
  --ok: #4F7A4B;
  --on-dark: #D8D4C7;
  --on-dark-muted: #A9A597;
  --dark-line: rgba(250, 249, 245, 0.14);
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-1: 0 1px 2px rgba(20, 20, 19, 0.04), 0 12px 30px -14px rgba(60, 40, 20, 0.16);
  --shadow-2: 0 2px 4px rgba(20, 20, 19, 0.05), 0 40px 80px -30px rgba(90, 50, 25, 0.34);
  --header-h: 72px;
  --sec-y: clamp(68px, 9vw, 128px);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html.menu-open { overflow: hidden; }
img, svg { max-width: 100%; }
img { display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent-tint-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
svg { width: 1em; height: 1em; flex: none; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--clay); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; pointer-events: none; }

/* ---------- Typografia ---------- */
.h1, .h2, .h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
.h1 { font-weight: 700; font-stretch: 78%; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 0.96; letter-spacing: -0.035em; }
.h2 { font-weight: 650; font-stretch: 84%; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.h3 { font-weight: 620; font-stretch: 90%; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.12; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.inline-link { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.inline-link:hover { color: var(--accent-hov); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.link-btn:hover { color: var(--accent-hov); }

/* Nagłówki rozbijane na słowa (maska + wejście), tylko gdy JS i ruch dozwolony. */
.js .split { opacity: 0; animation: split-fallback .01s 2s forwards; }
.js .split.is-ready { opacity: 1; animation: none; }
.split .w { display: inline-block; overflow: clip; vertical-align: bottom; padding: 0.04em 0.06em 0.14em; margin: -0.04em -0.06em -0.14em; }
.split .w__i { display: inline-block; }
.anim .split .w__i { transform: translateY(112%); transition: transform .95s var(--ease); transition-delay: calc(var(--i, 0) * 38ms); }
.anim .split.is-in .w__i { transform: none; }
@keyframes split-fallback { to { opacity: 1; } }
.split .line { display: inline; }

/* ---------- Przyciski ---------- */
.btn { --h: 52px; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), box-shadow .35s var(--ease), color .3s, border-color .3s, background-color .3s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: scale(0.97); }
.btn--lg { --h: 56px; padding: 0 30px; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .94rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #FFF8F2; }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-hov); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn--primary:hover::before { transform: none; }
.btn--primary:hover { box-shadow: 0 14px 30px -12px rgba(181, 83, 47, 0.65); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(20, 20, 19, 0.04); }
.btn[disabled] { opacity: .6; cursor: progress; }
.on-dark .btn--primary { background: var(--clay); color: var(--ink); }
.on-dark .btn--primary::before { background: #EE9677; }
.on-dark .btn--primary:hover { box-shadow: 0 14px 34px -12px rgba(217, 119, 87, 0.6); }
.on-dark .btn--ghost { color: var(--bg); border-color: rgba(250, 249, 245, .32); }
.on-dark .btn--ghost:hover { border-color: var(--bg); background: rgba(250, 249, 245, .08); }

/* ---------- Nagłówek ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(250, 249, 245, 0.9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; flex: none; }
.logo__img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link { position: relative; padding: 10px 13px; font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link.is-active, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .95rem; color: var(--ink-2); white-space: nowrap; }
.header__phone svg { width: 16px; height: 16px; color: var(--accent); }
.header__phone:hover { color: var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 12px; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Sekcje (wspólne) ---------- */
.sec { padding-block: var(--sec-y); }
.sec--tint { background: var(--tint); }
.sec--flush { padding-top: 0; }
.sec__head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 60px); }
.sec__head .h2 { margin-bottom: 20px; }
.sec__cta { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.sec__cta p { color: var(--muted); font-size: .98rem; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5532F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.ticks b { color: var(--ink); font-weight: 600; }
.on-dark .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97757' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.hero__title { max-width: none; }
.hero__title .line { display: block; }
.hero__grid { margin-top: clamp(32px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4.5vw, 72px); align-items: start; }
.hero__sub { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.58; color: var(--ink-2); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__micro { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: .95rem; font-weight: 500; color: var(--ink); }
.hero__micro span { display: inline-flex; align-items: center; gap: 8px; }
.hero__micro svg { width: 16px; height: 16px; color: var(--accent); }
.hero__proof { margin-top: 18px; color: var(--muted); font-size: .98rem; max-width: 46ch; }

/* Wyścig odpowiedzi */
.race__panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-2); padding: 22px 24px 8px; }
.race__lead { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding-bottom: 18px; }
.race__stamp { font: 500 .88rem/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--tint); border-radius: 8px; padding: 8px 10px; }
.race__msg { display: grid; gap: 3px; font-size: .98rem; line-height: 1.45; }
.race__msg b { color: var(--ink); font-weight: 600; }
.race__msg span { color: var(--ink-2); }
.lane { border-top: 1px solid var(--line); padding: 18px 0 20px; }
.lane__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lane__name { font-weight: 600; color: var(--ink); }
.lane__clock { font: 500 .95rem/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.lane--fast .lane__clock { color: var(--accent-text); }
.lane__track { position: relative; height: 6px; border-radius: 99px; background: var(--tint); margin: 12px 0 12px; overflow: hidden; }
.lane__fill { position: absolute; inset: 0; background: var(--line-2); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); border-radius: inherit; }
.lane--fast .lane__fill { background: var(--accent); }
.lane__status { font-size: .95rem; color: var(--muted); min-height: 1.5em; transition: opacity .35s; }
.lane__status.is-swap { opacity: 0; }
.lane__reply { font-size: .95rem; line-height: 1.5; color: var(--ink); background: var(--accent-tint); border-radius: 14px 14px 14px 4px; padding: 11px 14px; min-height: 3.6em; margin-bottom: 12px; }
.lane__reply:empty::before { content: "\00a0"; }
.lane__caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 2px; vertical-align: -0.12em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lane__steps { display: grid; gap: 6px; }
.lane__steps li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink); opacity: .35; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.lane__steps li svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; transition: background .3s, border-color .3s, color .3s; }
.lane__steps li.is-on { opacity: 1; transform: none; }
.lane__steps li.is-on svg { background: var(--accent); border-color: var(--accent); color: #fff; }
.lane__win { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--accent-text); background: var(--accent-tint); border-radius: 99px; padding: 3px 10px; margin-left: 10px; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .5s var(--ease); vertical-align: 1px; }
.race.is-won .lane__win { opacity: 1; transform: none; }
.race__cap { margin-top: 14px; font-size: .88rem; color: var(--muted); }

/* ==========================================================================
   2. PROBLEM
   ========================================================================== */
.problem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.problem__lead { position: sticky; top: calc(var(--header-h) + 36px); }
.problem__lead .h2 { margin-bottom: 20px; }
.problem__lead .btn { margin-top: 28px; }
.moments { border-top: 1px solid var(--line-2); }
.moment { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line-2); }
.moment__when { font-family: var(--display); font-weight: 650; font-stretch: 84%; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--accent-text); }
.moment h3 { font: 600 1.12rem/1.35 var(--sans); color: var(--ink); margin-bottom: 8px; }
.moment p { color: var(--ink-2); }

/* ==========================================================================
   3. PROCES WDROŻENIA (ciemna sekcja)
   ========================================================================== */
.process { background: var(--ink); color: var(--on-dark); padding-block: var(--sec-y); }
.process .h2 { color: var(--bg); margin-bottom: 20px; }
.process .lead { color: var(--on-dark); }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.process__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.process__intro .btn { margin-top: 32px; }
.tl { position: relative; --fill: 0px; }
.tl__list { position: relative; }
.tl::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 60px; width: 2px; background: var(--dark-line); }
.tl__fill { position: absolute; left: 21px; top: 22px; width: 2px; height: var(--fill); background: var(--clay); box-shadow: 0 0 20px rgba(217, 119, 87, 0.7); border-radius: 2px; }
.tl__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); padding-bottom: clamp(40px, 6vw, 72px); }
.tl__step:last-child { padding-bottom: 0; }
.js .tl__step { opacity: .36; transition: opacity .7s var(--ease); }
.js .tl__step.is-on { opacity: 1; }
.tl__mark { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(250, 249, 245, .24); background: var(--ink); display: grid; place-items: center; font: 700 1.05rem/1 var(--display); color: rgba(250, 249, 245, .6); transition: background .5s var(--ease), border-color .5s var(--ease), color .5s, transform .6s var(--ease); }
.tl__step.is-on .tl__mark { background: var(--clay); border-color: var(--clay); color: var(--ink); transform: scale(1.06); }
.tl__body h3 { font: 620 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--display); font-stretch: 88%; letter-spacing: -0.02em; color: var(--bg); margin: 6px 0 12px; }
.tl__body > p { max-width: 54ch; }
.tl__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 22px; border-top: 1px solid var(--dark-line); }
.tl__facts div { padding: 16px 20px 0 0; }
.tl__facts div + div { padding-left: 20px; border-left: 1px solid var(--dark-line); }
.tl__facts dt { font-weight: 600; color: var(--bg); font-size: .95rem; margin-bottom: 4px; }
.tl__facts dd { font-size: .95rem; line-height: 1.5; color: var(--on-dark-muted); }

/* ==========================================================================
   4. PRZYKŁAD PRACY (jedna pozycja portfolio)
   ========================================================================== */
.ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ex__copy .h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.8vw, 3rem); }
.ex__copy .ticks { margin-top: 24px; }
.ex__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ex__more { margin-top: 18px; color: var(--muted); font-size: .96rem; }
.ex__stage { perspective: 1800px; }
.browser { border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--shadow-2); overflow: hidden; transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p, 1)) * 8deg)) translateY(calc((1 - var(--p, 1)) * 40px)); will-change: transform; }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--tint); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser__bar em { margin-left: 10px; font-style: normal; font-size: .82rem; color: var(--muted); }
.browser__view { position: relative; aspect-ratio: 16 / 10; background: #EEF1F3; }
.browser__view img, .browser__view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: top; }
.browser__launch { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .96rem; cursor: pointer; box-shadow: 0 14px 34px -10px rgba(20, 20, 19, .55); transition: transform .3s var(--ease), background .3s; }
.browser__launch:hover { background: #2a2926; transform: translateX(-50%) translateY(-2px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 0 rgba(217, 119, 87, .6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(217, 119, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0); } }
.browser.is-live .browser__view { aspect-ratio: auto; height: min(640px, 72vh); }

/* ==========================================================================
   5. OFERTA
   ========================================================================== */
.flag { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-1); }
.flag__copy .h3 { margin-bottom: 16px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.flag__copy p { max-width: 52ch; }
.seq { align-self: center; border-left: 2px solid var(--line-2); }
.seq li { position: relative; padding: 4px 0 18px 26px; }
.seq li:last-child { padding-bottom: 4px; }
.seq li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); }
.seq b { display: block; font: 650 1.05rem/1.3 var(--display); font-stretch: 88%; color: var(--ink); }
.seq span { color: var(--ink-2); font-size: .98rem; }
.pipe { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(8px, 2vw, 20px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.pipe::before { content: ""; position: absolute; left: 10%; right: 10%; top: calc(clamp(24px, 3vw, 36px) + 27px); height: 2px; background: var(--line-2); }
.pipe::after { content: ""; position: absolute; left: 10%; right: 10%; top: calc(clamp(24px, 3vw, 36px) + 27px); height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.9s cubic-bezier(.45, .05, .35, 1) .2s; }
.pipe.is-in::after { transform: scaleX(1); }
.pipe__n { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; text-align: center; font-weight: 600; color: var(--ink); font-size: .98rem; }
.pipe__ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line-2); color: var(--muted); transition: background .45s var(--ease), border-color .45s var(--ease), color .45s, transform .6s var(--ease); }
.pipe__ic svg { width: 24px; height: 24px; }
.pipe.is-in .pipe__ic { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.04); }
.pipe.is-in .pipe__n:nth-child(1) .pipe__ic { transition-delay: .2s; }
.pipe.is-in .pipe__n:nth-child(2) .pipe__ic { transition-delay: .6s; }
.pipe.is-in .pipe__n:nth-child(3) .pipe__ic { transition-delay: 1s; }
.pipe.is-in .pipe__n:nth-child(4) .pipe__ic { transition-delay: 1.4s; }
.pipe.is-in .pipe__n:nth-child(5) .pipe__ic { transition-delay: 1.8s; }

.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(36px, 5vw, 64px); }
.svc li { border-top: 2px solid var(--ink); padding-top: 22px; }
.svc__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); margin-bottom: 16px; }
.svc__ic svg { width: 22px; height: 22px; }
.svc h3 { font: 620 1.4rem/1.15 var(--display); font-stretch: 90%; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px; }
.addons { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 3fr); gap: clamp(16px, 3vw, 40px); align-items: start; padding-top: 28px; border-top: 1px solid var(--line-2); }
.addons > h3 { font: 620 1.3rem/1.2 var(--display); font-stretch: 90%; color: var(--ink); }
.addons ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.addons li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.addons li span { font-size: .96rem; display: block; line-height: 1.5; }
.industries { margin-top: 32px; color: var(--muted); font-size: .98rem; max-width: 80ch; }
.industries b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   6. KALKULATOR
   ========================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc__inputs { display: grid; gap: 26px; }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; color: var(--ink); font-size: .98rem; padding: 0; }
.field__row { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 18px; align-items: center; }
input[type="number"], input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 120px; }
input:hover, textarea:hover { border-color: #b9b39f; }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(181, 83, 47, .18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B3261E; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--accent) var(--p, 50%), var(--line-2) var(--p, 50%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(20, 20, 19, .2); transition: transform .2s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(20, 20, 19, .2); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.assump { border-top: 1px solid var(--line-2); padding-top: 6px; }
.assump summary, .form__legal summary { cursor: pointer; padding-block: 12px; font-weight: 600; color: var(--accent-text); }
.assump__body { display: grid; gap: 16px; padding-bottom: 8px; }
.assump__formula { font-size: .9rem; line-height: 1.7; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.assump__note { font-size: .9rem; color: var(--muted); }
.assump__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.assump__grid label { display: grid; gap: 6px; font-size: .88rem; color: var(--ink-2); }
.assump__grid input { min-height: 42px; padding: 8px 12px; }
.calc__result { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-2); }
.calc__badge { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--clay); border: 1px solid rgba(217, 119, 87, .5); border-radius: 99px; padding: 4px 12px; }
.calc__label { margin-top: 20px; color: var(--on-dark-muted); font-size: .98rem; }
.calc__big { font: 700 clamp(2.6rem, 5vw, 3.8rem)/1.02 var(--display); font-stretch: 80%; letter-spacing: -0.03em; color: var(--bg); margin-top: 4px; font-variant-numeric: tabular-nums; }
.calc__year { color: var(--on-dark-muted); margin-top: 4px; }
.calc__year strong { color: var(--bg); font-weight: 600; }
.calc__break { margin-top: 22px; border-top: 1px solid var(--dark-line); }
.calc__break li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--dark-line); font-size: .96rem; }
.calc__break strong { color: var(--bg); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__recover { margin-top: 22px; padding: 18px; border-radius: var(--r); background: rgba(217, 119, 87, .14); }
.calc__recover p { font-size: .92rem; color: var(--on-dark); }
.calc__recover strong { display: block; font: 700 1.55rem/1.15 var(--display); font-stretch: 85%; color: var(--clay); margin-top: 4px; font-variant-numeric: tabular-nums; }
.calc__recover small { display: block; margin-top: 4px; color: var(--on-dark-muted); font-size: .88rem; }
.calc__disc { margin-top: 18px; font-size: .85rem; line-height: 1.5; color: var(--on-dark-muted); }
.calc__result .btn { margin-top: 20px; }
.calc__result .btn--primary { background: var(--clay); color: var(--ink); }
.calc__result .btn--primary::before { background: #EE9677; }

/* ==========================================================================
   7. ZAUFANIE
   ========================================================================== */
.trust { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.trust .h2 { margin-bottom: 20px; }
.trust .ticks { margin-top: 26px; gap: 16px; }
.honest { border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); background: var(--bg); }
.honest .h3 { margin-bottom: 14px; }
.honest ul { display: grid; gap: 14px; }
.honest li { position: relative; padding-left: 22px; font-size: .98rem; }
.honest li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--accent); }

/* ==========================================================================
   8. FAQ
   ========================================================================== */
.faqwrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faqwrap__head { position: sticky; top: calc(var(--header-h) + 36px); }
.faqwrap__head .h2 { margin-bottom: 18px; }
.faqwrap__head p { color: var(--ink-2); max-width: 34ch; }
.faqwrap__head .btn { margin-top: 24px; }
.faq { border-bottom: 1px solid var(--line-2); }
.faq details { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 52px 22px 0; font: 620 1.18rem/1.35 var(--display); font-stretch: 92%; color: var(--ink); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details[open] summary { color: var(--accent-text); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding: 0 52px 24px 0; max-width: 62ch; }

/* ==========================================================================
   9. KONTAKT (ciemna sekcja)
   ========================================================================== */
.contact { background: var(--ink); color: var(--on-dark); padding-block: var(--sec-y); }
.contact .h2 { color: var(--bg); margin-bottom: 20px; font-size: clamp(2.3rem, 5vw, 4rem); }
.contact .lead { color: var(--on-dark); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.contact .ticks { margin-top: 26px; }
.contact__details { display: grid; gap: 12px; margin-top: 36px; }
.contact__detail { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font: 600 clamp(1.15rem, 2vw, 1.5rem)/1.2 var(--display); font-stretch: 90%; color: var(--bg); border-bottom: 1px solid var(--dark-line); padding-bottom: 6px; transition: color .25s, border-color .25s; }
.contact__detail svg { width: 20px; height: 20px; color: var(--clay); }
.contact__detail:hover { color: var(--clay); border-color: var(--clay); }
.form { background: var(--bg); color: var(--ink-2); border-radius: var(--r-lg); padding: clamp(22px, 3.2vw, 40px); display: grid; gap: 18px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form .btn--primary { background: var(--accent); color: #FFF8F2; }
.form .btn--primary::before { background: var(--accent-hov); }
.form__row { display: grid; gap: 7px; }
.form__row label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.form__opt { font-weight: 400; color: var(--muted); }
.form__error { color: #B3261E; font-size: .88rem; min-height: 0; }
.form__error:empty { display: none; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__calc { font-size: .92rem; color: var(--accent-text); background: var(--accent-tint); border-radius: var(--r-sm); padding: 10px 14px; }
.form__consent { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-items: start; }
.form__consent input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; accent-color: var(--accent); }
.form__consent label { font-size: .93rem; line-height: 1.45; color: var(--ink-2); }
.form__consent label strong { display: block; color: var(--ink); font-weight: 600; }
.form__consent label span { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.form__consent .form__error { grid-column: 2; }
.form__legal { font-size: .85rem; color: var(--muted); }
.form__legal p { margin-top: 10px; line-height: 1.55; }
.form__legal a, .form__note a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.form__note { font-size: .88rem; color: var(--muted); text-align: center; }
.form__success, .form__error--submit { display: none; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; }
.form__success { background: #E6F0E4; color: #2F5A2B; }
.form__error--submit { background: #FBE9E7; color: #8C1D18; }
.form__success.is-visible, .form__error--submit.is-visible { display: block; }
.form__error--submit a { text-decoration: underline; }

/* ==========================================================================
   STOPKA + MOBILNY CTA
   ========================================================================== */
.footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid var(--dark-line); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-block: clamp(44px, 6vw, 72px); }
.footer__brand p { margin-top: 16px; max-width: 38ch; font-size: .96rem; }
.footer .logo__img { height: 30px; }
.footer__h { color: var(--bg); font-weight: 600; margin-bottom: 12px; }
.footer__col { display: grid; gap: 8px; align-content: start; font-size: .96rem; }
.footer__col a { width: fit-content; transition: color .2s; }
.footer__col a:hover { color: var(--clay); }
.footer__bottom { border-top: 1px solid var(--dark-line); padding-block: 20px; font-size: .88rem; }

.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 249, 245, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; font-weight: 600; font-size: .98rem; }
.mobile-cta__btn svg { width: 18px; height: 18px; }
.mobile-cta__btn--outline { flex: 0 0 auto; padding: 0 18px; border: 1px solid var(--line-2); color: var(--ink); background: var(--card); }
.mobile-cta__btn--primary { flex: 1; background: var(--accent); color: #FFF8F2; }

/* ==========================================================================
   PORTFOLIO (podstrona)
   ========================================================================== */
.pfhero { padding: clamp(32px, 5vw, 64px) 0 clamp(36px, 5vw, 64px); }
.pfhero .h1 { max-width: none; }
.pfhero .h1 .line { display: block; }
.pfhero__row { margin-top: clamp(24px, 3.5vw, 40px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }
.pfhero__row .lead { max-width: 52ch; }
.pfhero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pfnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pfnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
.pfnav a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.pfstar { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pfstar .h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.pfstar .ticks { margin-top: 22px; }
.pfstar .ex__cta { margin-top: 28px; }
.pfstar__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-weight: 600; font-size: .92rem; color: var(--accent-text); }

.pfgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: clamp(28px, 4vw, 48px); }
.pfcard { display: grid; grid-template-rows: auto 1fr; }
.pfcard__stage { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--tint); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.pfcard__stage img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.pfcard__stage:hover img { transform: scale(1.035); }
.pfcard__stage--phone { display: grid; justify-items: center; align-items: end; background: var(--accent-tint); }
.pfcard__stage--phone img { width: min(36%, 190px); height: auto; margin-top: 8%; border-radius: 26px 26px 0 0; border: 6px solid var(--ink); border-bottom: 0; object-fit: cover; object-position: top; box-shadow: 0 -10px 40px -14px rgba(20, 20, 19, .35); }
.pfcard__stage--phone:hover img { transform: translateY(-6px); }
.pfcard__body { padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.pfcard__who { font-size: .9rem; font-weight: 600; color: var(--accent-text); }
.pfcard h3 { font: 620 1.45rem/1.15 var(--display); font-stretch: 90%; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.pfcard__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--accent-text); width: fit-content; }
.pfcard__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pfcard__link:hover svg { transform: translate(2px, -2px); }

.wfx-head { max-width: 640px; margin-bottom: clamp(24px, 3vw, 40px); }
.wfx-head .h2 { margin-bottom: 16px; }
.wfx { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.wfx__list { display: grid; gap: 4px; border-top: 1px solid var(--line-2); }
.wfx__tab { display: flex; align-items: baseline; gap: 14px; width: 100%; text-align: left; padding: 15px 4px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); cursor: pointer; font-weight: 500; color: var(--ink-2); position: relative; transition: color .25s, padding .4s var(--ease); }
.wfx__tab::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.wfx__tab:hover { color: var(--ink); }
.wfx__tab[aria-selected="true"] { color: var(--ink); font-weight: 600; padding-left: 12px; }
.wfx__tab[aria-selected="true"]::before { transform: scaleX(1); }
.wfx__n { font: 500 .85rem/1 var(--mono); color: var(--muted); }
.wfx__panels { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); min-height: 380px; box-shadow: var(--shadow-1); }
.wfx__panel[hidden] { display: none; }
.wfx__panel { animation: panel-in .6s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pf__tag { font-size: .9rem; font-weight: 600; color: var(--accent-text); margin-bottom: 10px; }
.wfx__panel h4 { font: 620 clamp(1.4rem, 2.2vw, 1.8rem)/1.15 var(--display); font-stretch: 90%; letter-spacing: -0.02em; color: var(--ink); max-width: 28ch; text-wrap: balance; }
.nodes { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; margin: 28px 0 22px; position: relative; }
.nodes::before { content: ""; position: absolute; top: 23px; left: calc(50% / var(--n, 3)); right: calc(50% / var(--n, 3)); height: 2px; background: var(--line-2); }
.node { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 0 6px; }
.node__ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--accent); color: var(--accent-text); margin-bottom: 6px; }
.node__ic svg { width: 21px; height: 21px; }
.node b { color: var(--ink); font-size: .98rem; }
.node small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.wfx__effect { color: var(--ink-2); max-width: 58ch; }
.wfx__foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.wfx__badge { display: inline-block; margin-right: 8px; font-size: .8rem; font-weight: 600; color: var(--ok); background: #E6F0E4; border-radius: 99px; padding: 3px 10px; }

.cta-band { background: var(--ink); color: var(--on-dark); padding-block: var(--sec-y); }
.cta-band__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.cta-band .h2 { color: var(--bg); font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.cta-band__side { display: grid; gap: 18px; justify-items: start; }
.cta-band__side p { color: var(--on-dark); max-width: 38ch; }
.cta-band__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.cta-band__links a { font-weight: 600; color: var(--bg); border-bottom: 1px solid var(--dark-line); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.cta-band__links a:hover { color: var(--clay); border-color: var(--clay); }

/* ==========================================================================
   POLITYKA PRYWATNOŚCI
   ========================================================================== */
.legal { max-width: 820px; }
.legal .eyebrow { font-weight: 600; font-size: .95rem; color: var(--accent-text); margin-bottom: 14px; }
.legal h1 { font: 700 clamp(2.2rem, 5vw, 3.6rem)/1.02 var(--display); font-stretch: 80%; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 18px; }
.legal h2 { font: 650 1.7rem/1.15 var(--display); font-stretch: 86%; letter-spacing: -0.02em; color: var(--ink); margin: 44px 0 12px; }
.legal h3 { font: 600 1.05rem/1.3 var(--sans); color: var(--ink); margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { list-style: revert; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); background: var(--tint); }
.legal__back { margin-top: 48px; }
.btn--outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: rgba(20, 20, 19, .04); }

/* ==========================================================================
   RESPONSYWNOŚĆ
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sub, .hero__proof { max-width: 60ch; }
  .ex, .pfstar { grid-template-columns: 1fr; }
  .pfstar .pfstar__media { order: -1; }
  .flag { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
}

@media (max-width: 960px) {
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  .nav__toggle { display: inline-block; margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px; background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .5s var(--ease), visibility 0s .5s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__link { padding: 16px 0; font: 620 1.9rem/1.15 var(--display); font-stretch: 86%; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__extra { display: grid; gap: 16px; margin-top: 28px; }
  .nav__extra .header__phone { font-size: 1.1rem; }
  .header:not(.header--simple) .header__actions { display: none; }
  .process__grid, .problem, .faqwrap, .trust, .contact__grid, .cta-band__in { grid-template-columns: 1fr; }
  .process__intro, .problem__lead, .faqwrap__head { position: static; }
  .svc { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
  .addons ul { grid-template-columns: 1fr; gap: 16px; }
  .wfx { grid-template-columns: 1fr; }
  .pfgrid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 0; }
}

@media (max-width: 640px) {
  .container { width: min(1200px, 100% - 36px); }
  .hero__title .line, .pfhero .h1 .line { display: inline; }
  .moment { grid-template-columns: 1fr; gap: 8px; }
  .tl__facts { grid-template-columns: 1fr; }
  .tl__facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--dark-line); margin-top: 16px; }
  .tl__step { grid-template-columns: 36px minmax(0, 1fr); }
  .tl__mark { width: 36px; height: 36px; font-size: .95rem; }
  .tl::before, .tl__fill { left: 17px; top: 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .field__row { grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
  .pipe { grid-template-columns: 1fr; gap: 20px; padding-left: 6px; }
  .pipe::before, .pipe::after { left: 33px; right: auto; top: 54px; bottom: 28px; width: 2px; height: auto; }
  .pipe::after { transform: scaleY(0); transform-origin: 50% 0; }
  .pipe.is-in::after { transform: scaleY(1); }
  .pipe__n { grid-template-columns: 56px 1fr; justify-items: start; align-items: center; text-align: left; gap: 16px; }
  .nodes { grid-template-columns: 1fr; gap: 16px; margin: 22px 0; }
  .nodes::before { display: none; }
  .node { grid-template-columns: 46px 1fr; justify-items: start; text-align: left; gap: 0 14px; }
  .node__ic { grid-row: span 2; margin: 0; }
  .race__panel { padding: 18px 18px 4px; }
  .footer__inner { grid-template-columns: 1fr; }
  .browser.is-live .browser__view { height: 70vh; }
}

@media (max-width: 560px) {
  .header:not(.header--simple) .header__actions { display: none; }
  .header--simple .header__phone span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .browser { transform: none; }
}
