/*
 * Єдина типографіка novascheduler. Підключати ОСТАННІМ у <head>
 * (після власного <style> сторінки), щоб базові правила нижче
 * перекрили локальний `body { font-family: "Segoe UI" ... }`:
 *   ... інлайн <style> ...
 *   <link rel="stylesheet" href="/static/fonts/fonts.css">
 *   </head>
 *
 * Шрифти self-hosted (/static/fonts/), без сторонніх CDN:
 *   - Geist Sans — основний текст (Vercel, OFL; повна кирилиця/укр.)
 *   - Bebas Neue Cyrillic — заголовки (брендовий, маюскул)
 */
@font-face {
  font-family: "Geist";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/Geist-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/Geist-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("/static/fonts/Geist-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Bebas Neue Cyrillic";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/BebasNeueCyrillic.woff2") format("woff2");
}

:root {
  --font-body: "Geist", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Bebas Neue Cyrillic", "Geist", -apple-system, "Segoe UI", sans-serif;
}

/* Базова типографіка — перекриває локальні body/heading правила
   сторінок за рахунок порядку підключення (цей файл іде після
   інлайн <style>). Розміри лишаємо сторінкам. */
body {
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;          /* Bebas має лише 400 — не даємо синтезувати "жирний" */
  letter-spacing: .01em;
}
button, input, select, textarea, optgroup {
  font-family: inherit;
}
