/* ============================================================================
   SzeptAI — shared design shell (Zorza)
   Used by every page in website/*.html. Static hosting, no build step —
   this file is the single source of truth for tokens, layout, and every
   reusable primitive (nav, footer, prose, cards, buttons…). Phase 2/3 pages
   write markup against the classes defined here; see website/README.md for
   the "how to add a page" recipe.
   ========================================================================= */

/* ── 0. Fonts (self-hosted) ────────────────────────────────────────────
   Instrument Serif + Schibsted Grotesk, downloaded from Google Fonts and
   served from assets/fonts/ — no runtime request to fonts.googleapis.com
   or fonts.gstatic.com. Same family/style/weight/unicode-range split
   Google's CSS API serves (latin + latin-ext subsets; Polish diacritics
   ą ę ł ś ż ź ń ć live in latin-ext). OFL license texts sit alongside the
   files in assets/fonts/. To re-download: fetch
   https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap
   with a modern-Chrome User-Agent header (Google serves woff2 only to
   UAs that support it), then curl each @font-face's src url. */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  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: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-regular-latin-ext.woff2) format('woff2');
  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: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-regular-latin.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-italic-latin-ext.woff2) format('woff2');
  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: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-italic-latin.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-regular-latin-ext.woff2) format('woff2');
  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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-regular-latin.woff2) format('woff2');
  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;
}

/* ── 1. Tokens ────────────────────────────────────────────────────────── */
:root {
  --bg-0: #05060A;
  --bg-1: #0A0C14;
  --text-1: #F4F5FA;
  --text-2: rgba(244, 245, 250, .62);
  --text-3: rgba(244, 245, 250, .56);
  --line: rgba(255, 255, 255, .10);
  --glass: rgba(255, 255, 255, .04);
  --opal-teal: #7FE7D2;
  --opal-violet: #978CFF;
  --opal-pink: #FF9ED6;
  --grad-opal: linear-gradient(90deg, #7FE7D2, #978CFF, #FF9ED6);
  --pad-x: clamp(20px, 4.4vw, 56px);
  --pad-hero: clamp(20px, 9.4vw, 120px);
  --ease-out: cubic-bezier(.4, 0, .2, 1);
}

/* ── 2. Reset & base ──────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; /* clears the sticky header on #anchor jumps */ }
html, body { margin: 0; padding: 0; background: var(--bg-0); }
body {
  position: relative;
  color: var(--text-1);
  font-family: 'Schibsted Grotesk', sans-serif;
  overflow-x: hidden;
}
::selection { background: rgba(151, 140, 255, .35); color: #F4F5FA; }
a { text-decoration: none; color: inherit; }
a:focus-visible, .pill:focus-visible, .btn:focus-visible {
  outline: 2px solid rgba(151, 140, 255, .7);
  outline-offset: 3px;
  border-radius: inherit;
}
img { max-width: 100%; }
header, main, footer { position: relative; z-index: 1; }
.wrap { max-width: 1280px; margin: 0 auto; }

/* ── 3. Keyframes ─────────────────────────────────────────────────────── */
@keyframes auroraDrift { 0%, 100% { transform: rotate(-18deg) translateX(-4%) } 50% { transform: rotate(-14deg) translateX(4%) } }
/* coreGlow-style twinkle: opacity .6 ↔ 1, per-star duration/delay via custom props */
@keyframes starGlow { 0%, 100% { opacity: .6 } 50% { opacity: 1 } }
/* Very slow gradient drift for wordmark/hero grad text — subtle "living" shimmer.
   background-size is only slightly over 100% so the full teal→violet→pink spread
   stays visible at all times; the window just breathes gently at its two edges. */
@keyframes gradShimmer { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } }

/* ── 4. Sky: star field + aurora ──────────────────────────────────────
   Absolute (nie fixed): fixed pełnoekranowe warstwy z blur łamią
   compositing w niektórych kontekstach capture/low-power.
   Sibling of <header>, BEFORE it in the document — not inside it. The
   trailing "<!-- /sky -->" marker is load-bearing: scripts/website-qa/check.mjs
   uses it to compare the sky block byte-for-byte across every page. */
.sky {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.sky-inner { position: relative; max-width: 1280px; height: 100%; margin: 0 auto; }
.aurora {
  position: absolute; top: 120px; left: -10%;
  width: 120%; height: 420px;
  background: linear-gradient(90deg,
    rgba(127, 231, 210, .14) 0%,
    rgba(151, 140, 255, .18) 45%,
    rgba(255, 158, 214, .10) 100%);
  filter: blur(70px);
  animation: auroraDrift 16s ease-in-out infinite;
}
.stars {
  position: absolute; top: 40px; left: 4%;
  width: 2px; height: 2px; border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  box-shadow:
    120px  60px 0 rgba(255, 255, 255, .4),
    300px  20px 0 rgba(255, 255, 255, .5),
    480px  90px 0 rgba(255, 255, 255, .3),
    640px  40px 0 rgba(151, 140, 255, .5),
    820px 110px 0 rgba(255, 255, 255, .35),
    990px  30px 0 rgba(127, 231, 210, .5),
    1120px 80px 0 rgba(255, 255, 255, .4),
    200px 160px 0 rgba(255, 158, 214, .4),
    560px 190px 0 rgba(255, 255, 255, .25),
    900px 170px 0 rgba(255, 255, 255, .3),
    1060px 220px 0 rgba(151, 140, 255, .4),
    80px  260px 0 rgba(255, 255, 255, .25),
    420px 280px 0 rgba(127, 231, 210, .35),
    760px 300px 0 rgba(255, 255, 255, .25);
}
/* A handful of individually-animated stars layered over the static field above —
   staggered durations/delays so the sky twinkles organically, never in unison. */
.twinkle-star {
  position: absolute;
  border-radius: 50%;
  opacity: .8;
  animation: starGlow var(--dur, 4000ms) ease-in-out var(--delay, 0ms) infinite;
  will-change: opacity;
}

/* Screen-reader-only utility — standard clip recipe. Used to keep frozen
   separator/punctuation characters in the DOM (content-diff parity) while
   hiding them visually — e.g. the " — " between an ol.steps title and body,
   or the "·" between pills in a CTA row. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── 5. Skip link ─────────────────────────────────────────────────────── */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  background: rgba(10, 12, 18, .95);
  color: var(--text-1);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ── 6. Header / nav ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
}
/* The glass background lives on a ::before, not on .site-header itself.
   Reason: #nav-sheet below is `position: fixed` INSIDE <header> (per spec),
   and backdrop-filter (like transform/filter/perspective) on a real ancestor
   element turns that ancestor into the containing block for fixed-position
   descendants — which would pin the sheet to the header's own ~90px box
   (top == bottom → zero height) the instant the header goes glassy. A
   pseudo-element's filter only affects ITS OWN descendants, not its host
   element's siblings, so this keeps the header's own box filter-free and
   #nav-sheet's `fixed` positioning correctly resolves against the viewport. */
.site-header::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out);
}
html.is-scrolled .site-header::before, html.nav-open .site-header::before {
  background: rgba(5, 6, 10, .72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad-x);
  transition: padding .2s var(--ease-out);
}
html.is-scrolled .nav { padding: 14px var(--pad-x); }

.wordmark {
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 28px;
  background: var(--grad-opal);
  background-size: 112% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* padding + ujemny margin: bez tego background-clip:text obcina zjazdy italica */
  padding: .1em .16em; margin: -.1em -.16em;
  animation: gradShimmer 9s ease-in-out infinite;
  display: inline-block;
}
.wordmark--sm { font-size: 22px; }

.nav-links { display: none; align-items: center; gap: 34px; }
.nav-link {
  position: relative;
  font-size: 14px;
  color: var(--text-2);
  transition: color .2s ease-out;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -5px;
  height: 1px; border-radius: 1px;
  background: var(--grad-opal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.nav-link:hover, .nav-link:focus-visible { color: #F4F5FA; }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
/* Subpages add aria-current="page" to the link that matches them. */
.nav-link[aria-current="page"] { color: var(--text-1); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Burger: two lines that rotate into an X — no icon font/SVG needed. */
.nav-burger {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  width: 40px; height: 40px;
  border: none; background: none; padding: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger-line {
  position: absolute; left: 9px; right: 9px; height: 1.5px; border-radius: 1px;
  background: var(--text-1);
  transition: transform .25s var(--ease-out), top .25s var(--ease-out);
}
.nav-burger-line:nth-child(1) { top: 15px; }
.nav-burger-line:nth-child(2) { top: 23px; }
html.nav-open .nav-burger-line:nth-child(1) { top: 19px; transform: rotate(45deg); }
html.nav-open .nav-burger-line:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.nav-burger:focus-visible { outline: 2px solid rgba(151, 140, 255, .7); outline-offset: 3px; border-radius: 8px; }

/* Breakpoint: nav-links show / burger hides ≥900px. Placed AFTER the base
   .nav-burger rule above (equal specificity — source order decides), so it
   actually wins at this width instead of being shadowed by it. */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

/* Full-width sheet, docked under the header (site.js measures the header's
   live height into --header-h so it lines up whether the header is at its
   tall, top-of-page padding or its scrolled/compact one). Sits BELOW the
   header in stacking order so the header — and its now-X burger — stays the
   visible close affordance while the sheet is open. */
.nav-sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  top: var(--header-h, 88px);
  z-index: 45;
  background: rgba(5, 6, 10, .94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
}
.nav-sheet[hidden] { display: none; }
.nav-sheet.is-open { opacity: 1; transform: none; }
@media (min-width: 900px) { .nav-sheet { display: none !important; } }

.nav-sheet-groups {
  display: grid; grid-template-columns: 1fr; gap: 36px;
  padding: 36px var(--pad-x) 56px;
}
@media (min-width: 600px) { .nav-sheet-groups { grid-template-columns: 1fr 1fr; } }
.nav-sheet-group .eyebrow { display: block; margin-bottom: 16px; }
.nav-sheet-link {
  display: block;
  font-family: 'Instrument Serif', serif; font-style: normal; font-weight: 400;
  font-size: 28px; color: var(--text-1);
  padding: 9px 0;
  transition: color .2s var(--ease-out);
}
.nav-sheet-link:hover, .nav-sheet-link:focus-visible {
  background: var(--grad-opal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-sheet-link:focus-visible { outline: 2px solid rgba(151, 140, 255, .7); outline-offset: 4px; border-radius: 6px; }

html.nav-open, html.nav-open body { overflow: hidden; } /* body-scroll lock while the sheet is open */

/* ── 7. Pill (gradient ring) + official App Store badge ──────────────── */
.pill {
  padding: 1.5px; border-radius: 9999px;
  background: var(--grad-opal);
  display: inline-flex;
  transition: box-shadow .2s ease-out, transform .2s ease-out;
}
.pill-inner { display: flex; align-items: center; border-radius: 9999px; }
.pill--nav .pill-inner {
  gap: 8px; padding: 10px 20px;
  background: rgba(10, 12, 18, .88);
  transition: background .2s ease-out;
}
.pill--nav:hover .pill-inner { background: rgba(16, 18, 30, .88); }
.pill--nav .pill-label {
  font-size: 13px; font-weight: 600;
  background: var(--grad-opal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill--nav:active { transform: scale(.98); }
.pill-label--short { display: none; }
@media (max-width: 419px) {
  .pill-label--long { display: none; }
  .pill-label--short { display: inline; }
}

/* Oficjalny badge Apple (niemodyfikowany artwork: assets/app-store-badge-pl.svg);
   poświata to box-shadow na elemencie, nie ingeruje w grafikę badge'a */
.store-badge {
  display: inline-block; line-height: 0;
  border-radius: 10px;
  box-shadow: 0 0 34px rgba(151, 140, 255, .35);
  transition: box-shadow .2s ease-out, transform .2s ease-out;
}
.store-badge img { display: block; height: 56px; width: auto; }
.store-badge:hover { box-shadow: 0 0 44px rgba(151, 140, 255, .5); transform: translateY(-1px); }
.store-badge:active { transform: scale(.98); }
.store-badge--sm img { height: 40px; }

/* ── 8. Buttons (primitive, for Phase 2/3 pages) ──────────────────────
   Markup: <a class="btn"><span class="btn-inner"><span class="btn-label">…
   Same gradient-ring recipe as .pill, sized for body copy CTAs. */
.btn {
  display: inline-flex; padding: 1.5px; border-radius: 9999px;
  background: var(--grad-opal);
  transition: box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn-inner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 9999px;
  background: rgba(10, 12, 18, .88);
  transition: background .2s var(--ease-out);
}
.btn:hover .btn-inner { background: rgba(16, 18, 30, .88); }
.btn:active { transform: scale(.98); }
.btn-label {
  font-size: 15px; font-weight: 600;
  background: var(--grad-opal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn--ghost { background: none; padding: 0; border: 1px solid var(--line); }
.btn--ghost .btn-inner { background: transparent; padding: 12.5px 24.5px; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .24); }
.btn--ghost .btn-label { background: none; -webkit-text-fill-color: currentColor; color: var(--text-1); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ── 9. Hero ───────────────────────────────────────────────────────────
   .lead is intentionally unscoped — .page-hero (§13) reuses it verbatim. */
.hero { position: relative; text-align: center; padding: 72px var(--pad-hero) 40px; }
.hero h1 {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.12;
  color: #F4F5FA;
  max-width: 820px; margin: 0 auto;
}
.hero h1 .grad {
  padding: .08em 0;
  background: var(--grad-opal);
  background-size: 112% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShimmer 9s ease-in-out infinite;
}
.lead {
  font-size: clamp(16px, 2vw, 18px); line-height: 1.7;
  color: var(--text-2);
  max-width: 640px; margin: 26px auto 40px;
}
.cta-row { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.microcopy { font-size: 13px; color: var(--text-3); }
/* Links inside muted microcopy need their own (non-muted) contrast — text-3
   fails color-contrast even before counting the surrounding muted text, so
   they're bumped to text-2 with an underline to stay visually distinct from
   the microcopy around them. */
.microcopy a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color .2s var(--ease-out); }
.microcopy a:hover, .microcopy a:focus-visible { color: var(--text-1); }

/* ── 10. Phones ────────────────────────────────────────────────────────── */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 44px; padding: 56px 0 10px; }
.phone-col { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.phone-col--side { margin-top: 36px; }
.phone-frame {
  background: var(--bg-1); /* placeholder pod PNG (CLS) */
  overflow: hidden;
  transform-origin: center;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms var(--ease-out);
}
/* <picture> defaults to an inline box like <img>, which can add a
   line-height gap under the screenshot. Force block so the webp/png
   wrapper introduces zero extra space vs. a bare <img>. */
.phone-frame picture { display: block; line-height: 0; }
.phone-col--side .phone-frame {
  width: 250px; height: 460px; border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.phone-col--side .phone-frame:hover {
  transform: scale(1.035);
  border-color: rgba(255, 255, 255, .26);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .6), 0 0 36px rgba(151, 140, 255, .14);
}
.phone-col--side img { width: 250px; height: auto; display: block; }
.phone-col--mid .phone-frame {
  width: 284px; height: 540px; border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 60px rgba(151, 140, 255, .12);
}
.phone-col--mid .phone-frame:hover {
  transform: scale(1.035);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .7), 0 0 90px rgba(151, 140, 255, .22);
}
.phone-col--mid img { width: 284px; height: auto; display: block; }
.phone-caption { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--text-3); }
.phone-caption--grad { background: var(--grad-opal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── 11. Features / cards ─────────────────────────────────────────────── */
.features { position: relative; display: flex; gap: 20px; padding: 56px var(--pad-x) 8px; scroll-margin-top: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 899px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  flex: 1;
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  padding: 28px;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); }
.card-icon { width: 46px; height: 46px; border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.card--teal .card-icon { background: rgba(127, 231, 210, .1); border: 1px solid rgba(127, 231, 210, .3); color: #7FE7D2; }
.card--violet .card-icon { background: rgba(151, 140, 255, .1); border: 1px solid rgba(151, 140, 255, .3); color: #978CFF; }
.card--pink .card-icon { background: rgba(255, 158, 214, .1); border: 1px solid rgba(255, 158, 214, .3); color: #FF9ED6; }
.card h2 {
  font-family: 'Instrument Serif', serif; font-style: normal; font-weight: 400;
  font-size: 22px; color: #F4F5FA;
  margin: 16px 0 8px;
}
.card p { font-size: 14px; line-height: 1.65; color: var(--text-2); }
/* Whole-card link variant:
   <a class="card card--link ..."><span class="card-icon">…<h2>…</h2><p>…</p>
    <span class="card-link-label">Czytaj</span></a>
   The "Czytaj" text is real content (always visible); only the arrow after
   it animates in on hover/focus — CSS-generated, never part of the text. */
.card--link { display: flex; flex-direction: column; }
.card--link:hover, .card--link:focus-visible { transform: translateY(-3px); border-color: rgba(255, 255, 255, .2); }
.card-link-label {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: color .2s var(--ease-out);
}
.card-link-label::after {
  content: '→';
  opacity: 0; transform: translateX(-4px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.card--link:hover .card-link-label, .card--link:focus-visible .card-link-label { color: var(--text-1); }
.card--link:hover .card-link-label::after, .card--link:focus-visible .card-link-label::after { opacity: 1; transform: translateX(0); }

/* ── 12. How / steps ───────────────────────────────────────────────────── */
.how { position: relative; text-align: center; padding: 64px var(--pad-hero) 20px; scroll-margin-top: 24px; }
.how h2 { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; font-size: clamp(26px, 3vw, 34px); color: #F4F5FA; margin-bottom: 34px; }
.steps { display: flex; gap: 24px; text-align: left; }
.step { flex: 1; padding-left: 18px; position: relative; }
.step-rail { position: absolute; left: 0; top: 2px; bottom: 2px; width: 1.5px; border-radius: 1px; }
.step--teal .step-rail { background: linear-gradient(180deg, #7FE7D2, transparent); }
.step--violet .step-rail { background: linear-gradient(180deg, #978CFF, transparent); }
.step--pink .step-rail { background: linear-gradient(180deg, #FF9ED6, transparent); }
.step h3 { font-family: 'Instrument Serif', serif; font-style: normal; font-weight: 400; font-size: 19px; margin-bottom: 6px; }
.step--teal h3 { color: #7FE7D2; }
.step--violet h3 { color: #978CFF; }
.step--pink h3 { color: #FF9ED6; }
.step p { font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* Generic scroll-reveal utility — site.js adds .reveal-pending then .is-visible
   to any [data-reveal] element (IntersectionObserver, once). Fully progressive:
   without JS/IO/motion, elements just render visible, no FOUC/CLS risk. Stagger
   via nth-child scoped to a known container (.steps below) or a --i custom prop. */
[data-reveal] { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(16px); }
[data-reveal].reveal-pending.is-visible { opacity: 1; transform: none; }
.steps [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.steps [data-reveal]:nth-child(2) { transition-delay: 90ms; }
.steps [data-reveal]:nth-child(3) { transition-delay: 180ms; }

/* ── 13. CTA-band ─────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  margin: 56px var(--pad-x) 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  padding: 44px; /* dokładne 44px (§2.8); redukcja do 28px w media ≤900px */
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}
.cta-blob {
  position: absolute; top: -40px; right: -60px;
  width: 340px; height: 200px;
  background: linear-gradient(90deg, rgba(127, 231, 210, .14), rgba(255, 158, 214, .14));
  filter: blur(50px);
}
.cta-text { position: relative; }
.cta-text h2 { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); color: #F4F5FA; }
.cta-text p { font-size: 14px; color: var(--text-2); margin-top: 8px; }

/* ── 14. Page primitives (Phase 2/3 pages build on these) ─────────────── */
.section { padding-block: clamp(56px, 8vw, 96px); padding-inline: var(--pad-x); position: relative; }
.section-title {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15;
  color: var(--text-1); text-align: center;
}
.section-lead { font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 640px; margin: 14px auto 0; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .25em;
  background: var(--grad-opal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Centered sections (title below is centered via .section-title) get a
   centered eyebrow too — only when it's a direct child of .section, so
   #szumy (eyebrow nested inside .szumy-copy, left-aligned layout) is
   unaffected by this rule. */
.section > .eyebrow:first-child { display: block; text-align: center; margin-bottom: 18px; }

.page-hero { position: relative; text-align: center; padding: clamp(56px, 9vw, 96px) var(--pad-hero) 40px; }
.page-hero .eyebrow { display: block; margin-bottom: 18px; }
.page-hero h1 {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(36px, 4.8vw, 58px); line-height: 1.1;
  color: var(--text-1);
  max-width: 820px; margin: 0 auto;
}
.page-hero .lead { margin: 22px auto 0; }
.page-meta { font-size: 13px; color: var(--text-3); margin-top: 18px; }

/* Prose — long-form legal/trust copy. Max-width set for reading comfort.
   padding-inline insets it when used bare (jak-powstaje-bajka.html,
   bezpieczenstwo.html — no ancestor to supply the gutter); inside
   .page-grid (privacy/terms) the grid itself already carries --pad-x, so
   it's zeroed there to avoid doubling up. */
.prose { max-width: 720px; margin: 0 auto; padding-inline: var(--pad-x); }
.page-grid .prose { padding-inline: 0; }
.prose p { font-size: 16.5px; line-height: 1.75; color: rgba(244, 245, 250, .80); }
.prose p + p { margin-top: 1em; }
.prose h2 {
  position: relative;
  font-family: 'Instrument Serif', serif; font-style: normal; font-weight: 400;
  font-size: 28px; color: var(--text-1);
  margin: 52px 0 14px; padding-top: 20px;
}
.prose h2::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 36px; height: 1.5px; border-radius: 1px;
  background: var(--grad-opal);
}
.prose h3 { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 17px; color: var(--text-1); margin: 32px 0 8px; }
.prose ul, .prose ol { list-style: none; margin: 0 0 1em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .6em; color: rgba(244, 245, 250, .80); line-height: 1.7; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--opal-teal); }
.prose ol { counter-reset: prose-ol; }
.prose ol li { position: relative; padding-left: 30px; margin-bottom: .6em; color: rgba(244, 245, 250, .80); line-height: 1.7; counter-increment: prose-ol; }
.prose ol li::before { content: counter(prose-ol) '.'; position: absolute; left: 0; top: 0; color: var(--opal-violet); font-weight: 600; }
/* 6-step "how it's made" variant: big serif numbers in a left column.
   Grid contract: each ol.steps > li must contain exactly ONE child element
   (a wrapping .step-body). The li's grid has exactly 2 cells — the
   generated ::before number (position:static, so it participates in the
   grid as cell 1) and that single real child (cell 2). A second child, or
   text nodes used as a child, breaks the 44px/1fr column split. */
.prose ol.steps { display: flex; flex-direction: column; gap: 28px; counter-reset: prose-steps; }
.prose ol.steps li {
  display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 18px;
  padding-left: 0; counter-increment: prose-steps;
}
.prose ol.steps li::before {
  content: counter(prose-steps);
  position: static;
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 30px; line-height: 1;
  background: var(--grad-opal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Title line inside .step-body: the frozen "Title — body" copy hides its
   em-dash separator (.visually-hidden, §5) and instead renders the
   <strong> as a block title above the body paragraph. */
.prose ol.steps strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  color: var(--text-1);
}
.prose a { color: var(--opal-teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s var(--ease-out); }
.prose a:hover { color: var(--opal-pink); }
.prose a:focus-visible { outline: 2px solid rgba(151, 140, 255, .7); outline-offset: 3px; border-radius: 2px; }
.prose strong { color: var(--text-1); font-weight: 700; }
.prose em { font-style: italic; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.table-scroll { overflow-x: auto; margin: 1.4em 0; border-radius: 16px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose td { padding: 12px 14px; border-top: 1px solid var(--line); color: rgba(244, 245, 250, .80); }
.prose blockquote { position: relative; margin: 1.4em 0; padding: 2px 0 2px 22px; font-style: italic; color: var(--text-2); }
.prose blockquote::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 2px; border-radius: 1px; background: var(--grad-opal); }

/* Glass callout — same recipe as .card, standalone use in prose flows. */
.callout {
  position: relative; overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  padding: 24px 28px;
}
.callout::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.callout--teal::before { background: var(--opal-teal); }
.callout--violet::before { background: var(--opal-violet); }
.callout--pink::before { background: var(--opal-pink); }
/* Heading + list recipe for callouts used as standalone content blocks
   (not just short notes) — e.g. the "co gwarantujemy / czego nie
   obiecujemy" pair on bezpieczenstwo.html. Marker colour follows the
   callout's own variant; the dot always sits on the left regardless of
   variant (a pink callout is NOT a signal to mirror markers to the right —
   that reads as a layout bug, and did on an earlier pass of this page). */
.callout > h2 {
  font-family: 'Instrument Serif', serif; font-style: normal; font-weight: 400;
  font-size: 22px; color: #F4F5FA;
  margin: 0 0 16px;
}
.callout ul { list-style: none; margin: 0; padding: 0; }
.callout ul li {
  position: relative; padding-left: 26px; margin-bottom: .6em;
  color: rgba(244, 245, 250, .80); font-size: 16.5px; line-height: 1.7;
}
.callout ul li::before {
  content: ''; position: absolute; left: 4px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--opal-teal);
}
.callout--violet ul li::before { background: var(--opal-violet); }
.callout--pink ul li::before { background: var(--opal-pink); }
.two-col { display: grid; gap: 20px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
/* Narrower two-col for a pair of callouts/cards read side by side, rather
   than the full .wrap-width grid — was page-local ".two-col--safety". */
.two-col--narrow { max-width: 1000px; margin: 0 auto; align-items: start; }
.two-col--narrow + .prose { margin-top: 56px; }

/* Legal-page layout: sticky TOC rail + centered prose column. */
.page-grid { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad-x); }
@media (min-width: 1100px) {
  .page-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; justify-content: center; align-items: start; }
}
.toc h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--text-3); margin-bottom: 12px; }
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc a { display: inline-block; font-size: 13.5px; color: var(--text-2); transition: color .2s var(--ease-out); }
.toc a:hover, .toc a.is-active { color: var(--text-1); }
@media (min-width: 1100px) { .toc { position: sticky; top: 96px; } }
/* Below 1100px the page wraps the SAME .toc markup in a second copy inside
   <details class="toc-mobile"> — both live in the DOM at once (see
   privacy.html/terms.html). This media query only drops the rail's own
   `position:sticky`; it does NOT hide the rail, so without an explicit
   `display:none` below, the standalone rail nav and the .toc-mobile twin
   would render stacked on top of each other on any viewport under 1100px. */
@media (max-width: 1099px) { .page-grid > .toc { display: none; } }
details.toc-mobile { margin-bottom: 32px; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
@media (min-width: 1100px) { details.toc-mobile { display: none; } }
details.toc-mobile summary {
  cursor: pointer; list-style: none;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--text-3);
  padding: 14px 0;
}
details.toc-mobile summary::-webkit-details-marker { display: none; }
details.toc-mobile[open] summary { color: var(--text-1); }
details.toc-mobile .toc { padding-bottom: 16px; }

/* Chips — meta tags on cards, and pressable filters. */
.chip {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  padding: 5px 10px; border-radius: 9999px;
  border: 1px solid var(--line); background: var(--glass); color: var(--text-2);
}
.chip--teal { background: rgba(127, 231, 210, .1); border-color: rgba(127, 231, 210, .3); color: var(--opal-teal); }
.chip--violet { background: rgba(151, 140, 255, .1); border-color: rgba(151, 140, 255, .3); color: var(--opal-violet); }
.chip--pink { background: rgba(255, 158, 214, .1); border-color: rgba(255, 158, 214, .3); color: var(--opal-pink); }
.chip--neutral { background: var(--glass); border-color: var(--line); color: var(--text-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
/* Pressable filter chips: gradient ring when active, via the padding-box /
   border-box double-background trick (single element — no nested .pill-inner
   needed since state toggles via [aria-pressed], not markup). */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-bar .chip {
  cursor: pointer; border: 1.5px solid transparent;
  background: var(--glass) padding-box, rgba(255, 255, 255, .16) border-box;
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.filter-bar .chip:hover { color: var(--text-1); }
.filter-bar .chip[aria-pressed="true"] {
  background: rgba(10, 12, 18, .9) padding-box, var(--grad-opal) border-box;
  color: var(--text-1);
}
/* Centers the filter bar within a 760px column (mirrors .story-list /
   .prose) instead of the default full-.wrap-width, edge-aligned layout —
   was page-local on czytelnia.html. */
.filter-bar--center { max-width: 760px; margin: 0 auto; padding: 0 var(--pad-x) 32px; justify-content: center; }

/* Disclosure (<details>) — FAQ / "Czytelnia" story notes. Chevron is a
   two-border CSS arrow, no icon asset needed. */
details.disclosure { border-top: 1px solid var(--line); padding: 16px 0; }
details.disclosure summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--text-1);
  padding: 4px 0;
  transition: color .2s var(--ease-out);
}
details.disclosure summary::-webkit-details-marker { display: none; }
details.disclosure summary::before {
  content: ''; flex: 0 0 auto; width: 8px; height: 8px;
  border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2);
  transform: rotate(-45deg);
  transition: transform .2s var(--ease-out), border-color .2s var(--ease-out);
}
details.disclosure[open] summary::before { transform: rotate(45deg); }
details.disclosure summary:hover { color: var(--opal-teal); }
details.disclosure summary:hover::before { border-color: var(--opal-teal); }
details.disclosure summary:focus-visible { outline: 2px solid rgba(151, 140, 255, .7); outline-offset: 4px; border-radius: 4px; }
details.disclosure .disclosure-content { padding-top: 12px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
/* Czytelnia story text lives directly in a disclosure — same top gutter as
   .disclosure-content above, since .story-text (17px/1.8, see below) is
   used here in place of it. */
details.disclosure .story-text { padding-top: 12px; }

/* One-column Czytelnia card stack, centered at the .prose reading width. */
.story-list { display: flex; flex-direction: column; gap: 32px; max-width: 760px; margin: 0 auto; padding: 24px var(--pad-x) 8px; }

/* Story card — Czytelnia entries. */
.story-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  padding: clamp(20px, 3vw, 32px);
}
.story-card h2 { font-family: 'Instrument Serif', serif; font-style: normal; font-weight: 400; font-size: 26px; color: var(--text-1); margin-bottom: 14px; }
.story-text { font-size: 17px; line-height: 1.8; max-width: 66ch; color: rgba(244, 245, 250, .85); }
.story-text p { margin: 0 0 1em; }
.story-text em { font-style: italic; color: var(--text-2); }
.story-nota { font-style: italic; color: var(--text-2); font-size: 15px; margin-top: 18px; }

/* ── 15. Footer ───────────────────────────────────────────────────────── */
.site-footer { position: relative; border-top: 1px solid var(--line); margin-top: 24px; }
.footer {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px;
  padding: 56px var(--pad-x) 40px;
}
@media (max-width: 999px) { .footer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: var(--text-2); max-width: 30ch; }
.footer-col h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--text-3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-2); padding: 5px 0; transition: color .2s ease-out; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--text-1); }
.footer-legal { padding: 20px var(--pad-x) 36px; border-top: 1px solid var(--line); }
.footer-legal p { font-size: 12.5px; color: var(--text-3); }

/* ── 16. Responsive (shared sections not covered above) ──────────────── */
@media (max-width: 940px) {
  /* ŚWIADOMA KOREKTA propozycji §6.6 (tam: ukrycie bocznych telefonów ≤640px).
     Trzy telefony (250+284+250+2×44 = 872px) nie mieszczą się poniżej ~940px —
     przy 641–940px byłyby przycięte przez overflow-x:hidden, więc boczne
     chowamy już tutaj. Decyzja odnotowana w handoffie rewizji 5a. */
  .phone-col--side { display: none; }
  .phones { padding-top: 40px; }
}
@media (max-width: 900px) {
  .features { flex-direction: column; }
  .steps { flex-direction: column; }
  .cta-band { flex-direction: column; text-align: center; padding: 28px; }
  .cta-band .store-badge { align-self: center; }
}
@media (max-width: 640px) {
  .phone-col--mid .phone-frame { width: min(284px, 82vw); }
  .phone-col--mid img { width: min(284px, 82vw); }
}

/* ── 17. Fallbacks / preferencje ───────────────────────────────────────── */
@supports not (backdrop-filter: blur(20px)) {
  .card, .cta-band, .callout, .story-card, .nav-sheet { background: rgba(16, 18, 30, .9); }
  html.is-scrolled .site-header::before, html.nav-open .site-header::before { background: rgba(9, 10, 16, .95); }
}
@media (prefers-reduced-motion: reduce) {
  /* NOTE: `*` alone does not reach generated content — ::before/::after need
     their own explicit selector, otherwise the nav-link underline, pill
     sheen, and burger-to-X transform (all pseudo/transform transitions)
     would keep animating. */
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .aurora { transform: rotate(-16deg); }
  /* Defensive: JS already gates .reveal-pending behind a matchMedia check,
     this just guarantees content is never stuck invisible under this query. */
  [data-reveal].reveal-pending { opacity: 1 !important; transform: none !important; }
}

/* ── 18. Landing sections (Phase 3: zaufanie / czytelnia-teaser / szumy /
   cennik / faq) ─────────────────────────────────────────────────────────
   New index.html-only sections; grouped here rather than folded into an
   earlier numbered block so the existing section numbers above don't
   shift. Reuses §11/§14 primitives (.card, .callout, .story-card,
   .chip-row, details.disclosure) wherever the shape already exists. */
.grid-3 [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.grid-3 [data-reveal]:nth-child(2) { transition-delay: 90ms; }
.grid-3 [data-reveal]:nth-child(3) { transition-delay: 180ms; }

/* #czytelnia-teaser — single centered .story-card with a bottom fade over
   the tail of the excerpt (decorative only: all copy stays in the DOM and
   fully selectable, nothing is clipped/hidden — see README content rule). */
.story-card--teaser { max-width: 720px; margin: 0 auto; }
.story-card--teaser .chip-row { margin: 2px 0 18px; }
.teaser-copy { position: relative; }
.teaser-copy::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, transparent, rgba(9, 10, 18, .88));
  border-radius: 0 0 20px 20px;
  pointer-events: none;
}
.story-card--teaser .btn { position: relative; margin-top: 22px; }
.teaser-microcopy { text-align: center; margin-top: 18px; }

/* #szumy — 2-col ≥900px (text | phone mockup); stacked below it. */
.szumy-grid { display: flex; flex-direction: column-reverse; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .szumy-grid { flex-direction: row; align-items: center; justify-content: space-between; gap: 56px; }
  .szumy-copy { flex: 1 1 420px; }
}
.szumy-copy .eyebrow { display: block; margin-bottom: 14px; }
.szumy-copy h2 {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: var(--text-1);
  margin: 0 0 16px;
}
.szumy-copy > p.section-lead-left { font-size: 15.5px; line-height: 1.7; color: var(--text-2); max-width: 48ch; margin: 0 0 26px; text-align: left; }
.szumy-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.szumy-list li { font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.szumy-list strong { color: var(--text-1); }

/* #cennik — two pricing .cards, narrower than the default .two-col--narrow
   (900px here vs 1000px for the safety/trust callouts). align-items:stretch
   overrides .two-col--narrow's own align-items:start (right for two
   uneven-length callouts on bezpieczenstwo.html, wrong here — the two
   pricing cards must match height so their CTAs share a baseline). */
#cennik .two-col--narrow { max-width: 900px; margin-top: 40px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; position: relative; }
.pricing-chip { position: absolute; top: 28px; right: 28px; }
.pricing-card h3 { font-family: 'Instrument Serif', serif; font-style: normal; font-weight: 400; font-size: 19px; color: var(--text-1); margin-bottom: 14px; }
/* Price line: amount + unit live in nested <span>s (not bare text on the
   <p>) so their font-size/color aren't lost to .card p's higher-specificity
   14px/text-2 rule (.card p = 0,1,1 beats a single class like .price =
   0,1,0). .price-alt is scoped as .pricing-card .price-alt (0,2,0) for the
   same reason — two classes beats .card p's one class + one element. */
.pricing-card .price { margin: 4px 0 0; }
.price-amount { font-family: 'Instrument Serif', serif; font-style: normal; font-weight: 400; font-size: 44px; line-height: 1; color: var(--text-1); }
@media (max-width: 599px) { .price-amount { font-size: 36px; } }
.price-unit { font-family: 'Schibsted Grotesk', sans-serif; font-style: normal; font-size: 15px; font-weight: 500; color: var(--text-2); margin-left: 6px; }
.pricing-card .price-alt { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.pricing-features { list-style: none; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pricing-features li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.pricing-features li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--opal-teal); }
.card--violet .pricing-features li::before { background: var(--opal-violet); }
.pricing-note { text-align: center; margin-top: 28px; }
/* .pricing-card is a flex column (align-items default: stretch), so a .btn
   inside it stretches full-width — but .btn-inner only shrink-wraps its
   label, leaving raw gradient exposed beside a short label. Force the
   inner to fill and center like the width already implies. Scoped to
   .card/.pricing-card so unrelated inline .btn uses (btn-row, cta-band,
   the czytelnia teaser's .story-card) are untouched. */
.pricing-card .btn .btn-inner, .card .btn .btn-inner { width: 100%; justify-content: center; }

/* #faq — single 720px column of details.disclosure. */
.faq-list { max-width: 720px; margin: 40px auto 0; }
