:root {
  color-scheme: dark;
  background: #07090e;
  color: #cbd5e1;
  font: 100% / 1.65 Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: #b7c3ff; text-underline-offset: .17em; }
a:hover { color: #e0e7ff; }
:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 4px; }

.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1;
  padding: .5rem 1rem;
  background: #fff;
  color: #111827;
  transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); color: #111827; }

.site-header { background: #0b0d15; border-bottom: 1px solid #272b39; }
.bar {
  max-width: 68rem;
  margin-inline: auto;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #f8fafc;
  font: 800 1.2rem / 1.3 Outfit, Inter, system-ui, sans-serif;
  text-decoration: none;
}
.brand small { font-size: .78rem; font-weight: 500; color: #abb4c7; }
.editor-link {
  padding: .55rem 1rem;
  border-radius: .6rem;
  background: #f8fafc;
  color: #090b12;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}
.editor-link:hover { background: #dbe1ff; color: #090b12; }

main {
  max-width: 60rem;
  margin-inline: auto;
  padding: clamp(2.25rem, 6vw, 5rem) clamp(1rem, 5vw, 3rem);
}
h1, h2, caption {
  font-family: Outfit, Montserrat, Inter, system-ui, sans-serif;
  color: #f8fafc;
  text-wrap: balance;
}
h1 {
  margin: 0;
  max-width: 23ch;
  font-size: clamp(2.05rem, 6vw, 3.7rem);
  letter-spacing: -.045em;
  line-height: 1.06;
}
h2 { margin: 2.2rem 0 .7rem; font-size: clamp(1.35rem, 3.2vw, 1.85rem); line-height: 1.2; }
p, ol { max-width: 71ch; margin: .9rem 0; }
.lead { margin-block: 1.25rem 2rem; font-size: 1.12rem; }
strong { color: #f1f5f9; }
ol { padding-left: 1.55rem; }
li { margin: .7rem 0; padding-left: .2rem; }
li::marker { color: #b7c3ff; font-weight: 700; }

.table-scroll {
  margin: 1.5rem 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #343847;
  border-radius: .65rem;
  background: #0f121d;
}
table { width: 100%; border-collapse: collapse; text-align: left; line-height: 1.45; }
caption { padding: 1rem; font-weight: 700; text-align: left; }
thead { background: #191d2d; }
th, td {
  padding: .75rem 1rem;
  vertical-align: top;
  border-top: 1px solid #343847;
  overflow-wrap: anywhere;
}
th { color: #f1f5f9; }
tbody th { font-weight: 600; }
.next-links {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #343847;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
}
.next-links a { padding-block: .45rem; font-weight: 600; }
@media (max-width: 34rem) {
  th, td, caption { padding: .65rem .5rem; }
  th, td { font-size: .93rem; }
}
