@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/inter-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 800; font-display: swap; src: url(/assets/fonts/inter-pl.woff2) format('woff2'); unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C; }

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #e9e9ee;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #3a3a3e;
  --muted: #636366;
  --line: rgba(0, 0, 0, .1);
  --line-2: rgba(0, 0, 0, .06);
  --tint: #156a3c;
  --tint-hover: #105630;
  --tint-bg: rgba(21, 106, 60, .08);
  --tint-bg-2: rgba(21, 106, 60, .14);
  --btn: #156a3c;
  --btn-hover: #105630;
  --gold: #c9a227; --gold-bg: rgba(201, 162, 39, .16);
  --pos: #156c2c; --pos-bg: #e3f3e7;
  --neg: #c4001a; --neg-bg: #fde7e9;
  --warn: #9c4a00; --warn-bg: #fff0d9;
  --c-base: #8e8e93;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -14px rgba(0, 0, 0, .16);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .04), 0 34px 80px -30px rgba(0, 0, 0, .3);
  --material: rgba(255, 255, 255, .78);
  --r: 18px;
  --r-lg: 26px;
  --r-sm: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
/* Tryb ciemny: z systemu, chyba że wybrano ręcznie (data-theme na <html>, ustawia theme.js). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-2: #0f0f11;
    --bg-3: #1f1f22;
    --card: #161618;
    --ink: #f5f5f7;
    --ink-2: #d1d1d6;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, .13);
    --line-2: rgba(255, 255, 255, .07);
    --tint: #4cc584;
    --tint-hover: #6dd39b;
    --tint-bg: rgba(76, 197, 132, .12);
    --tint-bg-2: rgba(76, 197, 132, .2);
    --btn: #1a7d47;
    --btn-hover: #1b8549;
    --gold: #d9b443; --gold-bg: rgba(217, 180, 67, .16);
    --pos: #30db5b; --pos-bg: rgba(48, 209, 88, .14);
    --neg: #ff7d75; --neg-bg: rgba(255, 69, 58, .15);
    --warn: #ffb340; --warn-bg: rgba(255, 159, 10, .15);
    --c-base: #6e6e73;
    --shadow: 0 0 0 .5px rgba(255, 255, 255, .08), 0 10px 30px -14px rgba(0, 0, 0, .8);
    --shadow-lg: 0 0 0 .5px rgba(255, 255, 255, .1), 0 34px 80px -30px rgba(0, 0, 0, .9);
    --material: rgba(18, 18, 20, .72);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-2: #0f0f11;
  --bg-3: #1f1f22;
  --card: #161618;
  --ink: #f5f5f7;
  --ink-2: #d1d1d6;
  --muted: #a1a1a6;
  --line: rgba(255, 255, 255, .13);
  --line-2: rgba(255, 255, 255, .07);
  --tint: #4cc584;
  --tint-hover: #6dd39b;
  --tint-bg: rgba(76, 197, 132, .12);
  --tint-bg-2: rgba(76, 197, 132, .2);
  --btn: #1a7d47;
  --btn-hover: #1b8549;
  --gold: #d9b443; --gold-bg: rgba(217, 180, 67, .16);
  --pos: #30db5b; --pos-bg: rgba(48, 209, 88, .14);
  --neg: #ff7d75; --neg-bg: rgba(255, 69, 58, .15);
  --warn: #ffb340; --warn-bg: rgba(255, 159, 10, .15);
  --c-base: #6e6e73;
  --shadow: 0 0 0 .5px rgba(255, 255, 255, .08), 0 10px 30px -14px rgba(0, 0, 0, .8);
  --shadow-lg: 0 0 0 .5px rgba(255, 255, 255, .1), 0 34px 80px -30px rgba(0, 0, 0, .9);
  --material: rgba(18, 18, 20, .72);
  color-scheme: dark;
}

.brand .logo.logo-d { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .logo-l { display: none; } :root:not([data-theme="light"]) .brand .logo-d { display: block; } }
:root[data-theme="dark"] .brand .logo-l { display: none; }
:root[data-theme="dark"] .brand .logo-d { display: block; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: 'cv11', 'ss01'; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.022em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--tint); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--tint) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }
.center { text-align: center; }
.kicker { font-size: 14px; font-weight: 600; color: var(--tint); letter-spacing: .01em; margin-bottom: 12px; }
.kicker a { color: inherit; text-decoration: none; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); margin-top: 18px; max-width: 38em; }
.micro { display: block; font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.text-link { color: var(--tint); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link .ic { transition: transform .2s ease; }
.text-link:hover .ic { transform: translateX(3px); }
.empty-note { color: var(--muted); padding: 24px; border-radius: var(--r); background: var(--bg-2); }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--btn); color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(.98); }
.btn.lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn.sm { height: 36px; padding: 0 16px; font-size: 14.5px; }
.btn.ghost { background: var(--tint-bg); color: var(--tint); }
.btn.ghost:hover { background: var(--tint-bg-2); }
.btn:disabled { opacity: .55; cursor: progress; }

/* pasek górny */
.nav { position: sticky; top: 0; z-index: 50; background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: .5px solid transparent; transition: border-color .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand .logo { width: auto; height: 30px; display: block; }
.brand { flex: none; }
.nav-m-cta { display: none; }
@media (max-width: 520px) {
  .nav-row { gap: 12px; }
  .brand .logo { height: 28px; }
  .nav-cta { gap: 4px; }
  .nav-cta > .btn { display: none; }
  .nav-m .nav-m-cta { display: flex; justify-content: center; margin: 4px 0 12px; padding: 14px; border-bottom: 0; color: #fff; }
}
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.mm { position: relative; }
.mm-top { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.mm-top .ic { width: 14px; height: 14px; opacity: .6; transition: transform .2s ease; }
.mm-top:hover, .mm:focus-within > .mm-top, .mm-top[aria-current] { color: var(--ink); background: var(--bg-2); }
.mm-panel { position: absolute; top: calc(100% + 8px); left: -12px; width: 660px; padding: 10px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-lg), 0 0 0 .5px var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; }
.mm-panel::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.mm-panel.narrow { width: 360px; }
.mm:hover .mm-panel, .mm:focus-within .mm-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm:hover .mm-top .ic, .mm:focus-within .mm-top .ic { transform: rotate(180deg); }
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mm-list { display: grid; gap: 2px; }
.mm-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.mm-item:hover { background: var(--bg-2); }
.mm-item b { display: block; font-size: 14.5px; font-weight: 600; }
.mm-item small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mm-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--tint-bg); color: var(--tint); }
.mm-ic .ic { width: 18px; height: 18px; }
.mm-foot { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 4px; margin-top: 8px; padding: 8px 4px 2px; border-top: .5px solid var(--line); }
.mm-foot a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; white-space: nowrap; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.mm-foot a:hover { background: var(--bg-2); color: var(--ink); }
.mm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; }
.mm-cols p { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 6px 8px; text-transform: uppercase; letter-spacing: .04em; }
.mm-cols a { display: block; padding: 9px 8px; min-height: 36px; border-radius: 8px; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.mm-cols a:hover { background: var(--bg-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-login { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav-login:hover { background: var(--bg-2); color: var(--ink); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; place-items: center; }
.nav-burger .ic { width: 22px; height: 22px; }
.search-btn { width: 38px; height: 38px; border-radius: 10px; color: var(--ink-2); display: grid; place-items: center; flex: none; }
.search-btn:hover { background: var(--bg-2); color: var(--ink); }
.search-btn .ic { width: 19px; height: 19px; }
.sx-lock { overflow: hidden; }
dialog.sx { width: min(640px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 96px)); margin: 72px auto auto; padding: 0; border: 0; border-radius: 20px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg), 0 0 0 .5px var(--line); overflow: hidden; }
dialog.sx::backdrop { background: rgba(0, 0, 0, .32); backdrop-filter: blur(3px); }
dialog.sx[open] { animation: sx-in .16s ease; }
@keyframes sx-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.sx-box { display: flex; flex-direction: column; max-height: inherit; }
.sx-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: .5px solid var(--line); }
.sx-in .ic { width: 20px; height: 20px; color: var(--muted); flex: none; }
.sx-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; color: var(--ink); }
.sx-in input::-webkit-search-cancel-button { display: none; }
.sx-x { flex: none; border: 0; background: var(--bg-2); color: var(--muted); font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; cursor: pointer; }
.sx-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.sx-list li a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 2px 10px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.sx-list li[aria-selected="true"] a, .sx-list li a:hover { background: var(--tint-bg); }
.sx-sec { grid-row: 1 / 3; align-self: start; justify-self: start; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--tint); background: var(--tint-bg); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.sx-list li[aria-selected="true"] .sx-sec { background: var(--card); }
.sx-list b { font-size: 15px; font-weight: 600; }
.sx-d { grid-column: 2; font-size: 13.5px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sx-list mark, .sx-results mark { background: var(--gold-bg); color: inherit; border-radius: 3px; padding: 0 1px; }
.sx-label { padding: 8px 12px 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.sx-empty { padding: 22px 14px; font-size: 14.5px; color: var(--muted); text-align: center; }
.sx-foot { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-top: .5px solid var(--line); font-size: 12.5px; color: var(--muted); }
.sx-foot a { margin-left: auto; color: var(--tint); font-weight: 600; text-decoration: none; }
.sx-foot kbd { font: 600 11px var(--font); padding: 1px 6px; margin-right: 3px; border-radius: 5px; background: var(--bg-2); box-shadow: inset 0 -1px 0 var(--line); }
@media (max-width: 640px) { dialog.sx { margin-top: 16px; max-height: calc(100dvh - 32px); } .sx-foot span { display: none; } .sx-list li a, .sx-results a { grid-template-columns: minmax(0, 1fr); } .sx-sec { grid-row: auto; margin-bottom: 2px; } .sx-d, .sx-results a > span:last-child { grid-column: 1; } }
.sx-form { display: flex; gap: 10px; max-width: 720px; margin-bottom: 24px; }
.sx-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--bg-2); font-size: 16.5px; color: var(--ink); }
.sx-count { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.sx-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 860px; }
.sx-results a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 2px 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 .5px var(--line); color: var(--ink); text-decoration: none; }
.sx-results a:hover { box-shadow: 0 0 0 1px var(--tint), var(--shadow); }
.sx-results b { font-size: 16px; }
.sx-results a > span:last-child { grid-column: 2; font-size: 14px; color: var(--muted); }
.theme-btn { width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; flex: none; }
.theme-btn:hover { background: var(--bg-2); color: var(--ink); }
.theme-btn .ic { width: 19px; height: 19px; }
.theme-btn span { display: grid; }
.theme-btn .t-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .t-sun { display: grid; } :root:not([data-theme="light"]) .theme-btn .t-moon { display: none; } }
:root[data-theme="dark"] .theme-btn .t-sun { display: grid; }
:root[data-theme="dark"] .theme-btn .t-moon { display: none; }
.nav-burger .b-open, .nav-burger[aria-expanded="true"] .b-close { display: grid; }
.nav-burger .b-close, .nav-burger[aria-expanded="true"] .b-open { display: none; }
.nav-m { border-top: .5px solid var(--line); padding: 8px 16px 20px; max-height: calc(100dvh - 64px); overflow: auto; background: var(--bg); }
.nav-m p { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 16px 0 4px; }
.nav-m a { display: block; padding: 11px 4px; border-bottom: .5px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 16px; }

/* okruszki */
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }

/* strona główna: nagłówek */
/* Sekcje pod pierwszym ekranem liczą style i układ dopiero przy zbliżeniu (największy koszt wątku głównego na telefonie).
   Wyłączenie .cv-off (site.js, przed skokiem do kotwicy) musi mieć wyższą specyficzność, inaczej kotwice lądują obok. */
main > section:not(:first-child) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
html.cv-off main > section:not(:first-child) { content-visibility: visible; }
.hero { padding: 64px 0 72px; overflow: hidden; background: radial-gradient(70% 60% at 85% 10%, var(--tint-bg), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.038em; max-width: 14ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.ladder { margin: 0; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px; }
.ladder-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: .5px solid var(--line); }
.ladder-product { display: flex; gap: 12px; align-items: center; }
.ladder-product b { display: block; font-size: 15.5px; }
.ladder-product small { font-size: 12.5px; color: var(--muted); }
.thumb { width: 44px; height: 44px; border-radius: 11px; flex: none; background: radial-gradient(circle at 30% 35%, #f2c14e 0 18%, transparent 19%), radial-gradient(circle at 68% 62%, #e2553f 0 16%, transparent 17%), radial-gradient(circle at 70% 28%, #3f7fe2 0 13%, transparent 14%), var(--bg-2); }
.tag { font-size: 12px; font-weight: 500; color: var(--muted); padding: 5px 9px; border-radius: 999px; background: var(--bg-2); white-space: nowrap; }
.rows { list-style: none; margin: 10px 0 0; padding: 0; position: relative; }
.rows li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 12px; font-size: 15.5px; position: relative; transition: transform .7s cubic-bezier(.2, .8, .2, 1), background .3s ease; }
.rows li + li { box-shadow: 0 -.5px 0 var(--line-2); }
.rows .pos { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.rows .price { font-size: 16px; font-weight: 500; }
.rows li[data-mine] { background: var(--btn); color: #fff; font-weight: 600; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--btn) 80%, transparent); z-index: 2; }
.rows li[data-mine] .pos { color: rgba(255, 255, 255, .8); }
.rows li[data-mine] + li { box-shadow: none; }
.rows li[data-mine].won::after { content: '1. miejsce'; position: absolute; right: 96px; font-size: 12px; font-weight: 600; background: #fff; color: #156a3c; padding: 4px 9px; border-radius: 999px; }
.floor { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 14px 0; border-top: 1.5px dashed var(--line); font-size: 13px; color: var(--muted); }
.floor .num { color: var(--ink-2); font-weight: 600; }
.ladder-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; background: var(--bg-2); border-radius: 14px; font-size: 14px; color: var(--ink-2); }
.replay { flex: none; width: 32px; height: 32px; border-radius: 999px; border: 0; background: var(--card); color: var(--ink); font-size: 16px; cursor: pointer; box-shadow: 0 0 0 .5px var(--line); }

/* pasek wyników */
.proof { padding: 56px 0; background: var(--bg-2); }
.win { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px; }
.win-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.win-head .kicker { margin-bottom: 6px; }
.win-head h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.028em; }
.win-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.win-tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.win-tabs button:hover { color: var(--ink); }
.win-tabs button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px var(--line); }
.win-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.win-big { font-size: clamp(44px, 5.2vw, 68px); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--muted); }
.win-big b { color: var(--tint); font-weight: 700; }
.win-arrow { font-weight: 400; opacity: .6; }
.win-what { margin-top: 10px; font-size: 16px; color: var(--ink-2); max-width: 30em; }
.win-bars { margin-top: 24px; display: grid; gap: 12px; }
.win-bar { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 3.2em; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.win-bar i { height: 12px; border-radius: 99px; background: var(--line-2); position: relative; overflow: hidden; }
.win-bar i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); min-width: 6px; border-radius: inherit; background: var(--c-base); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.win-bar.on i::after { background: var(--tint); }
.win-bar b { font-size: 15px; color: var(--ink); text-align: right; }
.win[data-reveal]:not(.in) .win-bar i::after { width: 0; }
.win-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.win-facts li { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; border-top: .5px solid var(--line); font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.win-facts li:first-child { border-top: 0; padding-top: 4px; }
.win-facts b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.win-note { margin-top: 24px; padding-top: 16px; border-top: .5px solid var(--line); font-size: 13.5px; color: var(--muted); }
.win-swap { animation: win-in .35s ease; }
@keyframes win-in { from { opacity: .2; } to { opacity: 1; } }
@media (max-width: 860px) {
  .win { padding: 22px; }
  .win-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .win-tabs { width: 100%; }
  .win-tabs button { flex: 1; padding: 8px 6px; font-size: 14px; }
}
@media (max-width: 600px) {
  .win-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .win-bar i { grid-column: 1 / -1; grid-row: 2; }
  .win-facts li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .win-bar i::after { transition: none; } .win-swap { animation: none; } }

/* sekcje strony głównej */
.modules, .how, .safety, .tools-band, .pricing, .from-blog, .faq, .beta, .voices { padding: 112px 0; }
.section-head { max-width: 920px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.032em; line-height: 1.08; }
.section-head > p:not(.kicker) { margin-top: 16px; font-size: 18.5px; color: var(--ink-2); }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento-item { grid-column: span 3; display: grid; gap: 24px; align-content: start; padding: 30px; border-radius: var(--r-lg); background: var(--bg-2); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.bento-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento-item.wide { grid-column: span 6; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.bento-item.small { grid-column: span 2; }
.bento-item.small h3 { font-size: clamp(19px, 1.7vw, 22px); }
.bento-k { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--tint); margin-bottom: 10px; }
.bento-copy h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.025em; }
.bento-copy p:not(.bento-k) { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--tint); }

.how { background: var(--bg-2); }
.how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.how .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.how .section-head .text-link { margin-top: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { padding: 22px 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.time { display: inline-block; font-size: 13px; font-weight: 600; color: var(--tint); background: var(--tint-bg); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
.timeline h3 { font-size: 19px; }
.timeline p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }

.safety { --ink: #f5f5f7; --ink-2: #d1d1d6; --muted: #a1a1a6; --line: rgba(255, 255, 255, .16); --s-bg: #0b0b0c; background: var(--s-bg); color: var(--ink); }
.safety .kicker { color: #6dd39b; }
.corridor { margin: 0 auto; padding: 72px 0 12px; max-width: 980px; }
.axis { position: relative; height: 4px; background: rgba(255, 255, 255, .2); border-radius: 2px; margin: 0 8px 150px; }
.zone { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); top: -14px; height: 32px; background: rgba(76, 197, 132, .18); border-inline: 1.5px solid #4cc584; border-radius: 6px; }
.mark { position: absolute; left: var(--x); top: -10px; width: 0; height: 24px; border-left: 1.5px solid var(--ink); }
.mark b, .mark small { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; text-align: center; }
.mark b { top: 34px; font-size: 15px; font-weight: 600; }
.mark small { top: 56px; font-size: 13px; color: var(--muted); }
.safety .mark small { color: #c7c7cc; }
.mark.soft { border-left-style: dashed; }
.mark.soft b, .mark.hard.right b { top: 84px; }
.mark.soft small, .mark.hard.right small { top: 106px; }
.mark.comp b, .mark.comp small { top: auto; }
.mark.comp b { bottom: 58px; }
.mark.comp small { bottom: 38px; }
.mark.hard.right b, .mark.hard.right small { transform: translateX(-100%); text-align: right; }
.mark.hard { border-left-width: 3px; }
.target { position: absolute; left: var(--x); top: 50%; transform: translate(-50%, -50%); }
.target span { display: block; background: #1a7d47; color: #fff; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 999px; box-shadow: 0 0 0 3px var(--s-bg); }
.corridor figcaption { font-size: 15px; color: var(--ink-2); }
.guards { list-style: none; margin: 56px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guards li { padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 .5px var(--line); }
.guards h3 { font-size: 17px; color: var(--ink); }
.guards p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.safety .text-link { color: #6dd39b; }

/* karty z linkiem */
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lc { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 52px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 .5px var(--line); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.lc:hover { transform: translateY(-2px); box-shadow: var(--shadow), 0 0 0 1px var(--tint-bg-2); }
.lc .mm-ic { margin-bottom: 8px; }
.lc b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.lc > span:not(.mm-ic) { font-size: 15px; color: var(--muted); line-height: 1.45; }
.lc-go { position: absolute; left: 22px; bottom: 18px; color: var(--tint); }
.link-cards.big .lc { padding: 28px 26px 58px; }
.link-cards.big .lc b { font-size: 19px; }
.tools-band .link-cards, .related .link-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* makiety panelu */
.shot { margin: 0; position: relative; min-width: 0; }
.shot.has-img img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.shot.mock { padding: 22px; border-radius: 22px; background: linear-gradient(160deg, var(--tint-bg-2), transparent 70%), var(--bg-3); }
.bento-item .shot.mock { background: linear-gradient(160deg, var(--tint-bg-2), transparent 70%), var(--bg-3); }
.m-card { background: var(--card); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); font-size: 14.5px; color: var(--ink); }
.m-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: .5px solid var(--line); font-size: 15px; }
.m-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.chip.win { background: var(--pos-bg); color: var(--pos); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.up { background: var(--tint-bg); color: var(--tint); }
.chip.stop { background: var(--neg-bg); color: var(--neg); }
.m-offers { list-style: none; margin: 0; padding: 0; }
.m-offers li { display: grid; grid-template-columns: minmax(0, 1fr) auto 146px; gap: 12px; align-items: center; padding: 10px 2px; }
.m-offers li + li { border-top: .5px solid var(--line-2); }
.m-offers li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-offers .chip { justify-self: end; }
.m-chat { display: flex; flex-direction: column; gap: 10px; }
.m-chat .m-head { margin-bottom: 0; }
.m-order { font-size: 12.5px; color: var(--muted); }
.bub { max-width: 84%; padding: 10px 14px; border-radius: 18px; line-height: 1.5; }
.bub.them { align-self: flex-start; background: var(--bg-2); border-bottom-left-radius: 6px; }
.bub.me { align-self: flex-end; background: #156a3c; color: #fff; border-bottom-right-radius: 6px; }
.bub mark { background: rgba(0, 0, 0, .28); color: inherit; padding: 0 3px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.m-foot { align-self: flex-end; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; font-size: 12.5px; color: var(--muted); }
.m-health ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.m-health li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
.m-health li b { font-weight: 600; }
.m-health li.is-warn b { color: var(--warn); }
.meter { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 99px; background: var(--bg-2); }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: 99px; background: var(--tint); }
.is-warn .meter i { background: #ff9500; }
.meter em { position: absolute; top: -4px; bottom: -4px; left: var(--l); width: 2px; border-radius: 2px; background: var(--muted); }
.m-toast { display: flex; gap: 11px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 13.5px; }
.ic-warn { flex: none; width: 22px; height: 22px; border-radius: 7px; background: #ff9500; color: #1d1d1f; font-weight: 800; display: grid; place-items: center; }
.m-bars { position: relative; height: 160px; display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; padding-top: 34px; border-bottom: 1px solid var(--line); }
.m-bars i { display: block; height: var(--h); border-radius: 5px 5px 2px 2px; background: var(--bg-3); }
.m-bars i.after { background: var(--tint); }
.m-cut { position: absolute; top: 0; bottom: -1px; left: calc(50% - 1px); border-left: 1.5px dashed var(--muted); }
.m-cut span { position: absolute; top: 0; left: 8px; white-space: nowrap; font-size: 12.5px; padding: 3px 8px; border-radius: 999px; background: var(--tint-bg); color: var(--tint); font-weight: 600; }
.m-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 16px; }
.m-compare > div:not(.arrow) { padding: 12px 14px; border-radius: 14px; background: var(--bg-2); display: flex; flex-direction: column; }
.m-compare span, .m-compare small { font-size: 12.5px; color: var(--muted); }
.m-compare b { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.m-compare .good { background: var(--pos-bg) !important; }
.m-compare .good b { color: var(--pos); }
.m-compare .arrow { font-size: 22px; color: var(--muted); }
.m-reviews { display: grid; gap: 10px; }
.rev { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); }
.rev.bad { background: var(--neg-bg); }
.rev.ret { background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); }
.stars { font-size: 15px; letter-spacing: 1px; background: linear-gradient(90deg, #ff9500 calc(var(--g) * 20%), rgba(120, 120, 120, .35) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ret-ic { width: 26px; height: 26px; border-radius: 8px; background: var(--tint-bg); color: var(--tint); display: grid; place-items: center; font-weight: 700; }
.m-browser { border-radius: 14px; overflow: hidden; background: #1c1c1e; box-shadow: var(--shadow-lg); color: #f2f2f7; }
.m-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #2a2a2d; }
.m-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.m-bar i:nth-child(2) { background: #febc2e; }
.m-bar i:nth-child(3) { background: #28c840; }
.m-bar .tag { margin-left: auto; background: #3a3a3d; color: #d1d1d6; }
.m-url { margin-left: 12px; font-size: 12px; color: #aeaeb2; padding: 4px 10px; border-radius: 6px; background: #1c1c1e; }
.m-app { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 380px; }
.m-app aside { background: #151517; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.m-app aside b { padding: 4px 8px 12px; }
.m-app aside span { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 7px; color: #d1d1d6; }
.m-app aside span.on { background: #1a7d47; color: #fff; }
.m-app aside em { font-style: normal; font-size: 11.5px; padding: 0 6px; border-radius: 99px; background: #3a3a3d; }
.m-main { padding: 22px; display: grid; gap: 16px; align-content: start; }
.m-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1px; border-radius: 12px; overflow: hidden; background: #3a3a3d; }
.m-hero > div, .m-hero ul { background: #232325; padding: 18px; margin: 0; }
.m-hero small { display: block; font-size: 12.5px; color: #aeaeb2; }
.m-hero small.good { color: #30db5b; margin-top: 4px; }
.m-hero > div > b { display: block; font-size: 54px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin-top: 6px; }
.m-hero > div > b span { font-size: 26px; color: #aeaeb2; }
.m-hero svg { display: block; width: 100%; height: 70px; margin-top: 10px; }
.spark { fill: none; stroke: #4cc584; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.m-hero ul { list-style: none; display: grid; }
.m-hero li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 13.5px; color: #d1d1d6; }
.m-hero li + li { border-top: .5px solid #3a3a3d; }
.m-hero li b { font-size: 18px; color: #fff; }
.m-hero li b.warn { color: #ffb340; }
.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.m-tiles span { height: 90px; border-radius: 12px; background: linear-gradient(180deg, #2a2a2d, #232325); }

/* cennik */
.pricing { background: var(--bg-2); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; padding: 26px 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); margin-bottom: 20px; }
.calc-in > span:first-child { display: block; font-weight: 600; margin-bottom: 12px; }
.calc-row { display: flex; gap: 14px; align-items: center; }
.calc-row input[type=range] { flex: 1; accent-color: var(--btn); }
.calc-row input[type=number] { width: 110px; height: 42px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--bg-2); font-variant-numeric: tabular-nums; }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.calc-out p { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--muted); }
.calc-out b { font-size: 24px; color: var(--ink); letter-spacing: -.02em; }
.calc-out small { font-size: 12px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 .5px var(--line); transition: box-shadow .2s ease; }
.plan.featured { box-shadow: 0 0 0 2px var(--btn), var(--shadow); }
.plan.match { box-shadow: 0 0 0 2px var(--btn), var(--shadow); }
.plan-badge { position: absolute; top: -12px; left: 22px; font-size: 12px; font-weight: 600; background: var(--btn); color: #fff; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .limit { font-size: 14px; color: var(--muted); }
.plan .price { margin: 10px 0 4px; font-size: 15px; color: var(--muted); }
.plan .price b { font-size: 40px; color: var(--ink); letter-spacing: -.04em; font-weight: 700; }
.plan .desc { font-size: 15px; color: var(--ink-2); flex: 1; margin-bottom: 14px; }
.included { list-style: none; margin: 24px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--ink-2); }
.included li { display: inline-flex; gap: 8px; align-items: center; }
.included .ic { color: var(--pos); }

/* blog: karty */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 .5px var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.post-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .thumb { display: block; width: 100%; height: auto; aspect-ratio: 40 / 21; border-radius: 0; background: var(--bg-2); }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.post-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.post-card p:not(.post-meta) { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.post-meta span:first-child { color: var(--tint); font-weight: 600; }
.from-blog .section-head { margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
/* Paginacja bloga: cele dotyku 44 px, bieżąca strona wyróżniona i oznaczona aria-current, na telefonie same strzałki i numery */
.pager-site { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 40px; }
.pager-site .pg-nums { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pager-site .pg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--bg-2); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }
.pager-site a.pg:hover { background: var(--bg-3); }
.pager-site .pg.cur { background: var(--tint); color: #fff; }
.pager-site .pg.off { opacity: .4; }
.pager-site .pg svg { width: 18px; height: 18px; }
.pager-site .pg-prev svg { transform: scaleX(-1); }
.pager-site .pg-gap { align-self: center; color: var(--muted); padding: 0 2px; }
.pager-site .pg-info { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 13.5px; color: var(--muted); }
@media (max-width: 560px) { .pager-site .pg-step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .pager-site .pg-step { padding: 0; } }
.chips a, .chips button { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--bg-2); color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer; }
.chips a:hover, .chips button:hover { background: var(--bg-3); }
.chips [aria-current], .chips [aria-pressed=true] { background: var(--ink); color: var(--bg); }

/* pytania */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq .section-head { margin-bottom: 0; }
.qa details { border-bottom: .5px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 2px; font-size: 17px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%23636366' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; transition: transform .2s ease; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 44px 22px 2px; color: var(--ink-2); }

/* beta i formularze */
.beta { background: var(--bg-2); }
.beta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.beta-grid h2, .final h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.03em; }
.beta-grid > div > p:not(.kicker) { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.beta-steps { margin: 22px 0 0; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); }
.beta-form { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.beta-form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; }
.beta-form input, .beta-form select { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid transparent; background: var(--bg-2); font-weight: 400; font-size: 16px; }
.beta-form input:focus, .beta-form select:focus { outline: none; border-color: var(--tint); box-shadow: 0 0 0 4px var(--tint-bg); }
.fine { font-size: 13px; color: var(--muted); }
.note { padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.note.ok { background: var(--pos-bg); color: var(--pos); }
.note.err { background: var(--neg-bg); color: var(--neg); }
.final { text-align: center; display: grid; justify-items: center; gap: 16px; }
.final p { color: var(--ink-2); max-width: 36em; font-size: 18px; }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.voice { margin: 0; padding: 26px; border-radius: var(--r-lg); background: var(--bg-2); }
.voice blockquote { margin: 0; font-size: 17px; }
.voice figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.voice figcaption b { display: block; color: var(--ink); }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; }
.sticky-cta .btn { width: 100%; box-shadow: var(--shadow-lg); }

/* podstrony */
.page-hero { padding: 36px 0 44px; background: radial-gradient(60% 80% at 90% 0%, var(--tint-bg), transparent 70%); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.035em; line-height: 1.06; text-wrap: pretty; }
.page-hero .lead { max-width: 46em; }
.page-hero-grid { display: block; }
.page-hero.split .page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero.split h1 { font-size: clamp(32px, 4vw, 50px); }
.page-meta { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.feature-strip { padding: 8px 0 24px; }
.points { list-style: none; margin: 0 0 28px; padding: 22px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 28px; border-radius: var(--r); background: var(--bg-2); }
.points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.points .ic { color: var(--pos); margin-top: 2px; }
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps-row li { padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 .5px var(--line); }
.step-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint-bg); color: var(--tint); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.steps-row h3 { font-size: 17px; }
.steps-row p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.page-body { padding: 40px 0 24px; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; justify-content: center; align-items: start; }
.doc.no-toc { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 92px; font-size: 14px; max-height: calc(100vh - 120px); overflow: auto; }
.toc p { font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 1.5px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--tint); border-left-color: var(--tint); }
.page-faq { padding: 48px 0; }
.faq-block h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 12px; }
.related { padding: 64px 0; background: var(--bg-2); }
.related h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 24px; }
.page-cta { padding: 64px 0 96px; }
.index-grid { padding: 8px 0 64px; }
.grid-title { font-size: 20px; margin: 28px 0 14px; }
.grid-title:first-child { margin-top: 0; }
.terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.term { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 .5px var(--line); text-decoration: none; color: var(--ink); }
.term:hover { box-shadow: var(--shadow), 0 0 0 1px var(--tint-bg-2); }
.term b { font-size: 18px; }
.term span { font-size: 15px; color: var(--muted); line-height: 1.45; }
.def-strip { padding: 0 0 8px; }
.definition { padding: 20px 24px; border-radius: var(--r); background: var(--tint-bg); font-size: 18px; line-height: 1.5; color: var(--ink); }
.definition b { color: var(--tint); }
.definition .def-l { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--tint); letter-spacing: .01em; }

/* treść */
.prose { font-size: 17.5px; line-height: 1.72; color: var(--ink-2); min-width: 0; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(25px, 2.6vw, 31px); line-height: 1.2; color: var(--ink); margin-top: 56px; letter-spacing: -.025em; scroll-margin-top: 90px; }
.prose h3 { font-size: 20px; color: var(--ink); margin-top: 32px; }
.prose > h2:first-child, .prose > .tldr:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--tint); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tint) 35%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose a.btn { color: #fff; text-decoration: none; }
.prose a.btn.ghost { color: var(--tint); }
.prose ul, .prose ol { padding-left: 24px; display: grid; gap: 8px; }
.prose li::marker { color: var(--muted); }
.prose code { font: 500 .88em var(--mono); background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.prose .formula { font: 500 15.5px/1.65 var(--mono); background: var(--bg-2); color: var(--ink); padding: 18px 20px; border-radius: 14px; overflow-x: auto; white-space: pre; }
.prose .callout { background: var(--bg-2); border-radius: 14px; padding: 18px 20px; font-size: 16.5px; }
.prose .callout b:first-child { display: block; color: var(--ink); margin-bottom: 4px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table, .rates, .mini table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td, .rates th, .rates td, .mini th, .mini td { text-align: left; padding: 11px 12px; border-bottom: .5px solid var(--line); vertical-align: top; }
.prose thead th, .rates thead th, .mini thead th { font-size: 13.5px; color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose tr.total td { color: var(--ink); font-weight: 600; border-bottom: 0; }
.prose .steps { list-style: none; padding: 0; counter-reset: st; gap: 14px; }
.prose .steps li { counter-increment: st; position: relative; padding: 16px 18px 16px 58px; border-radius: 14px; background: var(--bg-2); }
.prose .steps li::before { content: counter(st); position: absolute; left: 16px; top: 15px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); color: #fff; font-size: 14px; font-weight: 700; }
.prose .steps b { color: var(--ink); }
.prose .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.prose .card { padding: 20px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 .5px var(--line); }
.prose .card h3 { margin: 0 0 6px; font-size: 17px; }
.prose .card p { font-size: 15.5px; line-height: 1.55; }
.tldr { background: var(--bg-2); border-radius: 16px; padding: 22px 24px; font-size: 16.5px; }
.tldr-h { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--tint); margin-bottom: 10px; }
.tldr ul { padding-left: 20px; display: grid; gap: 6px; }
.sources { margin-top: 48px !important; font-size: 14.5px; }
.sources h2 { font-size: 17px !important; margin: 0 0 10px !important; }
.sources ul { padding-left: 20px; }
.sources a { color: var(--muted); word-break: break-word; }
.post-feature { font-size: 15.5px; color: var(--muted); }
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 40px !important; padding: 30px 32px; border-radius: var(--r-lg); background: linear-gradient(135deg, #0f5a32, #17784a); color: #fff; }
.cta-box h2 { margin: 0 !important; color: #fff; font-size: clamp(22px, 2.4vw, 28px) !important; }
.cta-box p { margin-top: 8px; color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.5; }
.cta-box .btn, .prose .cta-box a.btn { background: #fff; color: #105630; }
.cta-box .btn:hover { background: #e6f4ec; }
.cta-box .micro { color: rgba(255, 255, 255, .78); max-width: 22em; }
.cta-box-act { text-align: right; }
.legal ol { padding-left: 22px; }

/* wpis */
.post-head { padding: 36px 0 12px; }
.post-head .wrap { max-width: calc(1044px + 48px); }
.post-head h1 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.034em; line-height: 1.08; text-wrap: pretty; }
.post-head .post-meta { margin-top: 18px; font-size: 14px; }
.post-head .post-meta span:first-child, .post-head .post-meta time:first-child { color: var(--muted); font-weight: 400; }
.post-cover { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 .5px var(--line); }
.post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 40 / 21; }
.page-post .doc { margin-top: 44px; margin-bottom: 72px; }

/* wykresy we wpisach */
.chart { background: var(--card); border-radius: 16px; box-shadow: 0 0 0 .5px var(--line); padding: 20px 22px 18px; margin: 28px 0 0; overflow-x: clip; }
.chart figcaption { margin-bottom: 18px; }
.chart figcaption b { display: block; color: var(--ink); font-size: 17px; line-height: 1.35; }
.chart figcaption span { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 2px; }
.chart .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); margin: -6px 0 14px; }
.chart .legend i { display: inline-block; width: 16px; height: 2px; border-radius: 1px; vertical-align: middle; margin-right: 7px; background: var(--c-base); }
.chart .legend i.ink { background: var(--ink); }
.chart .chart-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.wf { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 6px 14px; align-items: center; font-size: 15px; }
.wf-l { color: var(--ink-2); }
.wf-v { font-size: 14.5px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.wf-t { position: relative; height: 18px; }
.wf-t i { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 1%); width: max(3px, calc(var(--w) * 1%)); border-radius: 4px; background: var(--c-base); }
.wf .base i { background: var(--ink); }
.wf-l.gain, .wf-v.gain { color: var(--ink); font-weight: 600; }
.wf .gain i { background: var(--pos); }
.wf-t::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: .5px solid var(--line-2); }
.plot { position: relative; height: 250px; margin: 0 76px 30px 40px; font-size: 13px; }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plot .zero { stroke: var(--muted); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plot .ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.plot .ln.base { stroke: var(--c-base); }
.plot .ln.ink { stroke: var(--ink); stroke-width: 2.5; }
.plot .wash { fill: var(--neg); opacity: .1; }
.plot .yt, .plot .xt, .plot .pt, .plot .lab { position: absolute; color: var(--muted); white-space: nowrap; line-height: 1; font-variant-numeric: tabular-nums; }
.plot .yt { right: calc(100% + 8px); top: calc(var(--y) * 1%); transform: translateY(-50%); }
.plot .xt { top: calc(100% + 10px); left: calc(var(--x) * 1%); transform: translateX(-50%); }
.plot .xt.s { transform: none; }
.plot .pt { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--card); }
.plot .pt.base { background: var(--c-base); }
.plot .lab { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.plot .lab b { color: var(--ink); font-weight: 600; }
.plot .lab.r { transform: translate(10px, 8px); }
.plot .lab.l { transform: translate(calc(-100% - 12px), calc(-100% - 6px)); text-align: right; }
.plot .lab.e { transform: translate(12px, -50%); }

/* narzędzia */
.tool { padding: 8px 0 40px; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tool-main { display: grid; gap: 16px; }
.tool-card { padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 .5px var(--line), var(--shadow); display: grid; gap: 16px; }
.tool-card.fetch { background: linear-gradient(160deg, var(--tint-bg), transparent 80%), var(--card); }
.tool-h { font-size: 17px; letter-spacing: -.01em; }
.fld { display: grid; gap: 7px; min-width: 0; }
.fld-l { font-size: 14.5px; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; }
.fld-l small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.fld-in { position: relative; display: flex; align-items: center; }
.fld-in input, .fld-in select, .fetch-row input, .search input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid transparent; background: var(--bg-2); font-size: 16px; font-variant-numeric: tabular-nums; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.fld-in em { position: absolute; right: 14px; font-style: normal; font-size: 14.5px; color: var(--muted); pointer-events: none; }
.fld-in input { padding-right: 42px; }
.fld-in input[aria-invalid], .fld-in input[aria-invalid]:focus { border-color: var(--neg); box-shadow: 0 0 0 4px var(--neg-bg); }
.fld-in.sel select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23636366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; text-overflow: ellipsis; }
.fld-in input:focus, .fld-in select:focus, .fetch-row input:focus, .search input:focus { outline: none; border-color: var(--tint); background: var(--card); box-shadow: 0 0 0 4px var(--tint-bg); }
.fld-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fld-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fetch-row { display: flex; gap: 10px; }
.fetch-status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.fetch-status.busy { color: var(--tint); }
.fetch-status.ok { color: var(--pos); }
.fetch-status.err { color: var(--neg); }
.product { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 .5px var(--line); }
.product img, .product .ph { width: 72px; height: 72px; border-radius: 10px; object-fit: contain; background: #fff; }
.product > div > b { display: block; font-size: 15.5px; line-height: 1.35; }
.product p b { color: var(--ink); }
.product small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.product p { font-size: 14px; margin-top: 6px; color: var(--ink-2); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px; border-radius: 12px; background: var(--bg-3); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 9px 10px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.25; }
.seg input:checked + span { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px var(--line); }
.seg input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--tint) 55%, transparent); }
.seg.small { max-width: 320px; }
.fld-stack { display: grid; gap: 10px; align-content: start; min-width: 0; }
.switch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .sw { position: relative; width: 51px; height: 31px; border-radius: 999px; background: var(--bg-3); transition: background .2s ease; }
.switch .sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.switch input:checked + .sw { background: #248a3d; }
.switch input:checked + .sw::after { transform: translateX(20px); }
.switch input:focus-visible + .sw { outline: 3px solid color-mix(in srgb, var(--tint) 55%, transparent); outline-offset: 2px; }
.switch b { display: block; font-size: 14.5px; }
.switch small { display: block; font-size: 12.5px; color: var(--muted); }
.res-act { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-result { position: sticky; top: 88px; }
.res-card { padding: 26px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); }
.res-l { font-size: 14px; font-weight: 600; color: var(--muted); }
.res-big { font-size: clamp(38px, 4vw, 50px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin-top: 4px; color: var(--ink); }
.res-big.pos { color: var(--pos); }
.res-big.neg { color: var(--neg); }
.res-sub { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.res-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.res-pair > div { padding: 14px; border-radius: 14px; background: var(--bg-2); display: flex; flex-direction: column; gap: 2px; }
.res-pair span, .res-pair small { font-size: 12.5px; color: var(--muted); }
.res-pair b { font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.res-pair b.neg { color: var(--neg); }
.res-list { list-style: none; margin: 18px 0 0; padding: 0; font-size: 14.5px; }
.res-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: .5px solid var(--line-2); color: var(--ink-2); }
.res-list li.z, .res-list li.zneg { border-bottom: 0; color: var(--ink); font-weight: 600; }
.res-list li.zneg b { color: var(--neg); }
.res-list li.z b { color: var(--pos); }
.res-bar { display: flex; gap: 2px; height: 10px; margin-top: 14px; border-radius: 99px; overflow: hidden; }
.res-bar i { width: var(--w); background: var(--c-base); }
.res-bar .vat { background: var(--bg-3); }
.res-bar .comm, .res-bar .fee { background: var(--tint); }
.res-bar .fee { opacity: .55; }
.res-bar .ret { background: #ff9500; }
.res-bar .k { background: var(--ink-2); }
.res-bar .s { background: var(--c-base); }
.res-bar .z { background: var(--pos); }
.res-bar .zneg { background: var(--neg); }
.res-act { margin-top: 18px; }
.res-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.res-card .formula { margin-top: 16px; font: 500 13.5px/1.5 var(--mono); padding: 12px 14px; border-radius: 12px; background: var(--bg-2); color: var(--ink-2); white-space: normal; }
.tool-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.table-tools { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.search { flex: 1; max-width: 520px; }
.search input { height: 50px; padding-left: 44px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%23636366' stroke-width='2'/%3E%3Cpath d='m16 16 4 4' stroke='%23636366' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 14px center / 20px; }
.table-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.table-scroll.big { border-radius: var(--r); box-shadow: 0 0 0 .5px var(--line); background: var(--card); }
.rates thead th { position: sticky; top: 0; background: var(--card); z-index: 1; }
.rates td { font-size: 15px; }
.rates td:nth-child(1) { width: 42%; }
.rates td:nth-child(2) { white-space: normal; max-width: 240px; }
.rates td:nth-child(4) { min-width: 150px; color: var(--muted); font-size: 14px; }
.rates .cat-top { display: block; font-weight: 600; color: var(--ink); }
.rates .cat-sub { display: block; color: var(--muted); font-size: 14px; }
.rates .tier { display: block; line-height: 1.4; }
.rates .tier + .tier { margin-top: 4px; color: var(--ink-2); }
.rates tr[hidden] { display: none; }
.row-go { display: inline-flex; height: 30px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--tint-bg); color: var(--tint); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.mini { margin-top: 28px; max-width: 560px; }
.mini caption { text-align: left; font-weight: 600; padding: 0 0 8px; color: var(--ink); }

/* stopka */
.foot { padding: 64px 0 40px; background: var(--bg-2); border-top: .5px solid var(--line); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin-top: 12px; color: var(--muted); max-width: 22em; }
.foot-grid p:not(.foot-brand p) { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-legal { margin-top: 48px; padding-top: 20px; border-top: .5px solid var(--line); font-size: 13px; color: var(--muted); }

/* animacje: tylko ze skryptami i bez ograniczenia ruchu */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
  [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* układ na mniejszych ekranach */
@media (max-width: 1080px) {
  .hero-grid, .how-grid, .faq-grid, .beta-grid, .page-hero.split .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .how .section-head { position: static; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; max-height: none; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); }
  .toc ol { border: 0; }
  .toc a { padding-left: 0; border: 0; margin: 0; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-result { position: static; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .bento-item.wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-login { display: none; }
  .nav-burger { display: grid; }
  .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .bento-item, .bento-item.small { grid-column: span 6; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  body { font-size: 16.5px; }
  .hero { padding: 36px 0 48px; }
  .modules, .how, .safety, .tools-band, .pricing, .from-blog, .faq, .beta, .voices { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head.row { flex-direction: column; align-items: start; }
  .bento-item { padding: 22px; }
  .shot.mock { padding: 12px; }
  .m-offers li { grid-template-columns: minmax(0, 1fr) auto; }
  .m-offers .chip { grid-column: 1 / -1; justify-self: start; }
  .m-app { grid-template-columns: minmax(0, 1fr); }
  .m-app aside { display: none; }
  .guards, .plans, .calc-out, .fld-row, .fld-row.three, .res-pair { grid-template-columns: minmax(0, 1fr); }
  .axis { margin-bottom: 170px; }
  .mark small { display: none; }
  .mark.soft b, .mark.hard.right b { top: 64px; }
  .prose { font-size: 16.5px; }
  .prose .formula { font-size: 12.5px; padding: 14px 12px; }
  .cta-box { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .cta-box-act { text-align: left; }
  .plot { height: 220px; margin-right: 58px; margin-left: 34px; font-size: 12px; }
  .seg { grid-auto-flow: row; }
  .fetch-row { flex-direction: column; }
  .table-tools { flex-direction: column; align-items: stretch; }
  .rates th:nth-child(3), .rates td:nth-child(3), .rates th:nth-child(4), .rates td:nth-child(4) { display: none; }
  .rates th, .rates td { padding-inline: 8px; }
  .rates td:nth-child(1) { width: auto; }
  .rates td:nth-child(2) { min-width: 8.5em; }
  .rates .tier { font-size: 13.5px; }
  .sticky-cta.show { display: block; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

/* sekcja: podwyżki cen */
.raise { padding: 96px 0; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.raise-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.raise .section-head p:not(.kicker) { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.raise .text-link { margin-top: 18px; }
.raise-card { background: var(--card); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 10px; }
.raise-k { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.raise-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: 16px; }
.raise-row b { font-size: 18px; }
.raise-row.was b { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.raise-row.now { background: var(--tint-bg-2); box-shadow: inset 0 0 0 1.5px var(--tint); }
.raise-row.now b { color: var(--tint); }
.raise-gain { margin-top: 6px; font-size: 17px; }
.raise-gain b { color: var(--pos); font-size: 22px; margin-right: 6px; }
.raise-note { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .raise { padding: 64px 0; } .raise-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
/* autor wpisów */
.post-byline { align-items: center; }
.byline { display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; font-weight: 600; text-decoration: none; }
.byline:hover span { text-decoration: underline; text-underline-offset: 3px; }
.byline .author-ph { width: 32px; height: 32px; }
.author-ph { border-radius: 50%; object-fit: cover; background: var(--bg-2); flex: none; }
.author-box { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: start; margin: 40px 0 0; padding: 24px; border-radius: var(--r); background: var(--bg-2); }
.author-box .author-ph { width: 88px; height: 88px; }
.prose .author-box p { margin: 0; }
.author-k { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.author-name { font-size: 19px; font-weight: 700; margin-top: 2px !important; }
.prose .author-name a { color: var(--ink); text-decoration: none; }
.author-role { font-size: 14.5px; color: var(--tint); font-weight: 600; margin-top: 2px !important; }
.author-bio { margin-top: 10px !important; font-size: 15.5px; color: var(--ink-2); }
.prose .author-box .text-link { margin-top: 10px; text-decoration: none; }
.author-hero { display: flex; align-items: center; gap: 24px; margin: 0 0 8px; }
.author-hero .author-ph { width: 160px; height: 160px; box-shadow: var(--shadow); }
.author-hero figcaption { font-size: 15px; color: var(--muted); }
@media (max-width: 600px) { .author-box { grid-template-columns: minmax(0, 1fr); } .author-hero { flex-direction: column; align-items: flex-start; } }.author-hero figcaption b { display: block; font-size: 18px; color: var(--ink); }
.author-hero figcaption span { display: block; margin-top: 2px; }
/* szerokość jak blok „spis treści + tekst” (220 + 64 + 760 px) */
.wrap.docw { max-width: calc(1044px + 48px); }

/* tabele w treści: krótkie etykiety, liczby do prawej, wyróżniony wiersz, karty na telefonie */
.prose .table-scroll { margin: 24px 0; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 .5px var(--line); }
.prose table { font-size: 15px; line-height: 1.45; }
.prose table caption { caption-side: top; text-align: left; padding: 14px 16px 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.prose th, .prose td { padding: 12px 16px; }
.prose thead th { border-bottom: 1px solid var(--line); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose th.num, .prose td.num { text-align: right; font-variant-numeric: tabular-nums; }
.prose td b + span, .prose td.num b + span { display: block; font-size: 13.5px; color: var(--muted); font-weight: 400; margin-top: 2px; white-space: normal; }
.prose table.compare td:first-child { width: 52%; }
.prose table.compare td:first-child b { color: var(--ink); }
.prose tr.good td { background: var(--tint-bg); }
.prose tr.good td.num b { color: var(--pos); }
.prose tr.bad td.num b { color: var(--neg); }
@media (max-width: 640px) {
  .prose table.stack, .prose table.stack tbody, .prose table.stack tr, .prose table.stack td { display: block; width: auto !important; }
  .prose table.stack thead { display: none; }
  .prose table.stack tr { padding: 10px 0; border-bottom: .5px solid var(--line); }
  .prose table.stack tr:last-child { border-bottom: 0; }
  .prose table.stack td { border: 0; padding: 4px 16px; text-align: left; }
  .prose table.stack td.num { display: flex; justify-content: space-between; gap: 12px; white-space: normal; }
  .prose table.stack td.num::before { content: attr(data-label); color: var(--muted); font-size: 13.5px; }
  .prose table.stack td.num b + span { display: inline; margin-left: 6px; }
}@media (max-width: 640px) {
  .prose table.stack caption { display: block; padding: 14px 16px 6px; }
  .prose table.stack td.num { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; }
  .prose table.stack td.num b + span { margin-left: 0; }
}
/* zapowiedź pod tytułem na całą szerokość bloku treści */
.post-head .lead, .page-hero .lead { max-width: none; }

/* szerokie tabele porównawcze (5+ kolumn): stałe kolumny, przewijanie w bok, przypięta pierwsza kolumna */
.prose table.wide { min-width: 920px; table-layout: fixed; }
.prose table.wide th:first-child, .prose table.wide td:first-child { position: sticky; left: 0; z-index: 1; width: 170px; background: var(--card); box-shadow: inset -.5px 0 0 var(--line); font-weight: 600; color: var(--ink); }
.prose .table-scroll:has(table.wide) { overscroll-behavior-x: contain; }
@media (max-width: 640px) {
  .prose table.stack td:first-child { font-weight: 600; color: var(--ink); padding-bottom: 6px; }
  .prose table.stack td:not(:first-child):not(.num)::before { content: attr(data-label); display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-bottom: 1px; }
  .prose table.stack td:not(:first-child) { padding-top: 6px; padding-bottom: 6px; }
}@media (max-width: 640px) {
  .prose table.stack.wide { min-width: 0; table-layout: auto; }
  .prose table.stack.wide td:first-child { position: static; width: auto; box-shadow: none; background: transparent; }
}
/* zdjęcie produktu w przykładzie na stronie głównej */
img.thumb { object-fit: cover; background: var(--bg-2); box-shadow: 0 0 0 .5px var(--line); }
/* regulamin, polityka, umowa: tekst na szerokość bloku treści, równo z tytułem */
.page-legal .doc.no-toc { grid-template-columns: minmax(0, 1044px); }

/* pomoc: ścieżka pierwszych kroków, grupy artykułów, zrzuty z panelu */
.help-h { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 14px; }
.index-grid .help-h:first-child { margin-top: 0; }
.help-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: hp; }
.help-path a { position: relative; display: grid; gap: 6px; height: 100%; padding: 20px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 .5px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.help-path a:hover { box-shadow: 0 0 0 1px var(--tint), var(--shadow); transform: translateY(-2px); }
.help-path li + li a::before { content: ''; position: absolute; left: -12px; top: 36px; width: 12px; height: 2px; background: var(--tint-bg-2); }
.hp-no { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; background: var(--tint); margin-bottom: 6px; }
.help-path b { font-size: 16px; line-height: 1.3; }
.help-path a > span:last-child { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.pshot { margin: 24px 0 0; }
.pshot img { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 18px; box-shadow: var(--shadow), 0 0 0 .5px var(--line); background: var(--card); }
.pshot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 640px; }
.prose table.csv-sample td code { font-size: .85em; }
@media (max-width: 960px) { .help-path { grid-template-columns: repeat(2, minmax(0, 1fr)); } .help-path li + li a::before { display: none; } }
@media (max-width: 640px) { .help-path { grid-template-columns: minmax(0, 1fr); } }

/* cennik: plany pod tytułem, moduły z każdego planu */
.plan .per { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.pp-plans { padding: 8px 0 64px; }
.pp-trust { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--ink-2); }
.pp-trust li { display: inline-flex; align-items: center; gap: 8px; }
.pp-trust .ic { color: var(--pos); }
.page-pricing .plans { gap: 14px; }
.page-pricing .plan { padding: 28px 24px; }
.page-pricing .plan.featured { transform: translateY(-6px); }
.pp-all { padding: 72px 0; background: var(--bg-2); }
.pp-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pp-mod { display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 18px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 .5px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.pp-mod:hover { box-shadow: 0 0 0 1px var(--tint), var(--shadow); transform: translateY(-2px); }
.pp-mod .mm-ic { margin-bottom: 6px; }
.pp-mod b { font-size: 15.5px; }
.pp-mod span:last-child { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.pp-perks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; font-size: 15.5px; color: var(--ink-2); }
.pp-perks li { display: flex; gap: 10px; align-items: flex-start; }
.pp-perks .ic { flex: none; margin-top: 3px; color: var(--pos); }
.pp-perks b { color: var(--ink); }
.page-pricing .page-body { padding-top: 64px; }
.page-pricing .included { display: none; }
.page-pricing .prose .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .page-pricing .prose .cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) { .pp-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } .page-pricing .plan.featured { transform: none; } }
@media (max-width: 640px) { .pp-mods, .pp-perks { grid-template-columns: minmax(0, 1fr); } .pp-all { padding: 56px 0; } }

/* działania zamiast wzorów: {{eq:…}} i {{flow:…}} w treści (site.php) */
.eq { margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: var(--bg-2); }
.prose .eq + .eq { margin-top: 10px; }
.eq .eq-q { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.eq .eq-x { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.eq .eq-x + .eq-x { margin-top: 10px; }
.eq .t { display: inline-flex; flex-direction: column; gap: 1px; padding: 8px 13px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 .5px var(--line); line-height: 1.25; }
.eq .t small { font-size: 12px; color: var(--muted); }
.eq .t b { font-size: 18px; font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.eq .t.w b { font-size: 15px; font-weight: 600; }
.eq .t.r { background: var(--tint-bg-2); box-shadow: none; }
/* --tint-hover zamiast --tint: na zielonym tle wyniku zwykła zieleń ma 4,98:1, poniżej progu 5:1 */
.eq .t.r b, .eq .t.r small { color: var(--tint-hover); }
.eq .t.r.neg { background: var(--neg-bg); }
.eq .t.r.neg b, .eq .t.r.neg small { color: var(--neg); }
.eq-x > i { font-style: normal; font-size: 20px; color: var(--muted); }
.prose .eq.flow ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.eq.flow li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 .5px var(--line); }
.fl-no { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--tint); background: var(--tint-bg); }
.fl-l { font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.35; }
.fl-l small { display: block; margin-top: 2px; font-weight: 400; font-size: 13.5px; color: var(--muted); }
.eq.flow li b { font-size: 17px; color: var(--ink); white-space: nowrap; }
.eq.flow li.r { background: var(--tint-bg-2); box-shadow: none; }
.eq.flow li.r b { color: var(--tint-hover); font-size: 19px; }
.eq.flow li.r .fl-l small { color: var(--ink-2); }
.eq.flow li.r .fl-no { background: var(--tint); color: #fff; }
@media (max-width: 640px) { .eq.flow li { grid-template-columns: 28px minmax(0, 1fr); } .eq.flow li b { grid-column: 2; } }

/* kalkulator Empik: wyjaśnienie ceny minimalnej w trzech krokach (liczby z narzedzia.js) */
.explain { display: grid; gap: 12px; margin-top: 24px; }
.explain .ex-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow), 0 0 0 .5px var(--line); }
.ex-no { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; color: var(--tint); background: var(--tint-bg); }
.prose .ex-body h3 { margin: 4px 0 0; font-size: 18px; }
.prose .ex-body > p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.prose .explain ul { list-style: none; padding: 0; display: grid; gap: 0; margin-top: 14px; }
.ex-sum li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: .5px solid var(--line-2); font-size: 15px; }
.ex-sum li b { color: var(--ink); font-weight: 600; }
.ex-sum li.z b { color: var(--pos); }
.ex-sum li.tot { border-bottom: 0; padding-top: 12px; font-weight: 600; color: var(--ink); }
.ex-sum li.tot b { font-size: 20px; letter-spacing: -.02em; }
.ex-coin { display: flex; gap: 2px; height: 34px; margin-top: 16px; border-radius: 10px; overflow: hidden; }
.ex-coin i { width: var(--w); min-width: 3px; transition: width .4s ease; }
.explain .vat { --c: var(--bg-3); }
.explain .comm { --c: var(--tint); }
.explain .fee { --c: color-mix(in srgb, var(--tint) 55%, var(--card)); }
.explain .ret { --c: #ff9500; }
.explain .z { --c: var(--pos); }
.ex-coin i { background: var(--c); }
.ex-coin i.z { background: repeating-linear-gradient(135deg, var(--pos) 0 8px, color-mix(in srgb, var(--pos) 85%, #fff) 8px 16px); }
.prose .explain .ex-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ex-legend li { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.ex-legend li span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; background: var(--c); vertical-align: -1px; }
.ex-legend li b { color: var(--ink); }
.ex-legend li.z { font-weight: 600; }
.ex-legend li.z b { color: var(--pos); }
.prose .ex-body > p.ex-div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: var(--bg-2); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.ex-div i { font-style: normal; color: var(--muted); font-weight: 400; }
.ex-div b { color: var(--tint); font-weight: 700; }
.prose .ex-body > p.ex-note { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.ex-more { margin-top: 16px; padding: 14px 18px; border-radius: 16px; background: var(--bg-2); }
.ex-more summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.ex-more[open] summary { margin-bottom: 12px; }
.prose .ex-more > * + * { margin-top: 12px; }
@media (max-width: 640px) { .explain .ex-step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; } }

/* animowane przykłady na stronach funkcji (assets/demos.js) */
.demo { margin: 32px 0 0; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg), 0 0 0 .5px var(--line); overflow: hidden; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.prose .demo ul, .prose .demo ol { list-style: none; padding: 0; margin: 0; display: block; }
.prose .demo p { margin: 0; }
.prose .demo > * + * { margin-top: 0; }
.demo-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: .5px solid var(--line); }
.demo-tag { font-size: 12px; font-weight: 600; color: var(--tint); background: var(--tint-bg); padding: 4px 9px; border-radius: 999px; }
.demo-title { flex: 1; min-width: 0; color: var(--ink); font-size: 15.5px; }
.demo-replay { flex: none; width: 32px; height: 32px; border-radius: 999px; border: 0; background: var(--bg-2); color: var(--ink); font-size: 16px; cursor: pointer; }
.demo-replay:hover { background: var(--tint-bg-2); }
.demo-stage { padding: 18px; min-height: 120px; }
.demo-cap { padding: 12px 18px 16px; font-size: 13.5px; color: var(--muted); border-top: .5px solid var(--line-2); background: var(--bg-2); }
.d-tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 12px; background: var(--bg-2); margin-bottom: 16px; }
.d-tabs button { flex: 1 1 auto; border: 0; background: none; padding: 7px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.d-tabs button:hover { color: var(--ink); }
.d-tabs button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px var(--line); }
.d-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.d-head b { color: var(--ink); }
.d-chip { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-2); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.d-chip.warn { color: var(--warn); background: var(--warn-bg); }
.d-chip.tick { animation: d-pulse .6s ease; }
.d-rows li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; transition: transform .45s cubic-bezier(.2, .8, .2, 1), background .3s, box-shadow .3s; }
.d-rows li + li { box-shadow: 0 -.5px 0 var(--line-2); }
.d-pos { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--bg-2); color: var(--muted); }
.d-price { font-weight: 600; color: var(--ink); }
.d-rows li.scan { background: var(--bg-2); }
.d-rows li.me { background: var(--tint-bg); box-shadow: none; }
.d-rows li.me .d-name { font-weight: 600; color: var(--ink); }
.d-rows li.me.down .d-price, .d-rows li.me.floor .d-price { color: var(--tint); }
.d-rows li.me.up .d-price { color: var(--pos); }
.d-rows li.won .d-pos { background: var(--tint); color: #fff; }
.d-rows li.fresh { animation: d-in .5s ease; }
.d-rows li.down:not(.me) .d-price { color: var(--neg); }
.d-rows li.up:not(.me) .d-price { color: var(--pos); }
.d-floor { display: flex; justify-content: space-between; margin-top: 10px; padding: 9px 12px 0; border-top: 1.5px dashed var(--line); font-size: 13px; color: var(--muted); transition: color .3s; }
.d-floor.hit { color: var(--warn); border-top-color: var(--warn); }
.d-why { min-height: 30px; margin-top: 12px !important; opacity: 0; transition: opacity .3s; }
.d-why.in { opacity: 1; }
.d-code { display: inline-block; font: 500 12.5px/1.4 var(--mono); color: var(--ink-2); background: var(--bg-2); padding: 5px 9px; border-radius: 8px; }
.d-end { margin-top: 10px !important; padding: 11px 14px; border-radius: 12px; background: var(--bg-2); color: var(--ink-2); font-size: 14.5px; }
.d-end.in { animation: d-in .4s ease; }
.d-end b { color: var(--ink); }
.d-axis { position: relative; height: 112px; margin: 6px 4px 8px; }
.d-zone { position: absolute; top: 48px; height: 26px; border-radius: 6px; font-size: 11.5px; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; }
.d-zone.no { background: var(--neg-bg); color: var(--neg); }
.d-zone.ok { background: var(--tint-bg-2); color: var(--tint); font-weight: 600; }
.d-zone.cap { background: var(--bg-2); color: var(--muted); }
.d-mk { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; white-space: nowrap; transition: left .25s ease; pointer-events: none; }
.d-mk b { font-size: 13px; color: var(--ink); }
.d-mk small { font-size: 11px; color: var(--muted); }
.d-mk.comp { top: 0; }
.d-mk.comp::after { content: ''; width: 2px; height: 16px; margin-top: 2px; background: var(--ink-2); border-radius: 2px; }
.d-mk.new { top: 54px; }
.d-mk.new::before { content: ''; width: 14px; height: 14px; margin-bottom: 4px; border-radius: 999px; background: var(--tint); box-shadow: 0 0 0 3px var(--card); }
.d-mk.new b { color: var(--tint); }
.d-mk.new.low b { color: var(--warn); }
.d-mk.new.low::before { background: var(--warn); }
.d-mk.was { top: 48px; width: 2px; height: 26px; background: var(--ink-2); opacity: .3; border-radius: 2px; }
.d-range { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 30px; font-size: 13.5px; color: var(--muted); }
.d-range input { width: 100%; accent-color: var(--tint); }
.d-range output { font-weight: 600; color: var(--ink); min-width: 5.5em; text-align: right; }
.d-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.d-out > div { padding: 11px 13px; border-radius: 12px; background: var(--bg-2); display: flex; flex-direction: column; gap: 2px; }
.d-out small { font-size: 12px; color: var(--muted); }
.d-out b { font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.d-out b.pos, .d-gap b.pos { color: var(--pos); }
.d-out b.warn, .d-gap b.warn { color: var(--warn); }
.d-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.d-legend span::before { content: ''; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.d-legend .c::before { background: var(--c-base); }
.d-legend .m::before { background: var(--tint); }
.d-legend .d-chip { margin-left: auto; }
.d-chart { display: block; width: 100%; height: auto; }
.d-chart text { font-size: 11px; fill: var(--muted); font-family: var(--font); }
.d-chart .g { stroke: var(--line-2); }
.d-chart path { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.d-chart path.c { stroke: var(--c-base); stroke-dasharray: 5 4; }
.d-chart path.m { stroke: var(--tint); }
.d-brake { transition: opacity .4s; }
.d-brake line { stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 3 3; }
.d-brake text { fill: var(--warn); font-weight: 600; }
.d-used { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; padding: 9px 12px; margin-top: 4px !important; color: var(--muted); font-size: 13.5px; text-decoration: line-through; text-decoration-color: var(--line); }
.d-used span:first-child { grid-column: 2; }
.d-used small { grid-column: 2 / -1; text-decoration: none; margin-top: -6px; }
.d-gap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 10px; padding: 11px 14px; border-radius: 12px; background: var(--bg-2); }
.d-gap b { font-size: 16px; }
.d-log { margin-top: 12px !important; display: grid !important; gap: 6px; max-height: 172px; overflow: hidden; }
.d-log li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.d-log li.new { animation: d-in .45s ease; }
.d-log time { font: 600 12.5px/1.6 var(--mono); color: var(--muted); }
.d-chat { display: flex; flex-direction: column; gap: 10px; }
.d-msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; animation: d-in .35s ease; }
.d-msg small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.d-msg.them { align-self: flex-start; background: var(--bg-2); color: var(--ink); border-bottom-left-radius: 5px; }
.d-msg.me { align-self: flex-end; background: var(--tint); color: #fff; border-bottom-right-radius: 5px; transition: background .3s, color .3s, box-shadow .3s; }
.d-msg.me small { color: rgba(255, 255, 255, .75); }
.d-msg.me.draft { background: var(--card); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--tint); }
.d-msg.me.draft small { color: var(--tint); }
.d-msg.typing { display: flex; gap: 4px; padding: 13px 15px; }
.d-msg.typing i { width: 7px; height: 7px; border-radius: 999px; background: var(--muted); animation: d-dot 1s infinite ease-in-out; }
.d-msg.typing i:nth-child(2) { animation-delay: .15s; }
.d-msg.typing i:nth-child(3) { animation-delay: .3s; }
.d-msg.ai { max-width: 100%; }
.d-msg.ai ul { margin: 6px 0 !important; display: grid !important; gap: 4px; }
.d-msg.ai li::before { content: '· '; color: var(--muted); }
.d-msg.ai p + p, .d-msg.ai ul + p { margin-top: 6px !important; }
.d-var { padding: 0 6px; border-radius: 6px; background: var(--gold-bg); color: var(--ink); font-weight: 600; transition: background .3s; }
.d-var.set { background: var(--tint-bg-2); animation: d-pulse .5s ease; }
.d-msg.me:not(.draft) .d-var { background: rgba(255, 255, 255, .18); color: #fff; }
.d-rule { align-self: center; font: 500 12px/1.4 var(--mono); color: var(--tint); background: var(--tint-bg); padding: 5px 10px; border-radius: 8px; text-align: center; animation: d-in .35s ease; }
.d-rule.warn { color: var(--warn); background: var(--warn-bg); }
.d-meters { display: grid; gap: 4px; }
.d-meter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 12px; border-radius: 12px; transition: background .3s; }
.d-meter b { color: var(--ink); font-size: 15px; }
.d-meter i { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 99px; background: var(--line-2); }
.d-meter s { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--pos); transition: width .8s cubic-bezier(.2, .8, .2, 1), background .3s; }
.d-meter u { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink-2); opacity: .55; border-radius: 2px; }
.d-meter small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.d-meter.bad { background: var(--warn-bg); }
.d-meter.bad b { color: var(--warn); }
.d-meter.bad s { background: var(--warn); }
.d-toast { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow), 0 0 0 .5px var(--line), inset 3px 0 0 var(--warn); display: grid; gap: 3px; animation: d-in .4s ease; }
.d-toast b { color: var(--ink); font-size: 14.5px; }
.d-toast span { font-size: 13.5px; }
.d-bars { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 170px; margin: 30px 0 8px; padding-bottom: 1px; border-bottom: .5px solid var(--line); }
.d-bars > span { height: 100%; display: flex; align-items: end; cursor: default; }
.d-bars > span i { width: 100%; height: 0; border-radius: 4px 4px 0 0; background: var(--c-base); transition: height .45s cubic-bezier(.2, .8, .2, 1); }
.d-bars > span.a i { background: var(--tint); }
.d-bars > span.in i { height: var(--h); }
.d-avg { position: absolute; bottom: var(--y); height: 0; border-top: 1.5px dashed var(--ink-2); opacity: 0; transition: opacity .4s; font-style: normal; }
.d-avg.b { left: 0; width: calc(50% - 3px); }
.d-avg.a { right: 0; width: calc(50% - 3px); border-color: var(--tint); }
.d-avg span { position: absolute; right: 0; bottom: 3px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--card); padding: 0 4px; border-radius: 4px; }
.d-avg.a span { color: var(--tint); }
.d-mark { position: absolute; left: 50%; top: -26px; bottom: 0; border-left: 1.5px solid var(--warn); opacity: 0; transition: opacity .4s; font-weight: 400; }
.d-mark span { position: absolute; left: 6px; top: 0; font-size: 12px; font-weight: 600; color: var(--warn); white-space: nowrap; }
.d-avg.in, .d-mark.in { opacity: 1; }
.d-bars ~ .d-out, .d-bars ~ .d-end { opacity: 0; transition: opacity .4s; }
.d-bars ~ .d-out.in, .d-bars ~ .d-end.in { opacity: 1; animation: none; }
.d-feed { display: grid !important; gap: 8px; }
.d-feed li { padding: 11px 13px; border-radius: 14px; background: var(--bg-2); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; animation: d-in .4s ease; }
.d-feed li b { color: var(--ink); font-size: 14px; }
.d-feed li p, .d-feed li small { grid-column: 1 / -1; }
.d-feed li p { font-size: 14px; }
.d-feed li small { font-size: 12px; color: var(--muted); }
.d-feed li.alert { background: var(--warn-bg); }
.d-feed li.alert small { color: var(--warn); font-weight: 600; }
.d-stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.d-stars s { text-decoration: none; color: var(--line); }
.d-ret { font-size: 11.5px; font-weight: 700; color: var(--neg); background: var(--neg-bg); padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.d-win { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 .5px var(--line); }
.d-win-top { padding: 9px 14px; font-size: 13px; background: var(--bg-2); border-bottom: .5px solid var(--line); }
.d-win-top b { color: var(--ink); }
.d-win.hook .d-win-top b { font: 600 12.5px var(--mono); }
.d-win-body { display: grid; gap: 10px; padding: 14px; height: 300px; overflow: auto; align-content: start; scroll-behavior: smooth; }
.d-note { display: grid; gap: 3px; padding: 4px 0 4px 14px; animation: d-in .4s ease; box-shadow: inset 3px 0 0 var(--tint); }
.d-note b { color: var(--ink); font-size: 14.5px; }
.d-note p { font-size: 14px; }
.d-app { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.d-app i { font-style: normal; font-size: 10px; font-weight: 600; color: var(--muted); background: var(--bg-2); padding: 1px 4px; border-radius: 3px; margin-left: 4px; }
.d-link { font-size: 13px; font-weight: 600; color: var(--tint); }
.d-btn { justify-self: start; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--tint); padding: 5px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.d-win.slack .d-note { box-shadow: inset 3px 0 0 #8e4b97; }
.d-win.teams .d-note { padding: 12px 14px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 3px 0 #6264a7; }
.d-win.tg .d-win-body { background: color-mix(in srgb, #2aabee 8%, var(--card)); }
.d-win.tg .d-note { justify-self: start; max-width: 92%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--card); box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.d-json { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); font: 500 12px/1.5 var(--mono); color: var(--ink-2); white-space: pre-wrap; word-break: break-word; animation: d-in .4s ease; }
.d-dup { font-size: 12.5px; color: var(--muted); padding: 6px 10px; border-radius: 8px; border: 1px dashed var(--line); animation: d-in .4s ease; }
.d-tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 6px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); animation: d-in .35s ease; }
.d-tool code { font: 600 12px var(--mono); color: var(--ink-2); background: none; padding: 0; }
.d-spin { width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--line); border-top-color: var(--tint); animation: d-spin .8s linear infinite; }
@keyframes d-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes d-pulse { 50% { transform: scale(1.06); } }
@keyframes d-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes d-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .demo-stage { padding: 14px; }
  .d-zone span { display: none; }
  .d-range { grid-template-columns: minmax(0, 1fr) auto; }
  .d-range input { grid-column: 1 / -1; grid-row: 2; }
  .d-bars { gap: 3px; height: 150px; }
  .d-chart text { font-size: 19px; }
  .d-msg { max-width: 94%; }
}
@media (prefers-reduced-motion: reduce) {
  .demo *, .demo *::before, .demo *::after { animation: none !important; transition: none !important; }
}
/* Strona główna: nowe reguły */
.news { padding: 96px 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.news-item { display: block; padding: 26px; border-radius: var(--r-lg); background: var(--bg-2); color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.news-item:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); text-decoration: none; }
.news-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tint-bg-2); color: var(--tint); margin-bottom: 16px; }
.news-ic .ic { width: 21px; height: 21px; }
.news-item h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -.01em; }
.news-item p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news { padding: 64px 0; } .news-grid { grid-template-columns: minmax(0, 1fr); } }