/* Meganet typography: Montserrat everywhere, preserving existing layout & behavior.
   Google Fonts link is provided in the head; system font stack is a fallback. */
:root {
  --meganet-font: "Montserrat", "Century Gothic", "Avenir Next", "Segoe UI", Arial, sans-serif;
}
html body.page-home,
html body.page-house,
html body.page-apartment {
  font-family: var(--meganet-font) !important;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Native controls do not always inherit the font from body. */
body.page-home :is(button, input, select, textarea),
body.page-house :is(button, input, select, textarea),
body.page-apartment :is(button, input, select, textarea) {
  font-family: var(--meganet-font) !important;
}
/* Modals and dynamically rendered forms retain the same family. */
body :is(.modal, .modal-card, .lead-field, .lead-submit-btn, .tariff-choice-modal, .tariff-choice-card) {
  font-family: var(--meganet-font) !important;
}
