/* ====================================
   AUTOREACH — Custom Landing Page
   ==================================== */

/* --- Variables --- */
:root {
  --bg: #F8F5F0;
  --bg-alt: #EFEBE5;
  --fg: #1A1A1A;
  --fg-muted: #6B6560;
  --accent: #1A3D2B;
  --accent-mid: #2A5E3F;
  --accent-light: #D4EAE0;
  --orange: #E8721A;
  --orange-light: #FDF0E6;
  --card-bg: #FFFFFF;
  --border: #E2DDD6;
}

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

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.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* --- Nav --- */
.site-nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--fg);
}
.logo-mark {
  font-size: 1rem;
  color: var(--orange);
  line-height: 1;
}
.logo-name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Hero --- */
.hero {
  background: var(--accent);
  color: #fff;
  padding: 5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.hero-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 440px;
}

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.4rem;
}
.card-event {
  font-family: 'DM Sans', monospace;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}
.card-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.75rem 0;
}
.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}
.card-status {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-status.sent { color: #A8D8B0; }
.card-status.replied { color: #F5D080; }
.card-status.booked { color: #7EE0C8; }
.card-time {
  font-family: 'DM Sans', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.card-msg {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  font-style: italic;
}

/* --- Stats --- */
.stats {
  background: var(--fg);
  color: #fff;
  padding: 3rem 2rem;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  flex: 1;
  padding: 0 2rem;
  text-align: center;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.12);
}

/* --- Section shared --- */
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.section-eyebrow.light { color: rgba(255,255,255,0.5); }
.section-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 3rem;
  max-width: 600px;
}

/* --- How it works --- */
.how-it-works {
  background: var(--bg);
  padding: 5rem 2rem;
}
.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
}
.hiw-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  padding-top: 0.1rem;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* --- Outcomes --- */
.outcomes {
  background: var(--bg-alt);
  padding: 5rem 2rem;
}
.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.outcome-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.outcome-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.outcome-icon {
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 1rem;
  line-height: 1;
}
.outcome-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.outcome-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* --- Tools --- */
.tools {
  background: var(--accent);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}
.tools-inner { max-width: 800px; margin: 0 auto; }
.tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.tool-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.45rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.tools-note {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- Pricing --- */
.pricing {
  background: var(--bg);
  padding: 5rem 2rem;
}
.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}
.pc-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
}
.pc-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.pc-price {
  font-family: 'Fraunces', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
  line-height: 1;
}
.pc-period {
  font-size: 1.1rem;
  color: var(--fg-muted);
}
.pc-desc {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.pc-note {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}
.pricing-math {
  background: var(--accent-light);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  text-align: center;
}
.math-headline {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.math-sub {
  font-size: 0.88rem;
  color: var(--accent-mid);
}

/* --- Closing --- */
.closing {
  background: var(--fg);
  color: #fff;
  padding: 5rem 2rem;
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.closing-content { max-width: 640px; }
.closing-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand { margin-bottom: 2rem; }
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.4rem;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats-inner {
    flex-direction: column;
    gap: 2rem;
  }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .hiw-steps { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-tagline { display: none; }
  .hero { padding: 3rem 1.5rem; }
  .how-it-works, .outcomes, .pricing, .closing { padding: 3.5rem 1.5rem; }
  .tools { padding: 3rem 1.5rem; }
}