/* ============================================================
   ANTARJYOTI / GLISSA — universal CTA text visibility fix
   Loaded last. Prevents legal-page link color rules and text-gradient
   rules from making pill/button labels unreadable.
   ============================================================ */

/* Never allow gradient-text treatments to leak into interactive pills/buttons. */
a.btn,button.btn,.nav__cta,.phone__cta,.primary,.planButton,.authSubmit,.authBtn,
.premiumRestoreButton,.mobileTopCta,.mobileNavLinks a,.mobileNavLinks button,.authTab,.opt,.acc__head,.protocolLearn,.storeBtn{
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  text-shadow:none;
  opacity:1!important;
  visibility:visible!important;
  text-indent:0!important;
}

a.btn *,button.btn *,.nav__cta *,.phone__cta *,.primary *,.planButton *,.authSubmit *,.authBtn *,
.premiumRestoreButton *,.mobileTopCta *,.authTab *,.opt *,.acc__head *,.protocolLearn *,.storeBtn *{
  -webkit-text-fill-color:currentColor!important;
}

/* Legal pages previously had `.legal-card a { color: amber !important; }`
   declared after the button rule, causing amber text on an amber button. */
.legal-card a.btn.btn--primary,
.legal-card .legal-actions a.btn.btn--primary,
.legal-actions a.btn.btn--primary,
a.btn.btn--primary,
button.btn.btn--primary,
.nav__cta.btn,
.primary,
.planButton,
.authSubmit,
.authBtn.solid,
.premiumRestoreButton{
  color:#160d04!important;
  -webkit-text-fill-color:#160d04!important;
}

.legal-card a.btn.btn--ghost,
.legal-card .legal-actions a.btn.btn--ghost,
.legal-actions a.btn.btn--ghost,
a.btn.btn--ghost,
button.btn.btn--ghost,
.authBtn.ghost{
  color:#f5efe8!important;
  -webkit-text-fill-color:#f5efe8!important;
}

/* Keep icon strokes synced to the corrected label color. */
.btn svg,.primary svg,.planButton svg,.authSubmit svg,.authBtn svg{color:currentColor!important;stroke:currentColor!important}

/* Accessible high-contrast focus state. */
a.btn:focus-visible,button.btn:focus-visible,.primary:focus-visible,.planButton:focus-visible,
.authSubmit:focus-visible,.authBtn:focus-visible,.mobileTopCta:focus-visible{
  outline:2px solid #ffd16a!important;
  outline-offset:3px!important;
}

@media (max-width:1024px){
  .legal-actions .btn{white-space:normal!important;text-align:center!important}
}

.authTab{color:#b7c0ce!important;-webkit-text-fill-color:#b7c0ce!important}
.authTab.active{color:#181108!important;-webkit-text-fill-color:#181108!important}
.protocolLearn,.storeBtn{ -webkit-text-fill-color:currentColor!important }
