:root {
  color-scheme: light dark;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --border: rgba(0, 0, 0, 0.08);
  --max: 720px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.55;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --border: rgba(255, 255, 255, 0.12);
  }
}

* { box-sizing: border-box; }

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

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

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

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

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

h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

p, li { margin: 0 0 0.75rem; }

.lede, .muted { color: var(--muted); }

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

.top-nav {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.card-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  display: block;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.card:hover { transform: translateY(-1px); }

.card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}

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

.support {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

footer {
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.prose ul, .prose ol {
  padding-left: 1.25rem;
}

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