/* Типографика строй.онлайн — Source Sans 3 (SIL OFL 1.1, Adobe).
   Файлы: static/fonts/source-sans-3/*.woff2 · лицензия: OFL.txt рядом. */

@font-face {
  font-family: "Source Sans 3";
  src: url("/static/fonts/source-sans-3/SourceSans3-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/static/fonts/source-sans-3/SourceSans3-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/static/fonts/source-sans-3/SourceSans3-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/static/fonts/source-sans-3/SourceSans3-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-brand: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-brand);
  --font-text: var(--font-brand);
  --font-ui: var(--font-brand);
  --font-screen: var(--font-brand);
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5,
.hero-title, .section-title, .ai-foreman-banner__title {
  font-family: var(--font-display);
  font-weight: 600;
}

.site-navbar,
.btn,
.form-control,
.form-select,
.form-label,
.nav-link,
.dropdown-menu,
.badge,
.alert,
.card-header,
.calc-tab-btn,
.role-pick__box {
  font-family: var(--font-ui);
}

body,
p,
li,
td,
th,
.card-body,
.text-muted,
small,
.chat-list-preview,
.foreman-bubble {
  font-family: var(--font-text);
}

.site-navbar .nav-link,
.notify-item__time,
.calendar-status-icon,
.form-text,
caption {
  font-family: var(--font-screen);
}

table.table,
.table-scroll table,
pre,
code,
kbd,
samp,
.mono,
.tender-price-value {
  font-family: var(--font-mono);
}

.font-condensed {
  font-family: var(--font-text);
  font-stretch: condensed;
}

body {
  font-family: var(--font-text);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
}
