:root {
  --bg: #0D0D0F;
  --surface: #111115;
  --surface-2: #18181D;
  --fg: #F5F5F7;
  --fg-dim: #A1A1AA;
  --accent: #F59E0B;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --green: #22C55E;
  --amber: #F59E0B;
  --slate: #52525B;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 8px;
}

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

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

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(13,13,15,0.9);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--fg);
}
.nav-logo .accent { color: var(--accent); }
.nav-status {
  font-size: 12px;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-headline .accent { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 48px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--fg);
}
.stat-label {
  font-size: 12px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* AGENT PANEL */
.agent-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.agent-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.panel-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.panel-live {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(34,197,94,0.12);
  padding: 3px 8px;
  border-radius: 4px;
}
.agent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.agent-row:last-child { border-bottom: none; }
.agent-name {
  font-size: 13px;
  color: var(--fg-dim);
}
.agent-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.agent-status.green { color: var(--green); background: rgba(34,197,94,0.12); }
.agent-status.amber { color: var(--amber); background: rgba(245,158,11,0.12); }
.agent-status.slate { color: var(--slate); background: rgba(82,82,91,0.2); }

/* AGENTS SECTION */
.agents {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.agent-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.agent-card {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-icon {
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
}
.agent-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
}
.agent-card p {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.6;
  flex: 1;
}

/* HOW IT WORKS */
.howitworks {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}
.workflow {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.step p {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.65;
}
.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
}

/* MANIFESTO */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 40px;
}
.manifesto-inner { max-width: 860px; margin: 0 auto; }
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--fg);
  font-style: normal;
  letter-spacing: -0.01em;
}
.manifesto-attribution {
  margin-top: 20px;
  font-size: 13px;
  color: var(--fg-dim);
}

/* CLOSING */
.closing { padding: 100px 40px; }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 64px;
}
.closing-metrics {
  display: flex;
  align-items: center;
  gap: 48px;
}
.metric { display: flex; flex-direction: column; gap: 6px; }
.metric-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}
.metric-label {
  font-size: 12px;
  color: var(--fg-dim);
  max-width: 140px;
  line-height: 1.4;
}
.metric-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--fg);
}
.footer-logo .accent { color: var(--accent); }
.footer-tagline {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 4px;
}
.footer-meta {
  font-size: 12px;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-divider { color: var(--border); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .agent-cards { grid-template-columns: repeat(2, 1fr); }
  .workflow { flex-direction: column; }
  .step-connector { width: 1px; height: 24px; }
  .closing-metrics { flex-direction: column; align-items: flex-start; gap: 32px; }
  .metric-divider { display: none; }
  .hero-stats { gap: 32px; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 60px; }
  .agents, .howitworks, .closing { padding: 60px 20px; }
  .manifesto { padding: 60px 20px; }
  .nav-inner { padding: 14px 20px; }
  .agent-cards { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}