:root {
  --bg: #FDF6EC;
  --surface: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-muted: #9A9A9A;
  --green-deep: #1B4332;
  --green-mid: #2D6A4F;
  --green-light: #40916C;
  --amber: #D97706;
  --amber-light: #F59E0B;
  --cream: #FDF6EC;
  --border: #E8D9C5;
  --shadow: rgba(27, 67, 50, 0.08);
}

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: -0.3px;
}
.tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Section utilities */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
}

/* Hero */
.hero {
  background: var(--cream);
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* Agent cards */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px var(--shadow);
}
.agent-card.secondary { opacity: 0.85; }
.agent-status-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
}
.agent-status-dot.amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1); }
}
.agent-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.agent-task {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 12px 0;
  line-height: 1.5;
}
.agent-progress { display: flex; align-items: center; gap: 12px; }
.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--green-light);
  border-radius: 2px;
}
.progress-pct {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* The Gap */
.thegap { padding: 100px 0; }
.thegap-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.gap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.gap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}
.gap-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  margin-bottom: 20px;
}
.gap-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.gap-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* The Stack */
.thestack {
  background: var(--green-deep);
  padding: 100px 0;
}
.thestack-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.thestack .section-label { color: var(--amber-light); }
.thestack .section-headline { color: #FFFFFF; }
.thestack .section-sub { color: rgba(255,255,255,0.6); margin-top: 16px; margin-bottom: 56px; }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stack-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px 24px;
}
.stack-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 16px;
}
.stack-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.stack-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 16px;
}
.stack-features {
  list-style: none;
  padding: 0;
}
.stack-features li {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 6px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.stack-features li::before {
  content: "— ";
  color: var(--amber-light);
}

/* Who It's For */
.whoforit { padding: 100px 0; background: var(--cream); }
.whoforit-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.who-item {
  padding: 40px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.who-item:nth-child(2n) { border-right: none; }
.who-item:nth-child(3), .who-item:nth-child(4) { border-bottom: none; }
.who-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--green-deep);
  display: block;
  margin-bottom: 12px;
}
.who-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Manifesto */
.manifesto {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 900px; margin: 0 auto; padding: 0 32px; text-align: center; }
.manifesto-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--green-deep);
  line-height: 1.5;
  margin-bottom: 24px;
}
.manifesto-attribution {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}
.manifesto-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* Closing */
.closing { padding: 100px 0; background: var(--cream); }
.closing-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.closing-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: var(--green-deep);
  padding: 48px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand .wordmark {
  color: #FFFFFF;
  font-size: 22px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}
.footer-links span {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .gap-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .who-item { border-right: none; }
  .who-item:nth-child(3) { border-bottom: 1px solid var(--border); }
  .who-item:nth-child(4) { border-bottom: none; }
  .hero { padding: 60px 0 80px; }
  .thegap, .thestack, .whoforit, .manifesto, .closing { padding: 70px 0; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .header-inner { padding: 14px 20px; }
  .hero-inner, .thegap-inner, .thestack-inner, .whoforit-inner, .manifesto-inner, .closing-inner { padding: 0 20px; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 28px; }
}