:root {
  --bg: #07091a;
  --text: #e8edf5;
  --muted: rgba(232, 237, 245, 0.52);
  --accent: #60a5fa;
  --border: rgba(255, 255, 255, 0.11);
  --surface: rgba(255, 255, 255, 0.055);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #eceff3;
    --text: #101828;
    --muted: #4b5563;
    --accent: #1d4ed8;
    --border: #d5dbe3;
    --surface: #ffffff;
    color-scheme: light;
  }
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); }

img { max-width: 100%; height: auto; }

header, main, footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

header nav { display: flex; gap: 1rem; }

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.banner {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.article-body { margin-top: 1.5rem; }

ul.posts { list-style: none; padding: 0; }

ul.posts li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

time, .author { color: var(--muted); }