/* Map intermediate UI weights to the nearest of the five supplied static faces. */
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 349;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 350 449;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 450 549;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 550 649;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 650 1000;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-LightItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 349;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-RegularItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 350 449;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-MediumItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 450 549;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-SemiboldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 550 649;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("/brand/type/OpenAISans-BoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 650 1000;
  font-display: swap;
}

:root {
  --seer-sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "OpenAI Sans", sans-serif;
  --seer-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --seer-heading-tracking: -0.035em;
  --seer-section-tracking: -0.02em;
  font-family: var(--seer-sans);
  -webkit-font-smoothing: antialiased;
}

:where(button, input, textarea, select, optgroup, option) {
  font-family: inherit;
}

:where(code, pre, kbd, samp) {
  font-family: var(--seer-mono);
}

/* Keep surface-specific sizes and line breaks while giving headings a common voice. */
#root :where(h1) {
  font-weight: 500;
  letter-spacing: var(--seer-heading-tracking);
}

#root :where(h2, h3) {
  font-weight: 500;
  letter-spacing: var(--seer-section-tracking);
}
