:root {
  --bg: #0C0F14;
  --bg-surface: #141720;
  --bg-card: #1A1F2E;
  --fg: #F4F4F5;
  --fg-muted: #9CA3AF;
  --accent: #F97316;
  --accent-dim: rgba(249, 115, 22, 0.12);
  --accent-glow: rgba(249, 115, 22, 0.25);
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --radius-sm: 8px;
}

* { 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;
}

h1, h2, h3 { font-family: 'Syne', sans-serif; }

/* NAV */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.nav-inner { max-width: 1100px; width: 100%; display: flex; align-items: center; gap: 12px; }
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; color: var(--fg); }
.nav-tag { font-size: 12px; color: var(--fg-muted); border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px; letter-spacing: 0.05em; }

/* HERO */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-label { font-size: 12px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.hero-headline {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #F4F4F5 0%, #D4D4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 17px; color: var(--fg-muted); line-height: 1.7; max-width: 440px; }

/* AGENT PANEL */
.agent-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 60px var(--accent-glow);
}
.agent-panel-header {
  background: var(--bg-card);
  padding: 12px 18px;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.agent-row {
  display: grid;
  grid-template-columns: 8px 70px 1fr 60px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.agent-row:last-child { border-bottom: none; }
.agent-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.agent-dot--active { background: #22C55E; box-shadow: 0 0 6px #22C55E; }
.agent-dot--standby { background: #6B7280; }
.agent-name { font-weight: 600; font-family: 'Syne', sans-serif; color: var(--fg); }
.agent-task { color: var(--fg-muted); font-size: 12px; }
.agent-count { color: var(--accent); font-weight: 600; text-align: right; font-family: 'Syne', sans-serif; font-size: 12px; }

/* STATS */
.stats {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-item { text-align: center; padding: 0 20px; }
.stat-number { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 12px; color: var(--fg-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

/* CAPABILITIES */
.capabilities { max-width: 1100px; margin: 0 auto; padding: 80px 40px; }
.section-title { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 50px; line-height: 1.2; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.cap-card:hover { border-color: var(--accent-dim); }
.cap-icon { color: var(--accent); margin-bottom: 16px; }
.cap-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.cap-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* TEAMWORK */
.teamwork { background: var(--bg-surface); border-top: 1px solid var(--border); }
.teamwork-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.teamwork-body { font-size: 16px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 16px; }
.teamwork-body:last-child { margin-bottom: 0; }

/* CREW DIAGRAM */
.crew-diagram { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.crew-node--center { background: var(--accent); color: #fff; padding: 16px 24px; border-radius: var(--radius); text-align: center; }
.crew-node--center .crew-node-label { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; }
.crew-node--center .crew-node-sub { font-size: 11px; opacity: 0.8; margin-top: 2px; }
.crew-ring { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.crew-node { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; text-align: center; }
.crew-node-label { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 13px; }
.crew-node-sub { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }
.crew-report { font-size: 12px; color: var(--fg-muted); background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 6px 16px; }

/* MANIFESTO */
.manifesto { background: linear-gradient(135deg, var(--bg) 0%, #111520 100%); border-top: 1px solid var(--border); }
.manifesto-inner { max-width: 1100px; margin: 0 auto; padding: 80px 40px; text-align: center; }
.manifesto-label { font-size: 11px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.manifesto-text { font-size: clamp(22px, 3vw, 36px); font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.manifesto-sub { font-size: 16px; color: var(--fg-muted); max-width: 520px; margin: 0 auto; line-height: 1.6; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 30px 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; }
.footer-tagline { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.footer-meta { font-size: 12px; color: #6B7280; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 60px 24px 40px; gap: 40px; }
  .hero-sub { max-width: 100%; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-divider { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .teamwork-inner { grid-template-columns: 1fr; gap: 40px; }
  .crew-ring { grid-template-columns: 1fr 1fr; }
  .nav { padding: 16px 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .manifesto-inner { padding: 60px 24px; }
  .capabilities { padding: 60px 24px; }
  .teamwork-inner { padding: 60px 24px; }
}
@media (max-width: 480px) {
  .crew-ring { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .agent-row { grid-template-columns: 8px 60px 1fr; }
  .agent-count { display: none; }
}