:root {
  --bg: #fbfaf7;
  --fg: #2b2b28;
  --muted: #6f6d66;
  --accent: #3d5a4c;
  --line: #e4e1d8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--line); }
header .wrap {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; gap: 8px;
}
.brand {
  font-size: 20px; font-weight: bold; text-decoration: none; color: var(--fg);
}
nav a {
  margin-left: 18px; text-decoration: none; color: var(--muted); font-size: 15px;
}
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
main { padding-top: 28px; padding-bottom: 40px; }
.lead { color: var(--muted); font-style: italic; }
.note { padding: 18px 0; border-bottom: 1px solid var(--line); }
.note:last-child { border-bottom: none; }
.note h2 { margin: 0 0 4px; font-size: 21px; }
.note h2 a { color: var(--fg); text-decoration: none; }
.note h2 a:hover { color: var(--accent); text-decoration: underline; }
.meta { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
article.post h1 { font-size: 26px; margin-bottom: 4px; }
article.post p { margin: 0 0 14px; }
article.post code {
  font-family: "SFMono-Regular", Consolas, monospace; font-size: 14px;
  background: #f1efe8; padding: 1px 5px; border-radius: 3px;
}
article.post pre {
  background: #f1efe8; padding: 12px 14px; border-radius: 5px;
  overflow-x: auto; font-size: 14px; line-height: 1.5;
}
article.post pre code { background: none; padding: 0; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { padding-top: 16px; padding-bottom: 24px; }
a { color: var(--accent); }