:root {
  color-scheme: light dark;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --accent: #0b5fff;
  --bg: #ffffff;
  --border: #e4e4e4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8e8e8;
    --muted: #a0a0a0;
    --accent: #6ea8ff;
    --bg: #14161a;
    --border: #2b2e33;
  }
}

* { box-sizing: border-box; }

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.site-title {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.search-cta {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

h1 { font-size: 2rem; margin: 0 0 1.25rem; }
h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }

.prose p { margin: 0 0 1.1rem; }

.cta {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.cta a { color: var(--accent); font-weight: 600; text-decoration: none; }

.guide-list { list-style: none; padding: 0; }
.guide-list li { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.guide-list a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.guide-list p { margin: 0.35rem 0 0; color: var(--muted); }

.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
.site-footer a { color: var(--accent); }
