:root {
  --bg: #fff;
  --text: #222;
  --muted: #555;
  --accent: #254a8b;
  --border: #ccc;
  --body: system-ui, sans-serif;
  --heading: system-ui, sans-serif;
  --space: 2rem;
  --pad: 1.5rem;
  --max: 70rem;
  --reading: 48rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.125rem/1.7 var(--body);
}
.container {
  width: calc(100% - var(--pad) * 2);
  max-width: var(--max);
  margin-inline: auto;
}
.prose {
  max-width: var(--reading);
  padding-block: var(--space);
}
h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.15;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 0;
}
.callout {
  padding: var(--pad);
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}
figcaption {
  color: var(--muted);
  font-size: 0.85rem;
}
footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space);
}
@media (max-width: 40rem) {
  table,
  tbody,
  tr,
  td {
    display: block;
  }
  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  tr {
    border-bottom: 1px solid var(--border);
  }
  td {
    border: 0;
  }
  td[data-label]:before {
    content: attr(data-label) ": ";
    font-weight: bold;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
