:root {
  --bg: #fbfaf7;
  --fg: #23211d;
  --muted: #6d685f;
  --line: #e6e1d8;
  --accent: #2f6f62;
  --code: #f1eee8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1a18;
    --fg: #e9e5dd;
    --muted: #a39d92;
    --line: #34312c;
    --accent: #7cc2b1;
    --code: #262420;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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 16px; }
header.site { border-bottom: 1px solid var(--line); padding: 28px 0 18px; }
header.site a.brand { color: var(--fg); text-decoration: none; font: 700 22px/1.2 system-ui, sans-serif; letter-spacing: -0.01em; }
header.site p { margin: 4px 0 0; color: var(--muted); font: 15px/1.4 system-ui, sans-serif; }
nav { margin-top: 12px; font: 15px system-ui, sans-serif; }
nav a { margin-right: 16px; }
a { color: var(--accent); }
main { padding: 28px 0 48px; }
h1 { font: 700 30px/1.25 system-ui, sans-serif; letter-spacing: -0.015em; margin: 0 0 6px; }
h2 { font: 700 21px/1.3 system-ui, sans-serif; margin: 32px 0 8px; }
.meta { color: var(--muted); font: 14px system-ui, sans-serif; margin-bottom: 22px; }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { padding: 18px 0; border-bottom: 1px solid var(--line); }
ul.posts li a.title { font: 600 19px/1.35 system-ui, sans-serif; text-decoration: none; }
ul.posts li p { margin: 6px 0 0; }
code, pre { background: var(--code); border-radius: 4px; font: 14px/1.5 ui-monospace, Menlo, Consolas, monospace; }
code { padding: 1px 4px; }
pre { padding: 12px 14px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font: 15px/1.45 system-ui, sans-serif; margin: 12px 0; }
th, td { border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; }
footer { border-top: 1px solid var(--line); padding: 18px 0 40px; color: var(--muted); font: 14px system-ui, sans-serif; }
