/* After NerdWallet (owner's pick, 27 Nov 2026), kept within C:\site\anti-ai-rules.md: one plain sans (Montserrat, close
   to NerdWallet's Gotham), green #008254, nothing in capitals, no pills, no icon circles, no big-number cards, tables
   without boxes, thin borders only around a tool or a product. */
:root {
  --ink: #1f2124;
  --soft: #3d4045;
  --mute: #6b6f75;
  --line: #d6d9dc;
  --line2: #e8eaec;
  --bg2: #f5f6f7;
  --green: #008254;
  --green-d: #006b45;
  --band: #00774c;
  --mint: #e3f3ec;
  --link: #0067c5;
  --navy: #1f3a5f;
  --amber: #e9a23b;
  font-family: Montserrat, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
fieldset { min-width: 0; }
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
h1 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); line-height: 1.25; font-weight: 700; margin: 0; padding: 24px 0 10px; }
h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); font-weight: 700; margin: 0 0 14px; line-height: 1.3; }
h3 { font-size: 1.1rem; margin: 0; font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px 48px; }
.lede { font-size: 1.02rem; color: var(--soft); max-width: 70ch; margin: 0; padding: 0 0 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header: logo and a few links, a row of sections as plain tabs, breadcrumbs */
.top { background: #fff; }
.top .bar, .foot .bar { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.top > .bar { display: flex; align-items: center; height: 64px; gap: 26px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.1rem; white-space: nowrap; text-decoration: none; }
.topnav { display: flex; gap: 22px; }
.topnav a { color: var(--ink); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.topnav a:hover { text-decoration: underline; }
.me { margin-left: auto; color: var(--green-d); font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
/* Feedback: a plain header link like the ones beside it; the panel is drawn by /report.js in these colors */
:root { --report-bg: #fff; --report-fg: var(--ink); --report-muted: var(--mute); --report-line: var(--line); --report-accent: var(--green); --report-error: #b42318; --report-ok: var(--green-d); }
.report-btn { flex: none; padding: 6px 0; border: 0; background: none; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.report-btn:hover { text-decoration: underline; }
.me[hidden] + .report-btn { margin-left: auto; }
.report-line { max-width: 1120px; margin: 0 auto; padding: 0 20px; font-size: 0.9rem; color: var(--mute); }
.report-line button { padding: 0; border: 0; background: none; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }
.cats { border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.cats .bar { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cats a { flex: none; padding: 12px 10px 9px; color: var(--ink); font-size: 0.88rem; font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; text-decoration: none; }
.cats a:hover { color: var(--green); }
.cats a[aria-current] { border-bottom-color: var(--green); color: var(--green-d); }
.crumbs .bar { display: flex; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 2px; font-size: 0.8rem; color: var(--mute); overflow: hidden; white-space: nowrap; }
.crumbs a { color: var(--soft); display: inline-flex; }
.crumbs i { font-style: normal; opacity: 0.7; }
.crumbs b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

/* list pages: breadcrumbs, title, lede and the date line on a green band (NerdWallet's hero) */
body:has(.byline.band) .crumbs { background: var(--band); }
body:has(.byline.band) .crumbs, body:has(.byline.band) .crumbs a, body:has(.byline.band) .crumbs b { color: #fff; }
main:has(.byline.band) > h1, main:has(.byline.band) > .lede, .block:has(> .byline.band) { background: var(--band); color: #fff; box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(-1px -100vmax); }
main:has(.byline.band) > .lede { color: #e6f3ee; }
.block:has(> .byline.band) { padding-bottom: 24px; margin-bottom: 30px; }
.byline { font-size: 0.84rem; color: var(--mute); }
.byline a { margin-left: 4px; }
.byline.band { color: #d5ebe2; }
.byline.band a { color: #fff; }
.disclose { margin-top: 12px; padding: 10px 14px; background: var(--bg2); color: var(--mute); font-size: 0.8rem; line-height: 1.5; max-width: 720px; }

.block { margin: 0 0 3rem; }
.block p { max-width: 72ch; }
.intro { font-size: 1.02rem; }
.note { color: var(--mute); font-size: 0.86rem; }
.facts { padding-left: 1.2rem; margin: 0.6rem 0 0; }
.facts li { margin: 0.3rem 0; }
/* tables: no box, a firm line under the head */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: top; }
thead th { font-size: 0.84rem; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); }
tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
td.num:has(a), th.num:nth-child(2) { text-align: left; }
table.plain { max-width: 640px; }
table.plain .num { text-align: right; }
table.plain tr.cur td { font-weight: 700; }
.links { columns: 2 240px; column-gap: 32px; padding: 0; margin: 0; list-style: none; }
.links li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line2); }
.links span { color: var(--mute); font-size: 0.86rem; }

/* card pictures: the issuer's own, or a drawn one */
.art { display: block; width: 100%; height: auto; border-radius: 6px; }
svg.art { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.12); }
img.art { aspect-ratio: 320 / 202; object-fit: contain; }
.a-brand { font: 700 9px Montserrat, sans-serif; fill: #fff; }
.a-sec { font: 800 6px Montserrat, sans-serif; fill: #fff; }
.a-name { font: 500 7.5px Montserrat, sans-serif; fill: #fff; opacity: 0.92; }
.a-net { font: 800 9px Montserrat, sans-serif; fill: #fff; }
.a-net.n-visa { font-style: italic; font-size: 12px; }
.a-net.n-mc { font-size: 8px; font-weight: 700; }
.a-net.n-amex { font-size: 6px; }
.a-net.n-discover { font-size: 8px; }

/* buttons: square-ish like NerdWallet's, words as written */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #fff; font-weight: 700; padding: 13px 20px; border-radius: 2px; font-size: 0.92rem; text-align: center; text-decoration: none; }
.btn:hover { background: var(--green-d); }
.btn.wide { display: flex; width: 100%; }
.btn.ghost { background: #fff; color: var(--green-d); border: 2px solid var(--green); padding: 11px 18px; }
.btn.ghost:hover { background: var(--mint); }
.on { display: block; text-align: center; color: var(--mute); font-size: 0.78rem; margin-top: 6px; }
.sub { display: block; text-align: center; font-size: 0.84rem; margin-top: 2px; }

/* "Our pick for" boxes: a thin border around each product, the reason as a plain green line */
.picks { display: grid; gap: 20px; }
.pick { border: 1px solid var(--line); border-radius: 4px; padding: 22px 24px 18px; background: #fff; }
.pick-for { margin: 0 0 14px; color: var(--green-d); font-weight: 700; font-size: 0.95rem; }
.pick-top { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: start; }
.pick-art { display: block; }
.pick-name h3 { font-size: 1.25rem; line-height: 1.3; }
.pick-name h3 a { color: var(--ink); text-decoration: none; }
.pick-name h3 a:hover { text-decoration: underline; }
.pick-by { color: var(--mute); font-size: 0.86rem; margin-top: 2px; }
.pick-go { grid-column: 1 / -1; }
.pick-go .btn { display: flex; width: 100%; }
.pick-next { margin-top: 12px; font-size: 0.88rem; color: var(--soft); }
.meter { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 0.86rem; color: var(--soft); }
.m-bar { flex: none; width: 110px; height: 8px; background: var(--line2); border-radius: 4px; overflow: hidden; }
.m-bar i { display: block; height: 100%; background: var(--green); }
.facts6 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0 0; border-top: 1px solid var(--line); }
.facts6 div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line2); }
.facts6 dt { font-size: 0.84rem; color: var(--soft); }
.facts6 dd { margin: 3px 0 0; font-weight: 700; }
.facts6 div:first-child dd { color: var(--green-d); }
.facts6.plain div:first-child dd { color: inherit; }

/* the score slider, coloured like the gauge: bad to 620, fair to 720, good */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 2px 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #d6453d 0 58.2%, var(--amber) 58.2% 76.4%, #1f9d6b 76.4%); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #d6453d 0 58.2%, var(--amber) 58.2% 76.4%, #1f9d6b 76.4%); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--green); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--green); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
input[type=range]:disabled { opacity: 0.35; cursor: default; }
input[type=range]:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
input[type=checkbox], input[type=radio] { accent-color: var(--green); width: 17px; height: 17px; margin: 0; flex: none; }

/* finder (tier, score and topic pages) */
.finder { border: 1px solid var(--line); border-radius: 4px; padding: 20px; background: #fff; }
.controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.controls > * { min-width: 0; }
.score label[for] { font-weight: 600; font-size: 0.86rem; color: var(--soft); display: block; }
.score output { display: block; font-size: clamp(1.25rem, 5vw, 1.55rem); font-weight: 700; line-height: 1.3; }
.ticks { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--mute); margin-top: -2px; }
.score-row, .dial-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; margin-top: 10px; }
.nohist { display: inline-flex; gap: 8px; align-items: center; font-size: 0.9rem; }
.bal { display: grid; gap: 4px; font-size: 0.82rem; color: var(--soft); font-weight: 600; }
.bal .unit { width: 150px; }
.side { display: grid; gap: 12px; min-width: 0; }
/* filters: plain checkboxes in a row */
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.chips legend { font-size: 0.84rem; color: var(--soft); font-weight: 600; margin-bottom: 8px; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; cursor: pointer; }
.state { display: grid; gap: 4px; font-size: 0.84rem; color: var(--soft); font-weight: 600; }
.state select { font: inherit; font-weight: 500; color: var(--ink); padding: 9px; border-radius: 3px; border: 1px solid var(--line); background: #fff; font-size: 0.9rem; max-width: 360px; }
.count { font-weight: 600; margin: 0 0 12px; color: var(--soft); font-size: 0.9rem; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line2); }
.row-art { display: block; }
.row-name { display: block; font-weight: 700; color: var(--ink); line-height: 1.35; text-decoration: none; }
.row-name:hover { text-decoration: underline; }
.row-by { display: block; font-size: 0.8rem; color: var(--mute); }
.tags { display: block; margin-top: 3px; font-size: 0.8rem; color: var(--soft); }
.tags i { font-style: normal; }
.tags i + i::before { content: ' · '; color: var(--mute); }
.row-apr { text-align: right; }
.row-apr b { display: block; font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.row-apr b.na { font-size: 0.95rem; color: var(--mute); }
.row-apr small { display: block; font-size: 0.72rem; color: var(--mute); max-width: 9em; margin-left: auto; line-height: 1.3; }
.row-apr em { display: block; font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--green-d); margin-top: 2px; white-space: nowrap; }
.save { display: block; font-size: 0.78rem; color: var(--green-d); margin-top: 2px; white-space: nowrap; }
.more { margin-top: 14px; font: inherit; font-weight: 700; font-size: 0.9rem; padding: 11px 18px; border-radius: 2px; border: 2px solid var(--green); color: var(--green-d); background: #fff; cursor: pointer; }

/* home: the dial, its answer as a sentence and a small table, picks, dots */
.finder.home { border: 0; padding: 0; border-radius: 0; }
.dial { display: grid; gap: 20px; padding: 22px; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.gauge-svg { display: block; width: 100%; max-width: 300px; margin: 0 auto; }
.g-num { font: 700 44px Montserrat, sans-serif; fill: var(--ink); }
.g-num.g-none { font-size: 26px; fill: var(--soft); }
.g-sub { font: 600 11px Montserrat, sans-serif; fill: var(--soft); }
.g-tick { font: 500 9px Montserrat, sans-serif; fill: var(--mute); }
.ans-head { margin: 0 0 8px; font-size: 1rem; }
.ans-t { max-width: 460px; font-size: 1rem; }
.ans-t th[scope=row] { font-weight: 600; border-bottom: 1px solid var(--line2); }
.ans-t td { font-variant-numeric: tabular-nums; font-weight: 700; }
.ans-t tbody tr:last-child th, .ans-t tbody tr:last-child td { border-bottom: 0; color: var(--green-d); }
.ans-diff { margin: 12px 0 0; font-size: 0.98rem; }
.home-picks, .home-dots { margin-top: 44px; }

.dots { position: relative; margin: 0; }
.dots-h { margin: 0 0 8px; color: var(--soft); font-size: 0.92rem; }
.dots svg { display: block; width: 100%; height: auto; }
.dots-narrow { display: none; }
.d-big circle { fill: var(--navy); }
.d-bank circle { fill: #9aa8bb; }
.d-cu circle { fill: var(--green); }
.dots circle[data-c] { cursor: pointer; }
.dots circle[data-c]:hover { fill: var(--amber); }
.d-axis { stroke: #c5cbd1; }
.d-ticks text { font: 500 11px Montserrat, sans-serif; fill: var(--mute); }
.m-big path, .m-cu path { stroke-width: 1.5; stroke-dasharray: 3 3; }
.m-big path { stroke: var(--navy); }
.m-cu path { stroke: var(--green-d); }
.m-big text, .m-cu text { font: 700 11px Montserrat, sans-serif; }
.m-big text { fill: var(--navy); }
.m-cu text { fill: var(--green-d); }
.legend { margin: 8px 0 0; font-size: 0.82rem; color: var(--soft); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 5px 0 14px; vertical-align: -1px; }
.legend i:first-child { margin-left: 0; }
.l-big { background: var(--navy); }
.l-bank { background: #9aa8bb; }
.l-cu { background: var(--green); }
.dots-tip { position: absolute; transform: translate(-50%, calc(-100% - 8px)); background: var(--ink); color: #fff; padding: 7px 11px; border-radius: 3px; font-size: 0.78rem; pointer-events: none; white-space: nowrap; z-index: 5; }
.dots-tip b, .dots-tip span { display: block; }
.dots-tip span { color: #cbd5e1; }
.all { margin-top: 44px; }
.all .controls { margin-bottom: 12px; }

.mebar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 18px; background: var(--band); color: #fff; font-size: 0.86rem; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }
.mebar a { color: #fff; font-weight: 700; }

/* find a lower rate */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair label { display: grid; gap: 4px; font-size: 0.82rem; color: var(--soft); font-weight: 600; }
.unit { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; padding: 0 10px; background: #fff; }
.unit input { border: 0; font: inherit; font-size: 1.05rem; font-weight: 700; color: var(--ink); padding: 9px 0; width: 100%; min-width: 0; outline: none; background: transparent; }
.unit i { font-style: normal; color: var(--mute); padding: 0 4px; }
.unit:focus-within { border-color: var(--green); }
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-bottom: 16px; border-top: 2px solid var(--ink); }
.verdict div { padding: 12px 0; border-bottom: 1px solid var(--line2); }
.verdict span { font-size: 0.84rem; color: var(--soft); display: block; }
.verdict b { display: block; font-size: 1.4rem; font-weight: 700; }
.verdict .good b { color: var(--green-d); }
.verdict small { font-size: 0.82rem; color: var(--soft); }
.lower h3 { font-size: 1rem; margin: 16px 0 8px; }
.row-apr.hide { display: none; }

/* credit union badge */
.badge-box { display: grid; gap: 12px; max-width: 560px; }
.badge-box img { max-width: 100%; height: auto; }
.badge-box label { display: grid; gap: 4px; font-size: 0.84rem; color: var(--soft); }
.badge-box textarea { font: 12px/1.4 ui-monospace, Consolas, monospace; padding: 8px; border: 1px solid var(--line); border-radius: 3px; resize: vertical; color: var(--ink); }

/* card page: the card, the score you pick, what it costs, "What's on this page" on the right */
.toc { display: none; }
.toc b { display: block; font-size: 0.9rem; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin: 6px 0; font-size: 0.92rem; }
.cx { display: grid; gap: 22px; border: 1px solid var(--line); border-radius: 4px; padding: 22px; }
.cx-art { max-width: 260px; width: 100%; margin: 0 auto; }
.cx-go { margin-top: 16px; }
.cx .facts6 { grid-column: 1 / -1; margin-top: 0; }
/* the score: four plain radio buttons */
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.seg legend { font-size: 0.86rem; color: var(--soft); font-weight: 600; margin-bottom: 8px; padding: 0; }
.seg label { display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; cursor: pointer; }
.seg input:checked + span { font-weight: 700; }
.cx-v p { margin: 14px 0 0; }
.v-ok { color: var(--green-d); font-weight: 700; }
.v-no { color: #b42318; font-weight: 600; }
.v-warn { color: #8a4b08; font-size: 0.92rem; }
.cx-apr { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cx-apr b { font-size: clamp(2.1rem, 7vw, 2.7rem); font-weight: 700; line-height: 1; }
.cx-apr span { color: var(--soft); font-weight: 600; }
.cx-apr.off b { color: #9aa3ad; font-size: 1.6rem; }
.cx-rank .meter { margin-top: 10px; }
.cx-cost { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); }
.cx-cost b { display: block; font-size: 1.3rem; font-weight: 700; color: var(--green-d); }
.cx-cost > div > span { font-size: 0.86rem; color: var(--soft); }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.pc h3 { font-size: 1.02rem; margin-bottom: 6px; }
.pc ul { margin: 0; padding-left: 1.2rem; font-size: 0.94rem; }
.pc li { margin: 5px 0; }

/* ladder: APR at each score */
.lad { display: grid; grid-template-columns: 150px minmax(0, 1fr) 100px 110px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line2); }
.lad.on { background: var(--mint); box-shadow: 0 0 0 0 var(--mint); }
.lad.on .lad-t { padding-left: 8px; }
.lad-head { font-size: 0.84rem; color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--ink); padding: 8px 0; }
.lad-head span:nth-child(3), .lad-head span:nth-child(4) { text-align: right; }
.lad-t { font-weight: 600; }
.lad-bar { position: relative; height: 12px; background: #eceef0; border-radius: 6px; }
.lad-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--navy); border-radius: 6px; }
.lad.on .lad-bar i { background: var(--green); }
.lad-bar s { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; background: var(--amber); border-radius: 2px; }
.lad-v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.lad-c { text-align: right; color: var(--soft); font-variant-numeric: tabular-nums; padding-right: 8px; }
.lad-key { font-weight: 500; }
.lad-key i { display: inline-block; width: 12px; height: 8px; border-radius: 3px; margin: 0 4px 0 12px; }
.lad-key i:first-child { margin-left: 0; }
.k-this { background: var(--navy); }
.k-mid { background: var(--amber); width: 3px !important; height: 12px !important; vertical-align: -2px; }
.lad-up { margin-top: 14px; font-size: 0.96rem; }
.hist { display: block; width: 100%; max-width: 760px; height: auto; }
.h-grid path { stroke: var(--line2); }
.h-grid text, .h-x text { font: 500 11px Montserrat, sans-serif; fill: var(--mute); }
.h-end { font: 700 11.5px Montserrat, sans-serif; }

.dir { columns: 2 300px; column-gap: 32px; }
.dir-i { break-inside: avoid; margin-bottom: 18px; }
.dir-i small { color: var(--mute); font-weight: 500; }
.dir-i ul { margin: 4px 0 0; padding-left: 1rem; font-size: 0.9rem; }
.dir-i li span { color: var(--mute); font-size: 0.85em; }

/* footer: columns of links and the small print */
.foot { background: var(--bg2); color: var(--soft); font-size: 0.88rem; margin-top: 30px; border-top: 1px solid var(--line2); }
.foot .bar { padding: 36px 20px 24px; }
.foot-cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; margin-bottom: 22px; }
.foot-about span { display: block; margin-top: 12px; max-width: 30ch; }
.foot h4 { margin: 0 0 10px; font-size: 0.92rem; color: var(--ink); }
.foot-cols a:not(.logo) { display: block; color: var(--ink); margin: 6px 0; text-decoration: none; }
.foot-cols a:not(.logo):hover { text-decoration: underline; }
.disc { font-size: 0.78rem; color: var(--mute); margin-top: 10px; max-width: 110ch; }

@media (max-width: 999px) {
  .topnav { display: none; }
}
@media (max-width: 760px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .dots-wide { display: none; }
  .dots-narrow { display: block; }
  .lad { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 12px; padding: 10px 0; }
  .lad-bar { grid-column: 1 / -1; grid-row: 2; }
  .lad-head { grid-template-columns: 1fr; }
  .lad-head span:not(.lad-key) { display: none; }
  .cats a { font-size: 0.84rem; padding: 11px 8px 8px; }
}
@media (max-width: 559px) {
  .wrap { padding: 0 16px 40px; }
  .top .bar, .foot .bar { padding-left: 16px; padding-right: 16px; }
  .top > .bar { height: 56px; }
  .logo { font-size: 1rem; }
  .pc { grid-template-columns: 1fr; gap: 6px; }
  th, td { padding: 9px 8px 9px 0; font-size: 0.86rem; }
  .row { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; }
  .dial { padding: 16px; }
  .gauge-svg { max-width: 250px; }
  .me { font-size: 0.8rem; }
  .top > .bar { gap: 16px; }
  .report-btn { font-size: 0.84rem; }
  /* the row holds the name and "Your score" once a score is picked: Feedback stays at the foot of the page then */
  .me:not([hidden]) + .report-btn { display: none; }
  .report-line { padding: 0 16px; }
  .pick { padding: 18px 16px 16px; }
  .pick-top { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .pick-name h3 { font-size: 1.06rem; }
  .meter { flex-wrap: wrap; gap: 4px 8px; font-size: 0.8rem; }
  .cx { padding: 16px; gap: 16px; }
  .cx-art { max-width: 220px; }
  .seg { gap: 8px 14px; }
  /* phone: the band stays short so the dial is on the first screen */
  .by-src, .more-lede { display: none; }
  main:has(.byline.band) > h1 { padding-top: 16px; }
  .block:has(> .byline.band) { padding-bottom: 16px; margin-bottom: 20px; }
  main:has(.byline.band) > .lede { font-size: 0.94rem; }
}
@media (min-width: 760px) {
  .controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
  .pick-top { grid-template-columns: 168px minmax(0, 1fr) 230px; gap: 24px; }
  .pick-go { grid-column: auto; }
  .facts6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts6 div { padding: 12px 18px; border-left: 1px solid var(--line2); }
  .facts6 div:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .row { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .dial { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: center; gap: 36px; padding: 26px 30px; }
  .cx { grid-template-columns: 240px minmax(0, 1fr); gap: 30px; padding: 26px; align-items: start; }
  .cx-art { margin: 4px 0 0; }
  .all .controls { grid-template-columns: 1fr; }
}
@media (min-width: 1000px) {
  /* card pages: the content on the left, "What's on this page" on the right */
  main:has(.toc) { display: grid; grid-template-columns: minmax(0, 1fr) 240px; column-gap: 56px; align-content: start; }
  main:has(.toc) > * { grid-column: 1; }
  main:has(.toc) > .block:has(> .toc) { grid-column: 2; grid-row: 3 / span 40; margin: 0; }
  .toc { display: block; position: sticky; top: 24px; padding-top: 6px; }
}

/* credit score needed (28 Nov 2026): the answer first on a card page, then the card's versions */
.need { margin: 4px 0 12px; }
.need-a { font-size: 1.15rem; }
.need-a b { color: var(--green-d); }
.need-w { margin-top: 4px; max-width: 660px; }
/* tr.cur, not tr.on: .on is the small "on X's website" line and sets display: block */
@media (max-width: 559px) { table.vers th:nth-child(4), table.vers td:nth-child(4) { display: none; } table.vers td:nth-child(2) { white-space: nowrap; } }
table.vers small { color: var(--mute); font-weight: 400; }
.cx-asof { color: var(--mute); font-size: 0.82rem; margin: -2px 0 6px; }
.known-n { color: var(--mute); font-size: 0.86rem; max-width: 660px; }
.pre { margin: 10px 0 4px; padding: 10px 12px; border: 1px solid #dfe3e8; border-radius: 4px; max-width: 660px; font-size: 0.92rem; }

/* the score question (28 Nov 2026): number box with − and +, four groups; replaces the slider */
.ask { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.ask legend { font-weight: 700; font-size: 1.15rem; padding: 0; margin-bottom: 10px; color: var(--ink); }
.ask-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ask-row input { width: 110px; height: 52px; font: inherit; font-size: 1.7rem; font-weight: 700; text-align: center; border: 2px solid var(--green); border-radius: 4px; color: var(--ink); background: #fff; -moz-appearance: textfield; appearance: textfield; }
.ask-row input::-webkit-outer-spin-button, .ask-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ask-row input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.step { width: 48px; height: 52px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: inherit; font-size: 1.5rem; font-weight: 700; color: var(--green-d); cursor: pointer; }
.step:hover { border-color: var(--green); }
.ask-hint { flex-basis: 100%; color: var(--mute); font-size: 0.84rem; }
.ask-or { margin: 14px 0 6px; font-size: 0.9rem; font-weight: 600; }
.ask-bands { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ask-bands label { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 0.95rem; cursor: pointer; }
.ask-bands input { accent-color: var(--green); width: 18px; height: 18px; margin: 0; }
.dial-l .gauge { margin-top: 10px; }
@media (max-width: 559px) { .dial-l .gauge-svg { max-width: 190px; } .dial-l .gauge { margin-top: 4px; } }
