/* Intent Intelligence for Business: explicit foreground/background pairing.
   Page-scoped contrast fix for inherited global dark-panel typography. */
body.yitm-intent-proof{--intent-ink:#17304f;--intent-muted:#38516b;--intent-paper:#f7fbff;--intent-navy:#102b4b}
body.yitm-intent-proof main#main-content>.yitm-intent-hero{
  background:#102b4b!important;color:#f4f8ff!important;
}
body.yitm-intent-proof .yitm-intent-hero h1,
body.yitm-intent-proof .yitm-intent-hero h2,
body.yitm-intent-proof .yitm-intent-hero h3,
body.yitm-intent-proof .yitm-intent-hero p,
body.yitm-intent-proof .yitm-intent-hero .yitm-intent-kicker,
body.yitm-intent-proof .yitm-intent-hero .yitm-intent-lead,
body.yitm-intent-proof .yitm-intent-hero .yitm-intent-breadcrumb{
  color:#f4f8ff!important;text-shadow:none!important;
}
body.yitm-intent-proof .yitm-intent-hero a:not(.yitm-intent-primary):not(.yitm-intent-secondary){color:#dcecff!important}
body.yitm-intent-proof .yitm-intent-hero .yitm-intent-secondary{
  background:transparent!important;color:#f4f8ff!important;border-color:#dcecff!important;
}
body.yitm-intent-proof .yitm-intent-hero .yitm-intent-primary{
  background:#f1f7ff!important;color:#113761!important;border-color:#f1f7ff!important;
}
body.yitm-intent-proof main#main-content>.yitm-intent-section{
  background:#f7fbff!important;color:#17304f!important;
}
body.yitm-intent-proof main#main-content>.yitm-intent-section:nth-of-type(even){
  background:#edf5ff!important;
}
body.yitm-intent-proof .yitm-intent-section>.wrap>h2,
body.yitm-intent-proof .yitm-intent-section>.wrap>h3,
body.yitm-intent-proof .yitm-intent-section>.wrap>p,
body.yitm-intent-proof .yitm-intent-section .yitm-commercial-eyebrow{
  color:#17304f!important;text-shadow:none!important;
}
body.yitm-intent-proof .yitm-intent-section>.wrap>p{line-height:1.7!important}
body.yitm-intent-proof .yitm-intent-section :is(
 .yitm-intent-step,.yitm-commercial-card,.yitm-intent-compare-card,
 .yitm-intent-advantage,.yitm-intent-card,.yitm-proof-panel,
 .yitm-commercial-process article,.yitm-commercial-fit>div,
 .a0019508-intent-gallery-grid article){
  background:#fff!important;color:#17304f!important;
  border-color:#b9d1e5!important;text-shadow:none!important;
}
body.yitm-intent-proof .yitm-intent-section :is(
 .yitm-intent-step,.yitm-commercial-card,.yitm-intent-compare-card,
 .yitm-intent-advantage,.yitm-intent-card,.yitm-proof-panel,
 .yitm-commercial-process article,.yitm-commercial-fit>div,
 .a0019508-intent-gallery-grid article) :is(h2,h3,h4,strong,span,p,li){
  color:#17304f!important;text-shadow:none!important;
}
body.yitm-intent-proof .yitm-intent-section :is(.yitm-intent-compare-label,.yitm-commercial-eyebrow){
  color:#23518b!important;
}
body.yitm-intent-proof .yitm-intent-section .yitm-commercial-callout{
  background:#102b4b!important;border-color:#42658c!important;color:#f4f8ff!important;
}
body.yitm-intent-proof .yitm-intent-section .yitm-commercial-callout :is(h2,h3,p,strong,span){
  color:#f4f8ff!important;text-shadow:none!important;
}
body.yitm-intent-proof .yitm-intent-section .yitm-commercial-callout .yitm-intent-primary{
  background:#f1f7ff!important;color:#123960!important;border-color:#f1f7ff!important;
}
body.yitm-intent-proof .yitm-intent-section .yitm-commercial-callout .yitm-intent-secondary{
  background:transparent!important;color:#f4f8ff!important;border-color:#dcecff!important;
}
body.yitm-intent-proof .yitm-intent-section a:not(.yitm-intent-primary):not(.yitm-intent-secondary){
  color:#154f93;
}
body.yitm-intent-proof .yitm-intent-section a:focus-visible,
body.yitm-intent-proof .yitm-intent-hero a:focus-visible{
  outline:3px solid #f6ba3c!important;outline-offset:4px!important;
}
@media(prefers-contrast:more){
  body.yitm-intent-proof main#main-content>.yitm-intent-section{background:#fff!important}
  body.yitm-intent-proof .yitm-intent-section :is(.yitm-commercial-card,.yitm-intent-card,.yitm-intent-step){border-width:2px!important}
}

/* 2026-11-12 button contrast: yitm.css sets `color:#fff!important` on .yitm-intent-primary behind an
   html:has(meta) selector that out-ranked the rules above, giving white text on a pale button.
   Colours are now paired by background: dark panels get pale-button/dark-text and outline/light-text;
   light panels get solid-blue/white-text and white-button/dark-text. Specificity is raised deliberately.
   Rules sit in the same cascade layer as the offending rules (tokens), which is declared first: for !important declarations an earlier layer beats a later one,
   and any layered rule beats an unlayered one, so this is the only place these can win without editing yitm.css. */
@layer tokens{
html:root:root:root:root:root:root body.yitm-intent-proof a.yitm-intent-primary.yitm-intent-primary{
  background:#0a5bc4!important;color:#fff!important;border:2px solid #0a5bc4!important;-webkit-text-fill-color:#fff!important;
}
html:root:root:root:root:root:root body.yitm-intent-proof a.yitm-intent-secondary.yitm-intent-secondary{
  background:#fff!important;color:#0a376c!important;border:2px solid #0a376c!important;-webkit-text-fill-color:#0a376c!important;
}
html:root:root:root:root:root:root body.yitm-intent-proof :is(.yitm-intent-hero,.yitm-commercial-callout,.yitm-proof-dark) a.yitm-intent-primary.yitm-intent-primary{
  background:#f1f7ff!important;color:#0d2f57!important;border-color:#f1f7ff!important;-webkit-text-fill-color:#0d2f57!important;
}
html:root:root:root:root:root:root body.yitm-intent-proof :is(.yitm-intent-hero,.yitm-commercial-callout,.yitm-proof-dark) a.yitm-intent-secondary.yitm-intent-secondary{
  background:transparent!important;color:#fff!important;border-color:#dcecff!important;-webkit-text-fill-color:#fff!important;
}
html:root:root:root:root:root:root body.yitm-intent-proof :is(.yitm-intent-primary,.yitm-intent-secondary):hover{filter:brightness(.96)}
}
