@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --border: #1e1e2e;
  --text: #e2e8f0;
  --muted: #8494a7;
  --accent-1: #22c55e;
  --accent-2: #4ade80;
  --glow: rgba(34, 197, 94, 0.15);
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container-wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Nav */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.nav-logo {
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-1);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--accent-1);
}

/* Page header */
.page-hero {
  text-align: center;
  padding: 48px 0 40px;
}

.page-hero h1 {
  font-family: 'Space Mono', monospace;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent-1);
}

.page-hero p {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section */
.section {
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Space Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: var(--accent-1);
  box-shadow: 0 0 20px var(--glow);
}

/* CTA */
.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--accent-1);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  transition: opacity 0.3s;
}

.cta-btn:hover { opacity: 0.9; }

/* Footer */
footer {
  text-align: center;
  padding: 24px 0;
}

footer p {
  font-size: 12px;
  color: var(--muted);
}

/* Accent text */
.accent { color: var(--accent-1); }

/* Stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-family: 'Space Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-1);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scanlines {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none;
  z-index: 999;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Cross-links */
.cross-links {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.cross-links a {
  color: var(--accent-1);
  text-decoration: none;
}
.cross-links a:hover {
  opacity: 0.8;
}

@media (max-width: 600px) {
  .container, .container-wide { padding: 0 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .stat-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 32px 0 24px; }
}
