/* Local Apple-like typography. SF Pro is not redistributed; Inter is the closest local fallback. */
@font-face {
  font-family: "FB Inter";
  src: url("/assets/fonts/inter/inter-cyrillic-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E, U+FE2F;
}

@font-face {
  font-family: "FB Inter";
  src: url("/assets/fonts/inter/inter-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "FB Inter";
  src: url("/assets/fonts/inter/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "FB Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-sans: var(--font-apple) !important;
  --font-display: var(--font-apple) !important;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-apple) !important;
}

.font-sans {
  font-family: var(--font-apple) !important;
}

body {
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-apple) !important;
  letter-spacing: -0.032em;
}

code,
pre,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}
