:root {
  --max-width: 720px;
  --fg: #1a1a1a;
  --muted: #5a5a5a;
  --accent: #2b5fff;
  --bg: #ffffff;
  --border: #e6e6e6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--fg);
}

.site-header nav a {
  margin-left: 1.25rem;
  text-decoration: none;
  color: var(--muted);
}

.site-header nav a:hover {
  color: var(--accent);
}

main {
  padding: 2.5rem 1.25rem;
  min-height: 60vh;
}

.hero h1 {
  margin-bottom: 0.5rem;
}

code {
  background: #f2f2f2;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 0;
}

.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(--fg);
  text-decoration: none;
}

.post-list a:hover {
  color: var(--accent);
}

.post-list-date {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.post-header .post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -0.5rem;
}
