@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

/* Display face: Source Serif 4 on the two top heading levels gives the site
   an editorial voice over the Public Sans body; h3+ stay sans for scanning. */
.md-typeset h1,
.md-typeset h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

/* Material renders h1 in --md-default-fg-color--light, which fails contrast
   against the default background; use the full foreground color instead. */
.md-typeset h1 {
  color: var(--md-default-fg-color);
  font-weight: 700;
}

/* Tint the paper faintly toward the teal anchor — pure #fff reads flat.
   Light scheme only; the slate scheme keeps its own surfaces. */
[data-md-color-scheme="default"] {
  --md-default-bg-color: hsl(180, 25%, 99%);
}
