:root {
  color-scheme: light dark;
  --bg: #0c1528;
  --surface: #152238;
  --text: #e8edf5;
  --muted: #9aa8bc;
  --accent: #c8d86a;
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 42rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6fa;
    --surface: #ffffff;
    --text: #1a2332;
    --muted: #5a677a;
    --accent: #5a7a1a;
    --border: rgba(0, 0, 0, 0.08);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.2;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
}

.content p,
.content ul {
  margin: 0 0 1rem;
}

.content ul {
  padding-left: 1.25rem;
}

.content li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--accent);
}

.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.content th,
.content td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 0.5rem 0.5rem 0;
}
