:root {
  --fg: #1a1a1a;
  --muted: #666;
  --accent: #b7410e;
  --bg: #fdfdfc;
  --code-bg: #f4f4f2;
  --border: #e5e5e2;
}
* { box-sizing: border-box; }
body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.2rem;
  font: 18px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
}
a { color: var(--accent); }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: .8rem;
  margin-bottom: 2.5rem;
}
.site-title { font-weight: 700; text-decoration: none; color: var(--fg); }
.site-header nav a { margin-left: 1rem; }
h1 { line-height: 1.2; }
h2 { margin-top: 2.2rem; }
.post-date { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.post-list { list-style: none; padding: 0; }
.post-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid #efefec;
}
.post-list time { color: var(--muted); font-size: .9rem; white-space: nowrap; }
pre {
  padding: 1rem;
  overflow-x: auto;
  border-radius: 6px;
  font-size: .82em;
  line-height: 1.5;
}
code {
  background: var(--code-bg);
  padding: .1em .3em;
  border-radius: 3px;
  font-size: .85em;
}
pre code { background: none; padding: 0; }
article p, article li { overflow-wrap: break-word; }
.site-footer {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}
