:root {
  --bg: #fdfdfb;
  --fg: #1c1b19;
  --muted: #6b6862;
  --rule: #e3e0d8;
  --accent: #2b5f4b;
  --code-bg: #f4f2ec;
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  max-width: 44rem;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 1.5rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.brand {
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}
.site-header nav { display: flex; gap: 1.25rem; }
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}
.site-header nav a:hover { color: var(--accent); }
h1 { font-size: 1.85rem; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
h2 { font-size: 1.2rem; letter-spacing: -0.01em; margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1rem; margin: 1.6rem 0 0.4rem; }
p, ul, ol { margin: 0 0 1rem; }
.lede { font-size: 1.08rem; color: var(--muted); }
a { color: var(--accent); }
a:hover { text-decoration: none; }
code {
  font: 0.88em/1.4 ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background: var(--code-bg);
  padding: 0.12em 0.35em;
  border-radius: 3px;
}
pre {
  background: var(--code-bg);
  padding: 0.9rem 1rem;
  border-radius: 5px;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.5;
}
pre code { background: none; padding: 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem 2rem;
  margin: 1.75rem 0 0.5rem;
}
.grid h2 { margin-top: 0; }
table { border-collapse: collapse; width: 100%; margin: 0 0 1.25rem; font-size: 0.94rem; }
th, td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; color: var(--muted); }
footer {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.88rem;
}
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
