/* Layout: one column of rows, label on the left and content on the right; stacks below 600px. */
:root {
  --bg: #ffffff;
  --fg: #14171a;
  --muted: #66707a;
  --rule: #e3e6e9;
  --accent: #1d3f8f;

  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #15181b;
    --fg: #e6e8ea;
    --muted: #8d969f;
    --rule: #2a2f35;
    --accent: #8fb0ff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 64px) max(20px, env(safe-area-inset-right)) 80px max(20px, env(safe-area-inset-left));
}

.label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--fg);
}
.top a { color: inherit; text-decoration: none; }
.top a:hover { color: var(--accent); }
.top .links { display: flex; gap: 20px; }

.row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 8px 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.row > h2 { padding-top: 4px; }

.name { font-size: clamp(26px, 4vw, 34px); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 10px; }
.lede { max-width: 60ch; }

.items { display: grid; gap: 20px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 24px; }
.item h3 { font-size: 16px; font-weight: 600; }
.item p { grid-column: 1; color: var(--muted); max-width: 62ch; }
.year { grid-row: 1; grid-column: 2; font-family: var(--f-mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; font-variant-numeric: tabular-nums; }
.facts dt { font-family: var(--f-mono); font-size: 14px; color: var(--muted); padding-top: 1px; }

.plain { list-style: none; padding: 0; display: grid; gap: 4px; }
.muted { color: var(--muted); }

@media (max-width: 600px) {
  .row { grid-template-columns: minmax(0, 1fr); }
  .row > h2 { padding-top: 0; }
}
