/* ============================================================
   TQL — STR Loans Landing
   Palette: navy #0b1424→#0f1c33, blue #2e8bff, mint #1fd1a1, gold #ffb547
   Type: Fraunces (display) + Inter (body)
   ============================================================ */

:root {
  /* Surfaces */
  --bg:           #0b1424;
  --bg-alt:       #0f1c33;
  --bg-elev:      #122443;
  --bg-elev-2:    #16294d;
  --line:         #1f3055;
  --line-soft:    #1a2647;
  --line-strong:  #2a3f6d;

  /* Text */
  --text:         #eef2fb;
  --text-2:       #b9c4dc;
  --text-3:       #7f8aa5;
  --text-muted:   #5d6885;

  /* Brand */
  --blue:         #2e8bff;
  --blue-2:       #4a9eff;
  --blue-deep:    #1a6bd6;
  --blue-glow:    rgba(46, 139, 255, .35);
  /* Brand accent (was mint) — sampled from TQL logo #007BE0 */
  --mint:         #007BE0;
  --mint-2:       #1e95f0;
  --mint-soft:    rgba(0, 123, 224, .14);
  --mint-line:    rgba(0, 123, 224, .42);
  --gold:         #ffb547;
  --red:          #ff6b6b;
  --red-soft:     rgba(255, 107, 107, .12);
  --red-line:     rgba(255, 107, 107, .28);

  /* Radii */
  --r-sm:  8px;
  --r:     12px;
  --r-md:  16px;
  --r-lg:  20px;
  --r-xl:  24px;
  --r-pill: 999px;

  /* Shadow */
  --logo-blue:    #007BE0;
  --sh-card:   0 1px 0 rgba(255,255,255,.03) inset, 0 18px 40px -22px rgba(0,0,0,.6);
  --sh-card-h: 0 1px 0 rgba(255,255,255,.05) inset, 0 28px 60px -22px rgba(0,0,0,.7);
  --sh-btn:    0 8px 24px -8px rgba(46, 139, 255, .55), 0 1px 0 rgba(255,255,255,.18) inset;
  --sh-btn-h:  0 14px 36px -10px rgba(46, 139, 255, .75), 0 1px 0 rgba(255,255,255,.22) inset;

  --container: 1200px;
  --gutter: 24px;

  --t-fast: 140ms cubic-bezier(.4,.0,.2,1);
  --t:      220ms cubic-bezier(.16,1,.3,1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font-family: inherit; color: inherit; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Display type */
.display, h1, h2 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
h1 { font-size: clamp(40px, 6.2vw, 76px); margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 50px); margin: 0; }
h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 19px; margin: 0; letter-spacing: -0.01em; }
p  { margin: 0; }

.num-display {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  background: var(--mint-soft);
  border: 1px solid var(--mint-line);
}

/* ---- Containers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; }

/* Alternating section bg */
.sec-alt { background: var(--bg-alt); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue) 55%, var(--blue-deep));
  box-shadow: var(--sh-btn);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--sh-btn-h);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.04);
  border-color: #3b528c;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: #0b1424;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.45);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(0,0,0,.55); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 16px; }

.arrow { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 20, 36, .72);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.brand-logo {
  display: block;
  height: 38px;
  width: auto;
}
.footer .brand-logo { height: 34px; }
.nav-links {
  display: flex; gap: 36px;
  font-size: 15px; font-weight: 500;
}
.nav-links a {
  color: var(--blue-2);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--blue); }
.nav-right {
  display: flex; align-items: center; gap: 22px;
}
.nav-phone {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.nav-phone svg { color: #ff5d8f; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -20% auto auto;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(46, 139, 255, .14), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -20%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 123, 224, .10), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: start;
  position: relative;
}
.hero h1 em {
  font-style: italic;
  color: var(--mint);
  font-weight: 500;
}
.hero-sub {
  margin-top: 28px;
  font-size: 19px;
  color: var(--text-2);
  max-width: 540px;
}
.hero-sub b { color: var(--text); font-weight: 700; }

.hero-cta {
  display: flex; gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex; flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-2);
}
.trust-row span {
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-row span::before {
  content: ""; width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(0, 123, 224, .65);
}
.trust-row .stars { color: var(--gold); letter-spacing: 1px; }

/* ---- Hero form card ---- */
.lead-card {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-card), 0 0 0 1px rgba(46, 139, 255, .04);
  position: relative;
}
.lead-card-title {
  font-size: 17px; font-weight: 600;
  margin-bottom: 22px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 8px;
}
.field input,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r);
  background: #0a1730;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.field input::placeholder { color: var(--text-muted); }
.field input:focus,
.field select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(46, 139, 255, .18);
  background: #0c1b3a;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237f8aa5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.lead-card .btn { margin-top: 4px; }
.security {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section { padding: 0 0 64px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  position: relative;
}
.stat {
  position: relative;
  padding: 4px 24px;
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.stat-num {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text);
}
.stat-label {
  color: var(--text-3);
  font-size: 14px;
  letter-spacing: 0.01em;
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--text-2); font-size: 17px; }

/* ============================================================
   COMPARISON
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.compare-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.compare-card.bad {
  border-color: var(--red-line);
  background: linear-gradient(180deg, rgba(255,107,107,.04), var(--bg-elev) 40%);
  color: var(--text-2);
}
.compare-card.good {
  border-color: var(--mint-line);
  background: linear-gradient(180deg, var(--mint-soft), var(--bg-elev) 60%);
  box-shadow: 0 22px 50px -28px rgba(0, 123, 224, .42), var(--sh-card);
}
.compare-card h3 {
  font-size: 22px;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
}
.compare-card.bad h3 { color: var(--red); }
.compare-card.good h3 { color: var(--mint); }

.compare-list { list-style: none; margin: 0; padding: 0; }
.compare-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  font-size: 16px;
  border-top: 1px dashed var(--line-soft);
}
.compare-list li:first-child { border-top: 0; padding-top: 0; }
.compare-list li:last-child { padding-bottom: 0; }
.compare-list .ico {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-top: 1px;
}
.compare-list .ico.x  { background: var(--red-soft); color: var(--red); }
.compare-list .ico.ck { background: rgba(0, 123, 224, .22); color: var(--mint); }
.compare-list b { color: var(--text); font-weight: 700; }
.compare-card.good .compare-list li { color: var(--text); }
.compare-card.bad .compare-list li { color: var(--text-2); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px 28px 30px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-card-h); border-color: var(--line-strong); }
.step-num {
  position: absolute;
  top: -22px; left: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  box-shadow: 0 10px 24px -8px var(--blue-glow), 0 1px 0 rgba(255,255,255,.25) inset;
}
.step h3 { margin-bottom: 10px; margin-top: 12px; }
.step p { color: var(--text-2); font-size: 15.5px; }

/* ============================================================
   MARKETS
   ============================================================ */
.markets-map-wrap {
  margin: 0 auto 56px;
  max-width: 920px;
  position: relative;
}
.us-map {
  width: 100%; height: auto;
}
.us-map .state { fill: #15264a; stroke: #0b1424; stroke-width: 1; transition: fill var(--t-fast); }
.us-map .state.funded { fill: #1f3a6e; }
.us-map .state.featured { fill: var(--mint); filter: drop-shadow(0 0 8px rgba(0, 123, 224, .7)); }
.us-map .state.featured:hover { fill: var(--mint-2); }
.map-legend {
  display: flex; gap: 24px; justify-content: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
}
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.funded { background: #1f3a6e; }
.legend-dot.featured { background: var(--mint); box-shadow: 0 0 8px rgba(0, 123, 224, .65); }

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.market-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.market-card:hover {
  transform: translateY(-3px);
  border-color: var(--mint-line);
  box-shadow: var(--sh-card-h);
}
.market-tag {
  color: var(--mint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.market-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.market-desc { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.market-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0 16px;
}
.market-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.market-cities span {
  font-size: 13px;
  color: var(--text-3);
}
.market-cities span + span::before {
  content: " · ";
  margin-right: 4px;
  color: var(--text-muted);
}
.market-link {
  margin-top: 18px;
  font-size: 14px;
  color: var(--blue-2);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  transition: color var(--t-fast);
}
.market-link:hover { color: var(--mint); }
.market-link .arrow { transition: transform var(--t-fast); }
.market-card:hover .market-link .arrow { transform: translateX(3px); }

/* ============================================================
   PLATFORM
   ============================================================ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.platform-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-card-h);
}
.platform-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--mint-soft);
  border: 1px solid var(--mint-line);
  display: grid; place-items: center;
  color: var(--mint-2);
  margin-bottom: 18px;
}
.platform-card h3 { margin-bottom: 8px; font-size: 17px; }
.platform-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.test-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.test-card:hover { transform: translateY(-3px); box-shadow: var(--sh-card-h); border-color: var(--line-strong); }
.test-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.test-quote { color: var(--text); font-size: 16.5px; line-height: 1.55; flex-grow: 1; }
.test-author {
  display: flex; gap: 12px; align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.avatar.a1 { background: linear-gradient(135deg, #1e95f0, #007BE0); }
.avatar.a2 { background: linear-gradient(135deg, #ffb547, #ff6b9c); }
.avatar.a3 { background: linear-gradient(135deg, #8b6bff, #2e8bff); }
.test-meta-name { font-weight: 600; font-size: 14.5px; }
.test-meta-sub  { font-size: 13px; color: var(--text-3); margin-top: 2px; }

.partners {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  text-align: center;
}
.partners-label {
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.partners-row {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.partner-chip {
  padding: 10px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.partner-chip:hover { border-color: var(--mint-line); color: var(--text); }

.reviews-link {
  margin-top: 36px;
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.reviews-link a {
  color: var(--blue-2);
  font-weight: 600;
  font-size: 15px;
}
.reviews-link a:hover { color: var(--blue); }
.review-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--text-2);
}
.review-badge .stars { color: var(--gold); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-elev);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: var(--mint-line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--text-2);
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t);
  flex-shrink: 0;
}
.faq-item[open] .plus {
  background: var(--mint);
  color: #fff;
  border-color: var(--mint);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t);
}
.faq-item[open] .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================================
   FINAL CTA BAND
   ============================================================ */
.final-cta-wrap { padding: 100px 0 120px; }
.final-cta {
  background: linear-gradient(135deg, #2e8bff 0%, #1a6bd6 50%, #0f3f8c 100%);
  border-radius: var(--r-lg);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(46, 139, 255, .55);
}
.final-cta::before, .final-cta::after {
  content: ""; position: absolute; pointer-events: none;
  border-radius: 50%;
}
.final-cta::before {
  inset: -30% auto auto -10%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
}
.final-cta::after {
  inset: auto -10% -40% auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0, 123, 224, .28), transparent 70%);
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { margin-bottom: 16px; color: #fff; }
.final-cta p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 32px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060c18;
  padding: 72px 0 36px;
  color: var(--text-3);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand { color: var(--text-2); max-width: 280px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-col h4 {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-3); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--text); }

.compliance {
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.compliance-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.eho-badge {
  width: 36px; height: 36px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--text-2);
  flex-shrink: 0;
}
.compliance-left .legal { max-width: 600px; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-mobile {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 60;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 18px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 22px 50px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) inset;
  gap: 12px;
}
.sticky-mobile.show { display: flex; }
.sticky-mobile.dismissed { display: none !important; }
.sticky-mobile-phone {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14.5px;
  color: var(--text);
  flex-shrink: 0;
}
.sticky-mobile-phone svg { color: #ff5d8f; }
.sticky-mobile .btn { padding: 12px 16px; font-size: 14px; }
.sticky-mobile-close {
  position: absolute;
  top: -10px; right: -6px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  display: grid; place-items: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero { padding: 48px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 28px 24px; gap: 24px; }
  .stat + .stat::before { display: none; }
  .stat { padding: 4px 0; }
  .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px 24px; }
  .step { padding-top: 28px; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .section { padding: 72px 0; }
  .final-cta-wrap { padding: 64px 0 100px; }
  .final-cta { padding: 56px 28px; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .nav-links, .nav-phone { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { height: 64px; }

  .hero { padding: 36px 0 56px; }
  h1 { font-size: clamp(36px, 9vw, 50px); }
  .hero-sub { font-size: 17px; margin-top: 22px; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn { flex: 1; min-width: 0; }
  .trust-row { margin-top: 28px; gap: 14px 22px; font-size: 13px; }

  .lead-card { padding: 22px; }

  .stats { grid-template-columns: 1fr 1fr; padding: 22px 18px; gap: 18px; }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 13px; }

  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  h2 { font-size: clamp(28px, 7vw, 36px); }

  .compare-card { padding: 24px; }
  .compare-list li { font-size: 15px; padding: 12px 0; }

  .markets-grid { grid-template-columns: 1fr; gap: 16px; }
  .platform-grid { grid-template-columns: 1fr; }
  .market-card h3 { font-size: 24px; }

  .partners { margin-top: 40px; padding-top: 32px; }

  .final-cta-wrap { padding: 48px 0 110px; }
  .final-cta { padding: 44px 22px; }

  .footer { padding-bottom: 110px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
  .compliance { flex-direction: column; align-items: flex-start; gap: 16px; }

  .sticky-mobile.show { display: flex; }

  .faq-q { padding: 18px 18px; font-size: 16px; gap: 16px; }
  .faq-a-inner { padding: 0 18px 20px; font-size: 15.5px; }
}

/* ============================================================
   Mobile menu
   ============================================================ */
#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 22px;
  background: rgba(11, 20, 36, .96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft);
  position: absolute;
  left: 0; right: 0;
  top: 100%;
}
#mobile-menu a {
  padding: 14px 12px;
  border-radius: var(--r);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}
#mobile-menu a:not(.btn):hover { background: rgba(255,255,255,.04); }

/* ============================================================
   Map tile states
   ============================================================ */
.us-map .state.notfunded {
  fill: #10182b;
  stroke: #1a2647;
}
.us-map .state-g:hover .state.funded { fill: #2a4880; }
.us-map .state-g:focus { outline: none; }
.us-map .state-g:focus-visible .state { stroke: var(--blue); stroke-width: 2; }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .step:hover, .market-card:hover, .platform-card:hover,
  .test-card:hover, .compare-card:hover { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
