:root {
  --bg: #faf8f4;
  --fg: #1f2421;
  --muted: #6c726e;
  --border: #e6e2d8;
  --accent: #2c5282;
  --code-bg: #f1ede4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.8 Georgia, "Times New Roman", "Noto Serif SC", serif;
}
.wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 36px;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font: 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
nav a:hover { color: var(--fg); }
h1 { font-size: 28px; line-height: 1.3; margin: 0 0 12px; }
h2 { font-size: 19px; margin: 32px 0 12px; }
p { margin: 0 0 16px; }
.lead { color: var(--muted); margin-bottom: 28px; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.post-list a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
}
.post-list a:hover { color: var(--accent); }
.date {
  color: var(--muted);
  font: 13px/1 monospace;
  white-space: nowrap;
}
pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  background: var(--code-bg);
}
code { padding: 2px 5px; border-radius: 3px; }
pre { padding: 14px 16px; border-radius: 6px; overflow-x: auto; line-height: 1.55; }
footer {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font: 13px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
