/* 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;
  --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;
    --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; }
