:root {
  --bg: #0b0f14;
  --surface: #121820;
  --surface-2: #1a2230;
  --text: #eef2f7;
  --muted: #9aa7b8;
  --accent: #3b82f6;
  --accent-2: #22c55e;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --max: 1080px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 20, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.hero {
  padding: 4.5rem 0 3rem;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card h2, .card h3 { margin-bottom: 0.5rem; }

.card p, .card li { color: var(--muted); }

.card ul {
  margin: 0.75rem 0 0 1.1rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.tag--green { color: var(--accent-2); }

.section {
  padding: 2rem 0 3rem;
}

.section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.section > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.prose {
  padding: 3rem 0 4rem;
  max-width: 720px;
}

.prose h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: 0.75rem; }
.prose ul { margin: 0 0 1rem 1.25rem; }
.prose .updated { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; }

@media (max-width: 640px) {
  .nav-links { display: none; }
}
