/* ==========================================================================
   SiteCode: design system (strona główna + polityka prywatności).
   Kierunek: jasny "papier operacyjny" w ciepłej palecie Claude.
   Ivory #FAF9F5 · Ink #141413 · jeden akcent: clay/terakota (#B5532F, dekor #D97757).
   Nagłówki: Newsreader (szeryf, self-host). Interfejs: Geist. Dane: Geist Mono.
   Skala promieni: pill (przyciski, chipy) · 28 (duże karty) · 20 (karty) · 12 (pola).
   Fonty self-host w /images/fonts/ (pokrywa je wyjątek /images/* w edge function).
   ========================================================================== */

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

:root {
  --bg: #FAF9F5;
  --tint: #F3F1E9;
  --card: #FFFFFF;
  --ink: #141413;
  --ink-2: #3B3A36;
  --muted: #6B6962;
  --line: #E7E3D7;
  --line-2: #D6D1C1;
  --clay: #D97757;
  --accent: #B5532F;
  --accent-hov: #9A4425;
  --accent-text: #A24726;
  --accent-tint: #F6E6DC;
  --accent-tint-2: #EDCDBB;
  --ok: #4F7A4B;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-1: 0 1px 2px rgba(20, 20, 19, 0.04), 0 10px 28px -12px rgba(60, 40, 20, 0.14);
  --shadow-2: 0 2px 4px rgba(20, 20, 19, 0.05), 0 30px 60px -24px rgba(90, 50, 25, 0.32);
  --header-h: 72px;
}

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

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

/* ---------- Typografia ---------- */
.h2, .h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.06; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.kicker { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.inline-link { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.inline-link:hover { color: var(--accent-hov); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-text); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }
.link-arrow:hover { color: var(--accent-hov); }

/* ---------- Przyciski ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease), box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--lg { --h: 56px; padding: 0 30px; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(181, 83, 47, 0.7); }
.btn--primary:hover { background: var(--accent-hov); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 14px 30px -10px rgba(154, 68, 37, 0.8); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: #fff; border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-1); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--accent-tint); }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-tint); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 6px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.9); }
.ticks--lg { gap: 18px; margin-top: 28px; }
.ticks--lg li { color: var(--ink-2); }
.ticks--lg b { color: var(--ink); }

/* ---------- Nagłówek ---------- */
.header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(250, 249, 245, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; flex: none; padding-block: 8px; }
.logo__img { height: 30px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link { padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__link:hover { background: var(--tint); color: var(--ink); }
.nav__extra { display: flex; align-items: center; gap: 14px; margin-left: 14px; }
.nav__extra .btn { --h: 44px; padding: 0 22px; font-size: .95rem; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.header__phone svg { width: 16px; height: 16px; color: var(--accent); }
.header__actions { display: none; align-items: center; gap: 12px; margin-left: auto; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.nav__toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) { .nav__extra .header__phone { display: none; } }
@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .header__actions { display: flex; }
  .header__actions .header__phone span { display: none; }
  .header__actions .header__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 20px 24px calc(28px + env(safe-area-inset-bottom)); margin: 0; background: var(--bg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
  .nav__link { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav__link:hover { background: none; }
  .nav__extra { flex-direction: column; align-items: stretch; margin: 20px 0 0; gap: 14px; }
  .nav__extra .header__phone { display: inline-flex; justify-content: center; }
  .nav__extra .btn { --h: 56px; }
  .header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 420px) { .header__actions .btn { display: none; } }
html.menu-open { overflow: hidden; }

/* ---------- Sekcje ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tint { background: var(--tint); }
.section__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head .lead { margin-top: 20px; }
.after-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(32px, 5vw, 72px); overflow: clip; }
.hero__sun { position: absolute; width: min(70vw, 760px); aspect-ratio: 1; right: -12%; top: -18%; border-radius: 50%; background: var(--accent-tint); opacity: .8; box-shadow: 0 0 0 clamp(30px, 5vw, 64px) rgba(246, 230, 220, 0.5), 0 0 0 clamp(70px, 11vw, 140px) rgba(246, 230, 220, 0.25); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(20px, 3vw, 56px); align-items: center; }
.hero__copy { padding-block: clamp(8px, 2vw, 24px); }
.hero__title { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.028em; text-wrap: balance; margin: 26px 0 24px; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__cta .btn--ghost svg { width: 14px; height: 14px; color: var(--accent); }
.hero__micro { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-size: .9rem; color: var(--muted); }
.hero__micro span { display: inline-flex; align-items: center; gap: 8px; }
.hero__micro svg { width: 16px; height: 16px; color: var(--ok); }

/* Scena 3D (karty w perspektywie) */
@property --sw { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.stage { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; --s: 1; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.stage:active { cursor: grabbing; }
.stage__fit { position: absolute; left: 50%; top: 0; width: 560px; height: 560px; margin-left: -280px; transform: scale(var(--s)); transform-origin: 50% 0; perspective: 1500px; perspective-origin: 50% 38%; }
.stage__rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(8deg + var(--ry, 0) * -1deg)) rotateY(calc(-17deg + var(--rx, 0) * 1deg + var(--sw, 0deg))); transition: transform .6s var(--ease); will-change: transform; }
.stage.is-drag .stage__rig { transition: none; }
.stage__cap { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-size: .8rem; color: var(--muted); }
.stage__replay { all: unset; cursor: pointer; margin-left: 6px; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.stage__replay:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.orbit { position: absolute; left: 50%; top: 46%; border: 1.5px dashed var(--line-2); border-radius: 50%; transform-style: preserve-3d; transform: translateZ(-80px) rotateX(74deg); animation: orbit 26s linear infinite; }
.orbit--a { width: 560px; height: 560px; margin: -280px 0 0 -280px; --tilt: 74deg; }
.orbit--b { width: 400px; height: 400px; margin: -200px 0 0 -200px; --tilt: 74deg; animation-duration: 18s; animation-direction: reverse; border-color: var(--accent-tint-2); }
.orbit__dot { position: absolute; left: 50%; top: -11px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #F6CDB9, var(--clay) 52%, var(--accent)); box-shadow: 0 8px 16px -4px rgba(181, 83, 47, 0.45); transform: rotateX(-74deg); animation: orbit-counter 26s linear infinite; }
.orbit__dot--s { width: 14px; height: 14px; margin-left: -7px; top: -7px; animation-duration: 18s; animation-direction: reverse; }
@keyframes orbit { from { transform: translateZ(-80px) rotateX(74deg) rotateZ(0deg); } to { transform: translateZ(-80px) rotateX(74deg) rotateZ(360deg); } }
@keyframes orbit-counter { from { transform: rotateZ(0deg) rotateX(-74deg); } to { transform: rotateZ(-360deg) rotateX(-74deg); } }

.hc { position: absolute; left: 0; top: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 15px; box-shadow: var(--shadow-2); transform: translate3d(var(--x), var(--y), var(--z)); transition: transform .8s var(--ease), box-shadow .5s, opacity .5s, border-color .4s; backface-visibility: hidden; }
.hc--in { --x: 0px; --y: 24px; --z: 0px; width: 310px; }
.hc--ai { --x: 140px; --y: 152px; --z: 70px; width: 350px; }
.hc--crm { --x: 14px; --y: 334px; --z: 130px; width: 292px; }
.hc--cal { --x: 252px; --y: 424px; --z: 190px; width: 272px; }
.stage--anim .hc { opacity: 0; transform: translate3d(var(--x), calc(var(--y) + 26px), calc(var(--z) - 60px)); }
.stage--anim .hc.is-on { opacity: 1; transform: translate3d(var(--x), var(--y), var(--z)); }
.stage--anim .hc.is-now { transform: translate3d(var(--x), var(--y), calc(var(--z) + 28px)); border-color: var(--clay); box-shadow: 0 0 0 4px var(--accent-tint), var(--shadow-2); }
.hc__head { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink); }
.hc__head b { font-weight: 600; }
.hc__head time, .hc__head .tag { margin-left: auto; }
.hc__head time { font: 500 .72rem var(--mono); color: var(--muted); }
.hc__pin { font: 600 .66rem var(--mono); color: var(--accent-text); background: var(--accent-tint); border-radius: 7px; padding: 3px 6px; }
.hc__ic { width: 26px; height: 26px; border-radius: 9px; background: var(--tint); display: grid; place-items: center; color: var(--ink); }
.hc__ic svg { width: 15px; height: 15px; }
.tag { font: 600 .7rem var(--sans); padding: 3px 9px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-text); }
.hc__from { font-size: .76rem; color: var(--muted); margin-top: 10px; }
.hc__msg { font-size: .88rem; line-height: 1.5; color: var(--ink-2); margin-top: 6px; }
.hc--ai .hc__msg { margin-top: 10px; min-height: 4.5em; }
.hc__caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hc__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .86rem; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: var(--tint); color: var(--ink-2); }
.hc__row--ok { justify-content: flex-start; background: #EAF1E6; color: #35572F; font-weight: 600; }
.hc__row--ok svg { width: 16px; height: 16px; }

/* Fakty + marquee */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.facts li { padding: 24px 20px 24px 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { font: 500 clamp(2rem, 4vw, 3rem)/1 var(--serif); color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts span { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--tint); padding-block: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sun { right: -30%; top: 6%; width: 120vw; }
  .stage { width: min(100%, 470px); margin-top: 8px; margin-bottom: 14px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .hero__cta .btn { width: 100%; --h: 54px; }
  .container { width: calc(100% - 36px); }
  .hero { padding-top: 20px; }
  .hero__title { font-size: clamp(2.25rem, 10.4vw, 2.7rem); margin: 20px 0 16px; }
  .hero__sub { font-size: 1.02rem; }
  .hero__cta { margin-top: 24px; gap: 10px; }
  .hero__micro { margin-top: 16px; font-size: .86rem; }
  .chip { font-size: .8rem; }
}

/* ---------- PROBLEM ---------- */
.problem { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.problem__lead { position: sticky; top: calc(var(--header-h) + 32px); }
.problem__lead .lead { margin-block: 20px 28px; }
.ledger { border-top: 1px solid var(--line-2); }
.ledger__row { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--line-2); }
.ledger__n { font: 500 3rem/1 var(--serif); color: var(--clay); letter-spacing: -0.03em; }
.ledger h3 { font: 600 1.2rem/1.3 var(--sans); color: var(--ink); margin-bottom: 8px; }
@media (max-width: 860px) { .problem { grid-template-columns: 1fr; } .problem__lead { position: static; } .ledger__row { grid-template-columns: 56px 1fr; } .ledger__n { font-size: 2.3rem; } }

/* ---------- PORTFOLIO ---------- */
.pf-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.pf { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .4s, border-color .3s; }
.pf:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); }
.pf--panel { grid-column: span 8; }
.pf--phone { grid-column: span 4; }
.pf--card { grid-column: span 4; }
.pf__stage { position: relative; padding: 26px 26px 0; background: linear-gradient(180deg, var(--accent-tint) 0%, #FBEFE7 100%); overflow: hidden; perspective: 1200px; }
.pf--panel .pf__stage { padding: 34px 40px 0; }
.pf--phone .pf__stage { flex: 1; display: flex; justify-content: center; align-items: flex-end; padding: 30px 26px 0; min-height: 420px; }
.pf__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pf__body h3 { font: 500 1.45rem/1.2 var(--serif); letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.pf--panel .pf__body h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.pf__body p { font-size: .98rem; color: var(--ink-2); line-height: 1.55; }
.pf__body .link-arrow { margin-top: auto; padding-top: 6px; }
.pf__tag { font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.pf--panel .pf__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px 36px; align-items: start; }
.pf--panel .pf__body .pf__tag, .pf--panel .pf__body h3 { grid-column: 1; }
.pf--panel .pf__body .ticks { grid-column: 2; grid-row: 1 / span 3; font-size: .96rem; }
.pf--panel .pf__body .btn { grid-column: 1; margin-top: 8px; }

.shot { display: block; position: relative; transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s; will-change: transform; }
.browser { background: #1b1a18; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -2px 0 rgba(255,255,255,.4) inset, 0 30px 60px -20px rgba(90, 40, 15, 0.45), 0 0 0 1px rgba(20,20,19,.12); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; background: #262522; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #55534d; }
.browser__bar em { font: 500 .72rem var(--mono); font-style: normal; color: #A9A69B; margin-left: 10px; }
.browser img { display: block; width: 100%; height: auto; background: #12110f; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }
.shot__live { position: absolute; top: 40px; right: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); font: 600 .74rem var(--sans); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3FA34D; box-shadow: 0 0 0 0 rgba(63,163,77,.6); animation: livepulse 2s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(63,163,77,0); } 100% { box-shadow: 0 0 0 0 rgba(63,163,77,0); } }

.phone { display: block; position: relative; width: min(236px, 72%); border: 8px solid #1b1a18; border-bottom: 0; border-radius: 36px 36px 0 0; background: #1b1a18; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(90, 40, 15, 0.5); transition: transform .35s var(--ease); will-change: transform; }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px 26px 0 0; }
.phone__notch { position: absolute; z-index: 2; top: 8px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 999px; background: #0c0c0b; }

/* Workflow explorer */
.wfx-wrap { margin-top: clamp(56px, 7vw, 96px); }
.wfx-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: 26px; }
.wfx-head p { max-width: 52ch; color: var(--ink-2); }
.wfx { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.wfx__list { display: flex; flex-direction: column; padding: 12px; background: var(--bg); border-right: 1px solid var(--line); gap: 2px; }
.wfx__tab { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border: 0; background: transparent; border-radius: 14px; cursor: pointer; font-weight: 500; font-size: .95rem; line-height: 1.3; color: var(--ink-2); transition: background .2s, color .2s; }
.wfx__tab:hover { background: var(--tint); }
.wfx__n { font: 600 .72rem var(--mono); color: var(--muted); width: 22px; }
.wfx__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20,20,19,.06), 0 0 0 1px var(--line); }
.wfx__tab[aria-selected="true"] .wfx__n { color: var(--accent-text); }
.wfx__panels { padding: clamp(24px, 3.4vw, 44px); min-width: 0; }
.wfx__panel[hidden] { display: none; }
.wfx__panel h4 { font: 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--serif); letter-spacing: -0.02em; color: var(--ink); margin-top: 12px; max-width: 28ch; text-wrap: balance; }
.nodes { display: flex; gap: 44px; margin: 34px 0 26px; }
.node { --k: 0; flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.node:nth-child(2) { --k: 1; } .node:nth-child(3) { --k: 2; } .node:nth-child(4) { --k: 3; }
.node__ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--accent); margin-bottom: 8px; }
.node__ic svg { width: 19px; height: 19px; }
.node b { font-size: .98rem; color: var(--ink); }
.node small { font-size: .82rem; line-height: 1.4; color: var(--muted); }
.node:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: calc(100% + 4px); width: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 9px); }
.node:not(:last-child)::before { content: ""; position: absolute; z-index: 1; top: 31px; left: calc(100% + 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--clay); animation: hop 2.6s var(--ease) infinite; animation-delay: calc(var(--k) * .7s); opacity: 0; }
@keyframes hop { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateX(30px); opacity: 0; } }
.wfx__panel:not([hidden]) .node { animation: nodein .55s var(--ease) both; animation-delay: calc(var(--k) * .09s); }
@keyframes nodein { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.wfx__effect { font-size: 1.02rem; color: var(--ink); padding: 16px 18px; border-radius: 14px; background: var(--accent-tint); max-width: 64ch; }
.wfx__foot { margin-top: 18px; font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.wfx__badge { font: 600 .72rem var(--sans); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--bg); }

@media (max-width: 1080px) {
  .pf--panel { grid-column: span 12; }
  .pf--phone { grid-column: span 6; }
  .pf--card { grid-column: span 6; }
  .pf--card:last-of-type { grid-column: span 12; }
}
@media (max-width: 860px) {
  .pf--panel .pf__body { display: flex; }
  .pf--panel .pf__stage { padding: 24px 20px 0; }
  .pf--phone, .pf--card, .pf--card:last-of-type { grid-column: span 12; }
  .pf--phone .pf__stage { min-height: 380px; }
  .wfx { grid-template-columns: 1fr; }
  .wfx__list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 10px; }
  .wfx__list::-webkit-scrollbar { display: none; }
  .wfx__tab { flex: none; white-space: nowrap; scroll-snap-align: start; border: 1px solid var(--line); background: #fff; }
  .wfx__n { display: none; }
  .nodes { flex-direction: column; gap: 34px; }
  .node:not(:last-child)::after { top: calc(100% + 3px); left: 26px; width: 2px; height: 28px; background: repeating-linear-gradient(180deg, var(--line-2) 0 5px, transparent 5px 9px); }
  .node:not(:last-child)::before { top: calc(100% + 3px); left: 23px; animation-name: hopv; }
  @keyframes hopv { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }
}

/* ---------- OFERTA ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.bx { grid-column: span 5; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s; }
.bx:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.bx h3 { font: 500 1.5rem/1.2 var(--serif); letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.bx p { color: var(--ink-2); font-size: 1rem; }
.bx__ic { width: 48px; height: 48px; border-radius: 15px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.bx__ic svg { width: 24px; height: 24px; }
.bx--flag { grid-column: span 7; grid-row: span 2; background: var(--ink); border-color: var(--ink); color: #E9E6DC; padding: clamp(28px, 4vw, 48px); }
.bx--flag h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 18ch; }
.bx--flag p { color: #CFCBBE; max-width: 52ch; }
.bx--flag .link-arrow { color: #F0A485; margin-top: auto; }
.bx--flag:hover { transform: none; }
.bx__tag { align-self: flex-start; font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #F0A485; border: 1px solid rgba(240,164,133,.4); padding: 7px 12px; border-radius: 999px; }
.bx--wide { grid-column: span 12; flex-direction: row; align-items: center; gap: 24px; }
.bx--wide h3 { flex: 0 0 280px; }
.bx--wide .bx__ic { flex: none; }
.seq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 14px; position: relative; }
.seq::before { content: ""; position: absolute; left: 6%; right: 6%; top: 9px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 5px, transparent 5px 10px); }
.seq li { position: relative; padding-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.seq li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 5px rgba(217,119,87,.25); }
.seq li:nth-child(1)::before { animation: seqpulse 4s infinite; } .seq li:nth-child(2)::before { animation: seqpulse 4s 1s infinite; } .seq li:nth-child(3)::before { animation: seqpulse 4s 2s infinite; } .seq li:nth-child(4)::before { animation: seqpulse 4s 3s infinite; }
@keyframes seqpulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(217,119,87,.25); } 12% { box-shadow: 0 0 0 11px rgba(217,119,87,.0); transform: scale(1.12); } 24% { transform: scale(1); } }
.seq b { color: #fff; font-size: .95rem; }
.seq span { font-size: .85rem; color: #BDB9AB; line-height: 1.35; }

.addons { margin-top: 44px; }
.addons__label { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.addons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acard { display: flex; gap: 16px; padding: 22px; background: var(--tint); border-radius: var(--r); border: 1px solid var(--line); }
.acard__icon { flex: none; width: 42px; height: 42px; border-radius: 13px; background: #fff; color: var(--accent); display: grid; place-items: center; border: 1px solid var(--line); }
.acard__icon svg { width: 21px; height: 21px; }
.acard h3 { font: 600 1.05rem/1.3 var(--sans); color: var(--ink); margin-bottom: 6px; }
.acard p { font-size: .94rem; line-height: 1.5; }
.industries { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.industries p { color: var(--muted); font-size: .95rem; }
.industries ul { display: flex; flex-wrap: wrap; gap: 8px; }
.industries li { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; color: var(--ink-2); background: #fff; }
@media (max-width: 960px) {
  .bx, .bx--flag { grid-column: span 12; grid-row: auto; }
  .bx--wide { flex-direction: column; align-items: flex-start; }
  .bx--wide h3 { flex: none; }
  .addons__grid { grid-template-columns: 1fr; }
  .seq { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .seq::before { display: none; }
}

/* ---------- JAK TO DZIAŁA: scena izometryczna 3D, sterowana scrollem ---------- */
.flow { position: relative; height: 430vh; background: var(--bg); }
.flow__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: clip; padding-top: var(--header-h); }
.flow__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.flow__copy .lead { margin-block: 18px 22px; }
.flow__copy .btn { margin-top: 26px; }
.steps3d { display: grid; gap: 4px; }
.s3 button { width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 14px; text-align: left; padding: 12px 14px; border: 1px solid transparent; border-radius: 16px; background: transparent; cursor: pointer; transition: background .3s, border-color .3s, opacity .3s; opacity: .55; }
.s3__n { font: 600 .78rem var(--mono); color: var(--muted); padding-top: 3px; }
.s3__t b { display: block; font-size: 1.05rem; color: var(--ink); }
.s3__t small { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: .93rem; line-height: 1.5; color: var(--ink-2); transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
.s3.is-active button { background: #fff; border-color: var(--line); opacity: 1; box-shadow: var(--shadow-1); }
.s3.is-active .s3__n { color: var(--accent-text); }
.s3.is-active .s3__t small { max-height: 6em; opacity: 1; margin-top: 4px; }
.s3.is-done button { opacity: .8; }
.s3 button:hover { opacity: 1; }

.iso { position: relative; height: min(70vh, 600px); }
.iso__fit { position: absolute; inset: 0; perspective: 1900px; perspective-origin: 50% 40%; }
.iso__world { --rx: 58deg; --rz: -38deg; --gap: 70px; position: absolute; left: 50%; top: 54%; width: 240px; height: 240px; margin: -120px 0 0 -120px; transform-style: preserve-3d; transform: scale(var(--s, 1)) rotateX(var(--rx)) rotateZ(var(--rz)); will-change: transform; }
.plate { --lift: 0px; position: absolute; inset: 0; transform: translateZ(calc((4 - var(--i)) * var(--gap) + var(--lift))); display: flex; flex-direction: row; align-items: flex-end; justify-content: center; gap: 12px; padding-bottom: 30px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 28px; box-shadow: 0 30px 40px -24px rgba(90, 50, 30, 0.35); transition: transform .6s var(--ease), background .4s, border-color .4s, opacity .4s; color: var(--ink); }
.plate b { font-size: 1rem; font-weight: 600; }
.plate__ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--tint); color: var(--ink); transition: background .4s, color .4s; }
.plate__ic svg { width: 24px; height: 24px; }
.plate b { padding-bottom: 12px; }
.plate.is-active { --lift: 26px; background: var(--accent-tint); border-color: var(--clay); }
.plate.is-active .plate__ic { background: var(--accent); color: #fff; }
.plate.is-future b { color: var(--muted); }
.plate.is-future .plate__ic { opacity: .55; }
.plate.is-done { border-color: var(--accent-tint-2); }
.iso__world::before { content: ""; position: absolute; left: calc(50% - 1px); top: 50%; width: 2px; height: calc(4 * var(--gap) + 26px); transform-origin: 50% 0; transform: rotateX(90deg); background: repeating-linear-gradient(180deg, var(--clay) 0 6px, transparent 6px 12px); opacity: .7; }
.iso__world::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #F6CDB9, var(--clay) 52%, var(--accent)); box-shadow: 0 8px 16px -4px rgba(181, 83, 47, 0.5); transform: translateZ(var(--pz, 0px)) rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1)); transition: transform .7s var(--ease); }

@media (max-width: 900px) {
  .flow { height: auto; padding-block: clamp(64px, 10vw, 96px); }
  .flow__pin { position: static; height: auto; padding-top: 0; overflow: visible; }
  .flow__grid { grid-template-columns: 1fr; gap: 0; }
  .flow__copy { display: contents; }
  .iso { height: 400px; order: 1; margin: 28px 0 22px; background: var(--tint); border-radius: var(--r-lg); overflow: hidden; touch-action: pan-y; }
  .iso__world { top: 58%; }
  .steps3d { order: 2; }
  .flow__copy .btn { order: 3; margin-top: 26px; justify-self: start; }
  .s3.is-active .s3__t small { max-height: 8em; }
}

/* ---------- KALKULATOR ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 28px; align-items: start; }
.calc__inputs { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 38px); display: grid; gap: 26px; box-shadow: var(--shadow-1); }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .96rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 10px; float: left; width: 100%; }
.field legend + .seg { clear: both; }
.field__row { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 16px; align-items: center; }
input[type="number"], .form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
input[type="number"] { font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: .95rem; }
input[type="number"]:focus, .form input:focus, .form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); background: #fff; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line-2) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 3px 8px rgba(20,20,19,.2); transition: transform .15s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 3px 8px rgba(20,20,19,.2); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 500; font-size: .93rem; background: var(--bg); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.assump { border-top: 1px solid var(--line); padding-top: 18px; }
.assump summary, .form__legal summary { padding-block: 10px; }
.assump summary { cursor: pointer; font-weight: 600; color: var(--accent-text); list-style: none; }
.assump summary::-webkit-details-marker { display: none; }
.assump__body { display: grid; gap: 16px; margin-top: 16px; }
.assump__formula { font: .85rem/1.8 var(--mono); color: var(--ink-2); background: var(--bg); padding: 14px 16px; border-radius: var(--r-sm); }
.assump__note { font-size: .88rem; color: var(--muted); }
.assump__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.assump__grid label { display: grid; gap: 6px; font-size: .84rem; font-weight: 500; color: var(--ink-2); }
.assump .btn { justify-self: start; }

.calc__result { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink); color: #E9E6DC; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-2); display: grid; gap: 4px; }
.calc__badge { justify-self: start; font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; color: #F0A485; border: 1px solid rgba(240,164,133,.4); margin-bottom: 14px; }
.calc__label { font-size: .95rem; color: #BDB9AB; }
.calc__big { font: 500 clamp(2.8rem, 6vw, 4.4rem)/1.05 var(--serif); letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; margin-top: 2px; word-break: break-word; }
.calc__year { color: #CFCBBE; font-size: 1rem; }
.calc__year strong { color: #fff; font-variant-numeric: tabular-nums; }
.calc__break { margin: 22px 0 6px; border-top: 1px solid rgba(255,255,255,.12); }
.calc__break li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .94rem; color: #CFCBBE; }
.calc__break strong { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__recover { margin: 14px 0 6px; padding: 18px 20px; border-radius: 18px; background: rgba(240,164,133,.12); border: 1px solid rgba(240,164,133,.28); }
.calc__recover p { font-size: .88rem; color: #F0C9B6; }
.calc__recover strong { display: block; font: 500 clamp(1.6rem, 3vw, 2.1rem)/1.15 var(--serif); color: #F6B697; font-variant-numeric: tabular-nums; margin-top: 4px; }
.calc__recover small { display: block; margin-top: 4px; color: #BDB9AB; font-size: .85rem; }
.calc__disc { font-size: .8rem; line-height: 1.5; color: #A8A496; margin: 12px 0 16px; }
.calc__result .btn--primary { background: #F0A485; color: #1a1109; box-shadow: none; }
.calc__result .btn--primary:hover { background: #F6B697; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .calc__result { position: static; } }
@media (max-width: 560px) { .field__row { grid-template-columns: minmax(0,1fr) 96px; gap: 12px; } .assump__grid { grid-template-columns: 1fr; } }

/* ---------- WSPÓŁPRACA ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-1); }
.step::after { content: ""; position: absolute; top: 56px; right: -20px; width: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.step:last-child::after { display: none; }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font: 500 1.25rem var(--serif); margin-bottom: 18px; }
.step h3 { font: 500 1.6rem/1.15 var(--serif); letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step::after { display: none; } }

/* ---------- ZAUFANIE ---------- */
.trust2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.who .lead { margin-top: 20px; }
.honest { background: #fff; border: 1px solid var(--accent-tint-2); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-1); }
.honest__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--accent-tint); color: var(--accent); margin-bottom: 16px; }
.honest__ic svg { width: 24px; height: 24px; }
.honest h3 { font: 500 1.7rem/1.15 var(--serif); letter-spacing: -0.015em; color: var(--ink); margin-bottom: 16px; }
.honest ul { display: grid; gap: 14px; }
.honest li { position: relative; padding-left: 22px; font-size: .98rem; line-height: 1.55; }
.honest li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 2px; background: var(--clay); }
.proof-slot { margin-top: 28px; }
@media (max-width: 900px) { .trust2 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__wrap .section__head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint) linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(180deg); background-color: var(--accent-tint); }
.faq summary { position: relative; }
.faq summary::before { content: ""; position: absolute; right: 13px; top: 50%; width: 1.5px; height: 10px; margin-top: -5px; background: var(--ink); transition: opacity .2s; }
.faq details[open] summary::before { opacity: 0; }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); animation: faqin .4s var(--ease); }
@keyframes faqin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .faq__wrap { grid-template-columns: 1fr; } .faq__wrap .section__head { position: static; margin-bottom: 20px; } }

/* ---------- KONTAKT ---------- */
.contact { background: var(--tint); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact__copy .lead { margin-block: 20px 26px; }
.contact__details { display: grid; gap: 10px; margin-top: 30px; }
.contact__detail { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); width: fit-content; }
.contact__detail svg { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--accent); }
.contact__detail:hover span { text-decoration: underline; text-underline-offset: 4px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow-2); display: grid; gap: 34px; position: relative; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
.form__row { display: grid; gap: 7px; min-width: 0; position: relative; }
.form__row label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.form__opt { font-weight: 400; color: var(--muted); }
.form textarea { resize: vertical; min-height: 120px; }
.form [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
/* komunikaty błędów pól są pozycjonowane absolutnie: pojawienie się/zniknięcie nie przesuwa układu (blur nie psuje kliknięć) */
.form__error { position: absolute; left: 0; bottom: -22px; margin: 0; font-size: .82rem; line-height: 1.25; color: #B3261E; }
.form__consent .form__error { left: 34px; bottom: -24px; color: #B3261E; font-size: .82rem; }
.form__consent input[aria-invalid="true"] { outline: 2px solid #B3261E; outline-offset: 2px; border-radius: 4px; }
.form__error--submit { position: static; display: none; padding: 12px 14px; border-radius: 12px; background: #FBEAE8; font-size: .92rem; }
.form__error--submit.is-visible { display: block; }
.form__success { display: none; padding: 14px 16px; border-radius: 12px; background: #EAF1E6; color: #35572F; font-weight: 600; }
.form__success.is-visible { display: block; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__calc { font-size: .88rem; color: var(--accent-text); background: var(--accent-tint); padding: 10px 14px; border-radius: 12px; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.form__consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.form__consent label { display: grid; gap: 2px; font-size: .92rem; cursor: pointer; }
.form__consent strong { color: var(--ink); font-weight: 600; }
.form__consent span { color: var(--muted); font-size: .85rem; }
.form__legal { font-size: .85rem; color: var(--muted); }
.form__legal summary { cursor: pointer; color: var(--accent-text); font-weight: 500; }
.form__legal p { margin-top: 10px; line-height: 1.55; }
.form__legal a, .form__note a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.form__note { text-align: center; font-size: .86rem; color: var(--muted); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- STOPKA ---------- */
.footer { background: var(--ink); color: #BDB9AB; padding-top: clamp(48px, 7vw, 80px); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin-top: 16px; max-width: 36ch; font-size: .95rem; }
.footer__h { color: #fff; font-weight: 600; margin-bottom: 14px; font-size: .95rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.footer__col a { width: fit-content; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; font-size: .85rem; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; gap: 32px; } .footer { padding-bottom: 76px; } }

/* ---------- Mobilny sticky CTA ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(250,249,245,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 999px; font-weight: 600; font-size: .98rem; }
.mobile-cta__btn svg { width: 18px; height: 18px; }
.mobile-cta__btn--outline { flex: 0 0 auto; padding: 0 20px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.mobile-cta__btn--primary { flex: 1; background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(181,83,47,.7); }
@media (max-width: 860px) { .mobile-cta { display: flex; } }

/* ---------- Reveal (treść widoczna domyślnie; ukrywamy dopiero, gdy działa JS) ---------- */
html.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.anim .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Polityka prywatności ---------- */
.legal { max-width: 820px; }
.legal .eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.legal h1 { font: 500 clamp(2.2rem, 5vw, 3.4rem)/1.08 var(--serif); letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; }
.legal h2 { font: 500 1.7rem/1.2 var(--serif); letter-spacing: -0.015em; color: var(--ink); margin: 44px 0 12px; }
.legal h3 { font: 600 1.05rem/1.3 var(--sans); color: var(--ink); margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { list-style: revert; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); background: var(--tint); }
.legal__back { margin-top: 48px; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { background: #fff; border-color: var(--ink); }

/* ---------- Ruch ograniczony ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  html.anim .reveal { opacity: 1; transform: none; }
  .flow { height: auto; padding-block: 96px; }
  .flow__pin { position: static; height: auto; padding-top: 0; }
  .orbit, .orbit__dot { animation: none; }
}
.stage.is-paused .orbit, .stage.is-paused .orbit__dot, .stage.is-paused .seq::before { animation-play-state: paused; }

/* Tilt kart (mysz) i kołysanie sceny hero na urządzeniach dotykowych */
.is-tilting { transition: transform .12s linear !important; }
@keyframes sway { 0%, 100% { --sw: -5deg; } 50% { --sw: 6deg; } }
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .stage:not(.is-paused):not(.is-drag) { animation: sway 9s ease-in-out infinite; }
}

/* Niskie ekrany desktopowe (laptopy ~720 px): CTA ma zostać nad linią zgięcia */
@media (min-width: 981px) and (max-height: 800px) {
  .hero { padding-top: 20px; }
  .hero__title { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin: 18px 0 16px; }
  .hero__sub { font-size: 1.08rem; }
  .hero__cta { margin-top: 24px; }
  .hero__micro { margin-top: 14px; }
}
