:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #1f2937;
  --text-strong: #111827;
  --text-muted: #6b7280;
  --text-body: #374151;
  --border: #d1d5db;
  --border-soft: #e5e7eb;
  --footer-bg: #111827;
  --footer-text: #e5e7eb;
  --link: #1d4ed8;
  --code-bg: #eef1f4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181d;
    --surface: #1b2027;
    --text: #d5dae1;
    --text-strong: #f0f3f6;
    --text-muted: #8d97a3;
    --text-body: #c2c9d2;
    --border: #2b323b;
    --border-soft: #262c34;
    --footer-bg: #0e1116;
    --footer-text: #b9c0c9;
    --link: #7ba7f0;
    --code-bg: #222831;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3.25rem 0 2.5rem;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: var(--text-strong);
}

.lead {
  margin-top: 1rem;
  max-width: 760px;
  color: var(--text-body);
}

.section {
  padding: 2rem 0;
}

.section h2 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--text-strong);
}

.section p {
  max-width: 760px;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.status {
  font-weight: 600;
  color: var(--text-strong);
}

.contact a,
main a {
  color: var(--link);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--code-bg);
  border-radius: 3px;
  padding: 0.1em 0.35em;
}

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

li + li {
  margin-top: 0.5rem;
}

.site-footer {
  margin-top: 1rem;
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 1.5rem 0;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.updated {
  color: var(--text-muted);
  font-size: 0.85rem;
}
