:root {
  color-scheme: dark;
  background: #110f10;
  color: #f2e9df;
  font: 1rem/1.5 system-ui, sans-serif;
}

body {
  margin: 0;
}

header,
main {
  width: min(66rem, calc(100% - 2rem));
  margin-inline: auto;
}

header,
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
}

header {
  padding-block: .5rem;
  border-bottom: 1px solid #433b3b;
}

header > a {
  margin-inline-end: auto;
  font-weight: 700;
}

h1 {
  margin-block-start: 2rem;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
}

a {
  color: #96d8ce;
  text-underline-offset: .18em;
}

header a,
tbody a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

a:focus-visible {
  outline: 2px solid #d8b56d;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: 1rem;
  padding: .75rem;
  background: #110f10;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-block: 2rem;
}

caption,
th,
td {
  text-align: start;
}

caption {
  margin-block-end: .75rem;
  font-weight: 700;
}

th,
td {
  border-block-end: 1px solid #433b3b;
  padding: .35rem .5rem;
}

tbody th {
  font-weight: 400;
  overflow-wrap: anywhere;
}

tbody td:first-child {
  font-variant-numeric: tabular-nums;
}

tbody td:last-child {
  color: #d8b56d;
}

@media (min-width: 650px) {
  th,
  td {
    padding-inline: .9rem;
  }
}
