:root {
  color-scheme: light dark;
  --bg: #0b0d12;
  --fg: #e8ecf4;
  --muted: #9aa4b8;
  --accent: #6eb5ff;
  --border: #2a3142;
  --disclaimer-bg: #1a2030;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f4ef;
    --fg: #12141a;
    --muted: #5a6272;
    --accent: #1a5fb4;
    --border: #d8d2c8;
    --disclaimer-bg: #efe8dc;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}

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

.site-header {
  padding: 2.5rem 1.25rem 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

.site-header.compact {
  padding-bottom: 0.5rem;
}

.kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0.2rem 0;
}

.tagline {
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.disclaimer {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1rem;
  background: var(--disclaimer-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.item {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.section-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 1.75rem 0 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}

.section-empty {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}

.edition-section:first-of-type .section-title {
  margin-top: 0.5rem;
}

.item h2,
.item h3 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  text-transform: capitalize;
}

.meta-secondary {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pair {
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.pill.topic-pqc {
  border-color: var(--accent);
}

.note {
  margin: 0.6rem 0 0;
  font-size: 0.98rem;
}

.archive {
  padding-left: 1.1rem;
}

.footer-nav {
  max-width: 42rem;
  margin: 0 auto 1rem;
  padding: 0 1.25rem;
  display: flex;
  gap: 1rem;
}

.site-footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.prose p {
  margin: 0 0 1rem;
}
