/* =========================================================
   FinBiz v3 - styl redakcyjny serwisu finansowego.
   Schibsted Grotesk (UI, nagłówki) + Source Serif 4 (treść).
   Granat marki jako tusz i CTA, zieleń dla kwot, złoto jako akcent.
   Bez cieni, cienkie linie, gęsta informacja.
   ========================================================= */
:root {
  --ink: #0F1A33;
  --ink-2: #374156;
  --mute: #6A7286;
  --faint: #9AA1B2;
  --navy: #0D1B3D;
  --navy-2: #1B2C57;
  --gold: #E9AE32;
  --gold-soft: #FBF1DA;
  --money: #0A7A48;
  --money-soft: #E8F4EE;
  --warn: #B4361F;
  --warn-soft: #FBEBE7;
  --line: #E4E6EB;
  --line-2: #CDD1DA;
  --panel: #F5F6F8;
  --bg: #FFFFFF;
  --link: #1D4ED8;
  --r: 8px;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
  --g: clamp(16px, 4vw, 28px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.wrap-narrow { max-width: 760px; }
.muted { color: var(--mute); }
.center { text-align: center; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.eyebrow, .kicker { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--mute); }
.sec-title { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin: 0 0 4px; display: flex; justify-content: space-between; align-items: baseline; }
.sec-title a { font-size: .78rem; letter-spacing: 0; text-transform: none; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 6px; border: 1px solid transparent; font-weight: 600; font-size: .92rem; line-height: 1.2; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { text-decoration: none; }
.btn svg { width: 16px; height: 16px; }
.btn-primary, .btn-gold { background: var(--navy); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: var(--navy-2); color: #fff; }
.btn-ink { background: var(--navy); color: #fff; }
.btn-ink:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 13px 20px; font-size: 1rem; }
.btn-block { width: 100%; }
.arrow::after { content: " →"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-weight: 800; font-size: 1.32rem; letter-spacing: -0.035em; line-height: 1; }
.brand-name b { color: var(--gold); font-weight: 800; }
.nav { display: none; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav .nav-link { display: inline-flex; align-items: center; gap: 4px; height: 64px; padding: 0 10px; border: 0; background: none; font-weight: 500; font-size: .93rem; color: var(--ink-2); border-bottom: 2px solid transparent; }
.nav .nav-link:hover { color: var(--ink); text-decoration: none; }
.nav .nav-link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); font-weight: 600; }
.nav .caret { width: 14px; height: 14px; }
.mega { position: absolute; top: 100%; left: 0; width: 480px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transition: .12s; box-shadow: 0 12px 30px rgba(15,26,51,.08); }
.nav li:hover > .mega, .nav li:focus-within > .mega { opacity: 1; visibility: visible; }
.mega a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); }
.mega a:hover { background: var(--panel); text-decoration: none; }
.mega strong { display: block; font-size: .92rem; font-weight: 600; }
.mega span { display: block; font-size: .8rem; color: var(--mute); line-height: 1.35; }
.header-cta { display: none; margin-left: auto; }
.menu-toggle { margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; display: inline-grid; place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }
.hsearch { display: none; }
@media (min-width: 1060px) { .nav { display: block; } .header-cta { display: inline-flex; } .menu-toggle { display: none; } }

.mobile-nav { position: fixed; inset: 0; z-index: 80; background: #fff; padding: 10px var(--g) 40px; overflow-y: auto; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav .mn-head { display: flex; justify-content: space-between; align-items: center; height: 54px; margin-bottom: 8px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.mobile-nav li a svg { width: 16px; }
.mobile-nav .mn-sub a { font-weight: 400; padding-left: 14px; color: var(--ink-2); }
.mobile-nav .btn { margin-top: 20px; }
.mobile-nav .search { margin-bottom: 6px; }
body.nav-open { overflow: hidden; }

/* Masthead (home) */
.masthead { border-bottom: 1px solid var(--line); }
.masthead .wrap { padding-top: clamp(28px, 4vw, 44px); padding-bottom: 24px; }
.masthead .date { font-size: .84rem; color: var(--mute); margin-bottom: 8px; }
.masthead h1 { margin-bottom: 12px; }
.masthead .summary { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 1.02rem; color: var(--ink-2); margin-bottom: 10px; }
.masthead .summary b { color: var(--ink); }
.masthead .summary .money { color: var(--money); }
.masthead .note { font-family: var(--serif); font-size: 1rem; color: var(--ink-2); max-width: 720px; margin: 0; }

/* Two-column home grid */
.home-grid { display: grid; gap: 40px; padding: 32px 0 56px; }
@media (min-width: 1000px) { .home-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.home-grid > * { min-width: 0; }

/* Featured (Na czasie) */
.featured { display: grid; gap: 20px; padding: 20px 0 26px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .featured { grid-template-columns: 220px minmax(0, 1fr); gap: 26px; } }
.featured .art { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; position: relative; }
.featured .art .amt { font-weight: 800; font-size: 2.6rem; letter-spacing: -0.04em; color: var(--money); line-height: 1; }
.featured .art .bank-line { position: absolute; left: 14px; top: 12px; }
.featured .art .cap { position: absolute; left: 14px; bottom: 12px; font-size: .78rem; color: var(--mute); }
.featured h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 6px 0 8px; }
.featured h2 a { color: var(--ink); }
.featured p { color: var(--ink-2); margin-bottom: 12px; }
.metaline { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .84rem; color: var(--mute); margin-bottom: 14px; }
.metaline b { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Status tags */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--money); }
.status.end::before { background: var(--warn); }
.status.new::before { background: var(--gold); }
.status.check::before { background: var(--link); }
.status.end { color: var(--warn); }
.datetag { font-size: .8rem; color: var(--mute); }
.tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }

/* Feed */
.feed { list-style: none; margin: 0; padding: 0; }
.fitem { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fitem h3 { font-size: 1.12rem; margin: 6px 0 4px; line-height: 1.3; }
.fitem h3 a { color: var(--ink); }
.fitem .lede { font-weight: 600; color: var(--ink); font-size: .95rem; margin: 0 0 4px; }
.fitem p { color: var(--ink-2); font-size: .93rem; margin: 0 0 8px; }
.fitem .links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .88rem; font-weight: 600; }
.fitem .side-amt { text-align: right; min-width: 108px; }
.fitem .side-amt .amt { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--money); white-space: nowrap; }
.fitem .side-amt small { display: block; font-size: .74rem; color: var(--mute); }
.fitem .side-amt .bl { margin-top: 10px; display: flex; justify-content: flex-end; }
.more { margin-top: 18px; }

/* Bank marker (kolor marki + nazwa) */
.bk { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.bk i { width: 10px; height: 10px; border-radius: 2px; background: var(--c, var(--navy)); flex: none; }
.bk.lg { font-size: 1.05rem; }
.bk.lg i { width: 12px; height: 12px; }
.bm { --c: var(--navy); width: 40px; height: 40px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: -0.01em; }
.bm.sm { width: 30px; height: 30px; font-size: .68rem; border-radius: 6px; }
.bm.lg { width: 56px; height: 56px; font-size: 1.05rem; border-radius: 10px; }
.wm { font-weight: 700; color: var(--ink); }

/* Sidebar widgets */
.widget { margin-bottom: 34px; }
.ending { list-style: none; margin: 0; padding: 0; }
.ending li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ending .days { text-align: center; border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 0; line-height: 1.1; }
.ending .days b { display: block; font-size: 1.2rem; font-weight: 800; }
.ending .days span { font-size: .66rem; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; }
.ending .days.hot { border-color: var(--warn); color: var(--warn); }
.ending a { color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.3; }
.ending small { display: block; color: var(--mute); font-size: .8rem; }
.rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.rank li::before { content: counter(r); font-weight: 800; color: var(--faint); font-variant-numeric: tabular-nums; }
.rank li:first-child::before { color: var(--gold); }
.rank a { color: var(--ink); font-weight: 600; line-height: 1.3; }
.rank .sc { display: block; font-size: .78rem; color: var(--mute); font-weight: 400; }
.rank .v { font-weight: 700; color: var(--money); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wlink { display: inline-block; margin-top: 10px; font-size: .88rem; font-weight: 600; }
.method { background: var(--panel); border-radius: var(--r); padding: 18px 20px; }
.method h3 { font-size: 1rem; margin-bottom: 6px; }
.method p { font-size: .9rem; color: var(--ink-2); margin-bottom: 8px; }

/* How we count */
.how { display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 800px) { .how { grid-template-columns: repeat(4, 1fr); } }
.how > div { padding: 20px 20px 4px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .how > div { border-bottom: 0; border-right: 1px solid var(--line); padding: 20px 22px 8px; } .how > div:first-child { padding-left: 0; } .how > div:last-child { border-right: 0; } }
.how .n { font-size: .8rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
.how h3 { font-size: 1.02rem; margin: 6px 0 6px; }
.how p { font-size: .9rem; color: var(--ink-2); }

.section { padding: clamp(40px, 6vw, 64px) 0; }
.section-tight { padding: clamp(28px, 4vw, 40px) 0; }
.paper, .panel { background: var(--panel); }

/* Page head */
.phead { border-bottom: 1px solid var(--line); }
.phead .wrap { padding-top: 20px; padding-bottom: 26px; }
.phead h1 { margin: 14px 0 10px; max-width: 900px; }
.phead .lead { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-2); max-width: 760px; margin: 0 0 14px; line-height: 1.55; }
.crumbs { font-size: .82rem; color: var(--mute); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--faint); }
.crumbs a { color: var(--mute); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: .84rem; color: var(--mute); }
.byline b, .byline a { color: var(--ink); font-weight: 600; }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--money); font-weight: 600; }
.verified svg { width: 14px; height: 14px; }
.disclose { font-size: .78rem; color: var(--mute); margin: 8px 0 0; }
.disclose a { color: var(--ink-2); text-decoration: underline; }

/* Layout */
.layout { display: grid; gap: 36px; padding: 30px 0 72px; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.layout > * { min-width: 0; }
.side { align-content: start; display: grid; gap: 24px; }
@media (min-width: 1000px) { .side .sticky { position: sticky; top: 84px; display: grid; gap: 24px; } }
@media (max-width: 999px) { .layout > .side { order: 2; } .side .toc { display: none; } }
.toc h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--mute); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: .88rem; color: var(--ink-2); line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--gold); text-decoration: none; }
.box { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: #fff; }
.box h3, .box h4 { font-size: 1rem; margin-bottom: 10px; }
.box > div { min-width: 0; }
.box.gold, .box.panel { background: var(--panel); border-color: var(--panel); }
.box.ink { background: var(--navy); color: #C9D0DE; border-color: var(--navy); }
.box.ink h4 { color: #fff; }
.box .link-arrow { white-space: normal; }
.link-arrow { font-weight: 600; }
.link-arrow::after { content: " →"; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .94rem; line-height: 1.45; }
.dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.dot svg { width: 11px; height: 11px; stroke-width: 3; }
.dot.g { background: var(--money-soft); color: var(--money); }
.dot.r { background: var(--warn-soft); color: var(--warn); }

/* Offer card (lista w rankingu) */
.offers { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.ocard-row { display: grid; gap: 14px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .ocard-row { grid-template-columns: 40px minmax(0, 1fr) 210px; } }
.ocard-row .pos { font-weight: 800; font-size: 1.3rem; color: var(--faint); font-variant-numeric: tabular-nums; line-height: 1.2; }
.ocard-row.is-top .pos { color: var(--gold); }
.ocard-row .label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.ocard-row h3 { font-size: 1.15rem; margin: 6px 0 6px; line-height: 1.3; }
.ocard-row h3 a { color: var(--ink); }
.ocard-row .desc { color: var(--ink-2); font-size: .93rem; margin: 0 0 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .84rem; color: var(--mute); }
.facts b { color: var(--ink); font-weight: 600; }
.ocard-row .aside { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 760px) { .ocard-row .aside { align-items: stretch; text-align: right; } }
.ocard-row .amt { font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; color: var(--money); line-height: 1; white-space: nowrap; }
.ocard-row .amt small { display: block; font-size: .74rem; font-weight: 500; color: var(--mute); letter-spacing: 0; margin-top: 4px; }
.score-inline { font-size: .84rem; color: var(--mute); }
.score-inline b { color: var(--ink); font-size: 1rem; }
.pc { display: grid; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
@media (min-width: 640px) { .pc { grid-template-columns: 1fr 1fr; } }
.pc h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--mute); margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--panel); color: var(--ink-2); white-space: nowrap; }
.tag.red { background: var(--warn-soft); color: var(--warn); }
.tag.green { background: var(--money-soft); color: var(--money); }
.tag.gold { background: var(--gold-soft); color: #7A5A12; }

/* Compact cards */
.offer-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ocard { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.ocard:hover { border-color: var(--line-2); }
.ocard .amt { font-weight: 800; font-size: 1.5rem; color: var(--money); letter-spacing: -0.03em; line-height: 1; }
.ocard h3 { font-size: .98rem; margin: 0; line-height: 1.3; }
.ocard h3 a { color: var(--ink); }
.ocard p { font-size: .86rem; color: var(--ink-2); margin: 0; line-height: 1.45; }
.ocard .btn { margin-top: auto; }

.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.table-wrap th, .table-wrap td { padding: 11px 12px 11px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--mute); font-weight: 700; }
.table-wrap td a { color: var(--ink); font-weight: 600; }
.table-wrap td.money { color: var(--money); font-weight: 700; white-space: nowrap; }

/* Prose */
.prose { font-family: var(--serif); font-size: 1.1rem; line-height: 1.72; color: #1C2539; }
.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 0; }
.prose h2, .prose h3 { font-family: var(--sans); }
.prose h2 { font-size: clamp(1.35rem, 2.3vw, 1.65rem); margin-top: 1.9em; scroll-margin-top: 84px; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; scroll-margin-top: 84px; }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: 0; }
.prose li + li { margin-top: .35em; }
.prose strong { font-weight: 650; color: var(--ink); }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose .table-wrap, .prose .offer-grid, .prose .cta-box, .prose .tip, .prose .faq { font-family: var(--sans); margin-top: 1.6em; margin-bottom: 1.6em; }
.prose .table-wrap table { font-size: .9rem; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1.4em 0; padding-left: 18px; color: var(--ink-2); }
.prose code { font-family: ui-monospace, monospace; font-size: .88em; background: var(--panel); padding: 1px 5px; border-radius: 4px; white-space: pre-wrap; }
.tip { display: block; background: var(--gold-soft); border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; font-size: .97rem; line-height: 1.55; }
.tip .ti { display: none; }
.tip strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: #7A5A12; margin-bottom: 4px; }
.cta-box { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: grid; gap: 12px; background: var(--panel); }
.cta-box h3 { margin: 0; font-size: 1.1rem; }
.cta-box p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.cta-box .btn { justify-self: start; }
@media (min-width: 720px) { .cta-box { grid-template-columns: 1fr auto; align-items: center; } .cta-box .btn { justify-self: end; } }

/* Review (strona oferty) */
.review-head { display: grid; gap: 24px; }
@media (min-width: 960px) { .review-head { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; } }
.review-head > * { min-width: 0; }
.summary-card { border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: #fff; }
.summary-card .top { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.summary-card .amt { font-weight: 800; font-size: 2.6rem; letter-spacing: -0.04em; color: var(--money); line-height: 1; margin-top: 6px; }
.summary-card .amt small { font-size: 1.1rem; }
.summary-card dl { margin: 0; padding: 4px 20px; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.summary-card dl div:last-child { border-bottom: 0; }
.summary-card dt { color: var(--mute); flex: none; }
.summary-card dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.summary-card .cta { padding: 16px 20px 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--panel); }
.summary-card .fine { font-size: .74rem; color: var(--mute); margin: 0; line-height: 1.45; }
.countdown { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .84rem; color: var(--warn); }
.countdown svg { width: 15px; height: 15px; }
.block { margin-bottom: 44px; }
.block > h2 { scroll-margin-top: 84px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; padding-top: 1px; }
.steps strong { display: block; font-weight: 600; }
.steps span { color: var(--ink-2); font-size: .95rem; }
.rating { display: grid; gap: 18px; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.rating-top { display: flex; align-items: center; gap: 16px; }
.rating-top .big { font-weight: 800; font-size: 2.4rem; letter-spacing: -0.04em; line-height: 1; }
.rating-top .big small { font-size: 1rem; color: var(--mute); font-weight: 500; }
.bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; width: 160px; }
.bar i { display: block; height: 100%; background: var(--money); }
.fees { width: 100%; border-collapse: collapse; font-size: .93rem; border-top: 2px solid var(--ink); }
.fees th, .fees td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fees th { width: 34%; font-weight: 600; color: var(--ink-2); }
.fees td { overflow-wrap: anywhere; }
details.more-info { border-top: 1px solid var(--line); }
details.more-info > summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; }
details.more-info > summary::-webkit-details-marker { display: none; }
details.more-info > summary::after { content: "+"; font-weight: 500; color: var(--mute); font-size: 1.3rem; line-height: 1; }
details.more-info[open] > summary::after { content: "-"; }
details.more-info > div { padding-bottom: 20px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .2s; }
.sticky-cta.show { transform: none; }
.sticky-cta .sc-t { flex: 1; min-width: 0; }
.sticky-cta .sc-t b { display: block; font-size: 1.1rem; color: var(--money); font-weight: 800; }
.sticky-cta .sc-t span { display: block; font-size: .78rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* FAQ */
.faq { display: grid; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 36px 15px 0; font-weight: 600; position: relative; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 1.3rem; color: var(--mute); font-weight: 400; }
.faq details[open] summary::after { content: "-"; }
.faq .a { padding: 0 0 16px; color: var(--ink-2); line-height: 1.65; font-size: .97rem; }
.faq .a p:last-child { margin-bottom: 0; }

/* Filters */
.filters { display: grid; gap: 18px; }
.filter-group h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--mute); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip, .pill { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: .84rem; font-weight: 500; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.chip:hover, .pill:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .c { opacity: .6; font-size: .76rem; }
.search { position: relative; }
.search input { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 12px 0 38px; font: inherit; font-size: .93rem; }
.search svg { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; color: var(--mute); }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .92rem; }
.select { appearance: none; height: 38px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 34px 0 12px; font: inherit; font-size: .88rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230F1A33' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.empty { text-align: center; padding: 36px 16px; color: var(--mute); border-bottom: 1px solid var(--line); }

/* Calculator */
.calc { display: grid; gap: 24px; }
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.calc > * { min-width: 0; }
.calc-list { border-top: 2px solid var(--ink); }
.calc-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.calc-item.on { background: var(--money-soft); }
.calc-item input { width: 18px; height: 18px; accent-color: var(--navy); }
.calc-item .t strong { display: block; font-size: .94rem; font-weight: 600; }
.calc-item .t span { font-size: .8rem; color: var(--mute); }
.calc-item .v { font-weight: 700; color: var(--money); white-space: nowrap; }
.calc-total { position: sticky; top: 84px; }
.calc-total .sum { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 6px 0; color: #fff; }
.calc-total ul a { color: #fff; }

/* Banks */
.banks { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: 2px solid var(--ink); }
.bank-tile { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.bank-tile:hover { text-decoration: none; background: var(--panel); }
.bank-tile span { font-size: .84rem; color: var(--mute); }

/* Posts */
.posts { display: grid; gap: 26px 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.post { color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.post:hover { text-decoration: none; }
.post:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.post-cover { display: none; }
.post .kicker { font-size: .7rem; color: var(--gold); }
.post h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.post p { font-family: var(--serif); font-size: .96rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
.post .by { font-size: .8rem; color: var(--mute); }
.alist { list-style: none; margin: 0; padding: 0; }
.alist li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.alist .kicker { font-size: .68rem; color: var(--gold); }
.alist a { color: var(--ink); font-weight: 600; line-height: 1.35; display: block; margin-top: 2px; }

/* Newsletter */
.newsletter { border-top: 2px solid var(--ink); padding-top: 22px; display: grid; gap: 14px; }
@media (min-width: 860px) { .newsletter { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } }
.newsletter h2 { margin: 0 0 4px; }
.newsletter p { margin: 0; color: var(--ink-2); }
.newsletter form { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter input { flex: 1 1 220px; height: 46px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 14px; font: inherit; }
.newsletter .fine { flex-basis: 100%; font-size: .76rem; color: var(--mute); }

.form { display: grid; gap: 14px; font-family: var(--sans); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form textarea, .form select { border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 12px; font: inherit; background: #fff; }
.form textarea { min-height: 140px; }
.notice { background: var(--money-soft); border-radius: 6px; padding: 12px 14px; }

/* Footer */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; padding: 48px 0 28px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.f-top { display: grid; gap: 28px; }
@media (min-width: 860px) { .f-top { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.f-top .brand { margin-bottom: 10px; }
.f-top p { max-width: 300px; color: var(--mute); }
.f-top h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink); margin-bottom: 12px; }
.f-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); background: #fff; }
.social svg { width: 15px; height: 15px; }
.f-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: .76rem; line-height: 1.6; color: var(--mute); display: grid; gap: 8px; }
.f-legal a { text-decoration: underline; }
.f-legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--ink-2); }

.disclaimer { font-family: var(--sans); font-size: .8rem; color: var(--mute); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2.4em; }
.grid-2 { display: grid; gap: 28px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 56px; } }
.grid-2 > * { min-width: 0; }
.pill-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-link { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: .84rem; color: var(--ink-2); background: #fff; }
.pill-link:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.legal-page .prose h2 { font-size: 1.25rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .sticky-cta, .side { display: none !important; } }
.layout > .side { order: 2; }
@media (min-width: 760px) { .ocard-row { grid-template-columns: 40px minmax(0, 1fr) 190px; } }
@media (max-width: 719px) { .featured .art { aspect-ratio: 16/7; } }

/* ---------- Pasek promocji (wszystkie strony) ---------- */
.promo-bar { background: var(--navy); color: #fff; font-size: .88rem; }
.promo-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 6px 14px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.promo-bar b { color: var(--gold); }
.promo-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.promo-bar .pb-tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 2px 7px; border-radius: 3px; }

/* ---------- Spotlight (strona główna, ranking) ---------- */
.spotlight { border: 1px solid var(--line-2); border-left: 4px solid var(--gold); border-radius: var(--r); background: #fff; display: grid; gap: 20px; padding: 22px 24px; }
@media (min-width: 900px) { .spotlight { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 32px; } }
.spotlight h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 8px 0 6px; }
.spotlight h2 a { color: var(--ink); }
.spotlight p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.sp-break { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.sp-break li { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.sp-break li:last-child { border-bottom: 0; font-weight: 700; }
.sp-break b { color: var(--money); white-space: nowrap; }
.sp-actions { display: grid; gap: 8px; min-width: 220px; }
.spotlight-wrap { padding: 26px 0 0; }

/* ---------- Podstrona-poradnik ---------- */
.guide-head { background: linear-gradient(180deg, #FFF9EC 0%, #fff 100%); }
.split3 { display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 720px) { .split3 { grid-template-columns: repeat(3, 1fr); } }
.split3 > div { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .split3 > div { border-bottom: 0; border-right: 1px solid var(--line); padding: 16px 20px; } .split3 > div:first-child { padding-left: 0; } .split3 > div:last-child { border-right: 0; } }
.split3 b { display: block; font-size: 2rem; font-weight: 800; color: var(--money); letter-spacing: -0.03em; line-height: 1.1; margin: 4px 0 6px; }
.split3 p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.note-line { margin-top: 14px; font-size: .95rem; color: var(--ink-2); background: var(--panel); border-radius: 6px; padding: 12px 14px; }
.gcalc { display: grid; gap: 22px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px; }
@media (min-width: 820px) { .gcalc { grid-template-columns: 1fr 1.1fr; gap: 32px; } }
.gcalc > * { min-width: 0; }
.gcalc-in { display: grid; gap: 18px; align-content: start; }
.gcalc-in label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; }
.gcalc-in input[type=range] { width: 100%; accent-color: var(--navy); }
.gcheck { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; }
.gcheck input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.gsum { font-size: 2.6rem; font-weight: 800; color: var(--money); letter-spacing: -0.04em; line-height: 1; margin: 4px 0 14px; }
.gtable { width: 100%; border-collapse: collapse; font-size: .88rem; }
.gtable th, .gtable td { text-align: left; padding: 7px 8px 7px 0; border-bottom: 1px solid var(--line); }
.gtable th { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--mute); }
.gtable td.money { color: var(--money); font-weight: 700; white-space: nowrap; }
.big-steps li { padding: 16px 0; }
.big-steps strong { font-size: 1.02rem; margin-bottom: 3px; }
.big-steps span { font-family: var(--serif); font-size: 1.02rem; line-height: 1.6; }
.defs { display: grid; gap: 18px; }
@media (min-width: 820px) { .defs { grid-template-columns: repeat(3, 1fr); } }
.defs > div { border-top: 2px solid var(--ink); padding-top: 12px; }
.defs h3 { font-size: 1rem; margin-bottom: 10px; }
.pitfalls { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.pitfalls li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); position: relative; font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; color: var(--ink-2); }
.pitfalls li::before { content: "!"; position: absolute; left: 0; top: 14px; width: 17px; height: 17px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); font: 700 .72rem/17px var(--sans); text-align: center; }
.pitfalls b { font-family: var(--sans); color: var(--ink); font-weight: 600; }
.prose-p { font-family: var(--serif); font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); }
.cta-final { background: var(--panel); border-radius: var(--r); padding: 26px; }
.cta-final h2 { margin-top: 0; }
.guide-callout { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; background: var(--gold-soft); border-radius: var(--r); padding: 16px 20px; margin-bottom: 32px; }
.guide-callout p { margin: 0; font-weight: 600; }

/* Zrzut strony banku w ramce przeglądarki */
.shot { margin: 18px 0 6px; }
.shot-frame { display: block; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -24px rgba(15,26,51,.35); transition: box-shadow .15s; }
.shot-frame:hover { box-shadow: 0 22px 48px -22px rgba(15,26,51,.45); text-decoration: none; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--panel); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.shot-url { margin-left: 8px; font-size: .74rem; color: var(--mute); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.shot img { width: 100%; height: auto; }
.shot figcaption { font-size: .78rem; color: var(--mute); margin-top: 8px; }
.hero-banner { display: block; margin: 18px 0 4px; border-radius: 10px; overflow: hidden; }
.hero-banner img { width: 100%; height: auto; transition: transform .25s; }
.hero-banner:hover img { transform: scale(1.01); }

/* Baner cookies */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; }
.cookie-bar[hidden] { display: none; }
.cb-in { max-width: 760px; width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 18px 50px -12px rgba(15,26,51,.35); padding: 16px 18px; display: grid; gap: 12px; }
@media (min-width: 720px) { .cb-in { grid-template-columns: 1fr auto; align-items: center; gap: 20px; } }
.cb-in p { margin: 0; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.cb-in p strong { display: block; color: var(--ink); margin-bottom: 2px; }
.cb-act { display: flex; gap: 8px; flex-wrap: wrap; }
.cb-act .btn { padding: 9px 14px; font-size: .88rem; }
.nl-consent { display: flex; gap: 8px; align-items: flex-start; flex-basis: 100%; font-size: .8rem; color: var(--mute); }
.nl-consent input { margin-top: 3px; accent-color: var(--navy); }
