/* =====================================================================
   PoliczKrypto — style.css v2 · paleta „Indigo Pulse”
   Mobile-first · light + dark (prefers-color-scheme) · bez zasobów zewn.
   Breakpointy: 640 / 960 / 1200 px
   ===================================================================== */

/* ---------- 1. TOKENY: jasny (domyślny) ---------- */
:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-soft: #F5F6FB;
  --surface: #FFFFFF;
  --surface-2: #F0F2F9;
  --ink: #0B0D1F;
  --ink-2: #363B5C;
  --muted: #5D6283;
  --line: #E2E5F0;
  --line-strong: #C9CEE0;

  --accent: #3B4BFF;          /* Pulse Blue */
  --accent-2: #7A3CFF;        /* Pulse Violet */
  --accent-3: #E9479A;        /* Pulse Rose – tylko dekor */
  --accent-soft: #ECEEFF;
  --accent-text: #2F3DE0;
  --btn: #3B4BFF;
  --btn-hover: #2F3DE0;
  --btn-ink: #FFFFFF;

  --ok: #0B7A4B;  --ok-soft: #E2F5EB;
  --bad: #C8263B; --bad-soft: #FDEBEE;
  --warn: #8A5200; --warn-soft: #FFF3DC;

  --paper: #FCFCFA;
  --paper-line: #D9DCE8;
  --field: #F2F4FA;
  --field-nr: #E1E5F2;

  --topbar-bg: #0B0D1F;
  --deep: #0B0D1F;            /* tło bloku zapisów (zawsze ciemne) */

  --grad: linear-gradient(135deg, #3B4BFF 0%, #7A3CFF 55%, #E9479A 100%);
  --grad-cta: linear-gradient(135deg, #3B4BFF 0%, #6A3CFF 100%);
  --grad-soft: linear-gradient(135deg, #EEF0FF 0%, #F4EDFF 55%, #FDEEF5 100%);
  --grad-text: linear-gradient(90deg, #3B4BFF 0%, #7A3CFF 60%, #C93C8A 100%);
  --aurora-1: rgba(59, 75, 255, .20);
  --aurora-2: rgba(122, 60, 255, .16);
  --aurora-3: rgba(233, 71, 154, .12);

  --sh-1: 0 1px 2px rgba(11, 13, 31, .06), 0 1px 1px rgba(11, 13, 31, .04);
  --sh-2: 0 10px 28px -10px rgba(11, 13, 31, .18), 0 2px 6px rgba(11, 13, 31, .05);
  --sh-3: 0 30px 70px -24px rgba(40, 32, 150, .38), 0 10px 24px -10px rgba(11, 13, 31, .14);
  --glow: 0 16px 44px -14px rgba(74, 64, 255, .55);
}

/* ---------- 1b. TOKENY: ciemny (te same nazwy) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #07081A; --bg-soft: #0B0D22; --surface: #11132C; --surface-2: #181B3A;
    --ink: #F1F2FA; --ink-2: #C3C7E0; --muted: #9BA1C4;
    --line: #23274A; --line-strong: #343963;
    --accent: #7C89FF; --accent-2: #A57BFF; --accent-3: #FF6FB5;
    --accent-soft: #1A1F4D; --accent-text: #A3ACFF;
    --btn: #4F5BFF; --btn-hover: #3F4CF0; --btn-ink: #FFFFFF;
    --ok: #3DDC97; --ok-soft: #0E2A20; --bad: #FF6B7F; --bad-soft: #2E1220;
    --warn: #FFC266; --warn-soft: #2A2010;
    --paper: #0E1130; --paper-line: #2A2E58; --field: #151938; --field-nr: #252A63;
    --topbar-bg: #11132C; --deep: #12153A;
    --grad: linear-gradient(135deg, #4F5BFF 0%, #8B4DFF 55%, #FF5FAE 100%);
    --grad-cta: linear-gradient(135deg, #4F5BFF 0%, #7D4DFF 100%);
    --grad-soft: linear-gradient(135deg, #141845 0%, #1D1648 55%, #2A1435 100%);
    --grad-text: linear-gradient(90deg, #8C96FF 0%, #B58CFF 55%, #FF8AC4 100%);
    --aurora-1: rgba(79, 91, 255, .40); --aurora-2: rgba(139, 77, 255, .34); --aurora-3: rgba(255, 95, 174, .22);
    --sh-1: 0 1px 2px rgba(0, 0, 0, .5);
    --sh-2: 0 12px 30px -12px rgba(0, 0, 0, .7);
    --sh-3: 0 34px 90px -24px rgba(79, 91, 255, .45), 0 10px 30px -10px rgba(0, 0, 0, .6);
    --glow: 0 18px 60px -12px rgba(124, 137, 255, .65);
  }
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07081A; --bg-soft: #0B0D22; --surface: #11132C; --surface-2: #181B3A;
  --ink: #F1F2FA; --ink-2: #C3C7E0; --muted: #9BA1C4;
  --line: #23274A; --line-strong: #343963;
  --accent: #7C89FF; --accent-2: #A57BFF; --accent-3: #FF6FB5;
  --accent-soft: #1A1F4D; --accent-text: #A3ACFF;
  --btn: #4F5BFF; --btn-hover: #3F4CF0; --btn-ink: #FFFFFF;
  --ok: #3DDC97; --ok-soft: #0E2A20; --bad: #FF6B7F; --bad-soft: #2E1220;
  --warn: #FFC266; --warn-soft: #2A2010;
  --paper: #0E1130; --paper-line: #2A2E58; --field: #151938; --field-nr: #252A63;
  --topbar-bg: #11132C; --deep: #12153A;
  --grad: linear-gradient(135deg, #4F5BFF 0%, #8B4DFF 55%, #FF5FAE 100%);
  --grad-cta: linear-gradient(135deg, #4F5BFF 0%, #7D4DFF 100%);
  --grad-soft: linear-gradient(135deg, #141845 0%, #1D1648 55%, #2A1435 100%);
  --grad-text: linear-gradient(90deg, #8C96FF 0%, #B58CFF 55%, #FF8AC4 100%);
  --aurora-1: rgba(79, 91, 255, .40); --aurora-2: rgba(139, 77, 255, .34); --aurora-3: rgba(255, 95, 174, .22);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .5);
  --sh-2: 0 12px 30px -12px rgba(0, 0, 0, .7);
  --sh-3: 0 34px 90px -24px rgba(79, 91, 255, .45), 0 10px 30px -10px rgba(0, 0, 0, .6);
  --glow: 0 18px 60px -12px rgba(124, 137, 255, .65);
}

/* ---------- 1c. TOKENY niezależne od motywu ---------- */
:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-xs: .8125rem;                                  /* 13 */
  --fs-sm: .9375rem;                                  /* 15 */
  --fs-base: 1rem;                                    /* 16 */
  --fs-read: 1.0625rem;                               /* 17 – artykuły */
  --fs-md: 1.125rem;                                  /* 18 */
  --fs-lg: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);/* lead 18→22 */
  --fs-h3: clamp(1.125rem, 1.06rem + .3vw, 1.3125rem);/* 18→21 */
  --fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);    /* 28→40 */
  --fs-h1: clamp(2.125rem, 1.45rem + 2.9vw, 3.75rem); /* 34→60 */
  --fs-display: clamp(3rem, 1.9rem + 4.8vw, 5.5rem);  /* 48→88 */

  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-black: 800;
  --lh-tight: 1.06; --lh-snug: 1.25; --lh-base: 1.6; --lh-read: 1.75;
  --tracking-tight: -.028em;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section: clamp(56px, 2.5rem + 5vw, 112px);
  --gutter: 16px;

  --r-xs: 6px; --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  --container: 1180px;
  --read: 68ch;
  --header-h: 68px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: 160ms; --t-base: 260ms; --t-slow: 600ms;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --gutter: 32px; --header-h: 72px; } }

/* ---------- 2. BAZA ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); interpolate-size: allow-keywords; }
body, [data-theme] {
  margin: 0; background: var(--bg); color: var(--ink);
  font: var(--fw-regular) var(--fs-base)/var(--lh-base) var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body { overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: var(--lh-snug); font-weight: var(--fw-bold); letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: var(--fw-black); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--fs-h2); line-height: 1.12; font-weight: var(--fw-black); letter-spacing: -.022em; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: var(--fw-semibold); }
small { font-size: var(--fs-xs); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Kwoty – bohater strony */
.num, .pole__val, .calc, .price__amount, .tbl .num, .rates b {
  font-family: var(--mono); font-variant-numeric: tabular-nums lining-nums slashed-zero; white-space: nowrap; letter-spacing: -.01em;
}
.gain { color: var(--ok); }
.loss { color: var(--bad); }

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: var(--fs-md); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s-3);
  font: var(--fw-bold) var(--fs-xs)/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-cta); }
.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); }

/* ---------- 4. PRZYCISKI ---------- */
.btn {
  --_bg: var(--surface); --_fg: var(--ink); --_bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  border: 1px solid var(--_bd); background: var(--_bg); color: var(--_fg);
  font: var(--fw-semibold) var(--fs-base)/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), box-shadow var(--t-base) var(--ease-out), border-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; border-color: var(--ink-2); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { --_bg: var(--btn); --_fg: var(--btn-ink); --_bd: transparent; box-shadow: var(--glow); }
.btn--primary:hover { --_bg: var(--btn-hover); border-color: transparent; }
.btn--light { --_bg: #FFFFFF; --_fg: #0B0D1F; --_bd: transparent; }
.btn--light:hover { border-color: transparent; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: var(--fs-md); }
@media (hover: hover) { .btn--primary:hover { transform: translateY(-1px); } }

/* ---------- 5. TOPBAR ---------- */
.topbar {
  position: relative; background: var(--topbar-bg); color: #E9EBFA;
  font-size: var(--fs-xs); line-height: 1.35; text-align: center;
  padding: 10px var(--gutter); display: flex; align-items: center; justify-content: center; gap: 10px;
}
.topbar::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: #3DDC97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .18);
  animation: kp-breathe 2.4s ease-in-out infinite;
}
.topbar::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--grad); opacity: .7; }
.topbar strong { color: #FFFFFF; }
.topbar a { color: #B9C0FF; }
@media (min-width: 640px) { .topbar { font-size: var(--fs-sm); } }

/* ---------- 6. HEADER + MENU ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: var(--fw-black); font-size: 1.125rem; letter-spacing: -.02em; min-height: 48px; }
.logo:hover { text-decoration: none; }
.logo__mark {
  position: relative; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font: var(--fw-bold) 15px/1 var(--mono); letter-spacing: -.04em;
}
.logo__mark::after {
  content: ""; position: absolute; right: -3px; top: -3px; width: 11px; height: 11px; border-radius: 50%;
  background: #22C27E; box-shadow: 0 0 0 2.5px var(--bg);
}
.nav { display: none; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: var(--fw-medium); font-size: var(--fs-sm); padding: 10px 14px; border-radius: var(--r-pill); transition: background-color var(--t-fast), color var(--t-fast); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav .btn { margin-left: 8px; min-height: 44px; }

.mnav { position: static; }
.mnav > summary {
  list-style: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface);
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary::before {
  content: ""; width: 18px; height: 12px;
  background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat;
  color: var(--ink); transition: transform var(--t-base) var(--ease-out);
}
.mnav[open] > summary::before {
  height: 18px;
  background: linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
  transform: rotate(45deg);
}
.mnav__panel, .mnav > nav, .mnav > ul {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2);
  padding: 8px var(--gutter) 20px; margin: 0; list-style: none;
  animation: kp-drop .24s var(--ease-out);
}
.mnav a:not(.btn) { display: flex; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; font-size: var(--fs-md); font-weight: var(--fw-semibold); border-bottom: 1px solid var(--line); }
.mnav .btn { width: 100%; margin-top: 16px; }
@media (min-width: 960px) { .nav { display: flex; } .mnav { display: none; } }

/* Przełącznik motywu jasny/ciemny */
.theme-toggle {
  position: relative; flex: none; width: 48px; height: 48px; margin-left: auto; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink);
  transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { border-color: var(--line-strong); background: var(--surface-2); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle .ico { grid-area: 1 / 1; width: 22px; height: 22px; transition: transform .45s var(--ease-spring), opacity .25s var(--ease-out); }
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
.theme-toggle__moon { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: none; color: #FFC266; }
[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.4); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { opacity: 1; transform: none; color: #FFC266; }
  :root:not([data-theme="light"]) .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.4); }
}
@media (min-width: 960px) { .theme-toggle { margin-left: 0; width: 44px; height: 44px; border-radius: 50%; } .nav { margin-left: auto; } }

/* ---------- 7. HERO ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: 40px 56px; }
.hero::before {                                   /* aurora */
  content: ""; position: absolute; z-index: -1; inset: -30% -20% auto auto; width: 120%; height: 130%;
  background:
    radial-gradient(40% 45% at 70% 30%, var(--aurora-1), transparent 70%),
    radial-gradient(35% 40% at 85% 60%, var(--aurora-2), transparent 70%),
    radial-gradient(30% 35% at 55% 70%, var(--aurora-3), transparent 70%);
  filter: blur(10px);
  animation: kp-aurora 24s var(--ease-io) infinite alternate;
  will-change: transform;
}
.hero .container { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 20px; max-width: 18ch; }
.hero h1 .grad-text, .grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 36ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.hero__note .ico { width: 18px; height: 18px; color: var(--ok); }
.hero__visual { position: relative; display: grid; gap: 14px; justify-items: start; }
@media (min-width: 640px) { .hero__cta .btn { flex: 0 0 auto; } }
@media (min-width: 960px) {
  .hero { padding-block: 72px 96px; }
  .hero .container { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero__visual { justify-items: stretch; }
  .hero__visual .xfile { position: absolute; z-index: 2; left: -44px; top: -26px; }
}

/* Plakietka „Działa z wyciągami z Revoluta” */
.badge-rev {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding: 6px 14px 6px 6px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink);
}
.badge-rev__ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cta); color: #FFFFFF; }
.badge-rev__ico .ico { width: 16px; height: 16px; stroke-width: 2; }
.badge-rev em { font-style: normal; color: var(--muted); font-weight: var(--fw-medium); }

/* Ikona pliku crypto-account-statement.xlsx */
.xfile {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-2);
  max-width: 100%;
}
.xfile__doc {
  position: relative; flex: none; width: 38px; height: 46px; border-radius: 6px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 7px, color-mix(in srgb, var(--accent) 22%, transparent) 7px 8px) 6px 14px / 22px 26px no-repeat,
    linear-gradient(to right, transparent 10px, color-mix(in srgb, var(--accent) 22%, transparent) 10px 11px, transparent 11px) 6px 14px / 22px 26px no-repeat,
    var(--surface-2);
  border: 1.5px solid var(--line-strong);
  clip-path: polygon(0 0, 68% 0, 100% 24%, 100% 100%, 0 100%);
}
.xfile__doc::before { content: ""; position: absolute; right: -1px; top: -1px; width: 34%; height: 26%; background: var(--line-strong); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.xfile__ext {
  position: absolute; left: -6px; bottom: 6px; padding: 2px 5px; border-radius: 4px;
  background: var(--ok); color: #FFFFFF; font: var(--fw-bold) 9px/1.1 var(--mono); letter-spacing: .04em;
}
[data-theme="dark"] .xfile__ext { color: #04140C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .xfile__ext { color: #04140C; } }
.xfile__meta { display: grid; gap: 2px; min-width: 0; }
.xfile__name { font: var(--fw-semibold) 13px/1.3 var(--mono); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xfile__sub { font-size: 12px; color: var(--muted); }
.xfile--lg { padding: 16px 20px 16px 16px; }

/* ---------- 8. DRUK PIT (motyw rozpoznawczy) ---------- */
.druk {
  position: relative; width: 100%; max-width: 560px;
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); overflow: hidden;
}
.druk__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 16px 18px 14px; border-bottom: 1px solid var(--paper-line);
  background:
    repeating-linear-gradient(90deg, var(--paper-line) 0 6px, transparent 6px 10px) left bottom / 100% 1px no-repeat,
    var(--surface-2);
}
.druk__form { font: var(--fw-black) 22px/1 var(--mono); letter-spacing: -.03em; color: var(--ink); }
.druk__form small { font-size: 11px; font-weight: var(--fw-bold); color: var(--muted); margin-left: 4px; }
.druk__part { font-size: 11px; line-height: 1.3; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: right; }
.druk__body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.druk__sec { grid-column: 1 / -1; margin: 6px 2px 0; font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.druk__foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px 14px; font-size: 11px; color: var(--muted); border-top: 1px dashed var(--paper-line); }

.pole {
  position: relative; min-width: 0; padding: 24px 12px 10px;
  background: var(--field); border: 1px solid var(--paper-line); border-radius: 10px;
}
.pole--wide { grid-column: 1 / -1; }
.pole__nr {
  position: absolute; left: -1px; top: -1px; min-width: 28px; padding: 3px 7px; text-align: center;
  background: var(--field-nr); border-radius: 10px 0 8px 0;
  font: var(--fw-bold) 11px/1 var(--mono); color: var(--ink-2);
}
.pole__label { display: block; font-size: 12px; line-height: 1.3; color: var(--muted); margin-bottom: 4px; }
.pole__val { display: block; text-align: right; font-size: clamp(15px, 3.6vw, 19px); font-weight: var(--fw-bold); color: var(--ink); }
.pole__val small { font-size: .7em; font-weight: var(--fw-medium); color: var(--muted); margin-left: 2px; }
.pole--key { background: color-mix(in srgb, var(--accent) 9%, var(--field)); border-color: color-mix(in srgb, var(--accent) 35%, var(--paper-line)); }
.pole--key .pole__nr { background: var(--accent); color: #FFFFFF; }
.pole--key .pole__val { color: var(--accent-text); font-size: clamp(18px, 4.6vw, 24px); }
.pole--ok .pole__val { color: var(--ok); }
.pole--empty .pole__val { color: var(--muted); font-weight: var(--fw-medium); }

.stamp {
  position: absolute; right: 16px; bottom: 10px; z-index: 3;
  display: inline-grid; justify-items: center; gap: 2px; padding: 8px 14px 7px;
  color: var(--ok); border: 3px double currentColor; border-radius: 12px;
  background: color-mix(in srgb, var(--ok-soft) 85%, transparent);
  font: var(--fw-black) 15px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(-8deg);
  box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--ok) 60%, transparent);
}
.stamp small { font: var(--fw-bold) 10px/1.2 var(--mono); letter-spacing: .02em; text-transform: none; opacity: .9; }
@media (min-width: 640px) { .druk__body { gap: 10px; padding: 18px; } .stamp { right: 22px; font-size: 17px; } }

/* sekwencja wejścia druku (CSS, jednorazowo) */
.hero .druk { animation: kp-rise .6s var(--ease-out) both; }
.hero .druk .pole { animation: kp-field .42s var(--ease-out) both; }
.hero .druk .pole:nth-of-type(1) { animation-delay: .30s; }
.hero .druk .pole:nth-of-type(2) { animation-delay: .46s; }
.hero .druk .pole:nth-of-type(3) { animation-delay: .62s; }
.hero .druk .pole:nth-of-type(4) { animation-delay: .78s; }
.hero .druk .pole:nth-of-type(5) { animation-delay: .94s; }
.hero .druk .pole:nth-of-type(6) { animation-delay: 1.10s; }
.hero .druk .pole:nth-of-type(7) { animation-delay: 1.26s; }
.hero .druk .pole::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  transform: translateX(-100%); opacity: 0; animation: kp-sweep .9s var(--ease-out) both; animation-delay: inherit;
}
.hero .stamp { animation: kp-stamp .52s var(--ease-spring) 2.0s both; }

/* ---------- 9. PASEK KURSÓW (marquee) ---------- */
.rates { border-block: 1px solid var(--line); background: var(--bg-soft); display: flex; align-items: center; min-height: 48px; overflow: hidden; }
.rates__label {
  flex: none; align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 0 14px 0 var(--gutter);
  font-size: 12px; font-weight: var(--fw-bold); color: var(--muted); background: var(--bg-soft); border-right: 1px solid var(--line); position: relative; z-index: 1;
}
.rates__label span { display: none; }
.rates__viewport { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
.rates__track { display: flex; width: max-content; animation: kp-marquee 48s linear infinite; }
.rates__set { display: flex; gap: 28px; padding-right: 28px; margin: 0; list-style: none; }
.rates__set li { display: inline-flex; gap: 8px; align-items: baseline; font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; }
.rates__set b { color: var(--ink); font-weight: var(--fw-semibold); }
.rates:hover .rates__track, .rates:focus-within .rates__track { animation-play-state: paused; }
@media (min-width: 640px) { .rates__label span { display: inline; } }

/* ---------- 10. PASEK ZAUFANIA ---------- */
.trust { padding-block: 28px; border-bottom: 1px solid var(--line); }
.trust ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.trust li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-sm); line-height: 1.35; color: var(--ink-2); }
.trust li strong { display: block; color: var(--ink); }
.trust__ico, .trust li > .ico { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
@media (min-width: 960px) { .trust ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

/* ---------- 11. KROKI 01-02-03 ---------- */
.steps { position: relative; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 31px; top: 40px; bottom: 40px; width: 2px; border-radius: 2px;
  background: var(--grad); transform-origin: top;
}
.step {
  position: relative; padding: 22px 22px 22px 78px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.step__nr, .step > .num:first-child {
  position: absolute; left: 14px; top: 18px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 12px; background: var(--grad-cta); color: #FFFFFF;
  font: var(--fw-black) 14px/1 var(--mono); box-shadow: 0 0 0 6px var(--bg);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.step .xfile { margin-top: 14px; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .steps::before { left: 12%; right: 12%; top: 46px; bottom: auto; width: auto; height: 2px; transform-origin: left; }
  .step { padding: 92px 28px 28px; text-align: left; }
  .step__nr, .step > .num:first-child {
    left: 28px; top: 20px; width: auto; height: auto; padding: 0; background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-size: 56px; letter-spacing: -.05em; box-shadow: none; border-radius: 0;
  }
  .steps::after { content: none; }
}

/* ---------- 12. FUNKCJE ---------- */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: var(--s-7); }
.features > * {
  padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
}
.features h3 { margin: 16px 0 6px; font-size: var(--fs-md); }
.features p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.features .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 13. TABELE ---------- */
.tbl-wrap {
  position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  background-image:
    linear-gradient(to right, var(--surface), var(--surface)), linear-gradient(to right, var(--surface), var(--surface)),
    linear-gradient(to right, rgba(11,13,31,.10), transparent), linear-gradient(to left, rgba(11,13,31,.10), transparent);
  background-position: left center, right center, left center, right center;
  background-size: 24px 100%, 24px 100%, 12px 100%, 12px 100%;
  background-repeat: no-repeat; background-attachment: local, local, scroll, scroll;
}
.tbl-wrap:focus-visible { outline-offset: 2px; }
.tbl-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0 0 10px; font-size: var(--fs-sm); color: var(--muted); }
.tbl { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); }
.tbl caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: var(--fs-xs); color: var(--muted); }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.tbl thead th {
  border-top: 0; background: var(--surface-2); color: var(--muted);
  font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.tbl thead th:first-child { border-top-left-radius: calc(var(--r-md) - 1px); }
.tbl thead th:last-child { border-top-right-radius: calc(var(--r-md) - 1px); }
.tbl tbody th { font-weight: var(--fw-semibold); }
.tbl .num { text-align: right; }
.tbl tbody tr { transition: background-color var(--t-fast); }
.tbl tbody tr:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.tbl tfoot td, .tbl tfoot th { font-weight: var(--fw-bold); background: var(--surface-2); }
.tbl .tag { display: inline-block; padding: 2px 8px; border-radius: var(--r-pill); font-size: 12px; font-weight: var(--fw-semibold); background: var(--surface-2); color: var(--ink-2); }
.tbl .tag--sell { background: var(--accent-soft); color: var(--accent-text); }
.tbl .yes, .tbl .no { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-semibold); }
.tbl .yes { color: var(--ok); }
.tbl .no { color: var(--bad); }
.tbl .yes::before { content: "✓"; } .tbl .no::before { content: "✕"; }
.tbl tr.is-us > * { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-top-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.tbl tr.is-us > :first-child { font-weight: var(--fw-black); color: var(--accent-text); }
.tbl tr.is-us + tr > * { border-top-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }

/* ---------- 14. KARTY ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base);
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.card__law { font: var(--fw-bold) 12px/1.2 var(--mono); color: var(--accent-text); letter-spacing: .02em; }
.card > a:last-child:not(.btn) { margin-top: auto; padding-top: 8px; font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.card--link { color: inherit; text-decoration: none; padding-bottom: 56px; }
.card--link:hover { text-decoration: none; }
.card--link::after {
  content: "→"; position: absolute; left: 24px; bottom: 20px; font-weight: var(--fw-bold); color: var(--accent-text);
  transition: transform var(--t-base) var(--ease-out);
}
.card__meta { font-size: var(--fs-xs); color: var(--muted); font-weight: var(--fw-semibold); }
.card__thumb { height: 120px; margin: -24px -24px 8px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--grad-soft); position: relative; overflow: hidden; }
.card__thumb::after { content: attr(data-nr); position: absolute; right: 16px; bottom: 6px; font: var(--fw-black) 64px/1 var(--mono); letter-spacing: -.05em; color: color-mix(in srgb, var(--accent) 22%, transparent); }
@media (hover: hover) {
  .card:hover, .features > *:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
  .features > * { transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base); }
  .card--link:hover::after { transform: translateX(6px); }
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* ---------- 15. CENNIK ---------- */
.prices { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; padding-top: 14px; }
.price {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base);
}
.price__name { font-size: var(--fs-md); font-weight: var(--fw-bold); margin: 0; }
.price__qty { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 8px; }
.price__amount { font-size: clamp(2.5rem, 2rem + 1.6vw, 3rem); line-height: 1; font-weight: var(--fw-black); letter-spacing: -.04em; color: var(--ink); }
.price__amount small { font-size: .42em; font-weight: var(--fw-bold); letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.price__unit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--muted); margin: 6px 0 14px; }
.price__save { display: inline-flex; padding: 3px 9px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok); font: var(--fw-bold) 12px/1.3 var(--mono); }
.price ul { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.price li { position: relative; padding-left: 26px; }
.price li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-2px);
}
.price .btn { margin-top: auto; width: 100%; }
.price__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px; border-radius: var(--r-pill); background: var(--grad-cta); color: #FFFFFF;
  font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .02em; white-space: nowrap; box-shadow: var(--glow);
}
.price--featured { z-index: 0; border: 2px solid transparent; background: none; box-shadow: var(--sh-3); }
.price--featured::after {           /* gradientowa obwódka + tło karty */
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
}
.price--featured::before {          /* świecąca poświata */
  content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit;
  background: var(--grad); filter: blur(22px); opacity: .28;
  animation: kp-glow 3.6s ease-in-out infinite alternate;
}
.price--featured:hover { border-color: transparent !important; }
@media (hover: hover) { .price:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); } .price--featured:hover { box-shadow: var(--sh-3); } }
@media (min-width: 640px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .prices { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .price--featured { transform: translateY(-10px); } .price--featured:hover { transform: translateY(-14px); } }

.pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 28px 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.pay li { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-weight: var(--fw-semibold); color: var(--ink-2); }
.pay li:first-child { border: 0; background: none; padding-inline: 0 4px; color: var(--muted); font-weight: var(--fw-medium); }

.infobox { padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.infobox h2 { font-size: var(--fs-h3); margin-bottom: 14px; }
.infobox ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.infobox--grad { background: var(--grad-soft); border-color: transparent; }
.infoboxes { display: grid; gap: 16px; }
@media (min-width: 960px) { .infoboxes { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---------- 16. BLOK ZAPISÓW ---------- */
.signup {
  --ink: #F3F4FB; --ink-2: #C9CDE6; --muted: #A9AECB; --line: rgba(255,255,255,.16); --accent-text: #B4BCFF;
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--deep); color: var(--ink); border-radius: var(--r-xl);
  padding: 36px 22px; display: grid; gap: 28px;
  border: 1px solid rgba(255,255,255,.08);
}
.signup::before {
  content: ""; position: absolute; z-index: -1; inset: -40%;
  background:
    radial-gradient(30% 35% at 20% 25%, rgba(79,91,255,.55), transparent 70%),
    radial-gradient(28% 30% at 80% 30%, rgba(139,77,255,.45), transparent 70%),
    radial-gradient(26% 30% at 60% 85%, rgba(255,95,174,.30), transparent 70%);
  animation: kp-aurora 26s var(--ease-io) infinite alternate;
}
.signup::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(11,13,31,0) 0%, rgba(11,13,31,.35) 100%); }
.signup h2 { color: #FFFFFF; margin-bottom: 10px; }
.signup p { color: var(--ink-2); }
.signup__date {
  display: block; margin-bottom: 12px;
  font: var(--fw-black) var(--fs-display)/.95 var(--mono); letter-spacing: -.06em;
  background: linear-gradient(90deg, #A9B1FF 0%, #C9A9FF 55%, #FFA3CF 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.signup__perk { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(61,220,151,.14); color: #7EF0BC; font-weight: var(--fw-bold); font-size: var(--fs-sm); }
@media (min-width: 960px) { .signup { grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 56px; align-items: center; } }
[data-theme="dark"] .signup { box-shadow: 0 0 0 1px rgba(124,137,255,.25), 0 40px 120px -40px rgba(79,91,255,.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .signup { box-shadow: 0 0 0 1px rgba(124,137,255,.25), 0 40px 120px -40px rgba(79,91,255,.6); } }

.waitlist { display: grid; gap: 14px; }
.waitlist label:not(.check) { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink); }
.waitlist__row { display: grid; gap: 10px; }
.waitlist input[type="email"] {
  width: 100%; min-height: 54px; padding: 0 18px; border-radius: 16px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); color: #FFFFFF;
  font: var(--fw-medium) var(--fs-md)/1 var(--font);
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.waitlist input[type="email"]::placeholder { color: rgba(255,255,255,.55); }
.waitlist input[type="email"]:hover { border-color: rgba(255,255,255,.38); }
.waitlist input[type="email"]:focus { outline: none; border-color: #8C96FF; background: rgba(255,255,255,.10); box-shadow: 0 0 0 4px rgba(124,137,255,.35); }
.waitlist input[aria-invalid="true"] { border-color: #FF8A9A; box-shadow: 0 0 0 4px rgba(255,107,127,.22); }
.waitlist .btn { min-height: 54px; }
@media (min-width: 640px) { .waitlist__row { grid-template-columns: 1fr auto; } }

.check { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding-block: 4px; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px;
  border: 2px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center;
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.signup .check input { border-color: rgba(255,255,255,.45); }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform var(--t-fast) var(--ease-spring); }
.check input:checked { background: var(--btn); border-color: var(--btn); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:active { transform: scale(.9); }
.check input:focus-visible { outline: 3px solid #8C96FF; outline-offset: 2px; }
.check a { color: inherit; }

.rodo { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 62ch; }
.rodo a { color: var(--ink-2); }

.waitlist__err {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255,107,127,.12); border: 1px solid rgba(255,107,127,.45); color: #FFC2CB;
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  animation: kp-drop .28s var(--ease-out);
}
.waitlist__err::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #FF6B7F; color: #1A0710; font: var(--fw-black) 13px/1 var(--font); margin-top: 1px; }
.waitlist__err:empty { display: none; }

/* ---------- 17. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 4px; font-size: var(--fs-md); font-weight: var(--fw-semibold); line-height: 1.35;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(currentColor 0 0) center / 12px 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 12px no-repeat,
    var(--surface-2);
  color: var(--ink); transition: transform var(--t-base) var(--ease-out), background-color var(--t-fast);
}
.faq summary:hover { color: var(--accent-text); }
.faq details[open] > summary::after { transform: rotate(135deg); }
.faq details > :not(summary) { margin: 0; padding: 0 48px 20px 4px; color: var(--ink-2); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .32s var(--ease-out), content-visibility .32s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details[open] > :not(summary) { animation: kp-fade-down .32s var(--ease-out); }

/* ---------- 18. DISCLAIMER + STOPKA ---------- */
.disclaimer { padding-block: 32px; border-top: 1px solid var(--line); font-size: var(--fs-xs); line-height: 1.6; color: var(--muted); }
.disclaimer p { max-width: 96ch; margin: 0; }

.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 48px 0; font-size: var(--fs-sm); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { color: var(--muted); max-width: 34ch; margin-top: 10px; }
.footer h2, .footer h3, .footer h4 { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer ul a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-2); text-decoration: none; }
.footer ul a:hover { color: var(--ink); text-decoration: underline; }
.footer__legal { margin-top: 40px; padding-block: 20px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.55; color: var(--muted); }
@media (min-width: 960px) {
  .footer__cols { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
  .footer__legal { flex-direction: row; justify-content: space-between; gap: 32px; }
}

/* ---------- 19. ARTYKUŁ ---------- */
.crumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

.article-head { padding-block: 40px 32px; background: var(--grad-soft); border-bottom: 1px solid var(--line); }
.article-head h1 { max-width: 22ch; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); }
.article-head .lead { max-width: 60ch; margin-bottom: 24px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--muted); flex-wrap: wrap; }
.byline__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cta); color: #FFFFFF; font-weight: var(--fw-bold); flex: none; }
.byline__who { display: grid; line-height: 1.35; }
.byline__who strong { color: var(--ink); }
.byline__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.byline__meta span + span::before { content: "·"; margin-right: 14px; color: var(--line-strong); }

.article { display: grid; gap: 32px; padding-block: 40px var(--section); }
.toc { font-size: var(--fs-sm); }
.toc details, .toc > div { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 4px 16px; }
.toc summary { min-height: 48px; display: flex; align-items: center; font-weight: var(--fw-bold); cursor: pointer; }
.toc__title { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: var(--fw-bold) 12px/1.6 var(--mono); color: var(--muted); }
.toc a:hover { background: var(--surface-2); color: var(--ink); }
.toc a[aria-current="true"] { background: var(--accent-soft); color: var(--accent-text); font-weight: var(--fw-semibold); }
.toc a[aria-current="true"]::before { color: var(--accent-text); }

.prose { min-width: 0; max-width: var(--read); font-size: var(--fs-read); line-height: var(--lh-read); }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-block: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); margin: 2.2em 0 .5em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); margin: 1.8em 0 .4em; }
.prose h2 + *, .prose h3 + * { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent-text); font-weight: var(--fw-bold); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line-strong); color: var(--ink-2); font-style: italic; }
.prose .tbl-wrap { margin-block: 1.6em; font-size: var(--fs-sm); line-height: 1.5; }
.prose .druk { margin-block: 1.6em; max-width: 520px; box-shadow: var(--sh-2); }

.answer { padding: 22px 24px; border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); font-size: var(--fs-base); line-height: 1.65; }
.answer > :first-child { margin-top: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.answer > :first-child::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-cta); }
.answer ul { margin: 10px 0 0; padding-left: 1.2em; }
.answer p:last-child, .answer ul:last-child { margin-bottom: 0; }

.note { position: relative; padding: 16px 18px 16px 54px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--ink); font-size: var(--fs-base); line-height: 1.6; }
.note::before { content: "i"; position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #FFFFFF; font: var(--fw-black) 13px/1 var(--mono); }
.note > strong:first-child { display: block; margin-bottom: 2px; }
.note--warn { background: var(--warn-soft); }
.note--warn > strong:first-child { color: var(--warn); }
.note--warn::before { content: "!"; background: var(--warn); color: var(--warn-soft); }
.note p:last-child { margin-bottom: 0; }

.calc {
  display: block; margin: 0; padding: 18px 20px; overflow-x: auto; white-space: pre;
  background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--r-md);
  font-size: 14.5px; line-height: 1.75; color: var(--ink-2); tab-size: 4;
}
.calc strong, .calc b { color: var(--ink); font-weight: var(--fw-bold); }
.calc .gain { color: var(--ok); font-weight: var(--fw-bold); }
.calc .loss { color: var(--bad); font-weight: var(--fw-bold); }
.calc__total { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-strong); }

.cta-box {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 2.4em !important;
  padding: 32px 24px; border-radius: var(--r-xl); background: var(--grad-cta); color: #FFFFFF;
}
.cta-box::before { content: ""; position: absolute; z-index: -1; inset: -50%; background: radial-gradient(30% 35% at 80% 20%, rgba(255,95,174,.55), transparent 70%), radial-gradient(30% 30% at 15% 90%, rgba(120,220,255,.35), transparent 70%); animation: kp-aurora 22s var(--ease-io) infinite alternate; }
.cta-box h2, .cta-box h3 { color: #FFFFFF; margin: 0 0 8px !important; font-size: var(--fs-h3); }
.cta-box p { color: rgba(255,255,255,.88); margin: 0 0 20px; }
.cta-box .btn { --_bg: #FFFFFF; --_fg: #0B0D1F; --_bd: transparent; }

.related { padding-block: var(--section); background: var(--bg-soft); border-top: 1px solid var(--line); }

@media (min-width: 1080px) {
  .article { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); }
  .toc details, .toc > div { border: 0; background: none; padding: 0; }
  .toc summary { pointer-events: none; min-height: 0; margin-bottom: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .toc summary::-webkit-details-marker { display: none; }
  .cta-box { padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
  .cta-box p { margin: 0; }
}

/* ---------- 20. STRONY TEKSTOWE / PRAWNE ---------- */
.page-head { padding-block: 48px 36px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 12px; }
.page-head p { color: var(--muted); margin: 0; }
.page { padding-block: 40px var(--section); }
.legal { max-width: 72ch; font-size: var(--fs-base); line-height: 1.7; counter-reset: par; }
.legal h2 {
  counter-increment: par; display: flex; align-items: baseline; gap: 12px;
  font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: -.01em; margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal h2::before { content: "§ " counter(par); flex: none; font: var(--fw-bold) .85em/1 var(--mono); color: var(--accent-text); }
.legal ol { padding-left: 1.6em; margin: 0 0 1em; }
.legal ol ol { list-style: lower-alpha; margin: .4em 0; }
.legal li { margin-top: .45em; }
.legal li::marker { font-family: var(--mono); color: var(--muted); }
.legal .tbl-wrap { margin-block: 1.4em; }

/* ---------- 21. STANY SYSTEMOWE ---------- */
.state { padding-block: 64px; }
.state__card { max-width: 560px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 14px; }
.state__ico { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.state__ico .ico { width: 34px; height: 34px; stroke-width: 2.2; }
.state__ico--warn { background: var(--warn-soft); color: var(--warn); }
.state__ico--info { background: var(--accent-soft); color: var(--accent-text); }
.state h1 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); margin: 0; }
.state p { color: var(--ink-2); margin: 0; max-width: 46ch; }
.state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.state .druk { max-width: 380px; text-align: left; margin-block: 8px; }
.state .stamp--void { color: var(--bad); background: color-mix(in srgb, var(--bad-soft) 85%, transparent); box-shadow: none; bottom: 18px; }

/* ---------- 22. RUCH: wejście przy przewijaniu ---------- */
/* animacja (fill: backwards) + właściwość `translate` – nie nadpisuje transform z :hover ani wyróżnionego pakietu */
.js .reveal:not(.is-in) { opacity: 0; }
.js .reveal.is-in { animation: kp-reveal var(--t-slow) var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

/* linia kroków – rysowanie */
.js .steps::before { transform: scaleY(0); transition: transform 1.2s var(--ease-io) .15s; }
.js .steps.is-in::before { transform: none; }
@media (min-width: 960px) { .js .steps::before { transform: scaleX(0); } .js .steps.is-in::before { transform: none; } }
@supports (animation-timeline: view()) {
  .steps::before { animation: kp-draw-y linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
  .js .steps::before { transition: none; }
  @media (min-width: 960px) { .steps::before { animation-name: kp-draw-x; } }
}

/* ---------- 23. KEYFRAMES ---------- */
@keyframes kp-breathe { 0%, 100% { transform: scale(.8); opacity: .65; } 50% { transform: scale(1); opacity: 1; } }
@keyframes kp-aurora {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-6%, 4%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(4%, -3%, 0) rotate(-6deg) scale(1.02); }
}
@keyframes kp-rise { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes kp-field { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes kp-sweep { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 0; transform: translateX(100%); } }
@keyframes kp-stamp {
  0%   { opacity: 0; transform: rotate(-16deg) scale(1.9); }
  60%  { opacity: 1; transform: rotate(-7deg) scale(.92); }
  100% { opacity: 1; transform: rotate(-8deg) scale(1); }
}
@keyframes kp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kp-glow { from { opacity: .18; transform: scale(.98); } to { opacity: .42; transform: scale(1.02); } }
@keyframes kp-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes kp-fade-down { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes kp-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kp-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes kp-reveal { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: none; } }

/* ---------- 24. PREFERS-REDUCED-MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .hero::before, .signup::before, .cta-box::before, .price--featured::before, .topbar::before { animation: none !important; }
  .rates__track { animation: none !important; }
  .rates__viewport { overflow-x: auto; }
  .rates__set[aria-hidden="true"] { display: none; }
  .js .reveal:not(.is-in) { opacity: 1; }
  .js .reveal.is-in { animation: none !important; }
  .js .steps::before, .steps::before { transform: none !important; animation: none !important; }
}

/* ---------- 25. DRUK ---------- */
@media print {
  .topbar, .header, .rates, .signup, .cta-box, .footer, .toc { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}

/* ---------- 26. ZGODNOŚĆ z treściami serwisu (dopisane przy wdrożeniu) ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 10px 16px; border-radius: var(--r-pill); background: var(--btn); color: var(--btn-ink); font-weight: var(--fw-semibold); }
.skip:focus { left: 12px; }
.note__t { margin: 0 0 4px !important; font-weight: var(--fw-bold); color: var(--accent-text); }
.note--warn .note__t { color: var(--warn); }
.note > * + * { margin-top: .5em; }
.answer > strong:first-child { display: inline-flex; margin-right: 6px; }
.prose .calc { white-space: pre; }
.prose .druk__body { padding: 14px; }
.legal p { margin: 0 0 1em; }
.todo { background: var(--warn-soft); color: var(--warn); border: 1px dashed currentColor; padding: 0 .3em; border-radius: 4px; }
.signup .todo { background: rgba(255,194,102,.15); color: #FFC266; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.price .tbl-note, .tbl-note { font-size: var(--fs-xs); color: var(--muted); margin: 10px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.section-more { margin-top: var(--s-6); }
.rates__label .ico { width: 16px; height: 16px; color: var(--ok); }

/* ---------- 27. KALKULATOR I WYNIK (tokeny Indigo Pulse) ---------- */
.calc-grid, .result-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1080px) { .calc-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; } .result-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; } }
.calc-side, .result-side { display: grid; gap: 16px; }
.upload-card { display: grid; gap: 18px; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); }
@media (min-width: 640px) { .upload-card { padding: 32px; } }
.dropzone { position: relative; display: grid; justify-items: center; gap: 8px; padding: 32px 20px; text-align: center; cursor: pointer;
  border: 2px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: var(--r-lg); background: var(--grad-soft);
  transition: border-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); }
.dropzone.is-over { transform: scale(1.01); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.dropzone__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-cta); color: #fff; box-shadow: var(--glow); }
.dropzone__title { font-weight: var(--fw-bold); font-size: var(--fs-md); color: var(--ink); }
.dropzone__title .num { font-size: .85em; white-space: normal; word-break: break-all; }
.dropzone__sub { font-size: var(--fs-sm); color: var(--muted); }
.dropzone.has-file .dropzone__sub { color: var(--ok); font-weight: var(--fw-semibold); }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field__label { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink); }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: var(--fw-medium) var(--fs-base)/1 var(--font); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.accept { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.accept .check { font-size: var(--fs-xs); line-height: 1.5; }
.form-err { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--bad-soft); color: var(--bad); border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent); font-weight: var(--fw-semibold); }
.upload-note { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.upload-note .ico { width: 16px; height: 16px; color: var(--ok); }

.stats { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 2px; }
.stats__n { font: var(--fw-black) clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem)/1 var(--mono); letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__l { font-size: var(--fs-sm); color: var(--muted); }
.result-grid { margin-top: 32px; }
.result-druk { position: relative; }
.result-druk .druk { max-width: none; }
.is-locked .pole__val { filter: blur(6px); user-select: none; opacity: .75; }
.lock-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -42%); width: min(92%, 420px); z-index: 4;
  display: grid; justify-items: center; gap: 10px; padding: 26px 22px; text-align: center; border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); box-shadow: var(--sh-3); }
.lock-card h2 { font-size: var(--fs-h3); margin: 0; }
.lock-card p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.lock-card .btn { width: 100%; }
.link-box { width: 100%; min-height: 46px; padding: 0 12px; margin: 4px 0 0; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink-2); font: 500 12px/1 var(--mono); }
.result-side .infobox p { color: var(--ink-2); font-size: var(--fs-sm); }

/* figure.druk: zeruj domyślny margines przeglądarki (40px po bokach) */
figure.druk { margin-inline: 0; }
.result-druk figure.druk, .hero figure.druk { margin-block: 0; }

/* Pola formularza: bez rozciągania wierszy siatki + jednolita wysokość i własna strzałka selecta */
.field { align-content: start; }
.field input, .field select { height: 50px; font-size: var(--fs-base); font-weight: var(--fw-medium); line-height: normal; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 40px; text-overflow: ellipsis; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 18px center, right 13px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--surface); color: var(--ink); }

/* ---------- 28. REBRANDING POLICZKRYPTO (11.11.2026) ---------- */
/* Zapisy: wybór zainteresowań (blok .signup jest zawsze ciemny) */
.interests { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.interests legend { padding: 0; margin-bottom: 8px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink); width: 100%; }
.interests legend span { font-weight: var(--fw-medium); color: var(--muted); }
.chip-check { position: relative; display: inline-flex; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.05); color: var(--ink-2); font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.chip-check span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 2px solid rgba(255,255,255,.5); flex: none;
  background: transparent center / 10px no-repeat; }
.chip-check input:checked + span { background: rgba(124,137,255,.22); border-color: #8C96FF; color: #FFFFFF; }
.chip-check input:checked + span::before { background-color: #7EF0BC; border-color: #7EF0BC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230B0D1F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.chip-check input:focus-visible + span { outline: 3px solid #8C96FF; outline-offset: 2px; }

/* Plakietka „wkrótce” i karty produktów */
.soon { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill); background: var(--warn-soft); color: var(--warn);
  font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.soon-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .soon-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.soon-card { display: grid; gap: 10px; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px dashed var(--line-strong);
  color: var(--ink-2); text-decoration: none; transition: border-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.soon-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.soon-card__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.soon-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.soon-card__top strong { color: var(--ink); font-size: var(--fs-md); }
.soon-card__more { color: var(--accent-text); font-weight: var(--fw-semibold); }
.card--soon .card__meta { color: var(--warn); }
.note--soon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Karta firmy (CEIDG) */
.company { margin: 1rem 0 1.5rem; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.company__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.company__logo { min-height: 0; }
.company__since { padding: 4px 12px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok); font-size: var(--fs-xs); font-weight: var(--fw-bold); }
.company__dl { display: grid; gap: 10px 24px; margin: 0; }
@media (min-width: 640px) { .company__dl { grid-template-columns: 1fr 1fr; } }
.company__dl div { display: grid; gap: 2px; min-width: 0; }
.company__dl dt { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: var(--fw-semibold); }
.company__dl dd { margin: 0; color: var(--ink); font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
.company__verify, .company__brands { margin: 14px 0 0; font-size: var(--fs-sm); color: var(--ink-2); }

/* Autor */
.byline__img { width: 44px; height: 44px; border-radius: 12px; flex: none; display: block; }
.author-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .author-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; } .author-card { position: sticky; top: 96px; } }
.author-card { padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); display: grid; gap: 8px; justify-items: start; }
.author-card__logo { border-radius: 24px; width: 120px; height: 120px; }
.author-card__name { margin: 8px 0 0; font-size: var(--fs-h3); font-weight: var(--fw-black); color: var(--ink); }
.author-card__role { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.author-card__facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.author-card__facts li { display: flex; gap: 10px; align-items: center; }
.author-card__facts .ico { width: 20px; height: 20px; color: var(--accent-text); flex: none; }
.author-card__links { margin: 8px 0 0; font-weight: var(--fw-semibold); }

/* Artykuły: źródła i zastrzeżenie */
.sources { padding-left: 1.25rem; display: grid; gap: 6px; font-size: var(--fs-sm); }
.sources a { overflow-wrap: anywhere; }
.disclaim-inline { display: flex; gap: 10px; align-items: flex-start; margin-top: 2rem; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); color: var(--muted); font-size: var(--fs-xs); line-height: 1.55; }
.disclaim-inline .ico { width: 18px; height: 18px; flex: none; color: var(--accent-text); margin-top: 1px; }
.legal__summary ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.legal .note { margin-bottom: 2rem; }

/* ---------- 29. GRAFIKI CLAUDE DESIGN (logo, maskotka Polek, ilustracje) ---------- */
/* Aliasy kolorów dla SVG inline (pliki czytają --pk-*); przełącznik motywu strony ma pierwszeństwo nad systemem */
:root, [data-theme="light"] { --pk-surface: #FFFFFF; --pk-ink: #0B0D1F; --pk-muted: #5A5F80; --pk-line: #DADDEE; --pk-tint: #EEF0FF;
  --pk-blue: #3B4BFF; --pk-violet: #7A3CFF; --pk-rose: #E9479A; --pk-ok: #0B7A4B; --pk-loss: #C8263B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --pk-surface: #11132C; --pk-ink: #F1F2FA; --pk-muted: #A3A7CC; --pk-line: #2C3060;
  --pk-tint: #1C2050; --pk-blue: #7C89FF; --pk-violet: #A57BFF; --pk-rose: #F06BAF; --pk-ok: #3DDC97; --pk-loss: #FF6B7E; } }
[data-theme="dark"] { --pk-surface: #11132C; --pk-ink: #F1F2FA; --pk-muted: #A3A7CC; --pk-line: #2C3060; --pk-tint: #1C2050;
  --pk-blue: #7C89FF; --pk-violet: #A57BFF; --pk-rose: #F06BAF; --pk-ok: #3DDC97; --pk-loss: #FF6B7E; }
/* SVG mają w <style> fallback na prefers-color-scheme; przy jasnym motywie wymuszonym przełącznikiem nadpisujemy go zmiennymi */
[data-theme="light"] .pk { --bg: var(--pk-surface); --ink: var(--pk-ink); --mute: var(--pk-muted); --line: var(--pk-line); --tint: var(--pk-tint);
  --blue: var(--pk-blue); --vio: var(--pk-violet); --rose: var(--pk-rose); --ok: var(--pk-ok); --loss: var(--pk-loss); }

/* Logo */
.logo .logo__svg { width: 147px; height: 36px; display: block; flex: none; }
.logo--mono { color: var(--ink); }
.footer .logo--mono .logo__svg { width: 115px; height: 28px; }
.company__logo .logo__svg { width: 131px; height: 32px; }

/* Hero: maskotka */
.hero__mascot svg { width: 100%; max-width: 240px; height: auto; display: block; margin-inline: auto; animation: pk-float 6s ease-in-out infinite; }
@media (min-width: 960px) { .hero__mascot { order: 3; justify-self: start; width: 150px; margin: -6px 0 -36px -40px; pointer-events: none; } .hero__mascot svg { max-width: 150px; } }
@media (max-width: 959px) { .hero__visual { justify-items: center; } .hero__mascot { width: 100%; } }

/* Kroki: ilustracja nad numerem */
.step > svg { width: 100%; max-width: 320px; height: auto; aspect-ratio: 320 / 200; display: block; margin: 0 0 14px; }
.step:has(> svg) .step__nr { position: static; margin-bottom: 10px; display: inline-grid; }
@media (min-width: 960px) { .step:has(> svg) { padding-top: 28px; } .step:has(> svg) .step__nr { font-size: 44px; } .step > svg { margin-inline: auto; } }
@media (max-width: 959px) { .step:has(> svg) { padding-left: 22px; } .steps:has(.step > svg)::before { content: none; } }
.step svg .pk-d { stroke-dasharray: 4 5; }
.js .steps:not(.is-in) .step svg .pk-d { stroke-dashoffset: 40; }
.js .steps.is-in .step svg .pk-d { stroke-dashoffset: 40; animation: pk-dash 1.2s .4s ease-out forwards; }

/* Ilustracje sekcji */
.split { display: grid; gap: 24px; align-items: center; margin-bottom: 32px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } .split--soon { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.split__art svg { width: 100%; max-width: 420px; height: auto; display: block; margin-inline: auto; }
.split--soon .soon-grid { grid-template-columns: 1fr; }
.section-art svg { width: 100%; max-width: 320px; height: auto; display: block; margin: 0 auto 32px; }
.features svg, .features img { max-width: 100%; height: auto; }

/* Nagłówki podstron z grafiką */
.page-head__grid { display: grid; gap: 16px; align-items: center; }
@media (min-width: 860px) { .page-head__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; } }
.page-head__art svg { width: 100%; max-width: 300px; height: auto; display: block; margin-inline: auto; }
@media (max-width: 859px) { .page-head__art svg { max-width: 220px; } }

/* Stany: brak wyniku, 404, podziękowanie, kłódka */
.state__art { display: flex; justify-content: center; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.state__art svg { width: 100%; max-width: 320px; height: auto; display: block; }
.state__art svg + svg { max-width: 160px; }
.lock-card > svg { width: 100%; max-width: 180px; height: auto; display: block; margin-inline: auto; }

/* O nas: szeroka oś czasu */
.wide-art { margin: 0 0 48px; overflow-x: auto; border-radius: var(--r-lg); }
.wide-art__inner { min-width: 640px; }
.wide-art svg { width: 100%; height: auto; display: block; }

/* Artykuł: obraz nagłówka (ten sam co OG) */
.article-head__img { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 1200 / 630; margin-top: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-2); }

/* Ozdobnik: kratka druku PIT w tle sekcji „soft” */
.section--soft { position: relative; isolation: isolate; }
.section--soft::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background: url("img/decor/pattern-pit-grid.svg") 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }

@keyframes pk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pk-dash { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero__mascot svg, .step svg .pk-d, .js .steps.is-in .step svg .pk-d { animation: none !important; stroke-dashoffset: 0 !important; }
}

/* ---------- 30. WYNIK: lista transakcji w oknie, darmowy rok ---------- */
.note--ok { background: var(--ok-soft); }
.note--ok::before { content: "✓"; background: var(--ok); color: var(--ok-soft); }
.note--ok > strong:first-child { color: var(--ok); }
.tx-summary { display: grid; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tx-summary h2 { font-size: var(--fs-h3); margin: 0 0 6px; }
.tx-summary p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
@media (min-width: 860px) { .tx-summary { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; } }
html.has-dialog { overflow: hidden; }
.tx-dialog { width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); color: var(--ink); box-shadow: var(--sh-3); overflow: hidden; }
.tx-dialog[open] { display: flex; flex-direction: column; }
.tx-dialog::backdrop { background: rgba(7, 8, 26, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tx-dialog__head, .tx-dialog__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; flex-wrap: wrap; }
.tx-dialog__head { border-bottom: 1px solid var(--line); }
.tx-dialog__head h2 { font-size: var(--fs-h3); margin: 0; }
.tx-dialog__head h2 span { font: var(--fw-semibold) var(--fs-sm)/1 var(--font); color: var(--muted); margin-left: 8px; }
.tx-dialog__close { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.tx-dialog__body { overflow: auto; flex: 1 1 auto; min-height: 0; overscroll-behavior: contain; }
.tx-dialog__body .tbl { margin: 0; border-radius: 0; }
.tbl--sticky thead th { position: sticky; top: 0; z-index: 1; background: var(--surface-2); }
.tx-dialog__body td.mono { white-space: nowrap; font-size: var(--fs-sm); }
.tx-dialog__foot { border-top: 1px solid var(--line); justify-content: flex-end; }
.tx-dialog__foot p { margin: 0 auto 0 0; display: flex; gap: 8px; align-items: center; color: var(--ink-2); font-size: var(--fs-sm); }
.tx-dialog__foot .ico { width: 18px; height: 18px; color: var(--accent-text); flex: none; }
@media (max-width: 640px) { .tx-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; } }

/* Pasek kursów NBP: strzałka zmiany względem poprzedniej tabeli */
.rates__chg { font-style: normal; font-size: .7em; margin-left: 4px; vertical-align: 1px; }
.rates__chg--up { color: var(--ok); }
.rates__chg--down { color: var(--bad); }

