:root {
  --fg: #111;
  --muted: #666;
  --line: #ddd;
  --bg: #fff;
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #eee;
    --muted: #999;
    --line: #333;
    --bg: #111;
  }
}
body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
a {
  color: inherit;
}
header.site {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}
h1 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 2rem 0 1rem;
}
img {
  max-width: 100%;
  height: auto;
  filter: grayscale(1);
}
.posts {
  list-style: none;
  padding: 0;
}
.posts li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.posts time,
.meta {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.posts p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0 -1rem;
  padding: 0.35rem 1rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.8rem;
  text-align: center;
}
