@font-face {
  font-family: 'Sora';
  src: url('../fonts/Sora-var.woff2') format('woff2-variations');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #071822;
  --navy-soft: #0E2836;
  --brand: #386A86;
  --brand-dark: #2A5268;
  --brand-light: #67A4C6;
  --brand-wash: #EDF3F7;
  --accent: #0A6AA8;
  --accent-dark: #08558A;
  --accent-wash: #E7F1F8;

  --ink: #0F1F28;
  --ink-soft: #3C505C;
  --muted: #5A6C77;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FA;
  --border: #E2EAEF;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(7, 24, 34, .06), 0 2px 8px rgba(7, 24, 34, .04);
  --shadow: 0 4px 12px rgba(7, 24, 34, .06), 0 12px 32px rgba(7, 24, 34, .07);
  --shadow-lg: 0 8px 24px rgba(7, 24, 34, .08), 0 24px 64px rgba(7, 24, 34, .12);
  --nav-h: 68px;

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* Atrybut hidden musi wygrywać z regułami display z klas. Bez tego
   element ukryty z JS-a (formularz po wysłaniu, baner trybu demo)
   ma hidden=true w DOM i dalej jest widoczny na ekranie. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 6vw, 3.9rem); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.12rem, 2.4vw, 1.4rem); }

p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--brand); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--navy); color: #B7C9D4; }
.sec-dark h2, .sec-dark h3 { color: #fff; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-wash);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.sec-dark .eyebrow { color: var(--brand-light); background: rgba(103, 164, 198, .12); }
.eyebrow.is-accent { color: var(--accent-dark); background: var(--accent-wash); }

.lead { font-size: clamp(1.02rem, 1.9vw, 1.19rem); color: var(--muted); line-height: 1.7; }
.sec-dark .lead { color: #94AAB8; }

.sec-head { max-width: 700px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.sec-head p { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 106, 168, .30);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 8px 22px rgba(10, 106, 168, .38); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-wash); }
.sec-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.sec-dark .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); color: #fff; }


.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { font-size: .87rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--border); box-shadow: 0 1px 12px rgba(7, 24, 34, .05); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 100%; }

.brand { display: flex; align-items: center; margin-right: auto; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: color .18s, background-color .18s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }

.nav-links .btn { display: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; padding: 0;
}
.burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative; transition: background-color .2s;
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .25s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 92px));
  padding-bottom: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(103, 164, 198, .16), transparent 62%),
    radial-gradient(700px 420px at 4% 8%, rgba(10, 106, 168, .09), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { max-width: 50ch; margin-bottom: 30px; }

.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border);
}
.hero-trust li {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; color: var(--muted); font-weight: 500;
}
.hero-trust svg { flex-shrink: 0; color: var(--brand); }

/* Hero visual */
.hero-visual { position: relative; }

.skeleton { height: 7px; border-radius: 4px; background: var(--bg-soft); margin-bottom: 7px; }
.skeleton.w80 { width: 80%; } .skeleton.w60 { width: 60%; } .skeleton.w95 { width: 95%; }

/* kalendarz w hero */
.mcal{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px;box-shadow:var(--shadow-lg)}
.mc-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}
.mc-top b{display:block;font-size:1.08rem;color:var(--ink);font-weight:600;letter-spacing:-.02em}
.mc-top span{font-size:.75rem;color:var(--muted)}
.mc-badge{background:var(--accent-wash);color:var(--accent);font-size:.68rem;font-weight:600;padding:5px 10px;border-radius:999px;white-space:nowrap}
.mc-dow{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:5px}
.mc-dow span{font-size:.62rem;text-align:center;color:var(--muted);font-weight:600}
.mc-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.mc-days i{aspect-ratio:1;border-radius:7px;background:var(--bg-soft);display:flex;align-items:center;justify-content:center;font-style:normal;font-size:.66rem;color:var(--muted);font-weight:500}
/* Pięć kolorów, bo w panelu jest dokładnie pięć celów treści — i to
   te same wartości co w słowniku CELE w panel-data.js. Szósty kolor
   obiecywał cel, którego nigdzie nie ma. */
.mc-days i.k1,.mc-days i.k2,.mc-days i.k3{color:#fff}
.mc-days i.k4,.mc-days i.k5{color:var(--ink)}
.mc-days i.k1{background:#0E2836}.mc-days i.k2{background:#1E4A63}
.mc-days i.k3{background:#0A6AA8}.mc-days i.k4{background:#9AC5DC}
.mc-days i.k5{background:#67A4C6}

/* ---------- Problem → Solution ---------- */
.ps-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}
.ps-col {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 38px);
}
.ps-col.is-problem { background: var(--bg-soft); border-style: dashed; }
.ps-col.is-solution { border-color: rgba(56, 106, 134, .3); box-shadow: var(--shadow); }

.ps-label {
  display: flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.ps-col.is-solution .ps-label { color: var(--brand); }
.ps-label .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.ps-list li {
  display: flex; gap: 13px; padding: 13px 0;
  border-bottom: 1px solid rgba(226, 234, 239, .8); font-size: .96rem;
}
.ps-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ps-list .ico { flex-shrink: 0; margin-top: 3px; }
.is-problem .ico { color: #B9C6CE; }
.is-solution .ico { color: var(--brand); }
.is-solution .ps-list li { color: var(--ink); }

.ps-arrow { display: flex; align-items: center; justify-content: center; color: var(--brand-light); }

/* ---------- Features ---------- */
.feat {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(38px, 5vw, 62px) 0;
}
.feat + .feat { border-top: 1px solid var(--border); }
.feat:nth-child(even) .feat-text { order: 2; }

.feat-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff;
  font-size: .84rem; font-weight: 600; margin-bottom: 16px;
}
.feat-text h3 { margin-bottom: 12px; }
.feat-text p { color: var(--muted); margin-bottom: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: .8rem; font-weight: 500; color: var(--ink-soft);
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 999px;
}

.feat-visual {
  background: linear-gradient(160deg, var(--brand-wash) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.feat-visual > * { width: 100%; }

/* visual: template grid */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.tpl {
  aspect-ratio: 3/4; border-radius: var(--radius-sm); background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 9px; display: flex; flex-direction: column; gap: 5px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tpl:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow); }
.tpl .bar { height: 5px; border-radius: 3px; background: var(--bg-soft); }
.tpl .fill { flex: 1; border-radius: 6px; background: linear-gradient(135deg, var(--brand-light), var(--brand)); }
.tpl:nth-child(2) .fill { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.tpl:nth-child(4) .fill { background: linear-gradient(135deg, var(--navy-soft), var(--brand)); }
.tpl:nth-child(6) .fill { background: linear-gradient(135deg, var(--accent), var(--brand-light)); }
.tpl .bar.s { width: 55%; }

/* visual: phone / reel script */
.phone {
  width: 190px; margin: 0 auto; background: var(--navy); border-radius: 26px;
  padding: 9px; box-shadow: var(--shadow-lg); position: relative;
}
.phone::before {
  content: ''; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .22); z-index: 2;
}
.phone-screen {
  background: linear-gradient(170deg, var(--brand-dark), var(--navy-soft));
  border-radius: 19px; aspect-ratio: 9/17; padding: 30px 13px 13px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; position: relative; overflow: hidden;
}
.phone-screen::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 26%, rgba(103, 164, 198, .32), transparent 58%);
}
.script-line {
  background: rgba(255, 255, 255, .13); backdrop-filter: blur(4px);
  border-radius: 8px; padding: 7px 9px; font-size: .62rem; color: #E8F1F6;
  line-height: 1.4; position: relative; z-index: 1;
  border-left: 2px solid var(--brand-light);
}
.script-line b { color: var(--brand-light); font-size: .55rem; display: block; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; font-weight: 600; }

/* visual: poradniki PDF.

   Dwie okładki zamiast jednej: pojedyncza kartka wygląda jak makieta
   strony, dopiero para czyta się jako zestaw plików do wysłania. */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 16px; position: relative;
  border-top: 4px solid var(--brand); transition: transform .3s var(--ease);
}
.doc:nth-child(2) { border-top-color: var(--accent); transform: translateY(10px); }
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc:nth-child(2):hover { transform: translateY(6px); }
.doc-tag {
  display: inline-block; background: var(--bg-soft); color: var(--muted);
  font-size: .55rem; font-weight: 700; letter-spacing: .1em;
  padding: 3px 7px; border-radius: 4px; margin-bottom: 10px;
}
.doc b { display: block; font-size: .82rem; line-height: 1.35; margin-bottom: 12px; }

/* visual: stories */
.stories { display: flex; justify-content: center; gap: 12px; }
.story {
  width: 92px; aspect-ratio: 9/16.5; border-radius: 12px; position: relative;
  background: linear-gradient(165deg, var(--brand-light), var(--brand-dark));
  box-shadow: var(--shadow-sm); padding: 9px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s var(--ease);
}
.story:nth-child(2) { background: linear-gradient(165deg, var(--accent), var(--accent-dark)); transform: scale(1.11); z-index: 1; box-shadow: var(--shadow); }
.story:nth-child(3) { background: linear-gradient(165deg, var(--navy-soft), var(--navy)); }
.story:hover { transform: translateY(-5px) scale(1.06); }
.story-bars { position: absolute; top: 7px; left: 7px; right: 7px; display: flex; gap: 3px; }
.story-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.story-bars i:first-child { background: #fff; }
.story b { color: #fff; font-size: .6rem; line-height: 1.35; font-weight: 600; }
.story span { color: rgba(255, 255, 255, .78); font-size: .52rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }

/* visual: materiały do druku.

   Ulotka i wizytówka stoją obok siebie w prawdziwych proporcjach
   (A5 pionowo, 85×55 poziomo) — to różnica formatu niesie tu treść,
   nie kolor. */
/* align-items: center zamiast marginesu na wizytówce — po zawinięciu
   na wąskim ekranie margines zostawiał dziurę nad kartą. */
.print { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.flyer {
  width: 168px; aspect-ratio: 1/1.414; background: #fff;
  border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-sm);
  padding: 12px; transition: transform .3s var(--ease);
}
.flyer:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow); }
.flyer-photo { height: 64px; border-radius: 5px; background: linear-gradient(135deg, var(--brand), var(--brand-light)); margin-bottom: 10px; }
.flyer b { display: block; font-size: .72rem; line-height: 1.3; margin-bottom: 10px; }
.bcard {
  width: 186px; aspect-ratio: 85/55; background: var(--navy); color: #fff;
  border-radius: 7px; box-shadow: var(--shadow-sm); padding: 13px;
  display: flex; flex-direction: column; justify-content: center; position: relative;
  transition: transform .3s var(--ease);
}
.bcard:hover { transform: translateY(-4px) rotate(1deg); box-shadow: var(--shadow); }
.bcard span { font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.bcard b { font-size: .92rem; font-weight: 600; letter-spacing: -.02em; margin: 3px 0 5px; }
.bcard i { font-style: normal; font-size: .66rem; color: rgba(255, 255, 255, .8); }
.bcard-qr {
  position: absolute; right: 13px; bottom: 13px; width: 30px; height: 30px; border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 6px),
    repeating-linear-gradient(0deg, #fff 0 3px, rgba(255, 255, 255, .25) 3px 6px);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 30px); position: relative; }
.step { position: relative; }
.step-n {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(103, 164, 198, .13); border: 1px solid rgba(103, 164, 198, .28);
  color: var(--brand-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 600; margin-bottom: 18px; position: relative; z-index: 1;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .92rem; margin: 0; }
.step::after {
  content: ''; position: absolute; top: 23px; left: 58px; right: -14px; height: 1px;
  background: linear-gradient(to right, rgba(103, 164, 198, .35), rgba(103, 164, 198, .06));
}
.step:last-child::after { display: none; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 26px); align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px); display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.is-featured {
  border-color: var(--brand); box-shadow: var(--shadow-lg);
  position: relative; transform: scale(1.025);
}
.plan.is-featured:hover { transform: scale(1.025) translateY(-4px); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .7rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; padding: 5px 15px; border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.22rem; margin-bottom: 6px; }
.plan > p { font-size: .88rem; color: var(--muted); margin-bottom: 22px; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price b { font-size: 2.2rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
.price small { font-size: .84rem; color: var(--muted); font-weight: 400; }
.price.is-tbd b { font-size: 1.5rem; color: var(--muted); border-bottom: 2px dashed var(--border); }
.price-note { font-size: .78rem; color: var(--muted); margin-bottom: 24px; }
.plan ul { margin-bottom: 26px; flex: 1; }
.plan ul li { display: flex; gap: 10px; padding: 8px 0; font-size: .91rem; }
.plan ul li svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }
.plan ul li.off { color: var(--muted); }
.plan ul li.off svg { color: #A9B8C1; }
.plan-soon { font-size: .8rem; color: var(--muted); margin: -12px 0 22px; }
.plan .btn { margin-top: auto; }

/*  Jedyny plan płatny stoi sam, więc karta idzie w szerz, nie w dół:
    w jednej kolumnie ta sama treść robiła się wąskim, długim paskiem.
    Cena i decyzja po lewej, zakres po prawej.  */
.plan.is-solo {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 54px);
  max-width: 900px; margin-inline: auto;
  border-color: var(--brand); box-shadow: var(--shadow-lg);
  align-items: stretch;
}
.solo-left { display: flex; flex-direction: column; }
.solo-right { display: flex; flex-direction: column; }
.solo-head { font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
/*  Lista w prawej kolumnie nie ma pod sobą przycisku, więc rozpychanie
    jej przez flex: 1 zostawiałoby dziurę pod ostatnią pozycją.  */
.plan.is-solo .solo-right ul { flex: 0; margin-bottom: 0; }
/*  `.plan ul` jest bardziej specyficzne niż `.pay-alt-list`, więc bez tego
    lista pakietów dziedziczy flex: 1 i rozpycha lewą kolumnę.  */
.plan .pay-alt-list { flex: 0; margin-bottom: 8px; }
.plan-foot {
  text-align: center; font-size: .86rem; color: var(--muted);
  max-width: 900px; margin: 22px auto 0;
}

/*  Płatność jednorazowa stoi pod listą funkcji, nie przy cenie głównej:
    subskrypcja ma zostać domyślnym wyborem, a nie jedną z czterech opcji.  */
.pay-alt { border-top: 1px solid var(--border); padding-top: 18px; margin-bottom: 22px; }
.pay-alt-head { font-size: .84rem; font-weight: 600; margin-bottom: 10px; }
.pay-alt-list { margin-bottom: 8px; }
.pay-alt-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 5px 0; font-size: .87rem; color: var(--muted);
}
.pay-alt-list li b { color: var(--ink); font-weight: 600; }
.pay-alt-note { font-size: .76rem; color: var(--muted); }

/*  Zachęta do Pro w widoku, którego konto nie obejmuje.

    Wygląda jak karta, a nie jak komunikat o błędzie: pusty widok
    z samym zdaniem czytał się jak awaria panelu, a to jest jedyne
    miejsce, w którym Free dowiaduje się, co dostaje za opłatą.

    Kłódka zamiast ikony formatu, bo powód pustki jest tu jeden i ten
    sam we wszystkich zakładkach — a rysunek rolki czy karuzeli
    sugerowałby, że materiał zaraz się pojawi.  */
.pro-gate {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px;
  /*  Karta jest komunikatem o całym widoku, nie kafelkiem wśród kafelków,
      więc wychodzi na pełną szerokość siatki i dopiero tam ustawia się
      przy lewej krawędzi. Bez `grid-column` trafiała do pierwszej komórki
      i lądowała gdzie indziej w `.grid-2` (auto-fit zwija puste kolumny,
      więc karta wypadała na środku) niż w `.grid-3` (auto-fill trzyma
      komplet kolumn, więc przy lewej).  */
  grid-column: 1 / -1;
  max-width: 440px; margin: clamp(24px, 5vw, 48px) 0;
  padding: clamp(28px, 4vw, 40px) clamp(22px, 3vw, 32px);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.pro-gate-ico {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 2px;
  border-radius: 50%;
  background: var(--accent-wash); color: var(--accent);
}
.pro-gate-ico svg { width: 22px; height: 22px; }
.pro-gate-title { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin: 0; }
.pro-gate-lead { font-size: .89rem; color: var(--muted); margin: 0; }
.pro-gate .btn { margin-top: 8px; }

/*  Wariant do wąskiej karty na pulpicie: bez ikony i bez własnego tła,
    bo karta zachęty wewnątrz karty wykresu dawała ramkę w ramce.  */
.pro-gate.is-slim {
  margin: 0; padding: 8px 0 0; max-width: none;
  background: none; border: 0; align-items: flex-start; text-align: left;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  background: none; border: 0; padding: 22px 4px; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 1.02rem; font-weight: 500; color: var(--ink);
  line-height: 1.45; transition: color .18s;
}
.faq-q:hover { color: var(--brand); }
.faq-q:focus-visible { outline: 3px solid var(--brand-light); outline-offset: -3px; border-radius: 6px; }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--brand); margin-top: 2px; transition: transform .28s var(--ease), background-color .2s, border-color .2s;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 46px 24px 4px; margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final {
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(103, 164, 198, .2), transparent 65%),
    var(--navy);
  text-align: center;
}
.final .wrap { max-width: 780px; }
.final .cta-row { justify-content: center; }
.final-marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; }
.final-marks li { display: flex; align-items: center; gap: 8px; font-size: .87rem; color: #94AAB8; }
.final-marks svg { color: var(--brand-light); flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #8DA4B2; padding: clamp(48px, 6vw, 72px) 0 32px; border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); margin-bottom: 44px; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .89rem; max-width: 34ch; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: center; color: #B7C9D4;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); border-color: var(--brand); }

.footer h3 { color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer nav a { display: block; color: #8DA4B2; font-size: .9rem; padding: 6px 0; transition: color .18s; }
.footer nav a:hover { color: #fff; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a { padding: 4px 0; }

/* ---------- Scroll reveal ---------- */
/* Treść jest widoczna domyślnie. Ukrywamy ją do animacji tylko wtedy,
   gdy JS faktycznie działa (klasa .js na <html>) — bez skryptu strona
   pozostaje w pełni czytelna. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; width: 100%; margin-inline: auto; }
  .ps-grid { grid-template-columns: 1fr; }
  .ps-arrow { transform: rotate(90deg); padding: 4px 0; }
  .feat { grid-template-columns: 1fr; gap: 28px; }
  .feat:nth-child(even) .feat-text { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .step:nth-child(2)::after { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.is-solo { grid-template-columns: 1fr; max-width: 460px; gap: 26px; }
  .plan.is-featured { transform: none; }
  .plan.is-featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .burger { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch;
    gap: 2px; background: #fff; border-bottom: 1px solid var(--border);
    padding: 14px 20px 22px; box-shadow: var(--shadow);
    transform: translateY(-14px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .26s var(--ease), opacity .26s var(--ease), visibility .26s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 13px 12px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav-links .btn { display: flex; margin-top: 10px; padding: 15px 20px; border-radius: 999px; }
  .nav-links .btn-primary:hover { background: var(--accent-dark); color: #fff; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .faq-a p { padding-right: 8px; }
}

@media (max-width: 420px) {
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
    }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Auth (logowanie) ---------- */
.auth-body { background: var(--bg); }

.auth-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  min-height: 100vh;
  min-height: 100dvh;
}

/* --- kolumna z formularzem --- */
.auth-main {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: 26px clamp(20px, 5vw, 60px) 34px;
}
.auth-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(24px, 5vh, 52px);
}
.auth-top .brand { margin-right: 0; }
.auth-top .brand img { height: 30px; width: auto; }
.auth-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .88rem; font-weight: 500; color: var(--muted);
  transition: color .18s;
}
.auth-back:hover { color: var(--brand); }
.auth-back svg { flex-shrink: 0; }

.auth-card { width: 100%; max-width: 408px; margin: auto; }
.auth-card h1 { font-size: clamp(1.62rem, 3.4vw, 2.08rem); letter-spacing: -.03em; margin-bottom: 10px; }
.auth-sub { color: var(--muted); font-size: .97rem; margin-bottom: 26px; }

.auth-form { display: grid; gap: 17px; }

.field { display: grid; gap: 7px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-head a { font-size: .83rem; font-weight: 500; }

.input {
  font-family: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink);
  width: 100%; padding: 13px 15px; background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .18s, box-shadow .18s;
}
.input::placeholder { color: #9BADB8; }
.input:hover { border-color: #C9D7E0; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(56, 106, 134, .16); }

.field.has-error .input { border-color: #C0392B; }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.field-msg { font-size: .8rem; color: #C0392B; }
.field-msg:empty { display: none; }

/* Para pól w jednym rzędzie (imię + nazwisko). auto-fit sam zwija je
   do jednej kolumny na wąskim ekranie, bez osobnego media query. */
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 14px; }

.field-hint { font-size: .8rem; color: var(--muted); }
.field.has-error .field-hint { display: none; }

.consents { display: grid; gap: 13px; }
.field .consent, .consents > .consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem; font-weight: 400; line-height: 1.5;
  color: var(--ink-soft); cursor: pointer;
}
.consent input { width: 17px; height: 17px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.consent i { font-style: normal; color: var(--muted); }
.field.has-error .consent { color: #A5311F; }

.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 50px; }
.pw-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  padding: 0; background: none; border: 0; border-radius: 8px;
  color: var(--muted); cursor: pointer; transition: color .18s, background-color .18s;
}
.pw-toggle:hover { color: var(--brand); background: var(--bg-soft); }
.pw-toggle:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }

.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); cursor: pointer; }

.auth-alert {
  display: none; gap: 10px; align-items: flex-start;
  font-size: .89rem; line-height: 1.5;
  padding: 12px 15px; margin-bottom: 18px; border-radius: var(--radius-sm);
  background: var(--accent-wash); color: var(--accent-dark);
  border: 1px solid rgba(10, 106, 168, .18);
}
.auth-alert.is-on { display: flex; }
.auth-alert svg { flex-shrink: 0; margin-top: 2px; }
.auth-alert.is-error { background: #FDEDEB; color: #A5311F; border-color: rgba(192, 57, 43, .2); }

.auth-foot { margin: 24px 0 0; text-align: center; font-size: .92rem; color: var(--muted); }

/* Ekran po wysłaniu rejestracji. Wchodzi na miejsce formularza, więc
   dostaje ten sam rytm odstępów co on — inaczej karta skacze. */
.signup-done-title { margin: 0 0 8px; font-size: clamp(1.62rem, 3.4vw, 2.08rem); letter-spacing: -.03em; }
.signup-done-mail { margin: 0 0 18px; font-weight: 600; word-break: break-all; }
.signup-done-text { margin: 0 0 14px; font-size: .94rem; line-height: 1.65; color: var(--muted); }
.signup-done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.auth-legal { margin: 30px 0 0; text-align: center; font-size: .78rem; line-height: 1.6; color: var(--muted); }

/* --- kolumna brandowa --- */
.auth-aside {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 5vw, 72px);
  color: #B7C9D4;
  background:
    radial-gradient(760px 420px at 82% 4%, rgba(103, 164, 198, .20), transparent 62%),
    radial-gradient(620px 400px at 6% 92%, rgba(10, 106, 168, .22), transparent 60%),
    var(--navy);
}
.auth-aside-inner { max-width: 440px; margin-inline: auto; width: 100%; }
.auth-aside h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.6rem); margin-bottom: 18px; }
.auth-aside .lead { margin-bottom: 0; max-width: 40ch; }

/* Pasek korzyści to stopka panelu, nie lista — stąd poziomo,
   odcinająca linia i odstęp od leadu, żeby nagłówek miał powietrze. */
.auth-marks {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 11px 18px;
  margin: clamp(38px, 7vh, 68px) 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.auth-marks li { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: #A9BEC9; }
.auth-marks svg { flex-shrink: 0; color: var(--brand-light); }

/* Lista korzyści na rejestracji — pełna, dwupoziomowa, w odróżnieniu
   od paska .auth-marks, który na logowaniu jest tylko stopką panelu. */
.auth-gets { display: grid; gap: 18px; }
.auth-gets li { display: flex; gap: 13px; }
.auth-gets > li > svg { flex-shrink: 0; margin-top: 3px; color: var(--brand-light); }
.auth-gets b { display: block; color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 2px; }
.auth-gets span span { display: block; font-size: .87rem; line-height: 1.55; color: #94AAB8; }





@media (max-width: 980px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { min-height: 100vh; min-height: 100dvh; }
}
