/* Brand roles only: deliberately do not remap --blue, body ink, backgrounds or controls. */
:root {
  --eex-title-blue: #193f68;
}

h1, h2, h3, h4, h5, h6,
.home-hero h1,
.home-first-step__content h2,
.home-precheck h2,
.home-benefits__content h2,
.home-results__content h2,
.replica-vulnerable h3,
.replica-contact-intro h2,
.replica-library-intro h2,
.replica-legal h2,
.replica-form > h2,
body:not(.home) .replica-interest-law h3,
body:not(.home) .replica-vulnerable h3,
.v5-brand-hero h1,
.cookie-panel-header h2,
.eex-about-identity h1,
.eex-about-identity--reference h1,
.eex-about-mechanism h2,
.eex-about-introduction h2,
.eex-about-philosophy h2,
.eex-reference-team__heading h2,
.eex-reference-person__header h3,
.eex-legal__hero h1,
.eex-legal__section h2,
.eex-legal__section h3,
.eex-precheck-hero__copy h1,
.eex-single-form .v2-form-step h2,
.eex-contact-form-section h2,
.eexa-heading h2,
.eex-office-heading h2,
.eex-office-card h3,
.eex-success-dialog h2,
.eex-interest-guide h1,
.eex-interest-guide h2,
.eex-interest-guide h3,
.eex-interest-guide h4,
.library-showcase-hero h1,
.library-showcase-intro h2,
.home .v2-hero .v2-hero__copy h1,
.home .eex-mechanism-2026 .eex-mechanism__content h2,
.home .eex-codeethics .eex-codeethics__content h2,
.home .eex-negotiation .eex-negotiation__content h2,
.home .eex-about-intro h2,
.eex-eligibility-heading h2,
body .site-main .eex-contact-form-section [data-precheck-form] > section[data-form-section] > h2,
:is(#main-content, #eexb-preview) .eex-about-introduction__copy > h1,
:is(#main-content, #eexb-preview) .v2-hero .v2-hero__copy > h1 > .eex-hero-primary,
:is(#main-content, #eexb-preview) .v2-hero .v2-hero__copy > h1 > .eex-hero-subtitle {
  color: var(--eex-title-blue);
}

/* Existing white-on-dark rules remain more specific than the base h1-h6 rule. */
body .site-main .eex-contact-form-section [data-precheck-form] > section[data-form-section] > h2.eex-contact-details-heading {
  color: #b78320;
}

/* Exclude the mobile menu CTA: it keeps its white foreground on its own button surface. */
.site-header .primary-navigation a:not(.button),
.site-header .primary-navigation .current-menu-item > a:not(.button),
.site-header .primary-navigation a:not(.button):is(:hover, :focus-visible),
.site-header .site-header__email,
.site-header .site-header__email:is(:hover, :focus-visible),
.v2-stat-grid strong,
.v2-stat-grid span {
  color: var(--eex-title-blue);
}
