:root {
  --font-primary: system-ui, "Segoe UI", roboto, helvetica, arial, sans-serif;
  --font-secondary: Consolas, monaco, "Ubuntu Mono", "Liberation Mono", "Courier New", Courier, monospace;
  --body-text: #333;
  --bg-primary: #fff;
  --bg-secondary: #f6f8fa;
  --bg-tertiary: #d7d7d7;
  --link-primary: #004c9b;
  --red-text: #d30017;
}

@media (prefers-color-scheme: dark) {
  :root {
    --body-text: #dde8ff;
    --bg-primary: #0a2051;
    --bg-secondary: #072c7c;
    --bg-tertiary: #0041c9;
    --link-primary: #64b2ff;
    --red-text: #fe5b5f;
  }
}
* {
  padding: 0;
  margin: 0;
}

article,
aside,
nav,
ol,
p,
pre,
section,
ul {
  margin-bottom: 1rem;
}

body {
  max-width: 70ch;
  padding: 2rem;
  margin: 0 auto;
  overflow-x: hidden;
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--body-text);
  word-break: break-word;
  overflow-wrap: break-word;
  background: var(--bg-primary);
}

h1,
h2,
h3 {
  padding-top: 0.875rem;
  padding-bottom: 2px;
  margin-bottom: 8px;
  line-height: 1;
  color: var(--body-text);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.85rem;
}

h3 {
  font-size: 1.55rem;
}

a {
  color: var(--link-primary);
}

a:hover,
a:focus {
  text-decoration: none;
}

header,
footer {
  padding: 2rem 1.5rem;
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
  background: var(--bg-secondary);
}

header {
  margin: -2rem calc(0px - (50vw - 50%)) 2rem;
  border-bottom: 1px solid var(--bg-tertiary);
}

footer {
  margin: 3rem calc(0px - (50vw - 50%)) -2rem;
  text-align: center;
  border-top: 1px solid var(--bg-tertiary);
}

header > *:first-child {
  padding-top: 0;
  margin-top: 0;
}

header > *:last-child {
  margin-bottom: 0;
}

code,
samp,
kbd,
pre {
  padding: 3px 6px;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  background: var(--bg-secondary);
  border: 1px solid var(--bg-tertiary);
  border-radius: 4px;
}

pre {
  display: block;
  max-width: 100%;
  padding: 1rem 1.4rem;
  overflow: auto;
}

pre code {
  padding: 0;
  margin: 0;
  font-size: inherit;
  color: inherit;
  background: inherit;
  border: 0;
}

code pre {
  display: inline;
  padding: 0;
  margin: 0;
  font-size: inherit;
  color: inherit;
  background: inherit;
  border: 0;
}

details {
  padding: 0.6rem 1rem;
  background: var(--bg-primary);
  border: 2px solid var(--link-primary);
  border-radius: 4px;
}

summary {
  font-weight: bold;
  cursor: pointer;
}

details[open] {
  padding-bottom: 0.75rem;
}

details[open] summary {
  margin-bottom: 6px;
}

details[open] > *:last-child {
  margin-bottom: 0;
}

.two-columns {
  display: flex;
}

.column {
  margin-inline-end: 20px;
  flex: 1;
}

.count {
  max-width: 220px;
}

.column dl {
  width: 100%;
}

dl {
  padding-top: 10px;
}

dt {
  font-weight: bold;
}

dd {
  padding-bottom: 10px;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin-bottom: 0;
}

ul li {
  margin-bottom: 0.5rem;
}

ol,
ul {
  padding-left: 2rem;
}

li li:has(pre, img, iframe, video, audio) {
  margin-top: 1rem;
  list-style: none;
}

ol li:not(li li) {
  margin-bottom: 3rem;
}

iframe,
img {
  display: block;
  max-width: 50%;
  border: 0;
}

video,
audio {
  display: block;
  border: 0;
}

.red-text {
  color: var(--red-text);
}

.visually-hidden {
  position: absolute;
  display: block;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
}