/* IRANYekanX (fontiran.com, commercial license) as the default font for all text,
   in both light and dark themes. Twenty sets Inter on each component, so the
   override needs !important. Only Regular and Bold exist: 100-500 use Regular,
   600-900 (Twenty's semibold included) use Bold. Code editors (Monaco, in the
   API playgrounds) keep their own monospace and icon fonts, or the cursor and
   selection drift away from the text and the codicon icons break. */
@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 100 500;
  font-display: swap;
  src: url('fonts/IRANYekanX-Regular.woff2') format('woff2'),
       url('fonts/IRANYekanX-Regular.woff') format('woff');
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('fonts/IRANYekanX-Bold.woff2') format('woff2'),
       url('fonts/IRANYekanX-Bold.woff') format('woff');
}

*:not(code):not(pre):not(kbd):not(.monaco-editor, .monaco-editor *):not([class*='codicon']) {
  font-family: IRANYekanX, Inter, sans-serif !important;
  -moz-font-feature-settings: "ss03";
  -webkit-font-feature-settings: "ss03";
  font-feature-settings: "ss03";
}
