/* ─── Variables ─── */
:root {
  --bg: #faf8f4;
  --bg-alt: #f2ede5;
  --fg: #1a1a1a;
  --fg-muted: #6b5f54;
  --green: #1e3d2f;
  --green-mid: #2d5a42;
  --green-light: #3d7a5a;
  --accent: #b85c38;
  --cream: #faf8f4;
  --border: #d9cfc4;
  --spicy: #c44e2e;
  --cash: #4a6741;
  --tender: #7a5c8a;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.01em;
}

.nav-beta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-alt);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
}

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 2.5rem 4rem;
  min-height: 88vh;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--green);
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  max-width: 380px;
}

.card-q-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.card-q-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--green);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.card-answers {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.card-answer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-answer-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  min-width: 4rem;
}

.card-answer-dots {
  font-size: 0.9rem;
  color: var(--green-mid);
  letter-spacing: 0.05em;
}

.card-reveal-hint {
  font-size: 0.72rem;
  color: var(--fg-muted);
  font-style: italic;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.phone-mockup {
  width: 200px;
  background: var(--green);
  border-radius: 2rem;
  padding: 3px;
  box-shadow: 0 20px 60px rgba(30,61,47,0.3);
}

.phone-screen {
  background: var(--bg);
  border-radius: 1.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone-header {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
}

.phone-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.4;
}

.phone-slider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-slider-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

.phone-slider-track {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
}

.phone-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--green-mid);
  border-radius: 2px;
}

.phone-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.phone-btn {
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  padding: 0.6rem;
  border-radius: 0.75rem;
  text-align: center;
  font-weight: 500;
}

.phone-waiting {
  font-size: 0.68rem;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Mechanic ─── */
.mechanic {
  padding: 5rem 2.5rem;
  background: var(--green);
  color: var(--cream);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 3rem;
}

.mech-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
}

.mech-step {}

.mech-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 500;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.mech-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.mech-step p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.7;
}

/* ─── Questions ─── */
.questions {
  padding: 6rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.q-header {
  margin-bottom: 3rem;
}

.q-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: -0.02em;
}

.q-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.q-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
}

.q-type {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.q-spicy .q-type { background: #fdf0ec; color: var(--spicy); }
.q-cash .q-type { background: #f0f4ed; color: var(--cash); }
.q-tender .q-type { background: #f3eff8; color: var(--tender); }

.q-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.4;
}

.q-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.q-total {
  font-weight: 500;
  color: var(--green);
}

/* ─── LDR ─── */
.ldr {
  padding: 6rem 2.5rem;
  background: var(--bg-alt);
}

.ldr-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ldr-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 2rem;
  width: fit-content;
}

.ldr-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--green);
  line-height: 1.4;
}

.demo-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.demo-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.demo-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.demo-answers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.demo-label-small {
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.demo-opt {
  padding: 0.4rem 0.85rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.demo-opt.selected {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.demo-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.demo-mismatch {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 600;
}

.demo-result-text {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ─── Closing ─── */
.closing {
  padding: 5rem 2.5rem;
  text-align: center;
}

.closing-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--fg-muted);
  line-height: 1.5;
  font-style: italic;
}

/* ─── Footer ─── */
.footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 160px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .mech-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .mechanic {
    padding: 4rem 1.5rem;
  }

  .q-grid {
    grid-template-columns: 1fr;
  }

  .questions {
    padding: 4rem 1.5rem;
  }

  .ldr {
    padding: 4rem 1.5rem;
  }

  .nav {
    padding: 1rem 1.5rem;
  }
}