:root {
  color-scheme: light dark;
  --page: light-dark(#ffffff, #18191e);
  --text: light-dark(#22242b, #f3f4f8);
  --link: light-dark(#164da3, #a9c6ff);
  --border: light-dark(#babfc9, #656c7a);
  --focus: light-dark(#111111, #ffffff);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 1rem/1.65 system-ui, sans-serif;
}
header,
footer,
main {
  max-width: 72ch;
  margin-inline: auto;
  padding: 1rem;
}
h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.25;
}
h2 {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-top: 2rem;
}
p {
  overflow-wrap: anywhere;
}
a {
  color: var(--link);
  text-underline-offset: 0.18em;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
button,
input,
select {
  font: inherit;
}
button {
  min-height: 44px;
  min-width: 44px;
}
input:not([type=checkbox]):not([type=radio]),
select {
  max-width: 100%;
}
.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  transform: translateY(-150%);
  padding: 0.7rem;
  background: var(--page);
  z-index: 10;
}
.skip-link:focus {
  transform: none;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 0.6rem;
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  button {
    border: 1px solid ButtonText;
  }
}
