:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #18181f;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-border: rgba(245, 158, 11, 0.25);
  --text: #f0ede6;
  --text-muted: #8a8a9a;
  --text-dim: #4a4a5a;
  --border: #1e1e28;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Instrument Sans', system-ui, sans-serif;
}

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

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-tag {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
}
.nav-spacer { flex: 1; }
.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }
.nav-logo {
  text-decoration: none;
  color: var(--text);
}

/* HERO */
.hero {
  padding: 100px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
}

/* TERMINAL */
.terminal-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.terminal-bar {
  background: var(--surface2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title {
  margin-left: 12px;
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-sans);
}
.terminal-body {
  padding: 20px 22px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 2;
}
.tline { color: var(--text-muted); }
.tdim { color: var(--text-dim); }
.tgold { color: var(--amber); }
.tprompt { color: var(--amber); }
.tcmd { color: var(--text); }
.tmargin { margin-top: 8px; }
.t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--amber);
  vertical-align: middle;
  animation: blink 1.2s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* STATS */
.stats {
  padding: 0 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stat-card {
  background: var(--surface);
  padding: 32px 28px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 52px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* HOW */
.how {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 20px;
}
.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 60px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--amber);
  opacity: 0.35;
  margin-bottom: 16px;
  line-height: 1;
}
.step-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.step-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* AGENTS */
.agents {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.agents-header { margin-bottom: 56px; }
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.agent-card {
  background: var(--surface);
  padding: 36px 32px;
}
.agent-icon { margin-bottom: 20px; }
.agent-name {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
}
.agent-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.agent-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agent-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.agent-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
}

/* MISSION */
.mission {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.mission-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.mission-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 28px;
}
.mission-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-style: italic;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 24px;
}
.mission-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CLOSING */
.closing {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.closing-cta {
  display: inline-block;
  padding: 20px 32px;
  background: var(--amber-dim);
  border: 1px solid var(--amber-border);
  border-radius: 8px;
  text-align: left;
}
.cta-label {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--amber);
  margin-bottom: 4px;
}
.cta-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-muted);
}
.footer-tag {
  font-size: 12px;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 48px;
    gap: 48px;
  }
  .hero-sub { font-size: 16px; }
  .stats { padding: 0 24px 60px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .how { padding: 60px 24px; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .agents { padding: 60px 24px; }
  .agents-grid { grid-template-columns: 1fr; }
  .mission { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
  .nav { padding: 0 24px; }
}