/* Helium™ UI v1.8.8 — Stack Sans Text typography system.
   ONE EDITABLE VARIABLE: --helium-font-family.
   Change its value here to switch the entire non-metric interface typography.
   Stack Sans Text is loaded from Google Fonts; fonts are not redistributed.
   The dotted Doto numerals are intentionally preserved as a distinct metric style. */
@import url("https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@200..700&display=swap");

:root {
  --helium-font-family:var(--helium-type-body);

  /* Backward-compatible aliases for every older Helium and Aurora stylesheet. */
  --sa-font: var(--helium-font-family);
  --sa-font-display: var(--helium-font-family);
  --he-font-body: var(--helium-font-family);
  --he-font-display: var(--helium-font-family);
  --helium-font-brand: var(--helium-font-family);

  /* Locked optical dot-matrix data font, NOT ordinary UI copy. */
  --sa-font-metric:var(--helium-type-metric);
}

/* Override older hard-coded Inter and former display-font declarations. */
html body { font-family: var(--helium-font-family) !important; }
html body :is(h1, h2, h3, h4, h5, h6,
  button, input, textarea, select, option, optgroup,
  label, legend, summary, .brand, .side-brand, .health-logo,
  .hm-brand, .he-rail-logo, .logo, .play-brand,
  .brand-font, .hero-subtitle, .play-kicker,
  .hm-eyebrow, .hm-guide h2, .hm-pattern h2) {
  font-family: var(--helium-font-family) !important;
}

/* Maintain legibility: old ultra-tight display tracking was tuned for Clash/Landour. */
html body :is(h1, h2, h3, h4, h5, h6) {
  letter-spacing: -0.025em !important;
}

/* Exception: purposeful LED/dot-matrix data readouts retain their distinctive dots. */
html body :is(.led, .dot-value, .big-dot, .pixel-number, .sa-value--dot,
  .hero-value, .hero-b strong, .material strong, .screen-tile strong,
  .ru-number, .he-record-time) {
  font-family: var(--sa-font-metric) !important;
}
