
/* Dark hero sections: prevent inherited dark text from disappearing. */
.hero h1,.page-hero h1,.dev-hero h1,.hero h2,.page-hero h2,.dev-hero h2{color:#f7fbff!important}
.hero .lead,.page-hero .lead,.dev-hero p{color:#d8e7f8!important}
.dev-hero h1{color:#f8fbff!important}
.hero .grad,.page-hero .grad{color:#81c8ff!important;-webkit-text-fill-color:currentColor!important;background:none!important}

.hv-footer{padding:32px 24px;background:#081a30;color:#dceafb;text-align:center;margin-top:50px}
.hv-footer a{color:#9bd2ff}
.hv-footer a:hover{color:#fff}

/* Contrast correction for dark-background content across all pages */
body :is(main, section, .hero, .page-hero, .dev-hero, .pricing-hero) :is(h1,h2,h3) {
  color:#f4f9ff !important;
  -webkit-text-fill-color:#f4f9ff !important;
}
body :is(main, section, .hero, .page-hero, .dev-hero, .pricing-hero) :is(h1,h2,h3) .grad {
  color:#a8dcff !important;
  -webkit-text-fill-color:#a8dcff !important;
  background:none !important;
}
/* Preserve accessible dark text for explicitly light sections/cards */
body :is(.light,.light-section,.section-light,.bg-white,.white-section,[data-theme="light"],.card-light,.light-card) :is(h1,h2,h3) {
  color:#173958 !important;
  -webkit-text-fill-color:#173958 !important;
}
