/* ─── Tokens ─── */
:root {
  --green-deep: #0b2315;
  --green-dark: #0f2e1e;
  --green-mid: #1a3a2a;
  --green-light: #2d5440;
  --amber: #d4a843;
  --amber-dim: #b8922e;
  --cream: #f5f0e6;
  --cream-dark: #e8e0ce;
  --white: #ffffff;
  --text-primary: #f5f0e6;
  --text-muted: rgba(245, 240, 230, 0.55);
  --text-dark: #1a3a2a;
}

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

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

body {
  background: var(--green-deep);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: var(--green-deep); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-dark); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

/* ─── Typography ─── */
h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { font-size: 1rem; line-height: 1.7; }

em { color: var(--amber); font-style: normal; }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(11, 35, 21, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.12);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text-primary); }
.logo-mark { display: flex; align-items: center; }
.logo-text { font-family: 'DM Serif Display', serif; font-size: 1.25rem; letter-spacing: 0.01em; }
.nav-tagline { font-size: 0.8rem; color: var(--text-muted); font-weight: 300; letter-spacing: 0.02em; }
.nav-cta {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-deep);
  background: var(--amber);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--amber-dim); transform: translateY(-1px); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-geo {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.geo-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--amber) 0%, transparent 70%); top: -100px; right: -100px; }
.geo-2 { width: 400px; height: 400px; background: radial-gradient(circle, #1a5c3a 0%, transparent 70%); bottom: 50px; right: 200px; }
.geo-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(212,168,67,0.3) 0%, transparent 70%); top: 30%; left: -80px; }

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 100px;
}
.hero-headline { margin-bottom: 1.5rem; }
.hero-lede { font-size: 1.1rem; color: var(--text-muted); max-width: 480px; line-height: 1.75; }

/* Agent display */
.agent-display {
  background: rgba(15, 46, 30, 0.7);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}
.agent-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.25rem; }
.agent-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.agent-dot.live { background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.agent-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; }

.agent-stages { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.5rem; }
.stage { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: var(--text-muted); padding: 0.5rem 0.75rem; border-radius: 8px; background: rgba(255,255,255,0.03); }
.stage-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stage.done { color: var(--text-primary); background: rgba(212, 168, 67, 0.08); }
.stage.done .stage-icon { color: var(--amber); }
.stage.active { color: var(--amber); background: rgba(212, 168, 67, 0.12); border: 1px solid rgba(212, 168, 67, 0.2); }
.stage.active .stage-icon { color: var(--amber); }
.stage-meta { margin-left: auto; font-size: 0.75rem; opacity: 0.7; }

.agent-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(212, 168, 67, 0.15); }
.agent-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.agent-stat-val { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: var(--amber); }
.agent-stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── Manifesto ─── */
.manifesto {
  padding: 7rem 2rem;
  background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
  position: relative;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.4), transparent);
}
.manifesto-inner { max-width: 1100px; margin: 0 auto; }
.manifesto-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.5rem; }
.manifesto-headline { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; max-width: 900px; margin-bottom: 3rem; }
.manifesto-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.manifesto-col p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1rem; }
.manifesto-emphasis { color: var(--cream) !important; font-weight: 500; }

/* ─── How It Works ─── */
.how-it-works {
  padding: 7rem 2rem;
  background: var(--green-dark);
  position: relative;
}
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.how-headline { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.how-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin-bottom: 4rem; }
.agent-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.agent-step { padding: 1.75rem; background: rgba(26, 58, 42, 0.5); border: 1px solid rgba(212, 168, 67, 0.1); border-radius: 12px; transition: border-color 0.3s; }
.agent-step:hover { border-color: rgba(212, 168, 67, 0.3); }
.step-num { font-family: 'DM Serif Display', serif; font-size: 2.5rem; color: rgba(212,168,67,0.25); margin-bottom: 1rem; line-height: 1; }
.step-body h3 { color: var(--cream); margin-bottom: 0.75rem; font-size: 1.15rem; }
.step-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ─── Outcomes ─── */
.outcomes {
  padding: 7rem 2rem;
  background: linear-gradient(180deg, var(--green-dark) 0%, var(--green-mid) 100%);
  position: relative;
}
.outcomes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.3), transparent);
}
.outcomes-inner { max-width: 1100px; margin: 0 auto; }
.outcomes-header { max-width: 600px; margin-bottom: 4rem; }
.outcomes-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.outcomes-headline { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; }
.outcomes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.outcome { padding: 2rem; background: rgba(11, 35, 21, 0.5); border: 1px solid rgba(212, 168, 67, 0.12); border-radius: 14px; }
.outcome-icon { margin-bottom: 1.25rem; }
.outcome h3 { color: var(--cream); margin-bottom: 0.75rem; font-size: 1.1rem; }
.outcome p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ─── Closing ─── */
.closing {
  padding: 8rem 2rem;
  background: var(--green-mid);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(212,168,67,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.closing-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--amber);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.closing-headline { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1.5rem; }
.closing-body { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto 3.5rem; }
.closing-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 3rem; border-top: 1px solid rgba(212,168,67,0.15); }
.cstat { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.cstat-num { font-family: 'DM Serif Display', serif; font-size: 2.2rem; color: var(--amber); }
.cstat-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }

/* ─── Footer ─── */
.footer { padding: 3rem 2rem; background: var(--green-deep); border-top: 1px solid rgba(212,168,67,0.1); }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: 'DM Serif Display', serif; font-size: 1.1rem; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.footer-copy { font-size: 0.7rem; color: rgba(245,240,230,0.3); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .manifesto-columns { grid-template-columns: 1fr; }
  .agent-steps { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .closing-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-tagline { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 7rem 1.25rem 4rem; }
  .manifesto, .how-it-works, .outcomes, .closing { padding: 5rem 1.25rem; }
}