
/* NMI V8.2 PUBLIC VISUAL RESCUE
   Scoped visual corrections only. No API/backend/licensing changes. */
:root{
  --nmi-ink:#071a2d;--nmi-navy:#071a2d;--nmi-navy-2:#0d2945;
  --nmi-blue:#1677d2;--nmi-cyan:#28c7df;--nmi-green:#24d79a;
  --nmi-muted:#5e7188;--nmi-line:#d9e3ec;--nmi-soft:#f4f8fb;--nmi-white:#fff;
}
html,body{overflow-x:hidden}
body{color:var(--nmi-ink)}
/* Fix accidental dark strips behind CTA groups */
.hero-actions,.cta-actions,.actions,.button-row,.hero-cta,.hero-buttons{
  background:transparent!important;box-shadow:none!important;
}
/* Buttons: remove pseudo-element wedges / inherited dark blocks */
a.btn,button.btn,.btn-primary,.btn-secondary,.button,.cta-button,
.hero-actions a,.cta-actions a{
  position:relative!important;overflow:hidden!important;isolation:isolate;
  clip-path:none!important;filter:none!important;box-shadow:none;
}
a.btn:before,a.btn:after,button.btn:before,button.btn:after,
.btn-primary:before,.btn-primary:after,.btn-secondary:before,.btn-secondary:after,
.hero-actions a:before,.hero-actions a:after,.cta-actions a:before,.cta-actions a:after{
  content:none!important;display:none!important;
}
.btn-primary,.hero-actions a:first-child,.cta-actions a:first-child{
  background:var(--nmi-blue)!important;color:#fff!important;border:1px solid var(--nmi-blue)!important;
}
.btn-secondary,.hero-actions a:nth-child(2),.cta-actions a:nth-child(2){
  background:#fff!important;color:var(--nmi-ink)!important;border:1px solid #cbd8e4!important;
}
/* Dark sections must remain readable */
.dark,.dark-section,.section-dark,[class*="dark-section"],[class*="deployment"],
.deploy,.deployment,.deployment-section{
  color:#f7fbff!important;
}
.dark h1,.dark h2,.dark h3,.dark h4,.dark p,.dark a,
.dark-section h1,.dark-section h2,.dark-section h3,.dark-section h4,.dark-section p,
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4,.section-dark p,
[class*="deployment"] h1,[class*="deployment"] h2,[class*="deployment"] h3,[class*="deployment"] p,
.deploy h1,.deploy h2,.deploy h3,.deploy p,.deployment h1,.deployment h2,.deployment h3,.deployment p{
  color:#f7fbff!important;
}
.dark .eyebrow,.dark-section .eyebrow,.section-dark .eyebrow,
[class*="deployment"] .eyebrow,.deploy .eyebrow,.deployment .eyebrow{
  color:#55dff0!important;
}
.dark .card,.dark-section .card,.section-dark .card,
[class*="deployment"] .card,.deploy .card,.deployment .card{
  background:#102c49!important;border-color:#274866!important;color:#f7fbff!important;
}
/* Demo / evaluation hero: prevent giant headline and washed-out controls */
body :is(.demo-hero,.evaluation-hero,.hero-demo,.hero-evaluation) h1{
  font-size:clamp(2.6rem,5vw,5.2rem)!important;line-height:.96!important;max-width:1050px!important;
}
body :is(.demo-hero,.evaluation-hero,.hero-demo,.hero-evaluation) p{
  color:#68809a!important;max-width:900px!important;
}
body :is(.demo-hero,.evaluation-hero,.hero-demo,.hero-evaluation) .btn-secondary{
  color:var(--nmi-ink)!important;background:#fff!important;
}
/* Partner promo block */
.partner-network,.partner-cta,[class*="partner-network"],[class*="partner-cta"]{
  overflow:hidden!important;
}
.partner-network a,.partner-cta a,[class*="partner-network"] a,[class*="partner-cta"] a{
  clip-path:none!important;transform:none!important;
}
.partner-network a:before,.partner-network a:after,.partner-cta a:before,.partner-cta a:after,
[class*="partner-network"] a:before,[class*="partner-network"] a:after,
[class*="partner-cta"] a:before,[class*="partner-cta"] a:after{content:none!important}
/* General contrast safety */
section[style*="background"] p{opacity:1}
@media(max-width:900px){
  body :is(.demo-hero,.evaluation-hero,.hero-demo,.hero-evaluation) h1{font-size:clamp(2.2rem,10vw,3.5rem)!important}
  .hero-actions,.cta-actions,.actions,.button-row{flex-wrap:wrap!important}
}
