/* A quiet reading surface keeps long project notes easy to scan. */
:root {
  --md-text-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --md-code-font: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.md-typeset {
  line-height: 1.7;
}

.md-typeset h1 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

.md-typeset h2 {
  font-weight: 650;
  margin-top: 2em;
}

.md-typeset table:not([class]) {
  font-size: 0.72rem;
}

.md-typeset table:not([class]) th {
  font-weight: 700;
}

.md-sidebar__scrollwrap {
  scrollbar-width: thin;
}

.md-nav__link:focus-visible,
.md-typeset a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: #273552;
  --md-primary-fg-color--light: #35476b;
  --md-primary-fg-color--dark: #1b2841;
  --md-accent-fg-color: #214caa;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #273552;
  --md-primary-fg-color--light: #35476b;
  --md-primary-fg-color--dark: #1b2841;
  --md-accent-fg-color: #b3caff;
}

.md-header__button.md-logo img {
  border-radius: 4px;
  image-rendering: pixelated;
}

.docs-brand {
  display: block;
  width: min(220px, 55%);
  height: auto;
  margin: 0 0 1.5rem;
}

[data-md-color-scheme="default"] .md-typeset a,
[data-md-color-scheme="default"] .md-nav__link--active {
  color: #214caa;
}

[data-md-color-scheme="slate"] .md-typeset a,
[data-md-color-scheme="slate"] .md-nav__link--active {
  color: #b3caff;
}
