/* FinanceMonsta · design tokens and components. Source of truth: Paper page "06 · Site v4". */
/* Self-hosted Latin subsets (from Google Fonts, SIL Open Font License). Figtree is one variable file for weights 300 to 800. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/brand-assets/fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/brand-assets/fonts/dm-serif-display-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/brand-assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #04193d;
  --navy-2: #0b2a5c;
  --blue: #005eff;
  --blue-press: #004fd6;
  --sky: #7cc8ff;
  --pill: #5cb8ff;
  --paper: #fffdfa;
  --ink: #292b29;
  --muted: #565d5a;
  --subtle: #6f7672;
  --border: #e5e7eb;
  --border-strong: #a4a8a4;
  --surface: #eef4fd;
  --stone: #f6f6f3;
  --success: #0b6b47;
  --gold: #ffb400;
  --font: "Figtree", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --shadow-card: 0 24px 48px rgba(4, 25, 61, 0.12);
  --shadow-float: 0 18px 40px rgba(4, 25, 61, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--pill); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: min(1328px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding-block: 112px 0; }
.stack { display: flex; flex-direction: column; }

/* ---------- type ---------- */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.eyebrow--sky { color: var(--sky); }
.h-display { font-size: clamp(44px, 5vw, 72px); line-height: 1.06; letter-spacing: -2px; font-weight: 500; }
.h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.07; letter-spacing: -2.5px; font-weight: 600; color: var(--navy); }
.h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.17; letter-spacing: -2px; font-weight: 600; color: var(--navy); }
.h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.14; letter-spacing: -1.5px; font-weight: 600; color: var(--navy); }
.h4 { font-size: 32px; line-height: 38px; letter-spacing: -1px; font-weight: 600; color: var(--navy); }
.lede { font-size: 18px; line-height: 28px; color: var(--muted); }
.muted { color: var(--muted); }
.fine { font-size: 12px; line-height: 18px; color: var(--subtle); }
.on-dark { color: var(--paper); }
.on-dark .lede, .lede.on-dark { color: rgba(255, 253, 250, 0.78); }
.accent-sky { color: var(--sky); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-press); box-shadow: 0 10px 24px rgba(0, 94, 255, 0.28); }
.btn--light { background: var(--pill); color: var(--navy); }
.btn--light:hover { background: #7cc8ff; }
.btn--ghost { border-color: var(--border-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-dark { border-color: rgba(255, 253, 250, 0.38); color: var(--paper); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--paper); }
.btn--white { background: #fff; color: var(--ink); border-color: #cbd2dc; }
.btn--white:hover { border-color: var(--ink); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--block { width: 100%; border-radius: 8px; height: 56px; }
.btn--sm { height: 40px; padding: 0 16px; border-radius: 8px; font-size: 14px; }
.btn svg { flex-shrink: 0; }
.link { color: var(--blue); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: flex-start; padding-top: 18px; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 28px; color: var(--navy); }
.logo__m { position: relative; display: inline-flex; }
/* Mascot anchors: each image's contact edge (paws, feet, hands) is the image edge, so position by that edge.
   Figtree metrics: cap top = 0.15em and x-height top = 0.34em below the line box top (line-height: 1). */
/* The peek is two layers cut from one image: the body (with face) and the paws. Both are 720x525 with the
   paw line at 328px. The wrapper ends at the paw line and clips below it; on hover only the body rises,
   so the paws stay gripping the M and the face and smile come up from behind it. */
.logo__peek { position: absolute; left: -0.32em; bottom: calc(100% - 0.19em); width: 1.64em; height: calc(1.64em * 328 / 720); clip-path: inset(-1em -1em 0 -1em); pointer-events: none; }
.logo__peek img { position: absolute; left: 0; top: 0; width: 100%; max-width: none; }
.logo__body { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.logo:hover .logo__body, .logo:focus-visible .logo__body { transform: translateY(-0.3em); }
.logo__word { position: relative; }
.logo--light { color: var(--paper); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.site-header__left { display: flex; align-items: center; gap: 40px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 10px 16px; border-radius: 999px; font-size: 16px; line-height: 20px; transition: background-color .2s; }
.site-nav a:hover { background: rgba(4, 25, 61, 0.06); }
.site-nav a[aria-current="page"] { background: var(--stone); font-weight: 600; }
.site-header__right { display: flex; align-items: center; gap: 12px; }
.site-header__partners { padding: 12px 20px; border-radius: 999px; font-size: 16px; }
.site-header__partners[aria-current="page"] { background: var(--surface); font-weight: 600; }
.site-header--light { background: #fff; border-bottom: 1px solid var(--border); }
.site-header--dark { color: var(--paper); }
.site-header--dark .site-nav a:hover { background: rgba(255, 253, 250, 0.1); }
.site-header--dark .site-header__partners[aria-current="page"] { background: rgba(255, 253, 250, 0.12); }
.site-nav__extra { display: none; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.site-header__inner { width: min(1328px, 100% - 48px); margin-inline: auto; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.float { animation: float 5s ease-in-out infinite; }
.float--slow { animation-duration: 7s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  * { transition-duration: 0s !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- form fields ---------- */
.field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 64px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.field:focus-within { border-color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.field label, .field__label { font-size: 12px; line-height: 16px; color: var(--subtle); }
.field input, .field select { border: 0; padding: 0; outline: none; background: transparent; font-size: 16px; font-weight: 600; line-height: 20px; color: var(--ink); width: 100%; appearance: none; }
.field select { padding-right: 22px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23292B29' stroke-width='1.8'/%3E%3C/svg%3E") right center no-repeat; }
.field__affix { position: absolute; right: 16px; bottom: 13px; font-size: 16px; font-weight: 600; }
.field--prefix input { padding-left: 12px; }
.field__prefix { position: absolute; left: 16px; bottom: 13px; font-size: 16px; font-weight: 600; }

/* ---------- custom dropdown (enhances a native <select>) ---------- */
.dd-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dd { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 600; line-height: 20px; color: var(--ink); text-align: left; cursor: pointer; }
.dd:focus-visible { outline: none; }
.dd__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__chev { flex-shrink: 0; transition: transform .25s var(--ease); }
.dd[aria-expanded="true"] .dd__chev { transform: rotate(180deg); }
.p-field .dd { height: 48px; padding: 0 14px; border: 1px solid #cbd2dc; border-radius: 8px; background: #fff; font-size: 15px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.p-field .dd:focus-visible, .p-field .dd[aria-expanded="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 94, 255, 0.15); }
.dd-list { position: absolute; z-index: 60; max-height: 320px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 40px rgba(4, 25, 61, 0.16), 0 2px 6px rgba(4, 25, 61, 0.06); font-family: var(--font); opacity: 0; transform: translateY(-4px); transition: opacity .16s var(--ease), transform .16s var(--ease); }
.dd-list--up { transform: translateY(4px); }
.dd-list.is-open { opacity: 1; transform: none; }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 8px; font-size: 15px; line-height: 20px; color: var(--ink); cursor: pointer; }
.dd-opt.is-active { background: var(--surface); }
.dd-opt[aria-selected="true"] { font-weight: 600; color: var(--blue); }
.dd-opt svg { flex-shrink: 0; visibility: hidden; }
.dd-opt[aria-selected="true"] svg { visibility: visible; }

/* ---------- home hero ---------- */
.hero-home { position: relative; background: var(--navy); overflow: hidden; min-height: 800px; }
.hero-home__photo { position: absolute; right: 0; top: 0; width: 70%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-home__fade { position: absolute; inset: 0 auto 0 0; width: 78%; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 48%, rgba(4, 25, 61, 0) 100%); }
.hero-home__scrim { position: absolute; inset: 0 0 auto 0; height: 180px; background: linear-gradient(180deg, rgba(4, 25, 61, 0.85), rgba(4, 25, 61, 0)); }
.hero-home__body { position: relative; padding: 40px 0 96px 64px; max-width: 820px; color: var(--paper); }
.hero-home__body .lede { max-width: 520px; margin-top: 20px; font-weight: 300; color: var(--paper); }
.start-card { position: relative; margin-top: 64px; max-width: 680px; background: #fff; border-radius: var(--radius); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3); color: var(--ink); }
.start-card__peek { position: absolute; right: 24px; bottom: calc(100% - 5px); width: 150px; pointer-events: none; }
.vtabs { display: flex; padding: 16px 16px 0; border-bottom: 1px solid var(--border); }
.vtab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 2px 12px; background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; font-size: 14px; line-height: 18px; color: var(--muted); transition: color .2s; }
.vtab img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; transition: transform .25s var(--ease), box-shadow .25s; }
.vtab:hover img { transform: translateY(-2px); }
.vtab[aria-selected="true"] { border-bottom-color: var(--blue); color: var(--ink); font-weight: 600; }
.vtab[aria-selected="true"] img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ring, var(--blue)); }
.start-card__row { display: flex; gap: 8px; padding: 16px; }
.start-card__row .field:first-child { flex: 1; }
.start-card__zip { width: 130px; flex-shrink: 0; }
.start-card__row .btn { height: 64px; border-radius: 8px; padding: 0 24px; }
.start-card__fine { padding: 0 16px 16px; font-size: 12px; line-height: 18px; color: var(--subtle); }

/* ---------- impact ---------- */
.impact { position: relative; overflow: hidden; padding: 96px 0 136px; }
.impact__swoop { position: absolute; left: 50%; top: 690px; width: 2280px; height: 1800px; margin-left: -1140px; border-radius: 50%; background: var(--surface); }
.impact__claim { position: relative; text-align: center; }
.impact__claim .eyebrow { margin-bottom: 20px; }
.impact__claim .h-claim { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -2.5px; font-weight: 600; color: var(--navy); }
.impact__claim .h-claim span { color: var(--blue); display: block; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; }
.stat { padding: 0 32px; border-left: 1px solid #e1e5ec; }
.stat:last-child { border-right: 1px solid #e1e5ec; }
.stat__bar { width: 40px; height: 4px; border-radius: 2px; }
.stat__num { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; font-size: 56px; line-height: 64px; letter-spacing: -2px; font-weight: 600; color: var(--navy); }
.stat__stars { font-size: 22px; letter-spacing: 1px; color: var(--gold); }
.stat__label { margin-top: 8px; font-size: 16px; line-height: 22px; color: var(--muted); }
.logos { position: relative; margin-top: 64px; text-align: center; }
.logos__label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.logos__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 0 24px; color: #7a817d; flex-wrap: wrap; }
.wm { line-height: 34px; white-space: nowrap; }
.wm--serif { font-family: "DM Serif Display", serif; font-size: 30px; }
.wm--bold { font-size: 30px; font-weight: 800; letter-spacing: -1.5px; }
.wm--caps { font-size: 22px; font-weight: 700; letter-spacing: 0.28em; }
.wm--italic { font-family: "Instrument Serif", serif; font-style: italic; font-size: 34px; }
.wm--light { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; }
.offers-row { position: relative; display: grid; grid-template-columns: 480px 1fr; align-items: center; gap: 72px; margin-top: 72px; }
.checks { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; line-height: 24px; }
.checks svg { flex-shrink: 0; }
.mock-stage { position: relative; padding: 40px 0 56px; }
.browser { background: #fff; border-radius: 20px; box-shadow: 0 32px 64px rgba(4, 25, 61, 0.16); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--stone); border-bottom: 1px solid var(--border); }
.browser__dot { width: 10px; height: 10px; border-radius: 999px; }
.browser__url { margin-left: 12px; padding: 4px 12px; background: #fff; border-radius: 6px; font-size: 12px; color: var(--subtle); }
.browser__head { display: flex; align-items: center; gap: 14px; padding: 20px 24px 12px; }
.avatar { border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.offer-list { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 8px 24px 24px; }
.offer { display: grid; grid-template-columns: 110px 1fr 1fr 1fr auto; align-items: center; gap: 20px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; transition: transform .25s var(--ease), box-shadow .25s; }
.offer:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(4, 25, 61, 0.08); }
.offer--best { position: relative; border: 2px solid var(--blue); background: #f5f9ff; }
.offer__tag { position: absolute; right: -2px; top: -13px; padding: 4px 10px; border-radius: 999px; background: #ffd566; font-size: 12px; font-weight: 600; color: var(--navy); }
.kv__k { font-size: 12px; line-height: 16px; color: var(--subtle); }
.kv__v { font-size: 22px; line-height: 28px; font-weight: 600; }
.kv__v--save { color: var(--success); }
/* The matches list and the thank-you share one grid cell, so switching views never changes the mockup's height. */
.browser__views { display: grid; }
/* Visibility flips at once when a view appears (so it can take focus) and only after the fade when it leaves. */
.browser__view { grid-area: 1 / 1; transition: opacity .3s var(--ease), visibility 0s; }
.browser__view:not(.is-active) { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.ty__title { font-size: 20px; line-height: 26px; font-weight: 600; outline: none; }
.ty { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 8px 24px 24px; }
.ty__card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; }
.ty__card--call { border-color: #cfe0ff; background: #f5f9ff; }
.ty__label { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--subtle); }
.ty__clock { font-size: 36px; line-height: 42px; font-weight: 700; letter-spacing: -1px; color: var(--navy); font-variant-numeric: tabular-nums; }
.ty__wm { display: flex; align-items: center; min-height: 34px; }
.ty__kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.ty__kv .kv__v { font-size: 20px; }
.ty__note { margin-top: auto; padding-top: 8px; font-size: 12px; line-height: 17px; color: var(--muted); }
.ty__actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ty__back { padding: 8px 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--blue); cursor: pointer; }
.ty__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-float); }
.float-card--save { left: -56px; bottom: 0; }
.float-card--time { right: -28px; top: 8px; }
.float-card__icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }

/* ---------- how it works ---------- */
.how { padding: 112px 0; }
.how__head { text-align: center; }
.how__head .h2 { margin-top: 12px; }
.how__grid { display: grid; grid-template-columns: 440px 1fr; align-items: center; gap: 80px; margin-top: 56px; }
.step { display: flex; gap: 20px; width: 100%; padding: 24px 0; border: 0; border-top: 1px solid var(--border); background: none; text-align: left; cursor: pointer; }
.step:last-child { border-bottom: 1px solid var(--border); }
.step__bar { width: 4px; border-radius: 2px; background: var(--border); flex-shrink: 0; transition: background-color .3s; }
.step__n { font-size: 14px; font-weight: 600; color: var(--subtle); }
.step__t { margin-top: 6px; font-size: 22px; line-height: 28px; font-weight: 600; color: var(--subtle); transition: color .3s, font-size .3s; }
.step__d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.step__d > span { overflow: hidden; font-size: 16px; line-height: 24px; color: var(--muted); }
.step.is-active .step__bar { background: var(--blue); }
.step.is-active .step__n { color: var(--blue); }
.step.is-active .step__t { color: var(--navy); font-size: 28px; line-height: 34px; letter-spacing: -1px; }
.step.is-active .step__d { grid-template-rows: 1fr; margin-top: 8px; }
.phone-stage { position: relative; height: 560px; border-radius: 24px; background: var(--navy); overflow: hidden; display: flex; justify-content: center; }
.phone-stage__glow { position: absolute; left: 180px; top: 60px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 94, 255, 0.5) 0%, rgba(4, 25, 61, 0) 65%); }
.phone { position: relative; width: 300px; height: 600px; margin-top: 80px; padding: 12px; border-radius: 44px; background: #0b0f1a; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
.phone__screen { position: relative; height: 100%; padding: 28px 20px; border-radius: 34px; background: #f3f5f9; display: flex; flex-direction: column; gap: 18px; }
.phone__view { display: none; flex-direction: column; gap: 16px; padding: 20px 16px; border-radius: 16px; background: #fff; animation: fadeUp .45s var(--ease); }
.phone__view.is-active { display: flex; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.phone__q { font-size: 17px; line-height: 22px; font-weight: 600; }
.phone__amt { text-align: center; font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.phone__view .range { height: 22px; margin: 0; }
.phone__scale { display: flex; justify-content: space-between; margin-top: -8px; font-size: 11px; color: var(--subtle); }
.phone__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; cursor: pointer; transition: transform .15s var(--ease), background-color .2s; }
button.phone__btn:hover { background: var(--blue-press); }
.phone__btn.is-picked { transform: scale(0.96); }
.phone__btn.is-busy { background: var(--navy); cursor: default; }
.phone__opts { display: flex; flex-direction: column; gap: 6px; }
.phone__opt { min-height: 34px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; text-align: left; font-size: 14px; line-height: 18px; font-weight: 500; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.phone__opt:hover { border-color: var(--navy); }
.phone__opt.is-picked { border-color: var(--blue); background: #f5f9ff; box-shadow: inset 0 0 0 1px var(--blue); }
.phone__progress { height: 4px; border-radius: 2px; background: #d6dce6; overflow: hidden; }
.phone__progress span { display: block; height: 100%; background: var(--blue); width: 0; transition: width .6s var(--ease); }
.scan { display: flex; flex-direction: column; gap: 10px; }
.scan__row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.scan__row b { font-weight: 600; color: var(--success); font-variant-numeric: tabular-nums; }
.mini-offer { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.mini-offer:hover { border-color: var(--navy); }
.mini-offer--best { border: 2px solid var(--blue); background: #f5f9ff; }
.mini-offer.is-picked { box-shadow: 0 0 0 3px rgba(0, 94, 255, 0.25); }
.mini-offer .wm { line-height: 20px; }
.mini-offer__terms { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; line-height: 14px; color: var(--subtle); }
.mini-offer__terms b { font-size: 14px; line-height: 18px; color: var(--ink); }
.phone__hint { text-align: center; font-size: 12px; color: var(--subtle); }
.phone__ty { gap: 12px; text-align: center; }
.phone__call { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px; background: #f5f9ff; font-size: 12px; color: var(--subtle); }
.phone__call b { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.5px; color: var(--navy); font-variant-numeric: tabular-nums; }
.phone__company { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--subtle); }
.phone__wm .wm { line-height: 30px; }
.phone__restart { align-self: center; padding: 2px 8px; border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--blue); cursor: pointer; }
.phone-stage__mini { position: absolute; left: 60px; top: 300px; width: 150px; height: 150px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1); }
.phone-stage__chip { position: absolute; right: 56px; top: 96px; padding: 12px 16px; border-radius: 12px; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); }

/* ---------- calculator ---------- */
.field.is-invalid, .amount.is-invalid, .acalc__box.is-invalid { border-color: #c2410c; box-shadow: inset 0 0 0 1px #c2410c; }

.calc-band { padding: 96px 0; background: var(--surface); }
.calc-band__head { text-align: center; }
.calc-band__head .sub { margin-top: 12px; font-size: 24px; line-height: 36px; color: var(--muted); }
.ctabs { display: flex; justify-content: center; gap: 40px; margin-top: 40px; border-bottom: 1px solid #c7d3e6; overflow-x: auto; }
.ctab { padding: 0 2px 15px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; font-size: 20px; line-height: 30px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s; }
.ctab:hover { color: var(--blue); }
.ctab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.calc { display: none; align-items: center; gap: 48px; margin-top: 40px; padding: 40px; border-radius: var(--radius); background: #fff; border: 1px solid #c7c9c5; }
.calc.is-active { display: flex; animation: fadeUp .4s var(--ease); }
.calc__inputs { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.calc__row { display: flex; gap: 12px; }
.calc__row > .field { flex: 1; }
.calc__row > .field--zip { flex: 0 0 160px; }
/* Amount: label, editable value, and its slider read as one control. */
.amount { padding: 20px 20px 14px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.amount:focus-within { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.amount__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.amount__head label { font-size: 15px; font-weight: 600; color: var(--ink); }
.amount__val { display: flex; align-items: baseline; gap: 2px; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.5px; color: var(--navy); font-variant-numeric: tabular-nums; }
/* Auto-width input: a hidden copy of the value shares the input's grid cell, so the browser
   sizes the box from the same text layout it draws. No JS measuring, no font-load timing. */
.amount__fit { display: inline-grid; padding-bottom: 2px; border-bottom: 2px dashed #c7d3e6; }
.amount__fit:focus-within { border-bottom-color: var(--blue); border-bottom-style: solid; }
.amount__fit::after { content: attr(data-fit) " "; grid-area: 1 / 1; visibility: hidden; white-space: pre; font: inherit; letter-spacing: inherit; }
.amount__fit input { grid-area: 1 / 1; width: 100%; min-width: 1ch; padding: 0; border: 0; outline: none; background: none; font: inherit; color: inherit; letter-spacing: inherit; }
.amount__scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; color: var(--subtle); }
.range { --p: 50%; display: block; width: 100%; height: 28px; margin: 12px 0 0; background: none; cursor: pointer; appearance: none; -webkit-appearance: none; }
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--p), #dfe6f1 var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: #dfe6f1; }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--blue); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 3px solid var(--blue); border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(4, 25, 61, 0.25); transition: transform .15s var(--ease); }
.range::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid var(--blue); border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(4, 25, 61, 0.25); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(0, 94, 255, 0.2); }
.calc__out { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; padding-left: 48px; border-left: 1px solid var(--border); }
.calc__label { font-size: 16px; font-weight: 600; }
.calc__big { display: flex; align-items: baseline; gap: 4px; font-size: 48px; line-height: 56px; letter-spacing: -2px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__big small { font-size: 24px; letter-spacing: 0; }
.calc__big span { white-space: nowrap; }
.calc__note { font-size: 14px; line-height: 21px; color: var(--muted); min-height: 42px; }

/* ---------- benefits ---------- */
.benefits { position: relative; margin-top: 120px; padding: 56px 64px; border-radius: var(--radius); background: var(--navy); color: var(--paper); display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.benefits__monsta { position: absolute; right: 56px; bottom: calc(100% - 22px); width: 250px; pointer-events: none; }
.benefits p { color: rgba(255, 253, 250, 0.8); font-size: 15px; line-height: 23px; }
.benefit { padding: 22px 0; border-top: 1px solid rgba(255, 253, 250, 0.18); }
.benefit h3 { font-size: 22px; line-height: 28px; font-weight: 500; }
.benefit p { margin-top: 6px; }

/* ---------- social proof ---------- */
.proof { display: grid; grid-template-columns: 640px 1fr; gap: 16px; margin-top: 16px; }
.proof__count { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 48px; border-radius: 20px; background: #b9d8ff; color: var(--navy); }
.proof__count .big { font-size: clamp(44px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -2px; font-weight: 600; }
.faces { display: flex; }
.faces img, .faces span { width: 52px; height: 52px; border-radius: 999px; border: 3px solid #b9d8ff; object-fit: cover; }
.faces > * + * { margin-left: -14px; }
.faces span { display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--paper); font-size: 13px; font-weight: 700; }
.proof__photo { position: relative; min-height: 340px; border-radius: 20px; overflow: hidden; color: var(--paper); }
.proof__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proof__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 25, 61, 0.94) 0%, rgba(4, 25, 61, 0.8) 42%, rgba(4, 25, 61, 0) 72%); }
.proof__quote { position: absolute; z-index: 1; left: 36px; top: 36px; bottom: 32px; width: 340px; display: flex; flex-direction: column; justify-content: space-between; }
.proof__quote blockquote { margin: 12px 0 0; font-size: 24px; line-height: 31px; font-weight: 600; transition: opacity .3s; }
.proof__nav { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 253, 250, 0.75); }
.proof__nav button { width: 28px; height: 28px; border-radius: 999px; border: 1px solid rgba(255, 253, 250, 0.35); background: none; color: inherit; cursor: pointer; }

/* ---------- learn row / cards ---------- */
.learn-row__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.learn-row__title { display: flex; align-items: center; gap: 18px; }
.learn-row__title img { width: 64px; }
.learn-row__grid { display: grid; grid-template-columns: 620px 1fr; gap: 16px; margin-top: 28px; }
.feature-card { position: relative; display: block; min-height: 400px; border-radius: 20px; overflow: hidden; color: var(--paper); }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-card:hover img { transform: scale(1.03); }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 25, 61, 0) 35%, rgba(4, 25, 61, 0.88) 100%); }
.feature-card__body { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; }
.feature-card__meta { display: flex; gap: 10px; font-size: 13px; }
.feature-card__title { margin-top: 8px; font-size: 28px; line-height: 34px; letter-spacing: -0.6px; font-weight: 600; }
.list-card { display: flex; align-items: center; gap: 18px; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.list-card:hover { border-color: #c9d6ea; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(4, 25, 61, 0.06); }
.list-card img { width: 150px; height: 100px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.list-card__meta { font-size: 13px; font-weight: 600; }
.list-card__title { margin-top: 6px; font-size: 19px; line-height: 25px; font-weight: 600; color: var(--navy); }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.guide-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease); }
.guide-card:hover { transform: translateY(-3px); }
.guide-card img { width: 100%; height: 200px; object-fit: cover; }
.guide-card__body { padding: 20px 24px 24px; }
.guide-card__cat { font-size: 13px; font-weight: 600; }
.guide-card__title { margin-top: 8px; font-size: 20px; line-height: 26px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 360px 1fr; gap: 64px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 12px; cursor: pointer; list-style: none; font-size: 24px; line-height: 36px; font-weight: 500; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { flex-shrink: 0; transition: transform .3s var(--ease); }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__item p { max-width: 640px; padding: 0 12px 20px; font-size: 16px; line-height: 24px; color: var(--muted); }
.faq__item[open] p { animation: fadeUp .35s var(--ease); }

/* ---------- footer ---------- */
.site-footer { margin-top: 120px; }
.site-footer__panel { position: relative; overflow: hidden; background: var(--surface); border-radius: 32px 32px 0 0; padding-top: 72px; }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__top h2 { font-size: 32px; line-height: 38px; letter-spacing: -1px; font-weight: 600; color: var(--navy); }
.site-footer__top p { margin-top: 8px; color: var(--muted); }
.site-footer__cta { display: flex; gap: 12px; flex-wrap: wrap; }
/* Columns size to their links and spread edge to edge, so the last one ends where the divider ends. */
.site-footer__cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 48px; margin-top: 40px; padding-top: 32px; border-top: 1px solid #d3deef; }
.site-footer__cols h3 { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.site-footer__cols ul { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.site-footer__cols a { font-size: 15px; color: var(--ink); }
.site-footer__cols a:hover { color: var(--blue); }
.site-footer__legal { margin-top: 40px; max-width: 1200px; font-size: 12px; line-height: 18px; color: var(--muted); }
.wordmark { position: relative; margin-top: 72px; container-type: inline-size; height: min(190px, calc((100vw - 48px) / 6.4)); }
.wordmark__text { position: absolute; left: 50%; bottom: -0.16em; width: max-content; transform: translateX(-50%); font-size: 15.4cqw; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: #d2dff4; white-space: nowrap; user-select: none; }
.wordmark__minis { position: absolute; right: 0.45em; bottom: calc(100% - 0.47em); width: 1.75em; pointer-events: none; }

/* ---------- product page ---------- */
.crumbs { display: flex; gap: 6px; padding: 20px 0 14px; font-size: 14px; color: var(--subtle); }
.crumbs a:hover { color: var(--ink); }
.p-hero { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 56px; padding: 72px 64px; border-radius: 24px; background: var(--navy); background-image: radial-gradient(60% 80% at 80% 30%, rgba(0, 94, 255, 0.35) 0%, rgba(4, 25, 61, 0) 70%); color: var(--paper); }
.p-hero__tag { display: flex; align-items: center; gap: 12px; }
.p-hero__tag img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 253, 250, 0.25); }
.p-hero h1 { max-width: 600px; margin-top: 24px; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.07; letter-spacing: -2.2px; font-weight: 600; }
.p-hero .lede { margin-top: 24px; max-width: 560px; }
.p-hero .checks li { font-size: 16px; font-weight: 400; color: var(--paper); }
.q-card { position: relative; align-self: start; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow-card); }
.q-card { margin-top: 48px; }
/* The product's own mini stands on the card's top edge (feet at the image's bottom). */
.q-card__monsta { position: absolute; right: 20px; bottom: calc(100% - 10px); width: auto; height: 140px; pointer-events: none; }
.product .p-hero { background-image: radial-gradient(60% 80% at 80% 30%, color-mix(in srgb, var(--accent) 34%, transparent) 0%, rgba(4, 25, 61, 0) 70%); }
.p-hero__eyebrow { font-size: 15px; letter-spacing: .06em; color: color-mix(in srgb, var(--accent) 70%, white); }
.p-hero__tag img { box-shadow: 0 0 0 2px var(--accent); }
.product .p-hero .checks svg { color: var(--accent); }
.p-kicker { font-size: 18px; font-weight: 600; color: var(--accent-ink); }
.product .ctable__tag { background: var(--accent-tint); color: var(--accent-ink); }
.product .step-card b { color: var(--accent-ink); }
.q-card h2 { margin-bottom: 4px; font-size: 20px; line-height: 30px; font-weight: 500; }
.q-opt { display: flex; align-items: center; height: 64px; padding: 0 24px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; font-size: 16px; font-weight: 600; cursor: pointer; text-align: left; transition: border-color .15s, background-color .15s; }
.q-opt:hover { border-color: var(--ink); }
.q-opt[aria-pressed="true"] { border: 2px solid var(--blue); background: #f5f9ff; padding-left: 23px; }
.q-opt { justify-content: space-between; }
.q-opt[aria-pressed="true"]::after { content: ""; width: 22px; height: 22px; border-radius: 999px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 18 18'%3E%3Cpath d='M3 9.5 L7 13 L15 5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.q-card .fine { text-align: center; }
.compare__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }

.compare__head .h2 { margin-top: 12px; }
.compare__head p { max-width: 420px; color: var(--muted); }
.ctable { margin-top: 32px; padding: 16px 32px 24px; border-radius: var(--radius); background: var(--stone); }
.ctable__row { display: grid; grid-template-columns: 280px 1fr 200px 180px 140px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.ctable__row:last-child { border-bottom: 0; }
.ctable__row--head { padding: 16px 0; border-bottom-color: #c7c9c5; font-weight: 600; }
.ctable__name { font-size: 20px; font-weight: 600; }
.ctable__tag { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #e6efff; font-size: 12px; font-weight: 600; color: var(--navy); }
.ctable__cta { justify-self: end; }
.ctable__cell { padding-right: 24px; }
.story { display: grid; grid-template-columns: 620px 1fr; align-items: center; gap: 64px; }
.story__media { position: relative; }
.story__media img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); }
.story__pill { position: absolute; left: 24px; bottom: 30px; display: flex; gap: 24px; padding: 16px 20px; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(4, 25, 61, 0.2); }
.story__pill .div { width: 1px; background: var(--border); }
.story__pill b { display: block; font-size: 24px; line-height: 30px; letter-spacing: -1px; }
.story blockquote { margin: 24px 0; font-size: 32px; line-height: 42px; letter-spacing: -1px; font-weight: 500; }
.steps-row { display: grid; grid-template-columns: 300px repeat(3, 1fr); gap: 16px; padding-top: 136px; }
/* Full-figure mini stands on the tinted card's floor and breaks out of its top. */
.steps-row__fig { position: relative; min-height: 220px; border-radius: var(--radius); }
.steps-row__fig img { position: absolute; left: 50%; bottom: 0; width: 88%; height: calc(100% + 72px); transform: translateX(-50%); object-fit: contain; object-position: bottom; pointer-events: none; }
.step-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.step-card b { font-size: 14px; color: var(--blue); }
.step-card h3 { font-size: 24px; line-height: 29px; font-weight: 600; }
.step-card p { color: var(--muted); }

/* ---------- article ---------- */
.a-head { max-width: 860px; margin: 0 auto; padding: 40px 0 40px; }
.a-head .crumbs { padding: 0 0 20px; }
.a-head .crumbs b { color: var(--blue); font-weight: 600; }
.a-head h1 { font-size: clamp(36px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -2px; font-weight: 600; color: var(--navy); }
.a-head .dek { margin-top: 16px; font-size: 22px; line-height: 32px; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 13px; color: var(--subtle); }
.byline b { color: var(--ink); font-weight: 600; }
.byline__av { width: 44px; height: 44px; border-radius: 999px; background: #c7c9c5; }
.byline__av--initial { display: flex; flex-shrink: 0; align-items: center; justify-content: center; background: var(--surface); font-size: 18px; font-weight: 700; color: var(--blue); }
.a-hero { width: 100%; height: clamp(260px, 36vw, 520px); object-fit: cover; border-radius: var(--radius); }
.a-grid { display: grid; grid-template-columns: 200px 720px 1fr; gap: 64px; margin-top: 56px; }
.toc { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 14px; }
.toc__label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.toc a { padding-left: 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 18px; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a.is-active { border-left-color: var(--blue); color: var(--ink); font-weight: 600; }
.prose { display: flex; flex-direction: column; gap: 24px; font-size: 18px; line-height: 30px; }
.prose h2 { padding-top: 16px; font-size: 32px; line-height: 38px; letter-spacing: -1px; font-weight: 600; scroll-margin-top: 24px; }
.prose h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.prose ul, .prose ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose ul { list-style: disc; }
.prose a:not(.btn, .ask__opt) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose table { border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.takeaways { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface); font-size: 16px; line-height: 24px; }
.takeaways b { font-size: 18px; color: var(--blue); }
.tip { display: flex; gap: 16px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); font-size: 16px; line-height: 24px; }
.tip img { width: 56px; height: 56px; }
.rail { position: relative; }
/* The grad mascot overhangs the card by 151px (163px tall, 12px tucked in); the sticky offset must clear it so its top lines up with the TOC at 24px. */
.rail-card { position: sticky; top: 175px; margin-top: 120px; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--navy); color: var(--paper); }
.rail-card__grad { position: absolute; left: 50%; bottom: calc(100% - 12px); width: 120px; margin-left: -60px; pointer-events: none; }
.rail-card p { font-size: 14px; line-height: 21px; color: rgba(255, 253, 250, 0.8); }
.rail-card__title { padding: 0 !important; font-size: 20px !important; line-height: 26px !important; letter-spacing: 0 !important; font-weight: 600; color: var(--paper); }
.rail-card .btn { height: 48px; margin-top: 8px; color: var(--navy); text-decoration: none !important; }
.rail-card--inline { display: none; position: relative; top: auto; }

.a-head { margin-left: 264px; }
.takeaways ul { display: flex; flex-direction: column; gap: 6px; padding: 0; list-style: none; }
.takeaways li { position: relative; padding-left: 16px; }
.takeaways li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 999px; background: var(--ink); }
.tip { align-items: center; }
.tip img { flex-shrink: 0; border-radius: 999px; background: #fff; object-fit: cover; }
.tip b { display: block; font-size: 15px; }
.tip p { margin: 0; }
.prose ol { list-style: decimal; }
.prose strong { font-weight: 600; }

/* ---------- article modules ({% calc %}, {% ask %}, sources) · Paper page "08 · Article modules" ---------- */
/* The prose column is 720px on desktop, about 550px on small laptops, and full width on phones,
   so modules switch to their compact layout by their own width (container query), not the viewport. */
.amod { container: amod / inline-size; font-size: 16px; line-height: 1.5; }
/* Secondary text on a category tint: the category text color pulled toward ink, as in the artboards. */
.acalc--equity, .ask { --tint-ink: color-mix(in srgb, var(--tint-text) 60%, var(--ink)); }
.amod__assure { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 16px; color: var(--muted); }
.amod__assure svg { flex-shrink: 0; }

.acalc { display: flex; flex-direction: column; gap: 24px; padding: 28px; border: 1px solid #c7c9c5; border-radius: var(--radius); background: #fff; }
.acalc__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.acalc__eyebrow { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.acalc__title { margin-top: 4px; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.acalc__fine { font-size: 13px; line-height: 16px; color: var(--subtle); white-space: nowrap; }
.acalc__inputs { display: flex; align-items: flex-end; gap: 12px; }
.acalc__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.acalc__field--grow { flex: 1 1 0; }
.acalc__field--apr { flex: 0 0 136px; }
.acalc__field--term { flex: 0 0 320px; }
.acalc__label { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--muted); }
.acalc__box { display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; cursor: text; transition: border-color .15s, box-shadow .15s; }
.acalc__box:focus-within { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.acalc__box input { flex: 1; width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: none; font-size: 17px; line-height: 20px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.acalc__affix { font-size: 17px; line-height: 20px; color: var(--subtle); }
/* Segmented radio group: the native radio stays focusable for keyboard and screen readers, the span is what you see. */
.seg { display: flex; gap: 4px; height: 52px; padding: 4px; border-radius: 8px; background: var(--stone); }
.seg label { position: relative; flex: 1 1 0; display: flex; min-width: 0; cursor: pointer; }
.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 15px; line-height: 18px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background-color .15s, color .15s; }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: var(--navy); color: #fff; font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--pill); outline-offset: 2px; }
.acalc__results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acalc__res { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 12px; background: var(--stone); font-size: 14px; line-height: 20px; color: var(--muted); }
.acalc__big { display: flex; align-items: baseline; gap: 2px; font-size: 34px; line-height: 40px; font-weight: 600; letter-spacing: -1px; color: var(--ink); font-variant-numeric: tabular-nums; }
.acalc__big small { font-size: 18px; line-height: 24px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.acalc.is-blank .acalc__big small { display: none; }
.acalc__res--loan { background: var(--surface); color: var(--blue); }
.acalc__res--loan .acalc__big, .acalc__res--loan .acalc__big small { color: var(--blue); }
.acalc__save { font-weight: 600; color: var(--navy); }
.acalc__cta { display: flex; flex-direction: column; gap: 12px; }
.acalc__cta .amod__assure { justify-content: center; }

/* {% calc "borrow" %}: the existing .range slider, drawn larger. */
.acalc--borrow { gap: 0; padding: 0; overflow: hidden; }
.acalc__body { display: flex; flex-direction: column; gap: 20px; padding: 28px 28px 32px; }
.acalc__amt { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.acalc__q { font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink); }
.acalc__amount { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.acalc__track { display: flex; flex-direction: column; gap: 12px; }
.acalc--borrow .range { margin: 0; }
.acalc--borrow .range::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--blue) var(--p), #e3e8ef var(--p)); }
.acalc--borrow .range::-moz-range-track { height: 8px; border-radius: 4px; background: #e3e8ef; }
.acalc--borrow .range::-moz-range-progress { height: 8px; border-radius: 4px; }
.acalc--borrow .range::-webkit-slider-thumb { box-sizing: border-box; width: 28px; height: 28px; margin-top: -10px; border-width: 2px; box-shadow: 0 4px 10px rgba(4, 25, 61, 0.18); }
.acalc--borrow .range::-moz-range-thumb { box-sizing: border-box; width: 28px; height: 28px; border-width: 2px; box-shadow: 0 4px 10px rgba(4, 25, 61, 0.18); }
.acalc__scale { display: flex; justify-content: space-between; font-size: 13px; line-height: 16px; color: var(--subtle); }
.acalc__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 28px; border-top: 1px solid var(--border); background: var(--stone); }
.acalc__est { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 18px; color: var(--muted); }
.acalc__est p { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.acalc__est b { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.acalc__foot .btn { flex-shrink: 0; height: 52px; padding: 0 24px; border-radius: 8px; }

/* {% calc "equity" %}: inputs left, the answer large on the category tint, with the category's mini. */
.acalc--equity { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "main result" "cta result"; gap: 0; padding: 0; overflow: hidden; }
.acalc__main { grid-area: main; display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 0; }
.acalc__main > div:first-child { margin-bottom: 4px; }
.acalc--equity .acalc__eyebrow { color: var(--subtle); }
.acalc--equity > .btn { grid-area: cta; width: auto; margin: 24px 28px 28px; }
.acalc__result { grid-area: result; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; overflow: hidden; background: var(--tint); color: var(--tint-ink); }
.acalc__result > :not(img) { position: relative; z-index: 1; }
.acalc__result-label { font-size: 15px; line-height: 20px; font-weight: 500; }
.acalc__result b { font-size: 52px; line-height: 56px; font-weight: 700; letter-spacing: -0.035em; color: var(--navy); font-variant-numeric: tabular-nums; }
.acalc__result-note { max-width: 220px; font-size: 14px; line-height: 20px; }
.acalc__mini { position: absolute; right: 20px; bottom: -14px; width: auto; height: 176px; pointer-events: none; }

/* {% ask %} question cards. Answers are links to the flow, styled as buttons. */
.ask__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ask__q { font-weight: 600; color: var(--ink); }
/* Titles wrap in the narrow layout; balance them so a lone word doesn't end up on its own line. */
.acalc__title, .acalc__q, .ask__q { text-wrap: balance; }
.ask__opt { transition: border-color .15s, background-color .15s, box-shadow .2s var(--ease), transform .2s var(--ease); }
.ask__opt svg { flex-shrink: 0; color: var(--blue); }

.ask--stacked .ask__body { display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid #c7c9c5; border-radius: var(--radius); background: #fff; }
.ask--stacked .ask__head { display: flex; align-items: center; gap: 16px; }
.ask__av { display: flex; justify-content: center; flex-shrink: 0; width: 56px; height: 56px; padding-top: 6px; border-radius: 999px; overflow: hidden; background: var(--stone); }
.ask__av img { width: auto; max-width: none; height: 56px; }
.ask--stacked .ask__sub { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--muted); }
.ask--stacked .ask__q { font-size: 24px; line-height: 30px; letter-spacing: -0.015em; }
.ask--stacked .ask__opts, .ask--tiles .ask__opts { display: flex; gap: 10px; }
.ask--stacked .ask__opts { flex-direction: column; }
.ask--stacked .ask__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 10px 16px 10px 20px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; font-size: 17px; line-height: 22px; font-weight: 600; color: var(--ink); }
.ask--stacked .ask__opt:hover { border-color: var(--ink); }

.ask--tiles .ask__body { display: flex; flex-direction: column; gap: 24px; padding: 32px 28px 28px; border-radius: var(--radius); background: var(--tint); }
.ask--tiles .ask__text { gap: 6px; }
.ask--tiles .ask__sub { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tint-text); }
.ask--tiles .ask__q, .ask--peek .ask__q { font-size: 26px; line-height: 32px; letter-spacing: -0.02em; }
.ask--tiles .ask__opts { gap: 12px; }
.ask--tiles .ask__opt { flex: 1 1 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 20px 20px 18px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 color-mix(in srgb, var(--tint-text) 12%, transparent); }
.ask--tiles .ask__opt:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(4, 25, 61, 0.08); }
.ask__big { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.ask__cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; line-height: 20px; color: var(--muted); }
.ask--tiles .amod__assure { margin-top: -8px; color: var(--tint-ink); }

/* Navy: Monsta with his phone sits in the right of the card; text and answers keep clear of him. */
.ask--navy { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.ask--navy .ask__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; max-width: calc(100% - 232px); padding: 32px 0 32px 32px; }
.ask--navy .ask__text { gap: 8px; }
.ask--navy .ask__q { font-size: 30px; line-height: 36px; letter-spacing: -0.02em; color: var(--paper); }
.ask--navy .ask__sub { color: rgba(255, 253, 250, 0.78); }
.ask--navy .ask__opts { display: flex; gap: 10px; }
.ask--navy .ask__opt { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 12px; border-radius: 8px; background: var(--pill); font-size: 15px; line-height: 20px; font-weight: 600; text-align: center; color: var(--navy); }
.ask--navy .ask__opt:hover { background: var(--sky); }
/* Height follows the card (which grows with the question and sub line) so Monsta always fits whole inside it. */
.ask__monsta { position: absolute; top: 14px; bottom: 14px; right: 20px; width: 196px; height: calc(100% - 28px); object-fit: contain; object-position: center bottom; pointer-events: none; }

/* Peek: the category's mini looks over the card's top edge (the band clips it at the edge). */
.ask__peek { position: relative; height: 78px; overflow: hidden; pointer-events: none; }
.ask__peek img { position: absolute; right: 48px; top: 4px; width: auto; max-width: none; height: 186px; }
.ask--peek .ask__body { display: flex; flex-direction: column; gap: 24px; padding: 28px 32px 32px; border-radius: var(--radius); background: var(--tint); }
.ask--peek .ask__text { gap: 8px; max-width: 500px; }
.ask--peek .ask__sub { color: var(--tint-ink); }
.ask--peek .ask__opts { display: flex; min-height: 60px; border: 1px solid color-mix(in srgb, var(--tint-text) 18%, var(--tint)); border-radius: 12px; overflow: hidden; background: #fff; }
.ask--peek .ask__opt { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 12px; font-size: 16px; line-height: 20px; font-weight: 600; text-align: center; color: var(--ink); }
.ask--peek .ask__opt + .ask__opt { border-left: 1px solid color-mix(in srgb, var(--tint-text) 10%, var(--tint)); }
.ask--peek .ask__opt:hover { background: color-mix(in srgb, var(--tint) 55%, #fff); }
.ask--peek .ask__opt svg { display: none; }

@container amod (max-width: 600px) {
  .acalc { gap: 20px; padding: 20px; }
  .acalc__title { font-size: 20px; line-height: 26px; }
  .acalc__fine { display: none; }
  .acalc__inputs { flex-wrap: wrap; row-gap: 16px; }
  .acalc__field--apr { flex-basis: 112px; }
  .acalc__field--term { flex-basis: 100%; }
  .acalc__results { grid-template-columns: 1fr; gap: 10px; }
  .acalc__res { padding: 16px 18px; }
  .acalc__big { font-size: 30px; line-height: 36px; }

  .acalc--borrow { gap: 0; padding: 0; }
  .acalc__body { padding: 20px 20px 24px; }
  .acalc__amt { flex-direction: column; align-items: flex-start; gap: 4px; }
  .acalc__amount { font-size: 36px; line-height: 40px; }
  .acalc__foot { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }

  .acalc--equity { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "result" "cta"; gap: 0; padding: 0; }
  .acalc__main { padding: 20px 20px 24px; }
  .acalc--equity > .btn { margin: 20px; }
  .acalc__result { min-height: 168px; padding: 20px 20px 24px; }
  .acalc__result b { font-size: 44px; line-height: 48px; }
  .acalc__result-note { max-width: calc(100% - 120px); }
  .acalc__mini { right: 16px; bottom: -10px; height: 128px; }

  .ask--stacked .ask__body { gap: 16px; padding: 20px; }
  .ask--stacked .ask__head { align-items: flex-start; gap: 14px; }
  .ask__av { width: 48px; height: 48px; }
  .ask__av img { height: 54px; }
  .ask--stacked .ask__q { font-size: 21px; line-height: 26px; }
  .ask--stacked .ask__opt { min-height: 56px; font-size: 16px; }

  .ask--tiles .ask__body { gap: 20px; padding: 24px 20px 20px; }
  .ask--tiles .ask__q, .ask--peek .ask__q { font-size: 22px; line-height: 28px; }
  .ask--tiles .ask__opts { flex-direction: column; gap: 10px; }
  .ask--tiles .ask__opt { flex-direction: row; align-items: center; gap: 8px; padding: 14px 16px 14px 18px; }
  .ask--tiles .ask__big { font-size: 24px; line-height: 30px; }
  .ask__cap { flex: 1; }

  .ask--navy .ask__body { max-width: none; padding: 24px 20px 20px; }
  .ask--navy .ask__text { min-height: 72px; padding-right: 100px; } /* buttons start below Monsta */
  .ask--navy .ask__q { font-size: 24px; line-height: 30px; }
  .ask--navy .ask__opts { flex-direction: column; }
  .ask--navy .ask__opt { min-height: 48px; }
  .ask__monsta { top: 12px; right: 4px; bottom: auto; width: 112px; height: auto; }

  .ask__peek { height: 56px; }
  .ask__peek img { right: 16px; height: 141px; }
  .ask--peek .ask__body { gap: 18px; padding: 22px 20px 20px; }
  .ask--peek .ask__text { gap: 6px; }
  .ask--peek .ask__sub { font-size: 15px; line-height: 22px; }
  .ask--peek .ask__opts { flex-direction: column; }
  .ask--peek .ask__opt { justify-content: space-between; min-height: 54px; padding: 10px 16px 10px 18px; text-align: left; }
  .ask--peek .ask__opt + .ask__opt { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--tint-text) 10%, var(--tint)); }
  .ask--peek .ask__opt svg { display: block; }
}

/* Sources: an understated numbered list after the article text. */
.prose .sources { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; line-height: 21px; color: var(--muted); }
.prose .sources h2 { padding: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.prose .sources ol { gap: 6px; padding-left: 20px; }
.prose .sources li::marker { color: var(--subtle); font-variant-numeric: tabular-nums; }
.prose .sources a { color: var(--ink); text-decoration-color: var(--border-strong); text-underline-offset: 2px; }
.prose .sources a:hover { color: var(--blue); text-decoration-color: currentColor; }

/* ---------- glossary ---------- */
.glossary { margin: 0; padding-top: 48px; max-width: 860px; }
.glossary > div { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.glossary dt { font-size: 18px; font-weight: 600; color: var(--navy); }
.glossary dd { margin: 0; color: var(--muted); }

.toc-m { display: none; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.toc-m summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.toc-m[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.toc-m nav { display: flex; flex-direction: column; padding: 0 16px 12px; }
.toc-m a { padding: 8px 0; border-top: 1px solid #eef0ec; font-size: 15px; color: var(--muted); text-decoration: none !important; }
/* Horizontal scrollers share one look: snap, no visible bar. */
.ctabs, .vtabs { scrollbar-width: none; }
.ctabs::-webkit-scrollbar, .vtabs::-webkit-scrollbar, .guide-cards::-webkit-scrollbar { display: none; }

/* ---------- learn index ---------- */
.learn-hero { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 64px 0 32px; }
.learn-hero img { width: 200px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid #cbd2dc; background: #fff; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.article-grid .guide-card[hidden] { display: none; }

/* ---------- partners ---------- */
.p-head { position: relative; background: var(--navy); overflow: hidden; }
.p-head__glow { position: absolute; left: 36%; top: -100px; width: 1100px; height: 900px; background: radial-gradient(circle, rgba(0, 94, 255, 0.32) 0%, rgba(0, 94, 255, 0.12) 30%, rgba(4, 25, 61, 0) 60%); pointer-events: none; }
.p-head__body { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 552px; padding: 0 64px 64px; color: var(--paper); }
.p-head__copy { max-width: 520px; }
.p-head__copy .h-claim { margin-top: 24px; font-size: clamp(44px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -2.5px; font-weight: 600; }
.match { position: relative; width: 500px; flex-shrink: 0; background: #fff; border-radius: 20px; color: var(--ink); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4); }
.match__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.badge { padding: 6px 12px; border-radius: 999px; background: #e6efff; font-size: 13px; font-weight: 600; color: #005af5; } /* brand blue nudged to 4.8:1 on this tint */
.match__row { display: grid; grid-template-columns: 1fr 120px 70px; align-items: center; padding: 16px 24px; border-bottom: 1px solid #eef0ec; }
.match__row:last-of-type { border-bottom: 0; border-radius: 0 0 20px 20px; }
.match__row--win { background: var(--surface); box-shadow: inset 3px 0 0 var(--blue); }
.match__stage { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.match__out { justify-self: end; font-size: 14px; color: var(--subtle); }
.match__out--win { font-weight: 600; color: var(--blue); }
.match__hang { position: absolute; right: 24px; top: calc(100% - 10px); width: 104px; pointer-events: none; transform-origin: top center; animation: swing 4s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 64px; border-bottom: 1px solid var(--border); text-align: center; }
.p-stats b { display: block; font-size: 64px; line-height: 72px; letter-spacing: -2px; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-stats span { color: var(--muted); }
.network { text-align: center; }
.network .h3 { margin-top: 12px; }
.network__sub { max-width: 640px; margin: 12px auto 0; color: var(--muted); font-size: 17px; line-height: 26px; }
.network__diagram { display: flex; align-items: center; margin-top: 48px; text-align: left; }
.net-list { width: 400px; flex-shrink: 0; background: #fff; border: 1px solid #e1e5ec; border-radius: 20px; overflow: hidden; }
.net-list h3 { padding: 16px 22px; border-bottom: 1px solid #eef0ec; font-size: 15px; font-weight: 600; color: var(--navy); }
.net-list li { padding: 14px 22px; border-bottom: 1px solid #eef0ec; }
.net-list li:last-child { border-bottom: 0; }
.net-list b { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.net-list span { font-size: 14px; color: var(--muted); }
.net-link { position: relative; flex: 1; height: 2px; background: linear-gradient(90deg, #c9dbff, var(--blue)); overflow: hidden; }
.net-link--r { background: linear-gradient(90deg, var(--blue), #c9dbff); }
.net-link::after { content: ""; position: absolute; top: -2px; left: -20%; width: 20%; height: 6px; border-radius: 3px; background: #fff; box-shadow: 0 0 8px var(--blue); animation: pulse-line 2.6s linear infinite; }
@keyframes pulse-line { to { left: 110%; } }
.engine { width: 240px; height: 240px; flex-shrink: 0; border-radius: 999px; background: var(--navy); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 0 0 12px var(--surface), 0 30px 60px rgba(4, 25, 61, 0.25); text-align: center; }
.engine img { width: 110px; }
.engine b { font-size: 16px; }
.engine span { font-size: 12px; color: rgba(255, 253, 250, 0.7); }
.engine-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.engine-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--navy); color: var(--paper); }
.engine-card--blue { background: var(--blue); }
.engine-card small { font-size: 14px; font-weight: 600; color: var(--sky); }
.engine-card--blue small { color: var(--paper); }
.engine-card h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.engine-card p { font-size: 15px; line-height: 23px; color: rgba(255, 253, 250, 0.8); }
.vtable { margin-top: 32px; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.vtable__row { display: grid; grid-template-columns: 340px 1fr 1fr 220px; align-items: center; padding: 18px 28px; border-bottom: 1px solid #eef0ec; font-size: 15px; }
.vtable__row:last-child { border-bottom: 0; }
.vtable__row--head { padding: 16px 28px; background: var(--stone); border-bottom-color: var(--border); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.vtable__v { display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; color: var(--navy); }
.vtable__v img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.vtable__row .dim { color: var(--muted); }
.contact-panel { position: relative; display: grid; grid-template-columns: 480px 1fr; gap: 64px; padding: 56px; border-radius: 28px; background: var(--surface); }
.p-form-wrap { position: relative; }
.p-form-wrap .p-form { z-index: 1; }
.contact-panel__lean { position: absolute; right: calc(100% - 36px); bottom: 64px; width: 160px; pointer-events: none; }
.p-form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: 20px; background: #fff; box-shadow: 0 24px 48px rgba(4, 25, 61, 0.1); }
.p-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p-field { display: flex; flex-direction: column; gap: 6px; }
.p-field label, .p-field legend { padding: 0; font-size: 13px; font-weight: 600; }
.p-field input, .p-field select, .p-field textarea { height: 48px; padding: 0 14px; border: 1px solid #cbd2dc; border-radius: 8px; background: #fff; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.p-field textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.p-field input:focus, .p-field select:focus, .p-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 94, 255, 0.15); }
fieldset.p-field { border: 0; margin: 0; padding: 0; }
.checkset { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.checkset label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; cursor: pointer; }
.checkset input { width: 18px; height: 18px; accent-color: var(--blue); }
.p-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.p-form__error { font-size: 14px; color: #c2410c; }
.p-form__done { display: none; padding: 40px 0; text-align: center; }
.p-form.is-sent > :not(.p-form__done) { display: none; }
.p-form.is-sent .p-form__done { display: block; animation: fadeUp .4s var(--ease); }

/* ---------- legal / simple pages ---------- */
.simple-hero { padding: 72px 0 40px; background: var(--surface); }
.simple-hero p { margin-top: 12px; }
/* Legal pages: long policies get a sticky table of contents; text keeps a readable measure while tables use the full column. */
.legal-doc { padding-top: 56px; }
.legal-doc--toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; }
.legal-doc .toc { top: 32px; max-height: calc(100vh - 64px); overflow-y: auto; }
.legal-doc .toc a { font-size: 13px; line-height: 18px; }
.legal { gap: 20px; max-width: 980px; font-size: 17px; line-height: 28px; }
.legal > p, .legal > ul, .legal > ol { max-width: 760px; }
.legal h2 { margin-top: 24px; padding-top: 40px; border-top: 1px solid var(--border); font-size: 20px; line-height: 28px; letter-spacing: 0.01em; color: var(--navy); scroll-margin-top: 32px; }
.legal h2:first-of-type { margin-top: 8px; }
.legal h3 { margin-top: 16px; font-size: 19px; line-height: 26px; color: var(--navy); }
.legal__callout { padding: 20px 24px; border-left: 4px solid var(--navy); border-radius: 0 12px 12px 0; background: var(--surface); font-size: 15px; line-height: 24px; }
/* Policy tables are four wide columns; on narrow screens they scroll inside their own box instead of crushing cells. */
.legal table { display: block; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; line-height: 21px; }
.legal td { min-width: 180px; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal tr:first-child td { background: var(--stone); }
.legal tr:last-child td { border-bottom: 0; }
.legal td + td { border-left: 1px solid var(--border); }
.legal td p + p { margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .toc-m { display: block; }
  .a-head { margin-left: 0; }
  .offers-row { grid-template-columns: 1fr; }
  .float-card--save { left: 0; }
  .float-card--time { right: 0; }
  .how__grid { grid-template-columns: 1fr; }
  .proof, .learn-row__grid { grid-template-columns: 1fr; }
  .ctable__row { grid-template-columns: 220px 1fr 160px 140px 120px; }
  .a-grid { grid-template-columns: 1fr 300px; }
  .legal-doc--toc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .story { grid-template-columns: 1fr 1fr; }
  .network__diagram { flex-direction: column; gap: 0; }
  .net-list { width: 100%; max-width: 520px; }
  .net-link { flex: none; width: 2px; height: 40px; background: linear-gradient(180deg, #c9dbff, var(--blue)); }
  .net-link::after { display: none; }
  .vtable__row { grid-template-columns: 260px 1fr 1fr 160px; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-panel__lean { display: none; }
}
@media (max-width: 960px) {
  .hero-home { min-height: 0; }
  .hero-home__photo { width: 100%; height: 360px; opacity: 1; object-position: 72% 25%; }
  .hero-home__fade { width: 100%; background: linear-gradient(180deg, rgba(4, 25, 61, 0.1) 0, rgba(4, 25, 61, 0.55) 180px, var(--navy) 350px); }
  .hero-home__body { padding: 190px 0 56px; }
  .start-card { margin-top: 72px; }
  .p-stats b { white-space: nowrap; }
  .vtable { overflow: visible; border: 0; background: none; display: flex; flex-direction: column; gap: 12px; }
  .vtable__row { min-width: 0; grid-template-columns: 1fr; gap: 10px; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
  .vtable__row:last-child { border-bottom: 1px solid var(--border); }
  .vtable__row--head { display: none; }
  .vtable__row [data-label] { display: grid; grid-template-columns: 88px 1fr; gap: 12px; font-size: 14px; }
  .vtable__row [data-label]::before { content: attr(data-label); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); padding-top: 2px; }
  .guide-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
  .guide-cards > * { scroll-snap-align: start; }
  .amount { padding: 16px 16px 12px; }
  .amount__head label { font-size: 14px; }
  .amount__val { font-size: 24px; line-height: 30px; }
  .p-hero .q-card { margin-top: 120px; }
  .compare__head, .learn-row__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .calc-band__head .sub { font-size: 18px; line-height: 28px; }
  .phone { width: 236px; height: 500px; margin-top: 72px; border-radius: 38px; }
  .phone__screen { padding: 22px 14px; border-radius: 28px; gap: 12px; }
  .phone__view { gap: 12px; padding: 14px 12px; }
  .phone__q { font-size: 15px; line-height: 20px; }
  .phone__opt { min-height: 30px; padding: 5px 10px; font-size: 13px; }
  .phone__amt { font-size: 24px; }
  .phone-stage { height: 470px; }
  .phone-stage__mini { left: 8px; top: auto; bottom: 28px; width: 84px; height: 84px; }
  .phone-stage__chip { right: 8px; top: 20px; }
  .how__head { text-align: left; }
  .phone-stage__chip { right: 16px; top: 24px; }
  .p-stats { padding: 40px 0; }
  .p-form__foot { flex-wrap: wrap; }
  .proof__photo { min-height: 420px; }
  .proof__photo::after { background: linear-gradient(0deg, rgba(4, 25, 61, 0.95) 0%, rgba(4, 25, 61, 0.75) 55%, rgba(4, 25, 61, 0.1) 100%); }
  .proof__quote { top: auto; gap: 24px; }
  .wordmark { margin-top: 48px; }
  .site-header.is-open .site-nav__extra { display: block; border-top: 1px solid var(--border); border-radius: 0; }
  .glossary > div { grid-template-columns: 1fr; gap: 6px; }
  .site-nav, .site-header__partners { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.is-open .site-nav { display: flex; flex-direction: column; position: absolute; left: 12px; right: 12px; top: 80px; padding: 12px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow-card); }
  .site-header.is-open .site-nav a { padding: 14px 16px; }
  .start-card__row { flex-wrap: wrap; }
  .start-card__row .field:first-child { flex-basis: 100%; }
  .start-card__zip { flex: 1; }
  .start-card__peek { width: 110px; }
  .vtab { font-size: 11px; }
  .vtab img { width: 36px; height: 36px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat:nth-child(2) { border-right: 1px solid #e1e5ec; }
  .offer { grid-template-columns: repeat(3, 1fr); gap: 14px 12px; }
  .offer > .wm { grid-column: 1 / 3; grid-row: 1; justify-self: start; }
  .offer > .btn { grid-column: 3; grid-row: 1; justify-self: end; }
  .offer__tag { right: auto; left: 16px; }
  .calc { flex-direction: column; align-items: stretch; padding: 24px; }
  .calc__row { flex-wrap: wrap; }
  .calc__row > .field, .calc__row > .field--zip { flex: 1 1 200px; }
  .calc__out { width: auto; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--border); }
  .ctabs { justify-content: flex-start; gap: 24px; }
  .benefits { grid-template-columns: 1fr; padding: 48px 28px 32px; gap: 24px; }
  .benefits__monsta { width: 170px; right: 20px; }
  .proof__quote { width: auto; right: 28px; }
  .faq { grid-template-columns: 1fr; gap: 16px; }
  .faq__item summary { font-size: 20px; line-height: 28px; }
  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer__cols { display: block; columns: 2; column-gap: 24px; }
  .site-footer__cols > div { break-inside: avoid; margin-bottom: 28px; }
  .site-footer__cta { width: 100%; }
  .site-footer__cta .btn { flex: 1; padding: 0 16px; }
  .p-hero, .product .p-hero { grid-template-columns: 1fr; gap: 0; padding: 0; background: none; color: var(--ink); }
  .p-hero__copy { padding: 32px 24px; border-radius: 24px; background: var(--navy); background-image: radial-gradient(80% 60% at 85% 10%, color-mix(in srgb, var(--accent, #005eff) 34%, transparent) 0%, rgba(4, 25, 61, 0) 70%); color: var(--paper); }
  .q-card__monsta { height: 112px; }
  .ctable { padding: 0; background: none; display: flex; flex-direction: column; gap: 12px; }
  .ctable__row { grid-template-columns: 1fr 1fr; align-items: start; gap: 14px 16px; padding: 20px; border: 0; border-radius: 16px; background: var(--stone); }
  .ctable__row > [role="cell"]:first-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .ctable__row > [role="cell"]:first-child .ctable__tag { margin: 0; }
  .ctable__cell { display: flex; flex-direction: column; gap: 2px; padding: 0; font-size: 15px; }
  .ctable__cell::before { content: attr(data-label); font-size: 12px; color: var(--subtle); }
  .ctable__cell:nth-child(2) { grid-column: 1 / -1; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
  .ctable__cta { grid-column: 1 / -1; justify-self: stretch; }
  .ctable__cta .btn { width: 100%; height: 44px; }
  .ctable__row--head { display: none; }
  .story, .steps-row { grid-template-columns: 1fr; }
  .steps-row { padding-top: 112px; }
  .steps-row__fig { min-height: 160px; }
  .steps-row__fig img { width: 70%; height: calc(100% + 64px); }
  .story__media img { height: 320px; }
  .story blockquote { font-size: 24px; line-height: 32px; }
  .article-grid { grid-template-columns: 1fr; }
  .a-grid { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .rail-card--inline { display: flex; margin: 132px 0 8px; }
  .p-head__body { flex-direction: column; align-items: flex-start; padding: 24px 0 120px; }
  .match { width: 100%; }
  .p-stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .p-stats b { font-size: 44px; line-height: 52px; }
  .engine-cards { grid-template-columns: 1fr 1fr; }
  .contact-panel { padding: 28px 20px; }
  .p-form { padding: 24px; }
  .p-form__row { grid-template-columns: 1fr; }
  .learn-hero img { width: 120px; }
}
@media (max-width: 560px) {
  .p-head__copy .btn { flex: 1 1 100%; }
  .match__row { grid-template-columns: 1fr 64px 64px; padding: 14px 18px; }
  .match__row .wm { font-size: 19px !important; }
  .match__row .wm--caps { font-size: 13px !important; }
  .match__head { padding: 16px 18px; }
  /* Product tabs and calculator tabs become scrollable pills. */
  .vtabs { gap: 8px; overflow-x: auto; padding: 16px; }
  .vtab { flex: 0 0 auto; flex-direction: row; gap: 8px; height: 44px; padding: 0 16px 0 4px; border: 1px solid var(--border); border-radius: 999px; font-size: 15px; white-space: nowrap; }
  .vtab img { width: 34px; height: 34px; }
  .vtab[aria-selected="true"] { border: 2px solid var(--blue); background: #f5f9ff; padding-left: 3px; }
  .vtab[aria-selected="true"] img { box-shadow: none; }
  .ctabs { gap: 8px; margin-top: 28px; border: 0; margin-inline: -24px; padding-inline: 24px; }
  .ctab { flex-shrink: 0; height: 44px; padding: 0 18px; border: 1px solid #c7d3e6; border-radius: 999px; margin: 0; background: #fff; font-size: 15px; line-height: 1; }
  .ctab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
  .calc-band__head { text-align: left; }
  .calc { gap: 0; margin-top: 16px; padding: 20px; }
  .calc__row > .field { flex: 1 1 100%; }
  .calc__row > .field:has(+ .field--zip) { flex: 1 1 0; }
  .calc__row > .field--zip { flex: 0 0 116px; }
  .calc__big { font-size: 44px; line-height: 50px; }
  .offer-list { padding: 8px 16px 20px; }
  .ty { grid-template-columns: 1fr; padding: 8px 16px 20px; }
  .ty__title { font-size: 18px; line-height: 24px; }
  .browser__bar, .float-card { display: none; }
  .browser__head { padding: 20px 16px 8px; }
  .offer { padding: 16px; }
  .proof .btn--navy { width: 100%; }
  .proof__count { padding: 28px 24px; gap: 24px; }
  .proof__count > div:last-child { flex-direction: column; align-items: stretch; }
  .stats, .p-stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat { padding: 0 16px; }
  .stat, .stat:nth-child(2), .stat:last-child { border-right: 0; }
  .stat__num { font-size: 40px; line-height: 48px; flex-wrap: wrap; gap: 4px; }
  .stat__stars { font-size: 16px; }
  .stat__label { font-size: 14px; line-height: 20px; }
  .logos__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; padding: 0; justify-items: center; }
  .logos__row .wm { font-size: 18px !important; letter-spacing: normal; }
  .logos__row .wm--caps { font-size: 12px !important; letter-spacing: 0.2em; }
  .logos__row .wm--italic { font-size: 21px !important; }
  .p-stats b { font-size: 38px; line-height: 44px; }
  .site-header__bar { height: 76px; }
  .site-header__right { gap: 4px; }
  .site-header__right .btn { height: 42px; padding: 0 16px; font-size: 15px; }
  .logo { font-size: 24px; }
  .engine-cards { grid-template-columns: 1fr; }
  .feature-card__title { font-size: 22px; line-height: 28px; }
  .list-card img { width: 96px; height: 80px; }
}

/* Dark header sits on top of the navy hero it belongs to. */
.site-header--dark { position: absolute; left: 0; right: 0; top: 0; }
.has-dark-hero main > :first-child { padding-top: 88px; }
.proof__photo img { transition: opacity .5s var(--ease); }
