/* Inter (variable) - self-hosted, split by script so Bulgarian pages load the Cyrillic subset. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2");
  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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-cyrillic-wght-normal.de93fdc85e3d.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.1ad231aac0a8.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #fafaf9; --surface: #ffffff; --surface-2: #f4f4f5;
  --text: #18181b; --muted: #5f5f69; --border: #e4e4e7;
  --accent: #5b5bd6; --accent-hover: #4a4ac4; --accent-soft: #ededfc; --on-accent: #ffffff;
  --success: #15803d; --warn: #9a4b05; --warn-soft: #fff4e5; --danger: #b91c1c;
  --radius-sm: 10px; --radius: 14px; --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .05);
  --shadow: 0 1px 3px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .06);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --text-sm: .875rem; --text-base: 1rem; --text-lg: 1.125rem; --text-xl: 1.375rem; --text-2xl: 1.75rem;
  --text-3xl: clamp(2rem, 5.5vw, 3.25rem);
  --max: 1080px; --max-narrow: 640px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1115; --surface: #171a21; --surface-2: #1f232c;
    --text: #ececf1; --muted: #a1a1aa; --border: #2a2f3a;
    --accent: #8b8bf5; --accent-hover: #a5a5f8; --accent-soft: #23234a; --on-accent: #0f1115;
    --warn: #f5a524; --warn-soft: #2b2112; --danger: #f87171;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4); --shadow: 0 1px 3px rgb(0 0 0 / .5), 0 8px 24px rgb(0 0 0 / .35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1115; --surface: #171a21; --surface-2: #1f232c;
  --text: #ececf1; --muted: #a1a1aa; --border: #2a2f3a;
  --accent: #8b8bf5; --accent-hover: #a5a5f8; --accent-soft: #23234a; --on-accent: #0f1115;
  --warn: #f5a524; --warn-soft: #2b2112; --danger: #f87171;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4); --shadow: 0 1px 3px rgb(0 0 0 / .5), 0 8px 24px rgb(0 0 0 / .35);
}
