:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #666;
  --accent: #3d8bd4;
  --rule: rgba(127, 127, 127, 0.25);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --fg: #e9e9e9;
    --muted: #9aa0a6;
    --rule: rgba(127, 127, 127, 0.3);
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #1a1a1a;
  --fg: #e9e9e9;
  --muted: #9aa0a6;
  --rule: rgba(127, 127, 127, 0.3);
}

:root[data-theme='light'] {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #666;
  --accent: #3d8bd4;
  --rule: rgba(127, 127, 127, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 22px 80px;
  overflow-wrap: break-word;
}

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

a:hover {
  text-decoration: underline;
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
}

.by-icon {
  vertical-align: -1px;
  margin-right: 3px;
}

a:has(.by-icon) {
  white-space: nowrap;
}

h1 {
  font-size: 26px;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.lede,
.updated {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}

h2 {
  font-size: 17px;
  margin: 30px 0 8px;
}

p,
li {
  font-size: 15px;
}

.coverage {
  margin: 0;
}

.coverage > div {
  margin: 0 0 14px;
}

.coverage dt {
  font-weight: 600;
  font-size: 15px;
}

.coverage dd {
  margin: 2px 0 0;
  font-size: 15px;
}

hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 28px 0;
}

.caveat {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.caveat em {
  font-style: italic;
}

.fine {
  color: var(--muted);
  font-size: 13px;
}

.month {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 0;
}

.month:first-of-type {
  margin-top: 28px;
}

.entry {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

@media (max-width: 520px) {
  .entry {
    grid-template-columns: 1fr;
  }
}

.month + .entry {
  border-top: none;
  padding-top: 8px;
}

.version {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
}

.what {
  font-size: 15px;
  margin: 0;
}

.empty {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
