:root {
  --brand: #1b34ff; --brand-dark: #1226d6; --ink: #0d1b2a; --muted: #64748b;
  --line: #e2e8f0; --bg: #f8fafc;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.back { font-weight: 700; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { position: relative; display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 45px; width: auto; display: block; }
.search { flex: 1; max-width: 420px; margin: 0 auto; display: flex; align-items: center; gap: 8px;
  border: 1px solid #cbd5e1; border-radius: 999px; padding: 8px 16px; color: #94a3b8; font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 14px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .mobile-only { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 22px; cursor: pointer; color: var(--ink); }

/* desktop "Compare" dropdown */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; padding: 21px 0; margin: -21px 0; }
.nav-dd-toggle:hover { color: var(--ink); }
.nav-dd-toggle .bi { font-size: 12px; transition: transform .15s; }
.nav-dropdown:hover .nav-dd-toggle .bi { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgba(15,23,42,.16); padding: 6px; display: none; flex-direction: column; z-index: 50; }
.nav-dropdown:hover .nav-dd-menu { display: flex; }
.nav-dd-menu a { padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.nav-dd-menu a:hover { background: #f1f5f9; color: var(--brand); }
@media (max-width: 860px) {
  .search { display: none; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 28px rgba(15,23,42,.14); padding: 8px 0; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 20px; }
  .nav-links .mobile-only { display: block; }
  .desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* hero */
.hero { background: var(--brand); color: #fff; }
.hero .container { padding-top: 48px; padding-bottom: 56px; }
.hero .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #bfdbfe; }
.hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; font-style: italic; letter-spacing: -.02em; margin-top: 8px; }
.hero p { margin-top: 12px; color: #dbe4ff; max-width: 640px; }
.hero a { color: #fff; }
.crumb { font-size: 14px; color: #bfdbfe; }
.crumb a { color: #dbe4ff; }

/* layout */
main.container { padding-top: 32px; padding-bottom: 40px; }
.section-title { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-weight: 700;
  cursor: pointer; text-align: center; border-radius: 9px; padding: 10px 16px; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; border-color: #cbd5e1; color: var(--ink); }
.btn-outline:hover { background: #f1f5f9; }
.btn-block { display: block; width: 100%; }
.btn-pill { border-radius: 999px; border: 2px solid var(--brand); color: var(--brand); background: #fff; padding: 6px 16px; font-weight: 700; cursor: pointer; }
.btn-pill:hover { background: var(--brand); color: #fff; }

/* badges */
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #f1f5f9; color: #475569; }
.badge .bi { font-size: 12px; }
.badge.sponsored { background: #fef3c7; color: #92660a; }
.badge.guarantee { background: #dcfce7; color: #166534; }

/* offer card */
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(15,23,42,.04); overflow: hidden; }
.offer-card .body { padding: 22px; }
.offer-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.offer-headings { flex: 1 1 auto; min-width: 200px; }
.offer-title { font-size: 18px; font-weight: 800; line-height: 1.2; }
.offer-title a:hover { color: var(--brand); }
.offer-body-grid { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.offer-body-grid .stats { flex: 1 1 auto; }
.offer-actions { margin-left: auto; display: flex; gap: 8px; }
.offer-bonus { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 14px;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; border-radius: 9px; padding: 10px 16px; }
.offer-bonus .bi { font-size: 16px; flex: none; }

/* pros / cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; margin-top: 20px; border-top: 1px solid #f1f5f9; padding-top: 16px; }
.proscons h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #475569; margin-bottom: 6px; }
.proscons ul { list-style: none; margin: 0; padding: 0; }
.proscons li { display: flex; gap: 8px; font-size: 14px; margin: 6px 0; color: #334155; }
.proscons li .bi { flex: none; margin-top: 2px; font-size: 15px; }
.proscons .pros li .bi { color: #16a34a; }
.proscons .cons li .bi { color: #dc2626; }
@media (max-width: 560px) { .proscons { grid-template-columns: 1fr; } }

/* detail header row */
.detail-top { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-bottom: 8px; }
.stats.wide { grid-template-columns: repeat(4, auto); margin-top: 18px; }
@media (max-width: 640px) { .stats.wide { grid-template-columns: repeat(2, auto); } }

/* logo */
.logo { position: relative; width: 128px; height: 52px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none; }
.logo span { font-weight: 800; color: #64748b; font-size: 20px; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px 10px; }
.logo.lg { width: 160px; height: 64px; }
.logo.lg span { font-size: 24px; }

/* rate — big blue figure with a soft shadow (no box) */
.rate-block { flex: none; text-align: center; }
.rate-figure { font-size: 46px; font-weight: 800; line-height: .95; letter-spacing: -.03em; color: var(--brand);
  text-shadow: 0 1px 0 rgba(13,27,42,.18), 0 6px 18px rgba(27,52,255,.22); }
.rate-figure .pct { font-size: 24px; font-weight: 800; vertical-align: 6px; margin-left: 2px; }
.rate-figure.lg { font-size: 64px; }
.rate-figure.lg .pct { font-size: 32px; vertical-align: 12px; }
.rate-sub { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* editorial score chip */
.score-chip { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 64px; padding: 8px 10px; border-radius: 12px; background: #eef1ff; border: 1px solid #d6dcff; }
.score-chip .score-num { font-size: 20px; font-weight: 800; color: var(--brand); line-height: 1; }
.score-chip .score-lbl { font-size: 10px; font-weight: 700; color: #5560d0; text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.score-chip.lg { min-width: 76px; padding: 10px 14px; }
.score-chip.lg .score-num { font-size: 26px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 12px 32px; margin: 0; }
.stats dt { font-size: 12px; color: #94a3b8; }
.stats dd { margin: 0; font-weight: 700; }

/* "why we like it" */
.why { background: #eff6ff; border-top: 1px solid #dbeafe; padding: 16px 22px; }
.why h4 { font-size: 14px; font-weight: 800; }
.why p { margin: 4px 0 0; font-size: 14px; color: #475569; }

/* detail */
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(15,23,42,.04); padding: 24px; }
.aside { position: sticky; top: 80px; height: fit-content; }
.rate-big { font-size: 30px; font-weight: 800; color: var(--brand); }
.prose { border-top: 1px solid #f1f5f9; margin-top: 20px; padding-top: 16px; }
.prose h2 { font-weight: 800; font-size: 18px; margin: 18px 0 6px; }
.prose p { margin: 10px 0; color: #475569; }
.prose ul { padding-left: 20px; color: #475569; }
@media (max-width: 768px) { .detail-grid { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, auto); } }

/* form + modal */
dialog { border: 0; border-radius: 18px; padding: 0; width: 92%; max-width: 440px; }
dialog::backdrop { background: rgba(15,23,42,.5); }
.modal-body { padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; }
.modal-close { background: none; border: 0; font-size: 22px; line-height: 1; color: #94a3b8; cursor: pointer; }
.reg-form { display: flex; flex-direction: column; gap: 14px; }
.reg-form .row label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.reg-form input[type=text], .reg-form input[type=email], .reg-form input[type=tel] {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 9px; padding: 10px 12px; font: inherit; }
.reg-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27,52,255,.15); }
.reg-form .check { display: flex; gap: 10px; font-size: 14px; color: #475569; }
.reg-form .check input { margin-top: 3px; accent-color: var(--brand); }
.field-error { color: #dc2626; font-size: 12px; margin-top: 4px; }
.field-hint { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.field-hint .bi { color: #16a34a; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 14px; border-radius: 9px; padding: 8px 12px; margin: 0; list-style: none; }
.fineprint { font-size: 12px; color: #94a3b8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg-success { text-align: center; padding: 8px 0; }
.reg-success .success-icon .bi { font-size: 44px; color: var(--brand); }
.iti { width: 100%; }

/* benchmark rates */
.rate-strip { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 24px; }
.rate-strip-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rate-strip-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.rate-strip-title .bi { color: var(--brand); font-size: 16px; }
.rate-strip-link { font-weight: 700; font-size: 14px; }
.rate-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.rate-tiles.wide { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 24px; }
.rate-tile { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.rate-tile-val { font-size: 22px; font-weight: 800; color: var(--brand); }
.rate-tile-name { font-size: 13px; font-weight: 700; margin-top: 2px; }
.rate-tile-asof { font-size: 11px; color: #94a3b8; margin-top: 4px; }

/* filter bar */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.filterbar input[type=search], .filterbar select { border: 1px solid #cbd5e1; border-radius: 9px; padding: 9px 12px; font: inherit; background: #fff; }
.filterbar input[type=search] { flex: 1 1 220px; }
.filterbar .chk { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #475569; white-space: nowrap; }
.filterbar .chk input { accent-color: var(--brand); }

/* compare toggle on cards — modern custom checkbox */
.offer-actions { align-items: center; }
.cmp-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted);
  cursor: pointer; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; user-select: none;
  transition: border-color .12s, color .12s, background .12s; }
.cmp-toggle:hover { border-color: #c7d2fe; color: var(--ink); }
.cmp-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cmp-box { width: 22px; height: 22px; border: 2px solid #cbd5e1; border-radius: 7px; display: grid; place-items: center; transition: .12s; flex: none; }
.cmp-box .bi { color: #fff; font-size: 14px; opacity: 0; transition: .12s; }
.cmp-toggle input:checked ~ .cmp-box { background: var(--brand); border-color: var(--brand); }
.cmp-toggle input:checked ~ .cmp-box .bi { opacity: 1; }
.cmp-toggle:has(input:checked) { border-color: var(--brand); color: var(--brand); background: #f5f7ff; }

/* compare tray */
.compare-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 50;
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 16px 40px -8px rgba(15,23,42,.28); border-radius: 16px; padding: 12px 14px 12px 18px; max-width: 94vw; }
.compare-bar[hidden] { display: none; }
.compare-bar strong { font-size: 14px; white-space: nowrap; }
.compare-chips { display: flex; gap: 6px; overflow: hidden; max-width: 42vw; }
.compare-chips .chip { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: #eef1ff; color: #3540b0; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.btn.disabled { opacity: .5; pointer-events: none; }
@media (max-width: 680px) { .compare-chips { display: none; } }

/* compare table */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: #f8fafc; }
.compare-table tbody th { font-weight: 700; color: var(--muted); font-size: 13px; white-space: nowrap; }
.compare-table .rate-cell { color: var(--brand); font-weight: 800; font-size: 18px; }
.compare-table .logo { margin-bottom: 6px; }

/* guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.guide-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.guide-card:hover { border-color: #c7d2fe; }
.guide-card h3 { font-size: 18px; font-weight: 800; }
.guide-card p { color: #475569; font-size: 14px; margin: 8px 0 0; }
.guide-more { color: var(--brand); font-weight: 700; font-size: 14px; display: inline-block; margin-top: 10px; }
.article-body { max-width: 720px; }
.article-body h2 { font-size: 22px; font-weight: 800; margin: 24px 0 8px; }
.article-body h3 { font-size: 18px; font-weight: 800; margin: 18px 0 6px; }
.article-body p { margin: 12px 0; color: #334155; }
.article-body ul, .article-body ol { color: #334155; padding-left: 20px; }
.article-body li { margin: 6px 0; }

/* page intro block */
.page-intro { background: linear-gradient(135deg, #0f1b6b, #1b34ff); color: #fff; border-radius: 16px; padding: 22px 24px; margin-bottom: 24px; }
.page-intro-meta { font-size: 13px; font-weight: 700; color: #bfdbfe; display: flex; align-items: center; gap: 6px; }
.page-intro-lead { margin: 10px 0 0; color: #e6ecff; max-width: 760px; }
.page-intro-highlight { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.page-intro-highlight .bi { color: #ffd24a; font-size: 22px; flex: none; }
.page-intro-highlight p { margin: 0; }
.page-intro-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.page-intro .trust { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #bbf7d0; }
.page-intro .intro-link { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.page-intro .intro-link:hover { background: rgba(255,255,255,.22); }
.google-pref { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.google-pref:hover { box-shadow: 0 6px 18px rgba(15,23,42,.22); }
.google-pref .g-logo { display: inline-flex; }
.google-pref strong { font-weight: 800; }
.google-pref-tip { position: absolute; bottom: calc(100% + 10px); left: 0; width: 260px; background: #0d1b2a; color: #fff;
  font-weight: 400; font-size: 13px; line-height: 1.45; text-align: left; padding: 12px 14px; border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transition: .15s; z-index: 60; }
.google-pref:hover .google-pref-tip { opacity: 1; visibility: visible; }

/* pagination */
.results-meta { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding: 24px 0 8px; }
.page-num, .page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; font-weight: 700; border: 1px solid var(--line); background: #fff; border-radius: 9px; color: var(--ink); cursor: pointer; }
.page-num:hover, .page-btn:hover { background: #f1f5f9; }
.page-num.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.page-ellipsis { padding: 0 6px; color: var(--muted); }

/* data disclaimer */
.data-disclaimer { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; color: #475569; font-size: 13px; scroll-margin-top: 80px; }
.data-disclaimer h2 { font-size: 16px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.data-disclaimer p { margin: 10px 0; max-width: 880px; line-height: 1.6; }
.data-disclaimer-ai { background: #f1f5ff; border: 1px solid #d6dcff; border-radius: 9px; padding: 12px 14px; }

/* banks */
.bank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.bank-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.bank-card:hover { border-color: #c7d2fe; }
.bank-card .logo { width: 84px; height: 44px; }
.bank-meta { display: flex; flex-direction: column; }
.bank-meta strong { font-weight: 800; }
.bank-meta span { font-size: 13px; color: var(--muted); }
.lead-answer { font-size: 17px; color: #334155; max-width: 780px; margin: 0 0 16px; line-height: 1.6; }
.bank-faq { margin-top: 28px; }
.bank-faq h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }

/* best-rates table */
.best-table-wrap { overflow-x: auto; margin-bottom: 24px; }
.best-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.best-table caption { text-align: left; font-weight: 800; font-size: 16px; padding: 14px 16px 4px; }
.best-table th, .best-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.best-table thead th { background: #f8fafc; font-size: 13px; color: var(--muted); }
.best-table .rate { color: var(--brand); font-weight: 800; }

/* calculator */
.calc2 { max-width: 600px; }
.calc2-grid { display: flex; flex-direction: column; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.calc-field { display: flex; flex-direction: column; gap: 12px; }
.calc-field > label, .calc-field-head label { font-weight: 800; font-size: 14px; }
.calc-field-head { display: flex; justify-content: space-between; align-items: center; }
.rate-badge { background: #eef1ff; color: var(--brand); font-weight: 800; font-size: 16px; padding: 5px 14px; border-radius: 999px; }
.money { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 12px; padding: 0 16px; transition: border-color .15s, box-shadow .15s; }
.money:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27,52,255,.15); }
.money span { font-weight: 800; color: var(--muted); font-size: 20px; }
.money input { border: 0; outline: 0; font: inherit; font-size: 20px; font-weight: 700; padding: 14px 8px; width: 100%; }

/* slider with filled track */
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline: 0;
  background: linear-gradient(to right, var(--brand) var(--pct,27.5%), #e2e8f0 var(--pct,27.5%)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 3px 10px rgba(27,52,255,.4); cursor: pointer; }
.slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 3px 10px rgba(27,52,255,.4); cursor: pointer; }
.scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.slider-marks { display: flex; justify-content: space-between; margin: 7px 2px 3px; }
.slider-marks span { width: 2px; height: 8px; background: #cbd5e1; border-radius: 2px; }

/* segmented control */
.seg { display: flex; flex-wrap: wrap; gap: 6px; background: #f1f5f9; padding: 5px; border-radius: 12px; }
.seg[hidden] { display: none; }
.seg button { flex: 1 1 auto; min-width: 56px; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); padding: 10px; border-radius: 9px; cursor: pointer; transition: .12s; }
.seg button:hover { color: var(--ink); }
.seg button.active { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(15,23,42,.14); }

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toggle-row label { font-weight: 800; font-size: 14px; }
.toggle-row small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }

/* switch */
.switch { position: relative; display: inline-block; width: 48px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track { position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px; transition: .2s; cursor: pointer; }
.switch-track::before { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .switch-track { background: var(--brand); }
.switch input:checked + .switch-track::before { transform: translateX(20px); }

/* result */
.calc-result { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #fff; border-radius: 16px; padding: 22px 26px; background: linear-gradient(135deg, #0f1b6b, #1b34ff); box-shadow: 0 14px 30px -10px rgba(27,52,255,.5); }
.calc-result > div { flex: 1; }
.calc-result .divider { flex: 0 0 1px; align-self: stretch; background: rgba(255,255,255,.22); }
.calc-result span { display: block; font-size: 13px; color: #bfdbfe; margin-bottom: 2px; }
.calc-result strong { font-size: 28px; font-weight: 800; }

/* content / prose pages */
.content { max-width: 720px; }
.content p { margin: 12px 0; color: #334155; }
.content h2 { font-size: 20px; font-weight: 800; margin: 24px 0 8px; }
.content ul, .content ol { color: #334155; padding-left: 20px; }
.content li { margin: 6px 0; }
.content .note { background: #fffbeb; border: 1px solid #fde68a; color: #92660a; padding: 10px 14px; border-radius: 9px; font-size: 14px; }
.steps { list-style: none; padding: 0; counter-reset: step; max-width: 720px; }
.steps li { position: relative; padding-left: 52px; margin: 18px 0; }
.steps li h3 { font-size: 17px; font-weight: 800; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.faq-item { border-top: 1px solid var(--line); padding: 16px 0; max-width: 760px; }
.faq-item h3 { font-size: 16px; font-weight: 800; }
.faq-item p { margin: 8px 0 0; color: #475569; }

/* footer */
.footer { border-top: 1px solid var(--line); background: #fff; margin-top: 8px; }
.footer .container { padding: 36px 16px; color: #64748b; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.footer-cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; margin-bottom: 8px; }
.footer-cols a { display: block; color: #475569; padding: 3px 0; font-size: 14px; }
.footer-risk { border-top: 1px solid var(--line); padding: 18px 0; font-size: 12.5px; line-height: 1.7; color: #64748b; max-width: 980px; }
.footer-risk strong { color: #475569; }
.footer-risk .bi { color: #d97706; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 16px; }
.footer-legal p { margin: 6px 0; }
.footer-trademark { font-size: 12.5px; color: #64748b; max-width: 900px; line-height: 1.7; }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ============ mobile ============ */
@media (max-width: 620px) {
  main.container { padding-top: 20px; }
  .hero .container { padding: 30px 16px 34px; }
  .section-title { font-size: 20px; }

  /* offer card: logo + score on top row, title full-width below, stats 2-col, actions stacked */
  .offer-card .body { padding: 16px; }
  .offer-head { flex-wrap: wrap; gap: 12px; }
  .offer-head .logo { order: 1; }
  .offer-head .score-chip { order: 2; margin-left: auto; }
  .offer-headings { order: 3; flex: 1 1 100%; min-width: 0; }
  .offer-title { font-size: 16px; }
  .offer-body-grid { gap: 16px; }
  .offer-body-grid .stats { flex: 1 1 100%; }
  .rate-figure { font-size: 38px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px 14px; }
  .offer-actions { flex: 1 1 100%; flex-wrap: wrap; }
  .offer-actions .btn { flex: 1 1 0; }
  .cmp-toggle { flex: 1 1 100%; justify-content: center; }
  .offer-card .proscons { display: none; }   /* slick mobile card; full list on the detail page */
  .panel .proscons { grid-template-columns: 1fr; }

  /* page intro */
  .page-intro { padding: 18px; }
  .page-intro-highlight { padding: 12px; }

  /* filters */
  .filterbar input[type=search] { flex: 1 1 100%; }
  .filterbar select { flex: 1 1 auto; }

  /* calculator */
  .calc2-grid { padding: 18px; }
  .calc-result { flex-direction: column; align-items: stretch; gap: 14px; }
  .calc-result .divider { display: none; }

  /* detail page: single column, smaller logos */
  .detail-grid { grid-template-columns: 1fr; }
  .logo.lg { width: 120px; height: 52px; }

  /* compare table / best table stay scrollable (already wrapped) */
  .compare-bar { left: 12px; right: 12px; transform: none; max-width: none; }
}

/* Contact form + success callout */
.contact-form textarea { width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line, #d7dce5);
  border-radius: 10px; resize: vertical; }
.contact-form .cf-turnstile { margin: .25rem 0 1rem; }
.callout-ok { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 1.25rem 1.5rem; }
.callout-ok h2 { margin-top: 0; color: #15803d; }
