/* ─── CoverageCompass Design System ────────────────── */
/* Navy + Emerald palette for LeadLift brand consistency */

/* ─── Variables ──────────────────────────────────── */
:root {
  --navy: #0A2540;
  --navy-mid: #1a3558;
  --navy-light: #2a4f7a;
  --emerald: #10B981;
  --emerald-dark: #0d9668;
  --emerald-light: #d1fae5;
  --bg: #f8faf8;
  --bg-alt: #f0f4f0;
  --surface: #ffffff;
  --fg: #0f1623;
  --fg-muted: #5a6274;
  --fg-subtle: #9aa0ae;
  --border: #e2e8e4;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(10,37,64,0.06), 0 4px 16px rgba(10,37,64,0.08);
}

/* ─── Reset & Base ───────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }

/* ─── Nav ─────────────────────────────────────────── */
.compass-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,37,64,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compass-nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 16px;
}
.compass-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.05rem;
  color: #ffffff; text-decoration: none;
  letter-spacing: -0.02em;
}
.compass-logo span { color: var(--emerald); }
.compass-nav-tagline {
  font-size: 0.78rem; color: #7a99b8;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 16px;
}
.compass-nav-links {
  margin-left: auto;
  display: flex; gap: 12px; align-items: center;
}
.compass-nav-links a {
  font-size: 0.82rem; color: #7a99b8;
  text-decoration: none;
}
.compass-nav-links a:hover { color: #ffffff; }
.compass-cta {
  padding: 8px 20px;
  background: var(--emerald); color: #fff;
  border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.15s;
}
.compass-cta:hover { background: var(--emerald-dark); }

/* ─── Hero ───────────────────────────────────────── */
.compass-hero {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.compass-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(16,185,129,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(42,79,122,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.compass-hero-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 72px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative;
}
.compass-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--emerald);
  margin-bottom: 20px;
}
.compass-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  animation: cc-pulse 2s ease-in-out infinite;
}
@keyframes cc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}
.compass-hero-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 18px;
}
.compass-hero-sub {
  font-size: 1.05rem; color: #7a99b8;
  max-width: 480px; line-height: 1.7;
  margin-bottom: 36px;
}
.compass-hero-actions {
  display: flex; align-items: center; gap: 20px;
}
.compass-btn-primary {
  padding: 14px 32px;
  background: var(--emerald); color: #fff;
  border: none; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer; text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  display: inline-block;
}
.compass-btn-primary:hover { background: var(--emerald-dark); }
.compass-btn-primary:active { transform: scale(0.98); }
.compass-hero-trust {
  font-size: 0.82rem; color: #5a7494;
}
.compass-hero-trust strong { color: #ffffff; }

.compass-hero-visual {
  position: relative;
}
.compass-hero-img {
  width: 100%; height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  display: block;
}

/* ─── Trust Bar ──────────────────────────────────── */
.compass-trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}
.compass-trust-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 0; justify-content: center;
  flex-wrap: wrap; gap: 32px;
}
.compass-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--fg-muted); font-weight: 500;
}
.compass-trust-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--emerald);
}

/* ─── How It Works ──────────────────────────────── */
.compass-how {
  padding: 80px 24px;
}
.compass-how-inner { max-width: 1100px; margin: 0 auto; }
.compass-section-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--emerald);
  margin-bottom: 12px;
}
.compass-section-headline {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.025em;
  color: var(--fg); margin-bottom: 56px;
}
.compass-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.compass-step {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--border);
  position: relative;
}
.compass-step:first-child { padding-left: 0; }
.compass-step:last-child { border-right: none; }
.compass-step-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.2rem;
}
.compass-step-num {
  font-size: 0.7rem; font-weight: 600; color: var(--emerald);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.compass-step-title {
  font-size: 1rem; font-weight: 700; color: var(--fg);
  margin-bottom: 8px; line-height: 1.3;
}
.compass-step-desc { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.65; }

/* ─── Form Section ──────────────────────────────── */
.compass-form-section {
  padding: 80px 24px;
  background: var(--navy);
}
.compass-form-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 480px;
  gap: 80px; align-items: start;
}
.compass-form-copy .compass-section-headline { color: #ffffff; }
.compass-form-copy .compass-section-headline span { color: var(--emerald); }
.compass-form-desc { font-size: 0.95rem; color: #7a99b8; line-height: 1.7; margin-bottom: 32px; }
.compass-form-checklist { display: flex; flex-direction: column; gap: 14px; }
.compass-check-item { display: flex; gap: 12px; align-items: flex-start; }
.compass-check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16,185,129,0.15); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.compass-check-text { font-size: 0.88rem; color: #b0c4d8; }

.compass-form-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.compass-form-header { margin-bottom: 28px; }
.compass-form-header h2 {
  font-size: 1.4rem; font-weight: 800; color: var(--fg);
  margin-bottom: 6px;
}
.compass-form-header p { font-size: 0.82rem; color: var(--fg-muted); }

/* ─── Form Elements ────────────────────────────── */
.compass-form-grid { display: grid; gap: 16px; }
.compass-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compass-row-2.mobile { grid-template-columns: 1fr; }
@media (min-width: 500px) { .compass-row-2:not(.mobile) { grid-template-columns: 1fr 1fr; } }
.compass-label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--fg); margin-bottom: 5px; letter-spacing: 0.01em;
}
.compass-input, .compass-select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
  background: var(--bg); color: var(--fg);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
.compass-input:focus, .compass-select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}
.compass-input.error, .compass-select.error { border-color: #dc2626; }
.compass-field-error { font-size: 0.76rem; color: #dc2626; margin-top: 4px; display: none; }
.compass-field-error.visible { display: block; }
.compass-select {
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6274' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.compass-tcpa-block {
  background: var(--bg-alt); border-radius: 8px; padding: 14px 16px; margin-top: 4px;
}
.compass-tcpa-row { display: flex; align-items: flex-start; gap: 10px; }
.compass-tcpa-row input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; border-radius: 4px;
  cursor: pointer; accent-color: var(--emerald); margin-top: 1px;
}
.compass-tcpa-label { font-size: 0.78rem; color: var(--fg-muted); line-height: 1.55; }
.compass-tcpa-label strong { color: var(--fg); }
.compass-tcpa-label a { color: var(--emerald); text-decoration: none; }
.compass-tcpa-label a:hover { text-decoration: underline; }
.compass-submit {
  width: 100%; padding: 13px; background: var(--emerald); color: #fff;
  border: none; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer; margin-top: 20px;
  transition: background 0.15s, transform 0.1s;
}
.compass-submit:hover { background: var(--emerald-dark); }
.compass-submit:active { transform: scale(0.99); }
.compass-form-note { text-align: center; font-size: 0.75rem; color: var(--fg-subtle); margin-top: 10px; }

/* ─── Page Footer ───────────────────────────────── */
.compass-page-footer {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 24px;
}
.compass-page-footer-inner {
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.compass-page-footer-logo {
  font-weight: 800; font-size: 0.88rem; color: #7a99b8;
  text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif;
}
.compass-page-footer-links { display: flex; gap: 20px; }
.compass-page-footer-links a { font-size: 0.78rem; color: #5a7494; text-decoration: none; }
.compass-page-footer-links a:hover { color: var(--emerald); }

/* ─── Footer ─────────────────────────────────────── */
.compass-footer { background: #060e1c; padding: 56px 24px; }
.compass-footer-inner { max-width: 1100px; margin: 0 auto; }
.compass-footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem; font-weight: 800; color: #ffffff;
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.compass-footer-logo span { color: var(--emerald); }
.compass-footer-tagline { font-size: 0.82rem; color: #3a5572; margin-bottom: 24px; }
.compass-footer-legal { font-size: 0.72rem; color: #253d54; line-height: 1.65; }
.compass-footer-links { margin-top: 20px; display: flex; gap: 20px; }
.compass-footer-links a { font-size: 0.78rem; color: #3a5572; text-decoration: none; }
.compass-footer-links a:hover { color: var(--emerald); }

/* ─── Thank You ─────────────────────────────────── */
.compass-thankyou {
  min-height: 100vh; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.compass-thankyou-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 56px 48px; max-width: 560px; width: 100%;
  text-align: center; box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.compass-thankyou-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--emerald-light); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.compass-thankyou h1 {
  font-size: 2rem; font-weight: 800; color: var(--fg);
  letter-spacing: -0.025em; margin-bottom: 12px;
}
.compass-thankyou p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.65; }
.compass-thankyou-note {
  background: var(--bg-alt); border-radius: 10px;
  padding: 16px 20px; margin-top: 28px;
  font-size: 0.82rem; color: var(--fg-muted); line-height: 1.6;
}
.compass-thankyou-note strong { color: var(--fg); }

/* ─── Legal ─────────────────────────────────────── */
.compass-legal-page {
  min-height: 100vh; background: var(--bg);
  display: flex; flex-direction: column;
}
.compass-legal-main {
  max-width: 720px; margin: 0 auto;
  padding: 56px 24px 80px; flex: 1;
}
.compass-legal-page h1 {
  font-size: 1.8rem; font-weight: 800; color: var(--fg);
  margin-bottom: 24px; letter-spacing: -0.02em;
}
.compass-legal-page h2 {
  font-size: 1rem; font-weight: 700; color: var(--fg);
  margin: 28px 0 10px;
}
.compass-legal-page p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 14px; }
.compass-legal-page ul { margin: 8px 0 14px 20px; }
.compass-legal-page li { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; margin-bottom: 6px; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .compass-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px; }
  .compass-hero-visual { display: none; }
  .compass-trust-inner { flex-direction: column; gap: 16px; }
  .compass-steps { grid-template-columns: 1fr; }
  .compass-step { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 0; }
  .compass-step:last-child { border-bottom: none; }
  .compass-form-inner { grid-template-columns: 1fr; gap: 40px; }
  .compass-form-section { padding: 48px 20px; }
  .compass-how { padding: 48px 20px; }
  .compass-thankyou-card { padding: 40px 28px; }
}