:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --fg: #1d2421;
  --muted: #4a5551;
  --accent: #1f6658;
  --rust: #8a4f1d;
  --line: #d9ddd8;
  --panel: #eef1ed;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141917;
    --fg: #e7ebe8;
    --muted: #b3bdb8;
    --accent: #7cc9b6;
    --rust: #e3a66e;
    --line: #2f3833;
    --panel: #1e2522;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: clamp(1rem, .95rem + .25vw, 1.0625rem)/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
/* The header: the logo at the left and, on narrow screens, the menu button
   at the right of the same row, opening the navigation below it; from 48rem
   the navigation is always shown. Without JavaScript, nojs.css (loaded in a
   noscript) shows it always and hides the button. */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; padding-top: .75rem; padding-bottom: .25rem; }
.brand { font-size: 1.4rem; font-weight: 700; margin: 0; line-height: 48px; }
.brand a { color: var(--fg); text-decoration: none; display: inline-block; }
.accent { color: var(--accent); }
.menu-button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; margin-right: calc((1.25rem - 48px) / 2); color: var(--fg); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.menu-button:focus-visible, .site-nav a:focus-visible, .brand a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bars { width: 1.25rem; height: .875rem; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
.site-nav { width: 100%; font-size: .95rem; }
.site-nav { display: none; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); padding: .25rem 0 .5rem; }
.site-nav a { display: flex; align-items: center; min-height: 48px; color: var(--fg); font-weight: 500; text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.site-nav a.sponsor { color: var(--accent); font-weight: 700; }
.site-nav a.github { gap: .5rem; }
.site-nav .gh { width: 1.25rem; height: 1.25rem; flex: none; }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
@media (min-width: 48rem) {
  .menu-button { display: none; }
  .site-nav { display: block; width: auto; flex: 0 0 auto; max-width: 100%; font-size: .9rem; }
  .site-nav ul { flex-direction: row; flex-wrap: wrap; border: 0; padding: 0; gap: 0 .8rem; }
  /* One row of links from 48rem: GitHub by its mark, its name kept for
     screen readers. */
  .site-nav a.github { min-width: 24px; justify-content: center; }
  .gh-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-head { padding-top: 1.5rem; }
}
h1 { font-size: clamp(1.75rem, 1.2rem + 2.5vw, 2.6rem); line-height: 1.15; margin: 0 0 .5rem; }
img, svg, video { max-width: 100%; height: auto; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 1.5rem 0 .25rem; }
h2 { font-size: clamp(1.25rem, 1.1rem + .75vw, 1.5rem); line-height: 1.3; margin: 2.75rem 0 .75rem; }
h3 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; }
p, ul, ol, table, pre { margin: 0 0 1rem; }
.tagline { color: var(--muted); font-size: 1.1rem; }
.definition { font-size: 1.1rem; }
.mission { border-left: 4px solid var(--rust); padding: .25rem 0 .25rem 1rem; font-size: 1.15rem; font-weight: 600; }
.status { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: .75rem 1rem; }
.meta { color: var(--muted); font-size: .9rem; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
th, td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .9em; }
code { background: var(--panel); padding: .1em .3em; border-radius: 4px; overflow-wrap: anywhere; }
pre { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; overflow-x: auto; line-height: 1.5; }
pre code { background: none; padding: 0; overflow-wrap: normal; }
/* A long word, number or URL wraps rather than widening the page on a phone. */
p, li, dt, dd, td, th, h1, h2, h3 { overflow-wrap: break-word; }
dt { font-weight: 600; margin-top: 1rem; }
dd { margin: .25rem 0 0; }
footer.wrap { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1rem; padding-bottom: 3rem; }
td code { white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 39.99rem) {
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border: 1px solid var(--line); border-radius: 8px; padding: .5rem .75rem; margin: 0 0 .75rem; }
  table.stack td { border: 0; padding: .25rem 0 .25rem 9.25rem; position: relative; min-height: 1.5em; box-sizing: border-box; }
  table.stack td::before { content: attr(data-label); font-weight: 600; color: var(--muted); position: absolute; left: 0; width: 8.5rem; }
}
