/* Credit Card Matches. Source Sans 3 is served from this site (no outside requests). */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(fonts/source-sans-3.woff2) format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(fonts/source-sans-3-italic.woff2) format("woff2");
}
:root {
  --font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --bg: #ffffff;
  --page: #f0f3f6;
  --surface: #ffffff;
  --ink: #333a40;
  --text: #4d5052;
  --muted: #68717a;
  --navy-900: #08283b;
  --navy: #0a3c5f;
  --bar: #0f3a5a;
  --line: #dde5ec;
  --line-strong: #b0c1d1;
  --orange: #e86a00;
  --orange-hover: #cf5e00;
  --sky: #eef6fe;
  --mist: #e9eef2;
  --link: #1767b0;
  --check: #1f8a5b;
  --shadow: 0 4px 10px rgba(7, 37, 59, 0.16);
  --shadow-lift: 0 8px 22px rgba(7, 37, 59, 0.2);
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1720;
    --page: #0f1d28;
    --surface: #152634;
    --ink: #e6edf3;
    --text: #c9d3dc;
    --muted: #9aa8b5;
    --navy-900: #eef5fb;
    --navy: #a9cdea;
    --bar: #0a2335;
    --line: #23384a;
    --line-strong: #3a5570;
    --sky: #17344c;
    --mist: #1b2f3f;
    --link: #8cc4f2;
    --check: #4cc38a;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 8px 22px rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 6px 10px; z-index: 10; }

/* Header */
.site-header { background: var(--surface); box-shadow: 0 2px 8px rgba(7, 37, 59, 0.08); position: relative; z-index: 2; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 64px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1; }
.brand .w1 { font-weight: 400; }
.brand .w2 { font-weight: 800; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-mark .ring { fill: var(--orange); }
.brand-mark .tick { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a[aria-current="page"], .nav a:hover { border-bottom-color: var(--orange); }

/* Page heads (home and finder) */
.home-hero, .finder-head { padding: 34px 0 22px; }
.home-hero h1, .finder-head h1 { color: var(--navy-900); font-weight: 700; font-size: clamp(2rem, 4.6vw, 2.75rem); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 12px; max-width: 860px; }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--muted); margin: 0 0 20px; max-width: 760px; }
.crumbs { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.crumbs a { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 7px 12px; font-size: 0.9rem; color: var(--navy); background: var(--surface); }
.chip svg { width: 15px; height: 15px; flex: none; }
.paid-note { color: var(--muted); font-size: 0.95rem; margin: 0; }
.paid-note a { color: var(--muted); }

/* Navy bar and the light band under it */
.band-bar { background: var(--bar); color: #fff; }
.band-bar .wrap { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.band-bar svg { width: 18px; height: 18px; flex: none; }
.band-in { padding-top: 18px; padding-bottom: 22px; }
.match-band { background: linear-gradient(180deg, var(--mist) 0%, var(--page) 100%); }
.band-tip { font-size: 0.92rem; color: var(--navy); margin: 0 0 14px; }

/* Home: situation tiles */
.finder-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 20px; }
@media (max-width: 920px) { .finder-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .finder-tiles { grid-template-columns: 1fr; } }
.finder-tile { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; text-decoration: none; color: var(--text); transition: box-shadow 0.15s, transform 0.15s; }
.finder-tile:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.finder-tile strong { font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
.finder-tile .desc { font-size: 0.95rem; color: var(--muted); flex: 1; }
.finder-tile .go { font-weight: 700; color: var(--orange); font-size: 0.95rem; }
@media (prefers-color-scheme: dark) { .finder-tile .go { color: #ff9a45; } }

/* Finder: situation pills and state filter */
.finder-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.finder-tabs a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.95rem; padding: 8px 22px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.finder-tabs a:hover { border-color: var(--navy); }
.finder-tabs a[aria-current="page"] { border: 2px solid var(--navy); padding: 7px 21px; box-shadow: 0 2px 6px rgba(7, 37, 59, 0.12); }
.state-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; font-weight: 600; color: var(--navy); }
.state-form select { font: inherit; font-weight: 400; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); min-width: 180px; }
.state-form button, .button { font: inherit; font-weight: 700; padding: 9px 22px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
.state-form button:hover, .button:hover { filter: brightness(1.12); }
@media (prefers-color-scheme: dark) { .state-form button, .button { color: #0c1720; } }

/* Sections, tiles, panels */
.section { padding: 36px 0; }
.section-alt { background: var(--page); }
.section h2 { color: var(--navy-900); font-size: 1.65rem; font-weight: 700; margin: 0 0 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.tile { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.tile h3 { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.tile h3 a { color: var(--navy); text-decoration: none; }
.tile h3 a:hover { color: var(--link); }
.tile p { margin: 0; color: var(--muted); font-size: 0.97rem; flex: 1; }
.tile .meta { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.panel h2 { margin-top: 0; font-size: 1.4rem; font-weight: 700; color: var(--navy-900); }
.note { color: var(--muted); font-size: 0.95rem; }

/* Sign-up */
.signup .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .signup .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.field input { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); }
.field input:focus { border-color: var(--navy); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 0.88rem; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.signup button { font: inherit; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; padding: 12px 20px; border: 0; border-radius: 6px; background: var(--orange); color: #fff; cursor: pointer; width: 100%; }
.signup button:hover { background: var(--orange-hover); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Articles and legal pages */
.article { padding: 36px 0 24px; }
.article h1 { color: var(--navy-900); font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 10px; }
.article p, .article li { color: var(--text); font-size: 1.08rem; line-height: 1.65; }
.byline, .article .byline { color: var(--muted); font-size: 0.92rem; margin: 0 0 20px; }
.article h2 { color: var(--navy); font-size: 1.45rem; font-weight: 700; margin: 34px 0 8px; }
.article h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 6px; }
.article li { margin: 0 0 6px; }
.article .panel p, .article .note, .article .consent { font-size: 0.95rem; }
.article .callout { border-left: 4px solid var(--navy); background: var(--sky); padding: 12px 16px; border-radius: 0 8px 8px 0; color: var(--text); font-size: 0.97rem; }
.callout { border-left: 4px solid var(--navy); background: var(--sky); padding: 12px 16px; border-radius: 0 8px 8px 0; color: var(--text); }
.next-step { margin: 22px 0; }
.simple-form { display: grid; gap: 12px; max-width: 460px; }
.simple-form select { font: inherit; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); }
.simple-form button { font: inherit; font-weight: 700; padding: 12px 20px; border: 0; border-radius: 6px; background: var(--navy); color: #fff; cursor: pointer; }
@media (prefers-color-scheme: dark) { .simple-form button { color: #0c1720; } }

/* Card list */
.cc-list { background: var(--page); padding: 6px 0 40px; }
.cc-body { max-width: 940px; padding-top: 22px; }
.cc-guide { font-size: 1rem; margin: 0 0 18px; color: var(--navy); }
.cc-status { text-align: center; color: var(--muted); padding: 30px 0; }
.cc-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 0 26px; }
.cc-card-in { display: grid; grid-template-columns: 185px 1fr; gap: 8px 28px; padding: 24px 24px 18px; }
.cc-art img { display: block; width: 185px; height: auto; border-radius: 10px; box-shadow: 0 6px 14px rgba(7, 37, 59, 0.22); }
.cc-main { min-width: 0; }
.cc-main h2 { font-size: 1.4rem; font-weight: 700; line-height: 1.25; margin: 0 0 10px; color: var(--navy); }
.cc-why, .cc-badge { background: var(--sky); color: var(--text); font-size: 0.95rem; line-height: 1.45; border-radius: 4px; padding: 8px 12px; margin: 0 0 14px; }
.cc-why span { font-weight: 700; color: var(--navy); }
.cc-badge { font-weight: 600; color: var(--navy); }
.cc-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--orange); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; min-height: 52px; padding: 10px 16px; border-radius: 6px; }
.cc-btn::after { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(-45deg); }
.cc-btn:hover { background: var(--orange-hover); }
.cc-sub { display: block; text-align: center; font-size: 0.82rem; color: var(--muted); margin: 6px 0 0; }
.cc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 18px 0 0; }
.cc-facts dt { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin: 0 0 2px; }
.cc-facts dd { font-size: 0.97rem; color: var(--text); margin: 0; line-height: 1.4; }
.cc-avail { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
.cc-details { background: var(--mist); border-radius: 0 0 var(--radius) var(--radius); }
.cc-details summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; color: var(--navy); font-weight: 600; }
.cc-details summary::-webkit-details-marker { display: none; }
.cc-details summary::after, .cc-q summary::after { content: ""; width: 9px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -4px 4px 0 12px; transition: transform 0.15s; flex: none; }
.cc-details[open] summary::after, .cc-q[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.cc-details-in { padding: 0 24px 18px; color: var(--text); }
.cc-details-in ul { margin: 0; padding-left: 20px; }
.cc-details-in li { margin: 0 0 6px; font-size: 0.97rem; }
.cc-issuer { color: var(--muted); font-size: 0.9rem; margin: 10px 0 0; }
.cc-others { color: var(--navy-900); font-size: 1.4rem; font-weight: 700; margin: 36px 0 16px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.cc-notice { font-weight: 600; color: var(--navy); margin: 4px 0 16px; }
.cc-notes p, .cc-disclosure { font-size: 0.85rem; color: var(--muted); }
.cc-disclosure { border-top: 1px solid var(--line-strong); padding-top: 16px; margin-top: 20px; }
.cc-faq-h { color: var(--navy-900); font-size: 1.55rem; font-weight: 700; margin: 34px 0 14px; }
.cc-faq { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 22px; }
.cc-q { border-bottom: 1px solid var(--line); }
.cc-q:last-child { border-bottom: 0; }
.cc-q summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--navy); padding: 15px 0; }
.cc-q summary::-webkit-details-marker { display: none; }
.cc-q p { margin: 0 0 15px; color: var(--text); }
@media (max-width: 700px) {
  .cc-card-in { grid-template-columns: 1fr; padding: 22px 18px 16px; }
  .cc-art { display: flex; justify-content: center; margin: 0 0 6px; }
  .cc-main h2 { text-align: center; }
  .cc-details summary { padding: 14px 18px; }
  .cc-details-in { padding: 0 18px 16px; }
}
@media (max-width: 420px) { .cc-facts { gap: 14px 16px; } }
@media (max-width: 330px) { .cc-facts { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #08283b; color: #c3d0db; padding: 36px 0; font-size: 0.92rem; }
.site-footer a { color: #e6eef5; }
.footer-brand { color: #fff; font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 10px; }
.footer-brand .w1 { font-weight: 400; }
.footer-brand .w2 { font-weight: 800; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { margin: 0; color: #93a6b6; }

/* Card match quiz (home page question 1, /match/ question 2) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.quiz-bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 0 0 18px; max-width: 640px; }
.quiz-bar span { display: block; height: 100%; background: var(--orange); border-radius: 999px; }
.quiz-bar-1 { width: 50%; }
.quiz-bar-2 { width: 100%; }
.quiz-q { color: var(--navy-900); font-size: 1.6rem; font-weight: 700; margin: 0 0 16px; }
.quiz-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 0 0 16px; }
.quiz-tile { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 48px 18px 20px; text-decoration: none; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.quiz-tile::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: translateY(-50%) rotate(-45deg); }
.quiz-tile:hover, .quiz-tile:focus-visible { border-color: var(--orange); transform: translateY(-2px); }
.quiz-tile strong { font-size: 1.12rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.quiz-tile .desc { font-size: 0.93rem; color: var(--muted); }
.quiz-note { font-size: 0.92rem; color: var(--navy); margin: 4px 0 0; }
.quiz { background: linear-gradient(180deg, var(--mist) 0%, var(--page) 100%); padding: 36px 0 56px; min-height: 60vh; }
.quiz-wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.quiz-step { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.quiz-picked { font-size: 0.95rem; color: var(--text); margin: 0 0 18px; }
.quiz h1 { color: var(--navy-900); font-size: clamp(1.8rem, 4.5vw, 2.4rem); font-weight: 700; line-height: 1.15; margin: 0 0 10px; }
.quiz-form { display: grid; gap: 12px; margin: 8px 0 14px; }
.quiz-form select { font: inherit; font-size: 1.05rem; height: 54px; padding: 0 14px; border: 2px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); }
.quiz-form button { font: inherit; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; min-height: 54px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; cursor: pointer; }
.quiz-form button:hover { background: var(--orange-hover); }
.quiz-skip { font-size: 0.95rem; margin: 0; }

/* Card highlights (approved lines) and the /picks/ page */
.cc-highlights { margin: 16px 0 0; }
.cc-hl-h { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.cc-highlights ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cc-highlights li { position: relative; padding-left: 24px; font-size: 0.95rem; color: var(--text); line-height: 1.45; }
.cc-highlights li::before { content: ""; position: absolute; left: 4px; top: 0.35em; width: 6px; height: 11px; border: solid var(--check); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.cc-more-link { font-weight: 600; margin: 4px 0 18px; }

/* Icons and pictures (2026-10-15): line icons drawn in the page, real card art in the hero */
.ico { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.ico-sm { width: 16px; height: 16px; }
.ico-fact { width: 17px; height: 17px; color: var(--orange); margin-right: 6px; vertical-align: -3px; }

/* Home hero: copy on the left, a fan of real card art on the right */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero-copy { min-width: 0; }
.card-fan { position: relative; height: 260px; }
.card-fan img { position: absolute; width: 200px; max-width: 60%; height: auto; border-radius: 12px; box-shadow: 0 14px 30px rgba(7, 37, 59, 0.28); }
.fan-1 { left: 4%; top: 46px; transform: rotate(-14deg); }
.fan-2 { left: 22%; top: 22px; transform: rotate(-5deg); }
.fan-3 { left: 40%; top: 18px; transform: rotate(5deg); }
.fan-4 { left: 56%; top: 44px; transform: rotate(14deg); }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .card-fan { height: 170px; order: -1; }
  .card-fan img { width: 140px; }
}

/* Quiz tiles with an icon */
.quiz-tile { flex-direction: row; align-items: center; gap: 14px; padding-left: 16px; }
.quiz-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: var(--navy); flex: none; }
.quiz-ico .ico { width: 26px; height: 26px; }
.quiz-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.quiz-big-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); color: var(--orange); box-shadow: var(--shadow); margin: 0 0 14px; }
.quiz-big-ico .ico { width: 30px; height: 30px; }
.quiz-picked .ico { color: var(--navy); vertical-align: -3px; }

/* Reassurance strip under the quiz */
.trust-strip { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 18px; }
.trust-strip li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.trust-strip .ico { color: var(--orange); }

/* Guide tiles and guide pages */
.tile-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--navy); margin-bottom: 4px; }
.tile .meta { display: inline-flex; align-items: center; gap: 6px; }
.guide-head { background: linear-gradient(180deg, var(--mist) 0%, var(--bg) 100%); padding: 30px 0 18px; margin: 0 0 18px; }
.guide-head h1 { margin: 0 0 10px; }
.guide-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--navy); color: var(--surface); margin: 0 0 14px; }
.guide-ico .ico { width: 32px; height: 32px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.92rem; margin: 0; }
.guide-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article .guide-head + .narrow { padding-top: 0; }
.article { padding-top: 0; }

/* Card bits */
.cc-why, .cc-badge { display: flex; align-items: flex-start; gap: 8px; }
.cc-why .ico, .cc-badge .ico { color: var(--check); margin-top: 2px; }
.finder-tabs a { display: inline-flex; align-items: center; gap: 7px; }
.finder-tabs .ico { color: var(--orange); }

/* Bolder home page: colour tones, dark header band, quiz panel, picture tiles */
:root {
  --hero-a: #07263a;
  --hero-b: #0d4a73;
  --hero-text: #ffffff;
  --hero-soft: #c9dcec;
  --hero-accent: #ffb067;
  --t-green: #1f8a5b;  --t-green-soft: #e1f3ea;
  --t-blue: #1767b0;   --t-blue-soft: #e2eefb;
  --t-purple: #6a4cc4; --t-purple-soft: #ece8fb;
  --t-amber: #b45f06;  --t-amber-soft: #fdeed8;
  --t-slate: #0a3c5f;  --t-slate-soft: #e3ebf2;
  --t-teal: #0d7a82;   --t-teal-soft: #ddf2f2;
  --tone: var(--t-slate);
  --tone-soft: var(--t-slate-soft);
}
@media (prefers-color-scheme: dark) {
  :root {
    --hero-a: #04121c;
    --hero-b: #0a3354;
    --hero-soft: #b3c8da;
    --t-green: #5fd39b;  --t-green-soft: #163a2a;
    --t-blue: #8cc4f2;   --t-blue-soft: #17324a;
    --t-purple: #b6a5f6; --t-purple-soft: #2a2548;
    --t-amber: #f2b45e;  --t-amber-soft: #3a2b15;
    --t-slate: #a9cdea;  --t-slate-soft: #1d3142;
    --t-teal: #62d0d6;   --t-teal-soft: #133537;
  }
}
[data-tone="green"] { --tone: var(--t-green); --tone-soft: var(--t-green-soft); }
[data-tone="blue"] { --tone: var(--t-blue); --tone-soft: var(--t-blue-soft); }
[data-tone="purple"] { --tone: var(--t-purple); --tone-soft: var(--t-purple-soft); }
[data-tone="amber"] { --tone: var(--t-amber); --tone-soft: var(--t-amber-soft); }
[data-tone="slate"] { --tone: var(--t-slate); --tone-soft: var(--t-slate-soft); }
[data-tone="teal"] { --tone: var(--t-teal); --tone-soft: var(--t-teal-soft); }

.hero-dark {
  color: var(--hero-text);
  background:
    radial-gradient(circle at 78% 42%, rgba(232, 106, 0, 0.32) 0, rgba(232, 106, 0, 0) 38%),
    radial-gradient(circle at 12% 110%, rgba(31, 138, 91, 0.28) 0, rgba(31, 138, 91, 0) 40%),
    linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%);
  padding: 44px 0 96px;
  overflow: hidden;
}
.hero-dark-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.hero-dark-copy { min-width: 0; }
.hero-dark .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--hero-accent); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-dark h1 { color: var(--hero-text); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
.hero-dark .lede { color: var(--hero-soft); margin: 0 0 20px; }
.hero-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--hero-text); }
.hero-ticks .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #1f8a5b; color: #fff; stroke-width: 2.6; }
.hero-dark .card-fan { height: 270px; }
.hero-dark .card-fan img { width: 210px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
@media (max-width: 760px) {
  .hero-dark { padding: 28px 0 84px; }
  .hero-dark-in { grid-template-columns: 1fr; gap: 8px; }
  .hero-dark .card-fan { height: 160px; order: -1; }
  .hero-dark .card-fan img { width: 135px; }
}

/* Quiz panel lifted over the dark band */
.quiz-band { background: var(--page); padding: 0 0 30px; }
.quiz-panel { position: relative; margin-top: -64px; background: var(--surface); border-radius: 18px; box-shadow: 0 18px 44px rgba(7, 37, 59, 0.22); padding: 26px 26px 22px; }
.quiz-panel-head { display: flex; align-items: center; gap: 16px; margin: 0 0 8px; }
.quiz-panel-head .quiz-step { margin: 0; white-space: nowrap; color: var(--orange); }
.quiz-panel-head .quiz-bar { flex: 1; margin: 0; }
.quiz-panel .quiz-q { font-size: clamp(1.5rem, 3.2vw, 1.9rem); font-weight: 800; color: var(--navy-900); margin: 0 0 16px; }
.quiz-band .paid-note { margin-top: 14px; }
@media (max-width: 560px) { .quiz-panel { padding: 20px 16px 18px; border-radius: 14px; } }

.quiz-panel .quiz-tiles { grid-template-columns: 1fr 1fr; }
.quiz-panel .quiz-tile[data-tone="slate"] { grid-column: 1 / -1; }
@media (max-width: 640px) { .quiz-panel .quiz-tiles { grid-template-columns: 1fr; } }
.quiz-tile[data-tone] { border-color: var(--line); border-left: 5px solid var(--tone); }
.quiz-tile[data-tone] .quiz-ico { background: var(--tone); color: #fff; width: 52px; height: 52px; }
.quiz-tile[data-tone]:hover, .quiz-tile[data-tone]:focus-visible { border-color: var(--tone); background: var(--tone-soft); }
.quiz-tile[data-tone]::after { border-color: var(--tone); }
@media (prefers-color-scheme: dark) { .quiz-tile[data-tone] .quiz-ico { color: #0c1720; } }

.quiz-panel .trust-strip { border-top: 1px solid var(--line); padding-top: 16px; }
.trust-strip .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--sky); flex: none; }

/* Guide tiles with a coloured picture area */
.tile[data-tone] { padding: 0 0 20px; overflow: hidden; transition: box-shadow 0.15s, transform 0.15s; }
.tile[data-tone]:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.tile[data-tone] > :not(.tile-art) { margin-left: 20px; margin-right: 20px; }
.tile-art {
  display: grid; place-items: center; height: 132px; margin-bottom: 8px; color: var(--tone);
  background:
    radial-gradient(circle at 84% 24%, color-mix(in srgb, var(--tone) 16%, transparent) 0 30px, transparent 31px),
    radial-gradient(circle at 14% 86%, color-mix(in srgb, var(--tone) 12%, transparent) 0 42px, transparent 43px),
    radial-gradient(color-mix(in srgb, var(--tone) 22%, transparent) 1.4px, transparent 1.6px) 0 0 / 14px 14px,
    var(--tone-soft);
}
.tile-art .ico { width: 64px; height: 64px; padding: 14px; border-radius: 18px; background: var(--tone); color: #fff; stroke-width: 1.6; box-shadow: 0 10px 22px rgba(7, 37, 59, 0.18); }
@media (prefers-color-scheme: dark) { .tile-art .ico { color: #0c1720; } }
.tile[data-tone] .meta .ico { color: var(--tone); }

/* Guide pages pick up the guide's colour */
.guide-head[data-tone] { background: linear-gradient(180deg, var(--tone-soft) 0%, var(--bg) 100%); }
.guide-head[data-tone] .guide-ico { background: var(--tone); }
@media (prefers-color-scheme: dark) { .guide-head[data-tone] .guide-ico { color: #0c1720; } }
@media (max-width: 560px) {
  .hero-dark { padding: 20px 0 80px; }
  .hero-dark .card-fan { height: 118px; }
  .hero-dark .card-fan img { width: 108px; border-radius: 8px; }
  .hero-dark .lede { font-size: 1.05rem; margin-bottom: 14px; }
  .hero-ticks { gap: 6px 16px; font-size: 0.92rem; }
}

/* Home header photo with card art over it */
.hero-photo { position: relative; padding: 0 0 34px 34px; }
.hp-photo { display: block; width: 100%; height: auto; aspect-ratio: 11 / 9; object-fit: cover; border-radius: 20px; border: 4px solid rgba(255, 255, 255, 0.14); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4); }
.hp-card { position: absolute; height: auto; border-radius: 10px; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45); }
.hp-card-1 { left: 0; bottom: 6px; width: 40%; max-width: 190px; transform: rotate(-10deg); }
.hp-card-2 { left: 22%; bottom: 0; width: 40%; max-width: 190px; transform: rotate(4deg); }
.hp-badge { position: absolute; right: -8px; top: 22px; display: inline-flex; align-items: center; gap: 8px; background: #ffffff; color: #0a3c5f; font-weight: 700; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.hp-badge .ico { width: 18px; height: 18px; color: #e86a00; }
@media (max-width: 760px) {
  .hero-photo { order: -1; max-width: 420px; padding: 0 0 22px 22px; }
  .hp-photo { aspect-ratio: 16 / 10; }
  .hp-badge { right: 8px; top: 12px; font-size: 0.82rem; }
}
@media (max-width: 560px) { .hero-photo { max-width: 100%; } .hp-card { max-width: 120px; } }

/* Bulldog feed: rates link under the button, full specs table in Card details */
.cc-sub a { color: var(--link); }
.cc-highlights a, .cc-details-in a { color: var(--link); }
.cc-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.cc-specs div { min-width: 0; }
.cc-specs dt { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--navy); margin: 0 0 2px; }
.cc-specs dd { font-size: 0.92rem; color: var(--text); margin: 0; line-height: 1.4; overflow-wrap: anywhere; }

/* Calculators (/tools/). Plain GET forms; the Worker fills in the result. */
.tool-page .lede { font-size: 1.1rem; color: var(--muted); margin: 0 0 22px; }
.tool-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tool-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; min-width: 0; }
.tool-in { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 0 10px; }
.tool-in:focus-within { outline: 2px solid var(--link); outline-offset: 1px; }
.tool-in i { font-style: normal; color: var(--muted); font-weight: 600; }
.tool-in input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-weight: 600; padding: 10px 6px; color: inherit; outline: none; }
.tool-go { grid-column: 1 / -1; margin: 4px 0 0; }
.tool-result { margin: 22px 0 0; padding: 18px 20px; border-radius: var(--radius); background: var(--sky); }
.tool-result h2 { margin: 0 0 10px; font-size: 1.2rem; }
.tool-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0 0 12px; }
.tool-rows dt { font-size: 0.82rem; color: var(--muted); margin: 0 0 2px; }
.tool-rows dd { margin: 0; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tool-result p { margin: 8px 0 0; }
.tool-small { font-size: 0.82rem; color: var(--muted); }
.tool-error { color: #a12a2a; font-weight: 700; }
.cc-good { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: 0.78rem; font-weight: 700; }
.cc-yearly { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.cc-yearly .ico { flex: 0 0 auto; margin-top: 3px; }
@media (max-width: 600px) {
  .tool-form, .tool-rows { grid-template-columns: 1fr; }
}
.tool-go .button-link { font: inherit; font-weight: 700; padding: 10px 24px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; cursor: pointer; }
@media (prefers-color-scheme: dark) { .tool-go .button-link { color: #0c1720; } }

/* Guide card photos (replace the icon tile when guide-photos/<slug>.jpg exists) */
.tile-art.tile-photo { display: block; height: auto; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.tile-art.tile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.tile[data-tone]:hover .tile-photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .tile[data-tone]:hover .tile-photo img { transform: none; } }

/* Logo A (2026-11-16): outlined wordmark, colours from these classes so dark mode works */
.brand-logo svg { display: block; height: 30px; width: auto; }
.lg-ink { fill: var(--navy); }
.lg-tag { fill: var(--orange); }
.lg-on-tag { fill: #ffffff; }
.footer-logo svg { display: block; height: 28px; width: auto; }
.footer-logo .lg-ink { fill: #ffffff; }
@media (max-width: 380px) { .brand-logo svg { height: 24px; } }

/* Guide photo at the top of each guide page (2026-11-19) */
.guide-photo { margin: 0 0 22px; border-radius: 12px; overflow: hidden; }
.guide-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
