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

:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --fg: #1A1A18;
  --fg-muted: #6B6B63;
  --accent: #0D3D3D;
  --accent-light: #E8F0F0;
  --amber: #E8920D;
  --amber-light: #FDF3E3;
  --border: #E2DFD8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0 40px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* === Hero === */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 480px;
}

/* Production monitor widget */
.hero-prod {
  background: var(--accent);
  border-radius: 16px;
  padding: 24px;
  color: white;
}

.prod-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.prod-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.prod-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-ok { background: rgba(255,255,255,0.15); color: #7ED8A6; }

.prod-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.prod-metric {
  background: rgba(255,255,255,0.06);
  padding: 14px 12px;
  text-align: center;
}

.metric-val {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}

.metric-key {
  display: block;
  font-size: 10px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prod-bar-wrap { margin-top: 4px; }

.prod-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.6;
  margin-bottom: 6px;
}

.prod-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}

.prod-bar-fill {
  height: 100%;
  background: #7ED8A6;
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Manifesto right */
.hero-right { display: flex; align-items: center; }

.manifesto { }

.manifesto-quote {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
  color: var(--fg);
  border-left: 4px solid var(--amber);
  padding-left: 28px;
  margin-bottom: 24px;
}

.manifesto-sub {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  padding-left: 28px;
  margin-bottom: 28px;
}

.manifesto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 28px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  background: var(--accent-light);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === How It Works === */
.howitworks {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
}

.howitworks-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}

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

.step { position: relative; }

.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === Features === */
.features {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature {
  background: var(--surface);
  padding: 40px 36px;
  transition: background 0.2s;
}

.feature:hover { background: var(--accent-light); }

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === Stats === */
.stats-section {
  background: var(--accent);
  padding: 100px 40px;
}

.stats-inner { max-width: 1200px; margin: 0 auto; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.stat { }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.stats-context {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 640px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
}

/* === Closing === */
.closing {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 20px;
}

.closing-vision {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 300px;
  line-height: 1.6;
}

.footer-meta {
  display: flex;
  gap: 16px;
}

.footer-meta span {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero { padding: 48px 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .manifesto-quote { font-size: 18px; }
  .hero-prod { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-num { font-size: 48px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .nav { padding: 0 24px; }
  .features, .howitworks { padding: 64px 24px; }
  .closing { padding: 64px 24px; }
  .stats-section { padding: 64px 24px; }
  .manifesto-tags { padding-left: 0; }
}

@media (max-width: 480px) {
  .howitworks-inner h2.section-heading { font-size: 26px; }
  .stats-grid { gap: 32px; }
}