/* ============================================================
   DSCR FLORIDA LOAN — V3 Terminal Dark Mode
   Joe Pistone | CrossCountry Mortgage
   Design: Dark (#0C0F1A bg), IBM Plex Mono + Sora, emerald (#10B981),
   terminal aesthetic, zero border-radius, monospace accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  --navy:        #10B981;
  --navy-dark:   #0C0F1A;
  --navy-light:  #059669;
  --gold:        #10B981;
  --gold-dark:   #059669;
  --gold-light:  #34D399;
  --gold-bg:     rgba(16,185,129,0.06);
  --bg:          #0C0F1A;
  --surface:     #111827;
  --surface-2:   #1A1F2E;
  --text:        #E2E8F0;
  --text-muted:  #94A3B8;
  --text-faint:  #64748B;
  --border:      #1E293B;
  --success:     #10B981;
  --radius-sm:   0;
  --radius-md:   0;
  --radius-lg:   0;
  --radius-xl:   0;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.5);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.6);
  --trans:       180ms cubic-bezier(0.16,1,0.3,1);
  --font:        'Sora', -apple-system, sans-serif;
  --font-mono:   'IBM Plex Mono', 'Fira Code', monospace;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.6vw,  1.375rem);
  --text-xl:   clamp(1.375rem, 1.1rem  + 1.1vw,  2rem);
  --text-2xl:  clamp(1.875rem, 1.2rem  + 2.5vw,  3.25rem);
  --text-3xl:  clamp(2.5rem,   1.5rem  + 3.5vw,  4.5rem);

  /* Spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem;  --sp-8: 2rem;    --sp-10: 2.5rem;
  --sp-12: 3rem;   --sp-16: 4rem;   --sp-20: 5rem;   --sp-24: 6rem;

  --content: 1180px;
  --content-narrow: 720px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.15; text-wrap: balance; font-family: var(--font-mono); letter-spacing: -0.02em; }
p, li { text-wrap: pretty; }

/* ── Utilities ── */
.container { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: clamp(var(--sp-4), 5vw, var(--sp-10)); }
.container--narrow { max-width: var(--content-narrow); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 0;
  transition: all var(--trans);
  white-space: nowrap;
  font-family: var(--font-mono);
}
.btn--primary {
  background: var(--gold); color: #0C0F1A;
  box-shadow: 0 0 20px rgba(16,185,129,0.3);
}
.btn--primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 0 30px rgba(16,185,129,0.5); }
.btn--navy {
  background: var(--gold); color: #0C0F1A;
  box-shadow: var(--shadow-md);
}
.btn--navy:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 0 30px rgba(16,185,129,0.5); }
.btn--outline {
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold);
}
.btn--outline:hover { background: var(--gold); color: #0C0F1A; }
.btn--lg { padding: var(--sp-4) var(--sp-10); font-size: var(--text-base); }
.btn--xl { padding: var(--sp-5) var(--sp-12); font-size: var(--text-lg); font-weight: 800; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,15,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #10B981;
  transition: box-shadow var(--trans);
}
.header.scrolled { box-shadow: 0 0 30px rgba(16,185,129,0.15); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: var(--sp-6);
}
.header__logo { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.header__logo-text { color: #fff; font-weight: 800; font-size: var(--text-base); line-height: 1.2; font-family: var(--font-mono); }
.header__logo-text span { color: var(--gold); display: block; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.header__nav { display: flex; align-items: center; gap: var(--sp-6); }
.header__nav a { color: rgba(255,255,255,0.7); font-size: var(--text-sm); font-weight: 500; transition: color var(--trans); font-family: var(--font-mono); }
.header__nav a:hover { color: var(--gold); }
.header__cta { display: flex; align-items: center; gap: var(--sp-3); }
.header__phone { color: var(--gold); font-weight: 700; font-size: var(--text-sm); display: flex; align-items: center; gap: var(--sp-2); font-family: var(--font-mono); }

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__phone { display: none; }
  .header__cta .btn { font-size: var(--text-xs); padding: var(--sp-2) var(--sp-4); }
  .hide-mobile { display: none; }
}

/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0C0F1A 0%, #0F1624 40%, #0C1A2E 70%, #0C0F1A 100%);
  overflow: hidden;
  padding: clamp(var(--sp-16), 8vw, var(--sp-24)) 0 clamp(var(--sp-12), 6vw, var(--sp-20));
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310B981' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3);
  color: var(--gold-light); font-size: var(--text-xs); font-weight: 600;
  padding: var(--sp-2) var(--sp-4); border-radius: 0;
  margin-bottom: var(--sp-4); text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-mono);
}
.hero__badge::before { content: '>'; width: auto; height: auto; border-radius: 0; background: none; color: var(--gold); font-size: 0.9em; font-family: var(--font-mono); font-weight: 700; flex-shrink: 0; }
.hero__title {
  font-size: var(--text-3xl); font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: var(--sp-5);
  font-family: var(--font-mono);
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__subtitle { font-size: var(--text-lg); color: rgba(255,255,255,0.65); margin-bottom: var(--sp-8); max-width: 52ch; line-height: 1.55; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.hero__stat {
  display: flex; align-items: center; gap: var(--sp-2);
  color: rgba(255,255,255,0.75); font-size: var(--text-sm); font-weight: 500;
  font-family: var(--font-mono);
}
.hero__stat-icon { color: var(--gold); font-size: 1.1em; }
.hero__cta-group { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.hero__trust { color: rgba(255,255,255,0.4); font-size: var(--text-xs); display: flex; align-items: center; gap: var(--sp-2); font-family: var(--font-mono); }

/* Hero Quiz Card */
.hero__quiz-wrap {
  background: var(--surface);
  border-radius: 0;
  box-shadow: var(--shadow-xl), 0 0 30px rgba(16,185,129,0.08);
  overflow: hidden;
  border: 1px solid var(--border);
}
.quiz-header {
  background: #0C0F1A;
  padding: var(--sp-5) var(--sp-8);
  text-align: center;
  border-bottom: 1px solid var(--gold);
}
.quiz-header h2 { color: var(--gold); font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--sp-1); font-family: var(--font-mono); }
.quiz-header p { color: var(--text-muted); font-size: var(--text-sm); }
.quiz-progress-wrap { padding: var(--sp-4) var(--sp-8) 0; }
.quiz-progress-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-2); }
.quiz-progress-label span { font-size: var(--text-xs); font-weight: 600; color: var(--text-muted); font-family: var(--font-mono); }
.quiz-progress-label .step-current { color: var(--gold); font-weight: 700; }
.quiz-progress-bar { height: 4px; background: var(--border); border-radius: 0; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: var(--gold); border-radius: 0; transition: width 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.quiz-body { padding: var(--sp-6) var(--sp-8) var(--sp-8); }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeSlideIn 0.3s ease; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.quiz-question { font-size: var(--text-lg); font-weight: 700; color: #fff; margin-bottom: var(--sp-5); text-align: center; font-family: var(--font-mono); }
.quiz-options { display: grid; gap: var(--sp-3); }
.quiz-options.cols-2 { grid-template-columns: 1fr 1fr; }
.quiz-option {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface-2); border: 2px solid var(--border);
  border-radius: 0; cursor: pointer;
  transition: all var(--trans);
  font-size: var(--text-sm); font-weight: 600; color: var(--text);
  text-align: left;
}
.quiz-option:hover { border-color: var(--gold); background: rgba(16,185,129,0.06); color: #fff; transform: translateY(-1px); box-shadow: 0 0 15px rgba(16,185,129,0.1); }
.quiz-option.selected { border-color: var(--gold); background: rgba(16,185,129,0.1); color: #fff; }
.quiz-option-icon { font-size: 1.3em; flex-shrink: 0; }
.quiz-input-group { display: flex; flex-direction: column; gap: var(--sp-3); }
.quiz-input {
  width: 100%; padding: var(--sp-4) var(--sp-5);
  border: 2px solid var(--border); border-radius: 0;
  font: inherit; font-size: var(--text-base); color: #fff;
  background: var(--surface-2); transition: border-color var(--trans);
  outline: none;
}
.quiz-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(16,185,129,0.15); }
.quiz-input::placeholder { color: var(--text-faint); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--sp-5); }
.quiz-next {
  width: 100%; padding: var(--sp-4) var(--sp-8);
  background: var(--gold); color: #0C0F1A;
  border-radius: 0; font-weight: 700; font-size: var(--text-base);
  transition: all var(--trans);
  box-shadow: 0 0 20px rgba(16,185,129,0.3);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em;
}
.quiz-next:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 0 30px rgba(16,185,129,0.5); }
.quiz-next:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.quiz-back {
  color: var(--text-muted); font-size: var(--text-sm); font-weight: 500;
  display: flex; align-items: center; gap: var(--sp-1);
  transition: color var(--trans);
}
.quiz-back:hover { color: var(--gold); }
.quiz-disclaimer { font-size: var(--text-xs); color: var(--text-faint); text-align: center; margin-top: var(--sp-4); line-height: 1.5; }

/* Quiz Success */
.quiz-success { display: none; text-align: center; padding: var(--sp-6) var(--sp-8); }
.quiz-success.active { display: block; animation: fadeSlideIn 0.4s ease; }
.quiz-success__icon {
  width: 72px; height: 72px; border-radius: 0;
  background: rgba(16,185,129,0.15);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-4);
  font-size: 2rem;
}
.quiz-success h3 { color: var(--gold); font-size: var(--text-xl); font-weight: 800; margin-bottom: var(--sp-3); font-family: var(--font-mono); }
.quiz-success p { color: var(--text-muted); font-size: var(--text-base); margin-bottom: var(--sp-5); max-width: 38ch; margin-inline: auto; }
.quiz-success__contact { background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.2); border-radius: 0; padding: var(--sp-4) var(--sp-5); margin-top: var(--sp-4); text-align: left; }
.quiz-success__contact p { font-size: var(--text-sm); color: var(--text-muted); max-width: 100%; }
.quiz-success__contact strong { color: #fff; font-size: var(--text-base); }

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__stats { justify-content: center; }
  .hero__cta-group { justify-content: center; }
  .hero__quiz-wrap { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero__subtitle { font-size: var(--text-base); }
  .hero__stats { gap: var(--sp-2) var(--sp-3); }
  .hero__stat { font-size: var(--text-xs); }
  .hero__cta-group .btn--xl { padding: var(--sp-4) var(--sp-6); font-size: var(--text-sm); white-space: normal; text-align: center; }
  .fl-map-strip { font-size: 0.7rem; padding: var(--sp-2) var(--sp-3); line-height: 1.5; }
  .hero { padding-inline: 0; }
  .hero__badge { font-size: 0.65rem; }
}
@media (max-width: 480px) {
  .quiz-options.cols-2 { grid-template-columns: 1fr; }
  .quiz-body { padding: var(--sp-5) var(--sp-5) var(--sp-6); }
  .quiz-header { padding: var(--sp-4) var(--sp-5); }
}

/* ── Stats Bar ── */
.stats-bar {
  background: #111827;
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-8); }
.stats-bar__item { text-align: center; color: #fff; }
.stats-bar__value { font-size: var(--text-2xl); font-weight: 800; color: var(--gold); line-height: 1; font-family: var(--font-mono); }
.stats-bar__label { font-size: var(--text-xs); color: var(--text-muted); font-weight: 500; margin-top: var(--sp-1); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); }

/* ── Section Base ── */
.section { padding: clamp(var(--sp-16), 8vw, var(--sp-24)) 0; }
.section--alt { background: var(--surface); }
.section--navy { background: #111827; }
.section--gold { background: rgba(16,185,129,0.04); }
.section__header { text-align: center; margin-bottom: var(--sp-12); }
.section__eyebrow {
  display: inline-block; font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold);
  margin-bottom: var(--sp-3);
  font-family: var(--font-mono);
}
.section__eyebrow::before { content: '// '; }
.section__title { font-size: var(--text-2xl); font-weight: 800; color: #fff; margin-bottom: var(--sp-4); font-family: var(--font-mono); }
.section__subtitle { font-size: var(--text-base); color: var(--text-muted); max-width: 58ch; margin-inline: auto; line-height: 1.7; }
.section--navy .section__title { color: #fff; }
.section--navy .section__subtitle { color: var(--text-muted); }

/* ── Benefits ── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-6); }
.benefit-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 0; padding: var(--sp-8);
  transition: all var(--trans);
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(16,185,129,0.12); border-color: var(--gold); }
.benefit-card__icon {
  width: 52px; height: 52px; border-radius: 0;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: var(--sp-5);
}
.benefit-card__title { font-size: var(--text-lg); font-weight: 700; color: #fff; margin-bottom: var(--sp-3); font-family: var(--font-mono); }
.benefit-card__desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

/* ── How It Works ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); position: relative; }
.steps-grid::before {
  content: '';
  position: absolute; top: 32px; left: calc(16.67% + var(--sp-6)); right: calc(16.67% + var(--sp-6));
  height: 1px; background: var(--gold); opacity: 0.4;
}
.step-card { text-align: center; position: relative; }
.step-number {
  width: 64px; height: 64px; border-radius: 0;
  background: rgba(16,185,129,0.1);
  border: 2px solid var(--gold);
  color: var(--gold); font-size: var(--text-xl); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-5);
  box-shadow: 0 0 20px rgba(16,185,129,0.15);
  position: relative; z-index: 1;
  font-family: var(--font-mono);
}
.step-card__title { font-size: var(--text-base); font-weight: 700; color: #fff; margin-bottom: var(--sp-2); font-family: var(--font-mono); }
.step-card__desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; }
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-16); align-items: center; }
.about-photo-wrap {
  position: relative;
  border-radius: 0; overflow: hidden;
  aspect-ratio: 4/5; background: linear-gradient(135deg, #111827 0%, #1A1F2E 100%);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-badge {
  position: absolute; bottom: var(--sp-5); left: var(--sp-5); right: var(--sp-5);
  background: rgba(12,15,26,0.92); backdrop-filter: blur(8px);
  border-radius: 0; padding: var(--sp-4);
  color: #fff;
  border: 1px solid rgba(16,185,129,0.3);
}
.about-photo-badge__name { font-weight: 700; font-size: var(--text-base); font-family: var(--font-mono); }
.about-photo-badge__title { font-size: var(--text-sm); color: var(--gold); margin-top: 2px; font-family: var(--font-mono); }
.about-photo-badge__nmls { font-size: var(--text-xs); color: var(--text-faint); margin-top: var(--sp-1); font-family: var(--font-mono); }
.about-content h2 { font-size: var(--text-2xl); font-weight: 800; color: #fff; margin-bottom: var(--sp-5); font-family: var(--font-mono); }
.about-content p { color: var(--text-muted); margin-bottom: var(--sp-5); line-height: 1.75; }
.about-highlights { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-8); }
.about-highlight { display: flex; gap: var(--sp-3); align-items: center; font-size: var(--text-sm); color: var(--text); }
.about-highlight::before { content: '>'; width: 22px; height: 22px; border-radius: 0; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; flex-shrink: 0; font-family: var(--font-mono); }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } .about-photo-wrap { max-width: 320px; margin-inline: auto; } }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--sp-6); }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 0; padding: var(--sp-8);
  position: relative;
}
.testimonial-card::before { content: '\201C'; position: absolute; top: var(--sp-4); right: var(--sp-6); font-size: 4rem; color: var(--gold); font-family: Georgia, serif; line-height: 1; opacity: 0.2; }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: var(--sp-4); letter-spacing: 0.1em; }
.testimonial-text { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.75; margin-bottom: var(--sp-5); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 0; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; font-size: var(--text-sm); flex-shrink: 0; font-family: var(--font-mono); }
.testimonial-info { font-size: var(--text-sm); }
.testimonial-info strong { color: #fff; display: block; font-weight: 700; }
.testimonial-info span { color: var(--text-muted); font-size: var(--text-xs); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 0; overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) var(--sp-6); text-align: left;
  font-size: var(--text-base); font-weight: 700; color: #fff;
  transition: background var(--trans);
  font-family: var(--font-mono);
}
.faq-question:hover { background: var(--surface-2); }
.faq-question.open { background: rgba(16,185,129,0.06); }
.faq-icon { width: 24px; height: 24px; border-radius: 0; background: var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--trans); font-size: 0.9rem; color: var(--text-muted); }
.faq-question.open .faq-icon { background: var(--gold); color: #0C0F1A; transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 var(--sp-6) var(--sp-5); }
.faq-answer p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; animation: fadeSlideIn 0.25s ease; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--gold);
  padding: clamp(var(--sp-12), 6vw, var(--sp-20)) 0;
  text-align: center;
}
.cta-banner h2 { font-size: var(--text-2xl); font-weight: 800; color: #0C0F1A; margin-bottom: var(--sp-4); font-family: var(--font-mono); }
.cta-banner p { font-size: var(--text-lg); color: rgba(12,15,26,0.75); margin-bottom: var(--sp-8); max-width: 55ch; margin-inline: auto; opacity: 0.85; }
.cta-banner .btn--navy { font-size: var(--text-base); padding: var(--sp-4) var(--sp-12); background: #0C0F1A; color: var(--gold); }
.cta-banner .btn--navy:hover { background: #111827; box-shadow: 0 0 30px rgba(0,0,0,0.4); }

/* ── Footer ── */
.footer {
  background: #070A12;
  padding: clamp(var(--sp-12), 6vw, var(--sp-16)) 0 var(--sp-8);
  border-top: 1px solid var(--border);
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-10); margin-bottom: var(--sp-12); }
.footer__brand p { font-size: var(--text-sm); color: var(--text-faint); margin-top: var(--sp-4); line-height: 1.7; max-width: 32ch; }
.footer__col h4 { font-size: var(--text-sm); font-weight: 700; color: var(--gold); margin-bottom: var(--sp-5); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); }
.footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__links a { font-size: var(--text-sm); color: var(--text-faint); transition: color var(--trans); }
.footer__links a:hover { color: var(--gold); }
.footer__divider { border: none; border-top: 1px solid var(--border); margin-bottom: var(--sp-8); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: flex-start; }
.footer__legal { font-size: var(--text-xs); color: var(--text-faint); line-height: 1.7; max-width: 75ch; }
.footer__badges { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.footer__badge { background: rgba(16,185,129,0.06); border: 1px solid var(--border); border-radius: 0; padding: var(--sp-2) var(--sp-4); font-size: var(--text-xs); color: var(--text-faint); white-space: nowrap; font-family: var(--font-mono); }
.footer__badge--eh { display: flex; align-items: center; gap: var(--sp-2); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; } }

/* ── Anchor CTA (Floating) ── */
.sticky-cta {
  position: fixed; bottom: var(--sp-5); left: 50%; transform: translateX(-50%);
  z-index: 90; display: none;
  animation: slideUp 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.sticky-cta.visible { display: flex; }
.sticky-cta__inner {
  background: #111827; border-radius: 0; padding: var(--sp-3) var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid var(--gold);
  color: #fff; font-size: var(--text-sm);
}
.sticky-cta__text { font-weight: 600; font-family: var(--font-mono); }
.sticky-cta__btn { background: var(--gold); color: #0C0F1A; font-weight: 700; font-size: var(--text-sm); padding: var(--sp-2) var(--sp-5); border-radius: 0; transition: all var(--trans); white-space: nowrap; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.sticky-cta__btn:hover { background: var(--gold-light); box-shadow: 0 0 20px rgba(16,185,129,0.4); }
.sticky-cta__close { color: var(--text-faint); font-size: 1.2rem; line-height: 1; margin-left: var(--sp-2); cursor: pointer; transition: color var(--trans); }
.sticky-cta__close:hover { color: var(--gold); }
@media (max-width: 500px) { .sticky-cta__text { display: none; } }

/* ══ DSCR-Specific Styles ══ */

/* Location strip */
.fl-map-strip {
  background: #070A12;
  padding: var(--sp-3) 0;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  border-bottom: 1px solid var(--border);
}
.fl-map-strip span { color: var(--gold); font-weight: 600; }

/* Trust badges row */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}
.trust-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  transition: all var(--trans);
}
.trust-badge:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(16,185,129,0.1); border-color: var(--gold); }
.trust-badge__icon { font-size: 1.6rem; margin-bottom: var(--sp-2); }
.trust-badge__label { font-size: var(--text-xs); font-weight: 700; color: #fff; line-height: 1.3; font-family: var(--font-mono); }
@media (max-width: 768px) { .trust-badges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px) { .trust-badges { grid-template-columns: repeat(2, 1fr); } }

/* DSCR Explainer */
.dscr-formula {
  background: #111827;
  border-radius: 0;
  padding: clamp(var(--sp-8), 5vw, var(--sp-12));
  color: #fff;
  text-align: center;
  margin-bottom: var(--sp-10);
  border: 1px solid var(--border);
}
.dscr-formula__eq {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: var(--sp-4);
  line-height: 1.3;
  font-family: var(--font-mono);
}
.dscr-formula__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 50ch;
  margin-inline: auto;
  line-height: 1.7;
}
.dscr-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.dscr-tier {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 0;
  padding: var(--sp-6);
  text-align: center;
  transition: all var(--trans);
}
.dscr-tier:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(16,185,129,0.1); }
.dscr-tier--strong { border-color: var(--gold); }
.dscr-tier--even { border-color: #EAB308; }
.dscr-tier--below { border-color: #EF4444; }
.dscr-tier__ratio { font-size: var(--text-xl); font-weight: 800; margin-bottom: var(--sp-2); font-family: var(--font-mono); }
.dscr-tier--strong .dscr-tier__ratio { color: var(--gold); }
.dscr-tier--even .dscr-tier__ratio { color: #EAB308; }
.dscr-tier--below .dscr-tier__ratio { color: #EF4444; }
.dscr-tier__label { font-size: var(--text-sm); font-weight: 700; color: #fff; margin-bottom: var(--sp-2); font-family: var(--font-mono); }
.dscr-tier__desc { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.6; }
@media (max-width: 640px) { .dscr-tiers { grid-template-columns: 1fr; } }

/* DSCR Calculator */
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: clamp(var(--sp-8), 5vw, var(--sp-12));
  max-width: 560px;
  margin-inline: auto;
  box-shadow: var(--shadow-md);
}
.calc-card h3 { font-size: var(--text-xl); font-weight: 800; color: #fff; margin-bottom: var(--sp-6); text-align: center; font-family: var(--font-mono); }
.calc-row { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.calc-row label { font-size: var(--text-sm); font-weight: 700; color: var(--gold); font-family: var(--font-mono); }
.calc-row input {
  width: 100%; padding: var(--sp-4) var(--sp-5);
  border: 2px solid var(--border); border-radius: 0;
  font: inherit; font-size: var(--text-lg); font-weight: 700; color: #fff;
  background: var(--surface-2); transition: border-color var(--trans); outline: none;
  font-family: var(--font-mono);
}
.calc-row input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(16,185,129,0.15); }
.calc-result {
  background: #0C0F1A;
  border-radius: 0;
  padding: var(--sp-6);
  text-align: center;
  margin-top: var(--sp-6);
  border: 1px solid var(--border);
}
.calc-result__ratio { font-size: var(--text-2xl); font-weight: 800; color: var(--gold); line-height: 1; font-family: var(--font-mono); }
.calc-result__label { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--sp-2); font-family: var(--font-mono); }
.calc-result__verdict { font-size: var(--text-base); font-weight: 700; margin-top: var(--sp-3); padding: var(--sp-2) var(--sp-4); border-radius: 0; display: inline-block; font-family: var(--font-mono); }
.calc-result__verdict--strong { background: rgba(16,185,129,0.15); color: var(--gold); border: 1px solid rgba(16,185,129,0.3); }
.calc-result__verdict--even { background: rgba(234,179,8,0.15); color: #EAB308; border: 1px solid rgba(234,179,8,0.3); }
.calc-result__verdict--below { background: rgba(239,68,68,0.15); color: #EF4444; border: 1px solid rgba(239,68,68,0.3); }

/* Comparison Table */
.comparison-table-wrap {
  max-width: 820px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table thead th {
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--border);
  font-family: var(--font-mono);
}
.comparison-table thead th:first-child { background: var(--surface-2); color: var(--text-muted); }
.comparison-table thead th:nth-child(2) { background: rgba(16,185,129,0.1); color: var(--gold); }
.comparison-table thead th:nth-child(3) { background: var(--surface-2); color: var(--text-muted); }
.comparison-table tbody td {
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-muted);
}
.comparison-table tbody td:first-child { font-weight: 700; color: #fff; background: var(--surface-2); font-family: var(--font-mono); }
.comparison-table tbody td:nth-child(2) { color: var(--text); font-weight: 600; }
.comparison-table tbody td:nth-child(3) { color: var(--text-muted); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
@media (max-width: 600px) {
  .comparison-table thead th, .comparison-table tbody td { padding: var(--sp-3) var(--sp-4); font-size: var(--text-xs); }
}

/* Market Cards */
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-6); }
.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: var(--sp-8);
  transition: all var(--trans);
}
.market-card:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(16,185,129,0.12); border-color: var(--gold); }
.market-card__icon { font-size: 2rem; margin-bottom: var(--sp-4); }
.market-card__city { font-size: var(--text-lg); font-weight: 800; color: #fff; margin-bottom: var(--sp-2); font-family: var(--font-mono); }
.market-card__desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

/* Cross-link cards */
.cross-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-8); }
.cross-link {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: var(--sp-5) var(--sp-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
  transition: all var(--trans);
}
.cross-link:hover { border-color: var(--gold); box-shadow: 0 0 15px rgba(16,185,129,0.1); }
.cross-link__text h4 { color: #fff; font-weight: 800; font-size: var(--text-base); margin-bottom: var(--sp-1); font-family: var(--font-mono); }
.cross-link__text p { color: var(--text-muted); font-size: var(--text-xs); }

/* ── MOBILE RESPONSIVE FIX ── */
html, body { overflow-x: hidden; max-width: 100vw; }

@media (max-width: 768px) {
  .header__inner { padding-inline: var(--sp-3); gap: var(--sp-2); }
  .header__cta .btn { padding: var(--sp-2) var(--sp-4); font-size: 0.75rem; }
  .header__logo-text { font-size: 0.85rem; }
  .header__logo-text span { font-size: 0.65rem; }
  .header__logo svg, .header__logo img { width: 28px; height: 28px; }
  .hero { padding: var(--sp-10) 0 var(--sp-8); }
  .hero__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero__subtitle { font-size: var(--text-sm); }
  .hero__stat { font-size: 0.8rem; }
  .stats-bar__grid { gap: var(--sp-4); }
  .stats-bar__item { min-width: 80px; }
  .stats-bar__value { font-size: var(--text-xl); }
  .stats-bar__label { font-size: 0.65rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: var(--sp-6); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .loan-types-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
  .area-chip { padding: var(--sp-3); font-size: 0.8rem; }
  .loan-limits-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .loan-limits-table { min-width: 320px; }
  .faq-question { padding: var(--sp-4); font-size: var(--text-sm); }
  .faq-answer { padding: 0 var(--sp-4) var(--sp-4); }
  .section { padding: var(--sp-10) 0; }
  .section__header { margin-bottom: var(--sp-8); }
  .section__title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .footer__bottom { gap: var(--sp-3); }
  .footer__legal { font-size: 0.7rem; }
  .footer__badges { gap: var(--sp-2); }
  .cta-banner h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .cta-banner p { font-size: var(--text-sm); }
  .cta-banner .btn--navy { padding: var(--sp-3) var(--sp-8); font-size: var(--text-sm); }
  .relocation-card { padding: var(--sp-6); }
  .relocation-inner h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .state-badge { font-size: 0.7rem; padding: var(--sp-1) var(--sp-2); }
}

@media (max-width: 400px) {
  .container { padding-inline: var(--sp-4); }
  .header__cta .btn { padding: var(--sp-2) var(--sp-3); font-size: 0.7rem; }
  .hero__title { font-size: 1.6rem; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar__grid { gap: var(--sp-3); }
  .stats-bar__item { min-width: 70px; }
}

/* ── MOBILE FIX v2 — Button wrapping & hero content ── */
@media (max-width: 768px) {
  .btn { white-space: normal; text-align: center; }
  .btn--xl { padding: var(--sp-4) var(--sp-6); font-size: var(--text-base); }
  .btn--lg { padding: var(--sp-3) var(--sp-5); font-size: var(--text-sm); }
  .hero__content { overflow: hidden; }
  .hero__subtitle { max-width: 100%; }
  .hero__stats { gap: var(--sp-2); }
  .hero__cta-group { flex-direction: column; width: 100%; }
  .hero__cta-group .btn { width: 100%; }
  .quiz-header h2 { font-size: var(--text-base); }
}

/* ══ TWO-BUTTON HEADER CTA ════════════════════════════════════ */
.header__cta .btn--outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.header__cta .btn--outline:hover {
  background: var(--gold);
  color: #0C0F1A;
}
.header__cta .btn--apply {
  background: var(--gold);
  color: #0C0F1A;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-radius: 0;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid var(--gold);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.header__cta .btn--apply:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(16,185,129,0.4);
}
/* ══ TWO-BUTTON STICKY CTA ═══════════════════════════════════ */
.sticky-cta__buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.sticky-cta__btn--form {
  background: rgba(16,185,129,0.1);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 0;
  transition: all 0.2s;
  white-space: nowrap;
  border: 1px solid rgba(16,185,129,0.3);
  text-decoration: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sticky-cta__btn--form:hover {
  background: rgba(16,185,129,0.2);
  border-color: var(--gold);
}
.sticky-cta__btn--apply {
  background: var(--gold);
  color: #0C0F1A;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1.1rem;
  border-radius: 0;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sticky-cta__btn--apply:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(16,185,129,0.4);
}
@media (max-width: 600px) {
  .header__cta .btn--outline,
  .header__cta .btn--apply {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
  }
  .sticky-cta__buttons {
    gap: 0.35rem;
  }
  .sticky-cta__btn--form,
  .sticky-cta__btn--apply {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
  }
}
@media (max-width: 400px) {
  .header__cta .btn--outline,
  .header__cta .btn--apply {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }
}
