*, *::before, *::after { box-sizing: border-box; }

:root {
  --text: #1a1a1a;
  --muted: #666;
  --accent: #2563eb;
  --bg: #fff;
  --max: 720px;
}

body {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0 1rem;
}

header {
  max-width: var(--max);
  margin: 2rem auto 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.site-title {
  font-family: system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

main {
  max-width: var(--max);
  margin: 2rem auto;
}

footer {
  max-width: var(--max);
  margin: 3rem auto 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  color: var(--muted);
  font-size: 0.9rem;
  font-family: system-ui, sans-serif;
}

/* Post list */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-family: system-ui, sans-serif;
}

.post-list time {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.post-list a {
  color: var(--text);
  text-decoration: none;
}

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

/* Single post */
.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.post-header time {
  color: var(--muted);
  font-size: 0.9rem;
  font-family: system-ui, sans-serif;
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.post-content p {
  margin: 1.2rem 0;
}

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

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
}

.post-nav a {
  color: var(--accent);
  text-decoration: none;
}

h1, h2, h3 {
  line-height: 1.2;
  font-family: system-ui, sans-serif;
}
