/* ==========================================================================
   [Brand] — Loan Discovery & Comparison Platform
   Phase A stylesheet (homepage), Design v2: navy + bright blue.
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1100 / 1280.
   ========================================================================== */

/* ---------- Font (self-hosted, relative path) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #061733;
  --navy-900: #0A2550;
  --navy-800: #0F3166;
  --navy-700: #16407F;
  --ink: #0B1A33;
  --slate-700: #334155;
  --slate-600: #4B5A70;
  --slate-500: #64748B;
  --slate-300: #C7D2E1;
  --slate-200: #E2E8F0;
  --gray-50: #F4F7FB;
  --gray-100: #EAF0F7;
  --white: #FFFFFF;
  --border: #DFE6EF;

  --accent-50: #EAF2FF;
  --accent-100: #D6E6FF;
  --accent-300: #7FB2FF;
  --accent-400: #4D94FF;
  --accent-600: #1E6FEB;
  --accent-700: #175CD3;
  --accent-800: #134BB0;

  --emerald-700: #047857;
  --amber-700: #B45309;
  --amber-100: #FEF3C7;
  --red-700: #B42318;

  --radius-sm: 6px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --radius-card: 16px;

  --shadow-card: 0 1px 2px rgba(11, 26, 51, .05), 0 6px 20px rgba(11, 26, 51, .07);
  --shadow-pop: 0 16px 48px rgba(6, 23, 51, .22);

  --container: 1200px;
  --prose: 720px;
  --header-h: 72px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--accent-700); text-underline-offset: 3px; }
a:hover { color: var(--accent-800); }
button, input, select { font: inherit; color: inherit; }
.num, .tabular { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .band :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible { outline-color: var(--accent-300); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-btn);
  font-weight: 600; text-decoration: none; box-shadow: var(--shadow-pop);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 56px 0; position: relative; }
@media (min-width: 1024px) { .section { padding: 80px 0; } }
.section--compact { padding: 48px 0; }
@media (min-width: 1024px) { .section--compact { padding: 64px 0; } }

.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 { font-size: 27px; font-weight: 800; letter-spacing: -0.025em; }
.section-head p { margin-top: 10px; font-size: 16.5px; color: var(--slate-600); }
@media (min-width: 1024px) { .section-head h2 { font-size: 34px; } }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.accent { color: var(--accent-600); }
@media (min-width: 900px) {
  .section-head--lined h2 { display: inline-block; position: relative; }
  .section-head--lined h2::before, .section-head--lined h2::after { content: ""; position: absolute; top: 50%; width: 80px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent-400)); }
  .section-head--lined h2::before { right: 100%; margin-right: 24px; }
  .section-head--lined h2::after { left: 100%; margin-left: 24px; transform: scaleX(-1); }
}

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 12px; }
.eyebrow--line { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--line::after { content: ""; width: 56px; height: 2px; background: var(--accent-400); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-btn);
  font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent-600); color: var(--white); box-shadow: 0 6px 16px rgba(30, 111, 235, .28); }
.btn--primary:hover { background: var(--accent-700); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--accent-700); border-color: var(--accent-600); }
.btn--secondary:hover { background: var(--accent-50); color: var(--accent-800); }
.btn--pill { border-radius: 999px; background: var(--white); color: var(--accent-700); border-color: var(--accent-600); min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--pill:hover { background: var(--accent-600); color: var(--white); }
.btn--text { min-height: 44px; padding: 0 4px; background: none; color: var(--accent-700); }
.btn--text:hover { color: var(--accent-800); text-decoration: underline; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
@media (max-width: 767px) { .btn { min-height: 50px; } .btn--sm, .btn--pill { min-height: 44px; } }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--accent-700); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header (white) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97); color: var(--ink);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-inner { height: 62px; display: flex; align-items: center; gap: 24px; }
@media (min-width: 1024px) { .header-inner { height: var(--header-h); } }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { color: var(--navy-900); }
.brand img { width: 30px; height: 30px; }
.primary-nav { display: none; margin-left: auto; }
.primary-nav > ul { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.primary-nav a, .nav-dropdown > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
}
.primary-nav a:hover, .nav-dropdown > button:hover, .nav-dropdown > button[aria-expanded="true"] { color: var(--accent-700); background: var(--accent-50); }
.nav-dropdown { position: relative; }
.nav-dropdown svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-dropdown > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: 8px;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-pop); list-style: none; margin: 0;
}
.nav-dropdown__menu[hidden] { display: none; }
.nav-dropdown__menu a { display: flex; width: 100%; color: var(--ink); padding: 0 12px; }
.header-cta { display: none; }
.menu-toggle {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; background: var(--white); border: 1px solid var(--border); color: var(--navy-900); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; margin-left: 8px; }
  .menu-toggle { display: none; }
}

/* Mobile menu sheet */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background: var(--navy-900); color: var(--white); padding: 0 20px 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { height: 62px; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .brand, .mobile-menu .brand:hover { color: var(--white); }
.mobile-menu .menu-toggle { background: transparent; border-color: rgba(255, 255, 255, .2); color: var(--white); }
.mobile-menu nav { flex: 1; overflow-y: auto; padding-top: 12px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: flex; align-items: center; min-height: 52px; color: var(--white); text-decoration: none; font-size: 18px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu .sub a { font-size: 16px; font-weight: 500; color: var(--slate-300); padding-left: 16px; min-height: 48px; }
.mobile-menu .sub-label { display: block; margin-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-300); }
.mobile-menu .btn--primary { color: var(--white); }
body.menu-open { overflow: hidden; }

/* ---------- Image slots ----------
   Each slot shows a labelled placeholder (file name + pixel size) until the real image exists.
   The <img> sits on top; if the file is missing, its onerror handler removes it. */
.img-slot {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(30, 111, 235, .06) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #E3ECF8, #CFDDF2);
}
.img-slot::before {
  content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(23, 92, 211, .45); border-radius: 10px; pointer-events: none;
}
.img-slot__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; gap: 2px; text-align: center; white-space: nowrap;
  padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .9);
  font-size: 12.5px; font-weight: 600; color: var(--slate-600); line-height: 1.35;
  box-shadow: 0 2px 8px rgba(11, 26, 51, .12);
}
.img-slot__label strong { font-size: 13.5px; color: var(--accent-800); }
.img-slot > picture { display: contents; }
.img-slot > img, .img-slot > picture > img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.img-slot--dark, .hero__media, .why__media { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 14px, transparent 14px 28px), linear-gradient(135deg, #12386F, #0A2550); }
.hero__media::before, .why__media::before { border-color: rgba(127, 178, 255, .45); }

/* ---------- Curved edges between sections ----------
   Each edge sits inside its section and paints the neighbouring section's colour,
   so the section's own background continues under the curve with no seam.
   Shape: set data-edges="wave" (symmetric S-wave) or data-edges="arch" (symmetric arch) on <html>. */
:root { --edge-h: 26px; }
@media (min-width: 640px) { :root { --edge-h: 44px; } }
@media (min-width: 1024px) { :root { --edge-h: 64px; } }
.edge { position: absolute; left: 0; width: 100%; height: var(--edge-h); pointer-events: none; z-index: 2; overflow: visible; }
.edge--top { top: -1px; }
.edge--bottom { bottom: -1px; }
.edge--top .edge__fill { fill: var(--edge-above, var(--white)); }
.edge--bottom .edge__fill { fill: var(--edge-below, var(--white)); }
.edge__line { fill: none; stroke: var(--accent-400); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(77, 148, 255, .6)); }
.edge__arch { display: none; }
[data-edges="arch"] .edge__arch { display: inline; }
[data-edges="arch"] .edge__wave { display: none; }
/* A section can override the page-wide shape with its own data-edges attribute. */
[data-edges="wave"] [data-edges="arch"] .edge__arch { display: inline; }
[data-edges="wave"] [data-edges="arch"] .edge__wave { display: none; }
[data-edges="arch"] [data-edges="wave"] .edge__wave { display: inline; }
[data-edges="arch"] [data-edges="wave"] .edge__arch { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--navy-950); isolation: isolate; --edge-below: var(--gray-50); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media > img, .hero__media > picture > img { object-position: 72% center; }
.hero__media .img-slot__label { left: auto; right: 6%; top: 42%; transform: translateY(-50%); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 23, 51, .94) 0%, rgba(6, 23, 51, .82) 34%, rgba(6, 23, 51, .25) 62%, rgba(6, 23, 51, 0) 80%),
    linear-gradient(0deg, rgba(6, 23, 51, .55), transparent 40%);
}
.hero__inner { position: relative; padding-top: 44px; padding-bottom: 88px; display: grid; gap: 22px; }
.hero__inner > * { min-width: 0; max-width: 720px; }
@media (min-width: 1024px) { .hero__inner { padding-top: 72px; padding-bottom: 120px; min-height: 600px; align-content: center; } }
.hero .eyebrow { color: var(--white); margin-bottom: 14px; font-size: 12.5px; }
.hero h1 { color: var(--white); font-size: 38px; font-weight: 850; font-style: italic; letter-spacing: -0.03em; line-height: 1.05; }
.hero h1 .accent { background: linear-gradient(90deg, #3E8BFF, #8CC2FF); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
@media (min-width: 768px) { .hero h1 { font-size: 52px; } }
@media (min-width: 1280px) { .hero h1 { font-size: 60px; } }
.hero__copy h1 { max-width: 700px; }
.hero__sub { margin-top: 16px; font-size: 17px; line-height: 1.55; color: #DCE6F5; max-width: 560px; }

/* Finder bar */
.finder-bar { color: var(--slate-700); max-width: 720px; }
.finder-form { background: var(--white); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-pop); }
.finder-row { display: grid; gap: 10px; }
@media (min-width: 640px) { .finder-row { grid-template-columns: 1fr 1.1fr auto; align-items: end; } }
.finder-field { padding: 4px 8px; }
@media (min-width: 640px) { .finder-field + .finder-field { border-left: 1px solid var(--border); padding-left: 14px; } }
.finder-field label { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.select-icon { position: relative; }
.select-icon > svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--accent-600); pointer-events: none; }
.select-icon .select { padding-left: 38px; padding-right: 34px; font-weight: 600; background-position: right 10px center; }
@media (min-width: 640px) { .finder-field .select { border-color: transparent; background-color: var(--gray-50); } }
.finder-submit { min-height: 52px; padding: 0 22px; }
@media (max-width: 639px) { .finder-submit { width: 100%; } }
.finder-more { margin-top: 6px; border-top: 1px solid var(--border); padding: 0 8px; }
.finder-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; font-weight: 700; color: var(--accent-700); }
.finder-more summary::-webkit-details-marker { display: none; }
.finder-more summary span { font-weight: 500; color: var(--slate-500); }
.finder-more summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: auto; transition: transform .15s; }
.finder-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.finder-more__body { display: grid; gap: 14px; padding: 6px 0 12px; }
@media (min-width: 640px) { .finder-more__body { grid-template-columns: 1fr 1fr; } }
.finder-note { margin-top: 10px; font-size: 13px; color: #BFD0E8; line-height: 1.5; }
.fieldset-plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset-plain legend { padding: 0; }

.hero__benefits { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero__benefits li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.35; color: var(--white); font-weight: 500; }
.hero__benefits li + li { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 14px; }
.hero__benefits svg { width: 30px; height: 30px; flex: none; color: var(--white); }
@media (max-width: 639px) {
  .hero__benefits { gap: 8px; }
  .hero__benefits li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12.5px; }
  .hero__benefits li + li { padding-left: 10px; }
  .hero__benefits svg { width: 24px; height: 24px; }
}

/* ---------- Forms ---------- */
.field label, .field .label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.select, .input {
  width: 100%; min-height: 48px; padding: 0 14px; font-size: 16px;
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--slate-300); border-radius: var(--radius-input);
  transition: border-color .15s, box-shadow .15s;
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230B1A33'%3E%3Cpath d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.select:hover, .input:hover { border-color: var(--slate-500); }
.select:focus, .input:focus { outline: none; border-color: var(--accent-600); box-shadow: 0 0 0 3px rgba(30, 111, 235, .18); }
.field.has-error .select, .field.has-error .input { border-color: var(--red-700); }
.field-error { display: none; margin-top: 6px; font-size: 14px; color: var(--red-700); font-weight: 500; }
.field.has-error .field-error { display: block; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0;
  border: 1.5px solid var(--slate-300); border-radius: var(--radius-input); cursor: pointer;
  font-weight: 500; font-size: 15px; color: var(--slate-700); background: var(--white);
}
.segmented input:checked + label { border-color: var(--accent-600); background: var(--accent-50); color: var(--accent-800); font-weight: 700; }
.segmented input:focus-visible + label { outline: 2px solid var(--accent-600); outline-offset: 2px; }

/* ---------- Cards + badges ---------- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.badge--verified { background: #E7F5EF; color: var(--emerald-700); }
.badge--third { background: #EEF2F6; color: var(--slate-600); }
.badge--pending { background: var(--white); color: var(--amber-700); box-shadow: inset 0 0 0 1.5px #F2C27A; }
.pending-text { color: var(--amber-700); font-weight: 600; }
.callout { border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.callout--risk { background: var(--amber-100); border-left: 4px solid var(--amber-700); color: #5C2E06; }
.callout--risk strong { color: #451A03; }
.callout--info { background: var(--gray-50); border-left: 4px solid var(--slate-300); color: var(--slate-700); }
.source-line { margin-top: 14px; font-size: 13px; color: var(--slate-600); }
.source-line a { color: var(--slate-600); }
.kind-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; background: var(--gray-50); color: var(--slate-600); border: 1px solid var(--border); vertical-align: 1px; }
.muted { color: var(--slate-600); }

/* ---------- ChoiceCash at a Glance ---------- */
.glance { background: linear-gradient(180deg, var(--gray-50), #FFFFFF 85%); padding-top: 40px; overflow: hidden; }
@media (min-width: 1024px) { .glance { padding-top: 56px; } }
.glance__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .glance__inner { grid-template-columns: 1fr 1fr; gap: 48px; } }
.glance h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; }
@media (min-width: 1024px) { .glance h2 { font-size: 38px; } }
.glance__intro { margin-top: 12px; font-size: 16.5px; color: var(--slate-600); max-width: 540px; }
.facts { margin: 18px 0 0; display: grid; gap: 0; }
.fact dt { font-size: 13px; font-weight: 600; color: var(--slate-600); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fact dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; line-height: 1.45; }
.fact dd .sub { display: block; font-weight: 400; color: var(--slate-600); font-size: 14px; margin-top: 2px; }
.facts .fact.is-collapsible[hidden] { display: none; }
.facts--check .fact { position: relative; padding: 7px 0 7px 34px; }
.facts--check .fact::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.facts--check .fact dt { display: inline; font-size: 15px; font-weight: 500; color: var(--slate-600); }
.facts--check .fact dt::after { content: ":"; }
.facts--check .fact dd { display: inline; margin-left: 4px; font-size: 15.5px; }
.facts--check .fact dd .sub { font-size: 13.5px; }
@media (min-width: 640px) { .facts--check { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (min-width: 1024px) { .facts--check { grid-template-columns: 1fr; } }
.facts-toggle { margin-top: 2px; }
.glance .callout { margin-top: 18px; font-size: 14.5px; }
.glance__actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }

.glance__media { position: relative; }
.glance__photo { aspect-ratio: 4 / 3; border-radius: 20px; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); box-shadow: var(--shadow-pop); }
.glance__photo .img-slot__label { left: 57%; }
.stripe { position: absolute; z-index: 2; top: -6%; height: 112%; width: 34px; border-radius: 6px; transform: skewX(-12deg); pointer-events: none; }
.stripe--a { left: 6%; background: linear-gradient(180deg, #4D94FF, #1E6FEB); box-shadow: 0 0 24px rgba(30, 111, 235, .45); }
.stripe--b { left: 2%; width: 12px; background: linear-gradient(180deg, rgba(77, 148, 255, .2), rgba(30, 111, 235, .7)); }
@media (max-width: 1023px) {
  .glance__photo { clip-path: none; aspect-ratio: 16 / 10; }
  .glance__photo .img-slot__label { left: 50%; }
  .stripe { display: none; }
}

/* ---------- Navy bands (situations, why) ---------- */
.band { position: relative; color: #DCE6F5; isolation: isolate; }
.band--navy { background: radial-gradient(900px 360px at 50% 18%, rgba(30, 111, 235, .22), transparent 70%), linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 35%, var(--navy-950) 100%); padding: calc(var(--edge-h) + 32px) 0 calc(var(--edge-h) + 48px); --edge-above: var(--white); --edge-below: var(--white); }
.band h2 { color: var(--white); }
.band .accent { color: var(--accent-400); }
.band .section-head { margin-bottom: 18px; }
.band .section-head p { color: #C6D4EA; }

/* Situations */
.situation-state { max-width: 320px; margin: 0 auto 28px; text-align: left; }
.situation-state label { color: var(--white); font-size: 13px; }
.situation-grid { display: grid; gap: 16px; }
.situation-grid > * { min-width: 0; }
@media (min-width: 640px) { .situation-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .situation-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.situation-card {
  background: var(--white); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); cursor: pointer; transition: transform .15s, box-shadow .15s;
  outline: 3px solid transparent; outline-offset: 0;
}
.situation-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .32); }
.situation-card.is-active { outline-color: var(--accent-400); }
.situation-card__media { aspect-ratio: 2 / 1; }
.situation-card__media::before { inset: 8px; }
.situation-card__media .img-slot__label { font-size: 11.5px; padding: 6px 10px; }
.situation-card__media .img-slot__label strong { font-size: 12px; }
.situation-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.situation-card .icon { color: var(--accent-600); }
.situation-card .icon svg { width: 30px; height: 30px; }
.situation-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.situation-card p { font-size: 14.5px; color: var(--slate-600); line-height: 1.5; }
.situation-card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.situation-card .situation-count { font-size: 13px; font-weight: 600; color: var(--slate-500); }
.situation-card .situation-count.has-matches { color: var(--accent-700); }
.card-arrow {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent-600); background: var(--white); color: var(--accent-600);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s;
}
.card-arrow svg { width: 18px; height: 18px; }
.situation-card:hover .card-arrow, .card-arrow:focus-visible { background: var(--accent-600); color: var(--white); }
@media (max-width: 639px) {
  .situation-card__media { aspect-ratio: 16 / 6; }
  .card-arrow { width: 44px; height: 44px; }
}

/* Results panel (Finder + situation cards) */
.results { margin-top: 24px; padding: 20px; color: var(--slate-700); }
@media (min-width: 768px) { .results { padding: 28px; } }
.results[hidden] { display: none; }
.results__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.results__head h3 { font-size: 22px; font-weight: 800; }
.results__summary { margin-top: 6px; color: var(--slate-600); }
.results__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.filter-chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips li { font-size: 13px; font-weight: 600; color: var(--accent-800); background: var(--accent-50); border-radius: 999px; padding: 4px 12px; }
.results__grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .results__grid { grid-template-columns: repeat(2, 1fr); } }
.result-card { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px; background: var(--white); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px; }
.result-card h3 { font-size: 18px; }
.result-card .cat { font-size: 14px; color: var(--slate-600); margin-top: 2px; }
.result-card .note { font-size: 13px; color: var(--slate-600); font-weight: 500; display: block; margin-top: 2px; }
.result-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.result-card dt { font-size: 13px; color: var(--slate-600); }
.result-card dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.result-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.results__empty { border: 1px dashed var(--slate-300); border-radius: var(--radius-card); padding: 24px; background: var(--gray-50); }
.results__empty h3, .results__empty h4 { font-size: 18px; }
.results__empty p { margin-top: 6px; }
.results__unverified { margin-top: 20px; font-size: 14px; color: var(--slate-600); }
.results__unverified strong { color: var(--ink); }
.avail { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; }
.avail:empty { display: none; }
.avail--yes, .result-card dd.avail--yes { color: var(--emerald-700); }
.avail--no { color: var(--amber-700); }

/* ---------- Compare + Estimate ---------- */
.compare-estimate { padding-top: 40px; }
@media (min-width: 1024px) { .compare-estimate { padding-top: 48px; } }
.compare-estimate__grid { display: grid; gap: 48px; }
.compare-estimate__grid > * { min-width: 0; }
.compare-estimate .section-head { margin-bottom: 20px; }
.compare-estimate .section-head h2 { font-size: 26px; }
@media (min-width: 1024px) { .compare-estimate .section-head h2 { font-size: 30px; } }
@media (min-width: 1100px) {
  .compare-estimate__grid { grid-template-columns: 1.25fr 1fr; gap: 0; }
  .compare-col { padding-right: 40px; }
  .estimate-col { padding-left: 40px; border-left: 1px solid var(--border); }
}
.compare-col, .estimate-col { scroll-margin-top: 84px; }

/* Tabs */
.tabs { display: flex; gap: 6px; margin-bottom: 14px; max-width: 100%; border-bottom: 2px solid var(--gray-100); }
.tab { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px 10px 0 0; background: var(--gray-100); font-weight: 700; font-size: 14.5px; color: var(--slate-600); cursor: pointer; white-space: nowrap; margin-bottom: -2px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--accent-600); color: var(--white); }
@media (max-width: 479px) { .tab { flex: 1; padding: 0 8px; font-size: 13.5px; } }
html:not(.js) .tabs { display: none; }
.tab-panel:focus-visible { outline-offset: 6px; }
.tab-panel + .tab-panel { margin-top: 32px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.panel-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; color: var(--slate-600); margin-bottom: 12px; }
.scope-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.scope-tag--category { background: var(--gray-100); color: var(--slate-700); }
.scope-tag--provider { background: var(--accent-50); color: var(--accent-800); }

.table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--gray-50); font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.compare-table tbody th { font-weight: 700; color: var(--ink); }
.compare-table tr:last-child > * { border-bottom: 0; }
.compare-table tr.is-highlight { background: #F3F8FF; }
.compare-table td { color: var(--slate-700); font-variant-numeric: tabular-nums; }
.compare-table td .sub { display: block; font-size: 12.5px; color: var(--slate-600); margin-top: 4px; }
.compare-table .badge { white-space: normal; line-height: 1.35; padding: 3px 9px; }
.category-table th:first-child { width: 36%; }
.category-table tbody th .type-icon { float: left; margin-right: 10px; }
.category-table tbody th .type-name { overflow: hidden; }
.type-icon { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-50); color: var(--accent-700); display: inline-flex; align-items: center; justify-content: center; }
.type-icon svg { width: 19px; height: 19px; }
.type-name { display: block; min-width: 0; }
.type-name .cat { display: block; font-weight: 500; font-size: 12.5px; color: var(--slate-600); margin-top: 2px; }
.verified-line { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: var(--slate-600); }
.inline-detail { font-weight: 700; color: var(--accent-700); }
@media (max-width: 639px) {
  .category-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .category-table, .category-table tbody, .category-table tr, .category-table td { display: block; width: 100%; }
  .category-table tbody th { display: block; width: 100%; padding: 0 0 8px; border: 0; font-size: 16px; }
  .category-table th:first-child { width: 100%; }
  .category-table tr { padding: 16px; border-bottom: 1px solid var(--border); }
  .category-table tr:last-child { border-bottom: 0; }
  .category-table td { padding: 6px 0; border: 0; display: grid; grid-template-columns: 38% 1fr; gap: 12px; }
  .category-table td::before { content: attr(data-label); font-size: 12.5px; font-weight: 700; color: var(--slate-600); }
  .category-table td > * { grid-column: 2; justify-self: start; }
}

.compare-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.compare-toolbar:has(.state-chip[hidden]) { display: none; }
.compare-toolbar { margin-bottom: 12px; }
.state-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate-700); background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 6px 8px 6px 14px; }
.state-chip[hidden] { display: none; }
.state-chip button { border: 0; background: var(--gray-50); width: 28px; height: 28px; border-radius: 99px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.state-chip button svg { width: 14px; height: 14px; }
.provider-cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .provider-cards { grid-template-columns: repeat(2, 1fr); } }
.provider-card { padding: 18px; display: flex; flex-direction: column; }
.provider-card.is-highlight { border-color: var(--accent-300); background: #F7FAFF; }
.provider-card.is-unavailable { opacity: .6; }
.provider-card h3 { font-size: 17px; }
.provider-card .cat { font-size: 13.5px; color: var(--slate-600); margin-top: 2px; }
.provider-card .kind-tag { margin-top: 6px; }
.provider-card dl { margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.provider-card dt { font-size: 12.5px; color: var(--slate-600); }
.provider-card dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.provider-card .btn { margin-top: auto; }
.provider-card dl + .btn { margin-top: 14px; }
.awaiting { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--gray-50); border: 1px dashed var(--slate-300); font-size: 13.5px; color: var(--slate-600); }
.awaiting strong { color: var(--ink); }
.compare-foot { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }

/* Calculator */
.estimate-col { container-type: inline-size; }
.calc { display: grid; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 18px; }
/* Phones (< 768px): always stacked. Tablet/desktop: two columns when the calculator is wide enough. */
@media (min-width: 768px) {
  @container (min-width: 600px) { .calc { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; padding: 22px; } }
}
/* Homepage side column on desktop (about 420-560px wide): two columns with labels above the inputs. */
@media (min-width: 1100px) {
  @container (min-width: 400px) and (max-width: 599.98px) {
    .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 18px; }
    .calc .calc-field__top { flex-direction: column; align-items: stretch; gap: 6px; margin-bottom: 12px; }
    .calc .calc-field__top .input-affix { flex: 0 0 auto; width: 100%; }
  }
}
.calc__inputs { display: grid; gap: 16px; align-content: start; }
.calc-field__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.calc-field__top label { margin: 0; font-size: 13px; font-weight: 700; white-space: nowrap; }
.input-affix { position: relative; flex: 0 0 92px; }
.input-affix .input { min-height: 38px; padding: 0 10px 0 22px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 15px; border-width: 1px; }
.input-affix .affix { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: var(--slate-600); font-weight: 600; font-size: 14px; pointer-events: none; }
.input-affix.suffix .input { padding-left: 10px; padding-right: 36px; }
.input-affix.suffix .affix { left: auto; right: 9px; }
.range { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 99px; outline: none; background: linear-gradient(90deg, var(--accent-600), var(--accent-400)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent-600); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); cursor: pointer; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent-600); cursor: pointer; }
.range:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips .chip-label { font-size: 12.5px; color: var(--slate-600); align-self: center; margin-right: 2px; }
.chip { min-height: 32px; padding: 0 11px; border-radius: 999px; border: 1.5px solid var(--slate-300); background: var(--white); color: var(--slate-700); font-size: 13px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--slate-500); }
.chip[aria-pressed="true"] { border-color: var(--accent-600); background: var(--accent-50); color: var(--accent-800); }
@media (max-width: 767px) { .chip { min-height: 40px; } }

.calc__results { border-radius: 14px; padding: 18px; background: linear-gradient(180deg, #EEF5FF, #E2EEFF); border: 1px solid var(--accent-100); text-align: center; display: flex; flex-direction: column; }
.calc__results .label { font-size: 13px; font-weight: 700; color: var(--ink); }
.total-figure { margin-top: 4px; font-size: 36px; font-weight: 850; letter-spacing: -0.03em; color: var(--accent-700); font-variant-numeric: tabular-nums; line-height: 1.05; }
.calc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--accent-100); }
.calc-metrics .label { font-size: 12px; font-weight: 600; color: var(--slate-600); }
.calc-metrics .value { margin-top: 2px; font-size: 18px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-bar { margin-top: 14px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .7); overflow: hidden; display: flex; }
.calc-bar span { display: block; height: 100%; }
.calc-bar .p { background: var(--accent-600); }
.calc-bar .i { background: #F2B65A; }
.calc-legend { display: flex; justify-content: center; gap: 14px; margin-top: 6px; font-size: 12px; color: var(--slate-600); }
.calc-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.calc-legend .lg-p { background: var(--accent-600); }
.calc-legend .lg-i { background: #F2B65A; }
.calc-sentence { margin-top: 10px; font-size: 13.5px; color: var(--slate-700); line-height: 1.45; }
.calc-sentence strong { color: var(--ink); }
.calc-disclosure { margin-top: auto; padding-top: 12px; display: flex; gap: 6px; text-align: left; font-size: 12px; line-height: 1.45; color: var(--slate-600); }
.calc-disclosure svg { flex: none; width: 15px; height: 15px; color: var(--accent-600); margin-top: 1px; }
.calc-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.schedule { margin-top: 4px; }
.schedule summary { cursor: pointer; font-weight: 700; color: var(--accent-700); min-height: 44px; display: inline-flex; align-items: center; }
.schedule-table-wrap { max-height: 320px; overflow: auto; border: 1px solid var(--border); border-radius: 12px; margin-top: 4px; }
.schedule table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.schedule th, .schedule td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap; }
.schedule th:first-child, .schedule td:first-child { text-align: left; }
.schedule thead th { position: sticky; top: 0; background: var(--gray-50); color: var(--slate-600); font-weight: 600; }

/* ---------- Why compare (navy band with photo) ---------- */
.band--why { background: var(--navy-950); padding: calc(var(--edge-h) + 36px) 0 calc(var(--edge-h) + 40px); --edge-above: var(--white); --edge-below: var(--white); }
.why__media { position: absolute; inset: 0 40% 0 0; z-index: -2; }
.why__media > img, .why__media > picture > img { object-position: center 60%; }
.why__media .img-slot__label { left: auto; right: 16px; top: auto; bottom: 64px; transform: none; }
.why__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--navy-950) 0, rgba(6, 23, 51, 0) 22%, rgba(6, 23, 51, 0) 72%, var(--navy-950) 100%), linear-gradient(90deg, rgba(6, 23, 51, .5) 0%, rgba(6, 23, 51, .55) 30%, var(--navy-950) 60%); }
.why__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .why__inner { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.why__copy { position: relative; padding-left: 28px; }
.why__copy::before { content: ""; position: absolute; left: 0; top: 4px; width: 8px; height: 56px; border-radius: 4px; background: var(--accent-600); transform: skewX(-14deg); }
.why__copy h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; }
@media (min-width: 1024px) { .why__copy h2 { font-size: 34px; } }
.why__copy p { margin-top: 10px; color: #D3DEEF; max-width: 420px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.why__list li + li { border-left: 1px solid rgba(255, 255, 255, .2); }
.why__list a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 10px; text-align: center; color: var(--white); text-decoration: none; font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.why__list a:hover span { text-decoration: underline; }
.why__list svg { width: 42px; height: 42px; color: var(--white); }
@media (max-width: 639px) { .why__media .img-slot__label { top: 16px; bottom: auto; } .why__list a { font-size: 13.5px; } .why__list svg { width: 34px; height: 34px; } .why__media { inset: 0; } .why__shade { background: rgba(6, 23, 51, .78); } }

/* ---------- How it works ---------- */
#how-it-works { background: var(--white); }
#how-it-works .section-head { margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { position: relative; }
.step__link { display: flex; gap: 16px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; color: inherit; transition: background .15s; }
.step__link:hover { background: var(--gray-50); color: inherit; }
.step__num { flex: none; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(180deg, #3E8BFF, var(--accent-700)); color: var(--white); font-weight: 800; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(30, 111, 235, .3); font-variant-numeric: tabular-nums; }
.step__text h3 { font-size: 17px; font-weight: 800; }
.step__text span { display: block; margin-top: 3px; font-size: 14px; color: var(--slate-600); line-height: 1.45; }
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; right: -26px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
    border-top: 2px solid var(--slate-500); border-right: 2px solid var(--slate-500); transform: rotate(45deg);
  }
}

/* ---------- FAQ ---------- */
.faq-section { background: linear-gradient(180deg, var(--white), var(--gray-50)); }
.faq { display: grid; gap: 24px; }
@media (min-width: 1024px) { .faq { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; } }
.faq__intro h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; }
@media (min-width: 1024px) { .faq__intro h2 { font-size: 34px; } }
.faq__intro p { margin-top: 10px; color: var(--slate-600); font-size: 16.5px; max-width: 380px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 1px 2px rgba(11, 26, 51, .04); }
.faq-item h3 { font-size: 16px; font-weight: 700; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 12px 16px; background: none; border: 0; text-align: left; cursor: pointer;
  font-size: 15.5px; font-weight: 700; color: var(--ink); border-radius: 12px;
}
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--ink); transition: transform .2s; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--accent-600); }
.faq-a { padding: 0 16px 16px; color: var(--slate-700); font-size: 15px; }
.faq-a[hidden] { display: none; }
.faq-a a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: #C2CFE3; padding: calc(var(--edge-h) + 32px) 0 88px; --edge-above: var(--gray-50); }
.site-footer a { color: #C2CFE3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand, .site-footer .brand:hover { color: var(--white); text-decoration: none; }
.footer-top { display: grid; gap: 28px 20px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; padding-right: 24px; border-right: 1px solid rgba(255, 255, 255, .1); } }
.footer-brand p { margin-top: 12px; font-size: 14.5px; max-width: 320px; }
.footer-col h2 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 34px; font-size: 14.5px; }
.footer-disclosure { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; line-height: 1.65; color: #C2CFE3; max-width: 980px; }
.footer-legal { margin-top: 16px; font-size: 13.5px; color: #93A4BF; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-swoosh { position: absolute; left: 0; bottom: 0; width: 100%; height: 90px; pointer-events: none; }
.footer-swoosh path { fill: none; stroke: var(--accent-600); stroke-width: 2.5; opacity: .7; }
.footer-swoosh path + path { stroke: var(--accent-400); opacity: .35; }


/* ---------- Drawer (provider details) ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(6, 23, 51, .55); }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(520px, 100%);
  background: var(--white); box-shadow: var(--shadow-pop); display: flex; flex-direction: column;
}
@media (max-width: 639px) { .drawer__panel { top: auto; height: 92vh; border-radius: 20px 20px 0 0; width: 100%; } }
.drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.drawer__head h2 { font-size: 22px; }
.drawer__head .cat { font-size: 14px; color: var(--slate-600); margin-top: 4px; }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.drawer__body { padding: 8px 24px 24px; overflow-y: auto; flex: 1; }
.drawer__body h3 { font-size: 15px; margin-top: 20px; }
.drawer__body .facts { grid-template-columns: 1fr; }
.drawer__body .fact { padding: 14px 0; border-top: 1px solid var(--border); }
.drawer__body ul { padding-left: 18px; margin: 8px 0 0; }
.drawer__body li + li { margin-top: 6px; }
.drawer__foot { padding: 16px 24px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.drawer__note { font-size: 13px; color: var(--slate-600); }

/* ---------- State dialog ---------- */
.modal { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 23, 51, .55); }
.modal__panel { position: relative; width: min(440px, 100%); background: var(--white); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-pop); }
.modal__panel h2 { font-size: 20px; }
.modal__panel p { margin-top: 6px; color: var(--slate-600); font-size: 15px; }
.modal__actions { margin-top: 20px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Local preview notice (file:// only) ---------- */
.preview-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 150;
  max-width: min(560px, calc(100% - 32px)); padding: 14px 18px; border-radius: 12px;
  background: var(--ink); color: var(--white); font-size: 15px; box-shadow: var(--shadow-pop);
}
.preview-toast[hidden] { display: none; }
.preview-toast code { color: var(--accent-300); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.nowrap { white-space: nowrap; }
@media print {
  .site-header, .scroll-cta, .to-top, .menu-toggle, .edge, .img-slot, .footer-swoosh { display: none !important; }
  .hero, .band, .site-footer { background: none !important; color: #000; }
  .hero h1, .band h2 { color: #000; }
}

/* ---------- ChoiceCash pros and cons ---------- */
.pros-cons { padding-top: 24px; padding-bottom: 48px; }
@media (min-width: 1024px) { .pros-cons { padding-top: 32px; } }
.glance { padding-bottom: 32px; }
.pc-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .pc-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.pc-card { border-radius: 16px; padding: 22px; border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow-card); border-top: 4px solid; }
.pc-card--pros { border-top-color: #12A150; }
.pc-card--cons { border-top-color: #E0761B; }
.pc-card h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.pc-badge { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.pc-badge svg { width: 16px; height: 16px; }
.pc-card--pros .pc-badge { background: #12A150; }
.pc-card--cons .pc-badge { background: #E0761B; }
.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--gray-100); }
.pc-list li:first-child { border-top: 0; }
.pc-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; border-radius: 50%; }
.pc-card--pros .pc-list li::before { background: #12A150; }
.pc-card--cons .pc-list li::before { background: #E0761B; }
.pc-list strong { display: block; color: var(--ink); font-size: 15.5px; }
.pc-list span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--slate-600); line-height: 1.5; }
.pc-src { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; color: var(--slate-500); }
.pc-src a { color: var(--slate-500); }
.pc-verdict { margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: var(--accent-50); border: 1px solid var(--accent-100); display: grid; gap: 12px; align-items: center; }
@media (min-width: 900px) { .pc-verdict { grid-template-columns: 1fr auto; gap: 24px; } }
.pc-verdict p { font-size: 15px; color: var(--slate-700); }
.pc-verdict strong { color: var(--ink); }
.pc-verdict__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }

/* ---------- Guides (blog) ---------- */
.guides { background: var(--gray-50); }
.guides__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.guides__head .section-head { margin-bottom: 0; }
.guide-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(11, 26, 51, .12); }
.guide-card__media { aspect-ratio: 16 / 9; }
.guide-card__media::before { inset: 8px; }
.guide-card__media .img-slot__label { font-size: 11.5px; padding: 6px 10px; }
.guide-card__media .img-slot__label strong { font-size: 12px; }
.guide-card__body { padding: 16px 18px 20px; }
.guide-tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); }
.guide-card h3 { margin-top: 6px; font-size: 18px; font-weight: 800; line-height: 1.3; }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* whole card is the link */
.guide-card h3 a:hover { color: var(--accent-700); }
.guide-card h3 a:focus-visible { outline: none; }
.guide-card:focus-within { outline: 2px solid var(--accent-600); outline-offset: 2px; }
.guide-card p { margin-top: 6px; font-size: 14.5px; color: var(--slate-600); line-height: 1.5; }
.guide-more { margin-top: 22px; padding: 18px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; }
.guide-more h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.guide-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 28px; }
@media (min-width: 768px) { .guide-more ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .guide-more ul { grid-template-columns: repeat(3, 1fr); } }
.guide-more a { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gray-100); }
.guide-more a::before { content: ""; flex: none; width: 6px; height: 6px; border-top: 2px solid var(--accent-600); border-right: 2px solid var(--accent-600); transform: rotate(45deg); }
.guide-more a:hover { color: var(--accent-700); }
.faq-section { background: linear-gradient(180deg, var(--white), var(--gray-50)); }

/* ==========================================================================
   Phase B: navigation, pending links, sub-page layout and components
   ========================================================================== */

/* Navigation: two dropdowns, grouped menu, current page */
.nav-dropdown__menu--wide { min-width: 0; width: max-content; max-width: calc(100vw - 32px); display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 4px 16px; padding: 12px; }
.nav-dropdown__menu--wide[hidden] { display: none; }
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.nav-group__label { display: block; padding: 6px 12px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-500); }
.nav-dropdown__menu a { white-space: nowrap; }
.primary-nav a[aria-current="page"], .nav-dropdown.is-current > button { color: var(--accent-700); box-shadow: inset 0 -2px 0 var(--accent-600); border-radius: 8px 8px 0 0; }
.nav-dropdown__menu a[aria-current="page"] { box-shadow: none; background: var(--accent-50); border-radius: 8px; }
.mobile-menu .m-nav > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu .m-nav > li > a { border-bottom: 0; }
.m-group__toggle { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; color: var(--white); font-size: 18px; font-weight: 600; cursor: pointer; padding: 0; }
.m-group__toggle svg { width: 18px; height: 18px; transition: transform .15s; }
.m-group__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-group__list { padding: 0 0 10px; }
.m-group__list a { min-height: 46px !important; font-size: 16px !important; font-weight: 500 !important; color: var(--slate-300) !important; padding-left: 14px; border-bottom: 0 !important; }
.m-group__list a[aria-current="page"] { color: var(--white) !important; font-weight: 700 !important; }
.m-sublabel { padding: 10px 0 2px 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-300); }
.m-secondary { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 18px; }
.mobile-menu .m-secondary a { min-height: 44px; font-size: 14px; font-weight: 500; color: var(--slate-300); border-bottom: 0; }

/* Links to pages that aren't built yet (no href; see tools/sync_site.py) */
a.is-pending { color: inherit; text-decoration: none; cursor: default; }
.link-arrow.is-pending, .btn.is-pending { display: none; }
.guide-card a.is-pending::before, .guide-more a.is-pending + .soon, .guide-more a.is-pending::after {
  content: "Coming soon"; display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 6px; font-size: 11px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; color: var(--slate-600); background: var(--gray-100); vertical-align: 2px; white-space: nowrap;
}
.guide-card a.is-pending::before { position: absolute; top: 12px; right: 12px; margin: 0; z-index: 4; background: rgba(255, 255, 255, .95); }
.guide-card:has(a.is-pending) { cursor: default; }
.guide-card:has(a.is-pending):hover { transform: none; box-shadow: var(--shadow-card); }
.guide-more a.is-pending { color: var(--slate-600); }
.guide-more a.is-pending::before { border-color: var(--slate-300); }
.why__list a:not([href]) { cursor: default; }

/* Footer edge on sub-pages (pages end on white) */
.site-footer { --edge-above: var(--white); }
.page--home .site-footer { --edge-above: var(--gray-50); }
.footer-disclosure a { text-decoration: underline; }

/* Sub-page hero */
.page-hero { position: relative; color: #DCE6F5; background: radial-gradient(900px 300px at 85% 0%, rgba(30, 111, 235, .25), transparent 70%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); padding: 28px 0 calc(var(--edge-h) + 28px); --edge-below: var(--white); }
@media (min-width: 1024px) { .page-hero { padding: 40px 0 calc(var(--edge-h) + 36px); } }
.page-hero h1 { color: var(--white); font-size: 32px; font-weight: 850; letter-spacing: -0.03em; line-height: 1.1; max-width: 860px; }
@media (min-width: 1024px) { .page-hero h1 { font-size: 44px; } }
.page-hero .eyebrow { color: var(--accent-300); }
.page-hero__lead { margin-top: 12px; font-size: 17px; color: #C9D6EA; max-width: 720px; }
.context-note { margin-top: 12px; font-size: 14px; color: #A9BBD6; }
.breadcrumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; color: #A9BBD6; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #6F86A8; }
.breadcrumbs a { color: #C9D6EA; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--white); font-weight: 600; }
.page-hero--404 { padding-bottom: 72px; }
.hero-404-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Sub-page body */
.page-body { padding: 24px 0 72px; }
@media (min-width: 1024px) { .page-body { padding: 32px 0 96px; } }
.page-section { padding: 0; margin-top: 44px; scroll-margin-top: 90px; }
.page-section:first-child, .page-section--flush { margin-top: 0; }
.page-section > h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
@media (min-width: 1024px) { .page-section > h2 { font-size: 28px; } }
.page-section > p { max-width: 780px; }
.page-section > p + p, .page-section > p + .table-wrap, .page-section > .table-wrap + p, .page-section > ul + p, .page-section > p + ul, .page-section > p + ol, .page-section > p + div { margin-top: 12px; }
.page-section ul:not([class]), .page-section ol:not([class]) { padding-left: 20px; max-width: 780px; }
.page-section li + li { margin-top: 6px; }
.muted { color: var(--slate-600); }

/* Trust and legal: table of contents + prose */
.doc-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .doc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; } }
.doc-toc { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; background: var(--gray-50); }
@media (min-width: 1024px) { .doc-toc { position: sticky; top: 96px; } }
.doc-toc__title { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 6px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; }
.doc-toc a { display: block; padding: 6px 0; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.doc-toc a:hover { color: var(--accent-700); }
.prose { max-width: 760px; }
.prose .page-section { margin-top: 36px; }
.prose .page-section:first-child { margin-top: 0; }
.prose .page-section > h2 { font-size: 22px; }
.prose code { font-size: .92em; background: var(--gray-50); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.doc-updated { font-size: 13.5px; color: var(--slate-500); margin-bottom: 18px; }
.label-list { margin: 0; display: grid; gap: 12px; }
.label-list > div { display: grid; gap: 4px; }
@media (min-width: 640px) { .label-list > div { grid-template-columns: 190px 1fr; gap: 16px; } }
.label-list dd { margin: 0; }

/* Cards that lead to the next page */
.next-cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .next-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.next-card { position: relative; border: 1px solid var(--border); border-radius: 14px; padding: 18px; background: var(--white); box-shadow: var(--shadow-card); transition: transform .15s, border-color .15s; }
.next-card:hover { transform: translateY(-2px); border-color: var(--accent-300); }
.next-card h3 { font-size: 17px; font-weight: 800; }
.next-card__link { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.next-card__link::after { content: ""; position: absolute; inset: 0; }
.next-card__link svg { width: 16px; height: 16px; color: var(--accent-600); }
.next-card p { margin-top: 6px; font-size: 14.5px; color: var(--slate-600); }

/* Notices, ledgers, evidence */
.notice { margin-bottom: 24px; padding: 14px 18px; border-radius: 12px; background: var(--accent-50); border: 1px solid var(--accent-100); color: var(--ink); }
.notice[hidden] { display: none; }
.facts--ledger { margin: 0; display: grid; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--white); }
@media (min-width: 768px) { .facts--ledger { grid-template-columns: 1fr 1fr; } }
.facts--ledger .fact { padding: 14px 18px; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .facts--ledger .fact:nth-child(2) { border-top: 0; } .facts--ledger .fact:nth-child(odd) { border-right: 1px solid var(--border); } }
.facts--ledger .fact:first-child { border-top: 0; }
.evidence { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; max-width: 820px; }
.evidence li { padding: 12px 16px; border-left: 4px solid var(--amber-700); background: #FFFBEB; border-radius: 0 10px 10px 0; }
.evidence .sub, .source-list .sub { display: block; margin-top: 4px; font-size: 13px; color: var(--slate-600); }
.source-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; font-size: 14.5px; }
.risk-list { display: grid; gap: 10px; max-width: 820px; }
.verdict { padding: 18px 20px; border-radius: 14px; background: var(--accent-50); border: 1px solid var(--accent-100); max-width: 900px; }

/* How it works (hub) */
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .howto { grid-template-columns: repeat(3, 1fr); } }
.howto li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.howto__num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-600); color: var(--white); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.howto h3 { font-size: 16.5px; font-weight: 800; }
.howto p { margin-top: 4px; font-size: 14.5px; color: var(--slate-600); }

/* State check and grid */
.state-check { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 20px; margin: 14px 0; }
.state-check .field { width: 100%; max-width: 280px; }
.state-check__result { font-weight: 600; min-height: 24px; padding-bottom: 12px; }
.avail--yes { color: var(--emerald-700); }
.avail--no { color: var(--amber-700); }
.state-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .state-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .state-grid { grid-template-columns: repeat(5, 1fr); } }
.state-grid li { padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--white); }
.state-grid li + li { margin-top: 0; }
.state-grid li span { font-weight: 500; font-size: 12.5px; color: var(--slate-600); }
.state-grid li.is-match { border-color: var(--emerald-700); background: #E7F5EF; }

/* Reviews */
.say-grid { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 768px) { .say-grid { grid-template-columns: 1fr 1fr; } }
.say { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.say h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.say ul { margin: 0; padding-left: 18px; }
.say--good { border-top: 4px solid #12A150; }
.say--bad { border-top: 4px solid #E0761B; }

/* Compare page */
.filter-bar { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .filter-bar { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .filter-bar { grid-template-columns: repeat(4, 1fr) auto; align-items: end; position: sticky; top: 84px; z-index: 20; } }
.filter-bar label { font-size: 13px; }
.cmp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 24px 0 16px; }
.cmp-count { color: var(--slate-700); max-width: 760px; }
.cmp-count strong { color: var(--ink); }
.cmp-head .filter-chips { margin: 10px 0 0; }
.cmp-sort { width: 240px; }
.cmp-sort label { font-size: 13px; }
.chip-removable { display: inline-flex; align-items: center; gap: 6px; }
.chip-removable button { border: 0; background: rgba(23, 92, 211, .12); color: var(--accent-800); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; }
.result-card.is-highlight { border-color: var(--accent-300); background: #F7FAFF; }
.results__empty h2 { font-size: 18px; }
.cmp-group { margin-top: 32px; }
.cmp-group h2 { font-size: 20px; font-weight: 800; }
.cmp-group p { margin-top: 6px; font-size: 14.5px; }
.cmp-group[hidden] { display: none; }
.unverified-list { margin-top: 12px; display: grid; gap: 8px; }
@media (min-width: 768px) { .unverified-list { grid-template-columns: repeat(3, 1fr); } }
.unverified-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px dashed var(--slate-300); border-radius: 12px; background: var(--gray-50); }
.unverified-item strong { display: block; color: var(--ink); }
.unverified-item span { font-size: 13px; color: var(--slate-600); }
.info-strip { margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: var(--gray-50); border: 1px solid var(--border); font-size: 14.5px; }

/* Alternatives page */
.alt-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; margin-bottom: 16px; }
.alt-toolbar .field { width: 100%; max-width: 260px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; }
.alt-toolbar + .cmp-count { margin-bottom: 14px; }
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 820px; }
.tips li { padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }

/* Calculator page */
.calc-container { container-type: inline-size; max-width: 980px; }
.calc-share-status { font-size: 14px; color: var(--emerald-700); font-weight: 600; word-break: break-all; }
.scenario-table th .sub { display: block; font-weight: 500; font-size: 12.5px; color: var(--slate-600); }
.scenario-table tr.is-highlight { background: #F3F8FF; }
.payoff { display: grid; gap: 16px; align-items: end; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); max-width: 820px; margin-top: 12px; }
@media (min-width: 768px) { .payoff { grid-template-columns: 200px 1fr; } }
.payoff .input-affix { flex: none; width: 160px; }
.payoff .input-affix .input { min-height: 44px; }
.payoff__out { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.payoff__out dt { font-size: 12.5px; color: var(--slate-600); }
.payoff__out dd { margin: 2px 0 0; font-size: 18px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 479px) { .payoff__out { grid-template-columns: 1fr; } }

/* Provider Detail */
.pd-summary__row { margin: 0 0 16px; display: grid; gap: 10px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-card); }
@media (min-width: 768px) { .pd-summary__row { grid-template-columns: repeat(3, 1fr); } }
.pd-summary__row dt { font-size: 12.5px; color: var(--slate-600); }
.pd-summary__row dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.pd-next { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
@media (max-width: 639px) {
  .filter-bar { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .filter-bar .select { padding-left: 10px; padding-right: 30px; font-size: 15px; background-position: right 8px center; }
  .filter-bar #cmp-reset { grid-column: 1 / -1; min-height: 40px; }
  .cmp-sort { width: 100%; }
}

/* Phase B2 */
@media (min-width: 1024px) { .next-cards:has(> :nth-child(6)) { grid-template-columns: repeat(3, 1fr); } }
.check-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; max-width: 820px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.check-list li + li { margin-top: 0; }
@media (min-width: 900px) { .say-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.say p { font-size: 14.5px; color: var(--slate-700); }
.vs-check { margin: 22px 0 6px; }
.vs-table th:first-child { width: 20%; }
.vs-table td { width: 40%; }
.vs-table tbody th { font-size: 14px; }
@media (max-width: 639px) {
  .vs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vs-table, .vs-table tbody, .vs-table tr, .vs-table th, .vs-table td { display: block; width: 100% !important; }
  .vs-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .vs-table tr:last-child { border-bottom: 0; }
  .vs-table tbody th { padding: 0 0 6px; border: 0; font-size: 15px; }
  .vs-table td { padding: 4px 0; border: 0; display: grid; grid-template-columns: 34% 1fr; gap: 10px; }
  .vs-table td::before { content: attr(data-label); font-size: 12.5px; font-weight: 700; color: var(--slate-600); }
  .vs-table td > * { grid-column: 2; justify-self: start; }
}
.page-section .category-table tbody th .type-name { overflow: visible; }

/* Phase B3: guides */
.article-meta { margin-top: 14px; font-size: 13.5px; color: #A9BBD6; }
.takeaways { margin-bottom: 32px; padding: 18px 22px; border-radius: 14px; background: var(--accent-50); border: 1px solid var(--accent-100); max-width: 1060px; }
.takeaways h2 { font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-800); margin-bottom: 8px; }
.takeaways ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.article-cta { margin-top: 36px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--gray-50); }
.article-cta p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.timeline { list-style: none; counter-reset: tl; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 780px; }
.timeline li { counter-increment: tl; position: relative; padding: 12px 16px 12px 52px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.timeline li::before { content: counter(tl); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-900); color: var(--white); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.timeline li + li { margin-top: 0; }
.prose .howto { grid-template-columns: 1fr; }
.prose .table-wrap { margin-top: 12px; }
.guide-list { display: grid; gap: 12px; }
@media (min-width: 768px) { .guide-list { grid-template-columns: 1fr 1fr; } }
.guide-row { position: relative; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-card); transition: border-color .15s, transform .15s; }
.guide-row:hover { border-color: var(--accent-300); transform: translateY(-2px); }
.guide-row h3 { font-size: 17px; font-weight: 800; line-height: 1.3; }
.guide-row h3 a { color: var(--ink); text-decoration: none; }
.guide-row h3 a::after { content: ""; position: absolute; inset: 0; }
.guide-row p { margin-top: 6px; font-size: 14.5px; color: var(--slate-600); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .compare-table th, .prose .compare-table td { padding: 12px; }
@media (max-width: 639px) { .prose .compare-table { font-size: 13.5px; } .prose .compare-table th, .prose .compare-table td { padding: 10px; } }
.doc-layout > * { min-width: 0; }

/* ---------- B5: /apply/ loan request page ---------- */
.apply-disclosure { margin-bottom: 28px; padding: 20px 22px; border-radius: 14px; background: var(--gray-100, #f3f5f9); border: 1px solid var(--accent-100); }
.apply-disclosure h2 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.apply-disclosure ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.apply-disclosure li { font-size: 15px; line-height: 1.55; color: var(--slate-600, #475569); }
.apply-disclosure strong { color: var(--ink); }
.apply-form { min-height: 420px; max-width: 760px; margin: 0 auto 40px; }
.apply-form #_lg_form_ { min-width: 0; max-width: 100%; overflow-x: auto; }
.apply-form .notice { margin-top: 16px; }
.apply-form:has(#apply-form-fallback:not([hidden])) { min-height: 0; }

/* Calculator: keep the results panel inside the card at every width (Nov 16, 2026) */
.calc { min-width: 0; max-width: 100%; box-sizing: border-box; }
.calc > * { min-width: 0; }
.calc__results { min-width: 0; max-width: 100%; box-sizing: border-box; container-type: inline-size; overflow: hidden; }
.total-figure { font-size: clamp(24px, 14cqi, 36px); white-space: nowrap; }
.calc-metrics { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.calc-metrics .value { font-size: clamp(15px, 8cqi, 18px); overflow-wrap: anywhere; }
.calc-sentence, .calc-disclosure { overflow-wrap: anywhere; }
.calc .input-affix { flex-basis: 104px; }
.calc .input-affix .input { -moz-appearance: textfield; appearance: textfield; }
.calc .input-affix .input::-webkit-outer-spin-button, .calc .input-affix .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-metrics .value { white-space: nowrap; overflow-wrap: normal; }
@container (max-width: 260px) { .calc-metrics { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* ==========================================================================
   Nov 16, 2026: layout fixes, hover dropdowns, scroll UI
   ========================================================================== */
/* Comparison tabs: share the row on small phones instead of overflowing */
@media (max-width: 479.98px) {
  .tabs { gap: 4px; }
  .tab { flex: 1 1 0; min-width: 0; padding: 8px 10px; white-space: normal; line-height: 1.25; font-size: 13.5px; text-align: center; }
}
/* Dropdown: keep items inside the panel; invisible bridge so the menu stays open while the pointer crosses the gap */
.nav-dropdown__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dropdown__menu a { box-sizing: border-box; }
.nav-dropdown__menu--wide .nav-group { min-width: 0; }

/* Mobile: CTA bar that slides in when you scroll up (hidden in the hero) */
.scroll-cta {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  border-radius: 18px; overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, #0A2550 0%, #123A7C 100%);
  box-shadow: 0 14px 40px rgba(6, 23, 51, .35), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility 0s linear .28s;
}
.scroll-cta.is-visible { transform: translateY(0); opacity: 1; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility 0s; }
.scroll-cta__progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.scroll-cta__progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent-400), #7CC4FF); }
.scroll-cta__inner { display: flex; align-items: center; gap: 12px; padding: 13px 12px 12px 16px; }
.scroll-cta__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.scroll-cta__text strong { font-size: 15px; font-weight: 800; }
.scroll-cta__text span { font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.scroll-cta__btn { flex: 0 0 auto; min-height: 44px; padding: 0 16px; font-size: 14.5px; white-space: nowrap; }
@media (max-width: 374.98px) { .scroll-cta__text span { display: none; } .scroll-cta__btn { padding: 0 12px; font-size: 14px; } }
@media (min-width: 768px) { .scroll-cta { display: none; } }

/* Tablet and desktop: back-to-top button with page progress, parked above the footer */
.to-top { display: none; }
@media (min-width: 768px) {
  .to-top {
    display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 40;
    width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--white); color: var(--navy-900); box-shadow: 0 10px 30px rgba(6, 23, 51, .18), 0 0 0 1px var(--border);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s, box-shadow .2s ease;
  }
  .to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(var(--to-top-lift, 0px)) scale(1); transition: opacity .2s ease, transform .2s ease, visibility 0s, box-shadow .2s ease; }
  .to-top:hover { box-shadow: 0 14px 36px rgba(6, 23, 51, .26), 0 0 0 1px var(--accent-100); }
  .to-top:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 3px; }
  .to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
  .to-top__ring circle { fill: none; stroke-width: 3.5; }
  .to-top__track { stroke: var(--gray-100); }
  .to-top__bar { stroke: var(--accent-600); stroke-linecap: round; stroke-dasharray: 131.95; stroke-dashoffset: 131.95; transition: stroke-dashoffset .1s linear; }
  .to-top__pct, .to-top__arrow { grid-area: 1 / 1; transition: opacity .15s ease, transform .15s ease; }
  .to-top__pct { font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
  .to-top__arrow { width: 20px; height: 20px; opacity: 0; transform: translateY(4px); color: var(--accent-700); }
  .to-top:hover .to-top__pct, .to-top:focus-visible .to-top__pct { opacity: 0; transform: translateY(-4px); }
  .to-top:hover .to-top__arrow, .to-top:focus-visible .to-top__arrow { opacity: 1; transform: none; }
  .to-top__tip {
    position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis;
    padding: 7px 12px; border-radius: 999px; background: var(--navy-900); color: var(--white); font-size: 12.5px; font-weight: 600;
    box-shadow: 0 8px 24px rgba(6, 23, 51, .25); opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease;
  }
  .to-top__tip b { color: #9CC8FF; font-weight: 800; }
  .to-top:hover .to-top__tip, .to-top:focus-visible .to-top__tip { opacity: 1; transform: translate(0, -50%); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cta, .scroll-cta.is-visible, .to-top, .to-top.is-visible, .to-top__bar { transition: none; }
}
.scroll-cta__text { margin: 0; }
.calc .range { display: block; margin: 0; box-sizing: border-box; }
/* Comparison panel label: keep the sentence on normal text lines (flex split it into pieces) */
.panel-label { display: block; line-height: 1.6; }
.panel-label .scope-tag { margin-right: 8px; vertical-align: 1px; }
/* Provider cards: the Lender/Federal program tag hugs its text instead of stretching */
.provider-card .kind-tag { justify-self: start; align-self: flex-start; width: max-content; max-width: 100%; }

/* ChoiceCash B6 image integration: dark scenic footer, asset path relative to stylesheet */
.site-footer {background-image:linear-gradient(90deg, rgba(5,18,36,.97) 0%,rgba(5,18,36,.95) 55%,rgba(5,18,36,.80) 100%), url("../images/footer-bg.jpg");background-image:linear-gradient(90deg, rgba(5,18,36,.97) 0%,rgba(5,18,36,.95) 55%,rgba(5,18,36,.80) 100%), image-set(url("../images/footer-bg.webp") type("image/webp"), url("../images/footer-bg.jpg") type("image/jpeg"));background-size:cover;background-position:center bottom;background-repeat:no-repeat;}
/* Hero copy stays readable over the bright part of the photo on phones/tablets */
@media (max-width: 1023.98px) {
  .hero__sub, .hero__copy .eyebrow, .hero__benefits { text-shadow: 0 1px 14px rgba(5, 18, 36, .75), 0 1px 2px rgba(5, 18, 36, .5); }
}

/* ==========================================================================
   Design System v3 — internal pages (Premium Financial Workspace)
   Scoped to body.v3, so the approved homepage (body.page--home) is untouched.
   Page families: product · review · rates · compare · resource · company
   ========================================================================== */
.v3 {
  --cyan-200: #A5F3FC; --cyan-300: #67E8F9; --cyan-400: #22D3EE; --cyan-500: #06B6D4;
  --royal-500: #2F7BFF; --royal-600: #1E6FEB; --royal-700: #175CD3;
  --v3-surface: #F4F8FE;
  --v3-line: #DCE7F5;
  --v3-radius: 20px; --v3-radius-lg: 26px;
  --v3-shadow: 0 1px 2px rgba(10, 37, 80, .04), 0 10px 30px rgba(10, 37, 80, .08);
  --v3-shadow-lg: 0 26px 70px rgba(6, 23, 51, .20);
  --grad-dark: linear-gradient(155deg, #061733 0%, #0A2550 48%, #0E3477 100%);
  --grad-royal: linear-gradient(135deg, #1E6FEB 0%, #22D3EE 100%);
  --grad-panel: linear-gradient(140deg, #0A2550 0%, #0F3A86 70%, #1557C0 100%);
}

/* ---------- Buttons ---------- */
.v3 .btn--cyan { background: linear-gradient(135deg, #3BE0F5, #22D3EE 45%, #12BCD9); color: #061733; box-shadow: 0 10px 26px rgba(34, 211, 238, .32); }
.v3 .btn--cyan:hover { background: #67E8F9; color: #061733; }
.v3 .btn--ghost-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .55); }
.v3 .btn--ghost-light:hover { background: rgba(255, 255, 255, .10); color: var(--white); border-color: var(--white); }
.v3 .btn--ghost { background: var(--white); color: var(--navy-900); border: 1.5px solid #B9CDEA; }
.v3 .btn--ghost:hover { border-color: var(--royal-600); color: var(--royal-700); }
.v3 .btn--cyan, .v3 .btn--ghost-light, .v3 .btn--ghost { border-radius: 999px; min-height: 48px; padding: 0 22px; font-weight: 800; }

/* ---------- Icons ---------- */
.v3 .ico { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.v3 .ico svg { width: 24px; height: 24px; }
.v3 .ico--sm { width: 34px; height: 34px; border-radius: 10px; } .v3 .ico--sm svg { width: 18px; height: 18px; }
.v3 .ico--lg { width: 56px; height: 56px; border-radius: 16px; } .v3 .ico--lg svg { width: 28px; height: 28px; }
.v3 .ico--xl { width: 76px; height: 76px; border-radius: 50%; } .v3 .ico--xl svg { width: 32px; height: 32px; }
.v3 .ico--blue { color: var(--royal-600); background: linear-gradient(145deg, #EEF5FF, #DCEAFF); box-shadow: inset 0 0 0 1px #CFE0FA; }
.v3 .ico--cyan { color: #0891B2; background: linear-gradient(145deg, #ECFEFF, #CFFAFE); box-shadow: inset 0 0 0 1px #A5F3FC; }
.v3 .ico--navy { color: var(--cyan-300); background: var(--navy-900); }
.v3 .ico--green { color: #0E9F5A; background: #E3F7EC; box-shadow: inset 0 0 0 1px #BFEBD3; }
.v3 .ico--red { color: #D9363E; background: #FDE8E9; box-shadow: inset 0 0 0 1px #F8C9CC; }
.v3 .ico--amber { color: #B45309; background: #FEF3C7; box-shadow: inset 0 0 0 1px #FBE1A0; }
.v3 .ico--glass { color: var(--cyan-300); background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.v3 .glyph { width: 20px; height: 20px; }

/* ---------- Hero: shared ---------- */
.v3 .page-hero { overflow: hidden; isolation: isolate; }
.v3 .page-hero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.v3 .page-hero__grid { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .v3 .page-hero.has-aside .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; } }
.v3 .page-hero__copy { min-width: 0; }
.v3 .page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.v3 .page-hero__aside { min-width: 0; position: relative; }
.v3 .page-hero h1 { max-width: 760px; text-wrap: balance; }
@media (min-width: 1024px) { .v3 .page-hero h1 { font-size: 48px; line-height: 1.06; } }
.v3 .illus { display: block; width: 100%; height: auto; max-width: 520px; margin-inline: auto; }
@media (max-width: 1023.98px) { .v3 .page-hero__aside .illus { max-width: 380px; } }
@media (max-width: 639.98px) { .v3 .page-hero__aside .illus { max-width: 300px; margin-bottom: -8px; } }

/* Dark families: product + compare */
.v3 .page-hero--product, .v3 .page-hero--compare {
  color: #D7E3F5; background: var(--grad-dark); padding: 30px 0 calc(var(--edge-h) + 40px); --edge-below: var(--v3-surface);
}
@media (min-width: 1024px) { .v3 .page-hero--product, .v3 .page-hero--compare { padding: 44px 0 calc(var(--edge-h) + 64px); } }
.v3 .page-hero--product .page-hero__deco, .v3 .page-hero--compare .page-hero__deco {
  background:
    radial-gradient(520px 260px at 88% 108%, rgba(34, 211, 238, .30), transparent 70%),
    radial-gradient(620px 360px at 70% -10%, rgba(47, 123, 255, .35), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.v3 .page-hero--compare { background: linear-gradient(150deg, #071A3C 0%, #0B2D63 55%, #12408F 100%); }
.v3 .page-hero--product .eyebrow, .v3 .page-hero--compare .eyebrow { color: var(--cyan-300); }
.v3 .page-hero--product .eyebrow--line::after, .v3 .page-hero--compare .eyebrow--line::after { background: var(--cyan-400); }
.v3 .page-hero--product .edge__line, .v3 .page-hero--compare .edge__line { stroke: var(--cyan-400); filter: drop-shadow(0 0 8px rgba(34, 211, 238, .7)); }

/* Light families: rates · review · resource */
.v3 .page-hero--rates, .v3 .page-hero--review, .v3 .page-hero--resource {
  color: var(--slate-700); background: linear-gradient(180deg, #EAF3FF 0%, #F6FAFF 100%); padding: 28px 0 calc(var(--edge-h) + 34px); --edge-below: var(--v3-surface);
}
@media (min-width: 1024px) { .v3 .page-hero--rates, .v3 .page-hero--review, .v3 .page-hero--resource { padding: 40px 0 calc(var(--edge-h) + 48px); } }
.v3 .page-hero--rates .page-hero__deco { background: radial-gradient(700px 420px at 100% 40%, rgba(47, 123, 255, .20), transparent 70%), radial-gradient(500px 300px at 75% 120%, rgba(34, 211, 238, .22), transparent 70%); }
.v3 .page-hero--review .page-hero__deco { background: radial-gradient(640px 420px at 92% 30%, rgba(47, 123, 255, .16), transparent 70%), radial-gradient(420px 240px at 10% 0%, rgba(34, 211, 238, .14), transparent 70%); }
.v3 .page-hero--resource .page-hero__deco { background: radial-gradient(#C9DEFF 1px, transparent 1.5px) 0 0 / 22px 22px; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.v3 .page-hero--rates h1, .v3 .page-hero--review h1, .v3 .page-hero--resource h1, .v3 .page-hero--company h1 { color: var(--navy-950); }
.v3 .page-hero--rates .page-hero__lead, .v3 .page-hero--review .page-hero__lead, .v3 .page-hero--resource .page-hero__lead, .v3 .page-hero--company .page-hero__lead { color: var(--slate-600); }
.v3 .page-hero--rates .eyebrow, .v3 .page-hero--review .eyebrow, .v3 .page-hero--resource .eyebrow, .v3 .page-hero--company .eyebrow { color: var(--navy-900); }
.v3 .page-hero--rates .eyebrow--line::after, .v3 .page-hero--review .eyebrow--line::after, .v3 .page-hero--resource .eyebrow--line::after { background: var(--cyan-400); }
.v3 .page-hero--rates .context-note, .v3 .page-hero--review .context-note, .v3 .page-hero--resource .context-note, .v3 .page-hero--company .context-note { color: var(--slate-500); }
.v3 .page-hero--rates .article-meta, .v3 .page-hero--review .article-meta, .v3 .page-hero--resource .article-meta { color: var(--slate-500); }
.v3 .page-hero--rates .breadcrumbs ol, .v3 .page-hero--review .breadcrumbs ol, .v3 .page-hero--resource .breadcrumbs ol, .v3 .page-hero--company .breadcrumbs ol { color: var(--slate-500); }
.v3 .page-hero--rates .breadcrumbs a, .v3 .page-hero--review .breadcrumbs a, .v3 .page-hero--resource .breadcrumbs a, .v3 .page-hero--company .breadcrumbs a { color: var(--slate-600); }
.v3 .page-hero--rates .breadcrumbs a:hover, .v3 .page-hero--review .breadcrumbs a:hover, .v3 .page-hero--resource .breadcrumbs a:hover, .v3 .page-hero--company .breadcrumbs a:hover { color: var(--royal-700); }
.v3 .page-hero--rates .breadcrumbs [aria-current], .v3 .page-hero--review .breadcrumbs [aria-current], .v3 .page-hero--resource .breadcrumbs [aria-current], .v3 .page-hero--company .breadcrumbs [aria-current] { color: var(--navy-950); }
.v3 .page-hero--rates .breadcrumbs li + li::before, .v3 .page-hero--review .breadcrumbs li + li::before, .v3 .page-hero--resource .breadcrumbs li + li::before, .v3 .page-hero--company .breadcrumbs li + li::before { color: #A3B4CC; }
.v3 .page-hero--rates .edge__line, .v3 .page-hero--review .edge__line, .v3 .page-hero--resource .edge__line { stroke: #9CC4FF; filter: none; stroke-width: 2; }

/* Company + legal: clean and quiet */
.v3 .page-hero--company { color: var(--slate-700); background: linear-gradient(180deg, #F6F9FE, var(--white)); padding: 26px 0 30px; border-bottom: 1px solid var(--v3-line); }
@media (min-width: 1024px) { .v3 .page-hero--company { padding: 36px 0 40px; } .v3 .page-hero--company h1 { font-size: 40px; } }
.v3 .page-hero--company .eyebrow--line::after { background: var(--royal-600); }

/* ---------- Page body + bands ---------- */
.v3 .page-body { background: var(--v3-surface); }
.v3 .page-body--company, .v3 .page-body--resource:not(.page-body--bands) { background: var(--white); }
.v3.family-company .site-footer, .v3.family-resource:not(.is-hub) .site-footer { --edge-above: var(--white); }
.v3:not(.family-company) .site-footer { --edge-above: var(--v3-surface); }
.v3.family-resource:not(.is-hub) .site-footer { --edge-above: var(--white); }
.v3 .page-body--bands { padding: 8px 0 40px; }
@media (min-width: 1024px) { .v3 .page-body--bands { padding: 16px 0 56px; } }
.v3 .zone { position: relative; padding: 36px 0; }
@media (min-width: 1024px) { .v3 .zone { padding: 52px 0; } }
.v3 .zone:first-child { padding-top: 20px; }
.v3 .zone--sheet { background: var(--white); margin: 48px 0; }
.v3 .zone--sheet::before, .v3 .zone--sheet::after { content: ""; position: absolute; left: 0; right: 0; height: 40px; pointer-events: none;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40C360 0 1080 0 1440 40Z' fill='%23fff'/%3E%3C/svg%3E"); }
.v3 .zone--sheet::before { bottom: calc(100% - 1px); }
.v3 .zone--sheet::after { top: calc(100% - 1px); transform: scaleY(-1); }
@media (max-width: 767.98px) { .v3 .zone--sheet::before, .v3 .zone--sheet::after { height: 22px; } .v3 .zone--sheet { margin: 30px 0; } }
.v3 .zone + .zone:not(.zone--sheet) { padding-top: 12px; }
.v3 .zone--sheet + .zone { padding-top: 36px; }

/* ---------- Section header ---------- */
.v3 .v3-sec { margin-top: 0; }
.v3 .page-body:not(.page-body--bands) .v3-sec + .v3-sec { margin-top: 56px; }
.v3 .sec-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.v3 .sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.v3 .sec-head--center .sec-head__lead { margin-inline: auto; }
.v3 .sec-head__text { min-width: 0; }
.v3 .sec-head h2 { font-size: 26px; font-weight: 850; letter-spacing: -0.025em; line-height: 1.15; color: var(--navy-950); margin: 0; }
@media (min-width: 1024px) { .v3 .sec-head h2 { font-size: 32px; } }
.v3 .sec-head .eyebrow { margin-bottom: 8px; }
.v3 .sec-head__lead { margin-top: 8px; color: var(--slate-600); font-size: 16.5px; max-width: 760px; }
.v3 .v3-sec > p, .v3 .v3-sec > ul:not([class]) { max-width: 820px; }
@media (max-width: 639.98px) { .v3 .sec-head .ico--lg { display: none; } }

/* ---------- Cards ---------- */
.v3 .icard-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .v3 .icard-grid--2, .v3 .icard-grid--3, .v3 .icard-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .v3 .icard-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .v3 .icard-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.v3 .icard { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--v3-radius); background: var(--white); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.v3 .icard:hover { transform: translateY(-2px); border-color: #BCD3F5; box-shadow: 0 2px 4px rgba(10, 37, 80, .05), 0 18px 40px rgba(10, 37, 80, .10); }
.v3 .icard h3 { font-size: 17.5px; font-weight: 800; color: var(--navy-950); line-height: 1.3; }
.v3 .icard p { margin-top: 6px; font-size: 14.5px; color: var(--slate-600); }
.v3 .icard__body { min-width: 0; }
.v3 .icard__body .badge { margin-top: 10px; }
.v3 .icard-grid--stack .icard { flex-direction: column; }
@media (min-width: 1024px) { .v3 .icard-grid--4.icard-grid--stack .icard { padding: 22px 20px; } }
.v3 .icard-grid--tint .icard { background: linear-gradient(180deg, #FFFFFF, #F8FBFF); }

/* Steps / flow */
.v3 .flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: none; }
@media (min-width: 768px) { .v3 .flow { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; } }
.v3 .flow__step { position: relative; text-align: center; padding: 6px 8px; }
.v3 .flow__icon { position: relative; width: 92px; height: 92px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #FFFFFF, #E4EFFF); box-shadow: 0 12px 28px rgba(30, 111, 235, .18), inset 0 0 0 1px #D2E3FB; }
.v3 .flow__icon .ico--glass { background: var(--grad-royal); color: var(--white); box-shadow: 0 8px 18px rgba(30, 111, 235, .35); }
.v3 .flow__num { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--royal-600); color: var(--white); font-size: 13.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--v3-surface); }
.v3 .zone--sheet .flow__num { box-shadow: 0 0 0 4px var(--white); }
.v3 .flow h3 { font-size: 18px; font-weight: 800; color: var(--navy-950); }
.v3 .flow p { margin: 6px auto 0; font-size: 14.5px; color: var(--slate-600); max-width: 300px; }
@media (min-width: 768px) {
  .v3 .flow__step + .flow__step::before { content: ""; position: absolute; top: 46px; right: calc(50% + 58px); width: calc(100% - 116px + 18px); height: 2px; background: linear-gradient(90deg, #BFD6F7, #7FB2FF); }
  .v3 .flow__step + .flow__step::after { content: ""; position: absolute; top: 41px; right: calc(50% + 56px); width: 10px; height: 10px; border-top: 2px solid #7FB2FF; border-right: 2px solid #7FB2FF; transform: rotate(45deg); }
}

/* Stat tiles */
.v3 .stat-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .v3 .stat-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.v3 .stat { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--v3-radius); background: var(--white); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); }
.v3 .stat__label { font-size: 14px; font-weight: 700; color: var(--slate-600); }
.v3 .stat__value { margin-top: 2px; font-size: 26px; font-weight: 850; letter-spacing: -0.02em; color: var(--navy-950); font-variant-numeric: tabular-nums; line-height: 1.15; }
.v3 .stat__note { margin-top: 4px; font-size: 13px; color: var(--slate-500); }

/* Notes */
.v3 .v3-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; background: #F2F7FF; border: 1px solid #D6E6FF; font-size: 14.5px; color: var(--slate-700); }
.v3 .v3-note p { margin: 0; padding-top: 6px; }

/* Panels: dark gradient blocks inside the container */
.v3 .panel-dark { position: relative; overflow: hidden; border-radius: var(--v3-radius-lg); background: var(--grad-panel); color: #D7E3F5; padding: 28px; box-shadow: var(--v3-shadow-lg); isolation: isolate; }
@media (min-width: 1024px) { .v3 .panel-dark { padding: 40px; } }
.v3 .panel-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 260px at 100% 0%, rgba(34, 211, 238, .22), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(47, 123, 255, .30), transparent 70%); }
.v3 .panel-dark h2, .v3 .panel-dark h3 { color: var(--white); }
.v3 .panel-dark a:not(.btn) { color: var(--cyan-300); }
.v3 .panel-dark .eyebrow { color: var(--cyan-300); }
.v3 .panel-dark .eyebrow--line::after { background: var(--cyan-400); }

/* Product snapshot (dark hero aside) */
.v3 .snapshot { position: relative; padding: 22px 22px 18px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03)); border: 1px solid rgba(103, 232, 249, .45);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .08), 0 0 40px rgba(34, 211, 238, .18), 0 30px 60px rgba(2, 10, 30, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.v3 .snapshot__title { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-200); padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.v3 .snapshot__rows { margin: 0; display: grid; }
.v3 .snapshot__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.v3 .snapshot__row:last-child { border-bottom: 0; }
.v3 .snapshot__row .ico { grid-row: span 2; width: 44px; height: 44px; }
.v3 .snapshot__row dt { font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: #9FB4D6; }
.v3 .snapshot__row dd { margin: 1px 0 0; font-size: 15.5px; font-weight: 700; color: var(--white); line-height: 1.35; }
.v3 .snapshot__row dd .sub { display: block; font-size: 12.5px; font-weight: 500; color: #9FB4D6; }
.v3 .snapshot__foot { margin-top: 10px; font-size: 12.5px; color: #9FB4D6; }
.v3 .page-hero__aside .illus--docshield { display: none; }
@media (min-width: 1200px) {
  .v3 .page-hero--product.has-aside .page-hero__aside { padding-right: 120px; }
  .v3 .page-hero__aside .illus--docshield { display: block; position: absolute; right: -30px; top: 50%; width: 200px; transform: translateY(-46%); max-width: none; pointer-events: none; }
}

/* CTA band */
.v3 .cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 20px; align-items: center; padding: 28px; border-radius: var(--v3-radius-lg); }
@media (min-width: 900px) { .v3 .cta-band { grid-template-columns: minmax(0, 1fr) auto; padding: 36px 44px; gap: 32px; } .v3 .cta-band:has(.cta-band__art) { grid-template-columns: auto minmax(0, 1fr) auto; } }
.v3 .cta-band--dark { background: var(--grad-panel); color: #D7E3F5; box-shadow: var(--v3-shadow-lg); }
.v3 .cta-band--dark::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px 220px at 100% 120%, rgba(34, 211, 238, .45), transparent 70%), radial-gradient(360px 200px at 0% -20%, rgba(47, 123, 255, .35), transparent 70%); }
.v3 .cta-band--dark::after { content: ""; position: absolute; right: -14%; bottom: -120%; width: 44%; height: 190%; z-index: -1; border-radius: 50%; border: 2px solid rgba(103, 232, 249, .28); }
.v3 .cta-band--light { background: linear-gradient(120deg, #EAF4FF, #F7FBFF 60%, #DDF6FD); border: 1px solid #CFE3FB; box-shadow: var(--v3-shadow); }
.v3 .cta-band h2 { font-size: 24px; font-weight: 850; letter-spacing: -0.02em; line-height: 1.2; }
@media (min-width: 1024px) { .v3 .cta-band h2 { font-size: 30px; } }
.v3 .cta-band--dark h2 { color: var(--white); }
.v3 .cta-band--light h2 { color: var(--navy-950); }
.v3 .cta-band p { margin-top: 8px; max-width: 620px; }
.v3 .cta-band--light p { color: var(--slate-600); }
.v3 .cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .v3 .cta-band__actions { flex-direction: column; align-items: stretch; } }
.v3 .cta-band__art { display: none; }
@media (min-width: 900px) { .v3 .cta-band__art { display: block; width: 120px; } .v3 .cta-band__art .ico { width: 88px; height: 88px; border-radius: 24px; } .v3 .cta-band__art .ico svg { width: 42px; height: 42px; } }

/* FAQ (v3 look; behaviour from main.js) */
.v3 .v3-faq { gap: 12px; }
.v3 .v3-faq .faq-item { border-radius: 16px; border-color: var(--v3-line); box-shadow: 0 1px 2px rgba(10, 37, 80, .04), 0 6px 18px rgba(10, 37, 80, .05); }
.v3 .v3-faq .faq-q { font-size: 16.5px; font-weight: 800; color: var(--navy-950); }
.v3 .v3-faq .faq-q svg { color: var(--royal-600); }

/* Tables (v3) */
.v3 .table-card { border-radius: var(--v3-radius); background: var(--white); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); overflow: hidden; }
.v3 .table-card .compare-table thead th { background: var(--navy-900); color: var(--white); font-size: 13.5px; padding: 14px 16px; }
.v3 .table-card .compare-table thead th:first-child { background: #0B2B5E; }
.v3 .table-card .compare-table tbody tr:nth-child(even) { background: #F8FBFF; }
.v3 .table-card .compare-table th, .v3 .table-card .compare-table td { padding: 14px 16px; }
.v3 .table-card .compare-table .col-hl { background: #ECFBFE !important; }
.v3 .table-card .compare-table thead th.col-hl { background: linear-gradient(180deg, #67E8F9, #22D3EE) !important; color: #061733; }
.v3 .table-card .compare-table tr.is-highlight { background: #E6F7FD !important; }
.v3 .table-card + .source-line, .v3 .table-card + p { margin-top: 12px; }

/* Tile map (state availability) */
.v3 .tilemap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 4px; }
.v3 .tile { grid-column: var(--x); grid-row: var(--y); aspect-ratio: 1; display: grid; place-items: center; border-radius: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .10); transition: transform .15s, box-shadow .15s; }
.v3 .tile + .tile { margin-top: 0; }
.v3 .tile.is-on { color: #061733; background: linear-gradient(145deg, #67E8F9, #22D3EE); border-color: transparent; box-shadow: 0 4px 12px rgba(34, 211, 238, .25); }
.v3 .tile.is-match { transform: scale(1.18); z-index: 1; box-shadow: 0 0 0 3px var(--white), 0 8px 18px rgba(0, 0, 0, .35); }
.v3 .tile:not(.is-on).is-match { background: #F59E0B; color: #061733; }
@media (min-width: 640px) { .v3 .tile { font-size: 12px; border-radius: 9px; } .v3 .tilemap { gap: 6px; } }
.v3 .avail-panel { display: grid; gap: 24px; }
@media (min-width: 1024px) { .v3 .avail-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 40px; align-items: center; } }
.v3 .avail-panel h2 { font-size: 28px; font-weight: 850; letter-spacing: -0.02em; }
@media (min-width: 1024px) { .v3 .avail-panel h2 { font-size: 34px; } }
.v3 .avail-panel p { margin-top: 10px; }
.v3 .avail-legend { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
.v3 .avail-legend li { display: inline-flex; align-items: center; gap: 8px; }
.v3 .avail-legend li + li { margin-top: 0; }
.v3 .avail-legend i { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(145deg, #67E8F9, #22D3EE); }
.v3 .avail-legend i.off { background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); }
.v3 .panel-dark .state-check { margin: 20px 0 0; }
.v3 .panel-dark .state-check label { color: #C9D6EA; }
.v3 .panel-dark .state-check__result { color: var(--white); }
.v3 .panel-dark .avail--yes { color: #6EE7B7; }
.v3 .panel-dark .avail--no { color: #FCD34D; }

/* Pros / cons */
.v3 .pc-grid { gap: 18px; }
.v3 .pc-card { border-radius: var(--v3-radius); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); }
.v3 .pc-card--pros { background: linear-gradient(180deg, #F1FBF5, #FFFFFF 40%); border-color: #CDEFD9; }
.v3 .pc-card--cons { background: linear-gradient(180deg, #FFF3F3, #FFFFFF 40%); border-color: #F7D3D3; }

/* Summary band (reviews) */
.v3 .summary { display: grid; gap: 24px; }
@media (min-width: 1024px) { .v3 .summary { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; } }
.v3 .summary h2 { font-size: 26px; font-weight: 850; letter-spacing: -0.02em; line-height: 1.2; }
@media (min-width: 1024px) { .v3 .summary h2 { font-size: 30px; } .v3 .summary__aside { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 40px; } }
.v3 .summary p { margin-top: 10px; }
.v3 .summary__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.v3 .summary__rows li { display: flex; gap: 14px; align-items: flex-start; }
.v3 .summary__rows li + li { margin-top: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .10); }
.v3 .summary__rows h3 { font-size: 16.5px; font-weight: 800; }
.v3 .summary__rows p { margin-top: 2px; font-size: 14.5px; color: #B9C9E2; }

/* Score card (Trustpilot figure) */
.v3 .score { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--v3-radius); background: var(--white); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); }
.v3 .score__num { font-size: 44px; font-weight: 900; letter-spacing: -0.04em; color: var(--navy-950); line-height: 1; }
.v3 .score__num small { font-size: 18px; font-weight: 700; color: var(--slate-500); letter-spacing: 0; }
.v3 .score__meta { font-size: 14px; color: var(--slate-600); }
.v3 .score__meta strong { display: block; color: var(--navy-950); font-size: 15.5px; }
.v3 .score__bar { margin-top: 8px; height: 8px; border-radius: 999px; background: #E3ECF8; overflow: hidden; }
.v3 .score__bar span { display: block; height: 100%; background: var(--grad-royal); border-radius: inherit; }
.v3 .two-col { display: grid; gap: 18px; }
@media (min-width: 900px) { .v3 .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } }
.v3 .two-col--wide-left { grid-template-columns: 1fr; }
@media (min-width: 900px) { .v3 .two-col--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

/* Lists in white cards */
.v3 .list-card { padding: 22px 24px; border-radius: var(--v3-radius); background: var(--white); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); }
.v3 .list-card h3 { font-size: 18px; font-weight: 800; color: var(--navy-950); display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.v3 .list-card .check-list { margin-top: 0; }
.v3 .list-card--good { border-top: 4px solid #12A150; }
.v3 .list-card--warn { border-top: 4px solid #E0761B; }

/* Evidence (third-party cost reports) as cards */
.v3 .evidence li { border-left: 0; background: var(--white); border: 1px solid #F3D9A8; border-radius: 16px; padding: 16px 18px 16px 58px; position: relative; box-shadow: var(--v3-shadow); }
.v3 .evidence li::before { content: "!"; position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 9px; background: #FEF3C7; color: #B45309; font-weight: 900; display: grid; place-items: center; }

/* Ledger facts and next cards (v3 polish) */
.v3 .facts--ledger { border-radius: var(--v3-radius); border-color: var(--v3-line); box-shadow: var(--v3-shadow); }
.v3 .next-card { border-radius: 18px; border-color: var(--v3-line); box-shadow: var(--v3-shadow); }
.v3 .next-card h3 { color: var(--navy-950); }
.v3 .next-card:hover { border-color: #9CC4FF; }
.v3 .verdict { border-radius: 18px; background: linear-gradient(120deg, #EEF6FF, #F8FBFF); border-color: #D2E3FB; }
.v3 .tips li { border-radius: 14px; border-color: var(--v3-line); box-shadow: 0 1px 2px rgba(10, 37, 80, .04); }
.v3 .source-block { margin-top: 8px; padding: 18px 22px; border-radius: 18px; background: var(--white); border: 1px dashed #C8D8EE; }
.v3 .source-block h2 { font-size: 18px; font-weight: 800; color: var(--navy-950); margin-bottom: 10px; }

/* ---------- Calculator (pro variant on rates + calculator pages) ---------- */
.v3 .calc-pro .calc { border-radius: var(--v3-radius-lg); border-color: var(--v3-line); box-shadow: var(--v3-shadow-lg); background: var(--white); }
.v3 .calc-pro .calc__results { background: var(--grad-panel); border: 0; color: #D7E3F5; box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .25); }
.v3 .calc-pro .calc__results .label { color: #A9BCDA; }
.v3 .calc-pro .calc__results .total-figure { color: var(--white); text-shadow: 0 0 24px rgba(34, 211, 238, .35); }
.v3 .calc-pro .calc__results .calc-metrics { border-color: rgba(255, 255, 255, .14); }
.v3 .calc-pro .calc__results .calc-metrics .value { color: var(--white); }
.v3 .calc-pro .calc__results .calc-bar { background: rgba(255, 255, 255, .12); }
.v3 .calc-pro .calc__results .calc-bar .p { background: linear-gradient(90deg, #2F7BFF, #4D94FF); }
.v3 .calc-pro .calc__results .calc-bar .i { background: linear-gradient(90deg, #22D3EE, #67E8F9); }
.v3 .calc-pro .calc__results .calc-legend { color: #C9D6EA; }
.v3 .calc-pro .calc__results .calc-legend .lg-p { background: #4D94FF; }
.v3 .calc-pro .calc__results .calc-legend .lg-i { background: #22D3EE; }
.v3 .calc-pro .calc__results .calc-sentence { color: #D7E3F5; }
.v3 .calc-pro .calc__results .calc-sentence strong { color: var(--white); }
.v3 .calc-pro .calc__results .calc-disclosure { color: #A9BCDA; border-color: rgba(255, 255, 255, .14); }
.v3 .calc-pro .calc__results .calc-disclosure svg { color: var(--cyan-300); }

/* Visuals that follow the calculator */
.v3 .viz-grid { display: grid; gap: 18px; }
@media (min-width: 1024px) { .v3 .viz-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); } }
.v3 .viz-card { padding: 22px; border-radius: var(--v3-radius); background: var(--white); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); min-width: 0; }
.v3 .viz-card h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; color: var(--navy-950); }
.v3 .viz-card__sub { margin-top: 4px; font-size: 14px; color: var(--slate-600); }
.v3 .donut-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 16px; }
.v3 .donut { position: relative; width: 168px; height: 168px; flex: none; }
.v3 .donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.v3 .donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.v3 .donut__center strong { font-size: 18px; font-weight: 850; color: var(--navy-950); font-variant-numeric: tabular-nums; }
.v3 .donut__center span { font-size: 12.5px; color: var(--slate-500); }
.v3 .split-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1 1 180px; min-width: 0; }
.v3 .split-legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: 14px; color: var(--slate-600); }
.v3 .split-legend li + li { margin-top: 0; }
.v3 .split-legend i { width: 12px; height: 12px; border-radius: 4px; }
.v3 .split-legend b { color: var(--navy-950); font-variant-numeric: tabular-nums; }
.v3 .split-legend em { grid-column: 2 / -1; font-style: normal; font-size: 12.5px; color: var(--slate-500); margin-top: -4px; }
.v3 .amort { margin-top: 16px; }
.v3 .amort__chart { position: relative; height: 210px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; gap: 4px; padding: 0 0 22px 46px; }
.v3 .amort__axis { position: absolute; left: 0; top: 0; bottom: 22px; width: 42px; display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--slate-500); text-align: right; font-variant-numeric: tabular-nums; }
.v3 .amort__grid { position: absolute; left: 46px; right: 0; top: 0; bottom: 22px; background: repeating-linear-gradient(180deg, #E8EFF8 0 1px, transparent 1px 25%); pointer-events: none; }
.v3 .amort__bar { position: relative; display: flex; flex-direction: column-reverse; height: 100%; justify-content: flex-start; min-width: 0; }
.v3 .amort__bar span { display: block; width: 100%; }
.v3 .amort__bar .p { background: linear-gradient(180deg, #2F7BFF, #175CD3); border-radius: 0 0 4px 4px; }
.v3 .amort__bar .i { background: linear-gradient(180deg, #67E8F9, #22D3EE); border-radius: 4px 4px 0 0; }
.v3 .amort__bar small { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--slate-500); white-space: nowrap; }
.v3 .amort__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 13px; color: var(--slate-600); }
.v3 .amort__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.v3 .takeaway { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #ECFBFE; border: 1px solid #BFF0F8; font-size: 14px; color: var(--slate-700); }
.v3 .scen-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .v3 .scen-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v3 .scen { position: relative; padding: 22px; border-radius: var(--v3-radius); background: var(--white); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); }
.v3 .scen.is-current { border: 2px solid var(--royal-600); box-shadow: 0 18px 40px rgba(30, 111, 235, .18); }
.v3 .scen__tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: #EAF1FB; color: var(--navy-900); }
.v3 .scen.is-current .scen__tag { background: var(--royal-600); color: var(--white); }
.v3 .scen__amt { margin-top: 12px; font-size: 28px; font-weight: 850; letter-spacing: -0.02em; color: var(--navy-950); font-variant-numeric: tabular-nums; }
.v3 .scen__meta { font-size: 13.5px; color: var(--slate-600); }
.v3 .scen__pay { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #EEF5FF; font-size: 22px; font-weight: 850; color: var(--navy-950); font-variant-numeric: tabular-nums; }
.v3 .scen.is-current .scen__pay { background: #DDF6FD; }
.v3 .scen__pay small { font-size: 14px; font-weight: 700; color: var(--slate-600); }
.v3 .scen__total { margin-top: 10px; font-size: 14px; color: var(--slate-700); }
.v3 .scen__total b { color: var(--navy-950); font-variant-numeric: tabular-nums; }

/* ---------- Articles + hub (resource family) ---------- */
.v3 .page-hero--resource .article-meta { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--v3-line); box-shadow: 0 1px 2px rgba(10, 37, 80, .05); }
.v3 .takeaways { border-radius: 20px; background: linear-gradient(135deg, #0A2550, #12408F); border: 0; color: #D7E3F5; padding: 22px 26px; box-shadow: var(--v3-shadow-lg); }
.v3 .takeaways h2 { color: var(--cyan-300); }
.v3 .takeaways li::marker { color: var(--cyan-400); }
.v3 .doc-toc { border-radius: 18px; background: var(--white); border-color: var(--v3-line); box-shadow: var(--v3-shadow); }
.v3 .doc-toc a { border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px; }
.v3 .doc-toc a:hover { border-left-color: var(--royal-600); }
.v3 .prose .page-section > h2 { font-size: 24px; font-weight: 850; letter-spacing: -0.02em; color: var(--navy-950); padding-top: 4px; }
.v3 .prose .page-section > h2::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--grad-royal); margin-bottom: 12px; }
.v3.family-company .prose .page-section > h2::before { display: none; }
.v3 .article-cta { border-radius: 18px; border: 0; background: var(--grad-panel); color: #D7E3F5; padding: 22px 24px; box-shadow: var(--v3-shadow-lg); }
.v3 .article-cta strong { color: var(--white); }
.v3 .article-cta .btn--primary { background: linear-gradient(135deg, #3BE0F5, #22D3EE); color: #061733; box-shadow: 0 10px 26px rgba(34, 211, 238, .30); border-radius: 999px; }
.v3 .guide-hub { display: grid; gap: 18px; }
@media (min-width: 768px) { .v3 .guide-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .v3 .guide-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v3 .guide-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--v3-radius); background: var(--white); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.v3 .guide-tile:hover { transform: translateY(-3px); border-color: #9CC4FF; box-shadow: 0 2px 4px rgba(10, 37, 80, .05), 0 20px 44px rgba(10, 37, 80, .12); }
.v3 .guide-tile h3 { font-size: 17.5px; font-weight: 800; line-height: 1.3; }
.v3 .guide-tile h3 a { color: var(--navy-950); text-decoration: none; }
.v3 .guide-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.v3 .guide-tile p { font-size: 14.5px; color: var(--slate-600); }
.v3 .guide-tile__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v3 .cat-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: #EAF2FF; color: var(--royal-700); }
.v3 .guide-tile__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--royal-700); }
.v3 .guide-tile__more svg { width: 16px; height: 16px; }

/* ---------- Compare family ---------- */
.v3.family-compare .filter-bar { border-radius: 20px; border-color: var(--v3-line); box-shadow: var(--v3-shadow-lg); }
.v3 .vs-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-royal); color: var(--white); font-weight: 900; font-size: 15px; box-shadow: 0 8px 20px rgba(30, 111, 235, .35); }
.v3 .state-sets { display: grid; gap: 16px; }
@media (min-width: 900px) { .v3 .state-sets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v3 .state-set { padding: 20px; border-radius: var(--v3-radius); background: var(--white); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow); }
.v3 .state-set h3 { font-size: 16.5px; font-weight: 800; color: var(--navy-950); }
.v3 .state-set h3 b { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; margin-right: 8px; border-radius: 10px; background: var(--grad-royal); color: var(--white); font-size: 14px; }
.v3 .state-set p { margin-top: 10px; font-size: 14.5px; color: var(--slate-700); }

/* ---------- Company + legal ---------- */
.v3.family-company .page-body { padding-top: 36px; }
.v3.family-company .prose { font-size: 16.5px; line-height: 1.7; }
.v3.family-company .prose .page-section { padding-bottom: 28px; border-bottom: 1px solid #EDF2F8; }
.v3.family-company .prose .page-section:last-child { border-bottom: 0; }
.v3 .contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 18px; background: #F6F9FE; border: 1px solid var(--v3-line); }
.v3 .contact-card a { font-size: 18px; font-weight: 800; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) { .v3 .icard, .v3 .guide-tile, .v3 .next-card { transition: none; } .v3 .icard:hover, .v3 .guide-tile:hover { transform: none; } }
.v3 .v3-sub { margin-top: 28px; }
.v3 .v3-sub__title { font-size: 18px; font-weight: 800; color: var(--navy-950); margin: 28px 0 12px; }
.v3 .v3-sub > .v3-sub__title { margin-top: 0; }
.v3 .v3-actions { margin-top: 16px; }
.v3 .v3-note-wrap { margin-top: 18px; max-width: 900px; }
.v3 .sec-head--center + .icard-grid, .v3 .sec-head--center + .flow { margin-top: 8px; }
.v3 .source-block .page-section { margin-top: 0; }
.v3 .source-block .page-section > h2 { font-size: 18px; margin-bottom: 10px; }

.v3 .calc-pro .calc-container { max-width: none; }
.v3 .calc-pro + .viz-grid { margin-top: 22px; }
.v3 .calc-pro .calc-actions { margin-top: 18px; }
.v3 .flow--4 { --n: 4; }
@media (min-width: 768px) and (max-width: 1023.98px) { .v3 .flow--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .v3 .flow--4 .flow__step:nth-child(3)::before, .v3 .flow--4 .flow__step:nth-child(3)::after { display: none; } }
.v3 .howto-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--slate-700); }
.v3 .howto-list li + li { margin-top: 0; }
.v3 .list-card p { color: var(--slate-700); }
.v3 .list-card .check-list li { color: var(--slate-700); }
.v3 .v3-sec:has(> .sec-head--center) > .v3-actions, .v3 .v3-sec:has(> .sec-head--center) > .source-line { text-align: center; margin-inline: auto; }
.v3 .stat .stat__value { font-size: 24px; }
html[data-page="compare"] .v3 .filter-bar { margin-top: -18px; }
.v3 .alt-toolbar.list-card { padding: 16px 20px; }
.v3 .vs-check.list-card { margin-top: 18px; padding: 16px 20px; }
.v3 .contact-card p { margin: 0 0 2px; }
.v3 .contact-card + p { margin-top: 14px; }
.v3.family-company .doc-toc { box-shadow: none; background: #F6F9FE; }
.v3 .page-hero--product:not(.has-aside) { padding-bottom: calc(var(--edge-h) + 30px); }
.v3 .flow > li + li, .v3 .summary__rows > li + li { margin-top: 0; }
.v3 .two-col > .v3-note { align-self: start; }
.v3 .contact-card > div { min-width: 0; }
.v3 .contact-card a { overflow-wrap: anywhere; }
@media (max-width: 479.98px) { .v3 .contact-card { padding: 16px; gap: 12px; } .v3 .contact-card a { font-size: 16px; } }
.v3 .table-wrap.table-card { overflow-x: auto; }
.v3 .tilemap { gap: 3px; }
.v3 .tile { font-size: clamp(7.5px, 2.3vw, 12px); border-radius: clamp(4px, 1.2vw, 9px); letter-spacing: 0; }
@media (min-width: 640px) { .v3 .tilemap { gap: 6px; } }
@media (max-width: 479.98px) { .v3 .panel-dark { padding: 22px 16px; } }
.v3 .amort__axis { width: 48px; }
.v3 .amort__chart { padding-left: 54px; }
.v3 .amort__grid { left: 54px; }
@media (min-width: 768px) and (max-width: 1023.98px) {
  .v3 .page-hero.has-illus .page-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 24px; }
  .v3 .page-hero.has-illus .page-hero__aside .illus { max-width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .v3 .icard-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v3 .icard-grid--3 .icard { flex-direction: column; padding: 18px; }
}

/* ---------- B7.1 /apply/: selections card, fine print, header always on top ---------- */
/* The partner form can set its own z-index; keep it in its own stacking context so the header stays above it. */
.apply-form { position: relative; z-index: 0; isolation: isolate; }
html[data-page="apply"] .site-header { z-index: 2147483000; }
html[data-page="apply"] .mobile-menu { z-index: 2147483001; }
html[data-page="apply"] .skip-link { z-index: 2147483002; }

.v3 .apply-ctx { max-width: 760px; margin: 0 auto 18px; padding: 22px; border-radius: 22px; background: var(--white);
  border: 1px solid #D6E3F5; box-shadow: 0 18px 40px -24px rgba(11, 37, 84, .35); position: relative; overflow: hidden; }
.v3 .apply-ctx::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--royal-600), var(--cyan-400, #22D3EE)); }
.v3 .apply-ctx[hidden] { display: none; }
.v3 .apply-ctx__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.v3 .apply-ctx__eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--royal-600); margin: 0 0 4px; }
.v3 .apply-ctx h2 { font-size: 22px; line-height: 1.25; margin: 0 0 4px; color: var(--navy-900); }
.v3 .apply-ctx__src { margin: 0; font-size: 14.5px; color: #4A5D7A; }
.v3 .apply-ctx__src strong { color: var(--navy-900); }
.v3 .apply-ctx__edit { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.v3 .apply-ctx__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .v3 .apply-ctx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v3 .apply-ctx__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: #F3F7FD; border: 1px solid #E1EAF7; }
.v3 .apply-ctx__item[hidden] { display: none; }
.v3 .apply-ctx__item .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; }
.v3 .apply-ctx__item .ico svg { width: 20px; height: 20px; }
.v3 .apply-ctx__label { font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: #5B6F8F; }
.v3 .apply-ctx__value { font-size: 16px; font-weight: 800; color: var(--navy-900); line-height: 1.35; overflow-wrap: anywhere; }
.v3 .apply-ctx__value .sub { display: block; font-size: 13px; font-weight: 500; color: #5B6F8F; }
.v3 .apply-ctx__item[data-ctx="estimate"] { grid-column: 1 / -1; }
.v3 .apply-ctx__note { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 13.5px; color: #4A5D7A; }
.v3 .apply-ctx__note .ico { width: 28px; height: 28px; border-radius: 8px; } .v3 .apply-ctx__note .ico svg { width: 16px; height: 16px; }

.v3 .apply-fine { max-width: 760px; margin: 0 auto 22px; display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.55; color: #4A5D7A; }
.v3 .apply-fine .ico { width: 28px; height: 28px; border-radius: 8px; margin-top: 1px; } .v3 .apply-fine .ico svg { width: 16px; height: 16px; }
.v3 .apply-fine strong { color: var(--navy-900); }

/* ---------- B7.2 /apply/: selections card → connector → application card (design F) ---------- */
.v3 .apply-ctx { max-width: 760px; margin: 0 auto; padding: 20px 22px; border-radius: 20px; border: 1px solid #D6E3F5; box-shadow: 0 14px 34px -24px rgba(11, 37, 84, .35); overflow: visible; }
.v3 .apply-ctx::before { content: none; }
.v3 .apply-ctx__head { flex-wrap: nowrap; margin-bottom: 14px; }
.v3 .apply-ctx h2 { font-size: 21px; }
.v3 .apply-ctx__edit { flex: none; display: inline-flex; align-items: center; min-height: 44px; margin: -10px -4px 0 0; padding: 0 4px; font-size: 14.5px; font-weight: 700; color: var(--royal-600); text-decoration: none; }
.v3 .apply-ctx__edit:hover { color: var(--royal-700); text-decoration: underline; }
.v3 .apply-ctx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v3 .apply-ctx__item { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 10px 12px; }
.v3 .apply-ctx__item .ico { width: 34px; height: 34px; border-radius: 10px; }
.v3 .apply-ctx__item .ico svg { width: 17px; height: 17px; }
.v3 .apply-ctx__label { font-size: 11.5px; }
.v3 .apply-ctx__value { font-size: 15px; }
@media (max-width: 359.98px) { .v3 .apply-ctx__grid { grid-template-columns: minmax(0, 1fr); } }

.v3 .apply-link { display: flex; flex-direction: column; align-items: center; padding: 6px 0; }
.v3 .apply-link::before, .v3 .apply-link::after { content: ""; width: 2px; height: 16px; background: linear-gradient(180deg, #D6E3F5, var(--royal-600)); }
.v3 .apply-link::after { background: linear-gradient(180deg, var(--royal-600), var(--cyan-400)); }
.v3 .apply-link span { width: 10px; height: 10px; border-radius: 50%; background: var(--royal-600); box-shadow: 0 0 0 4px #DCEAFE; }
.v3 .apply-ctx[hidden] + .apply-link { display: none; }

.v3 .apply-card { position: relative; max-width: 760px; margin: 0 auto 40px; background: var(--white); border: 1px solid #D6E3F5; border-radius: 22px; box-shadow: 0 26px 60px -32px rgba(10, 37, 80, .45); }
.v3 .apply-card::before { content: ""; display: block; height: 5px; border-radius: 21px 21px 0 0; background: linear-gradient(90deg, var(--royal-600), var(--cyan-400)); }
.v3 .apply-card__head { padding: 20px 28px 18px; }
.v3 .apply-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.v3 .apply-card__eyebrow, .v3 .apply-card__secure { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.v3 .apply-card__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--royal-600); }
.v3 .apply-card__eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--royal-600), var(--cyan-400)); }
.v3 .apply-card__secure { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 999px; background: #EEF4FF; border: 1px solid #D3E2FB; color: var(--royal-700); white-space: nowrap; }
.v3 .apply-card__secure .glyph { width: 14px; height: 14px; }
.v3 .apply-card h2 { margin: 0; font-size: 28px; line-height: 1.15; color: var(--navy-900); }

.v3 .apply-steps { list-style: none; margin: 0; padding: 18px 28px; display: flex; align-items: center; background: linear-gradient(135deg, #0A2550 0%, #0F3A86 100%); }
.v3 .apply-steps__item { display: flex; align-items: center; gap: 12px; flex: 1 1 0; min-width: 0; margin: 0; }
.v3 .apply-steps__item:last-child { flex: 0 0 auto; }
.v3 .apply-steps__item:not(:last-child)::after { content: ""; flex: 1; min-width: 16px; height: 2px; margin: 0 14px; background: rgba(255, 255, 255, .22); }
.v3 .apply-steps__item.is-current:not(:last-child)::after { background: linear-gradient(90deg, var(--cyan-400), rgba(255, 255, 255, .25)); }
.v3 .apply-steps__ico { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--white); background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .28); box-sizing: border-box; }
.v3 .apply-steps__ico .glyph { width: 19px; height: 19px; }
.v3 .is-current .apply-steps__ico { background: var(--cyan-400); border-color: var(--cyan-400); color: var(--navy-900); }
.v3 .apply-steps__txt { display: flex; flex-direction: column; min-width: 0; }
.v3 .apply-steps__num { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9FB6DA; }
.v3 .is-current .apply-steps__num { color: var(--cyan-400); }
.v3 .apply-steps__name { font-size: 14.5px; font-weight: 700; color: var(--white); white-space: nowrap; }
.v3 .apply-steps__short { display: none; }

.v3 .apply-card__body { padding: 30px 24px 26px; }
.v3 .apply-card .apply-form { margin: 0 auto; max-width: 100%; }

.v3 .apply-card__badges { list-style: none; margin: 0; padding: 14px 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 8px; background: var(--v3-surface); border-top: 1px solid var(--v3-line); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #52627C; }
.v3 .apply-card__badges li { margin: 0; white-space: nowrap; }
.v3 .apply-card__badges li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 20px; border-radius: 50%; background: #9FB0C9; vertical-align: middle; }
.v3 .apply-card__fine { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 16px 28px 20px; border-top: 1px solid var(--v3-line); font-size: 12.5px; line-height: 1.55; color: #4A5D7A; }
.v3 .apply-card__fine .glyph { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #4A5D7A; }
.v3 .apply-card__fine strong { color: var(--navy-900); }

@media (max-width: 639.98px) {
  .v3 .apply-ctx { padding: 18px; }
  .v3 .apply-ctx h2 { font-size: 20px; }
  .v3 .apply-ctx__value { font-size: 14px; }
  .v3 .apply-card__head { padding: 16px 18px 14px; }
  .v3 .apply-card h2 { font-size: 24px; }
  .v3 .apply-steps { align-items: flex-start; padding: 16px 10px; }
  .v3 .apply-steps__item, .v3 .apply-steps__item:last-child { flex: 1 1 0; flex-direction: column; gap: 6px; text-align: center; position: relative; }
  .v3 .apply-steps__item:not(:last-child)::after { position: absolute; top: 19px; left: calc(50% + 26px); right: calc(-50% + 26px); min-width: 0; margin: 0; }
  .v3 .apply-steps__ico { width: 38px; height: 38px; border-radius: 12px; }
  .v3 .apply-steps__txt { align-items: center; }
  .v3 .apply-steps__num { font-size: 10.5px; }
  .v3 .apply-steps__name { font-size: 13px; }
  .v3 .apply-steps__long { display: none; }
  .v3 .apply-steps__short { display: inline; }
  .v3 .apply-card__body { padding: 22px 6px 18px; }
  .v3 .apply-card__badges { font-size: 11px; padding: 12px; }
  .v3 .apply-card__badges li + li::before { margin: 0 10px; }
  .v3 .apply-card__fine { padding: 14px 18px 18px; }
}
@media (min-width: 640px) and (max-width: 899.98px) {
  .v3 .apply-steps__long { display: none; }
  .v3 .apply-steps__short { display: inline; }
}
.v3 .apply-card__eyebrow { white-space: nowrap; }
@media (max-width: 639.98px) {
  .v3 .apply-card__eyebrow, .v3 .apply-card__secure { font-size: 11px; letter-spacing: .08em; }
  .v3 .apply-card__eyebrow { gap: 8px; }
  .v3 .apply-card__eyebrow::before { width: 14px; }
  .v3 .apply-card__secure { padding: 6px 10px 6px 8px; }
  /* Chips: icon + label on one row, the value gets the full width below. */
  .v3 .apply-ctx__item { grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; row-gap: 6px; align-items: center; }
  .v3 .apply-ctx__item .ico { grid-row: auto; width: 26px; height: 26px; border-radius: 8px; }
  .v3 .apply-ctx__item .ico svg { width: 14px; height: 14px; }
  .v3 .apply-ctx__value { grid-column: 1 / -1; font-size: 15px; }
  /* Trust strip: every item gets its own dot, so a wrapped line still starts cleanly. */
  .v3 .apply-card__badges { column-gap: 16px; }
  .v3 .apply-card__badges li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 8px 0 0; border-radius: 50%; background: #9FB0C9; vertical-align: middle; }
  .v3 .apply-card__badges li + li::before { margin: 0 8px 0 0; }
}
.v3 .apply-card__badges { border-radius: 0 0 21px 21px; }
html[data-page="apply"] #about-this-application, html[data-page="apply"] #before-you-borrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* B7.4 /apply/: quieter "About this application" + "Before you accept an offer" (fine-print weight, still readable) */
html[data-page="apply"] #about-this-application { margin-top: 32px; }
html[data-page="apply"] #before-you-borrow { margin-top: 22px; padding-bottom: 8px; }
html[data-page="apply"] #about-this-application > h2,
html[data-page="apply"] #before-you-borrow > h2 { font-size: 15px; font-weight: 700; letter-spacing: 0; color: #22324D; margin-bottom: 8px; }
html[data-page="apply"] #about-this-application .check-list,
html[data-page="apply"] #before-you-borrow .check-list { gap: 4px; margin-top: 0; }
html[data-page="apply"] #about-this-application .check-list li,
html[data-page="apply"] #before-you-borrow .check-list li { padding-left: 20px; font-size: 13.5px; line-height: 1.55; color: #5B6B84; }
html[data-page="apply"] #about-this-application .check-list li::before,
html[data-page="apply"] #before-you-borrow .check-list li::before { content: ""; top: 8px; left: 4px; width: 6px; height: 6px; border-radius: 50%; background: #A9B8CE; box-shadow: none; }
html[data-page="apply"] #about-this-application strong { font-weight: 600; color: #3E4F6B; }
html[data-page="apply"] #about-this-application a { color: #3E5A8A; }

/* ---------- B7.6 "Ready to apply?" prompt (homepage results, /compare/ results, provider drawer) ----------
   One section-level CTA, never on a provider card: the form is ChoiceCashLoans.com's network, not the listed provider. */
.apply-prompt { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 18px 20px; border-radius: 16px;
  background: linear-gradient(135deg, #F2F7FF 0%, #ECF8FD 100%); border: 1px solid #D3E2FB; }
.apply-prompt__ico { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #1E6FEB; color: #FFFFFF; }
.apply-prompt__ico svg { width: 22px; height: 22px; }
.apply-prompt__text { flex: 1; min-width: 0; }
.apply-prompt__text p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #4A5D7A; }
.apply-prompt__text .apply-prompt__title { font-size: 16.5px; font-weight: 800; color: #0B1F3A; margin-bottom: 2px; }
.apply-prompt__btn { flex: none; white-space: nowrap; }
@media (max-width: 639.98px) {
  .apply-prompt { flex-wrap: wrap; padding: 16px; }
  .apply-prompt__ico { width: 40px; height: 40px; }
  .apply-prompt__text { flex-basis: calc(100% - 56px); }
  .apply-prompt__btn { width: 100%; justify-content: center; }
}
.apply-prompt--drawer { display: grid; gap: 10px; margin-top: 4px; padding: 14px; border-radius: 14px; }
.apply-prompt--drawer p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #4A5D7A; }
.apply-prompt--drawer strong { color: #0B1F3A; }
html[data-page="apply"] .apply-prompt--drawer { display: none; }
@media (max-width: 639.98px) { .apply-prompt { align-items: flex-start; } }
