:root {
  --bg: #fcfcfb;
  --text: #1c1c1e;
  --muted: #5c5f66;
  --accent: #1f5fa8;
  --rule: #e4e4e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121314;
    --text: #e8e8e6;
    --muted: #a2a5ab;
    --accent: #7fb0ec;
    --rule: #2a2c2f;
  }
}

* {
  box-sizing: border-box;
}

body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-size: 1.125rem;
}

p {
  margin: 0 0 0.75rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.45;
}

.meta,
.org,
.dates,
footer {
  color: var(--muted);
}

.meta {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

article + article {
  margin-top: 2rem;
}

ul.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.plain,
ol.roles {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.plain li + li {
  margin-top: 0.5rem;
}

ol.roles li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 1rem;
}

ol.roles li + li {
  margin-top: 0.75rem;
}

.org {
  display: block;
  font-size: 0.9rem;
}

.dates {
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}
