/* Properflow · makieta v14 · Headroom + Function Health, motyw kresek z logo
   Jasnoszare tło i białe karty, jeden elektryczny błękit, cienkie linie danych, kreski wszędzie tam, gdzie coś się porządkuje. */

@property --bg { syntax: "<color>"; inherits: true; initial-value: #F3F3F1; }
@property --fg { syntax: "<color>"; inherits: true; initial-value: #0F1013; }

:root {
  --paper: #F3F3F1;
  --cool: #E8E9EE;
  --white: #FFFFFF;
  --ink: #0F1013;
  --night: #0B0D1A;
  --blue: #3040FF;
  --blue-d: #1F2BD6;
  --blue-l: #E9EBFF;
  --stripes: repeating-linear-gradient(180deg, var(--blue) 0 .024em, transparent .024em .032em);

  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --logo: "Panchang", var(--sans); /* ten sam krój co litery w znaku */
  --skew: -20.5deg;

  --gutter: clamp(16px, 4vw, 60px);
  --r: 26px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --fg2: color-mix(in srgb, var(--fg) 62%, transparent);
  --fg3: color-mix(in srgb, var(--fg) 42%, transparent);
  --line: color-mix(in srgb, var(--fg) 11%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; transition: background-color 1s var(--ease-io), color 1s var(--ease-io); }
/* przejście tonu animuje kolor tła i tekstu body, nie zmienne --bg/--fg: animowana dziedziczona zmienna przeliczała style całej strony w każdej klatce
   (w Chrome z CPU 4× wolniejszym 210 zgubionych klatek na przewinięcie strony, po zmianie 6); wygląd przejścia ten sam */
body[data-tone="light"], body[data-tone="media"] { --bg: var(--paper); --fg: var(--ink); }
body[data-tone="sand"] { --bg: var(--cool); --fg: var(--ink); }
body[data-tone="blue"] { --bg: var(--blue); --fg: #FFFFFF; }
body[data-tone="dark"] { --bg: var(--night); --fg: #EEF0F7; }
main, .foot { overflow-x: clip; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
h1, h2 { font-weight: 400; letter-spacing: -.045em; line-height: 1; }
h2 { font-size: clamp(38px, 4.6vw, 72px); text-wrap: balance; }
h1 em, h2 em, h3 em, .say em, .claim em, .claim-foot em, .df dd em, q { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h2 em, .say em { color: var(--blue); }
body[data-tone="blue"] h2 em, body[data-tone="blue"] .say em, body[data-tone="dark"] h2 em { color: inherit; }
.lead { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.5; color: var(--fg2); max-width: 42ch; }
.mono { font: 400 11.5px/1.4 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--fg3); }
.src { display: block; font: 400 11px/1.4 var(--mono); color: var(--fg3); text-transform: uppercase; letter-spacing: .02em; }
.wordmark { display: inline-block; font-family: var(--logo); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; transform: skewX(var(--skew)); }
.ph { background: linear-gradient(transparent 90%, var(--blue) 90%); }

.glass { background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .5), 0 24px 60px -30px rgba(15, 20, 45, .35); }

/* Kreski jak w logo: mała ikonka z trzech pasów */
.bars { display: inline-grid; gap: 2px; width: 16px; }
.bars i { display: block; height: 2px; background: currentColor; border-radius: 1px; transform: skewX(var(--skew)); }
.bars i:nth-child(2) { width: 80%; margin-left: 14%; } .bars i:nth-child(3) { width: 60%; margin-left: 28%; }

/* Przycisk: niebieska pigułka ze strzałką (Headroom) */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 24px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; white-space: nowrap;
  font: 500 15px/1 var(--sans); letter-spacing: -.01em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 30px -14px rgba(48, 64, 255, .8); transition: background-color .3s, box-shadow .4s var(--ease); overflow: hidden; }
.btn .arr { display: inline-block; }
.btn:hover { background: var(--blue-d); } /* na hover tylko kreski przelatują przez przycisk, bez podskoku i bez ruchu strzałki */
.btn::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 5px); transform: translateX(-101%) skewX(var(--skew)); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(101%) skewX(var(--skew)); }
.btn-sm { height: 40px; padding: 0 14px 0 18px; font-size: 14px; gap: 8px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 12px; }
.btn-lg { height: 56px; font-size: 16px; padding: 0 22px 0 28px; }
.ghost { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; box-shadow: inset 0 0 0 1px rgba(15, 16, 19, .15); }

/* Nawigacja: biała pigułka na środku */
.nav { position: fixed; z-index: 40; top: 14px; left: 0; right: 0; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.nav-pill { pointer-events: auto; display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 7px 0 18px; border-radius: 999px; max-width: 100%; transition: background-color .5s; }
.brand { position: relative; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
/* pole dotyku logo i linków w stopce ma co najmniej 44 px wysokości (zalecenie Apple), a wygląd i układ się nie zmieniają */
.foot-row a, .foot-legal a { position: relative; }
.brand::after, .foot-row a::after, .foot-legal a::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
.brand svg { width: 34px; height: auto; }
.brand .wordmark { font-size: 14px; }
.nav-pill .brand { color: var(--blue); } /* znak i napis w menu na niebiesko (30.11) */
.nav-links { display: flex; gap: 2px; margin: 0 8px 0 14px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 14px; text-decoration: none; color: rgba(15, 16, 19, .62); transition: background .3s, color .3s; }
.nav-links a:hover { background: rgba(15, 16, 19, .05); color: var(--ink); }
body[data-nav="dark"] .nav-pill { background: rgba(255, 255, 255, .9); }
@media (max-width: 899px) { .nav-links { display: none; } .nav-pill { width: 100%; justify-content: space-between; } }
@media (max-width: 759px) { .hide-m { display: none; } }

/* Loader: 23 kreski znaku rysują się jedna po drugiej od góry, każda od grubego (lewego) do cienkiego (prawego) końca,
   szybko na starcie i zwalniając przy cienkim końcu, jak pociągnięcie pędzla; całość ok. 1,3 s. Znak się nie przesuwa ani nie odkształca */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 22px; background: var(--paper); transition: opacity .8s var(--ease) .1s, visibility 0s 1s; }
.loader-mark { width: clamp(120px, 14vw, 180px); color: var(--blue); }
.loader-mark svg { display: block; width: 100%; height: auto; }
.loader-mark path { clip-path: inset(0 100% 0 0); animation: lm 80ms cubic-bezier(.2, .7, .3, 1) calc(120ms + var(--i) * 50ms) forwards; }
@keyframes lm { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .loader-mark path { animation: none; clip-path: none; } }
.loader-bar { display: none; }
html:not(.loading) .loader { opacity: 0; visibility: hidden; }


.split .w { display: inline-block; }
.split .w > span { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.split.in .w > span { opacity: 1; transform: none; filter: none; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
.words .w { opacity: .16; transition: opacity .45s ease; }
.words .w.on { opacity: 1; }
.h-in { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ready .h-in { opacity: 1; transform: none; }
.ready .hero .lead { transition-delay: .45s; } .ready .hero-cta { transition-delay: .6s; } .ready .hero-stats { transition-delay: .8s; }

/* ── 0 · Hero (Function) ── */
.hero { position: relative; height: 100svh; min-height: 660px; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; isolation: isolate; background: #2b3320; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(.92) contrast(.96); transform: scale(calc(1.04 + var(--hz, 0) * .08)); }
/* Żebrowane szkło (Function), żebra poziome: canvas WebGL nad wideo; bez WebGL zostaje samo wideo */
.hero-glass, .final-glass { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--ease); }
.hero-glass.on, .final-glass.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: 3; background: linear-gradient(0deg, rgba(8, 10, 22, .72), rgba(8, 10, 22, 0) 55%), linear-gradient(90deg, rgba(8, 10, 22, .35), rgba(8, 10, 22, 0) 55%), linear-gradient(180deg, rgba(8, 10, 22, .3), rgba(8, 10, 22, 0) 22%); }
.hero-copy { position: absolute; z-index: 4; left: var(--gutter); bottom: clamp(36px, 7vh, 80px); max-width: min(760px, calc(100% - 2 * var(--gutter))); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 400 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.hero h1 { font-size: clamp(44px, 6vw, 96px); line-height: .96; max-width: 13ch; }
.hero .lead { margin-top: 22px; color: rgba(255, 255, 255, .82); }
.hero-cta { margin-top: 28px; }
.hero-stats { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(36px, 7vh, 80px); display: grid; grid-template-columns: repeat(3, auto); }
.hero-stats li { padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .28); max-width: 190px; }
.hero-stats li:first-child { border-left: 0; }
.hero-stats b { display: block; font: 400 26px/1 var(--sans); letter-spacing: -.03em; }
.hero-stats span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .7); }
@media (max-width: 1099px) { .hero-stats { display: none; } }
@media (max-width: 759px) {
  .hero { min-height: 0; } /* na telefonie hero ma dokładnie wysokość widocznego ekranu (100svh), także gdy Safari pokazuje paski */
  .hero-video { object-position: 72% 30%; }
  .hero h1 { font-size: clamp(40px, 11.4vw, 54px); }
  .hero .lead { font-size: 16px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ── 1 · Pasma: rzędy słów (Function) ── */
.bands { padding: 16vh 0 14vh; }
.bands-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 6vw; align-items: end; }
.lanes { margin-top: 9vh; display: grid; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lane { overflow: hidden; border-top: 1px solid var(--line); padding: 18px 0; }
.lane:last-child { border-bottom: 1px solid var(--line); }
.lane-in { display: flex; width: max-content; gap: 0; animation: lane var(--t, 50s) linear infinite; animation-direction: var(--dir, normal); }
.lane[style*="--d: -1"] .lane-in { animation-direction: reverse; }
.lane-in span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 300 clamp(26px, 3vw, 46px)/1.1 var(--sans); letter-spacing: -.035em; color: var(--fg3); white-space: nowrap; transition: color .3s; }
.lane-in span::after { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--blue); transform: skewX(var(--skew)); opacity: .5; }
.lane-in span:hover { color: var(--ink); }
.lane:hover .lane-in { animation-play-state: paused; }
@keyframes lane { to { transform: translateX(-50%); } }
@media (max-width: 859px) { .bands-head { grid-template-columns: 1fr; gap: 20px; } }

/* ── 2 · Natłok: tunel kart (Headroom) ── */
.tunnel { position: relative; height: 420vh; color: #fff; background: var(--blue); }
.pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.tun-scene { position: absolute; inset: 0; }
.tun-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.panel { position: absolute; left: -110px; top: -75px; width: 220px; height: 150px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); color: #fff; font-size: 12px; line-height: 1.35; display: flex; transform-origin: 50% 50%; flex-direction: column; gap: 7px; }
.panel .p-top { display: flex; align-items: center; gap: 8px; }
.panel .p-top b { font-weight: 500; font-size: 12.5px; }
.panel .p-top .ico { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .26); box-shadow: none; }
.panel .p-top .ico::after { background: #fff; }
.panel .p-q { font: italic 400 17px/1.15 var(--serif); }
.panel .p-sk { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.panel .p-sk.s2 { width: 70%; } .panel .p-sk.s3 { width: 45%; }
.panel .p-row { display: flex; justify-content: space-between; padding: 4px 0; border-top: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .8); }
/* karteczka na stosie: pełna biała karta z cieniem, jak powiadomienie, które czeka */
.panel { transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease); }
.panel.piled { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(15, 16, 19, .06), 0 18px 40px -22px rgba(5, 10, 60, .55); }
.panel.piled .p-top .ico { background: var(--blue); } .panel.piled .p-sk { background: #ECECEA; } .panel.piled .p-row { color: rgba(15, 16, 19, .6); border-color: rgba(15, 16, 19, .08); }
.tun-count { position: absolute; left: 50%; top: 50%; z-index: 6000; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--blue); opacity: 0; transition: opacity .4s; white-space: nowrap; box-shadow: 0 12px 30px -12px rgba(5, 10, 60, .5); }
.tun-copy { position: absolute; z-index: 3; left: 50%; top: 50%; width: min(92vw, 880px); height: 0; transform: translateX(-50%); text-align: center; }
.tc { position: absolute; left: 0; right: 0; top: 0; transform: translateY(calc(-50% + var(--oy, 20px))); opacity: var(--oo, 0); visibility: hidden; }
.tc.vis { visibility: visible; }
.tc h2 { font-size: clamp(44px, 6.2vw, 100px); }
.tc .lead { margin: 22px auto 0; color: rgba(255, 255, 255, .78); }
.tc .say { margin-inline: auto; max-width: 20ch; }
.say { font: 400 clamp(30px, 3.4vw, 54px)/1.08 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.tun-copy::before { content: ""; position: absolute; left: 50%; top: 0; width: 120%; height: 360px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(48, 64, 255, .92), rgba(48, 64, 255, 0)); z-index: -1; opacity: var(--glow, 1); }
@media (max-width: 759px) { .tunnel { height: 380vh; } .tc h2 { font-size: clamp(38px, 11vw, 50px); } .say { font-size: 28px; } .panel { transform-origin: center; } }

/* ── 2b · Głosy: stos kart (Patch AI) ── */
.voices { padding: 14vh var(--gutter) 0; }
.stack { max-width: 860px; margin: 0 auto; }
.vcard { color: var(--ink); position: sticky; top: calc(16vh + var(--i, 0) * 14px); min-height: 44vh; margin-bottom: 24vh; padding: clamp(28px, 4vw, 56px); border-radius: 30px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  box-shadow: 0 0 0 1px rgba(15, 16, 19, .05), 0 40px 80px -40px rgba(15, 20, 45, .35), 0 0 calc(var(--pg, 0) * 140px) calc(var(--pg, 0) * 20px) rgba(48, 64, 255, calc(var(--pg, 0) * .45)); transform: translate(var(--sx, 0px), var(--sy, 0px)) rotate(var(--sr, 0deg)) scale(calc(var(--vs, 1) * var(--ss, 1))); transform-origin: 50% 0; filter: brightness(var(--vb, 1)) blur(var(--sbl, 0px)); opacity: var(--so, 1); will-change: transform; }
/* „puff” przy znikaniu: karta rozświetla się od środka na niebiesko, puchnie, rozmywa się i gaśnie */
.vcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--pf, 0); background: radial-gradient(farthest-side, rgba(246, 248, 255, .9), rgba(150, 162, 255, .75) 55%, rgba(48, 64, 255, .85)); }
.vcard::before { content: ""; position: absolute; left: clamp(28px, 4vw, 56px); top: 0; width: 46px; height: 12px; background-image: repeating-linear-gradient(180deg, var(--blue) 0 1.0px, transparent 1.0px 5px), repeating-linear-gradient(180deg, var(--blue) 0 2.25px, transparent 2.25px 5px), repeating-linear-gradient(180deg, var(--blue) 0 3.5px, transparent 3.5px 5px); background-size: calc(100% / 3 + 1px) 100%; background-position: 0.0% 0, 50.0% 0, 100.0% 0; background-repeat: no-repeat; transform: translateX(var(--mt, 0px)) skewX(var(--skew)); }
.vcard:nth-last-child(2) { margin-bottom: 0; }
/* po ostatniej karcie stos zostaje przypięty jeszcze przez 70vh: karty po kolei znikają z efektem „puff”, a od dołu wjeżdża kolejna sekcja */
.vspacer { height: 70vh; }
.vcard q { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.02em; quotes: "„" "”" "«" "»"; text-wrap: balance; }
.who { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.who b { font-weight: 500; font-size: 16px; }
.who span { font: 400 11px/1.4 var(--mono); text-transform: uppercase; color: var(--blue); }
@media (max-width: 759px) { .vcard { min-height: 48vh; border-radius: 24px; margin-bottom: 18vh; } }

/* ── 3 · Próby jako rozmowa, 46% z kresek ── */
.tries { position: relative; z-index: 2; margin-top: -28vh; padding: 12vh 0 16vh; } /* wjeżdża na rozsypujący się stos głosów, bez pustego ekranu */
.tries-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 6vw; align-items: center; }
.tries-copy .lead { margin-top: 24px; }
.chat { color: var(--ink); border-radius: 28px; padding: 10px 10px 16px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 16, 19, .05), 0 30px 70px -40px rgba(15, 20, 45, .4); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 8px 10px 14px; }
.dots { display: flex; gap: 5px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(15, 16, 19, .1); }
.chat-list { display: grid; gap: 8px; padding: 0 6px; }
.msg { display: flex; align-items: center; gap: 10px; max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 15.5px; line-height: 1.35; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.msg.on { opacity: 1; transform: none; }
.msg.me { background: var(--paper); border-bottom-left-radius: 6px; }
.msg.re { margin-left: auto; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 12px 26px -14px rgba(48, 64, 255, .7); }
/* rozmówca pisze: trzy podskakujące kropki */
.msg.typing { justify-self: start; gap: 5px; padding: 16px 18px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(15, 16, 19, .4); animation: typing 1.2s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.big-stat { margin-top: 16vh; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5vw; align-items: center; }
.huge { font: 500 clamp(140px, 21vw, 330px)/.82 var(--sans); letter-spacing: -.07em; background: var(--stripes); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; background-position: 0 var(--sy, 0); position: relative; }
.huge.cv { background: none; } /* liczbę rysuje canvas za szkłem; tekst zostaje dla układu i czytników */
.huge canvas { position: absolute; max-width: none; pointer-events: none; }
.big-stat .cap { font: 400 clamp(26px, 2.6vw, 40px)/1.12 var(--sans); letter-spacing: -.03em; max-width: 20ch; }
.big-stat .src { margin-top: 16px; }
.big-stat .after { margin-top: 4vh; padding-top: 16px; border-top: 1px solid var(--line); color: var(--fg2); max-width: 34ch; }
@media (max-width: 959px) { .tries-grid, .big-stat { grid-template-columns: 1fr; gap: 36px; } }

/* ── 4 · Przełom nocą: splątane kreski ── */
.dark-claim { height: 230vh; position: relative; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.claim { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 15ch); text-align: center; font: 400 clamp(40px, 5.6vw, 92px)/1.02 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.claim .w { opacity: .14; }
@media (max-width: 759px) { .claim { font-size: clamp(36px, 10.6vw, 48px); } }

/* ── 5 · Porządek: karty → kolumny → jeden rekord (Headroom) ── */
.merge { position: relative; height: 640vh; }
.merge-copy { position: absolute; z-index: 3; left: var(--gutter); top: 50%; width: min(36vw, 500px); height: 0; }
.mc { position: absolute; left: 0; right: 0; top: 0; transform: translateY(calc(-50% + var(--oy, 20px))); opacity: var(--oo, 0); visibility: hidden; }
.mc.vis { visibility: visible; }
.mc .lead { margin-top: 20px; }
.step { display: flex; align-items: flex-start; gap: 14px; font: 400 clamp(42px, 4.4vw, 70px)/1 var(--sans); letter-spacing: -.045em; }
.step .mono { margin-top: .7em; color: var(--blue); }
.stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.card { color: var(--ink); position: absolute; left: 0; top: 0; width: var(--cw, 248px); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 16, 19, .05), 0 18px 40px -24px rgba(15, 20, 45, .45); will-change: transform, opacity; }
.card .ico { flex: none; }
.card > :not(.tag) { opacity: var(--co, 1); }
.card b { display: block; font-weight: 500; font-size: 14px; line-height: 1.2; }
.card span { display: block; font-size: 13px; line-height: 1.3; color: rgba(15, 16, 19, .55); }
.card .tag { position: absolute; right: 10px; top: -10px; padding: 4px 9px; border-radius: 999px; background: var(--blue); color: #fff; font: 400 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .03em; opacity: var(--tg, 0); transform: translateY(calc((1 - var(--tg, 0)) * 6px)); }
.ico { display: block; width: 38px; height: 38px; border-radius: 10px; background: var(--b, #8e939d); position: relative; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .08); }
.ico::after { content: ""; position: absolute; inset: 22%; background: var(--g, #fff); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico.sm { width: 26px; height: 26px; border-radius: 7px; }
.record { position: absolute; left: 0; top: 0; width: var(--rw, 360px); height: var(--rh, 420px); border-radius: 26px; opacity: var(--ro, 0); overflow: hidden;
  background: color-mix(in srgb, var(--blue) calc(var(--rb, 0) * 100%), #E9E9E6); color: color-mix(in srgb, #fff calc(var(--rb, 0) * 100%), var(--ink));
  box-shadow: 0 40px 80px -40px rgba(15, 20, 45, calc(.5 * (1 - var(--rb, 0)))), 0 50px 100px -40px rgba(48, 64, 255, calc(.8 * var(--rb, 0))); transform: translate(var(--rx, 0px), var(--ry, 0px)) scale(calc((.94 + var(--ro, 0) * .06) * var(--rs, 1))); }
/* kreski pod niebieskim rekordem: wystają spod karty i zanikają w tło (--lx… to widoczny prostokąt rekordu po skali --rs na niskim telefonie) */
.rec-lines { position: absolute; left: 0; top: 0; width: var(--lw, var(--rw, 360px)); height: calc(var(--lh, var(--rh, 420px)) * .8); opacity: var(--rb, 0); pointer-events: none;
  transform: translate(calc(var(--lx, var(--rx, 0px)) + var(--lw, var(--rw, 360px)) * .3), calc(var(--ly, var(--ry, 0px)) + var(--lh, var(--rh, 420px)) * .42)) skewX(var(--skew));
  background-image: repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 1.5px, transparent 1.5px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 2.7px, transparent 2.7px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 3.9px, transparent 3.9px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 5.1px, transparent 5.1px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 6.3px, transparent 6.3px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 7.5px, transparent 7.5px 10px); background-size: calc(100% / 6 + 1px) 100%; background-position: 0.0% 0, 20.0% 0, 40.0% 0, 60.0% 0, 80.0% 0, 100.0% 0; background-repeat: no-repeat;
  -webkit-mask: linear-gradient(180deg, #000 45%, transparent 95%); mask: linear-gradient(180deg, #000 45%, transparent 95%); }
.flows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flows rect { fill: rgba(48, 64, 255, .035); stroke: var(--blue); stroke-width: 1.5; }
.flow-lab { position: absolute; color: var(--blue); white-space: nowrap; opacity: 0; }
.flow-lab b { font-weight: 500; }
.rec-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 10px; }
.rec-head svg { width: 26px; }
.rec-head b { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.rec-head .mono { margin-left: auto; color: inherit; opacity: .6; }
.rec-chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 18px; opacity: var(--rb, 0); }
.rec-chips span { padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font: 400 10.5px/1.2 var(--mono); text-transform: uppercase; }
/* wiersz zaczyna jako biały pasek w miejscu karty, która do niego dojechała, a na niebieskim rekordzie robi się przezroczysty */
.row { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 14px; border-radius: 12px; background: color-mix(in srgb, rgba(255, 255, 255, .14) calc(var(--rb, 0) * 100%), #fff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 calc((1 - var(--rb, 0)) * 10px) calc((1 - var(--rb, 0)) * 22px) calc((1 - var(--rb, 0)) * -14px) rgba(15, 20, 45, .45); color: inherit; opacity: var(--wo, 0); will-change: transform, opacity; }
.row small { font: 400 11px/1 var(--mono); opacity: .7; }
.row b { font-weight: 500; font-size: 15px; }
.row span { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 400 10.5px/1 var(--mono); text-transform: uppercase; opacity: .8; }
.row span::before { content: "✓"; font-size: 11px; }
.merge-dots { position: absolute; z-index: 3; left: var(--gutter); bottom: 6vh; display: flex; gap: 8px; opacity: var(--md, 0); }
.merge-dots li { width: 34px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.merge-dots li::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
@media (max-width: 759px) {
  .merge { height: 600vh; }
  .merge-copy { left: 20px; right: 20px; width: auto; top: auto; bottom: 8vh; }
  .mc { top: auto; bottom: 0; transform: translateY(var(--oy, 20px)); }
  .step { font-size: 40px; }
  .mc .lead { margin-top: 12px; font-size: 16px; }
  .merge-dots { top: 84px; bottom: auto; left: 20px; }
}

/* ── 8 · Kula z kresek → znak (Function) ── */
.sphere-sec { position: relative; height: 200vh; }
.sphere-sec .pin { display: flex; align-items: center; }
.sphere-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: min(6vw, 80px); align-items: center; }
.sphere { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
/* delikatna niebieska poświata za kulą: oddycha, a przy przewijaniu się rozjaśnia */
.sphere::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(48, 64, 255, .3), rgba(48, 64, 255, .12) 58%, rgba(48, 64, 255, 0)); filter: blur(28px);
  opacity: calc(.3 + var(--sg, .35) * .7); transform: scale(calc(.92 + var(--sg, .35) * .2)); animation: breathe 4.5s ease-in-out infinite alternate; }
@keyframes breathe { from { scale: .96; } to { scale: 1.06; } }
.sphere-svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.sphere-svg rect { fill: var(--blue); }
.defs { position: relative; height: 260px; }
.df { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + var(--oy, 20px))); opacity: var(--oo, 0); }
.df dd { margin-top: 16px; font: 400 clamp(26px, 2.5vw, 38px)/1.18 var(--sans); letter-spacing: -.03em; text-wrap: pretty; }
.df dt { color: var(--blue); }
/* „sam odpisywał, umawiał i przypominał.” w jednej linii, gdy kolumna jest dość szeroka */
@media (min-width: 980px) { .df .nw { white-space: nowrap; } }
@media (max-width: 859px) {
  .sphere-grid { grid-template-columns: 1fr; gap: 10px; align-content: center; height: 100%; }
  .sphere { width: min(72vw, 360px); }
  .defs { height: 220px; }
  .df dd { font-size: 23px; }
}

/* ── 6 · Przepływ: telefon nad filmem (Cleo + Institute) ── */
.flow { padding-top: 16vh; }
.flow-head { text-align: center; display: grid; justify-items: center; gap: 24px; padding-bottom: 10vh; }
.flow-head h2 { font-size: clamp(44px, 6.4vw, 104px); max-width: 14ch; }
.flow-head .lead { color: rgba(238, 240, 247, .66); }
.flow-stage { position: relative; height: 620vh; }
.flow-bg { position: absolute; inset: 0; clip-path: inset(var(--ci, 8%) var(--cs, 6%) round var(--cr, 30px)); }
.flow-bg video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.85) contrast(.95); transform: scale(var(--vs, 1.1)); }
.flow-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 22, .8), rgba(8, 10, 22, .25) 55%, rgba(8, 10, 22, .45)); }
.feel { position: absolute; z-index: 3; left: var(--gutter); top: 50%; width: min(46vw, 640px); height: 0; color: #fff; }
.feel li { position: absolute; left: 0; right: 0; top: 0; transform: translateY(calc(-50% + 30px)); opacity: 0; filter: blur(10px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.feel li.on { opacity: 1; transform: translateY(-50%); filter: blur(0); }
.feel h3 { font: 400 clamp(40px, 5vw, 84px)/1 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.feel p { margin-top: 18px; max-width: 40ch; color: rgba(255, 255, 255, .74); font-size: clamp(16px, 1.2vw, 18px); }
.feel .src { margin-top: 12px; color: rgba(255, 255, 255, .5); }
.phone { position: absolute; z-index: 3; right: clamp(24px, 9vw, 160px); top: 50%; width: 300px; height: 620px; transform: translateY(calc(-50% + var(--py, 60px))) rotate(var(--pr, 4deg)); opacity: var(--po, 0); border-radius: 50px; padding: 10px; background: linear-gradient(145deg, #2a2d36, #0d0f14);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 60px 120px -40px rgba(0, 0, 0, .8); }
.ph-screen { height: 100%; border-radius: 41px; overflow: hidden; background: #F3F3F1; color: var(--ink); padding: 12px 12px 0; display: flex; flex-direction: column; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 10px; font: 600 14px/1 var(--sans); }
.ph-island { width: 86px; height: 26px; border-radius: 20px; background: #000; }
.ph-bat { width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid currentColor; position: relative; } .ph-bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; }
.ph-head svg { width: 28px; color: var(--blue); }
.ph-head b { display: block; font-weight: 600; font-size: 15px; line-height: 1.1; }
.ph-head small { font-size: 12px; color: rgba(15, 16, 19, .5); white-space: nowrap; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 400 10px/1 var(--mono); text-transform: uppercase; color: var(--blue); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(48, 64, 255, .18); }
.ph-feed { display: grid; gap: 8px; }
.ph-feed li { padding: 11px 12px; border-radius: 16px; background: #fff; box-shadow: 0 8px 18px -14px rgba(15, 20, 45, .5); font-size: 13px; line-height: 1.35; opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ph-feed li.on { opacity: 1; transform: none; }
.ph-feed time { display: block; font: 400 10.5px/1.4 var(--mono); color: rgba(15, 16, 19, .45); margin-bottom: 3px; }
.ph-draft { box-shadow: inset 0 0 0 1.5px var(--blue), 0 8px 18px -14px rgba(15, 20, 45, .5) !important; }
.ph-draft .mono { margin-bottom: 5px; }
.acts { display: flex; gap: 6px; margin-top: 10px; }
.feel-dots { position: absolute; z-index: 3; left: var(--gutter); bottom: 12vh; display: flex; gap: 8px; }
.feel-dots li { width: 28px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); transition: background .4s, width .4s; transform: skewX(var(--skew)); }
.feel-dots li.on { background: #fff; width: 48px; }
.flow-note { padding-top: 12vh; padding-bottom: 4vh; text-align: center; font: 400 clamp(24px, 2.6vw, 40px)/1.2 var(--sans); letter-spacing: -.03em; max-width: 30ch !important; }
@media (max-width: 859px) {
  .flow-stage { height: 560vh; }
  .phone { right: 50%; top: 92px; width: 230px; height: 470px; border-radius: 40px; transform: translate(50%, var(--py, 60px)) rotate(0deg) scale(var(--ps, .92)); transform-origin: 50% 0; } /* --ps liczy main.js: niższy ekran, mniejszy telefon */
  .ph-screen { border-radius: 32px; }
  .ph-feed li { font-size: 12px; }
  .phone .live { display: none; }
  .feel { top: auto; bottom: 9vh; left: 20px; right: 20px; width: auto; }
  .feel li { top: auto; bottom: 0; transform: translateY(30px); }
  .feel li.on { transform: none; }
  .feel h3 { font-size: clamp(32px, 9vw, 42px); }
  .feel p { font-size: 15px; margin-top: 10px; }
  .feel-dots { display: none; }
  .flow-bg::after { background: linear-gradient(0deg, rgba(8, 10, 22, .88), rgba(8, 10, 22, .2) 60%, rgba(8, 10, 22, .5)); }
}

/* ── 7 · Przykłady (Function) i skeleton z jedną niebieską kartą (Headroom) ── */
.examples { padding: 14vh 0 12vh; }
.ex-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 5vw; align-items: end; }
.ex-head h2 { max-width: 12ch; }
.ex-arrows { margin-top: 24px; display: flex; gap: 8px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; box-shadow: 0 0 0 1px rgba(15, 16, 19, .08), 0 10px 24px -14px rgba(15, 20, 45, .4); transition: transform .3s var(--ease), background .3s, color .3s; }
.arrow:hover { background: var(--blue); color: #fff; }
.ex-rail { margin-top: 6vh; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
.ex-rail::-webkit-scrollbar { display: none; }
/* na komputerze przyciąganie do kart tylko w pobliżu krawędzi karty: przy „mandatory” Safari z gładzikiem cofało szynę po każdym geście */
@media (pointer: fine) { .ex-rail { scroll-snap-type: x proximity; } }
.ex { position: relative; flex: none; width: clamp(280px, 27vw, 400px); aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; isolation: isolate; scroll-snap-align: start; background: var(--cool); }
.ex img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(1.03); }
.ex-cap { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.38; }
.ex-cap .mono { color: var(--blue); margin-bottom: 6px; }
.ex-note { margin-top: 16px; }
.forwho { position: relative; margin-top: 14vh; }
.skel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sk { color: var(--ink); height: 150px; border-radius: 18px; background: #fff; padding: 16px; display: grid; align-content: start; gap: 9px; box-shadow: 0 0 0 1px rgba(15, 16, 19, .04); opacity: var(--so, .7); }
.sk i { height: 7px; border-radius: 4px; background: linear-gradient(90deg, #ECECEA 0%, #F6F6F4 50%, #ECECEA 100%) 0 0 / 200% 100%; animation: shimmer 2.4s linear infinite; animation-play-state: paused; }
.skel.live .sk i { animation-play-state: running; } /* poza kadrem 60 pasków nie przemalowuje się co klatkę */
.sk i:nth-child(2) { width: 75%; } .sk i:nth-child(3) { width: 50%; } .sk i:nth-child(4) { width: 34%; height: 18px; border-radius: 9px; margin-top: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.fw-card { position: absolute; left: 50%; top: 50%; width: min(460px, 92%); padding: 24px 26px 26px; border-radius: 24px; background: var(--blue); color: #fff; transform: translate(-50%, -50%) scale(var(--fs, .9)); opacity: var(--fo, 0); box-shadow: 0 50px 100px -40px rgba(48, 64, 255, .8); }
/* kreski pod kartą „Dla kogo”, jak pod niebieskim rekordem: wystają spod karty w prawo i w dół i zanikają w tło */
.fw-lines { position: absolute; left: 50%; top: 50%; width: min(460px, 92%); height: 300px; opacity: var(--fo, 0); pointer-events: none;
  transform: translate(calc(-50% + 90px), calc(-50% + 120px)) skewX(var(--skew));
  background-image: repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 1.5px, transparent 1.5px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 2.7px, transparent 2.7px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 3.9px, transparent 3.9px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 5.1px, transparent 5.1px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 6.3px, transparent 6.3px 10px), repeating-linear-gradient(180deg, rgb(200, 204, 244) 0 7.5px, transparent 7.5px 10px); background-size: calc(100% / 6 + 1px) 100%; background-position: 0.0% 0, 20.0% 0, 40.0% 0, 60.0% 0, 80.0% 0, 100.0% 0; background-repeat: no-repeat;
  -webkit-mask: linear-gradient(180deg, #000 45%, transparent 95%); mask: linear-gradient(180deg, #000 45%, transparent 95%); }
.fw-card .mono { color: rgba(255, 255, 255, .7); }
.fw-card h3 { margin-top: 10px; font: 400 clamp(28px, 2.6vw, 38px)/1.04 var(--sans); letter-spacing: -.04em; }
.fw { margin-top: 18px; display: grid; gap: 8px; }
.fw li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-size: 15.5px; line-height: 1.35; }
.chk { width: 22px; height: 22px; flex: none; border-radius: 50%; background: #fff; position: relative; }
.chk::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 4px; border: solid var(--blue); border-width: 0 0 2px 2px; transform: translate(-50%, calc(-50% - .7px)) rotate(-45deg); } /* po obrocie ptaszek wystaje 0.7px w dół, stąd korekta */
.fw-foot { margin-top: 5vh; text-align: center; margin-inline: auto; }
@media (max-width: 859px) {
  .ex-head { grid-template-columns: 1fr; } .ex { width: 78vw; }
  .skel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sk:nth-child(n+9) { display: none; } .sk { height: 120px; }
  .fw-card { width: 94%; padding: 20px; } .fw li { font-size: 14.5px; }
}

/* ── 9 · Kroki: przypięty ekran i przewijane kroki ── */
.how { padding: 14vh 0 10vh; }
.how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.how-grid { margin-top: 8vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; }
.how-vis { position: sticky; top: 18vh; height: 64vh; display: grid; place-items: center; border-radius: 34px; overflow: hidden; background: var(--blue); isolation: isolate; box-shadow: 0 50px 100px -40px rgba(48, 64, 255, .8); }
.how-vis::before { content: ""; position: absolute; inset: -20%; background-image: repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 2.0px, transparent 2.0px 16px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 3.5px, transparent 3.5px 16px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 5.0px, transparent 5.0px 16px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 6.5px, transparent 6.5px 16px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 8.0px, transparent 8.0px 16px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 9.5px, transparent 9.5px 16px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 11.0px, transparent 11.0px 16px); background-size: calc(100% / 7 + 1px) 100%; background-position: 0.0% 0, 16.667% 0, 33.333% 0, 50.0% 0, 66.667% 0, 83.333% 0, 100.0% 0; background-repeat: no-repeat; transform: skewX(var(--skew)) translateY(calc(var(--hy, 0) * -40px)); z-index: -1; }
.screen { color: var(--ink); position: relative; width: min(84%, 380px); height: 300px; border-radius: 24px; background: #fff; box-shadow: 0 40px 80px -30px rgba(10, 15, 80, .6); }
.mini { position: absolute; inset: 0; padding: 20px; font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mini.on { opacity: 1; transform: none; }
.mini-h { margin-bottom: 14px; }
.mini-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { padding: 7px 11px; border-radius: 999px; font-size: 13px; background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 16, 19, .1); }
.chip.on { background: var(--blue); color: #fff; box-shadow: none; }
.chip.soft { background: rgba(15, 16, 19, .05); box-shadow: none; }
.mini-f { margin-top: 16px; font-size: 13px; color: rgba(15, 16, 19, .55); }
.mini-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(15, 16, 19, .08); }
.mini-list li:first-child { border-top: 0; }
.mini-list b { font-weight: 500; }
.mini-list span { color: rgba(15, 16, 19, .5); white-space: nowrap; }
.mini-check li { position: relative; padding: 7px 0 7px 26px; }
.mini-check li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(15, 16, 19, .25); }
.mini-check li.ok::before { background: var(--blue); box-shadow: none; }
.mini-bar { margin-top: 16px; height: 6px; border-radius: 6px; background: rgba(15, 16, 19, .08); overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: 66%; background: var(--blue); border-radius: 6px; }
.bub { max-width: 86%; padding: 10px 13px; border-radius: 16px; margin-top: 8px; }
.bub.you { background: var(--paper); border-bottom-left-radius: 5px; }
.bub.me { margin-left: auto; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.how-steps { padding: 8vh 0 12vh; }
.hs { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); border-top: 1px solid var(--line); }
.hs.on { opacity: 1; }
.hs .mono { color: var(--blue); }
.hs h3 { margin-top: 14px; font: 400 clamp(36px, 3.6vw, 58px)/1 var(--sans); letter-spacing: -.045em; }
.hs p { margin-top: 18px; color: var(--fg2); max-width: 40ch; font-size: 18px; }
@media (max-width: 859px) {
  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .how-vis { top: 76px; height: 40vh; z-index: 2; border-radius: 26px; }
  .screen { height: 250px; transform: scale(.88); }
  .hs { min-height: 52vh; }
}

/* ── 10 · Kto (wariant B): portret i wstęp, cztery kroki na osi z kresek, ostatni niebieski z glow ── */
.kto { padding: 14vh 0; }
.sign { margin-top: 40px; font: italic 400 clamp(52px, 5vw, 80px)/1 var(--serif); color: var(--blue); }
.kb-quote q { display: block; } .kb-quote .lead { margin-top: 18px; }
.kb-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.kb-face { position: relative; width: clamp(170px, 19vw, 280px); }
.kb-face img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 30px 70px -30px rgba(48, 64, 255, .6); }
.kb-face .pill { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -14px rgba(15, 20, 45, .4); font-size: 14px; }
.kb-face .pill b { color: var(--blue); font-weight: 500; font-size: 18px; margin-right: 4px; }
.kb-head h2 { font-size: clamp(46px, 5.6vw, 90px); }
.kb-head .lead { margin-top: 20px; max-width: 72ch; }
.kb-head .lead + .lead { margin-top: 14px; }
.kb-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; color: var(--blue); text-decoration: none; font: 400 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.kb-link:hover { text-decoration: underline; }
.kb-axis { position: relative; margin-top: 10vh; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kb-axis::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 12px; background-image: repeating-linear-gradient(180deg, var(--blue) 0 0.8px, transparent 0.8px 5px), repeating-linear-gradient(180deg, var(--blue) 0 1.2px, transparent 1.2px 5px), repeating-linear-gradient(180deg, var(--blue) 0 1.6px, transparent 1.6px 5px), repeating-linear-gradient(180deg, var(--blue) 0 2.0px, transparent 2.0px 5px), repeating-linear-gradient(180deg, var(--blue) 0 2.4px, transparent 2.4px 5px), repeating-linear-gradient(180deg, var(--blue) 0 2.8px, transparent 2.8px 5px), repeating-linear-gradient(180deg, var(--blue) 0 3.2px, transparent 3.2px 5px), repeating-linear-gradient(180deg, var(--blue) 0 3.6px, transparent 3.6px 5px); background-size: calc(100% / 8 + 1px) 100%; background-position: 0.0% 0, 14.286% 0, 28.571% 0, 42.857% 0, 57.143% 0, 71.429% 0, 85.714% 0, 100.0% 0; background-repeat: no-repeat; opacity: .45; }
.kb-step { position: relative; padding: 70px 22px 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 16, 19, .05), 0 30px 60px -40px rgba(15, 20, 45, .35); }
.kb-step .dot { position: absolute; left: 22px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--paper); }
.kb-step .dot .ico { width: 36px; height: 36px; }
.kb-step .mono { position: absolute; right: 22px; top: 26px; color: var(--blue); }
.kb-step h3 { font: 400 26px/1.05 var(--sans); letter-spacing: -.03em; }
.kb-step p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: rgba(15, 16, 19, .68); }
.kb-step.now { background: var(--blue); color: #fff; box-shadow: 0 50px 100px -40px rgba(48, 64, 255, .85); }
.kb-step.now p { color: rgba(255, 255, 255, .8); } .kb-step.now .mono { color: rgba(255, 255, 255, .7); }
.kb-step.now .dot { background: rgba(255, 255, 255, .16); color: #fff; } .kb-step.now .dot svg { width: 24px; }
.kb-step.now::after { content: ""; position: absolute; left: 20%; right: -10%; bottom: -44px; height: 60px; z-index: -1; background-image: repeating-linear-gradient(180deg, rgba(48, 64, 255, .22) 0 1.5px, transparent 1.5px 10px), repeating-linear-gradient(180deg, rgba(48, 64, 255, .22) 0 2.7px, transparent 2.7px 10px), repeating-linear-gradient(180deg, rgba(48, 64, 255, .22) 0 3.9px, transparent 3.9px 10px), repeating-linear-gradient(180deg, rgba(48, 64, 255, .22) 0 5.1px, transparent 5.1px 10px), repeating-linear-gradient(180deg, rgba(48, 64, 255, .22) 0 6.3px, transparent 6.3px 10px), repeating-linear-gradient(180deg, rgba(48, 64, 255, .22) 0 7.5px, transparent 7.5px 10px); background-size: calc(100% / 6 + 1px) 100%; background-position: 0.0% 0, 20.0% 0, 40.0% 0, 60.0% 0, 80.0% 0, 100.0% 0; background-repeat: no-repeat; transform: skewX(var(--skew)); -webkit-mask: linear-gradient(180deg, #000, transparent); mask: linear-gradient(180deg, #000, transparent); }
.kb-quote { margin-top: 10vh; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 60px; align-items: end; }
.kb-quote q { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; quotes: "„" "”"; max-width: 26ch; text-wrap: balance; }
.kb-quote .sign { margin: 0; }
@media (max-width: 859px) {
  .kb-head { grid-template-columns: 1fr; } .kb-face { width: 170px; }
  .kb-axis { grid-template-columns: 1fr; gap: 12px; margin-top: 8vh; }
  .kb-axis::before { left: 39px; right: auto; top: 0; bottom: 0; width: 12px; height: auto; background-image: repeating-linear-gradient(90deg, var(--blue) 0 0.8px, transparent 0.8px 5px), repeating-linear-gradient(90deg, var(--blue) 0 1.2px, transparent 1.2px 5px), repeating-linear-gradient(90deg, var(--blue) 0 1.6px, transparent 1.6px 5px), repeating-linear-gradient(90deg, var(--blue) 0 2.0px, transparent 2.0px 5px), repeating-linear-gradient(90deg, var(--blue) 0 2.4px, transparent 2.4px 5px), repeating-linear-gradient(90deg, var(--blue) 0 2.8px, transparent 2.8px 5px), repeating-linear-gradient(90deg, var(--blue) 0 3.2px, transparent 3.2px 5px), repeating-linear-gradient(90deg, var(--blue) 0 3.6px, transparent 3.6px 5px); background-size: 100% calc(100% / 8 + 1px); background-position: 0 0.0%, 0 14.286%, 0 28.571%, 0 42.857%, 0 57.143%, 0 71.429%, 0 85.714%, 0 100.0%; background-repeat: no-repeat; }
  .kb-step { padding: 20px 20px 22px 76px; } .kb-step .dot { top: 20px; left: 22px; } .kb-step .mono { position: static; display: block; margin-bottom: 6px; }
  .kb-quote { grid-template-columns: 1fr; }
}

/* ── 12 · Obawy: siatka liczb z liniami jak wyniki badań (Function) ── */
.worry { padding: 14vh 0; }
.worry-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 6vw; align-items: end; }
.grid-stats { margin-top: 8vh; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gs { padding: 26px 24px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 320px; }
.gs:first-child { border-left: 0; padding-left: 0; }
.gs-v { font: 400 clamp(72px, 6.6vw, 112px)/.9 var(--sans); letter-spacing: -.065em; }
.gs-t { margin-top: auto; padding-top: 30px; font-size: 18px; line-height: 1.25; }
.range { position: relative; height: 18px; margin: 18px 0 10px; }
.range::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.range i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; left: 0; transition: left 1.6s var(--ease) .3s; }
.range .eu { background: var(--paper); box-shadow: inset 0 0 0 2px var(--fg3); }
.range .pl { background: var(--blue); box-shadow: 0 0 0 4px rgba(48, 64, 255, .15); }
.gs.in .range .eu { left: calc(var(--eu) * 100%); }
.gs.in .range .pl { left: calc(var(--pl) * 100%); }
.gs .mono b { color: var(--blue); font-weight: 500; }
.worry .src { margin-top: 14px; }
.faq { margin-top: 12vh; display: grid; gap: 8px; max-width: 1000px; margin-inline: auto; }
.faq details { color: var(--ink); border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 16, 19, .04); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(15, 16, 19, .05); transition: background .3s, color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary i { background: var(--blue); color: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.ans { overflow: hidden; }
.ans p { padding: 0 24px 24px; max-width: 66ch; color: var(--fg2); }
.ans .src { margin-top: 10px; }
@media (max-width: 959px) {
  .worry-head { grid-template-columns: 1fr; gap: 20px; }
  .grid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs { min-height: 240px; padding: 20px 16px; }
  .gs:nth-child(3) { border-left: 0; padding-left: 0; }
  .gs:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) { .gs-v { font-size: 60px; } .gs-t { font-size: 15px; } }

/* ── 13 · Pierwszy krok i niebieska stopka (Headroom) ── */
.final { position: relative; height: 100svh; min-height: 720px; overflow: hidden; display: flex; align-items: center; padding: 0 var(--gutter); }
.final-media { position: absolute; inset: 0; isolation: isolate; }
.final-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.9) brightness(1.04); transform: scale(var(--fz, 1.08)); }
.final-card { color: var(--ink); position: relative; z-index: 2; width: min(560px, 100%); padding: clamp(26px, 3vw, 44px); border-radius: 32px; display: grid; gap: 16px; background: rgba(255, 255, 255, .7); }
.final-card h2 { font-size: clamp(42px, 4.6vw, 72px); }
.final-card .lead { color: rgba(15, 16, 19, .7); }
.final-card .risk { font-size: 15px; color: rgba(15, 16, 19, .58); max-width: 46ch; }
.final-card .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 759px) { .final-media video { object-position: 80% 40%; } .final { align-items: flex-end; padding-bottom: 16px; padding-inline: 12px; } .final-card { border-radius: 26px; } .final-card .btn { justify-self: stretch; justify-content: center; } }
.foot { position: relative; padding: 14vh 0 36px; color: #fff; overflow: hidden; }
/* kreski należą do górnej części stopki (hasło), więc zawsze kończą się nad linią nad kontaktem */
.foot-top { position: relative; padding-bottom: 12vh; }
.foot-top::before { content: ""; position: absolute; right: -6%; top: -8vh; bottom: 4vh; width: 46%; background-image: repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 3.0px, transparent 3.0px 20px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 4.83px, transparent 4.83px 20px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 6.67px, transparent 6.67px 20px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 8.5px, transparent 8.5px 20px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 10.33px, transparent 10.33px 20px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 12.17px, transparent 12.17px 20px), repeating-linear-gradient(180deg, rgb(69, 83, 255) 0 14.0px, transparent 14.0px 20px); background-size: calc(100% / 7 + 1px) 100%; background-position: 0.0% 0, 16.667% 0, 33.333% 0, 50.0% 0, 66.667% 0, 83.333% 0, 100.0% 0; background-repeat: no-repeat; transform: skewX(var(--skew)); pointer-events: none;; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease) .5s; }
/* kreski w stopce wczytują się z opóźnieniem od lewej do prawej, krawędź odsłaniania pochylona jak logo */
.foot.in .foot-top::before { clip-path: inset(0 0 0 0); }
.claim-foot { position: relative; font: 400 clamp(44px, 7.6vw, 136px)/.92 var(--sans); letter-spacing: -.06em; } /* dwie linie: „Sprawy płyną.” / „Ty odpoczywasz.” (złamanie w HTML) */
.foot-row { position: relative; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .22); display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 4vw; }
.foot .brand { color: #fff; } .foot .brand svg { width: 42px; } .foot .brand .wordmark { font-size: 21px; }
.foot-row > div:last-child { justify-self: end; } /* „Obserwuj” kończy się równo z linią nad stopką */
.foot-p { margin-top: 14px; color: rgba(255, 255, 255, .7); }
.foot .mono { color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.foot-row a { text-decoration: none; } .foot-row a:hover { text-decoration: underline; }
.foot-legal { position: relative; margin-top: 10vh; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .6); }
.foot-legal a { text-decoration: none; }
@media (max-width: 859px) { .foot-row { grid-template-columns: 1fr 1fr; gap: 30px 20px; } .foot-row > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tunnel, .merge, .dark-claim, .flow-stage, .sphere-sec { height: auto; }
  .pin { position: relative; height: 100svh; }
  .split .w > span, .rv, .h-in, .msg, .mini, .hs { opacity: 1 !important; filter: none; transform: none; }
  .words .w { opacity: 1; }
}


/* 9b · Cennik (30.11.2026): trzy białe karty, środkowa z niebieską obwódką i glow; ceny netto, brutto drobnym drukiem */
.pricing { padding: 14vh 0 10vh; }
.pricing-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 6vw; align-items: end; }
.plans { margin-top: 8vh; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 30px 28px; border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(15, 16, 19, .05); }
.plan.featured { box-shadow: 0 0 0 2px var(--blue), 0 50px 100px -50px rgba(48, 64, 255, .75); }
.plan-top { display: grid; gap: 8px; }
.plan-top .mono { color: var(--blue); }
.plan-chip { position: absolute; left: 28px; top: 0; transform: translateY(-50%); padding: 5px 10px; border-radius: 999px; background: var(--blue); color: #fff; font: 400 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { font: 400 clamp(32px, 2.8vw, 44px)/1 var(--sans); letter-spacing: -.045em; }
.plan-for { color: rgba(15, 16, 19, .62); font-size: 16px; line-height: 1.45; }
.plan-price { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; row-gap: 4px; font-variant-numeric: tabular-nums; }
.plan-price b { font: 400 clamp(46px, 4.2vw, 64px)/.95 var(--sans); letter-spacing: -.055em; white-space: nowrap; }
.plan-price .mono { color: rgba(15, 16, 19, .5); }
.plan-price small { grid-column: 1 / -1; font-size: 13px; color: rgba(15, 16, 19, .5); }
.plan-opts { margin: 0; border-top: 1px solid rgba(15, 16, 19, .1); }
.plan-opts div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(15, 16, 19, .1); font-size: 15px; }
.plan-opts dt { min-width: 0; }
.plan-opts dd { margin: 0; text-align: right; white-space: nowrap; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan-opts dd small, .plan-opts dt small { display: block; font-weight: 400; font-size: 12px; color: rgba(15, 16, 19, .5); }
.plan-list { display: grid; gap: 10px; font-size: 15.5px; }
.plan-list li { position: relative; padding-left: 26px; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 14px; height: 2px; border-radius: 1px; background: var(--blue); transform: skewX(var(--skew)); }
.plan-meta { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(15, 16, 19, .1); font-size: 13.5px; color: rgba(15, 16, 19, .55); }
.plan-note { margin-top: 22px; font-size: 14px; color: var(--fg2); text-align: center; text-wrap: balance; }
.plan-note b { color: var(--fg); font-weight: 500; }
/* plany obok siebie: wiersze (nagłówek, cena, opcje, lista, dopisek) mają wspólną wysokość, więc nazwy, ceny i tabele stoją na jednej linii;
   Opieka nie ma tabeli, więc jej lista zaczyna się tam, gdzie u innych tabela. Znacznik „Polecany” siedzi na krawędzi karty i nie spycha nagłówka */
@media (min-width: 960px) {
  @supports (grid-template-rows: subgrid) {
    .plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
    .plan-top { grid-row: 1; align-content: start; } .plan-price { grid-row: 2; } .plan-opts { grid-row: 3; } .plan-list { grid-row: 4; align-content: start; } .plan-meta { grid-row: 5; margin-top: 0; }
    .plan:not(:has(.plan-opts)) .plan-list { grid-row: 3 / 5; }
  }
}
@media (max-width: 959px) {
  .pricing-head, .plans { grid-template-columns: minmax(0, 1fr); }
  .pricing-head { gap: 20px; }
  .plan { padding: 26px 22px; }
  .plan-chip { left: 22px; }
}
