:root {
  color-scheme: light;
  --ink: #141414;
  --muted: #66615a;
  --line: #d8d2c8;
  --paper: #f7f5f0;
  --surface: #fffdf8;
  --accent: #24524a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

code,
table,
.eyebrow,
.brand,
nav,
.metric-row,
time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  justify-content: flex-start;
}

.brand {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero,
.page-title {
  padding: clamp(48px, 9vw, 96px) 0 42px;
  border-bottom: 1px solid var(--line);
}

.narrow {
  max-width: 760px;
}

.legal-body {
  margin: 36px 0 72px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.legal-body h2 {
  margin-top: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  max-width: 880px;
  font-size: clamp(42px, 8vw, 88px);
}

h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 26px);
}

.section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading p,
.muted {
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.metric-row div {
  min-width: 0;
  padding: 18px;
  background: var(--surface);
}

.metric-row dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.metric-row dd {
  margin: 0;
  font-size: 24px;
}

.compact {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 500;
}

td span {
  display: block;
  max-width: 320px;
  margin-top: 4px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
}

tr:last-child td {
  border-bottom: 0;
}

.links {
  white-space: nowrap;
}

.links a + a {
  margin-left: 12px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.plain-list,
.timeline {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.plain-list li,
.timeline li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.plain-list span,
.timeline span {
  color: var(--muted);
}

.note {
  max-width: 860px;
}

.chart {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.chart svg {
  width: 100%;
  height: 180px;
}

.chart line,
.chart polyline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.chart ol {
  margin: 14px 0 0;
  padding-left: 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.markdown {
  max-width: 820px;
}

.markdown h1 {
  font-size: 42px;
}

.markdown p,
.markdown li {
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .section-heading,
  .split {
    display: block;
  }

  nav {
    margin-top: 12px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 44px;
  }
}
