:root {
  color-scheme: dark light;
  --bg: #0f1115;
  --bg-elevated: #171a21;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --accent: #7dd3fc;
  --accent-soft: rgba(125, 211, 252, 0.12);
  --border: #2a2f3a;
  --link: #93c5fd;
  --link-hover: #bfdbfe;
  --radius: 12px;
  --max: 720px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fa;
    --bg-elevated: #ffffff;
    --text: #1a1d23;
    --muted: #5f6368;
    --accent: #0369a1;
    --accent-soft: rgba(3, 105, 161, 0.08);
    --border: #e3e6eb;
    --link: #1d4ed8;
    --link-hover: #1e40af;
  }
}

* { box-sizing: border-box; }

html { font-size: 17px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--link-hover); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

header.site {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

header.site .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.lede {
  color: var(--muted);
  margin: 0;
  max-width: 42em;
}

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

nav.crumb {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
nav.crumb a { color: var(--muted); }
nav.crumb a:hover { color: var(--link); }
nav.crumb span { color: var(--muted); margin: 0 0.35rem; }

.editions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.editions li a {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.editions li a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.editions .date {
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.editions .blurb {
  color: var(--muted);
  font-size: 0.92rem;
}

section.block {
  margin: 2.25rem 0;
}

section.block h2 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

article.item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

article.item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  line-height: 1.35;
}

article.item p {
  margin: 0 0 0.75rem;
  color: var(--text);
}

article.item p:last-child { margin-bottom: 0; }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.note {
  color: var(--muted);
  font-style: italic;
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
