/* ==========================================================================
   Penso — landing page styles
   Hand-written, zero-build. Design tokens from the brand system (navy/indigo
   + single accent, Inter + Plus Jakarta Sans, self-hosted for RODO/perf).
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin + latin-ext for Polish diacritics) -- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/inter-400-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: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/inter-400-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: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/inter-500-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: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/inter-500-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: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/inter-600-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: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/inter-600-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: 'Jakarta'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/jakarta-600-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: 'Jakarta'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/jakarta-600-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: 'Jakarta'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/jakarta-700-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: 'Jakarta'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/jakarta-700-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;
}

/* ---------- Design tokens ------------------------------------------------- */
:root {
  /* ===== Deep Monochrome Navy — one ~H215 hue swept across a lightness ladder.
     Backed by Palmer & Schloss color-preference theory (blue = peak liking;
     same-hue/varying-lightness = most-liked combination type) and Labrecque &
     Milne (blue = competence). Dark surfaces carry a navy undertone, never #000;
     text on dark is off-white (anti-halation), never pure #fff. WCAG AA throughout. */

  /* Navy elevation ladder — depth via lightness */
  --navy-deep: #0B1A2E;     /* deepest floor: hero base, footer, gravitas anchors */
  --navy: #13283F;          /* standard dark band + heading ink (via --ink-strong) */
  --navy-raised: #1E3A5F;   /* raised card/panel ON a dark band (lighter = elevated) */
  --indigo: #27548A;        /* decorative glows/gradients ONLY (never text-bearing) */

  /* Accent — one disciplined azure, split into LIGHT and DARK registers */
  --accent: #3B82C4;        /* links / active rail / decorative on LIGHT */
  --accent-hover: #2F6FAB;  /* DEFAULT primary-CTA fill (white label 5.27:1) */
  --accent-active: #2A639A; /* CTA pressed */
  --accent-tint: #E9F1FA;   /* pale accent wash on light */
  --accent-tint-2: #F2F7FC; /* faintest accent wash */
  --accent-on-dark: #5AA0DC;/* accent for icons/links/UI ON dark (never a white-label fill) */
  --cta-on-dark: #2F6FAB;   /* CTA fill on dark (#2F6FAB + white label + highlight underglow) */
  --highlight: #8FC0EC;     /* pale-blue emphasis: hero keyword + links on dark */
  --link: #1E5F9E;          /* inline links on LIGHT (6.59:1 on white) */

  /* Text */
  --ink: #30425C;           /* body on light (10.2:1 white) */
  --ink-strong: #13283F;    /* headings on light (= navy band; 15:1 white) */
  --slate: #5A6B82;         /* secondary / lead on light (5.4:1) */
  --muted: #8E9EB4;         /* labels / large only on light — NOT body */
  --text-on-dark: #E8EFF8;  /* PRIMARY body on dark — off-white, anti-halation */
  --muted-on-dark: #A9BBD4; /* muted / captions on dark (AA body everywhere) */
  --border-on-dark: #33506F;/* visible-but-quiet hairline on dark */

  /* Functional — states only, never brand/decoration */
  --success: #1F9D6B;       /* Live status on light */
  --success-on-dark: #4FC79A;/* Live status dot on dark */
  --live-bg: #E7F6EF;
  --live-text: #136E4B;
  --live-border: #BFE8D4;

  --soon-bg: #EEF2F7;
  --soon-text: #475569;
  --soon-border: #E2E8F0;

  --amber-flag: #E0A106;
  --amber-bg: #FFF7E6;
  --amber-text: #92600A;
  --amber-tint: #FFFBEB;
  --red-flag: #D14343;
  --red-on-dark: #E5736F;   /* error red lifted for AA on dark */
  --red-tint: #FEF3F2;
  --red-text: #B42318;

  /* Featured-pricing relief — the ONE muted warm note (chip/ring only, <2% of page) */
  --featured-gold: #E8B84B;

  --white: #FFFFFF;         /* reserved: hero H1 + on-CTA labels (not large dark body) */
  --bg-soft: #F6F9FD;
  --bg-soft-2: #FBFCFE;
  --surface-2: #EDF2F8;
  --border: #E1E8F1;
  --border-soft: #EEF2F7;
  --line: #C7D2E0;

  --shadow-sm: 0 1px 2px rgba(15,27,45,0.04), 0 4px 16px rgba(15,27,45,0.06);
  --shadow-md: 0 8px 24px rgba(15,27,45,0.10);
  --shadow-lg: 0 24px 60px rgba(15,27,45,0.22);
  --shadow-nav: 0 1px 12px rgba(15,27,45,0.06);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: 24px;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Jakarta', 'Inter', system-ui, -apple-system, Arial, sans-serif;
}

/* ---------- Reset / base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv05' 1; /* friendlier lowercase l */
}
img, svg { display: block; max-width: 100%; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-strong); line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-weight: 700; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-weight: 700; font-size: clamp(1.85rem, 3.5vw, 2.5rem); }
h3 { font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; }
h4 { font-weight: 600; font-size: 1.25rem; }
/* Compact card/item titles (semantically h3, visually smaller than section h3) */
.card__head h3, .diff h3, .step h3, .aud h3 {
  font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em;
}
p { color: var(--ink); }

/* ---------- Layout helpers ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 64px; }
@media (min-width: 768px) { .section { padding-block: 104px; } }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: var(--text-on-dark); }
.section--navy-deep { background: var(--navy-deep); color: var(--text-on-dark); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section--navy .eyebrow, .section--navy-deep .eyebrow { color: var(--highlight); }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--slate); }
.section--navy .lead, .section--navy-deep .lead { color: var(--muted-on-dark); }
.section--navy h2, .section--navy h3,
.section--navy-deep h2, .section--navy-deep h3 { color: var(--white); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; line-height: 1;
  min-height: 44px; padding: 12px 22px; border-radius: var(--radius);
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, transform .05s, box-shadow .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent-hover); color: #fff; }
.btn--primary:hover { background: var(--accent-active); color: #fff; }
.btn--primary:active { background: var(--accent-active); }
/* CTA on dark bands: same AA fill + a faint highlight underglow so it lifts off the navy */
.hero .btn--primary, .section--navy .btn--primary, .section--navy-deep .btn--primary {
  box-shadow: inset 0 0 0 1px rgba(143,192,236,0.38);
}
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--secondary:hover { background: var(--bg-soft); border-color: var(--muted); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--bg-soft); color: var(--navy); }
.btn--lg { min-height: 52px; padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
/* On navy surfaces, inverted secondaries */
.on-navy .btn--secondary, .section--navy .btn--secondary {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.45);
}
.on-navy .btn--secondary:hover, .section--navy .btn--secondary:hover {
  background: rgba(255,255,255,0.10); border-color: #fff; color: #fff;
}

/* ---------- Badges -------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid transparent; white-space: nowrap;
}
.badge--live { background: var(--live-bg); color: var(--live-text); border-color: var(--live-border); }
.badge--live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.badge--soon { background: var(--soon-bg); color: var(--soon-text); border-color: var(--soon-border); }
.badge--soon svg { width: 12px; height: 12px; }

/* ---------- Top nav ------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--border-soft); transition: box-shadow .2s;
}
.nav.is-scrolled { box-shadow: var(--shadow-nav); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.nav__links { display: none; align-items: center; gap: 4px; margin-left: 8px; }
.nav__links a {
  font-weight: 500; font-size: 0.9375rem; color: var(--ink); padding: 8px 12px; border-radius: 8px;
}
.nav__links a:hover { color: var(--navy); background: var(--bg-soft); text-decoration: none; }
.nav__spacer { flex: 1; }
.nav__cta { display: none; align-items: center; gap: 10px; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy);
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__cta-mobile { display: inline-flex; min-height: 40px; padding: 9px 14px; font-size: 0.875rem; }
@media (min-width: 1024px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle, .nav__cta-mobile { display: none; }
}
@media (max-width: 400px) {
  .nav__inner { gap: 10px; }
  .nav__cta-mobile { padding: 9px 12px; }
}
/* mobile sheet */
.nav__sheet {
  display: none; flex-direction: column; gap: 4px; padding: 12px var(--gutter) 24px;
  border-bottom: 1px solid var(--border-soft); background: #fff;
}
.nav__sheet.is-open { display: flex; }
.nav__sheet a { font-weight: 500; font-size: 1rem; color: var(--ink); padding: 12px 8px; border-radius: 8px; }
.nav__sheet a:hover { background: var(--bg-soft); text-decoration: none; }
.nav__sheet .btn { margin-top: 8px; }
@media (min-width: 1024px) { .nav__sheet { display: none !important; } }

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  position: relative; background:
    radial-gradient(1200px 600px at 80% -10%, rgba(90,160,220,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(39,84,138,0.32), transparent 55%),
    var(--navy-deep);
  color: var(--text-on-dark); overflow: hidden;
}
.hero__inner { display: grid; gap: 44px; padding-block: 56px 64px; }
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 56px; padding-block: 72px 88px; }
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 500;
  color: var(--text-on-dark); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.hero__pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success-on-dark); box-shadow: 0 0 0 4px rgba(79,199,154,0.18); }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero h1 .hl { color: var(--highlight); }
.hero__sub { margin-top: 22px; font-size: 1.1875rem; line-height: 1.6; color: var(--text-on-dark); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 0.875rem; color: var(--muted-on-dark); }
.hero__trust svg { width: 18px; height: 18px; color: var(--accent-on-dark); flex: none; }

/* ---------- Dziennik product mock ---------------------------------------- */
.mock {
  --m-border: #E2E8F0;
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226,232,240,0.6); overflow: hidden; color: var(--ink);
  font-size: 12px; transform: perspective(1600px) rotateY(-3deg) rotateX(1.5deg); transform-origin: center;
}
@media (max-width: 1023px) { .mock { transform: none; } }
.mock__top {
  height: 38px; background: var(--navy); display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; color: #fff;
}
.mock__brand { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: 13px; }
.mock__brand svg { width: 18px; height: 18px; }
.mock__company { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #C5D3E6; }
.mock__avatar { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg,#3B82C4,#2E4D7B); }
.mock__body { display: grid; grid-template-columns: 168px 1fr; }
.mock__side { background: var(--bg-soft); border-right: 1px solid var(--border-soft); padding: 10px 8px; }
.mock__eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); padding: 4px 8px 6px; }
.mock__navitem { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--ink); font-size: 11.5px; }
.mock__navitem svg { width: 14px; height: 14px; color: var(--slate); flex: none; }
.mock__navitem.is-active { background: var(--accent-tint); color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.mock__navitem.is-active svg { color: var(--accent); }
.mock__navitem .badge--soon { font-size: 9px; padding: 1px 6px; margin-left: auto; }
.mock__divider { height: 1px; background: var(--border-soft); margin: 8px 4px; }
@media (max-width: 600px) { .mock__side { display: none; } .mock__body { grid-template-columns: 1fr; } }

.mock__toolbar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.mock__title { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy); }
.mock__chip { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2); color: var(--soon-text); font-size: 10.5px; padding: 3px 9px; border-radius: var(--radius-pill); }
.mock__chip svg { width: 12px; height: 12px; }
.mock__search { display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 120px; border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px; color: var(--muted); font-size: 11px; }
.mock__search svg { width: 13px; height: 13px; }
.mock__kbd { margin-left: auto; font-size: 9.5px; border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; color: var(--slate); background: var(--bg-soft); }
.mock__btn { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 7px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.mock__btn svg { width: 13px; height: 13px; }
.mock__btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }

.mock__table { width: 100%; }
.mock__thead, .mock__row { display: grid; grid-template-columns: 20px 56px 78px 1.25fr 46px 46px 84px 82px; align-items: center; gap: 4px; }
@media (max-width: 620px) {
  .mock { font-size: 10.5px; }
  .mock__thead, .mock__row { grid-template-columns: 18px 50px 1fr 74px 70px; }
  .col-doc, .col-wn, .col-ma { display: none; }
}
.mock__thead { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 7px 12px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--slate); text-transform: uppercase; }
.mock__row { padding: 8px 12px; border-bottom: 1px solid var(--border-soft); font-size: 11px; color: var(--ink); }
.mock__row:nth-child(even) { background: var(--bg-soft-2); }
.mock__row.is-selected { box-shadow: inset 2px 0 0 var(--accent); background: var(--accent-tint); }
.mock__row.has-error { background: var(--red-tint); }
.mock__row.has-warn { background: var(--amber-tint); }
.mock__num { font-variant-numeric: tabular-nums; }
.mock__amount { font-variant-numeric: tabular-nums; text-align: right; font-weight: 500; }
.mock__kontr { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 8px; }
.mock__flag svg { width: 14px; height: 14px; }
.mock__flag--red { color: var(--red-flag); }
.mock__flag--warn { color: var(--amber-flag); }
.mock__flag--ok { color: var(--line); }
.mock__status { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-pill); }
.mock__status--ok { background: var(--live-bg); color: var(--live-text); }
.mock__status--ok .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.mock__status--draft { background: var(--amber-bg); color: var(--amber-text); }
.mock__status--draft svg { width: 11px; height: 11px; }
.mock__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--bg-soft); border-top: 1px solid var(--border); font-size: 10.5px; color: var(--slate); flex-wrap: wrap; }
.mock__totals { display: flex; align-items: center; gap: 14px; font-variant-numeric: tabular-nums; }
.mock__balanced { display: inline-flex; align-items: center; gap: 5px; color: var(--live-text); font-weight: 600; }
.mock__balanced svg { width: 13px; height: 13px; }

/* ---------- Trust strip --------------------------------------------------- */
.trust { background: var(--bg-soft); border-block: 1px solid var(--border-soft); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding-block: 22px; }
.trust__item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.875rem; font-weight: 500; color: var(--slate); }
.trust__item svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.trust__note { width: 100%; text-align: center; font-size: 0.8125rem; color: var(--slate); padding-bottom: 18px; }

/* ---------- Generic grids ------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards (features) --------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .15s, border-color .15s, transform .15s;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border); transform: translateY(-2px); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius); background: var(--surface-2);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--navy);
}
.card__icon svg { width: 24px; height: 24px; }
.card--accent .card__icon { background: var(--accent-tint); color: var(--accent); }
.card__head { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; margin-bottom: 8px; }
.card__head h3 { margin: 0; }
.card p { color: var(--slate); font-size: 0.9375rem; }

/* ---------- Differentiators ---------------------------------------------- */
.diff { display: flex; gap: 16px; align-items: flex-start; }
.diff__num {
  flex: none; width: 40px; height: 40px; border-radius: var(--radius); background: var(--accent-tint);
  color: var(--accent); display: grid; place-items: center;
}
.diff__num svg { width: 22px; height: 22px; }
.diff h3 { margin-bottom: 6px; }
.diff p { color: var(--slate); font-size: 0.9375rem; }
/* Differentiators rendered on a dark band */
.section--navy .diff p, .section--navy-deep .diff p { color: var(--muted-on-dark); }
.section--navy .diff__num, .section--navy-deep .diff__num {
  background: var(--navy-raised); color: var(--highlight); border: 1px solid var(--border-on-dark);
}

/* ---------- How it works -------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step { position: relative; padding-top: 8px; }
.step__n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 0.9375rem; }

/* ---------- Migration band ----------------------------------------------- */
.mig { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .mig { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.mig__list { display: grid; gap: 10px; margin-top: 22px; }
.mig__item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border-soft);
}
.mig__item .name { font-weight: 600; color: var(--navy); }
.mig__item .badge { margin-left: auto; }
.mig__item svg.prog { width: 18px; height: 18px; color: var(--slate); flex: none; }

/* ---------- AI callout ---------------------------------------------------- */
.ai-callout {
  background: var(--accent-tint-2); border: 1px solid #D6E5F3; border-radius: var(--radius-lg);
  padding: 22px; box-shadow: inset 4px 0 0 var(--accent);
}
.ai-callout__label { display: inline-flex; align-items: center; gap: 7px; font-size: 0.75rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.ai-callout__label svg { width: 16px; height: 16px; }
.ai-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 12px 14px; font-size: 0.875rem; }
.ai-row .desc { color: var(--ink); }
.ai-row .desc strong { color: var(--navy); font-variant-numeric: tabular-nums; }
.ai-actions { display: flex; gap: 8px; flex: none; }
.ai-actions .btn { min-height: 36px; padding: 7px 14px; font-size: 0.8125rem; }

/* ---------- Security ------------------------------------------------------ */
.sec-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .sec-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 28px; } }
.sec-item { display: flex; gap: 12px; align-items: flex-start; }
.sec-item svg { width: 22px; height: 22px; color: var(--accent-on-dark); flex: none; margin-top: 1px; }
.sec-item span { color: var(--text-on-dark); }

/* ---------- Pricing ------------------------------------------------------- */
.price-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column;
}
.price.is-featured { border-color: var(--featured-gold); border-width: 2px; box-shadow: var(--shadow-md); position: relative; }
.price__tag { position: absolute; top: -12px; left: 28px; background: var(--featured-gold); color: var(--navy); font-size: 0.6875rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); }
.price h3 { font-size: 1.4rem; margin-bottom: 6px; }
.price__for { font-size: 0.8125rem; color: var(--slate); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.price p { color: var(--slate); font-size: 0.9375rem; margin-bottom: 16px; }
.price__list { display: grid; gap: 9px; margin: 0 0 22px; }
.price__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.9rem; color: var(--ink); }
.price__list svg { width: 17px; height: 17px; color: var(--success); flex: none; margin-top: 2px; }
.price .btn { width: 100%; margin-top: auto; }
.price__incentive {
  max-width: 760px; margin: 0 auto 36px; text-align: center; display: flex; gap: 10px; align-items: center; justify-content: center;
  background: var(--accent-tint); border: 1px solid #D6E5F3; border-radius: var(--radius); padding: 14px 22px;
  color: var(--navy); font-size: 0.95rem; font-weight: 500;
}
.price__incentive svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.price-note { margin-top: 22px; text-align: center; font-size: 0.9375rem; color: var(--slate); max-width: 680px; margin-inline: auto; }

/* ---------- Audience cards ------------------------------------------------ */
.aud { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.aud__icon { width: 46px; height: 46px; border-radius: var(--radius); background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.aud__icon svg { width: 24px; height: 24px; }
.aud h3 { margin-bottom: 8px; }
.aud p { color: var(--slate); font-size: 0.9375rem; }

/* ---------- Founder ------------------------------------------------------- */
.founder { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .founder { grid-template-columns: 200px 1fr; gap: 40px; } }
.founder__photo {
  width: 160px; height: 160px; border-radius: 20px; background: linear-gradient(150deg, var(--indigo), var(--navy));
  display: grid; place-items: center; color: #fff; margin-inline: auto;
}
.founder__photo svg { width: 64px; height: 64px; opacity: .85; }
.founder blockquote { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); }
.founder cite { display: block; margin-top: 16px; font-style: normal; font-weight: 600; color: var(--navy); }
.founder cite span { display: block; font-weight: 400; color: var(--slate); font-size: 0.875rem; }

/* ---------- FAQ (native <details>, robust without JS) -------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq__item[open] { border-color: var(--line); }
.faq__q {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-size: 1.0625rem; font-weight: 600; color: var(--navy); font-family: var(--font-head);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--bg-soft); }
.faq__icon { flex: none; width: 22px; height: 22px; color: var(--accent); transition: transform .2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 20px 20px; }
.faq__a p { color: var(--slate); }

/* ---------- Final CTA ----------------------------------------------------- */
.final { text-align: center; }
.final h2 { color: var(--white); max-width: 18ch; margin-inline: auto; }
.final p { color: var(--text-on-dark); max-width: 56ch; margin: 18px auto 0; }
.final__benefits {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center; margin: 24px auto 0; max-width: 720px;
}
.final__benefits li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-on-dark); font-size: 0.9375rem; }
.final__benefits svg { width: 18px; height: 18px; color: var(--accent-on-dark); flex: none; }
.cta-form { display: flex; gap: 10px; max-width: 480px; margin: 28px auto 0; flex-wrap: wrap; }
.cta-form input {
  flex: 1; min-width: 200px; min-height: 52px; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff; font-size: 1rem; font-family: inherit;
}
.cta-form input::placeholder { color: #9FB2CC; }
.cta-form input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.final__micro { margin-top: 16px; font-size: 0.8125rem; color: var(--muted-on-dark); }
.final__micro a { color: var(--highlight); }
.form-msg { margin-top: 14px; font-size: 0.9375rem; min-height: 1.4em; color: var(--success-on-dark); }

/* ---------- Footer -------------------------------------------------------- */
.footer { background: var(--navy-deep); color: #AFC0D6; padding-block: 56px 28px; }
.footer__top { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; } }
.footer__brand .brand { color: #fff; margin-bottom: 14px; }
.footer__brand p { color: #9AACC4; font-size: 0.875rem; max-width: 38ch; }
.footer h3 { color: #fff; font-family: var(--font-head); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.footer__col a, .footer__col li { color: #AFC0D6; font-size: 0.9375rem; padding-block: 5px; display: block; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 0.8125rem; color: #9FB1CA;
}
.footer__bottom .badge--soon { background: rgba(255,255,255,0.06); color: #AFC0D6; border-color: rgba(255,255,255,0.12); }

/* ---------- Legal pages (Regulamin, Polityka prywatności) ---------------- */
.legal { padding-block: 48px 80px; }
.legal__wrap { max-width: 820px; margin-inline: auto; }
.legal__back { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; font-weight: 500; color: var(--slate); margin-bottom: 22px; }
.legal__back:hover { color: var(--navy); text-decoration: none; }
.legal__back svg { width: 16px; height: 16px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 10px; }
.legal__meta { color: var(--slate); font-size: 0.9rem; margin-bottom: 28px; }
.legal__notice {
  display: flex; gap: 12px; align-items: flex-start; background: var(--amber-bg); border: 1px solid #F2D399;
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 40px; color: var(--amber-text); font-size: 0.925rem; line-height: 1.55;
}
.legal__notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--amber-flag); }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; scroll-margin-top: 84px; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal p { color: var(--ink); line-height: 1.72; margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 22px; }
.legal li { color: var(--ink); line-height: 1.7; margin-bottom: 7px; }
.legal ul li { list-style: disc; }
.legal ol li { list-style: decimal; }
.legal strong { color: var(--navy); }
.legal .ph { background: var(--surface-2); border: 1px dashed var(--line); border-radius: 5px; padding: 1px 7px; font-size: 0.92em; color: var(--slate); white-space: nowrap; }
.legal__toc { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 36px; }
.legal__toc h2 { font-size: 1rem; margin: 0 0 10px; font-family: var(--font-head); }
.legal__toc ol { margin: 0; padding-left: 20px; }
.legal__toc li { margin-bottom: 4px; }
.legal__toc a { color: var(--link); }

/* ---------- Cookie consent banner ---------------------------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 560px; margin-inline: auto; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 22px; display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: 0.875rem; line-height: 1.55; color: var(--ink); margin-bottom: 14px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions .btn { flex: 1; min-width: 150px; }

/* ---------- Legal pages (Regulamin / Polityka prywatności) --------------- */
.legal-hero { background: var(--navy); color: #fff; padding-block: 48px 40px; }
.legal-hero .eyebrow { color: #7FB2E0; }
.legal-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.75rem); }
.legal-hero p { color: #CBD5E1; margin-top: 12px; }
.legal { max-width: 820px; margin-inline: auto; }
.legal__updated { color: var(--slate); font-size: 0.875rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 12px; scroll-margin-top: 84px; }
.legal h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 8px; }
.legal p { margin-bottom: 14px; color: var(--ink); }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 7px; color: var(--ink); }
.legal ul li { list-style: disc; }
.legal ol li { list-style: decimal; }
.legal a { color: var(--link); }
.legal strong { color: var(--navy); }
.legal__note {
  background: var(--accent-tint-2); border: 1px solid #D6E5F3; border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 16px 18px; margin: 20px 0; font-size: 0.9375rem; color: var(--ink);
}
.legal__note strong { color: var(--navy); }
.fill {
  background: #FEF3C7; border-bottom: 1px dashed #B7791F; padding: 0 4px; border-radius: 3px;
  font-style: normal; font-weight: 600; color: #7A5410; white-space: nowrap;
}
.legal-toc { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; }
.legal-toc h2 { margin: 0 0 12px; font-size: 1.05rem; }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc li { margin-bottom: 5px; }
.legal-toc a { color: var(--ink); }
.legal-toc a:hover { color: var(--accent); }
.legal-back { margin-top: 32px; }
.footer__bottom--bare { border-top: 0; margin-top: 0; padding-top: 0; }

/* ---------- Utilities ----------------------------------------------------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic--accent { color: var(--accent); }
.ta-right { text-align: right; }
.ai-callout--narrow { max-width: 760px; margin-inline: auto; }
.ai-callout strong { color: var(--navy); }
.ai-note { margin-top: 12px; font-size: 0.875rem; color: var(--slate); }
.roadmap-title { margin-top: 48px; margin-bottom: 6px; font-size: 1.25rem; }
.roadmap-sub { color: var(--slate); margin-bottom: 20px; }
.mt-14 { margin-top: 14px; }
.mt-26 { margin-top: 26px; }
.mt-48 { margin-top: 48px; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.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;
}
