/* ============================================================
   ClearPath Reverse Mortgage — Shared Stylesheet
   Modern, clean, senior-friendly design.
   Sans-serif throughout. Icon-driven, not emoji-driven.
   ============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Brand */
  --blue:          #1A56DB;
  --blue-dark:     #1239A6;
  --blue-xdark:    #0C246B;
  --blue-light:    #EEF2FF;
  --amber:         #22C55E;
  --amber-dark:    #16A34A;
  --amber-light:   #F0FDF4;

  /* Neutrals */
  --text:          #111827;
  --text-muted:    #6B7280;
  --bg:            #FFFFFF;
  --bg-alt:        #F9FAFB;
  --border:        #E5E7EB;
  --border-mid:    #D1D5DB;

  /* Status */
  --green:         #059669;
  --green-bg:      #ECFDF5;
  --green-border:  #A7F3D0;
  --red:           #DC2626;
  --red-bg:        #FEF2F2;
  --red-border:    #FECACA;
  --focus-ring:    #22C55E;

  /* Typography — all sans-serif */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Font sizes */
  --text-sm:   17px;
  --text-base: 20px;
  --text-md:   22px;
  --text-lg:   26px;
  --text-xl:   32px;
  --text-hero: clamp(32px, 5vw, 52px);

  /* Spacing */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  28px;
  --sp-lg:  56px;
  --sp-xl:  80px;

  /* Buttons */
  --btn-h:      64px;
  --btn-h-lg:   72px;
  --btn-radius: 12px;
  --btn-fs:     20px;

  /* Layout */
  --w-content: 900px;
  --w-wide:    1140px;

  /* Elevation */
  --shadow-xs: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 4px 12px rgba(0,0,0,.07);
  --shadow:    0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.10);

  /* Radii */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
ul   { padding-left: 1.4em; }
li   { margin-bottom: 8px; }

/* ── LINKS ──────────────────────────────────────────────────── */
a {
  color: var(--blue);
  text-underline-offset: 3px;
  transition: color .15s;
}
a:hover { color: var(--blue-dark); }

/* ── FOCUS ──────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── SKIP LINK ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -120%;
  left: 16px;
  background: var(--blue-dark);
  color: #fff;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.3px;
}
h1 { font-size: clamp(30px, 5vw, 50px); margin-bottom: var(--sp-md); }
h2 { font-size: clamp(24px, 3.5vw, 36px); margin-bottom: 14px; }
h3 { font-size: clamp(20px, 2.5vw, 26px); margin-bottom: 10px; }
h4 { font-size: clamp(18px, 2vw, 22px); margin-bottom: 8px; }
p  { margin-bottom: var(--sp-sm); max-width: 68ch; }
p.wide { max-width: 100%; }
strong { font-weight: 700; }
.table-note { font-size: 16px; color: var(--text-muted); margin-top: 10px; max-width: 100%; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container       { max-width: var(--w-content); margin: 0 auto; padding: 0 var(--sp-md); }
.container--wide { max-width: var(--w-wide);    margin: 0 auto; padding: 0 var(--sp-md); }
.section         { padding: var(--sp-xl) 0; }
.section--alt    { background: var(--bg-alt); }
.section--warm   { background: #FAFAF8; }
.text-center     { text-align: center; }
.text-center p   { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 14px 32px;
  font-family: var(--font);
  font-size: var(--btn-fs);
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: var(--btn-radius);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--amber);
  color: #1A1A1A;
  border-color: var(--amber);
  box-shadow: 0 4px 18px rgba(245,158,11,.32);
}
.btn--primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: #1A1A1A;
  box-shadow: 0 6px 24px rgba(217,119,6,.38);
}

.btn--navy,
.btn--blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--navy:hover,
.btn--blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

.btn--outline-navy,
.btn--outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline-navy:hover,
.btn--outline-blue:hover { background: var(--blue-light); }

.btn--phone {
  background: var(--blue-dark);
  color: #fff;
  border-color: var(--blue-dark);
  font-size: clamp(20px, 3vw, 28px);
}
.btn--phone:hover { background: var(--blue-xdark); border-color: var(--blue-xdark); color: #fff; }

.btn--large { min-height: var(--btn-h-lg); font-size: clamp(20px, 2.8vw, 24px); padding: 18px 40px; }
.btn--full  { width: 100%; }

/* ── SITE HEADER ────────────────────────────────────────────── */
.site-header {
  background: var(--blue-xdark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.site-header__inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
  flex-wrap: wrap;
}
.site-header__brand {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.3px;
}
.site-header__brand span { color: var(--amber); }
.site-header__phone {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--amber);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header__phone:hover { color: #fff; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.site-nav {
  background: var(--blue-dark);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.site-nav__inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  align-items: center;
}
.site-nav a {
  display: block;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 16px;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  margin: 5px 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.site-nav a[aria-current="page"] {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.site-nav a.nav-cta {
  background: var(--amber);
  color: #1A1A1A;
  border-radius: var(--radius-sm);
  margin: 6px 0 6px 8px;
  font-weight: 700;
}
.site-nav a.nav-cta:hover { background: var(--amber-dark); color: #1A1A1A; }

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 10px var(--sp-md);
}
.trust-bar__items {
  max-width: var(--w-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
}
.trust-bar__item {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust-bar__item::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-xdark) 0%, var(--blue-dark) 55%, var(--blue) 100%);
  color: #fff;
  padding: var(--sp-xl) 0;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  display: block;
  opacity: .9;
}
.hero__subhead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: rgba(255,255,255,.86);
  max-width: 640px;
  margin-bottom: var(--sp-lg);
  line-height: 1.65;
  font-weight: 400;
}
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: var(--sp-sm);
}
.hero__note {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  margin-top: 12px;
  margin-bottom: 0;
  max-width: 100%;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.card--amber {
  background: var(--amber-light);
  border-color: rgba(245,158,11,.3);
}
.card h3 { margin-bottom: 10px; font-size: clamp(18px, 2.3vw, 22px); }
.card h3 a { text-decoration: none; color: var(--text); }
.card h3 a:hover { color: var(--blue); }
.card p  { font-size: 18px; color: var(--text-muted); margin-bottom: 0; }

/* Card icon — wraps a Lucide SVG icon */
.card__icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0; /* hide any residual text/emoji */
}
.card__icon svg,
.card__icon i {
  width: 26px;
  height: 26px;
  display: block;
  stroke-width: 2;
  color: var(--blue);
}
/* Lucide icon element */
.card__icon [data-lucide] {
  width: 26px;
  height: 26px;
}

/* ── PROS / CONS ────────────────────────────────────────────── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pros-cons__col,
.pros-box,
.cons-box {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.pros-cons__col--pros,
.pros-box {
  background: var(--green-bg);
  border: 1.5px solid var(--green-border);
}
.pros-cons__col--pros h3,
.pros-box h3 { color: var(--green); }
.pros-cons__col--cons,
.cons-box {
  background: var(--red-bg);
  border: 1.5px solid var(--red-border);
}
.pros-cons__col--cons h3,
.cons-box h3 { color: var(--red); }
.pros-cons__col li,
.pros-box li,
.cons-box li { font-size: 18px; line-height: 1.65; }

/* ── CHECKLIST ──────────────────────────────────────────────── */
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.65;
}
.checklist li:last-child { border-bottom: none; }
.checklist__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  margin-top: 2px;
  line-height: 1;
}

/* ── DATA TABLE ─────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  margin: var(--sp-md) 0;
}
.data-table th {
  background: var(--blue-dark);
  color: #fff;
  padding: 16px 20px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
}
.data-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table tr:nth-child(even) td { background: var(--bg-alt); }
.data-table tr:hover td { background: var(--blue-light); }
.data-table td:first-child { font-weight: 600; }

/* ── COMPARISON TABLE ───────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}
.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th { background: var(--blue-dark); color: #fff; font-size: 19px; }
.compare-table thead th:first-child { background: var(--bg-alt); color: var(--text); }
.compare-table tbody tr:nth-child(even) td { background: var(--bg-alt); }
.compare-table td:first-child { font-weight: 600; color: var(--text); width: 220px; }
.compare-table .highlight { color: var(--green); font-weight: 700; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { margin: 0; padding: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--text);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: color .15s;
}
.faq-item summary:hover { color: var(--blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 28px;
  height: 28px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .25s, background-color .15s;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: var(--blue-light);
  border-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A56DB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
.faq-item .faq-answer {
  padding: 4px 0 var(--sp-md);
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item .faq-answer p { max-width: 100%; }

/* ── CTA BAND ───────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-xdark) 0%, var(--blue-dark) 100%);
  padding: var(--sp-xl) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-sm); max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band p  { color: rgba(255,255,255,.82); font-size: var(--text-md); max-width: 580px; margin: 0 auto var(--sp-md); }
.cta-band__phone {
  display: block;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  color: var(--amber);
  text-decoration: none;
  margin-bottom: var(--sp-md);
  letter-spacing: 0.5px;
}
.cta-band__phone:hover { color: #fff; text-decoration: underline; }
.cta-band__or {
  font-size: 17px;
  color: rgba(255,255,255,.45);
  margin: var(--sp-sm) 0;
  display: block;
}

/* ── STAT GRID ──────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: var(--sp-md) 0;
}
.stat-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.stat-box__num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--blue-dark);
  display: block;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.stat-box__label {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ── STEPS ──────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: flex;
  gap: var(--sp-md);
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin-top: 4px;
}
.step-content h3 { margin-bottom: 6px; color: var(--text); }
.step-content p  { font-size: 18px; color: var(--text-muted); margin: 0; }

/* ── HIGHLIGHT / INFO BOXES ─────────────────────────────────── */
.highlight-box {
  background: var(--amber-light);
  border: 1.5px solid rgba(245,158,11,.4);
  border-radius: var(--radius);
  padding: var(--sp-md);
  margin: var(--sp-md) 0;
}
.highlight-box p { margin-bottom: 0; font-size: var(--text-md); max-width: 100%; }
.highlight-box .btn { margin-top: var(--sp-sm); }

.info-box {
  background: var(--blue-light);
  border: 1.5px solid rgba(26,86,219,.2);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: var(--sp-md);
  margin: var(--sp-md) 0;
}
.info-box p { margin-bottom: 0; font-size: 18px; max-width: 100%; }

/* ── LOCATION TAGS ──────────────────────────────────────────── */
.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-sm);
}
.location-tag {
  font-size: 16px;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--blue-dark);
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s, color .15s;
  border: 1px solid var(--border);
}
.location-tag:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ── SITE FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--blue-xdark);
  color: rgba(255,255,255,.65);
  font-size: 17px;
  padding: var(--sp-xl) 0 var(--sp-md);
}
.site-footer__grid {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: var(--sp-lg);
}
.site-footer__brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  display: block;
}
.site-footer__brand span { color: var(--amber); }
.site-footer__phone {
  font-size: 22px;
  font-weight: 800;
  color: var(--amber);
  text-decoration: none;
  display: block;
  margin: 8px 0;
}
.site-footer__phone:hover { color: #fff; }
.site-footer p { max-width: 100%; color: rgba(255,255,255,.58); font-size: 16px; }
.site-footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a  { color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--amber); }
.site-footer__legal {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: var(--sp-md) var(--sp-md) 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.38);
}
.site-footer__legal p { max-width: 100%; }

/* ── QUIZ ───────────────────────────────────────────────────── */
.quiz-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
}
.quiz-header {
  background: var(--blue-xdark);
  padding: 18px var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quiz-header__brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.quiz-header__brand span { color: var(--amber); }
.quiz-header__phone {
  font-size: 20px;
  font-weight: 800;
  color: var(--amber);
  text-decoration: none;
}
.quiz-header__phone:hover { color: #fff; }
.quiz-progress {
  background: #fff;
  padding: 16px var(--sp-md);
  border-bottom: 1px solid var(--border);
}
.quiz-progress__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quiz-progress__bar {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.quiz-progress__fill {
  height: 100%;
  background: var(--amber);
  border-radius: 4px;
  transition: width .35s ease;
}
.quiz-progress__text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.quiz-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-lg) var(--sp-md);
}
.quiz-card {
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}
.quiz-card[hidden] { display: none; }
.quiz-step-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: block;
}
.quiz-question {
  font-size: clamp(24px, 4.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.22;
  margin-bottom: var(--sp-sm);
}
.quiz-hint {
  font-size: var(--text-md);
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
  max-width: 52ch;
}
.quiz-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--sp-md);
}
.quiz-choice {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text);
  padding: 18px 22px;
  min-height: 64px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .15s, background .15s;
}
.quiz-choice:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue-dark);
}
.quiz-choice__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-mid);
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.quiz-choice:hover .quiz-choice__icon {
  border-color: var(--blue);
  background: var(--blue);
}
.quiz-field-wrap { margin-bottom: var(--sp-md); }
.quiz-field-label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.quiz-field {
  width: 100%;
  font-size: clamp(22px, 3.5vw, 30px);
  font-family: var(--font);
  padding: 18px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color .15s;
}
.quiz-field:focus { border-color: var(--blue); outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.quiz-field--error { border-color: var(--red); }
.quiz-error {
  font-size: 17px;
  font-weight: 600;
  color: var(--red);
  margin-top: 10px;
  display: block;
}
.quiz-back {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 17px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: var(--sp-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}
.quiz-back:hover { color: var(--blue); }
.quiz-footer-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  padding: var(--sp-md) var(--sp-md) var(--sp-lg);
}
.quiz-footer-note a { color: var(--blue); }
.results-card {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: var(--sp-md);
  text-align: center;
  color: #fff;
}
.results-card h2 { color: #fff; margin-bottom: 10px; }
.results-card__amount {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 900;
  color: var(--amber);
  display: block;
  margin: 14px 0;
  line-height: 1;
}
.results-card p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 100%; margin: 0; }

/* ── CALCULATOR ─────────────────────────────────────────────── */
.calc-form { max-width: 540px; }
.calc-field-group { margin-bottom: var(--sp-md); }
.calc-label {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.calc-field {
  width: 100%;
  font-size: clamp(22px, 3vw, 28px);
  font-family: var(--font);
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color .15s;
}
.calc-field:focus { border-color: var(--blue); outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: var(--sp-md) 0;
}
.calc-result-card {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-md);
  text-align: center;
}
.calc-result-card.highlight { border-color: var(--amber); background: var(--amber-light); }
.calc-result-card__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.calc-result-card__amount {
  font-size: clamp(24px, 3.8vw, 34px);
  font-weight: 900;
  color: var(--blue-dark);
  display: block;
  line-height: 1.1;
}
.calc-result-card.highlight .calc-result-card__amount { color: var(--amber-dark); }
.calc-result-card p { font-size: 15px; color: var(--text-muted); margin: 8px 0 0; max-width: 100%; }

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--border-mid); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pros-cons { grid-template-columns: 1fr; }
  .compare-table { font-size: 16px; }
  .compare-table th, .compare-table td { padding: 13px 14px; }
}

@media (max-width: 700px) {
  .section { padding: var(--sp-lg) 0; }
  .hero { padding: var(--sp-lg) 0; }
  .hero__cta-group { flex-direction: column; }
  .hero__cta-group .btn { width: 100%; max-width: 400px; }
  .card-grid { grid-template-columns: 1fr; }
  .cta-band { padding: var(--sp-lg) 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .compare-table { display: block; overflow-x: auto; }
  .quiz-card { padding: 28px 20px; }
}

@media (max-width: 520px) {
  body { font-size: 19px; }
  .container, .container--wide { padding: 0 16px; }
  .site-header__inner { padding: 0 16px; min-height: 60px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .calc-results-grid { grid-template-columns: 1fr; }
  .data-table { font-size: 16px; }
  .data-table th, .data-table td { padding: 12px 12px; }
}

/* ── UTILITIES ──────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mb-0  { margin-bottom: 0; }
.green { color: var(--green); }
.red   { color: var(--red); }
.muted { color: var(--text-muted); }
