:root {
  --bg: #080c14;
  --bg-surface: #0d1526;
  --bg-card: #111c30;
  --fg: #e8edf5;
  --fg-muted: #7a8ba8;
  --accent: #00a3ff;
  --accent-glow: rgba(0, 163, 255, 0.15);
  --electric: #ffd600;
  --green: #22d47a;
  --amber: #ff9d00;
  --border: rgba(255,255,255,0.08);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  position: relative;
  padding: 6rem 2.5rem 5rem;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,163,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,163,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,163,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.hero-text { flex: 1; }
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  color: var(--fg);
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}
.hero-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 180px;
}
.badge-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}
.badge-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green);
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* DISPATCH SECTION */
.dispatch-section {
  background: var(--bg-surface);
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dispatch-header { margin-bottom: 3rem; }
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.dispatch-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 500px;
}
.dispatch-board {
  display: grid;
  grid-template-columns: 1fr 1fr 260px;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 1100px;
}
.dispatch-col {
  background: var(--bg-surface);
  padding: 1.5rem;
}
.dispatch-col-assigned { background: #0a1020; }
.col-head {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.ai-col-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
}
.status-dot-small {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--accent);
}
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}
.job-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.job-meta {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}
.job-time {
  font-size: 0.65rem;
  color: var(--fg-muted);
  opacity: 0.7;
}
.job-tech {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.job-new { border-left: 3px solid var(--electric); }
.job-active { border-left: 3px solid var(--green); }
.job-done { border-left: 3px solid var(--fg-muted); opacity: 0.7; }
.ai-event {
  font-size: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.ai-action {
  font-weight: 600;
  color: var(--accent);
  min-width: 65px;
  font-size: 0.7rem;
}
.ai-total {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-align: center;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* OUTCOMES */
.outcomes { padding: 5rem 2.5rem; }
.outcomes-header { margin-bottom: 3rem; }
.outcomes-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 500px;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 1100px;
}
.outcome-card {
  background: var(--bg);
  padding: 2rem 1.5rem;
}
.outcome-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}
.outcome-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.outcome-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* CLOSING */
.closing {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
  max-width: 700px;
}
.closing-statement {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* FOOTER */
.footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; }
  .hero-badge { width: 100%; }
  .dispatch-board { grid-template-columns: 1fr; }
  .dispatch-col-ai { display: none; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .nav { padding: 1rem 1.25rem; }
  .hero { padding: 3rem 1.25rem; }
  .dispatch-section, .outcomes, .closing { padding: 3rem 1.25rem; }
  .footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.2rem; }
}
