/* getlazyposting - strona www (strona glowna, podstrony, blog, logowanie)
   Swiat: klasyczne obrazy olejne (site/assets/film). Paleta jak pear.no: papier, tusz, niebo, odrobina zlota.
   Ksztalty (zasada): przyciski, chipy i przelaczniki 4px (prostokaty), karty i szklane panele 14px, pola formularzy 8px.
     Wyjatki celowe: ramy obrazow 3px (zlocona rama), makieta telefonu (ksztalt urzadzenia).
   Kolor: tusz na papierze; --sky to jedyny akcent (linki, stany aktywne, focus, kursywa w naglowkach na papierze);
     --gold tylko w drobiazgach (gwiazdki, punkt w chipie). Tylko jasny motyw; noc na stronie glownej to lokalnie jasny tekst.
   Czcionki: Newsreader 300 (naglowki, kursywa jako wyroznienie), Geist (tekst), Geist Mono (etykiety, przyciski, liczby). */
:root {
  color-scheme: light;
  --paper: #F2F1ED;
  --surface: #FAF9F6;
  --ink: #1D1C19;
  --ink-soft: #33322D;
  --muted: #5E5B53;
  --press: #0B0A09;
  --sky: #015186;
  --gold: #B8923A;
  --rule: rgba(29,28,25,.16);
  --rule-light: rgba(255,255,255,.35);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --shadow: 0 1px 2px rgba(29,28,25,.04), 0 14px 32px -18px rgba(29,28,25,.18);
  --shadow-lg: 0 2px 4px rgba(29,28,25,.04), 0 28px 60px -28px rgba(29,28,25,.32);
  --ease: cubic-bezier(.16,1,.3,1);
  --max: 1200px;
  --nav-h: 64px;
  --gut-l: 168px;
  --gut-r: calc(14vw + 40px);
  /* stare nazwy tokenow, zmapowane na nowa palete (podstrony i logowanie z nich korzystaja) */
  --bg: var(--paper); --surface-2: #E8E6E0; --text: var(--ink); --faint: #6B685F;
  --line: rgba(29,28,25,.10); --line-2: var(--rule);
  --accent: var(--sky); --accent-ink: var(--paper); --overlay: rgba(11,10,9,.88);
  --bg2: var(--surface-2); --panel: var(--surface); --panel2: var(--surface-2); --line2: var(--line-2);
  --violet: var(--accent); --violet2: var(--text); --pink: var(--faint); --mint: var(--text); --amber: var(--accent);
  --grad: var(--accent); --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2 { font-family: var(--serif); font-weight: 300; letter-spacing: -.025em; line-height: 1.06; margin: 0; }
h3, h4 { font-weight: 500; letter-spacing: -.015em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(42px, 5.6vw, 80px); }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--sky); padding-right: .04em; }
p { color: var(--muted); max-width: 60ch; margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.num, .mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.grad-text { color: inherit; }

/* przejscia miedzy stronami */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .35s var(--ease) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
header.nav { view-transition-name: site-nav; }

/* nawigacja */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(242,241,237,.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); transition: background-color .3s, color .3s; }
.nav-in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
header.nav .nav-in { max-width: none; padding: 0 24px; }  /* pelna szerokosc wszedzie, pasek nie przeskakuje miedzy glowna a podstronami */
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 17px; letter-spacing: -.03em; white-space: nowrap; }
.logo b { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 24px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--sky); }
.nav-cta { margin-left: auto; display: flex; gap: 18px; align-items: center; }
@media (min-width: 961px) {  /* linki na srodku paska, logo i przyciski po bokach */
  .nav-in { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
  .nav-cta { margin-left: 0; justify-self: end; }
}
.nav-links .nav-m { display: none; }
.nav-login { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); transition: color .2s; }
.nav-login:hover { color: var(--ink); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); color: inherit; border-radius: 4px; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger::before { content: ""; position: absolute; left: 12px; top: 19px; width: 14px; height: 1.25px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }

/* przyciski: prostokat 4px, mono wersaliki, glowny z kwadratem i strzalka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 18px; border-radius: 4px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--rule); background: rgba(250,249,246,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, border-color .2s, opacity .2s; }
.btn:hover { border-color: rgba(29,28,25,.4); background: rgba(250,249,246,.85); }
.btn:active { transform: scale(.98); }
.btn.primary, .btn.dark { background: var(--press); border-color: var(--press); color: var(--paper); padding: 6px 6px 6px 18px; }
.btn.primary:hover, .btn.dark:hover { background: #26241F; border-color: #26241F; }
.btn.primary::after, .btn.dark::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 2px; border: 1px solid rgba(242,241,237,.22); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.6 1.6 7 5 3.6 8.4' fill='none' stroke='%23F2F1ED' stroke-width='1.2'/%3E%3C/svg%3E") center / 10px no-repeat; transition: transform .3s var(--ease); }
.btn.primary:hover::after, .btn.dark:hover::after { transform: translateX(2px); }
.btn.sm { padding: 9px 14px; font-size: 10.5px; }
.btn.primary.sm { padding: 4px 4px 4px 14px; gap: 12px; }
.btn.primary.sm::after { width: 24px; height: 24px; }
.btn.lg { padding: 15px 22px; font-size: 12px; }
.btn.primary.lg { padding: 7px 7px 7px 22px; gap: 18px; }
.btn.primary.lg::after { width: 32px; height: 32px; }
.btn:disabled { opacity: .6; cursor: default; }
.tlink { color: var(--ink); font: 500 11.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-decoration-color .2s, color .2s; }
.tlink:hover { text-decoration-color: currentColor; color: var(--sky); }

/* chip z etykieta (mono wersaliki) */
.kicker { display: inline-flex; align-items: center; gap: 9px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding: 7px 10px 6px; border: 1px solid var(--rule); border-radius: 4px; background: rgba(242,241,237,.6); margin-bottom: 22px; }
.kicker::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--gold); flex: none; }
.pill { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 4px; border: 1px solid var(--rule); background: var(--surface); font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* naglowek slowo po slowie (podstrony) */
.split .w { display: inline-block; opacity: 0; animation: wordin .8s var(--ease) forwards; }
@keyframes wordin { from { opacity: 0; transform: translateY(.25em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* animacje wejscia */
.reveal { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.in:hover { transition-delay: 0s; }

/* szklany panel (gesta tresc na obrazie) */
.glass, .home .plan:not(.featured), .home .billing { background: rgba(250,249,246,.62); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15); border: 1px solid rgba(255,255,255,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 24px 60px -36px rgba(29,28,25,.45); }
.glass { border-radius: 14px; }

/* ===== strona glowna: film ===== */
.home { background: var(--paper); }
.film { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--paper) url(film/01.jpg) 30% 50% / cover no-repeat; }
.js .film { background-image: none; }
.film-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.film.is-gl.is-ready .film-gl { opacity: 1; }
.film:not(.is-gl) .film-gl { display: none; }
.film-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.film-imgs img.on { opacity: 1; }
.film-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242,241,237,.58) 0%, rgba(242,241,237,.44) 28%, rgba(242,241,237,.14) 46%, rgba(242,241,237,0) 58%); }
.film-grid { position: absolute; inset: 0; pointer-events: none; }
.ln { position: absolute; background: var(--rule-light); }
.ln.v { top: 0; bottom: 0; width: 1px; transform-origin: top; animation: ln-y 1.6s .2s var(--ease) both; }
.ln.v.l { left: 84px; }
.ln.v.r { left: 86%; animation-delay: .35s; }
.ln.h { left: 0; right: 0; height: 1px; transform-origin: left; animation: ln-x 1.8s .45s var(--ease) both; }
.ln.h.m { top: 70%; }
@keyframes ln-y { from { transform: scaleY(0); } }
@keyframes ln-x { from { transform: scaleX(0); } }
.star { position: absolute; width: 13px; height: 13px; margin: -6px 0 0 -6px; color: rgba(255,255,255,.92); animation: star-in .9s 1.2s var(--ease) both; }
.star svg { width: 100%; height: 100%; display: block; fill: currentColor; animation: spin 18s linear infinite; }
.s1 { left: 84px; top: var(--nav-h); } .s2 { left: 86%; top: var(--nav-h); } .s3 { left: 84px; top: 70%; } .s4 { left: 86%; top: 70%; }
@keyframes star-in { from { transform: scale(0); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.film-load { position: absolute; left: 24px; bottom: 20px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); transition: opacity .6s; }
.film-load.done { opacity: 0; }

/* naglowek na obrazie */
.home header.nav { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home header.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--rule-light); transform-origin: left; animation: ln-x 1.6s .1s var(--ease) both; }
.home header.nav.scrolled { background: rgba(242,241,237,.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.home.is-night header.nav { color: var(--paper); }
.home.is-night .nav-links, .home.is-night .nav-login { color: rgba(242,241,237,.85); }
.home.is-night .nav-links a:hover, .home.is-night .nav-login:hover { color: var(--paper); }
.home.is-night header.nav.scrolled { background: rgba(11,10,9,.32); }
.home.is-night .nav-cta .btn.primary { background: var(--paper); border-color: var(--paper); color: var(--press); }
.home.is-night .nav-cta .btn.primary::after { border-color: rgba(11,10,9,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.6 1.6 7 5 3.6 8.4' fill='none' stroke='%230B0A09' stroke-width='1.2'/%3E%3C/svg%3E"); }

/* szyna z rozdzialami */
.rail { position: fixed; left: 24px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 15px; }
.rail a { display: flex; align-items: center; gap: 10px; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: .62; transition: opacity .3s, color .3s; }
.rail i { width: 10px; height: 1px; background: currentColor; transition: width .45s var(--ease); }
.rail a:hover { opacity: .9; }
.rail a.on { opacity: 1; }
.rail a.on i { width: 26px; }
.is-night .rail a { color: var(--paper); }

/* rozdzialy */
.film-main { position: relative; z-index: 2; }
.chap { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gut-r) 96px var(--gut-l); }
.chap-head { max-width: 540px; }
.chap h1 { font-size: clamp(44px, 4.8vw, 74px); line-height: 1.05; padding-bottom: .04em; }
.chap h2 { font-size: clamp(38px, 4.2vw, 64px); line-height: 1.06; padding-bottom: .04em; }
.home .chap h1 em, .home .chap h2 em { color: inherit; }
.chap-head p { color: var(--ink-soft); font-size: 18px; line-height: 1.55; max-width: 42ch; margin: 22px 0 0; }
.wd { display: inline-block; }
.film-pre .chap-head > *, .film-pre .hero-strip { visibility: hidden; }
.chap-hero { justify-content: flex-start; padding-top: clamp(104px, 19vh, 190px); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-strip { position: absolute; left: var(--gut-l); top: calc(70% + 22px); display: flex; align-items: flex-start; gap: 18px; max-width: 540px; }
.hero-strip .kicker { margin: 0; flex: none; }
.hero-strip p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }
.chap-wide .chap-head { margin-bottom: 40px; }
.chap-more { margin: 26px 0 0; }
.chap .fine { display: block; margin-top: 14px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* przyklady: pasek obrazow w zloconych ramach */
.strip { margin: 0 calc(-1 * var(--gut-r)) 0 0; padding: 12px var(--gut-r) 28px 0; overflow-x: auto; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drift { overflow: hidden; }
.strip-track { display: flex; gap: 24px; width: max-content; }
.frame { margin: 0; flex: none; padding: 5px; border-radius: 3px; background: linear-gradient(140deg, #E4CF94, #B8923A 36%, #8C6A24 62%, #D8BD78); box-shadow: 0 22px 44px -24px rgba(29,28,25,.6); transition: transform .4s var(--ease); }
.frame:hover { transform: translateY(-4px); }
.frame img { width: 216px; aspect-ratio: 4/5; object-fit: cover; border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(29,28,25,.3); cursor: zoom-in; }

/* czas: dwie kolumny */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; }
.vs-col { padding: 30px 32px; border-radius: 14px; }
.vs-col h3 { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vs-num { font-family: var(--serif); font-weight: 300; font-variant-numeric: tabular-nums; font-size: clamp(56px, 6.4vw, 96px); letter-spacing: -.04em; line-height: 1; margin: 16px 0 26px; }
.vs-col.old .vs-num { color: var(--muted); }
.vs-col.new .vs-num { font-style: italic; }
.vs-rows { display: flex; flex-direction: column; gap: 12px; }
.vs-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.vs-row span { color: var(--ink-soft); }
.vs-row b { font: 500 12px/1.6 var(--mono); letter-spacing: .06em; white-space: nowrap; }
.vs-col.old .vs-row b { color: var(--muted); }

.phone-x { position: relative; width: 190px; aspect-ratio: 9/16.6; border-radius: 34px; background: var(--press); padding: 8px; box-shadow: var(--shadow-lg); }
.phone-x video { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; display: block; background: #222; }
.phone-x .notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 56px; height: 16px; border-radius: 12px; background: var(--press); z-index: 2; }

/* publikacja: tekst + kalendarz po lewej, duzy telefon z rolka po prawej */
.pub { display: grid; grid-template-columns: minmax(0, 520px) auto; align-items: center; justify-content: start; gap: clamp(36px, 4vw, 64px); }
.pub-cal { list-style: none; margin: 30px 0 0; padding: 8px 20px; border-radius: 14px; max-width: 440px; }
.pub-cal li { display: grid; grid-template-columns: 76px 46px 1fr auto; align-items: center; gap: 10px; padding: 13px 0; font-size: 14.5px; }
.pub-cal li + li { border-top: 1px solid var(--line); }
.pub-cal b { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pub-cal span { font: 500 13px/1 var(--mono); font-variant-numeric: tabular-nums; }
.pub-cal em { font-style: normal; color: var(--ink-soft); min-width: 0; }
.pub-cal i { font: 500 10.5px/1 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; border: 1px solid var(--rule); color: var(--muted); white-space: nowrap; }
.pub-cal .done i { color: #1F6B45; border-color: rgba(31,107,69,.3); background: rgba(31,107,69,.08); }
.pub-cal .next i { color: var(--ink); border-color: var(--gold); background: rgba(184,146,58,.14); }
.chap-pub { overflow-x: clip; }
.pub-phone { position: relative; margin: 0; }
.pub-phone::before { content: ""; position: absolute; inset: 12% -18% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(184,146,58,.35), transparent); filter: blur(10px); z-index: -1; }
.phone-x.lg { width: clamp(240px, 21vw, 300px); border-radius: 46px; padding: 10px; box-shadow: 0 2px 4px rgba(29,28,25,.06), 0 50px 90px -36px rgba(11,10,9,.6), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone-x.lg video { border-radius: 37px; }
.phone-x.lg .notch { width: 70px; height: 20px; top: 20px; }
.snd { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border: 0; border-radius: 999px; background: rgba(11,10,9,.62); color: #fff; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, transform .2s var(--ease); white-space: nowrap; }
.snd:hover { background: rgba(11,10,9,.8); }
.snd:active { transform: translateX(-50%) scale(.96); }
.snd:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.snd i { width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat;
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5Z'/%3E%3Cpath d='m22 9-6 6M16 9l6 6'/%3E%3C/svg%3E"); }
.snd.on i { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5Z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: no-preference) {
  .pub-phone .phone-x { animation: pub-float 7s ease-in-out infinite; }
}
@keyframes pub-float { 50% { transform: translateY(-10px); } }

/* panel: statyczna makieta kart klipow */
.clips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1060px; }
.clip { display: flex; gap: 16px; padding: 14px; }
.clip-thumb { flex: none; width: 88px; aspect-ratio: 9/16; border-radius: 8px; background: linear-gradient(160deg, rgba(1,81,134,.22), rgba(184,146,58,.28)); border: 1px solid var(--rule); }
.clip-bd { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.clip-bd h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.clip-meta { margin: 0; display: flex; gap: 12px; flex-wrap: wrap; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.clip-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.clip-act .btn { pointer-events: none; cursor: default; }
.btn.clip-pub { background: var(--press); border-color: var(--press); color: var(--paper); }

/* lista oczekujacych */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wl { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; max-width: 540px; margin-top: 28px; }
.wl input[type=email] { flex: 1 1 220px; min-width: 0; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: 16px var(--sans); transition: border-color .2s; }
.wl input[type=email]:focus { border-color: var(--sky); }
.wl .hp { position: absolute; left: -9999px; width: 1px; }
.wl-msg { flex-basis: 100%; margin: 0; min-height: 1.4em; font-size: 15px; color: var(--ink); }
.wl-msg.err { color: #9A2B1F; }
@media (max-width: 1023px) { .clips { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 767px) { .clip, .wl { background: rgba(250,249,246,.9); } }

/* noc (FAQ) */
.chap-night { color: var(--paper); }
.chap-night h2 { text-shadow: 0 2px 28px rgba(11,10,9,.5); }
.chap-night .kicker { color: var(--paper); border-color: rgba(255,255,255,.3); background: rgba(11,10,9,.3); }
.chap-night .glass { background: rgba(11,10,9,.46); border-color: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 60px -30px rgba(0,0,0,.6); }
.chap-night .faq summary { color: var(--paper); }
.chap-night .faq .ans { color: rgba(242,241,237,.8); }
.chap-night .faq details { border-color: rgba(255,255,255,.14); }
.chap-night .tlink { color: var(--paper); text-decoration-color: rgba(255,255,255,.4); }
.faq-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; padding: 6px 32px 10px; max-width: 1040px; }
.faq-2 details:last-child { border-bottom: 0; }  /* dwie niezalezne kolumny: otwarte pytanie nie rozpycha sasiada */

/* final */
.chap-final { min-height: 78vh; min-height: 78dvh; align-items: center; text-align: center; padding: 140px 24px 40px; }
.chap-final::before { content: ""; position: absolute; left: 50%; top: 52%; width: min(1100px, 96vw); height: 60%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(11,10,9,.45), rgba(11,10,9,0)); pointer-events: none; }
.final-mark { position: relative; }
.final-mark { max-width: none; }
.chap .wordmark { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 12.5vw, 180px); letter-spacing: -.04em; line-height: 1; color: var(--surface); text-shadow: 0 2px 50px rgba(11,10,9,.4), 0 1px 3px rgba(11,10,9,.35); }
.final-mark p { margin: 18px auto 0; max-width: none; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 2vw, 28px); color: var(--surface); text-shadow: 0 1px 18px rgba(11,10,9,.5); }
.final-mark .btn { margin-top: 30px; }
.home footer.foot { position: relative; z-index: 2; margin: 0; border: 0; padding: 72px var(--gut-r) 28px var(--gut-l); background: linear-gradient(180deg, rgba(11,10,9,0), rgba(11,10,9,.6) 34%, rgba(11,10,9,.8)); color: var(--paper); }
.home .foot .wrap { max-width: none; padding: 0; }
.home .foot h5 { color: rgba(242,241,237,.62); }
.home .foot a { font: 400 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(242,241,237,.88); }
.home .foot a:hover { color: var(--surface); }
.home .foot a.logo { font: 500 17px/1 var(--sans); letter-spacing: -.03em; text-transform: none; color: var(--surface); }
.home .foot-about { color: rgba(242,241,237,.78); }
.home .foot-bottom { border-top-color: rgba(255,255,255,.18); color: rgba(242,241,237,.66); }

/* ===== sekcje (podstrony) ===== */
section.block { padding: 104px 0; position: relative; }
.sec-head { margin: 0 0 44px; }
.sec-head p { font-size: 18px; margin: 18px 0 0; }
.fine { display: block; margin-top: 8px; font-size: 14px; color: var(--faint); }

/* podstrony: pas z obrazem */
.band { position: relative; isolation: isolate; overflow: hidden; min-height: 46vh; min-height: 46svh; display: flex; align-items: flex-end; padding: 88px 0 44px; text-align: left; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(242,241,237,.76) 0%, rgba(242,241,237,.56) 38%, rgba(242,241,237,0) 66%), linear-gradient(180deg, rgba(242,241,237,0) 45%, rgba(242,241,237,.7) 82%, var(--paper) 100%); }
.band .wrap { width: 100%; }
.band.hero h1 { max-width: min(560px, 100%); }
.band.hero p.lead { max-width: 520px; }
.band.night { color: var(--paper); }
.band.night::before { background: linear-gradient(90deg, rgba(11,10,9,.62) 0%, rgba(11,10,9,.4) 40%, rgba(11,10,9,0) 72%), linear-gradient(0deg, rgba(11,10,9,.55) 0%, rgba(11,10,9,0) 60%); }
.band.night h1 em { color: #BFD6E6; }
.band.night p.lead { color: rgba(242,241,237,.86); }
.band.night .kicker { color: var(--paper); border-color: rgba(255,255,255,.3); background: rgba(11,10,9,.3); }
.hero { padding: 72px 0 32px; }
.hero h1 { margin: 0 0 18px; max-width: 900px; }
.sub-hero h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.06; }
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 560px; margin: 0; }
.hero .hero-cta { margin-top: 28px; }

/* funkcje */
.feat { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.feat.flip { grid-template-columns: 1.1fr .9fr; } .feat.flip .feat-txt { order: 2; }
.feat h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 16px; }
.feat p { font-size: 17px; margin: 0 0 22px; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; cursor: zoom-in; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.ticks li::before { content: ""; flex: none; width: 6px; height: 11px; margin: 4px 5px 0 3px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* cennik */
.billing { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 4px; background: var(--surface); border: 1px solid var(--rule); position: relative; margin-top: 28px; }
.billing button { position: relative; z-index: 1; background: none; border: 0; color: var(--ink-soft); font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px; cursor: pointer; border-radius: 3px; transition: color .3s; }
.billing button.on { color: var(--paper); }
.billing .knob { position: absolute; top: 4px; bottom: 4px; border-radius: 3px; background: var(--press); transition: left .4s var(--ease), width .4s var(--ease); }
.billing em { font-style: normal; font-size: 10px; font-weight: 500; background: var(--sky); color: var(--paper); padding: 2px 6px; border-radius: 2px; margin-left: 8px; }
.home .billing { border-radius: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.home .plans { max-width: 1060px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .2s; }
.plan:hover { transform: translateY(-2px); border-color: var(--rule); }
.plan.featured { background: var(--press); border-color: var(--press); color: var(--paper); box-shadow: 0 30px 60px -30px rgba(11,10,9,.6); }
.plan.featured .tl, .plan.featured .per { color: rgba(242,241,237,.68); }
.plan.featured li::before { border-color: var(--paper); }
.plan.featured .btn.primary { background: var(--paper); border-color: var(--paper); color: var(--press); }
.plan.featured .btn.primary::after { border-color: rgba(11,10,9,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.6 1.6 7 5 3.6 8.4' fill='none' stroke='%230B0A09' stroke-width='1.2'/%3E%3C/svg%3E"); }
.plan.featured .badge { background: var(--paper); color: var(--press); border: 1px solid var(--press); }
.plan .badge { position: absolute; top: -12px; left: 28px; background: var(--press); color: var(--paper); font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; white-space: nowrap; }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.02em; }
.plan .tl { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; height: 60px; }
.price .amt { font-family: var(--serif); font-weight: 300; font-variant-numeric: tabular-nums; font-size: 56px; letter-spacing: -.04em; display: inline-block; transition: transform .35s var(--ease), opacity .35s; }
.price .amt.flip { transform: translateY(-30%); opacity: 0; }
.price .per { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 6px; height: 11px; margin: 3px 5px 0 3px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.plan .btn { margin-top: auto; width: 100%; justify-content: space-between; }
.plan .btn:not(.primary) { justify-content: center; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .3s var(--ease), border-color .2s; }
.post-card:hover { transform: translateY(-2px); border-color: var(--rule); }
.post-card .cov { aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--surface-2); }
.post-card .cov img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .cov img { transform: scale(1.03); }
.post-card .cov .gfx { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 300; font-size: 26px; color: var(--ink); padding: 20px; text-align: center; letter-spacing: -.02em; }
.post-card .bd { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; }
.post-card h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; letter-spacing: -.015em; }
.post-card p { margin: 0; font-size: 15px; }
.post-card .more { margin-top: auto; padding-top: 8px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--rule); }
.empty-blog { text-align: center; color: var(--muted); padding: 40px; border: 1px dashed var(--rule); border-radius: 14px; background: rgba(250,249,246,.6); }

/* artykul */
.article-hero { padding: 72px 0 32px; text-align: center; }
.article-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 900px; margin: 18px auto; }
.article-hero .meta { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article-cover { max-width: 980px; margin: 32px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; background: var(--surface); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 720px; margin: 60px auto; font-size: 18px; line-height: 1.75; color: var(--ink); }
.prose p { color: var(--ink); max-width: none; margin: 0 0 20px; }
.prose h2 { font-size: 34px; margin: 54px 0 16px; }
.prose h3 { font-size: 22px; margin: 34px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 22px; } .prose li { margin-bottom: 8px; }
.prose blockquote { margin: 30px 0; padding: 18px 24px; border-left: 2px solid var(--sky); background: var(--surface); border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 300; }
.prose a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--sky); transform-origin: left; transform: scaleX(0); z-index: 60; }
.cta-box { max-width: 720px; margin: 0 auto 80px; padding: 36px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.cta-box h3 { font-family: var(--serif); font-weight: 300; font-size: 32px; margin-bottom: 10px; }
.cta-box p { margin: 0 auto 22px; }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 500; font-size: 17px; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 100% 1.25px no-repeat, linear-gradient(currentColor, currentColor) center / 1.25px 100% no-repeat; transition: background-size .3s var(--ease); }
.faq details[open] summary::after { background-size: 100% 1.25px, 1.25px 0; }
.faq .ans { color: var(--muted); padding-bottom: 20px; font-size: 15.5px; max-width: 60ch; }
.faq details[open] .ans { animation: ansin .45s var(--ease); }
@keyframes ansin { from { opacity: 0; transform: translateY(-6px); } }

/* koncowe CTA (podstrony) */
.final { text-align: center; padding: 112px 0 40px; }
.final h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.08; max-width: 14em; margin: 0 auto 18px; }
.final p { font-size: 19px; margin: 0 auto 32px; }

/* stopka */
footer.foot { border-top: 1px solid var(--rule); margin-top: 96px; padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 30px; }
.foot h5 { margin: 0 0 14px; font: 500 10.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.foot a { display: block; color: var(--ink-soft); font-size: 15px; margin-bottom: 9px; transition: color .2s; }
.foot a.logo { display: inline-flex; color: var(--ink); font-size: 17px; margin-bottom: 0; }
.foot a:hover { color: var(--sky); }
.foot-about { max-width: 300px; font-size: 14.5px; margin-top: 14px; color: var(--muted); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; color: var(--muted); font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; gap: 16px; flex-wrap: wrap; }

/* powiekszanie */
.zoombox { position: fixed; inset: 0; background: var(--overlay); display: none; align-items: center; justify-content: center; z-index: 100; cursor: zoom-out; }
.zoombox.on { display: flex; } .zoombox img { max-width: 92vw; max-height: 92vh; border-radius: 14px; }

/* ===== elementy podstron ===== */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; transition: transform .3s var(--ease), border-color .2s; }
.card:hover { transform: translateY(-2px); border-color: var(--rule); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.015em; margin: 0 0 10px; }
.card p { margin: 0; font-size: 15.5px; }
.card.hl { background: var(--press); border-color: var(--press); color: var(--paper); }
.card.hl p { color: rgba(242,241,237,.7); }
.card.hl .big-num { color: var(--paper) !important; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; text-align: center; padding: 32px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.stat-row b { display: block; font-family: var(--serif); font-weight: 300; font-variant-numeric: tabular-nums; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.03em; }
.stat-row span { color: var(--muted); font-size: 14.5px; }
.tabs-f { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs-f button { background: transparent; border: 1px solid var(--rule); color: var(--ink-soft); font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; border-radius: 4px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.tabs-f button:hover { border-color: rgba(29,28,25,.4); color: var(--ink); }
.tabs-f button.on { color: var(--paper); background: var(--press); border-color: var(--press); }
.ex-list { display: flex; flex-direction: column; gap: 24px; }
.ex { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.ex.hide { display: none; }
.ex-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.ex-head h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.02em; margin: 6px 0 4px; } .ex-head p { margin: 0; font-size: 15px; }
.ex-ind { font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ex-chips { display: flex; gap: 6px; flex-wrap: wrap; } .ex-chips span { font: 500 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; border: 1px solid var(--rule); color: var(--muted); }
.ex-chips .ok { color: var(--sky); border-color: rgba(1,81,134,.35); }
.ex-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.ex-strip img { border-radius: 14px; aspect-ratio: 4/5; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; transition: transform .3s var(--ease); }
.ex-strip img:hover { transform: translateY(-2px); }
.ex-cap { margin-top: 16px; } .ex-cap summary { cursor: pointer; color: var(--ink); font-weight: 500; font-size: 15px; }
.ex-cap p { white-space: pre-line; max-width: none; font-size: 15px; background: var(--surface-2); padding: 18px; border-radius: 14px; }
.reel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); gap: 26px; justify-content: center; }
.reel-card { text-align: center; display: flex; flex-direction: column; gap: 4px; align-items: center; cursor: pointer; }
.phone-x.sm { width: 230px; margin-bottom: 12px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(-2deg); }
.mosaic img { border-radius: 14px; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); border: 1px solid var(--line); }
.mosaic img:nth-child(even) { transform: translateY(20px); }
.cmp-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 15px; }
.cmp th { font-family: var(--serif); font-weight: 400; font-size: 20px; } .cmp td:first-child, .cmp th:first-child { text-align: left; color: var(--muted); }
.cmp tr:last-child td { border-bottom: 0; } .cmp tbody tr:hover { background: var(--surface-2); }
.vs3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.big-num { font-family: var(--serif); font-weight: 300 !important; font-variant-numeric: tabular-nums; font-size: 34px !important; letter-spacing: -.03em; color: var(--ink) !important; margin: 4px 0 8px !important; }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 1px; background: var(--rule); }
.tl-item { display: flex; gap: 22px; margin-bottom: 28px; position: relative; }
.tl-dot { width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 15px; background: var(--paper); border: 1px solid var(--rule); }
.tl-body { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; flex: 1; }
.tl-body h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 4px 0 6px; } .tl-body p { margin: 0; }
.tl-time { font: 500 10.5px/1.2 var(--mono); color: var(--sky); letter-spacing: .12em; text-transform: uppercase; }
.ideas-list { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ideas-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-weight: 500; }
.search-in, .cform input, .cform textarea { width: 100%; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: 16px var(--sans); transition: border-color .2s; }
.search-in::placeholder, .cform input::placeholder, .cform textarea::placeholder { color: var(--faint); }
.search-in:focus, .cform input:focus, .cform textarea:focus { border-color: var(--sky); }
.faq-page > * { max-width: 860px; } .faq-group { margin-bottom: 40px; } .faq-group h3 { font: 500 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.faq details.hide { display: none; }
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.cform { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; position: relative; }
.cform label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.cform .btn { align-self: flex-start; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; }
.cf-ok { display: none; color: var(--ink); font-weight: 500; } .cf-ok.on { display: block; }
.cside { display: flex; flex-direction: column; gap: 16px; }

/* szklo bez backdrop-filter albo przy prefers-reduced-transparency: pelne tlo */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass, .home .plan:not(.featured), .home .billing, .btn { background: var(--surface); }
  .chap-night .glass { background: #22211E; }
  .home header.nav.scrolled { background: var(--paper); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .home .plan:not(.featured), .home .billing { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .chap-night .glass { background: #22211E; }
}

/* responsywnosc */
@media (max-width: 1279px) {
  :root { --gut-l: 160px; --gut-r: calc(10vw + 24px); }
}
@media (max-width: 1023px) {
  :root { --gut-l: 40px; --gut-r: 40px; }
  .rail, .ln.v, .star { display: none; }
  .film-scrim { background: linear-gradient(90deg, rgba(242,241,237,.66) 0%, rgba(242,241,237,.5) 40%, rgba(242,241,237,.12) 75%); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: var(--nav-h); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface); color: var(--ink-soft); border: 1px solid var(--rule); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-lg); }
  .nav-links.open a { padding: 14px 12px; }
  .nav-links.open .nav-m { display: block; }
  .nav-links.open .nav-m + .nav-m { color: var(--ink); border-top: 1px solid var(--rule); margin-top: 4px; padding-top: 16px; }
  .home.is-night .nav-links.open { color: var(--ink-soft); }
  .burger { display: block; }
  .burger[aria-expanded="true"]::before { top: 19px; box-shadow: none; transform: rotate(45deg); }
  .burger[aria-expanded="true"]::after { content: ""; position: absolute; left: 12px; top: 19px; width: 14px; height: 1.25px; background: currentColor; transform: rotate(-45deg); } .nav-login { display: none; } .nav-cta { margin-left: 0; }
  .vs, .feat, .feat.flip, .faq-2 { grid-template-columns: 1fr; }
  .feat { gap: 32px; margin-bottom: 64px; } .feat.flip .feat-txt { order: 0; }
  .faq-2 .faq:first-child details:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
  .plans, .posts, .grid3, .vs3, .contact, .cf-row, .ideas-list { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  .home .plans { max-width: 520px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .vs-col { padding: 24px; }
  .pub { grid-template-columns: 1fr; gap: 44px; }
  .pub-phone { justify-self: center; }
}
@media (max-width: 767px) {
  :root { --gut-l: 20px; --gut-r: 20px; }
  /* stopka i linki tekstowe: cel dotyku min. ~40 px */
  .foot a:not(.logo) { padding: 8px 0; margin-bottom: 0; }
  .home .foot a:not(.logo) { padding: 9px 0; }
  .tlink { display: inline-block; padding: 12px 0; }
  .film { background-image: url(film/01-m.jpg); background-position: 62% 50%; }
  .js .film { background-image: none; }
  .ln.h.m { display: none; }
  .film-scrim { background: linear-gradient(0deg, rgba(242,241,237,.9) 0%, rgba(242,241,237,.76) 42%, rgba(242,241,237,.28) 72%, rgba(242,241,237,.12) 100%); }
  .chap { justify-content: flex-end; padding: 96px var(--gut-r) 64px var(--gut-l); }
  .chap-hero { justify-content: flex-end; padding-top: 96px; }
  .chap h1 { font-size: clamp(40px, 11vw, 52px); }
  .chap h2 { font-size: clamp(34px, 9.6vw, 46px); }
  .chap-head p { font-size: 16.5px; margin-top: 16px; }
  .hero-strip { position: static; margin-top: 30px; flex-direction: column; gap: 10px; }
  .reveal { filter: none; }  /* blur na wielu elementach tnie przewijanie na telefonie */
  /* tekst jedzie nad nieruchomym obrazem: wlasne tlo, zeby byl czytelny w kazdym miejscu ekranu */
  .home .chap-head, .home .hero-strip { background: rgba(242,241,237,.86); padding: 20px 18px; margin-left: -6px; margin-right: -6px; border-radius: 16px; box-shadow: 0 12px 32px -22px rgba(29,28,25,.45); }
  .home .chap-night .chap-head, .home .chap-final .chap-head { background: rgba(11,10,9,.55); box-shadow: none; }
  .strip { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .strip-track { gap: 14px; }
  .frame { scroll-snap-align: start; }
  .frame img { width: min(64vw, 260px); }
  .pub-cal { padding: 4px 16px; }
  .pub-cal li { grid-template-columns: 70px 42px 1fr; }
  .pub-cal i { grid-column: 3; justify-self: start; }
  .phone-x.lg { width: min(260px, 70vw); }
  .faq-2 { padding: 4px 20px 8px; }
  .chap-final { min-height: 70vh; min-height: 70dvh; }
  .home footer.foot { padding: 56px 20px 24px; }
  .film-load { left: 20px; }
  .band::before { background: linear-gradient(180deg, rgba(242,241,237,.35) 0%, rgba(242,241,237,.7) 45%, rgba(242,241,237,.86) 80%, var(--paper) 100%); }
  .band.night::before { background: linear-gradient(180deg, rgba(11,10,9,.25) 0%, rgba(11,10,9,.6) 50%, rgba(11,10,9,.72) 100%); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  section.block { padding: 72px 0; }
  .nav-in { gap: 12px; }
  .logo { font-size: 15.5px; gap: 7px; }
  .nav-cta .btn.primary { font-size: 10px; letter-spacing: .08em; padding: 9px 12px; }
  .nav-cta .btn.primary::after { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .final { padding: 80px 0 24px; }
  .band { min-height: 52svh; padding-top: 72px; }
  .btn.primary.lg { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .split .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .film-imgs img { transition-duration: .4s !important; }
  .star svg { animation: none !important; }
  .btn:hover, .btn:active, .card:hover, .plan:hover, .post-card:hover, .frame:hover, .ex-strip img:hover { transform: none; }
  .post-card:hover .cov img { transform: none; }
}
