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

:root {
  --bg: #060a0f;
  --surface: #0d1420;
  --border: #1a2535;
  --accent: #00e5ff;
  --accent-dim: #00e5ff22;
  --text: #c8d8e8;
  --text-muted: #5a7890;
  --status-green: #00e5a0;
  --status-amber: #ffb800;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* NAV */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 6px var(--status-green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* HERO */
.hero {
  position: relative;
  padding: 100px 48px 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content {
  position: relative;
  max-width: 860px;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 64px;
}
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.metric {
  padding: 0 32px 0 0;
}
.metric:first-child { padding-left: 0; }
.metric-value {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 120px;
  line-height: 1.4;
}
.metric-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 32px;
}

/* SIGNAL SECTION */
.signal {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.signal-inner { padding: 32px 48px; }
.signal-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.signal-city { display: flex; flex-direction: column; gap: 4px; }
.signal-name { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: #fff; }
.signal-state { font-size: 13px; color: var(--text-muted); }
.signal-data { display: flex; gap: 40px; flex-wrap: wrap; }
.data-channel { display: flex; flex-direction: column; gap: 4px; }
.channel-label { font-size: 10px; letter-spacing: 0.15em; color: var(--text-muted); }
.channel-val { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--accent); }
.status-green { color: var(--status-green); }

/* ARCHITECTURE SECTION */
.arch { padding: 100px 48px; }
.arch-inner { max-width: 1100px; }
.arch-header { margin-bottom: 64px; }
.section-tag {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}
.arch-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.arch-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.pillar {
  background: var(--surface);
  padding: 40px;
}
.pillar-icon { font-size: 18px; color: var(--accent); margin-bottom: 20px; }
.pillar-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.pillar-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* SYSTEMS SECTION */
.systems { padding: 80px 48px 100px; border-top: 1px solid var(--border); }
.systems-inner { max-width: 1100px; }
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}
.sys-card { background: var(--surface); padding: 28px 32px; }
.sys-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sys-status { font-family: var(--font-head); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--status-green); }
.sys-card.sys-compiling .sys-status { color: var(--status-amber); }
.sys-id { font-family: var(--font-head); font-size: 10px; letter-spacing: 0.1em; color: var(--text-muted); }
.sys-name { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.sys-desc { font-size: 12px; line-height: 1.6; color: var(--text-muted); margin-bottom: 16px; }
.sys-telemetry { display: flex; gap: 16px; flex-wrap: wrap; }
.sys-telemetry span { font-family: var(--font-head); font-size: 10px; color: var(--text-muted); }

/* CLOSING SECTION */
.closing { padding: 100px 48px; border-top: 1px solid var(--border); }
.closing-inner { max-width: 1100px; }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.closing-left h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 24px;
}
.closing-left p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin-bottom: 16px; }
.closing-right { display: flex; flex-direction: column; gap: 40px; padding-top: 8px; }
.closing-stat {}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--text-muted); line-height: 1.5; max-width: 280px; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 28px 48px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-logo { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--accent); }
.footer-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.footer-sep { color: var(--border); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar, .hero, .signal-inner, .arch, .systems, .closing, footer { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 60px; padding-bottom: 60px; }
  .arch-pillars { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: 1fr; }
  .closing-grid { grid-template-columns: 1fr; gap: 48px; }
  .metric-sep { display: none; }
  .metric { padding: 0 24px 16px 0; }
  .hero-metrics { gap: 0; }
  .signal-data { gap: 24px; }
  .signal-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .nav-logo { font-size: 15px; }
  .hero-headline { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .metric-value { font-size: 18px; }
  .stat-number { font-size: 36px; }
}