:root {
  --bg: #0a1628;
  --bg-light: #0f1f38;
  --text: #e4e8ef;
  --text-muted: #8899aa;
  --text-subtle: #556677;
  --accent: #6eb5ff;
  --accent-hover: #8fc5ff;
  --border: #1e3a5f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* Archive Index */
.archive-index {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.archive-header {
  margin-bottom: 3rem;
  text-align: center;
}

.archive-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.archive-header .description {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.archive-header .byline {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-subtle);
}
.archive-header .byline a {
  color: var(--text-subtle);
}
.archive-header .byline a:hover {
  color: var(--accent);
}

.posts-list {
  list-style: none;
}

.posts-list li {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.posts-list li:hover {
  border-color: var(--accent);
}

.posts-list h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.posts-list h2 a {
  color: var(--text);
}
.posts-list h2 a:hover {
  color: var(--accent);
}

.posts-list .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.posts-list .excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Article Pages */
article {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

article header {
  margin-bottom: 2rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--accent);
}

article h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

article .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.original-source {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-top: 0.5rem;
}
.original-source a {
  color: var(--text-subtle);
}

/* Content */
.content {
  margin-top: 2rem;
}

.content p {
  margin-bottom: 1.25rem;
}

.content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.content h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.content ul, .content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.content li {
  margin-bottom: 0.5rem;
}

.content strong {
  color: var(--text);
}

/* Images */
figure {
  margin: 2rem 0;
}

figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
}

.hero {
  margin: 0 0 2rem 0;
}

.hero img {
  width: 100%;
}

/* Navigation */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

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

/* Back link */
.back-link {
  display: block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  article h1 {
    font-size: 1.8rem;
  }

  .post-nav {
    flex-direction: column;
  }
}
