:root {
  --ink: #1d1d1b;
  --muted: #5d5d58;
  --line: #e2e1dc;
  --paper: #fbfaf7;
  --accent: #2f5d50;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); }
main { max-width: 42rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.site-header { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; max-width: 42rem; margin: 0 auto; padding: 1rem 1.25rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a[aria-current="page"], .site-header nav a:first-child { color: var(--ink); font-weight: 600; }
.site-header nav a:hover { text-decoration: underline; }
.app-link { background: var(--accent); color: #fff; padding: 0.4rem 0.8rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.site-footer { border-top: 1px solid var(--line); max-width: 42rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; color: var(--muted); font-size: 0.9rem; }
h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.35rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin: 0.25rem 0; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #f0efe9; padding: 0.1em 0.3em; border-radius: 4px; }
pre { background: #f0efe9; padding: 1rem; border-radius: 6px; overflow-x: auto; }
pre code { background: none; padding: 0; }
table { border-collapse: collapse; width: 100%; margin: 0 0 1.25rem; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
strong { font-weight: 650; }
@media (max-width: 480px) { body { font-size: 16px; } h1 { font-size: 1.6rem; } }
