:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --bg: #0f172a;
  --fg: #f9fafb;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
  color: var(--fg);
}

.shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

.site-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.9);
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-sub {
  font-size: 0.75rem;
  color: #9ca3af;
}

.nav {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--accent);
}

.site-main {
  padding: 1rem 0 3rem;
}

.post-list {
  display: grid;
  gap: 1.5rem;
}

.post-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
}

.post-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.post-card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.post-card-date {
  font-size: 0.75rem;
  color: #9ca3af;
}

.post-card-tags {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-pill {
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.post-card a {
  color: inherit;
  text-decoration: none;
}

.post-card a:hover .post-card-title {
  color: var(--accent);
}

.hero {
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
}

.hero p {
  max-width: 36rem;
  color: #e5e7eb;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.8rem;
  color: #9ca3af;
}