:root {
  --bg: #fafafa;
  --fg: #18181b;
  --muted: #52525b;
  --border: #e4e4e7;
  --accent: #0f4c81;
  --code-bg: #f4f4f5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 2.5rem 1.25rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
}
main, header, footer {
  max-width: 720px;
  margin: 0 auto;
}
header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
}
nav a {
  margin-left: 1.1rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
nav a:hover, a:hover { color: var(--accent); text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; }
.meta { color: var(--muted); font-size: 0.9rem; margin-top: -0.4rem; }
.post-list { list-style: none; padding: 0; }
.post-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.post-list a { font-weight: 600; color: var(--accent); text-decoration: none; font-size: 1.05rem; }
pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--code-bg);
  border-radius: 4px;
}
code { padding: 0.15em 0.35em; font-size: 0.9em; }
pre { padding: 1rem; overflow-x: auto; border: 1px solid var(--border); }
footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
