/* Self-hosted fonts — bundled with @pagesmith/docs */

/* ─── Adjusted fallback for Open Sans (matches system-ui metrics) ─── */
@font-face {
  font-family: "Open Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 105.4%;
  ascent-override: 101%;
  descent-override: 28%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-variable.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ─── Adjusted fallback for JetBrains Mono (matches Menlo/Consolas) ─── */
@font-face {
  font-family: "JetBrains Mono Fallback";
  src: local("Menlo"), local("Consolas"), local("DejaVu Sans Mono");
  size-adjust: 115.6%;
  ascent-override: 78%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
