:root {
  --md-primary-fg-color: #111214;
  --md-accent-fg-color: #e0a800;
}

[data-md-color-scheme="slate"] {
  --md-accent-fg-color: #ffd21e;
  --md-typeset-a-color: #ffd21e;
}

/* The hero on the landing page. */
.hero {
  padding: 1.2rem 0 0.4rem;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 .4rem;
  letter-spacing: -.02em;
}
.hero p.tagline {
  font-size: .95rem;
  opacity: .85;
  max-width: 46rem;
  margin: 0 0 1.1rem;
}

/* Numbers that carry the pitch. */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: .7rem;
  margin: 1.4rem 0 1.8rem;
}
.stat {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: .4rem;
  padding: .85rem .9rem;
  background: var(--md-code-bg-color);
}
.stat .n {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat .l {
  display: block;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .7;
  margin-top: .25rem;
}

/* Keep wide benchmark tables readable rather than squeezed. */
.md-typeset table:not([class]) {
  font-size: .72rem;
}
.md-typeset table:not([class]) th {
  white-space: nowrap;
}

@media screen and (min-width: 76.25em) {
  .md-sidebar--primary { width: 13rem; }
}
