@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* Локальный fallback остаётся на месте, чтобы страница не ломалась без сети. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable-Italic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --font-ui: 'Manrope', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-display: 'Geologica', 'Manrope', 'Inter', system-ui, sans-serif;
  --font-ui-mono: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}
html, body, button, input, select, textarea {
  font-family: var(--font-ui);
}

:root {
  --font-family-sans-serif: var(--font-ui);
  --bs-font-sans-serif: var(--font-ui);
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.rb-page-title,
.rb-section-title,
.rb-card-head h3,
.rb-company-brand h3,
.rb-logo-copy strong,
.rb-sidebar-brand-copy strong,
.rb-balance-amount,
.rb-kpi .value {
  font-family: var(--font-display);
}

.rb-page-title,
.rb-section-title,
.rb-card-head h3,
.rb-company-brand h3,
.rb-balance-amount,
.rb-kpi .value {
  letter-spacing: 0;
}

.rb-page-kicker,
.rb-summary-title,
.rb-logo-copy span,
.rb-sidebar-brand-copy span,
.rb-company-brand p,
.rb-page-subtitle,
.rb-table-clean thead th,
.table thead th {
  font-weight: 600;
}

.rb-balance-amount,
.rb-kpi .value,
.metric-card strong,
th,
td,
.rb-meta-chip,
.tag {
  font-variant-numeric: tabular-nums;
}
