:root {
  --bg: #fbfaf7;
  --fg: #23252a;
  --muted: #6b6f78;
  --accent: #2f6f6a;
  --line: #e4e1da;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #16181c; --fg: #e6e4df; --muted: #9a9ea6; --accent: #6fb7ae; --line: #2a2d33; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.top {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 960px; margin: 0 auto; padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  font-family: system-ui, sans-serif;
}
.brand { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--fg); }
nav a { margin-left: 18px; color: var(--muted); }
main { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.hero img { width: 100%; height: auto; display: block; margin-top: 24px; border-radius: 6px; }
.hero h1 { font-size: 2rem; margin: 24px 0 8px; }
.hero p { color: var(--muted); margin: 0 0 32px; }
.posts article {
  display: grid; grid-template-columns: 320px 1fr; gap: 24px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.posts img { width: 100%; height: auto; border-radius: 4px; }
.posts h2 { font-size: 1.3rem; margin: 4px 0 8px; }
.posts p { margin: 0; color: var(--muted); }
time { font: 13px system-ui, sans-serif; color: var(--muted); }
.prose { max-width: 680px; padding: 32px 0; }
footer {
  max-width: 960px; margin: 48px auto 0; padding: 24px 16px;
  border-top: 1px solid var(--line); color: var(--muted);
  font: 14px system-ui, sans-serif;
}
@media (max-width: 640px) {
  .posts article { grid-template-columns: 1fr; }
}
