:root {
  --bg: #0A0A0A;
  --bg-alt: #111111;
  --fg: #FAFAF8;
  --fg-muted: #888888;
  --accent: #CAFF00;
  --accent-dim: #9BBF00;
  --border: #1F1F1F;
  --danger: #FF4D4D;
  --warning: #FFB800;
  --healthy: #00E5A0;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; }

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

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
svg { flex-shrink: 0; }
nav {
  display: flex;
  gap: 2rem;
}
nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 120px 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.65;
}

/* Metric cards */
.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.metric-card {
  background: var(--bg-alt);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.metric-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 600;
}
.metric-value {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  font-family: var(--font-body);
}
.metric-value.danger { color: var(--danger); }
.metric-value.warning { color: var(--warning); }
.metric-value.healthy { color: var(--healthy); }
.metric-context {
  font-size: 0.6875rem;
  color: var(--fg-muted);
}

/* Hero strip */
.hero-strip {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.hero-strip span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  font-weight: 600;
}

/* Features */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.features-header {
  margin-bottom: 4rem;
}
.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  max-width: 560px;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.features-header p {
  color: var(--fg-muted);
  max-width: 480px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 2.5rem;
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Manifesto */
.manifesto {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6rem;
  align-items: center;
}
.manifesto-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.manifesto-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  max-width: 520px;
}
.manifesto-text p {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 1rem;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-caption {
  display: block;
  font-size: 0.875rem;
  color: var(--fg-muted);
  max-width: 180px;
  line-height: 1.5;
}

/* Livepulse */
.livepulse {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.livepulse-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--healthy);
  box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(0, 229, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0); }
}
.live-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  font-weight: 600;
}
.pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.pulse-card {
  background: var(--bg-alt);
  padding: 1.75rem;
}
.pulse-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}
.pulse-team {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 600;
}
.pulse-status {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.pulse-status.danger { background: rgba(255,77,77,0.15); color: var(--danger); }
.pulse-status.warning { background: rgba(255,184,0,0.15); color: var(--warning); }
.pulse-status.healthy { background: rgba(0,229,160,0.15); color: var(--healthy); }
.pulse-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.pulse-action {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Closing */
.closing {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.closing-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-top: 0.75rem;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.footer-links span {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .pulse-grid { grid-template-columns: 1fr; }
  .hero-strip { gap: 1.25rem; }
  .footer-inner { flex-direction: column; gap: 2rem; align-items: flex-start; }
  .footer-links { align-items: flex-start; }
  nav { display: none; }
}

@media (max-width: 480px) {
  .hero { padding-top: 80px; }
  .metric-card { padding: 1rem; }
  .metric-value { font-size: 1.5rem; }
}