/* === TOKENS === */
:root {
  --bg: #F7F6F3;
  --bg-alt: #EFEFEA;
  --fg: #111111;
  --fg-muted: #6B6B6B;
  --accent: #00C97A;
  --accent-dark: #009A60;
  --border: #DDDBD4;
  --header-h: 64px;
  --max-w: 1100px;
}

/* === RESET === */
*, *::before, *::after { 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, h5, h6 { font-family: 'Space Grotesk', system-ui, sans-serif; line-height: 1.1; }
a { color: inherit; text-decoration: none; }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 10;
  height: var(--header-h);
  background: rgba(247, 246, 243, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  height: 100%; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.site-header nav a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  max-width: var(--max-w); margin: 0 auto;
  padding: 5rem 2rem 3rem;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-eyebrow {
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 16ch;
}
.hero-lede {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 56ch;
  line-height: 1.65;
}

/* === STATS === */
.stats-row {
  background: var(--fg);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 3rem 2rem;
}
.stat { text-align: center; padding: 0 3rem; }
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.55); margin-top: 0.25rem; }
.stat-divider { width: 1px; height: 4rem; background: rgba(255,255,255,0.12); flex-shrink: 0; }

/* === SECTION EYEBROW === */
.section-eyebrow {
  display: block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

/* === WORKFLOW === */
.workflow {
  max-width: var(--max-w); margin: 0 auto;
  padding: 5rem 2rem;
}
.workflow-header { margin-bottom: 3.5rem; }
.workflow-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em; }
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.workflow-step {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.workflow-step h3 {
  font-size: 1.0625rem; font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.workflow-step p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }

/* === EDGE === */
.edge { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.edge-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 5rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.edge-text h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.edge-body { font-size: 1rem; color: var(--fg-muted); margin-bottom: 1.25rem; line-height: 1.7; }

/* Comparison visual */
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.comp-col { padding: 1.75rem 1.5rem; }
.comp-old { background: #f0eeea; }
.comp-new { background: #e6f7ef; }
.comp-label { font-family: 'Space Grotesk', sans-serif; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 1.25rem; }
.comp-item { font-size: 0.875rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); color: var(--fg-muted); }
.comp-item:last-child { border-bottom: none; }
.comp-item.done { font-weight: 600; color: var(--fg); padding-top: 0.75rem; }
.comp-old .comp-item.done { background: none; }

/* === PRICING === */
.pricing {
  max-width: var(--max-w); margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.pricing h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 3rem; }
.pricing-card { display: flex; justify-content: center; }
.pricing-tier {
  background: var(--fg); color: #fff;
  border-radius: 20px; padding: 2.5rem 3rem;
  text-align: left; min-width: 340px; max-width: 400px;
}
.tier-name { font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; }
.tier-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.5rem; }
.price-num { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; }
.price-period { font-size: 1rem; color: rgba(255,255,255,0.5); }
.tier-desc { font-size: 0.9375rem; color: rgba(255,255,255,0.6); margin-bottom: 2rem; line-height: 1.6; }
.tier-features { list-style: none; }
.tier-features li {
  font-size: 0.9375rem; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  padding-left: 1.5rem; position: relative;
}
.tier-features li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tier-features li:last-child { border-bottom: none; }
.pricing-note { font-size: 0.8125rem; color: var(--fg-muted); margin-top: 1.5rem; }

/* === CLOSING === */
.closing {
  max-width: 700px; margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.closing-statement {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--fg);
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.footer-copy { font-size: 0.8125rem; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .stats-row { flex-direction: column; gap: 2rem; }
  .stat-divider { width: 80px; height: 1px; }
  .stat { padding: 0; }
  .workflow-steps { grid-template-columns: 1fr 1fr; }
  .edge-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-header nav { gap: 1.25rem; }
  .pricing-tier { min-width: unset; width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero { padding: 3.5rem 1.25rem 2rem; }
  .workflow-steps { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr; }
}