/*
 * Inter 4.1, self-hosted so widgets render the Figma typeface for every visitor
 * (no Google Fonts request, no reliance on a locally installed Inter).
 *
 * - InterVariable-text-latin.woff2: Inter 4.1 variable, optical size pinned to 14 (the
 *   static "Inter" text styles Figma uses), weight axis 400–700, subset to Latin,
 *   Latin Extended, general punctuation, currency, arrows (← ↑ → ↓ ↔ ↖ ↗ ↘ ↙ ↵), ⌃ ⌘, ★ ☆ and ✓
 *   (the UI symbols the widget templates use; ⌕ ✦ ▾ ▴ are not in Inter).
 * - Loaded only as a dependency of Atomic widget styles (frontend) and in the editor preview.
 * - Inter (c) 2016 The Inter Project Authors, SIL Open Font License 1.1: fonts/inter/OFL.txt.
 *
 * Two families, one file (downloaded once):
 * - "RWA Inter" is plugin-private and first in --rwa-font-sans, so every widget part that uses
 *   the token renders this face, whatever other "Inter" faces a page declares (Elementor
 *   enqueues Google Fonts "Inter" when Global Classes use Inter; its latin subset lacks
 *   U+2190/U+2192, which made the carousel arrows fall back to Segoe UI).
 * - "Inter" at 400/500/600/700 uses the same descriptors as Google Fonts' static faces, so the
 *   browser merges them into one unicode-range composite: text styled "Inter" by a Global Class
 *   still gets arrows/stars/check from here, and renders Inter even when Google Fonts are
 *   disabled or blocked. An installed Inter is never used (web faces take precedence).
 * Change the widget font everywhere via --rwa-font-sans.
 */
@font-face {
  font-family: "RWA Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter/InterVariable-text-latin.woff2") format("woff2-variations"),
    url("fonts/inter/InterVariable-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-02AF, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2190-2194, U+2196-2199, U+21B5, U+2212, U+2215, U+2303, U+2318,
    U+2605-2606, U+2713, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter/InterVariable-text-latin.woff2") format("woff2-variations"),
    url("fonts/inter/InterVariable-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-02AF, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2190-2194, U+2196-2199, U+21B5, U+2212, U+2215, U+2303, U+2318,
    U+2605-2606, U+2713, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter/InterVariable-text-latin.woff2") format("woff2-variations"),
    url("fonts/inter/InterVariable-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-02AF, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2190-2194, U+2196-2199, U+21B5, U+2212, U+2215, U+2303, U+2318,
    U+2605-2606, U+2713, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter/InterVariable-text-latin.woff2") format("woff2-variations"),
    url("fonts/inter/InterVariable-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-02AF, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2190-2194, U+2196-2199, U+21B5, U+2212, U+2215, U+2303, U+2318,
    U+2605-2606, U+2713, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter/InterVariable-text-latin.woff2") format("woff2-variations"),
    url("fonts/inter/InterVariable-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-02AF, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2113, U+2122, U+2190-2194, U+2196-2199, U+21B5, U+2212, U+2215, U+2303, U+2318,
    U+2605-2606, U+2713, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}

:root {
  --rwa-font-sans: "RWA Inter", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
