/* Zeszyt polowy. Monochrom: papier i tusz, kolor dają tylko zdjęcia.
   Jedna rodzina (Archivo, oś szerokości): nagłówki rozciągnięte jak napisy na maszynie, tekst w normalnej szerokości.
   Źródło fontu: https://fonts.google.com/specimen/Archivo (OFL), pliki z @fontsource-variable/archivo. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; 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: "Archivo";
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; 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 {
  --paper: #f4f4f1;
  --paper-2: #e9e9e4;
  --white: #fff;
  --ink: #161616;
  --ink-2: #3a3a37;
  --mute: #5f5f5a;
  --rule: #d4d4ce;
  --rule-strong: #b3b3ac;
  --on-ink: #f4f4f1;
  --on-ink-mute: #a9a9a3;
  --on-ink-rule: #3d3d3a;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1320px;
  --sec: clamp(88px, 11vw, 168px);
  --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
  accent-color: var(--ink);
  scrollbar-color: var(--rule-strong) var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%;
  font-feature-settings: "ss01" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--ink);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
::selection { background: var(--ink); color: var(--on-ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.shell { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ph { line-height: 1; }

/* Nagłówki sekcji: szerokie, ciasne, ciężkie */
h2 {
  font-size: clamp(2.125rem, 4.6vw, 4.25rem); line-height: 1; letter-spacing: -.035em;
  font-stretch: 125%; font-weight: 750;
}
h3 { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.01em; font-stretch: 108%; font-weight: 650; }
.note { margin-top: 12px; font-size: .8125rem; color: var(--mute); }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r); border: 1px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 620; font-stretch: 106%; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-wide { width: 100%; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: #000; }
.btn-paper { background: var(--on-ink); color: var(--ink); }
.btn-paper:hover { background: var(--white); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--on-ink); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* Nawigacja */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-stretch: 118%; letter-spacing: -.02em; font-size: 1.0625rem; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: .9375rem; }
.nav-links a { text-decoration: none; opacity: .78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--ink); color: var(--on-ink); }
.nav-cta:hover { background: #000; }
.nav.over { background: transparent; border-color: transparent; color: var(--on-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.over .nav-cta { background: var(--on-ink); color: var(--ink); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-ink); background: #20251d; overflow: hidden; isolation: isolate; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: 50% 62%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8,10,8,.86) 0%, rgba(8,10,8,.62) 38%, rgba(8,10,8,.18) 72%),
    linear-gradient(to bottom, rgba(8,10,8,.5) 0%, rgba(8,10,8,0) 24%);
}
.hero-in { padding-top: 140px; padding-bottom: clamp(48px, 8vh, 96px); }
.hero-due { text-shadow: 0 1px 12px rgba(0,0,0,.35); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9375rem; font-weight: 560; margin-bottom: 26px; }
.hero-due span + span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 10px; vertical-align: .15em; opacity: .7; }
.hero h1 {
  font-size: clamp(2.75rem, 7.2vw, 6rem); line-height: .96; letter-spacing: -.04em;
  font-stretch: 125%; font-weight: 780; max-width: 13.5ch;
}
.hero-lead { margin-top: 28px; max-width: 46ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; color: rgba(244,244,241,.9); }
.hero-act { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.link-paper { color: var(--on-ink); font-weight: 560; text-decoration: underline; text-decoration-color: rgba(244,244,241,.45); }
.link-paper:hover { text-decoration-color: currentColor; }

/* POKAZ: zdanie zamienia się we wpis */
.demo { padding-block: var(--sec); }
.demo-head { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: 48px; }
.demo-head p { color: var(--ink-2); max-width: 52ch; font-size: 1.125rem; }
@media (min-width: 960px) {
  .demo-head { grid-template-columns: 7fr 5fr; align-items: end; gap: 64px; }
  .demo-head h2 { max-width: 12ch; }
}

.scen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.scen button {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px;
  font: inherit; font-size: .9375rem; font-weight: 560; color: var(--ink);
  background: transparent; border: 1px solid var(--rule-strong); border-radius: var(--r); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.scen button .ph { font-size: 1.125rem; }
.scen button:hover { border-color: var(--ink); }
.scen button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.ledger {
  display: grid; grid-template-columns: 1fr; border: 1px solid var(--rule-strong); border-radius: var(--r);
  background: var(--white); overflow: hidden;
}
@media (min-width: 1000px) { .ledger { grid-template-columns: 5fr 7fr; } }

.said { margin: 0; padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--paper-2); }
.said-who { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--mute); }
.said-ch { font-weight: 600; color: var(--ink); }
.said-q {
  margin: 0; font-size: clamp(1.75rem, 3.1vw, 2.75rem); line-height: 1.16; letter-spacing: -.025em;
  font-stretch: 112%; font-weight: 520;
}
.said-q [data-f] {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .16em;
  text-decoration-color: var(--rule-strong); transition: text-decoration-color .3s var(--ease), background-color .3s var(--ease);
  border-radius: 3px;
}
.said-q [data-f].on { text-decoration-color: var(--ink); }
.said-q [data-f].hl { background: var(--white); }

.entry { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.entry-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.entry-st { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-stretch: 108%; font-size: 1rem; }
.entry-st .ph { font-size: 1.375rem; }
.entry-no { font-size: .8125rem; color: var(--mute); font-variant-numeric: tabular-nums; }

.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
@media (min-width: 640px) { .cells { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cells > div { padding: 14px 16px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-height: 84px; transition: background-color .3s var(--ease); }
.cells dt { font-size: .8125rem; color: var(--mute); margin-bottom: 4px; }
.cells dd { font-size: 1.0625rem; line-height: 1.35; font-weight: 580; font-variant-numeric: tabular-nums; transition: opacity .45s var(--ease), clip-path .6s var(--ease), filter .45s var(--ease); clip-path: inset(0 0 0 0); }
.cells > div.hl { background: var(--paper); }
.cells > div.bad { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.cells > div.bad dt { color: var(--on-ink-mute); }
.ledger.empty .cells dd { opacity: 0; clip-path: inset(0 100% 0 0); filter: blur(4px); }
.ledger.empty .cells dd.on { opacity: 1; clip-path: inset(0 0 0 0); filter: none; }

.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9375rem; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks .ph { font-size: 1rem; color: var(--ink); }
.checks .ph-x, .checks .ph-warning { font-weight: 700; }
.agent { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; padding-top: 20px; border-top: 1px dashed var(--rule-strong); font-size: 1rem; }
.agent-n { font-size: .8125rem; font-weight: 650; padding: 3px 8px; border-radius: 4px; background: var(--ink); color: var(--on-ink); }
.ledger .checks, .ledger .agent { transition: opacity .5s var(--ease); }
.ledger.empty .checks, .ledger.empty .agent { opacity: 0; }
.ledger.empty.checked .checks, .ledger.empty.checked .agent { opacity: 1; }

.steps { counter-reset: s; display: grid; grid-template-columns: 1fr; gap: 0; margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; padding: 20px 0 28px; border-top: 1px solid var(--ink); display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(s); font-size: .8125rem; font-weight: 650; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.steps b { font-weight: 650; font-stretch: 108%; font-size: 1.125rem; letter-spacing: -.01em; }
.steps span { color: var(--ink-2); }

/* TERMIN */
.due { background: var(--ink); color: var(--on-ink); padding-block: var(--sec); overflow: hidden; }
.due-top { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: end; }
@media (min-width: 960px) { .due-top { grid-template-columns: auto 1fr; gap: clamp(40px, 5vw, 80px); } }
.due-num { font-size: clamp(9rem, 27vw, 22rem); line-height: .78; letter-spacing: -.06em; font-stretch: 125%; font-weight: 800; font-variant-numeric: tabular-nums; margin-left: -.04em; }
.due-txt { padding-bottom: .4em; }
.due-txt h2 { max-width: 16ch; }
.big-count-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.due-txt p { margin-top: 22px; color: var(--on-ink-mute); max-width: 48ch; font-size: 1.125rem; }
.timeline { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 1fr; position: relative; }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(3, 1fr); column-gap: 32px; } }
.timeline li { position: relative; padding: 28px 0 24px; border-top: 1px solid var(--on-ink-rule); display: grid; gap: 8px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--on-ink); }
.timeline li:first-child { border-top-color: var(--on-ink); }
.timeline time { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; font-stretch: 120%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.timeline span { color: var(--on-ink-mute); max-width: 36ch; }
.due-src { margin-top: 32px; font-size: .8125rem; color: var(--on-ink-mute); }

/* DWA SPOSOBY */
.two { padding-block: var(--sec); }
.two h2 { max-width: 17ch; }
.two-grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .two-grid { grid-template-columns: 1fr 1fr; } .two-new { border-left: 1px solid var(--ink); padding-left: clamp(32px, 4vw, 64px); } .two-old { padding-right: clamp(32px, 4vw, 64px); } }
.two-old, .two-new { padding-top: 32px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 20px; }
.two h3 { font-size: 1rem; color: var(--mute); font-weight: 600; font-stretch: 100%; }
.two-old ol { display: grid; }
.two-old li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--mute); font-size: 1.125rem; text-decoration: line-through; text-decoration-color: var(--rule-strong); text-decoration-thickness: 1px; }
.two-q { font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.12; letter-spacing: -.025em; font-stretch: 112%; font-weight: 600; }
.two-new p:not(.two-q):not(.two-cost) { color: var(--ink-2); font-size: 1.125rem; max-width: 46ch; }
.two-cost { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 1rem; }
.two-old .two-cost { color: var(--ink-2); font-weight: 500; }
@media (max-width: 899px) { .two-new { border-top: 1px solid var(--ink); margin-top: 32px; } }

/* KANAŁY ZE ZDJĘCIEM */
.where { display: grid; grid-template-columns: 1fr; background: var(--paper-2); }
@media (min-width: 960px) { .where { grid-template-columns: 45fr 55fr; min-height: 760px; } }
.where-img { position: relative; min-height: 420px; }
.where-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.where-txt { padding: var(--sec) var(--gutter); max-width: 720px; align-self: center; }
@media (min-width: 960px) { .where-txt { padding-inline: clamp(48px, 6vw, 112px); } }
.where-txt > p { margin-top: 24px; color: var(--ink-2); font-size: 1.125rem; max-width: 46ch; }
.chan { margin-top: 40px; border-top: 1px solid var(--ink); }
.chan li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule-strong); }
.chan .ph { font-size: 1.375rem; grid-row: span 2; padding-top: 2px; }
.chan b { font-weight: 650; font-stretch: 108%; }
.chan span { color: var(--mute); font-size: .9375rem; }
@media (min-width: 560px) { .chan li { grid-template-columns: 28px minmax(180px, 1fr) 1.4fr; align-items: baseline; } .chan .ph { grid-row: auto; } }

/* FUNKCJE: arkusz */
.spec { padding-block: var(--sec); }
.spec h2 { max-width: 14ch; margin-bottom: clamp(48px, 6vw, 80px); }
.spec-row { display: grid; grid-template-columns: 1fr; gap: 20px 48px; padding: 36px 0 40px; border-top: 1px solid var(--ink); }
.spec-row:last-child { border-bottom: 1px solid var(--ink); }
@media (min-width: 900px) { .spec-row { grid-template-columns: 5fr 7fr; } }
.spec-l h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-stretch: 116%; font-weight: 700; letter-spacing: -.025em; }
.spec-l p { margin-top: 10px; color: var(--ink-2); max-width: 40ch; }
.ticks { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 600px) { .ticks { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.ticks li { display: flex; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ticks .ph { flex: none; transform: translateY(2px); }

.wind { width: 100%; max-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wind th { text-align: left; font-size: .8125rem; font-weight: 500; color: var(--mute); padding: 0 0 8px; border-bottom: 1px solid var(--ink); }
.wind td { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.wind td:first-child { width: 22%; font-weight: 600; }
.wind td:nth-child(2) { width: 46%; }
.wind .bar { display: inline-block; height: 6px; width: calc(var(--v, .5) * 110px); background: var(--rule-strong); border-radius: 3px; margin-right: 12px; vertical-align: middle; }
.wind .is-bad .bar { background: var(--ink); }
.wind .is-bad td:last-child { font-weight: 650; }

.roles { display: grid; grid-template-columns: 1fr; }
@media (min-width: 600px) { .roles { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.roles li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.roles b { font-weight: 620; }
.roles span { color: var(--mute); text-align: right; }

.figs { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 600px) { .figs { grid-template-columns: repeat(3, 1fr); column-gap: 32px; } }
.figs > div { padding: 12px 0 16px; border-bottom: 1px solid var(--rule); }
.figs dt { font-size: .875rem; color: var(--mute); }
.figs dd { font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 720; font-stretch: 118%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }

/* PORÓWNANIE */
.cmp { padding-block: 0 var(--sec); }
.cmp h2 { max-width: 14ch; margin-bottom: clamp(40px, 5vw, 64px); }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp table { width: 100%; min-width: 680px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--rule); text-align: center; vertical-align: middle; }
.cmp thead th { font-size: .875rem; font-weight: 600; color: var(--mute); border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.cmp tbody th { text-align: left; font-weight: 520; padding-left: 0; }
.cmp td .ph { font-size: 1.25rem; }
.cmp td .ph-x { color: var(--rule-strong); }
.cmp .mid { font-size: .875rem; color: var(--mute); }
.cmp .us { background: var(--ink); color: var(--on-ink); border-bottom-color: var(--on-ink-rule); width: 22%; }
.cmp thead .us { color: var(--on-ink); border-radius: var(--r) var(--r) 0 0; font-weight: 700; font-stretch: 110%; }
.cmp tbody tr:last-child .us { border-radius: 0 0 var(--r) var(--r); }

/* DLA KOGO */
.who-img img { width: 100%; height: clamp(380px, 68vh, 760px); object-fit: cover; object-position: 50% 55%; }
.who-in { display: grid; grid-template-columns: 1fr; gap: 40px 64px; padding-block: clamp(56px, 7vw, 104px) var(--sec); }
@media (min-width: 960px) { .who-in { grid-template-columns: 5fr 7fr; } }
.who-in h2 { max-width: 15ch; font-size: clamp(2rem, 3.6vw, 3.25rem); }
.who-list { border-top: 1px solid var(--ink); }
.who-list li { display: grid; gap: 6px; padding: 20px 0 22px; border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 640px) { .who-list li { grid-template-columns: minmax(200px, 2fr) 3fr; gap: 32px; } }
.who-list b { font-weight: 680; font-stretch: 112%; font-size: 1.125rem; letter-spacing: -.01em; }
.who-list span { color: var(--ink-2); }

/* CENNIK */
.price { padding-block: var(--sec); background: var(--paper-2); }
.price-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: clamp(40px, 5vw, 64px); }
.price-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.period { display: inline-flex; padding: 4px; border: 1px solid var(--rule-strong); border-radius: calc(var(--r) + 4px); background: var(--paper); }
.period button { font: inherit; font-size: .9375rem; font-weight: 580; border: 0; background: transparent; color: var(--ink); min-height: 40px; padding: 0 18px; border-radius: var(--r); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.period button.on { background: var(--ink); color: var(--on-ink); }

.plans { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 980px) { .plans { grid-template-columns: 1fr 1fr 1.15fr; gap: 0; } }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 28px 0 32px; border-top: 2px solid var(--ink); }
@media (min-width: 980px) { .plan { padding: 28px 40px 36px 0; } .plan + .plan:not(.plan-lic) { padding-left: 40px; border-left: 1px solid var(--rule-strong); } }
.plan h3 { font-size: 1.25rem; font-stretch: 114%; font-weight: 700; }
.amount { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.amount b { font-size: clamp(2.75rem, 4.4vw, 3.75rem); line-height: 1; font-weight: 780; font-stretch: 122%; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.amount span { color: var(--mute); }
.plan ul { display: grid; border-top: 1px solid var(--rule-strong); }
.plan li { padding: 11px 0; border-bottom: 1px solid var(--rule-strong); font-size: .9875rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-lic { background: var(--ink); color: var(--on-ink); border-radius: var(--r); padding: 32px clamp(24px, 3vw, 40px) 36px; border-top: 0; }
@media (min-width: 980px) { .plan-lic { margin-top: -24px; padding-top: 52px; } }
.plan-lic .amount span, .plan-lic .was, .plan-lic .plan-d { color: var(--on-ink-mute); }
.plan-flag { align-self: flex-start; font-size: .8125rem; font-weight: 650; padding: 4px 10px; border: 1px solid var(--on-ink-mute); border-radius: 999px; margin-top: -8px; }
.was { margin-top: -10px; font-size: .9375rem; }
.was s { text-decoration-thickness: 1px; }
.plan-d { font-size: .9875rem; max-width: 40ch; }

.promise { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 1fr; gap: 20px 40px; }
@media (min-width: 860px) { .promise { grid-template-columns: repeat(3, 1fr); } }
.promise li { color: var(--ink-2); font-size: .9875rem; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.promise b { color: var(--ink); font-weight: 650; }
.fine { margin-top: 32px; font-size: .8125rem; color: var(--mute); max-width: 90ch; }

/* DANE + PYTANIA */
.faq { padding-block: var(--sec); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 72px 64px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: 5fr 7fr; } }
.data h2, .qa h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); margin-bottom: 32px; }
.data h2 { max-width: 12ch; }
.data ul { border-top: 1px solid var(--ink); }
.data li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule-strong); color: var(--ink-2); }
.data .ph { font-size: 1.375rem; color: var(--ink); }
.qa details { border-top: 1px solid var(--rule-strong); }
.qa details:last-child { border-bottom: 1px solid var(--rule-strong); }
.qa details:first-of-type { border-top-color: var(--ink); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 1.0625rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .35s var(--ease);
}
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 64ch; }

/* ZAPIS */
.join { display: grid; grid-template-columns: 1fr; background: var(--white); border-top: 1px solid var(--rule); }
@media (min-width: 960px) { .join { grid-template-columns: 1fr 1fr; } }
.join-img { position: relative; min-height: 380px; }
.join-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.join-in { padding: var(--sec) var(--gutter); max-width: 660px; width: 100%; }
@media (min-width: 960px) { .join-in { padding-inline: clamp(48px, 6vw, 104px); } }
.join-in h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); max-width: 13ch; }
.join-lead { margin-top: 18px; color: var(--ink-2); font-size: 1.0625rem; max-width: 44ch; }
.form { margin-top: 40px; display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .9375rem; font-weight: 600; }
.field input, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); width: 100%;
  min-height: 52px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: var(--r);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:hover, .field select:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); background-color: var(--white); box-shadow: 0 0 0 3px rgba(22,22,22,.12); }
.field input[aria-invalid="true"] { border-color: var(--ink); border-width: 2px; }
.help { font-size: .8125rem; color: var(--mute); }
.err { font-size: .875rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.err::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: .6875rem; font-weight: 800; }
.err[hidden] { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9375rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; }
.check b { color: var(--ink); font-weight: 650; }
.pilot { padding: 16px; border: 1px solid var(--rule-strong); border-radius: var(--r); background: var(--paper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg:empty { display: none; }
.form-msg { font-weight: 600; }
.first-entry { border: 1px solid var(--ink); border-radius: var(--r); padding: 18px; display: grid; gap: 14px; animation: wpis .7s var(--ease) both; }
.first-entry .entry-st { margin: 0; }
@keyframes wpis { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }

/* Sprzedaż: szybki zapis, przyciski w miejscach decyzji, nabór, polecanie */
.quick { margin-top: 36px; display: flex; gap: 8px; max-width: 560px; padding: 6px; border-radius: calc(var(--r) + 6px); background: rgba(244,244,241,.12); border: 1px solid rgba(244,244,241,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.quick input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; border-radius: var(--r); background: transparent; color: var(--on-ink); font: inherit; font-size: 1.0625rem; caret-color: var(--on-ink); }
.quick input::placeholder { color: rgba(244,244,241,.7); }
.quick input:focus { outline: none; background: rgba(244,244,241,.08); }
.quick:focus-within { border-color: rgba(244,244,241,.6); }
.quick-err { margin-top: 10px; font-size: .9375rem; font-weight: 600; color: var(--on-ink); }
.hero-note { margin-top: 16px; font-size: .9375rem; color: rgba(244,244,241,.8); }
.hero-note a { color: var(--on-ink); font-weight: 560; margin-left: 6px; text-decoration-color: rgba(244,244,241,.45); }
@media (max-width: 520px) {
  .quick { flex-direction: column; padding: 6px; }
  .quick .btn { width: 100%; }
}

.cta-row { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cta-row span { color: var(--mute); font-size: .9375rem; }

.pilot-band { background: var(--ink); color: var(--on-ink); padding-block: clamp(64px, 8vw, 112px); }
.pilot-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.pilot-in h2 { max-width: 17ch; font-size: clamp(2rem, 4vw, 3.5rem); }
.pilot-in p { margin-top: 20px; max-width: 54ch; color: var(--on-ink-mute); font-size: 1.125rem; }

.save { margin-top: -10px; font-size: .875rem; font-weight: 600; display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule-strong); }

.share { border-top: 1px dashed var(--rule-strong); padding-top: 14px; display: grid; gap: 12px; }
.share p { font-size: .9375rem; color: var(--ink-2); }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share .btn-sm { min-height: 38px; padding: 0 14px; font-size: .875rem; }

/* STOPKA */
.foot { background: var(--ink); color: var(--on-ink-mute); padding: clamp(72px, 9vw, 128px) 0 calc(32px + env(safe-area-inset-bottom)); font-size: .9375rem; overflow: hidden; }
.foot a { color: var(--on-ink); text-decoration: none; transition: opacity .2s; }
.foot a:hover { opacity: .7; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--on-ink-rule); }
.foot-claim { color: var(--on-ink); font-size: clamp(1.625rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.03em; font-stretch: 118%; font-weight: 700; max-width: 22ch; }
.foot .btn-paper { color: var(--ink); }
.foot .btn-paper:hover { opacity: 1; background: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; padding: 56px 0; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-co { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-co { grid-column: auto; } }
.foot-co .brand { font-size: 1.125rem; }
.foot-co p { margin-top: 16px; max-width: 38ch; line-height: 1.55; }
.foot-col h2 { font-size: .8125rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--on-ink-mute); margin-bottom: 16px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col address { font-style: normal; line-height: 1.7; }
.foot-word {
  font-size: min(10.3vw, 9.5rem); line-height: .8; letter-spacing: -.05em; font-stretch: 125%; font-weight: 800;
  color: #262624; white-space: nowrap; margin: 16px 0 0 -.05em; padding-bottom: .06em; user-select: none;
}
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--on-ink-rule); font-size: .8125rem; }
.foot-bar a:not(.madd) { text-decoration: underline; text-decoration-color: var(--on-ink-rule); text-underline-offset: .25em; color: var(--on-ink-mute); margin-left: 6px; }
.madd { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 12px; border: 1px solid var(--on-ink-rule); border-radius: 999px; color: var(--on-ink); transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.foot a.madd:hover { opacity: 1; border-color: var(--on-ink-mute); background: rgba(244,244,241,.05); }
.madd span { color: var(--on-ink-mute); }
.madd img { width: 22px; height: 22px; filter: invert(1) brightness(1.15); }
.madd b { font-weight: 750; font-stretch: 118%; letter-spacing: .02em; }

/* Pasek na telefonie */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--rule);
  font-size: .875rem; font-weight: 600; transform: translateY(110%); transition: transform .45s var(--ease);
}
.sticky-cta.on { transform: none; }
@media (min-width: 861px) { .sticky-cta { display: none; } }

.wind .w1 { --v: .36; } .wind .w2 { --v: .58; } .wind .w3 { --v: .92; }
.ts:not([hidden]) { min-height: 0; }
.nav-back { margin-left: auto; }
.doc-end { margin-top: 28px; }

/* Strony tekstowe: prywatność, 404 */
.doc { max-width: 76ch; padding-top: 140px; padding-bottom: 120px; }
.doc h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1; letter-spacing: -.035em; font-stretch: 125%; font-weight: 760; margin-bottom: 28px; }
.doc h2 { font-size: 1.375rem; letter-spacing: -.015em; font-stretch: 112%; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 1.2em; margin: 12px 0; display: grid; gap: 6px; }
.doc .btn { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Telefon: pasek, porównanie, wiatr */
.brand { white-space: nowrap; }
.wind td:nth-child(2) { white-space: nowrap; }
@media (max-width: 520px) {
  .wind .bar { width: calc(var(--v) * 56px); margin-right: 8px; }
  .nav-in { gap: 16px; }
}
@media (max-width: 680px) {
  .cmp table { min-width: 0; }
  .cmp thead tr, .cmp tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); }
  .cmp thead th:first-child { display: none; }
  .cmp tbody th { grid-column: 1 / -1; padding: 18px 0 6px; border-bottom: 0; font-weight: 600; }
  .cmp th, .cmp td { padding: 10px 8px; }
  .cmp thead th { font-size: .8125rem; line-height: 1.25; }
  .cmp .us { width: auto; }
  .cmp thead .us { border-radius: var(--r) var(--r) 0 0; }
  .cmp tbody .us { border-radius: 0; }
  .cmp tbody tr:last-child .us { border-radius: 0 0 var(--r) var(--r); }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
