:root {
  --bg: #0A0F1C;
  --surface: #111827;
  --surface-2: #1F2937;
  --fg: #F9FAFB;
  --fg-muted: #9CA3AF;
  --accent: #E8A838;
  --accent-dim: #C97D18;
  --ok: #34D399;
  --flag: #F87171;
  --check: #60A5FA;
}

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

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

/* Nav */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.1);
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 440px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid rgba(232,168,56,0.3);
  border-radius: 20px;
  color: var(--accent);
  background: rgba(232,168,56,0.06);
}

/* Agent panel */
.agent-panel {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.panel-header {
  padding: 14px 18px;
  background: var(--surface-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ok);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}
.status-dot.active {
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.panel-time {
  font-size: 12px;
  color: var(--fg-muted);
}
.panel-feed {
  padding: 4px 0;
}
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.feed-item:last-child { border-bottom: none; }
.feed-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.feed-icon.ok { background: rgba(52,211,153,0.15); color: var(--ok); }
.feed-icon.flag { background: rgba(248,113,113,0.15); color: var(--flag); }
.feed-icon.check { background: rgba(96,165,250,0.15); color: var(--check); }
.feed-content { flex: 1; min-width: 0; }
.feed-title { font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 2px; }
.feed-meta { font-size: 12px; color: var(--fg-muted); }
.feed-time { font-size: 11px; color: rgba(156,163,175,0.5); flex-shrink: 0; margin-top: 2px; }
.panel-footer {
  padding: 10px 18px;
  background: rgba(255,255,255,0.03);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-muted);
}
.panel-total { color: var(--accent); font-weight: 600; }

/* Workflow */
.workflow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.workflow-header {
  margin-bottom: 56px;
}
.workflow-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.workflow-header p {
  color: var(--fg-muted);
  font-size: 16px;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  border-right: none;
  position: relative;
}
.step:last-child { border-right: 1px solid rgba(255,255,255,0.06); }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 700;
  color: rgba(232,168,56,0.2);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Features */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}
.feature-card {
  background: var(--surface);
  padding: 32px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,168,56,0.1);
  border: 1px solid rgba(232,168,56,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Manifesto */
.manifesto {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.manifesto-inner {
  max-width: 720px;
}
.manifesto blockquote {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  line-height: 1.4;
  margin-bottom: 28px;
}
.manifesto p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.manifesto p:last-child { margin-bottom: 0; }

/* Closing */
.closing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.closing-inner { }
.closing-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.closing h2 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  max-width: 560px;
}
.closing > div > p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}
.closing-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  max-width: 560px;
}
.stat {
  padding: 24px;
  background: var(--surface);
  border-right: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
}
.closing-note {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(156,163,175,0.6);
  max-width: 560px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
  display: block;
}
.footer-desc {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 40px;
    gap: 40px;
  }
  .hero-headline { font-size: 36px; }
  .workflow { padding: 48px 24px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .step { border-right: 1px solid rgba(255,255,255,0.06); border-bottom: none; }
  .step:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .features { padding: 0 24px 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 48px 24px; }
  .manifesto blockquote { font-size: 22px; }
  .closing { padding: 48px 24px; }
  .closing h2 { font-size: 26px; }
  .closing-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.06); }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}