:root {
  --text: #1a1a1a;
  --bg: #fafafa;
  --accent: #0066cc;
  --muted: #666;
  --max-width: 42rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding: 2rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

header nav {
  margin-bottom: 2rem;
}

header nav a {
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

main {
  min-height: 60vh;
}

article header {
  margin-bottom: 2rem;
}

article h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

article time {
  color: var(--muted);
  font-size: 0.875rem;
}

article .source {
  margin-top: 0.5rem;
}

article .content {
  line-height: 1.7;
}

article .content p {
  margin-bottom: 1rem;
}

article .content a {
  color: var(--accent);
}

h2, h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

ul.posts {
  list-style: none;
}

ul.posts li {
  margin-bottom: 1.5rem;
}

ul.posts li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

ul.posts li a:hover {
  color: var(--accent);
}

ul.posts time {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  color: var(--muted);
  font-size: 0.875rem;
}
