:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #a78bfa;
  --muted: #f6f6f6;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { width: min(960px, 92%); margin: 0 auto; }

.site-header {
  border-bottom: 1px solid var(--muted);
  background: var(--bg);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand { font-weight: 700; text-decoration: none; color: var(--text); }
.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text);
  padding: 0.25rem 0.5rem;
}
.nav a:hover { color: var(--accent); }

.content { padding: 2rem 0 3rem; }
h1, h2, h3 { line-height: 1.2; }
a { color: var(--accent); }
a:hover { text-decoration: underline; }

.card {
  border: 1px solid var(--muted);
  border-radius: 8px;
  padding: 1rem;
}

.site-footer {
  border-top: 1px solid var(--muted);
  background: var(--bg);
  color: #555;
}
.site-footer .container { padding: 1rem 0; }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--muted); }
.post-list a { text-decoration: none; color: var(--text); }
.post-list a:hover { color: var(--accent); }
.post-meta { color: #666; font-size: 0.9rem; }
