:root {
  --fg: #1a1a1a;
  --muted: #666;
  --bg: #fafafa;
  --accent: #1d4ed8;
  --border: #e5e5e5;
  --max-width: 720px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.65;
  color: var(--fg); background: var(--bg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff; padding: 1rem 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 700; letter-spacing: 0.5px; color: var(--fg); }
nav a { margin-left: 1rem; color: var(--muted); }
nav a:hover { color: var(--accent); }
main { padding: 2.5rem 0 3rem; }
.hero h1 { font-size: 2.2rem; margin: 0 0 0.5rem; }
.lead { color: var(--muted); font-size: 1.1rem; }
h2 { margin-top: 2.5rem; }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.post-list time { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.post-list p { margin: 0.5rem 0 0; color: var(--muted); }
.post header h1 { margin-bottom: 0.25rem; }
.post .meta { color: var(--muted); font-size: 0.95rem; }
.post .content h2 { margin-top: 2rem; }
.post .content img { max-width: 100%; height: auto; }
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0; color: var(--muted); font-size: 0.9rem;
  background: #fff;
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.7rem; }
  nav a { margin-left: 0.75rem; font-size: 0.95rem; }
}
