/* ==========================================================================
   BUSIFY — BASE
   ========================================================================== */

body {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  color: var(--color-text-primary);
  background: var(--color-bg);
}

h1, h2, h3, h4 {
  line-height: var(--line-tight);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.text-display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.text-page-title {
  font-size: var(--text-page-title);
  font-weight: 700;
}

.text-section-title {
  font-size: var(--text-section-title);
  font-weight: 600;
}

.text-card-title {
  font-size: var(--text-card-title);
  font-weight: 600;
}

.text-small {
  font-size: var(--text-small);
}

.text-caption {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-muted {
  color: var(--color-text-muted);
}

/* Tabular figures for money and metrics everywhere they appear */
.num, .money {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.money {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

/* An element with the hidden attribute must always be hidden, even if a component sets display. */
[hidden] { display: none !important; }
