/* Shared site typography. Self-hosted Inter, licensed under SIL OFL 1.1. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-italic.woff2") format("woff2");
}
:root {
  --rb-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* Override legacy per-page fonts without changing icon fonts or preview iframes. */
html body,
body :not(.material-symbols-outlined) {
  font-family: var(--rb-font-sans) !important;
}
.rb-page #resultModal .material-symbols-outlined {
  font-family: var(--rb-font-sans);
}
/* Inter's wider letterforms need less compression than the previous serif. */
.rb-page h1, .rb-page h2 {
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.rb-page h1 em { font-weight: inherit; }
@media (max-width: 760px) {
  .rb-page h2 { text-wrap: balance; }
}
.rb-page .rb-window-content h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
}
