:root {
  --bg: #f6f8f7;
  --card: #ffffff;
  --text: #17211d;
  --muted: #55625d;
  --accent: #1f6f5b;
  --accent-text: #ffffff;
  --border: #d6dfdb;
  --code-bg: #eaf3ef;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101614;
    --card: #19211e;
    --text: #e8efec;
    --muted: #a3b0ab;
    --accent: #52b79b;
    --accent-text: #08130f;
    --border: #2b3733;
    --code-bg: #213029;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
.site-header { border-bottom: 1px solid var(--border); background: var(--card); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.1rem; }
.site-header ul, .site-footer ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-header a, .site-footer a { color: var(--muted); text-decoration: none; }
.site-header a[aria-current], .site-header a:hover, .site-footer a:hover { color: var(--text); text-decoration: underline; }
main { padding: 2rem 0 3rem; }
.site-footer { border-top: 1px solid var(--border); padding: 1.25rem 0 2rem; color: var(--muted); font-size: 0.9rem; }
.prose h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 1rem; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: 0.25rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.4rem 0.6rem; text-align: left; vertical-align: top; }
.prose code { background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.92em; }
.hero { text-align: center; padding-top: 1rem; }
.hero h1 { font-size: 1.7rem; margin: 0 0 0.5rem; }
.code {
  display: block;
  margin: 1.25rem auto;
  padding: 1rem 0.5rem;
  max-width: 20rem;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font: 700 2.4rem/1.1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.18em;
  word-break: break-all;
}
.button {
  display: block;
  margin: 0.75rem auto;
  max-width: 20rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
}
.button.secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.note { color: var(--muted); font-size: 0.95rem; max-width: 30rem; margin: 1.25rem auto 0; }
[hidden] { display: none !important; }
