/* xactinsure WCAG-AA contrast floor. One shade off the client's own tokens.
   Measured pairs and ratios are in bin/xi_a11y_css.py. */
:root{
  --green-600:#2a7f4b;   /* white label on this = 4.96:1 (was 4.05) */
  --green-700:#257444;   /* green text on cream/white = 5.50/5.74 (was 3.88/4.05) */
  --ink-400:#64748b;     /* muted text on cream = 4.56, on white = 4.76 (was 2.46/2.56) */
}
/* primary button: white label on the brand green, one shade darker */
a.btn.btn-primary,.btn-primary,.btn.btn-primary{background-color:#2a7f4b !important;color:#fff !important}
a.btn.btn-primary:hover,.btn-primary:hover,.btn.btn-primary:hover,
a.btn.btn-primary:focus-visible,.btn-primary:focus-visible{background-color:#257444 !important}
/* green that sits ON the navy must go LIGHTER, not darker */
/* The Astro hero is navy; the standalone article pages have their own LIGHT hero and
   need the dark tint (measured on /hospice-coverage-medicare: #4fb87a on #fbf3f3 =
   2.27). xi-standalone marks the pages that do NOT load Base css. */
.hero .eyebrow,.hero strong,
.section--dark .eyebrow,.section--dark strong,.dark .eyebrow,.dark strong{color:#4fb87a !important}
.xi-standalone .hero .eyebrow,.xi-standalone .hero strong,
.xi-standalone .eyebrow,.xi-standalone strong{color:#257444 !important}
/* standalone article pages: badge / breadcrumb / amber CTA / dark site index */
.cat-badge{background:#0e7490 !important;color:#fff !important}
.breadcrumb,.breadcrumb a{color:#5a6675 !important}
a.cta-btn{color:#1a2233 !important;background:#f59e0b !important}
footer .site-index,footer .site-index strong,footer .site-index a,footer .site-index span{color:#e6e9f5 !important}
/* their nav uses UA default link styling (measured 20/61 links blue+underline) */
/* The standalone article pages: only three header anchors fell back to UA default
   (logo link, phone link, CTA underline) and their dropdown panels are WHITE, so a
   blanket light colour on nav links made 11 of them unreadable (1.21). Measured
   2026-11-18T07:06Z with a nav probe: 61 nav anchors, 3 UA-default. */
.xi-standalone header.site-header a{text-decoration:none !important}
.xi-standalone header.site-header .header-phone,
.xi-standalone header.site-header a[aria-label],
.xi-standalone header.site-header .logo-lockup{color:#0f172a !important}
/* the top-level nav links (direct children of nav.main-nav) were UA blue on the dark
   header - this is the real `unstyled` finding; the dropdown PANELS are white and keep
   dark ink, which is why the selector is a direct-child one. */
/* MEASURED 2026-11-18T07:08Z: on the standalone article pages `body > nav` is the
   DARK bar (light links) while `header.site-header > nav.main-nav` sits on WHITE, so
   the same element name needs opposite treatment. */
.xi-standalone nav.main-nav > a{color:#0f172a !important;text-decoration:none !important}
.xi-standalone header.site-header .nav-logo,.xi-standalone header.site-header .logo-word
  {color:#0f172a !important}
.xi-standalone header.site-header .nav-logo span{color:#b45309 !important}
.xi-standalone .article-meta{color:#1a2233 !important}
.xi-standalone .nav-links > li > a{color:#e6e9f5 !important;text-decoration:none !important}
.xi-standalone .dropdown a,.xi-standalone .dropdown-wide a,
.xi-standalone .nav-links .dropdown a{color:#0f172a !important;text-decoration:none !important}
/* green text on light surfaces */
.pathway-link,.pathways .pathway-link,a.pathway .pathway-link{color:#257444 !important}
/* muted text that sits on cream or white */
.hero-sub,.pathways p,.pathway p,.footnote,small.muted{color:#64748b}
.hero .hero-sub,.section--dark small.muted{color:#cbd5e1}
/* The lead form is dropped straight onto the navy band with no card of its own, so
   its navy heading and labels landed on the navy background (measured 1.00:1 - the
   text was literally invisible). Give it the card the design implies, then keep the
   ink dark on that card. Pages where the form already sits on white do not match. */
.final-cta .lead-form,.cta-band .lead-form{
  background:#ffffff;border-radius:14px;padding:1.1rem 1.2rem;box-shadow:0 10px 30px rgba(8,10,40,.25)}
.final-cta .lead-form h3,.cta-band .lead-form h3,
.final-cta .lead-form label,.cta-band .lead-form label,
.final-cta .lead-form label span,.cta-band .lead-form label span,
.final-cta .lead-form p,.cta-band .lead-form p,
.final-cta .lead-form legend,.cta-band .lead-form legend,
.final-cta .lead-form .sms-consent a,.cta-band .lead-form .sms-consent a,
.final-cta .lead-form p.sms-note a,.cta-band .lead-form p.sms-note a{color:#1a2233 !important}
/* every plain link inside the form card (the consent/privacy links were white) */
.final-cta .lead-form a:not(.btn):not(.btn-primary),
.cta-band .lead-form a:not(.btn):not(.btn-primary){color:#1a2233 !important}
/* a plain paragraph sitting on the navy band */
div.cta-band > p,.cta-band > p{color:#e6e9f5 !important}
/* the trust strip sits on the navy bar: its green has to be the light tint */
.trustbar strong,.trustbar a,.trustbar .trust-rating strong,.trustbar .trust-google a strong{color:#7fd6a0 !important}
.trustbar,.trustbar p,.trustbar span{color:#eef1f8}
/* footer.site-footer is navy and its body copy (including the required Medicare
   disclaimer) was slate-600 on navy = 2.25:1. Colour only; the wording is untouched. */
footer.site-footer p,footer.site-footer .footer-legal p,footer.site-footer .footer-grid p,
footer.site-footer li,footer.site-footer div{color:#e6e9f5 !important}
footer.site-footer .footer-legal strong,footer.site-footer .footer-grid strong{color:#ffffff !important}
