:root {
  --ink: #1d1d1f;
  --paper: #fafaf8;
  --muted: #55555a;
  --line: #e4e4e0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ececec;
    --paper: #161617;
    --muted: #b0b0b6;
    --line: #2c2c2e;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 24px;
}
.wrap { max-width: 40rem; margin: 0 auto; }
header.site {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
header.site .name { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
nav a { margin-left: 1.25rem; font-size: 0.95rem; }
nav a:first-child { margin-left: 0; }
h1 { font-size: 1.9rem; font-weight: 600; line-height: 1.25; margin-bottom: 0.75rem; }
.rule { width: 3rem; height: 2px; background: var(--ink); opacity: 0.85; margin-bottom: 1.5rem; }
h2 { font-size: 1.2rem; font-weight: 600; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 0.35rem; }
p, li { font-size: 1.05rem; line-height: 1.65; color: var(--muted); }
p { margin-bottom: 1rem; }
ul { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: 0.4rem; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
dl { margin-bottom: 1rem; }
dt { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }
dd { font-size: 1.05rem; line-height: 1.5; }
footer {
  margin-top: 3rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}
