/* AVIX Water v99 — final verification hardening. Loaded LAST. */
:root{
  --avix-brand:#4BC8EF;
  --avix-brand-text:#147C9D;
  --avix-ink:#12272E;
  --avix-body:#26383E;
  --avix-light:#D8E0E2;
  --avix-warm:#F7F6F2;
}

/* Readability guardrails: bright cyan is an accent, not paragraph copy. */
html body main :is(.is-highlight,.co18-upside-core,.sr-profile-visual .is-finish,.tc-direct,.tc-office-card,.fp-venture-card--primary,.fp-venture-card.is-primary,.team9-founder-identity,.fp-science-map,.v76-positioning-band) :is(p,small,address,li){
  color:var(--avix-light)!important;
  -webkit-text-fill-color:var(--avix-light)!important;
}
html body main :is(.sr-home-scientific-need,.sr-standard,.sr-market,.sr-science-profile,.s12-manufacturing,.sr-avix-science,.sr-product-range,.sr-product-platform,.sr-product-launch,.sr-portfolio,.co18-section--soft,.co18-section--upside,.team9-founder-section,.team9-build,.fp2-profile,.fp2-water,.fp-ventures,.tc-contact-path,.tc-contact-main,.avix-utility-body) :is(p,li,dd,address){
  color:var(--avix-body)!important;
}

/* Reference marks remain typographic, compact and attached to the previous word. */
.avix-ref-nowrap{white-space:nowrap!important;display:inline!important}
html body main sup,
html body main sup a{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body main sup a:hover,
html body main sup a:focus-visible{
  color:#0D6A88!important;
  text-shadow:0 0 10px rgba(75,200,239,.35)!important;
}
.avix-reference-popover{
  border:1px solid rgba(75,200,239,.78)!important;
  border-top:3px solid var(--avix-brand)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 18px 42px rgba(18,39,46,.20),0 0 0 4px rgba(75,200,239,.11)!important;
}

/* The Science hero gets a purpose-built mobile visual with no ripple/circle field. */
@media(max-width:767px){
  html body.science-v12 .s12-hero-visual,
  html body.science-v12 .s12-hero-visual picture{
    display:block!important;
    width:100%!important;
    max-width:390px!important;
    margin:8px auto 0!important;
  }
  html body.science-v12 .s12-hero-visual picture img,
  html body.science-v12 .s12-science-system-svg{
    display:block!important;
    width:100%!important;
    max-width:390px!important;
    height:auto!important;
    margin:0 auto!important;
    transform:none!important;
  }

  /* Mobile superscripts: no circles/pills, but keep an enlarged invisible hit area. */
  html body main sup{font-size:.68em!important;vertical-align:super!important;line-height:0!important}
  html body main sup a{position:relative!important;margin-left:2px!important;padding:0!important;color:var(--avix-brand-text)!important}
  html body main sup a::after{content:""!important;position:absolute!important;inset:-9px -7px!important;background:transparent!important}

  /* Reference accordion: no outer card on mobile. */
  html body .sr-scientific-references{
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  }
  html body .sr-scientific-references>summary{
    border-left:0!important;border-right:0!important;border-radius:0!important;background:transparent!important;
  }

  /* One consistent, readable CTA scale on mobile. */
  html body main :is(.av5-button,.avix-hero-cta,.avix-utility-btn){
    min-height:56px!important;font-size:16px!important;line-height:1.2!important;font-weight:750!important;
  }

  /* Swipeable section subnav: never squeeze labels to fit the viewport. */
  html body .avix-section-nav__viewport{overflow-x:auto!important;overscroll-behavior-x:contain!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important}
  html body .avix-section-nav__inner{width:max-content!important;max-width:none!important;min-width:100%!important;justify-content:flex-start!important}
  html body .avix-section-nav__link{flex:0 0 auto!important;white-space:nowrap!important;scroll-snap-align:center!important}
}
