:root {
  --bg: #fbfaf7;
  --ink: #1d2327;
  --muted: #5b6670;
  --rule: #dcd8cf;
  --accent: #0b5d4a;
  --code-bg: #f0ede6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181b;
    --ink: #e9e6df;
    --muted: #a3acb3;
    --rule: #2c3338;
    --accent: #6fd0b5;
    --code-bg: #1e2429;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}
main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}
.brand {
  font: 600 0.8rem/1 system-ui, "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 2.5rem;
}
.brand a { color: inherit; text-decoration: none; }
h1 {
  font: 600 2rem/1.2 system-ui, "Segoe UI", sans-serif;
  margin: 0 0 1rem;
}
h2 {
  font: 600 1.1rem/1.3 system-ui, "Segoe UI", sans-serif;
  margin: 2.25rem 0 0.5rem;
}
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
a { color: var(--accent); }
pre, code {
  font: 0.9rem/1.5 ui-monospace, Consolas, "Courier New", monospace;
  background: var(--code-bg);
  border-radius: 4px;
}
code { padding: 0.1em 0.3em; }
pre {
  padding: 0.85rem 1rem;
  overflow-x: auto;
  white-space: pre;
}
pre code { padding: 0; background: none; }
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font: 0.85rem/1.5 system-ui, "Segoe UI", sans-serif;
}
