:root {
  color-scheme: light dark;
  --bg: #0b1220;
  --panel: #131c31;
  --text: #ecf2ff;
  --muted: #9fb0d0;
  --accent: #5eead4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: var(--text);
}

a {
  color: var(--accent);
}

.container {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header,
.site-footer {
  padding: 2rem 0;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.site-tagline,
.post-meta,
.site-footer,
.empty-state {
  color: var(--muted);
}

main {
  padding: 3rem 0 4rem;
}

.hero,
.post-card,
.post {
  background: rgba(19, 28, 49, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

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

.post-card h3,
.post h1 {
  margin-top: 0;
}
