:root {
  --fg: #1a1a1a;
  --bg: #ffffff;
  --muted: #6b6b6b;
  --accent: #2f5fd6;
  --max-width: 700px;
}

* { box-sizing: border-box; }

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

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

.site-header {
  border-bottom: 1px solid #eee;
  padding: 1.25rem 0;
}

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

.site-title {
  font-weight: 700;
  text-decoration: none;
  color: var(--fg);
  font-size: 1.1rem;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--muted);
}

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

main.container { padding-top: 2rem; padding-bottom: 4rem; min-height: 60vh; }

a { color: var(--accent); }

h1 { font-size: 1.8rem; }

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.post-date {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  margin-left: 1rem;
}

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