/* ═══════════════════════════════════════════════════════════════════════════
   FUNDFORPRO  v6  —  Light Premium · Dark Mode Toggle
   Layout: Centered hero · Inline 3-field form card · Layered sections
   Palette: Off-white base · Deep navy text · Blue-teal primary · Amber CTA
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS — LIGHT (default) ───────────────────────────────────── */
:root {
  /* ── Background Scale ── */
  --bg-base:      #f8f9fb;
  --bg-surface:   #ffffff;
  --bg-raised:    #f1f4f8;
  --bg-hover:     #e8edf4;
  --bg-border:    #dde2ea;
  --bg-line:      #e4e8f0;

  /* ── Primary — Blue-teal ── */
  --primary-600:  #0e7490;
  --primary-500:  #0891b2;
  --primary-400:  #22d3ee;
  --primary-100:  #e0f7fa;
  --primary-glow: rgba(8,145,178,.14);

  /* ── Secondary — Slate blue (supporting accent) ── */
  --secondary-600: #4f46e5;
  --secondary-500: #6366f1;
  --secondary-100: #eef2ff;

  /* ── Amber — CTA / action ── */
  --amber-600: #b45309;
  --amber-500: #d97706;
  --amber-400: #f59e0b;
  --amber-300: #fcd34d;
  --amber-50:  #fffbeb;
  --amber-glow: rgba(245,158,11,.22);

  /* ── Text scale ── */
  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;
  --text-faint:     #94a3b8;

  /* ── Status ── */
  --success:        #059669;
  --success-light:  #d1fae5;
  --danger:         #dc2626;
  --danger-light:   #fee2e2;
  --warning:        var(--amber-400);

  /* ── Typography ── */
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --fw-light:   300;
  --fw-normal:  400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-black:   800;

  /* ── Spacing ── */
  --s1:  0.25rem;  --s2:  0.5rem;   --s3:  0.75rem;
  --s4:  1rem;     --s5:  1.25rem;  --s6:  1.5rem;
  --s7:  1.75rem;  --s8:  2rem;     --s10: 2.5rem;
  --s12: 3rem;     --s16: 4rem;     --s20: 5rem;
  --s24: 6rem;

  /* ── Radii ── */
  --r-sm:  0.375rem;
  --r-md:  0.625rem;
  --r-lg:  1rem;
  --r-xl:  1.375rem;
  --r-2xl: 2rem;
  --r-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm:   0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-card: 0 4px 16px rgba(15,23,42,.08), 0 1px 4px rgba(15,23,42,.04);
  --shadow-form: 0 8px 32px rgba(15,23,42,.10), 0 2px 8px rgba(15,23,42,.06);
  --shadow-lg:   0 16px 48px rgba(15,23,42,.12), 0 4px 16px rgba(15,23,42,.06);
  --glow-primary: 0 0 0 3px rgba(8,145,178,.16);

  /* ── Transitions ── */
  --ease:      200ms ease;
  --ease-slow: 380ms ease;

  /* ── Layout ── */
  --max-w:  1140px;
  --nav-h:  68px;
}

/* ─── DARK MODE OVERRIDES ────────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg-base:      #0b0f19;
  --bg-surface:   #111827;
  --bg-raised:    #1a2236;
  --bg-hover:     #1f2a40;
  --bg-border:    #252f45;
  --bg-line:      #1e2840;

  --primary-600:  #0ea5a0;
  --primary-500:  #0ea5a0;
  --primary-400:  #22d3d0;
  --primary-100:  rgba(14,165,160,.12);
  --primary-glow: rgba(14,165,160,.18);

  --secondary-600: #818cf8;
  --secondary-500: #a5b4fc;
  --secondary-100: rgba(99,102,241,.12);

  --amber-600: #d97706;
  --amber-50:  rgba(245,158,11,.08);

  --text-primary:   #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted:     #8896a9;
  --text-faint:     #4a5568;

  --success:       #10b981;
  --success-light: rgba(16,185,129,.12);
  --danger:        #ef4444;
  --danger-light:  rgba(239,68,68,.12);

  --shadow-sm:   0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
  --shadow-card: 0 4px 24px rgba(0,0,0,.35), 0 1px 4px rgba(0,0,0,.2);
  --shadow-form: 0 8px 40px rgba(0,0,0,.50), 0 2px 8px rgba(0,0,0,.3);
  --shadow-lg:   0 16px 56px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.3);
  --glow-primary: 0 0 0 3px rgba(14,165,160,.22);
}

/* ─── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  transition: background var(--ease-slow), color var(--ease-slow);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ─── LAYOUT UTILITIES ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s6);
}
.section { padding-block: var(--s20); }

/* ─── SECTION LABELS & HEADERS ───────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-600);
  background: var(--primary-100);
  border: 1px solid rgba(8,145,178,.2);
  padding: 0.28rem 0.8rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s5);
}
[data-theme="dark"] .section-label {
  color: var(--primary-400);
  border-color: rgba(14,165,160,.22);
}
.section-label i { font-size: 0.65rem; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: var(--s4);
  max-width: 680px;
}
.section-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.72;
}
.section-header-centered {
  text-align: center;
  margin-bottom: var(--s12);
}
.section-header-centered .section-title,
.section-header-centered .section-body { margin-inline: auto; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font);
  font-weight: var(--fw-semi);
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-align: center;
}
.btn:focus-visible { outline: 2px solid var(--primary-500); outline-offset: 3px; }

/* Sizes */
.btn-sm  { font-size: 0.83rem;  padding: 0.5rem 1.1rem; }
.btn-md  { font-size: 0.925rem; padding: 0.65rem 1.3rem; }
.btn-lg  { font-size: 1rem;     padding: 0.9rem 1.9rem; }
.btn-xl  { font-size: 1.05rem;  padding: 1.1rem 2.4rem; min-height: 52px; }
.btn-full { width: 100%; justify-content: center; }

/* Primary — Amber CTA */
.btn-primary {
  background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-500) 100%);
  color: #1a1200;
  border-color: transparent;
  font-weight: var(--fw-bold);
  box-shadow: 0 2px 10px var(--amber-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--amber-400) 100%);
  box-shadow: 0 4px 20px rgba(245,158,11,.38);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary — Teal outline */
.btn-secondary {
  background: var(--primary-100);
  color: var(--primary-600);
  border-color: rgba(8,145,178,.28);
  font-weight: var(--fw-semi);
}
[data-theme="dark"] .btn-secondary {
  background: rgba(14,165,160,.12);
  color: var(--primary-400);
  border-color: rgba(14,165,160,.3);
}
.btn-secondary:hover {
  background: var(--primary-500);
  color: #fff;
  border-color: var(--primary-500);
  transform: translateY(-1px);
}
[data-theme="dark"] .btn-secondary:hover {
  background: rgba(14,165,160,.22);
  color: var(--primary-400);
  border-color: var(--primary-500);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--bg-border);
}
.btn-ghost:hover {
  background: var(--bg-raised);
  color: var(--text-primary);
}

/* ─── THEME TOGGLE ───────────────────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--bg-border);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--bg-raised);
  color: var(--primary-500);
  border-color: var(--primary-500);
}
[data-theme="dark"] .theme-toggle {
  background: var(--bg-raised);
  border-color: var(--bg-border);
}

/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(248,249,251,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-border);
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease-slow);
}
[data-theme="dark"] .site-header {
  background: rgba(11,15,25,.90);
}
.site-header.scrolled {
  border-color: rgba(8,145,178,.18);
  box-shadow: 0 1px 20px rgba(15,23,42,.08);
}
[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 1px 24px rgba(0,0,0,.45);
}

.nav-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 1.1rem;
  font-weight: var(--fw-semi);
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: #fff;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.logo-text strong { color: var(--primary-500); }
[data-theme="dark"] .logo-text strong { color: var(--primary-400); }

.nav-links {
  display: flex;
  gap: var(--s6);
  align-items: center;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--bg-border);
  border-radius: var(--r-sm);
  font-size: 1rem;
  color: var(--text-muted);
  padding: 0.4rem 0.55rem;
  margin-left: var(--s2);
}
.nav-toggle:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
  padding: var(--s5) var(--s6);
  gap: var(--s1);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.97rem;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  padding: var(--s3) var(--s2);
  border-radius: var(--r-sm);
  transition: background var(--ease), color var(--ease);
}
.mobile-menu a:hover { background: var(--bg-raised); color: var(--text-primary); }
.mobile-menu .mobile-cta {
  margin-top: var(--s3);
  text-align: center;
  justify-content: center;
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + var(--s20));
  padding-bottom: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% -5%, rgba(8,145,178,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(245,158,11,.06) 0%, transparent 55%),
    var(--bg-base);
  position: relative;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(14,165,160,.13) 0%, transparent 62%),
    radial-gradient(ellipse 55% 45% at 10% 80%, rgba(245,158,11,.05) 0%, transparent 55%),
    var(--bg-base);
}

/* Subtle dot grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,23,42,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
}
[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: var(--s20);
}

/* ── Hero headline block ── */
.hero-headline-block {
  text-align: center;
  max-width: 840px;
  margin-inline: auto;
  margin-bottom: var(--s10);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-600);
  background: var(--primary-100);
  border: 1px solid rgba(8,145,178,.22);
  padding: 0.32rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s6);
}
[data-theme="dark"] .hero-badge {
  color: var(--primary-400);
  background: rgba(14,165,160,.1);
  border-color: rgba(14,165,160,.22);
}
.hero-badge i { font-size: 0.55rem; animation: pulse-dot 2s ease-in-out infinite; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

.hero-h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: var(--fw-black);
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--s5);
}
.hero-h1 .accent-primary   { color: var(--primary-500); }
.hero-h1 .accent-secondary { color: var(--amber-500); }
[data-theme="dark"] .hero-h1 .accent-primary   { color: var(--primary-400); }
[data-theme="dark"] .hero-h1 .accent-secondary { color: var(--amber-400); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--s6);
}

/* Trust row */
.hero-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s5);
  margin-bottom: var(--s7);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}
.hero-trust-item i { color: var(--primary-500); font-size: 0.8rem; }
[data-theme="dark"] .hero-trust-item i { color: var(--primary-400); }

/* Qualifier pill */
.hero-qualifier {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.84rem;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-full);
  padding: 0.45rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.hero-qualifier i { color: var(--success); font-size: 0.75rem; }

/* ─── HERO FORM CARD ─────────────────────────────────────────────────────── */
.hero-form-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.hero-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-form);
  overflow: hidden;
  position: relative;
}

/* Accent top strip */
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500) 0%, var(--primary-400) 50%, var(--amber-400) 100%);
}

.form-card-header {
  padding: var(--s5) var(--s8) var(--s4);
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
  background: var(--bg-raised);
}

.form-card-title {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--s1);
}
.form-card-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Step progress */
.form-progress {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.progress-step {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.72rem;
  font-weight: var(--fw-semi);
  color: var(--text-faint);
  white-space: nowrap;
  transition: color var(--ease);
}
.progress-step.active { color: var(--primary-500); }
[data-theme="dark"] .progress-step.active { color: var(--primary-400); }
.progress-step.done   { color: var(--success); }
.progress-dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: var(--bg-hover);
  border: 1.5px solid var(--text-faint);
  flex-shrink: 0;
  transition: all var(--ease);
}
.progress-step.active .progress-dot {
  background: var(--primary-500);
  border-color: var(--primary-500);
  box-shadow: 0 0 6px var(--primary-glow);
}
[data-theme="dark"] .progress-step.active .progress-dot {
  background: var(--primary-400);
  border-color: var(--primary-400);
}
.progress-step.done .progress-dot {
  background: var(--success);
  border-color: var(--success);
}

.form-card-body {
  padding: var(--s6) var(--s8);
}

/* Three-column layout for the three fields */
.form-fields-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.form-field label {
  font-size: 0.8rem;
  font-weight: var(--fw-semi);
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.form-field label .field-hint {
  font-weight: var(--fw-normal);
  font-size: 0.72rem;
  color: var(--text-faint);
}
.form-field select {
  width: 100%;
  padding: 0.8rem 2.2rem 0.8rem 0.9rem;
  background: var(--bg-base);
  border: 1.5px solid var(--bg-border);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.9rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 1.1rem;
  cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
  min-height: 48px; /* thumb-friendly */
}
[data-theme="dark"] .form-field select {
  background-color: var(--bg-raised);
  color: var(--text-secondary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238896a9'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
}
.form-field select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: var(--glow-primary);
}
.form-field select option { background: var(--bg-surface); }
.form-field select.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-light);
}
.form-field select.filled {
  border-color: rgba(5,150,105,.4);
  background-color: rgba(5,150,105,.04);
}
[data-theme="dark"] .form-field select.filled {
  background-color: rgba(16,185,129,.04);
}

/* Form error message */
.form-error-msg {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  font-size: 0.83rem;
  color: var(--danger);
  background: var(--danger-light);
  border: 1px solid rgba(220,38,38,.2);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  margin-top: var(--s4);
  line-height: 1.5;
}
.form-error-msg i { flex-shrink: 0; margin-top: 1px; }

.form-card-footer {
  padding: var(--s4) var(--s8) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  background: var(--bg-raised);
  border-top: 1px solid var(--bg-border);
}

.form-submit-btn {
  font-size: 1rem;
  padding: 1rem;
  border-radius: var(--r-lg);
  min-height: 52px; /* thumb-friendly */
}

.form-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
}

.form-microcopy {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.77rem;
  color: var(--text-faint);
}
.form-microcopy i { color: var(--primary-500); font-size: 0.72rem; }
[data-theme="dark"] .form-microcopy i { color: var(--primary-400); }

.form-signals {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
}
.form-signal-item {
  display: flex;
  align-items: center;
  gap: var(--s1);
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: var(--fw-medium);
}
.form-signal-item i { color: var(--success); font-size: 0.68rem; }

/* ─── PROOF STRIP ────────────────────────────────────────────────────────── */
.proof-strip {
  background: var(--text-primary);
  padding-block: var(--s8);
}
[data-theme="dark"] .proof-strip { background: var(--bg-surface); border-top: 1px solid var(--bg-border); border-bottom: 1px solid var(--bg-border); }

.proof-strip-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.proof-stat {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: var(--s4) var(--s6);
  position: relative;
}
.proof-stat + .proof-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,.12);
}
[data-theme="dark"] .proof-stat + .proof-stat::before { background: var(--bg-border); }

.proof-stat-number {
  font-size: 2rem;
  font-weight: var(--fw-black);
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .proof-stat-number { color: var(--primary-400); }
.proof-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
  margin-top: var(--s1);
  font-weight: var(--fw-medium);
  display: block;
}
[data-theme="dark"] .proof-stat-label { color: var(--text-faint); }

/* ─── TRUST SECTION ──────────────────────────────────────────────────────── */
.trust-section {
  padding-block: var(--s20);
  background: var(--bg-base);
}

.trust-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}

.insight-callout {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-left: 3px solid var(--primary-500);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s6);
  box-shadow: var(--shadow-sm);
}
.insight-callout p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.insight-callout p + p { margin-top: var(--s2); }
.insight-callout .bold-accent {
  color: var(--text-primary);
  font-weight: var(--fw-semi);
}
.insight-callout em {
  font-style: normal;
  color: var(--primary-500);
  font-weight: var(--fw-semi);
}
[data-theme="dark"] .insight-callout em { color: var(--primary-400); }

.eval-block { margin-bottom: var(--s6); }
.eval-block h4 {
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--s3);
}
.eval-block ul {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.eval-block li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.eval-block li i { color: var(--success); font-size: 0.8rem; flex-shrink: 0; }

.trust-quote {
  background: var(--primary-100);
  border: 1px solid rgba(8,145,178,.18);
  border-radius: var(--r-xl);
  padding: var(--s5) var(--s6);
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}
[data-theme="dark"] .trust-quote {
  background: linear-gradient(135deg, var(--bg-raised) 0%, rgba(14,165,160,.06) 100%);
  border-color: rgba(14,165,160,.2);
}
.trust-quote i { color: var(--primary-500); margin-top: 3px; flex-shrink: 0; font-size: 1rem; }
[data-theme="dark"] .trust-quote i { color: var(--primary-500); }
.trust-quote p { font-size: 0.97rem; color: var(--text-secondary); line-height: 1.65; }
.trust-quote strong { color: var(--primary-600); }
[data-theme="dark"] .trust-quote strong { color: var(--primary-400); }

/* Benefit stack */
.benefit-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.benefit-tile {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  box-shadow: var(--shadow-sm);
}
.benefit-tile:hover {
  border-color: rgba(8,145,178,.3);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
[data-theme="dark"] .benefit-tile:hover { border-color: rgba(14,165,160,.3); }
.benefit-tile-icon {
  width: 42px; height: 42px;
  background: var(--primary-100);
  color: var(--primary-600);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(8,145,178,.15);
}
[data-theme="dark"] .benefit-tile-icon {
  background: rgba(14,165,160,.1);
  color: var(--primary-400);
  border-color: rgba(14,165,160,.15);
}
.benefit-tile h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: var(--s1);
}
.benefit-tile p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Compliance row */
.compliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s4);
  margin-top: var(--s4);
  padding: var(--s5) var(--s6);
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.compliance-pill {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}
.compliance-pill i { color: var(--primary-500); font-size: 0.8rem; }
[data-theme="dark"] .compliance-pill i { color: var(--primary-500); }

/* ─── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how-section {
  padding-block: var(--s20);
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(33.33% + 20px);
  right: calc(33.33% + 20px);
  height: 1px;
  background: var(--primary-500);
  opacity: .18;
  pointer-events: none;
}

.step-tile {
  background: var(--bg-base);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-xl);
  padding: var(--s7) var(--s6);
  text-align: center;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.step-tile:hover {
  border-color: rgba(8,145,178,.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .step-tile {
  background: var(--bg-raised);
}
[data-theme="dark"] .step-tile:hover { border-color: rgba(14,165,160,.3); }
.step-tile::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
  transform: scaleX(0);
  transition: transform var(--ease-slow);
}
.step-tile:hover::after { transform: scaleX(1); }

.step-num {
  width: 40px; height: 40px;
  background: var(--primary-100);
  border: 1.5px solid rgba(8,145,178,.25);
  color: var(--primary-600);
  font-size: 0.72rem;
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s4);
}
[data-theme="dark"] .step-num {
  background: rgba(14,165,160,.1);
  border-color: rgba(14,165,160,.25);
  color: var(--primary-400);
}
.step-tile-icon {
  font-size: 1.8rem;
  color: var(--primary-500);
  margin-bottom: var(--s4);
  opacity: .85;
}
.step-tile h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}
.step-tile p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.62;
}

.section-cta-center {
  text-align: center;
  margin-top: var(--s12);
}

/* ─── USE CASES ──────────────────────────────────────────────────────────── */
.use-section {
  padding-block: var(--s20);
  background: var(--bg-base);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}

.use-tile {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: var(--shadow-sm);
}
.use-tile:hover {
  border-color: rgba(8,145,178,.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .use-tile:hover { border-color: rgba(14,165,160,.3); }
.use-tile-icon {
  width: 46px; height: 46px;
  background: var(--primary-100);
  border: 1px solid rgba(8,145,178,.15);
  color: var(--primary-600);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
[data-theme="dark"] .use-tile-icon {
  background: rgba(14,165,160,.1);
  border-color: rgba(14,165,160,.15);
  color: var(--primary-400);
}
.use-tile h3 {
  font-size: 0.96rem;
  color: var(--text-primary);
  margin-bottom: var(--s2);
}
.use-tile p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.58;
}

/* ─── POSITIONING ────────────────────────────────────────────────────────── */
.positioning-section {
  padding-block: var(--s20);
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}

.positioning-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--s16);
  align-items: center;
}

.eval-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin-block: var(--s6);
}
.eval-feature {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}
.eval-feature i {
  color: var(--primary-500);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.eval-feature strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.eval-feature span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.pos-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  font-size: 0.77rem;
  color: var(--text-faint);
  background: var(--bg-raised);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  line-height: 1.55;
}
.pos-disclaimer i { flex-shrink: 0; margin-top: 2px; color: var(--text-faint); }

/* Comparison card */
.compare-card {
  background: var(--bg-base);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-xl);
  padding: var(--s7) var(--s7) var(--s5);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .compare-card { background: var(--bg-raised); }
.compare-card h4 {
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: var(--s5);
}
.compare-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.compare-row:last-of-type { margin-bottom: 0; }
.compare-label {
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  min-width: 120px;
}
.compare-bar-wrap {
  flex: 1;
  background: var(--bg-border);
  border-radius: var(--r-full);
  height: 8px;
  overflow: hidden;
}
[data-theme="dark"] .compare-bar-wrap { background: rgba(255,255,255,.05); }
.compare-bar {
  height: 100%;
  border-radius: var(--r-full);
  transition: width 1s ease;
}
.bar-red    { width: 22%; background: linear-gradient(90deg, #dc2626, #f87171); }
.bar-yellow { width: 52%; background: linear-gradient(90deg, #d97706, #fbbf24); }
.bar-teal   { width: 90%; background: linear-gradient(90deg, var(--primary-600), var(--primary-400)); }
.compare-badge {
  font-size: 0.7rem;
  font-weight: var(--fw-semi);
  padding: 3px 10px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.badge-red    { background: #fee2e2; color: #b91c1c; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-teal   { background: var(--primary-100); color: var(--primary-600); }
[data-theme="dark"] .badge-red    { background: rgba(239,68,68,.15);  color: #fca5a5; }
[data-theme="dark"] .badge-yellow { background: rgba(245,158,11,.15); color: #fde68a; }
[data-theme="dark"] .badge-teal   { background: rgba(14,165,160,.15); color: var(--primary-300,#67e8f9); }
.compare-highlight .compare-label { color: var(--primary-600); font-weight: var(--fw-bold); }
[data-theme="dark"] .compare-highlight .compare-label { color: var(--primary-400); }
.compare-caption {
  font-size: 0.74rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: var(--s5);
  font-style: italic;
}

/* ─── OBJECTIONS ─────────────────────────────────────────────────────────── */
.objections-section {
  padding-block: var(--s20);
  background: var(--bg-base);
}

.objections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}

.objection-tile {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: var(--shadow-sm);
}
.objection-tile:hover {
  border-color: rgba(8,145,178,.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .objection-tile:hover { border-color: rgba(14,165,160,.25); }
.objection-tile-icon {
  font-size: 1.25rem;
  color: var(--primary-500);
  margin-bottom: var(--s3);
}
.objection-tile h3 {
  font-size: 0.96rem;
  color: var(--text-primary);
  margin-bottom: var(--s2);
}
.objection-tile p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.objection-tile strong { color: var(--text-primary); }

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────── */
.testimonials-section {
  padding-block: var(--s20);
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  align-items: start;
}

.testimonial-tile {
  background: var(--bg-base);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .testimonial-tile { background: var(--bg-raised); }
.testimonial-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.testimonial-tile.featured {
  border-color: rgba(8,145,178,.28);
  box-shadow: 0 0 0 1px rgba(8,145,178,.08), var(--shadow-card);
  position: relative;
}
[data-theme="dark"] .testimonial-tile.featured {
  border-color: rgba(14,165,160,.3);
  box-shadow: 0 0 0 1px rgba(14,165,160,.1), var(--shadow-card);
}
.testimonial-tile.featured::before {
  content: 'Most Cited';
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary-500);
  color: #fff;
  font-size: 0.66rem;
  font-weight: var(--fw-bold);
  padding: 2px 12px;
  border-radius: var(--r-full);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.testimonial-stars {
  color: var(--amber-400);
  font-size: 1rem;
  margin-bottom: var(--s3);
  letter-spacing: 2px;
}
.testimonial-tile blockquote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: var(--s4);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--bg-border);
}
.author-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-500));
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.83rem;
  color: var(--text-primary);
  font-weight: var(--fw-semi);
}
.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-section {
  padding-block: var(--s20);
  background: var(--bg-base);
}

.faq-wrap {
  max-width: 780px;
  margin-inline: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s10);
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
  box-shadow: var(--shadow-sm);
}
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-item.open {
  border-color: rgba(8,145,178,.28);
  box-shadow: 0 0 0 1px rgba(8,145,178,.06), var(--shadow-card);
}
[data-theme="dark"] .faq-item.open {
  border-color: rgba(14,165,160,.3);
}

.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  padding: var(--s5) var(--s6);
  background: none;
  border: none;
  text-align: left;
  font-size: 0.94rem;
  font-weight: var(--fw-semi);
  color: var(--text-secondary);
  transition: color var(--ease);
  min-height: 56px; /* thumb-friendly */
}
.faq-btn:hover { color: var(--text-primary); }
.faq-item.open .faq-btn { color: var(--primary-600); }
[data-theme="dark"] .faq-item.open .faq-btn { color: var(--primary-400); }

.faq-chevron {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-faint);
  transition: transform var(--ease), color var(--ease);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary-500); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-slow);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: var(--s4) var(--s6) var(--s5);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.72;
  border-top: 1px solid var(--bg-border);
}

/* ─── FINAL CTA ──────────────────────────────────────────────────────────── */
.final-section {
  padding-block: var(--s24);
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(8,145,178,.07) 0%, transparent 65%),
    var(--bg-surface);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--bg-border);
}
[data-theme="dark"] .final-section {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(14,165,160,.1) 0%, transparent 65%),
    var(--bg-base);
  border-top: none;
}
.final-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,23,42,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
[data-theme="dark"] .final-section::before {
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 60px 60px;
}

.final-inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin-inline: auto;
}

.final-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: var(--s5);
}
[data-theme="dark"] .final-eyebrow { color: var(--primary-400); }

.final-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: var(--fw-black);
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--s4);
  letter-spacing: -0.025em;
}

.final-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--s8);
  line-height: 1.65;
}

.final-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
}

.final-signals {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s5);
}
.final-signal {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: var(--fw-medium);
}
.final-signal i { color: var(--primary-500); font-size: 0.72rem; }
[data-theme="dark"] .final-signal i { color: var(--primary-400); }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-primary);
  padding-top: var(--s10);
}
[data-theme="dark"] .site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s6);
  padding-bottom: var(--s8);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
[data-theme="dark"] .footer-top { border-bottom-color: var(--bg-border); }

.footer-top .logo { color: #fff; }
[data-theme="dark"] .footer-top .logo { color: var(--text-primary); }
.footer-top .logo-icon {
  background: rgba(255,255,255,.12);
  box-shadow: none;
}
[data-theme="dark"] .footer-top .logo-icon {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
}
.footer-top .logo-text strong { color: var(--amber-300); }
[data-theme="dark"] .footer-top .logo-text strong { color: var(--primary-400); }

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,.45);
  margin-top: var(--s1);
}
[data-theme="dark"] .footer-tagline { color: var(--text-faint); }

.footer-links {
  display: flex;
  gap: var(--s6);
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,.5);
  transition: color var(--ease);
}
[data-theme="dark"] .footer-links a { color: var(--text-faint); }
.footer-links a:hover { color: rgba(255,255,255,.9); }
[data-theme="dark"] .footer-links a:hover { color: var(--text-secondary); }

/* ─── FOOTER CONTACT BLOCK ───────────────────────────────────────────────── */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  font-style: normal;
}
.footer-contact-label {
  font-size: 0.72rem;
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--s1);
}
[data-theme="dark"] .footer-contact-label { color: var(--text-faint); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.84rem;
  color: rgba(255,255,255,.5);
  transition: color var(--ease);
  text-decoration: none;
}
[data-theme="dark"] .footer-contact-item { color: var(--text-faint); }
.footer-contact-item:hover { color: rgba(255,255,255,.9); }
[data-theme="dark"] .footer-contact-item:hover { color: var(--text-secondary); }
.footer-contact-item i {
  font-size: 0.75rem;
  color: rgba(255,255,255,.3);
  flex-shrink: 0;
}
[data-theme="dark"] .footer-contact-item i { color: var(--primary-500); }

.footer-disclaimer { padding-block: var(--s6); }
.footer-disclaimer p {
  font-size: 0.75rem;
  color: rgba(255,255,255,.28);
  line-height: 1.72;
  text-align: center;
}
[data-theme="dark"] .footer-disclaimer p { color: var(--text-faint); }
.footer-disclaimer strong { color: rgba(255,255,255,.45); }
[data-theme="dark"] .footer-disclaimer strong { color: var(--text-muted); }

/* ─── SUCCESS MODAL ──────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
}
[data-theme="dark"] .modal-overlay { background: rgba(0,0,0,.72); }
.modal-overlay.active { display: flex; }

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-top: 3px solid var(--success);
  border-radius: var(--r-2xl);
  padding: var(--s10) var(--s8);
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modal-in .3s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(.93) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-icon { font-size: 2.75rem; color: var(--success); margin-bottom: var(--s5); }
.modal-card h3 { font-size: 1.35rem; color: var(--text-primary); margin-bottom: var(--s3); }
.modal-card > p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: var(--s6); line-height: 1.65; }

.modal-steps {
  background: var(--bg-raised);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-lg);
  padding: var(--s5);
  margin-bottom: var(--s6);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.modal-steps li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.modal-steps li .fa-check { color: var(--success); }

/* ─── SCROLL REVEAL ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── TWO-STEP FORM ─────────────────────────────────────────────────────── */
/*
 * .form-step        — visible step panel (display:block)
 * .form-step-hidden — hidden step panel (display:none + aria-hidden)
 * Transition: fade in when step becomes visible
 */
.form-step {
  animation: stepFadeIn .22s ease;
}
.form-step-hidden {
  display: none;
}
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Back button (step 2 → step 1) */
.form-back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
  color: var(--text-faint);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s1) var(--s2);
  border-radius: var(--r-sm);
  transition: color var(--ease);
  margin-top: var(--s1);
  align-self: flex-start;
}
.form-back-btn:hover { color: var(--text-secondary); }
.form-back-btn i { font-size: 0.75rem; }

/* Contact row inside the main form — same 3-col grid as qual row */
.form-contact-row {
  /* inherits .form-fields-row grid — kept for backward compat */
}

/* ── 3-column row: First Name + Phone + Business Name ── */
.form-fields-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s4);
  margin-bottom: var(--s4);
}
/* All fields share the same height automatically via grid alignment */

/* ─── CONSENT CHECKBOX ───────────────────────────────────────────────────── */
/* Inline version — no heavy container box */
.form-consent-inline {
  margin-top: var(--s4);
}
/* Modal version — slightly more breathing room */
.form-consent-modal {
  margin-top: var(--s4);
  margin-bottom: var(--s4);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  cursor: pointer;
  line-height: 1;
}

/* Hide the native checkbox and replace with a custom box */
.consent-checkbox {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px; /* optical alignment with text */
  border: 1.5px solid var(--bg-border);
  border-radius: var(--r-sm);
  background: var(--bg-surface);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
  position: relative;
}
.consent-checkbox:hover {
  border-color: var(--primary-500);
}
.consent-checkbox:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
/* Checked state */
.consent-checkbox:checked {
  background: var(--primary-500);
  border-color: var(--primary-500);
}
/* Checkmark via pseudo-element */
.consent-checkbox:checked::after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
/* Error state */
.consent-checkbox.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-light);
}

[data-theme="dark"] .consent-checkbox {
  background: var(--bg-raised);
  border-color: var(--bg-border);
}
[data-theme="dark"] .consent-checkbox:checked {
  background: var(--primary-500);
  border-color: var(--primary-500);
}

.consent-text {
  font-size: 0.76rem;
  color: var(--text-faint);
  line-height: 1.55;
}

/* ─── FORM ALT PATH ──────────────────────────────────────────────────────── */
.form-alt-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding-top: var(--s1);
}
.form-alt-divider {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.btn-phone-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font);
  font-size: 0.83rem;
  font-weight: var(--fw-semi);
  color: var(--primary-600);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: var(--r-sm);
  transition: color var(--ease), background var(--ease);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}
[data-theme="dark"] .btn-phone-trigger { color: var(--primary-400); }
.btn-phone-trigger:hover {
  color: var(--primary-500);
  text-decoration-color: currentColor;
}
.btn-phone-trigger i { font-size: 0.78rem; }

/* ─── OBJECTIONS DUAL-CTA ROW ────────────────────────────────────────────── */
.objections-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s4);
  margin-top: var(--s12);
}

/* ─── FINAL CTA ROW — primary + ghost phone btn + signals ────────────────── */
.final-phone-btn {
  border-color: var(--bg-border);
  color: var(--text-secondary);
}
[data-theme="dark"] .final-phone-btn { color: var(--text-muted); }
.final-phone-btn:hover {
  background: var(--bg-raised);
  color: var(--text-primary);
  border-color: var(--primary-500);
}

/* ─── PHONE CAPTURE MODAL ────────────────────────────────────────────────── */
.phone-modal-card {
  max-width: 480px;
  text-align: left;
  position: relative;
  padding: var(--s8) var(--s8) var(--s7);
}

/* X dismiss button */
.modal-dismiss {
  position: absolute;
  top: var(--s5);
  right: var(--s5);
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--bg-border);
  background: var(--bg-raised);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  flex-shrink: 0;
}
.modal-dismiss:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

/* Modal header */
.phone-modal-header { margin-bottom: var(--s6); }
.phone-modal-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-100);
  color: var(--primary-600);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: var(--s4);
  border: 1px solid rgba(8,145,178,.18);
}
[data-theme="dark"] .phone-modal-icon {
  background: rgba(14,165,160,.12);
  color: var(--primary-400);
  border-color: rgba(14,165,160,.2);
}
.phone-modal-header h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: var(--s2);
}
.phone-modal-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Phone form fields */
.phone-form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  margin-bottom: var(--s5);
}

/* Text/tel inputs — match existing select styling */
.form-field input[type="tel"],
.form-field input[type="text"] {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--bg-base);
  border: 1.5px solid var(--bg-border);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  min-height: 48px;
  -webkit-appearance: none;
}
[data-theme="dark"] .form-field input[type="tel"],
[data-theme="dark"] .form-field input[type="text"] {
  background: var(--bg-raised);
}
.form-field input[type="tel"]::placeholder,
.form-field input[type="text"]::placeholder {
  color: var(--text-faint);
}
.form-field input[type="tel"]:focus,
.form-field input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: var(--glow-primary);
}
.form-field input[type="tel"].error,
.form-field input[type="text"].error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-light);
}
.form-field input[type="tel"].filled,
.form-field input[type="text"].filled {
  border-color: rgba(5,150,105,.4);
}

/* Required asterisk */
.field-required {
  color: var(--danger);
  font-weight: var(--fw-bold);
  margin-left: 1px;
}

/* Phone submit button */
.phone-submit-btn {
  font-size: 1rem;
  padding: 1rem;
  border-radius: var(--r-lg);
  min-height: 52px;
  margin-bottom: var(--s3);
}

/* Microcopy below button */
.phone-microcopy {
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.5;
  margin-bottom: var(--s4);
}

/* Trust row inside phone modal */
.phone-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--bg-border);
}
.phone-trust-row span {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: var(--fw-medium);
}
.phone-trust-row i { color: var(--success); font-size: 0.7rem; }

/* Phone success state */
.phone-success {
  text-align: center;
  padding: var(--s4) 0 var(--s2);
}
.phone-success-icon {
  font-size: 2.5rem;
  color: var(--success);
  margin-bottom: var(--s4);
}
.phone-success h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}
.phone-success p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--s6);
}

/* ─── MOBILE STICKY CTA ──────────────────────────────────────────────────── */
/*
 * Hidden on desktop. Appears fixed at bottom on mobile (≤768px) once the
 * user scrolls past the hero form. Dismissed automatically when a modal opens
 * (body overflow:hidden) and restored when the modal closes.
 */
.mobile-sticky-cta {
  display: none; /* shown only inside @media ≤768px */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900; /* below modals (2000) but above content */
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
  box-shadow: 0 -4px 20px rgba(15,23,42,.10);
  padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom));
  gap: var(--s3);
  align-items: center;
  justify-content: stretch;
  transition: transform .3s ease, opacity .3s ease;
}
[data-theme="dark"] .mobile-sticky-cta {
  background: var(--bg-raised);
  border-top-color: var(--bg-border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}

/* Shown state — toggled by JS once hero form scrolls out of view */
.mobile-sticky-cta.visible {
  display: flex;
}

/* Hidden (slide down) when body overflow is locked (modal open) */
body.modal-open .mobile-sticky-cta {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-sticky-primary {
  flex: 1;
  justify-content: center;
  min-height: 44px;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
}
.mobile-sticky-phone {
  flex-shrink: 0;
  border-color: var(--bg-border);
  color: var(--text-secondary);
  font-size: 0.83rem;
  padding: 0.65rem 1rem;
  min-height: 44px;
  white-space: nowrap;
}
.mobile-sticky-phone:hover {
  background: var(--bg-raised);
  color: var(--primary-600);
  border-color: var(--primary-500);
}
[data-theme="dark"] .mobile-sticky-phone { color: var(--text-muted); }
[data-theme="dark"] .mobile-sticky-phone:hover { color: var(--primary-400); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .trust-layout       { grid-template-columns: 1fr; gap: var(--s10); }
  .positioning-layout { grid-template-columns: 1fr; gap: var(--s10); }
  .form-fields-row    { grid-template-columns: 1fr; }
  .use-cases-grid     { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 900px) {
  .steps-row          { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .steps-row::before  { display: none; }
  .testimonials-grid  { grid-template-columns: 1fr; }
}

/* Mobile ≤768px */
@media (max-width: 768px) {
  :root { --s20: 3.5rem; --s16: 2.5rem; --s12: 2rem; --s24: 4rem; }

  .nav-links,
  .nav-right .btn-sm { display: none; }
  .nav-toggle        { display: block; }

  /* Keep theme toggle in nav on mobile */
  .nav-right { gap: var(--s2); }

  /* ── Hero vertical stack — form first on mobile ── */
  .hero-inner {
    display: flex;
    flex-direction: column-reverse; /* form floats to top */
    gap: var(--s8);
    padding-top: var(--s4);
    padding-bottom: var(--s12);
  }
  .hero-headline-block {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 0;
    max-width: 100%;
  }
  .hero-form-wrap { max-width: 100%; }

  .hero-h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-sub { font-size: 1rem; }

  .hero-trust-row { gap: var(--s3); }
  .hero-qualifier { font-size: 0.8rem; }

  /* Form: single column, bigger touch targets */
  .form-card-body  { padding: var(--s5); }
  .form-card-header { padding: var(--s5) var(--s5) var(--s4); flex-direction: column; align-items: flex-start; }
  .form-card-footer { padding: var(--s4) var(--s5) var(--s5); }
  .form-fields-row,
  .form-fields-3col { grid-template-columns: 1fr; gap: var(--s4); }
  .form-field select,
  .form-field input[type="tel"],
  .form-field input[type="text"] { min-height: 52px; font-size: 1rem; }
  .form-field select { font-size: 1rem; }
  .form-submit-btn  { min-height: 56px; font-size: 1.05rem; }
  .form-bottom-row  { flex-direction: column; align-items: flex-start; gap: var(--s3); }
  .consent-text     { font-size: 0.8rem; }

  .proof-strip-grid            { justify-content: center; }
  .proof-stat + .proof-stat::before { display: none; }
  .proof-stat                  { min-width: 130px; }

  .objections-grid             { grid-template-columns: 1fr; }
  .use-cases-grid              { grid-template-columns: 1fr; max-width: 100%; }

  .footer-top   { flex-direction: column; text-align: center; align-items: center; }
  .footer-links { justify-content: center; }
  .footer-contact { align-items: center; }

  /* Phone modal full-screen on mobile */
  .phone-modal-card       { padding: var(--s6) var(--s5) var(--s6); max-width: 100%; }
  .objections-cta         { flex-direction: column; gap: var(--s3); }
  .objections-cta .btn    { width: 100%; justify-content: center; }
  .final-phone-btn        { width: 100%; justify-content: center; }

  /* Mobile sticky CTA — enable on mobile */
  .mobile-sticky-cta.visible { display: flex; }

  /* Push page content above the sticky bar height (~74px) when bar is shown */
  body.sticky-cta-visible { padding-bottom: 74px; }
}

/* Small mobile ≤480px */
@media (max-width: 480px) {
  .container        { padding-inline: var(--s4); }
  .hero             { padding-top: calc(var(--nav-h) + var(--s8)); }
  .hero-trust-row   { flex-direction: column; gap: var(--s3); align-items: center; }
  .final-signals    { flex-direction: column; gap: var(--s3); align-items: center; }
  .modal-card       { padding: var(--s8) var(--s5); }
  .phone-modal-card { padding: var(--s7) var(--s4) var(--s5); }
  .positioning-layout { gap: var(--s8); }
  .compare-card     { padding: var(--s5); }
  .form-progress    { flex-wrap: wrap; gap: var(--s2); }
  .section-label    { font-size: 0.65rem; }
  .step-tile        { padding: var(--s6) var(--s5); }
  .btn-xl           { font-size: 1rem; padding: 1rem 1.8rem; width: 100%; justify-content: center; }
  .btn-lg           { min-height: 50px; }
  .phone-trust-row  { gap: var(--s2) var(--s4); }

  /* Proof strip stacks cleanly */
  .proof-stat { min-width: 140px; }
}
