:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #0C1B2D;
  --ink-muted: #5C6F7E;
  --accent: #00D4A4;
  --accent-dark: #00A87E;
  --border: #E4EAEF;
  --radius: 12px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* SECTION SHARED */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-body {
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 48px;
}

/* HERO */
.hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* PIPELINE CARD (hero visual) */
.pipeline-card {
  background: var(--ink);
  border-radius: 16px;
  padding: 28px;
  color: white;
}
.pipeline-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.pipeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5E5B;
  box-shadow: 0 0 0 3px rgba(255, 94, 91, 0.25);
}
.pipeline-dot.active { background: var(--accent); box-shadow: 0 0 0 3px rgba(0, 212, 164, 0.25); }
.pipeline-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.pipeline-stage {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pipeline-stage:last-of-type { border-bottom: none; }
.stage-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 212, 164, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}
.stage-name {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.pipeline-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 16px;
}
.pipeline-fill {
  height: 100%;
  width: 20%;
  background: var(--accent);
  border-radius: 2px;
}

/* PIPELINE SECTION */
.pipeline-section {
  padding: 96px 0;
  background: white;
  border-bottom: 1px solid var(--border);
}
.phase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.phase-card {
  background: var(--bg);
  padding: 28px 24px;
}
.phase-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.phase-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.phase-card p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* NICHES SECTION */
.niches-section {
  padding: 96px 0;
  background: var(--bg);
}
.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.niche-item {
  background: white;
  padding: 32px 28px;
}
.niche-icon {
  color: var(--accent);
  margin-bottom: 16px;
}
.niche-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.niche-item p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* PROCESS SECTION */
.process-section {
  padding: 96px 0;
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.stack-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stack-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.stack-item:last-child { border-bottom: none; }
.stack-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 90px;
}
.stack-role {
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.metrics-block {
  border-left: 1px solid var(--border);
  padding-left: 64px;
}
.metric-list {
  display: flex;
  flex-direction: column;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.metric-row:last-child { border-bottom: none; }
.metric-label {
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.metric-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

/* CLOSING */
.closing-section {
  padding: 96px 0;
  background: var(--ink);
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  line-height: 1.05;
}
.closing-body {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
}

/* FOOTER */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .niche-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .metrics-block { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 40px; margin-top: 8px; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 600px) {
  .phase-grid { grid-template-columns: 1fr; }
  .niche-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero { padding: 48px 0 40px; }
  .pipeline-section, .niches-section, .process-section, .closing-section { padding: 64px 0; }
}