/* Matte brand palette: muted, grey-balanced greens replace the vivid surface.
   The original logo asset stays unchanged; reading ink and pale areas stay intact. */
body.vh-page {
  --vh-brand-logo-green:#018b3a;
  --vh-brand-surface:#3f7056;
  --vh-brand-medium:#70927a;
  --vh-brand-leaf:#819879;
  --vh-brand-bright:#b5c5a5;
  --vh-brand-lime:#c3d0b4;
}

/* Match each full-width surface and its wave; never leave the old dark edge. */
body.vh-page .vh-global-footer,
body.vh-page .vh-global-footer::before,
body.vh-page .vh-document-cta,
body.vh-page .vh-document-cta::before,
body.vh-page main > section.vh-cta-section,
body.vh-page.vh-home-document main > section.vh-doc-section--providers,
body.vh-page.vh-interior-page main > section[data-design-surface="forest"] {
  --vh-section-surface:var(--vh-brand-surface);
  background:var(--vh-brand-surface);
}

/* The same replacement on proof panels, featured cards and optional banners. */
body.vh-page :is(.vh-intro-proof,.vh-doc-about-proof,.vh-service-card--featured,.vh-promo-banner),
body.vh-page .vh-doc-connection li:first-child .vh-doc-item-copy,
body.vh-page.vh-interior-page [data-section-category="service-directory"] .vh-so-accent {
  background:var(--vh-brand-surface);
  color:#fff;
}
body.vh-page .vh-service-card--featured,
body.vh-page.vh-interior-page [data-section-category="service-directory"] .vh-so-accent {
  border-color:var(--vh-brand-medium);
}

/* Consistent, readable white text on the matte green surface. */
body.vh-page .vh-global-footer,
body.vh-page .vh-global-footer a,
body.vh-page .vh-global-footer__bottom p,
body.vh-page .vh-intro-proof :is(.vh-intro-proof__label,.vh-intro-proof__tags),
body.vh-page .vh-service-card--featured :is(.vh-service-kicker,.vh-service-card__summary,.vh-doc-link),
body.vh-page .vh-document-cta :is(.vh-rich,.vh-lead),
body.vh-page.vh-home-document .vh-doc-section--providers :is(.vh-eyebrow,.vh-doc-heading__copy p,.vh-provider-panel__role,.vh-provider-panel .vh-rich,.vh-doc-provider-facts) {
  color:#fff;
}
body.vh-page .vh-document-cta .vh-eyebrow { color:#fff !important; }

/* Quiet sage accents, without vivid lime or shine-like gradients. */
body.vh-page .vh-global-submenu { border-top-color:var(--vh-brand-medium); }
body.vh-page .vh-intro-proof::before { background:var(--vh-brand-lime); }
body.vh-page .vh-intro-proof__tags { border-top-color:var(--vh-brand-leaf); }
body.vh-page .vh-global-footer a:is(:hover,:focus-visible) {
  color:#fff;
  text-decoration:underline;
  text-decoration-color:var(--vh-brand-lime);
  text-underline-offset:5px;
}
body.vh-page .vh-global-footer a:focus-visible { outline:2px solid #fff; outline-offset:5px; }
/* Keep the existing curved boundary perceptible when CTA and footer share green. */
body.vh-page .vh-document-cta + .vh-global-footer::after,
body.vh-page:has(main > .vh-document-cta:last-child) .vh-global-footer::after {
  content:"";
  position:absolute;
  inset:-72px 0 auto;
  height:72px;
  z-index:0;
  background:var(--vh-brand-lime);
  opacity:.35;
  pointer-events:none;
  -webkit-mask:url("vitology-section-wave-ribbon.svg") center / 100% 100% no-repeat;
  mask:url("vitology-section-wave-ribbon.svg") center / 100% 100% no-repeat;
}
@media(max-width:580px) {
  body.vh-page .vh-document-cta + .vh-global-footer::after,
  body.vh-page:has(main > .vh-document-cta:last-child) .vh-global-footer::after { top:-52px; height:52px; }
}

/* Replace the old forest hover fill while preserving existing motion.
   White/outlined secondary buttons retain their current light hover treatment. */
body.vh-page .vh-button:not(.vh-button--secondary):hover {
  background:var(--vh-brand-surface);
  border-color:var(--vh-brand-surface);
}
body.vh-page.vh-home-document [data-pdf-home-block="1"] .vh-hero-bill:hover,
body.vh-page.vh-article-page .vh-article-content .vh-article-cta .vh-button:hover {
  background:var(--vh-brand-surface);
  border-color:var(--vh-brand-surface);
  color:#fff !important;
}
