/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf9f7;
  --bg2: #f0ede8;
  --fg: #111009;
  --fg2: #5c5649;
  --fg3: #8c857a;
  --accent: #c8440a;
  --accent2: #e8762a;
  --navy: #0d1520;
  --navy2: #162233;
  --navy3: #1e3048;
  --white: #ffffff;
  --border: #e2ddd6;
  --cream: #f5f0e8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.1; }

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,247,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg3);
  font-weight: 400;
}
.nav-tagline::before { content: '— '; }

/* === SECTION LABELS === */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label.light { color: rgba(255,255,255,0.45); }

.section-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.12;
  margin-bottom: 48px;
}
.section-headline-light { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 48px; }

/* === HERO === */
.hero {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 96px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  position: relative;
}
.eyebrow-pill {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.eyebrow-sep { color: var(--fg3); font-weight: 300; }
.eyebrow-text { font-size: 13px; color: var(--fg3); }

.hero-headline {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.04;
  color: var(--fg);
  margin-bottom: 28px;
  position: relative;
}
.headline-accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg2);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 48px;
  position: relative;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
  max-width: 700px;
}
.proof-stat {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proof-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.proof-label { font-size: 12px; color: var(--fg3); line-height: 1.4; margin-top: 4px; }
.proof-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* === PROBLEM === */
.problem {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.problem .section-headline { max-width: 680px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}
.problem-card {
  background: var(--white);
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.problem-icon {
  width: 48px;
  height: 48px;
  background: #fef3ee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}
.problem-card p { font-size: 14px; color: var(--fg2); line-height: 1.65; }

/* === SOLUTION === */
.solution {
  background: var(--navy);
  color: var(--white);
  padding: 80px 24px;
}
.solution-top { max-width: 680px; margin-bottom: 56px; }

.solution-blocks { display: flex; flex-direction: column; gap: 2px; }

.sol-block {
  background: var(--navy2);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 1fr 220px;
  overflow: hidden;
  min-height: 280px;
}
.sol-block--primary { background: var(--navy3); border-color: rgba(255,255,255,0.15); }

.sol-block-inner { padding: 36px 32px; }
.sol-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent2);
  margin-bottom: 12px;
}
.sol-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.sol-block p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 20px; }
.sol-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sol-list li { font-size: 13px; color: rgba(255,255,255,0.75); padding-left: 18px; position: relative; }
.sol-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--accent2); border-radius: 50%; }

.sol-visual {
  background: var(--navy);
  border-left: 1px solid rgba(255,255,255,0.06);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sol-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at 30% 50%, var(--accent2), transparent 60%);
}
.sol-visual--voice::after,
.sol-visual--followup::after,
.sol-visual--updates::after {
  content: '';
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(200,68,10,0.15);
  border: 1px solid rgba(200,68,10,0.25);
}

/* === HOW === */
.how {
  background: var(--cream);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.how .section-headline { max-width: 600px; }
.how-steps {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 56px;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 2px;
}
.step-week {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--fg2); line-height: 1.6; }
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  color: var(--fg3);
}

.pricing-box {
  background: var(--fg);
  color: var(--white);
  padding: 40px 36px;
  border-radius: 2px;
  display: inline-block;
}
.pricing-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}
.pricing-amount {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}
.pricing-period { font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.5); }
.pricing-note { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; max-width: 480px; }

/* === TESTIMONIALS === */
.testimonials {
  background: var(--navy);
  padding: 80px 24px;
}
.testimonials .section-headline-light { max-width: 700px; }
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}
.test-card {
  background: var(--navy2);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 32px 28px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.test-quote {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-style: italic;
}
.test-attr { display: flex; align-items: center; gap: 14px; }
.test-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a3048;
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.test-name { font-size: 14px; font-weight: 600; color: var(--white); }
.test-role { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* === CLOSING === */
.closing {
  background: var(--accent);
  padding: 96px 24px;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-body { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 20px; }
.closing-cta {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.cta-text { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); }

/* === FOOTER === */
.footer {
  background: var(--fg);
  color: var(--white);
  padding: 40px 24px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); margin-left: 10px; }
.footer-brand { display: flex; align-items: center; gap: 6px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); width: 100%; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-proof { flex-direction: column; }
  .proof-divider { width: 100%; height: 1px; }
  .how-steps { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .sol-block { grid-template-columns: 1fr; }
  .sol-visual { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* === ONBOARDING CHECKLIST === */
.onboarding-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.onboarding-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg3);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.15s;
}
.onboarding-back:hover { color: var(--fg); }
.onboarding-back svg { width: 16px; height: 16px; }

.onboarding-header { margin-bottom: 32px; }

.onboarding-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.onboarding-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.onboarding-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 10px;
}

.onboarding-subtitle {
  font-size: 15px;
  color: var(--fg2);
  line-height: 1.6;
}

.progress-label {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 32px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.checklist {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  margin-bottom: 24px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.checklist-item:last-child { border-bottom: none; }
.checklist-item:hover { background: var(--cream); }

.checklist-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--fg3);
  transition: background 0.2s, color 0.2s;
}

.checklist-icon svg { width: 22px; height: 22px; }

.checklist-item--done .checklist-icon {
  background: #f0fdf4;
  color: #16a34a;
}

.checklist-content { flex: 1; }

.checklist-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}

.checklist-item-desc {
  font-size: 13px;
  color: var(--fg3);
}

.checklist-item--done .checklist-item-title { color: var(--fg3); }
.checklist-item--done .checklist-item-desc { color: var(--fg3); opacity: 0.7; }

.checklist-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s;
}

.checklist-item--done .checklist-indicator {
  background: #16a34a;
  border-color: #16a34a;
  color: white;
}

.checklist-item--done .checklist-indicator svg { width: 12px; height: 12px; }

/* Hidden step sections */
.step-section {
  display: none;
  margin-bottom: 24px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: var(--white);
}

.step-section.visible { display: block; }

.step-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}

.step-section .form-group { margin-bottom: 16px; }
.step-section .form-group:last-of-type { margin-bottom: 0; }

.step-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 500px) {
  .step-section .form-row { grid-template-columns: 1fr; }
}

/* Form elements (shared with intake page) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

.form-input,
.form-select {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 68, 10, 0.1);
}

.form-select {
  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='%235c5649' 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: 40px;
  cursor: pointer;
}

.form-submit {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 15px 28px;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(200, 68, 10, 0.3);
  width: 100%;
}

.form-submit:hover {
  background: #b33c08;
  box-shadow: 0 4px 16px rgba(200, 68, 10, 0.35);
}

.form-submit:active { transform: scale(0.98); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.finish-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.finish-note {
  font-size: 13px;
  color: var(--fg3);
  text-align: center;
}

@media (max-width: 480px) {
  .hero { padding: 48px 20px 64px; }
  .problem, .solution, .how, .testimonials, .closing { padding: 56px 20px; }
  .pricing-box { padding: 28px 24px; }
  .pricing-amount { font-size: 32px; }
}