:root {
  --bg: #fafaf8;
  --text: #1a1a1a;
  --muted: #777;
  --accent: #b4456a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Georgia, serif;
  line-height: 1.7;
}
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
header h1 {
  font-size: 2.2rem;
  margin: 0 0 0.25rem;
}
.tagline {
  color: var(--muted);
  margin: 0 0 3rem;
}
.posts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.posts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
}
.posts a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.posts a:hover { color: var(--accent); }
.date { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }

/* post page */
article header h1 { font-size: 1.9rem; }
article .date { color: var(--muted); margin: 0 0 2rem; }
.content p { margin: 0 0 1.2rem; }
article footer { margin-top: 3rem; }
article footer a { color: var(--accent); text-decoration: none; }
article footer a:hover { text-decoration: underline; }
.content a { color: var(--accent); }
.content a:hover { text-decoration: underline; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #f0f0ee;
  padding: 0.15em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
}
