:root {
  color-scheme: light;
  --ink: #1c1915;
  --muted: #5c564c;
  --paper: #f7f4ee;
  --card: #fffdf8;
  --line: #e4dccf;
  --accent: #0f6e56;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: var(--accent); }
a:hover { text-decoration: none; }
header, main, footer { width: min(42rem, calc(100% - 2rem)); margin-inline: auto; }
header { padding: 1.25rem 0 0.5rem; }
nav { font-family: "Segoe UI", Helvetica, Arial, sans-serif; font-size: 0.92rem; }
nav a { margin-right: 1rem; }
nav a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 650; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0.6rem 0 0.4rem; }
h2 { font-size: 1.25rem; margin: 1.6rem 0 0.4rem; }
p, li { font-size: 1.05rem; }
.lede { font-size: 1.15rem; }
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 0.8rem 1rem;
  margin: 1.25rem 0;
}
pre {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
  overflow-x: auto;
  font-family: "IBM Plex Mono", "Source Code Pro", ui-monospace, monospace;
  font-size: 0.92rem;
  line-height: 1.45;
}
code { font-family: "IBM Plex Mono", "Source Code Pro", ui-monospace, monospace; font-size: 0.92em; }
footer {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 1.5rem 0 2.5rem;
}
