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

:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #21262d;
  --border: #30363d;
  --fg: #e6edf3;
  --fg-2: #8b949e;
  --fg-3: #6e7681;
  --accent: #f59e0b;
  --accent-dim: #92400e;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --blue: #58a6ff;
  --green: #3fb950;
  --red: #f85149;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--fg-2);
  line-height: 1.4;
}

/* ─── Layout ───────────────────────────────────────────────── */
.hero-inner,
.services-inner,
.outcomes-inner,
.process-inner,
.manifesto-inner,
.closing-inner,
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.hero-lede {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--fg-3);
  background: var(--surface);
}

/* ─── Automation List ────────────────────────────────────── */
.automation-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.automation-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}

.automation-item:last-child {
  border-bottom: none;
}

.auto-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.missed { background: var(--red); box-shadow: 0 0 8px rgba(248, 81, 73, 0.5); }
.booking { background: var(--accent); box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }
.quote { background: var(--blue); box-shadow: 0 0 8px rgba(88, 166, 255, 0.4); }
.followup { background: #a371f7; box-shadow: 0 0 8px rgba(163, 113, 247, 0.4); }
.invoice { background: var(--green); box-shadow: 0 0 8px rgba(63, 185, 80, 0.4); }
.lead { background: #f778ba; box-shadow: 0 0 8px rgba(247, 120, 186, 0.4); }

/* ─── Services ────────────────────────────────────────────── */
.services {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.services-header {
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.2s, background 0.2s;
}

.service-card:hover {
  border-color: var(--accent-dim);
  background: var(--surface-2);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--fg-2);
  line-height: 1.6;
}

/* ─── Outcomes ────────────────────────────────────────────── */
.outcomes {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.outcomes-header {
  margin-bottom: 3.5rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.outcome-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
}

.outcome-number {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.outcome-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.outcome-desc {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--fg-3);
  line-height: 1.5;
}

/* ─── Process ──────────────────────────────────────────────── */
.process {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.process-header {
  margin-bottom: 3.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.step:last-child {
  border-right: none;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: var(--fg);
}

.step p {
  font-size: 0.95rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ─── Manifesto ───────────────────────────────────────────── */
.manifesto {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 3rem;
}

blockquote p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* ─── Closing ─────────────────────────────────────────────── */
.closing {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(245, 158, 11, 0.04) 100%);
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.closing p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.closing-signature {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.sig-brand {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.sig-tag {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--fg-3);
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-3);
  margin-bottom: 2rem;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--fg-3);
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
  }

  .step:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .hero { padding: 4rem 0 3.5rem; }
  .services, .outcomes, .process, .manifesto, .closing { padding: 4rem 0; }

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

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

  .outcome-card {
    padding: 1.5rem 1rem;
  }

  .outcome-number {
    font-size: 2.5rem;
  }

  .closing-signature {
    flex-direction: column;
    gap: 0.25rem;
  }

  .sig-brand {
    font-size: 2rem;
  }
}