:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #202122;
  background: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #2457a7; text-decoration: underline; text-underline-offset: 0.15em; }
a:visited { color: #65459a; }
a:hover { color: #173b75; }
a:focus-visible { outline: 2px solid #2457a7; outline-offset: 4px; }

.site { max-width: 54rem; margin: 0 auto; padding: 0 1.5rem; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #c8ccd1;
}
.site-name, .site-name:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #202122;
  font-size: 1.4rem;
  font-weight: 650;
  text-decoration: none;
}
.site-logo {
  display: block;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: #fff;
  flex-shrink: 0;
  image-rendering: pixelated;
  /* Optical alignment with the visible letterforms, not the line box. */
  transform: translateY(1px);
}
nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.9375rem; }
main { padding: 2rem 0 3rem; overflow-wrap: anywhere; }
h1, h2 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.25;
  border-bottom: 1px solid #c8ccd1;
  padding-bottom: 0.35rem;
}
h1 { margin: 0 0 1.25rem; font-size: 2rem; }
h2 { margin: 2rem 0 1rem; font-size: 1.5rem; scroll-margin-top: 1rem; }
h3 { margin: 1.5rem 0 0.5rem; font-size: 1.1rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.5rem; }
li + li { margin-top: 0.4rem; }
img { max-width: 100%; height: auto; }
pre { overflow-x: auto; padding: 1rem; background: #f8f9fa; border: 1px solid #c8ccd1; }
code { font-size: 0.9em; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  border-top: 1px solid #c8ccd1;
  padding: 1rem 0 2rem;
  color: #54595d;
  font-size: 0.8125rem;
}
.skip-link { position: absolute; top: -5rem; left: 1rem; background: #fff; padding: 0.5rem 1rem; }
.skip-link:focus { top: 0.5rem; }
@media (max-width: 36rem) {
  .site { padding: 0 1rem; }
  .site-header { padding: 1rem 0; }
  main { padding-top: 1.5rem; }
}
