/*
 * Elena Doroshenko 4.5 Final — Surface Ownership
 * Loaded last, after the 4.3 visual layer. Unlike 4.4, this file owns BOTH
 * background and foreground for variable cards, so text can never be styled
 * independently from the surface it sits on.
 */

body.ed-signature-v450 {
  --ed45-navy: #082c52;
  --ed45-navy-deep: #051e39;
  --ed45-text: #263c4d;
  --ed45-muted: #526777;
  --ed45-gold: #b47b2d;
  --ed45-gold-light: #f0d49a;
  --ed45-paper: #fffaf1;
  --ed45-ice: #eef4f6;
  --ed45-cream: #f8efe3;
  --ed45-white: #ffffff;
  --ed45-dark-text: #ffffff;
  --ed45-dark-muted: rgba(255,255,255,.84);
}

/* Generic typography on ordinary light page surfaces. */
body.ed-signature-v450 .ed-hero--conversion,
body.ed-signature-v450 .ed-scenarios,
body.ed-signature-v450 .ed-formats,
body.ed-signature-v450 .ed-first-contact,
body.ed-signature-v450 .ed-education--conversion,
body.ed-signature-v450 .ed-expertise,
body.ed-signature-v450 .ed-about--conversion,
body.ed-signature-v450 .ed-faq,
body.ed-signature-v450.ed-inner-page .ed-inner-hero,
body.ed-signature-v450.ed-inner-page .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) {
  color: var(--ed45-text) !important;
}
body.ed-signature-v450 .ed-hero--conversion > .ed-shell h1,
body.ed-signature-v450 .ed-hero--conversion > .ed-shell h2,
body.ed-signature-v450 .ed-hero--conversion > .ed-shell h3,
body.ed-signature-v450 .ed-scenarios > .ed-shell > .ed-section-heading h2,
body.ed-signature-v450 .ed-formats > .ed-shell > .ed-section-heading h2,
body.ed-signature-v450 .ed-first-contact h2,
body.ed-signature-v450 .ed-education--conversion > .ed-shell > .ed-section-heading h2,
body.ed-signature-v450 .ed-expertise > .ed-shell > .ed-section-heading h2,
body.ed-signature-v450 .ed-about--conversion .ed-about__copy h2,
body.ed-signature-v450 .ed-faq h2,
body.ed-signature-v450.ed-inner-page .ed-inner-hero h1,
body.ed-signature-v450.ed-inner-page .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) h1,
body.ed-signature-v450.ed-inner-page .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) h2,
body.ed-signature-v450.ed-inner-page .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) h3,
body.ed-signature-v450.ed-inner-page .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) h4 {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
}
body.ed-signature-v450 .ed-scenarios > .ed-shell > .ed-section-heading p,
body.ed-signature-v450 .ed-formats > .ed-shell > .ed-section-heading p,
body.ed-signature-v450 .ed-first-contact p,
body.ed-signature-v450 .ed-education--conversion > .ed-shell > .ed-section-heading p,
body.ed-signature-v450 .ed-expertise > .ed-shell > .ed-section-heading p,
body.ed-signature-v450 .ed-about--conversion .ed-about__copy p,
body.ed-signature-v450 .ed-faq p,
body.ed-signature-v450.ed-inner-page .ed-inner-hero p,
body.ed-signature-v450.ed-inner-page .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) p,
body.ed-signature-v450.ed-inner-page .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) li,
body.ed-signature-v450.ed-inner-page .ed-page-section:not(.ed-page-section--financial):not(.ed-page-section--quote) small {
  color: var(--ed45-muted) !important;
  -webkit-text-fill-color: var(--ed45-muted) !important;
}
body.ed-signature-v450 .ed-overline,
body.ed-signature-v450 .ed-page-question {
  color: #805a26 !important;
  -webkit-text-fill-color: #805a26 !important;
}

/* HERO QUOTE: dark surface + light type, explicitly paired. */
body.ed-signature-v450.ed-home .ed-hero__quote {
  color: var(--ed45-dark-text) !important;
  background: rgba(5,30,57,.96) !important;
  border-color: rgba(240,212,154,.38) !important;
}
body.ed-signature-v450.ed-home .ed-hero__quote p,
body.ed-signature-v450.ed-home .ed-hero__quote strong,
body.ed-signature-v450.ed-home .ed-hero__quote em,
body.ed-signature-v450.ed-home .ed-hero__quote span:not(.ed-hero__quote-mark) {
  color: var(--ed45-dark-muted) !important;
  -webkit-text-fill-color: var(--ed45-dark-muted) !important;
}
body.ed-signature-v450.ed-home .ed-hero__quote .ed-hero__quote-mark {
  color: var(--ed45-gold-light) !important;
  -webkit-text-fill-color: var(--ed45-gold-light) !important;
}

/* SCENARIOS: pair background and foreground per card. */
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(1) {
  color: var(--ed45-dark-text) !important;
  background: linear-gradient(145deg,#092f58,#174f78) !important;
}
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(5) {
  color: var(--ed45-dark-text) !important;
  background: linear-gradient(145deg,#2d7775,#245966) !important;
}
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(1) h3,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(5) h3,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(1) > span,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(5) > span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(1) p,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(5) p {
  color: var(--ed45-dark-muted) !important;
  -webkit-text-fill-color: var(--ed45-dark-muted) !important;
}
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(2) { background: linear-gradient(145deg,#d6e7ed,#f5f8f8) !important; }
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(3) { background: linear-gradient(145deg,#fffaf0,#ecdcc5) !important; }
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(4) { background: linear-gradient(145deg,#fffdf8,#e9eef0) !important; }
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(6) { background: linear-gradient(145deg,#f2e7d8,#fffdf8) !important; }
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(2),
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(3),
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(4),
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(6) {
  color: var(--ed45-text) !important;
}
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(2) h3,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(3) h3,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(4) h3,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(6) h3 {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
}
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(2) p,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(3) p,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(4) p,
body.ed-signature-v450.ed-home .ed-scenario-card:nth-child(6) p {
  color: var(--ed45-muted) !important;
  -webkit-text-fill-color: var(--ed45-muted) !important;
}
body.ed-signature-v450.ed-home .ed-scenario-action {
  color: #fff !important;
  background: radial-gradient(circle at 88% 40%,rgba(46,116,116,.45),transparent 35%),var(--ed45-navy-deep) !important;
}
body.ed-signature-v450.ed-home .ed-scenario-action p,
body.ed-signature-v450.ed-home .ed-scenario-action strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* FORMATS: 1/2/3 are light, only 4 is dark. This fixes the exact regression. */
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(1) {
  color: var(--ed45-text) !important;
  background: #fffdf8 !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(2) {
  color: var(--ed45-text) !important;
  background: #eef4f6 !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(3) {
  color: var(--ed45-text) !important;
  background: #f8efe3 !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(1) h3,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(2) h3,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(3) h3,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(1) a,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(2) a,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(3) a {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(1) p,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(2) p,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(3) p {
  color: var(--ed45-muted) !important;
  -webkit-text-fill-color: var(--ed45-muted) !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(1) .ed-service-card__label,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(2) .ed-service-card__label,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(3) .ed-service-card__label {
  color: #6f4c1e !important;
  -webkit-text-fill-color: #6f4c1e !important;
  background: rgba(201,155,87,.13) !important;
  border-color: rgba(201,155,87,.28) !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(1) .ed-service-card__icon,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(2) .ed-service-card__icon,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(3) .ed-service-card__icon {
  color: #a66f26 !important;
  background: rgba(255,255,255,.72) !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(4) {
  color: #fff !important;
  background: linear-gradient(145deg,#0a3158,#175878) !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(4) h3,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(4) a,
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(4) .ed-service-card__label {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(4) p {
  color: var(--ed45-dark-muted) !important;
  -webkit-text-fill-color: var(--ed45-dark-muted) !important;
}
body.ed-signature-v450.ed-home .ed-format-grid--conversion .ed-service-card:nth-child(4) .ed-service-card__icon {
  color: var(--ed45-gold-light) !important;
  background: rgba(255,255,255,.08) !important;
}

/* DARK HOME SECTIONS: own both surface and foreground. */
body.ed-signature-v450.ed-home .ed-financial-story {
  color: #fff !important;
  background: radial-gradient(circle at 79% 28%,rgba(38,145,153,.38),transparent 35%),radial-gradient(circle at 16% 88%,rgba(201,155,87,.18),transparent 27%),linear-gradient(135deg,#061f3b,#0a3c68 58%,#0c5268) !important;
}
body.ed-signature-v450.ed-home .ed-approach--conversion {
  color: #fff !important;
  background: radial-gradient(circle at 88% 16%,rgba(37,132,137,.42),transparent 34%),linear-gradient(135deg,#061f3b,#0a3b65 65%,#0d5169) !important;
}
body.ed-signature-v450.ed-home .ed-final-cta {
  color: #fff !important;
  background: radial-gradient(circle at 82% 40%,rgba(39,131,137,.45),transparent 34%),linear-gradient(135deg,#051e39,#08365f 62%,#0a5268) !important;
}
body.ed-signature-v450.ed-home .ed-financial-story h1,
body.ed-signature-v450.ed-home .ed-financial-story h2,
body.ed-signature-v450.ed-home .ed-financial-story h3,
body.ed-signature-v450.ed-home .ed-financial-story strong,
body.ed-signature-v450.ed-home .ed-approach--conversion h1,
body.ed-signature-v450.ed-home .ed-approach--conversion h2,
body.ed-signature-v450.ed-home .ed-approach--conversion h3,
body.ed-signature-v450.ed-home .ed-approach--conversion strong,
body.ed-signature-v450.ed-home .ed-final-cta h1,
body.ed-signature-v450.ed-home .ed-final-cta h2,
body.ed-signature-v450.ed-home .ed-final-cta h3,
body.ed-signature-v450.ed-home .ed-final-cta strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.ed-signature-v450.ed-home .ed-financial-story p,
body.ed-signature-v450.ed-home .ed-financial-story li,
body.ed-signature-v450.ed-home .ed-approach--conversion p,
body.ed-signature-v450.ed-home .ed-approach--conversion li,
body.ed-signature-v450.ed-home .ed-final-cta p {
  color: var(--ed45-dark-muted) !important;
  -webkit-text-fill-color: var(--ed45-dark-muted) !important;
}
body.ed-signature-v450.ed-home .ed-financial-story .ed-overline,
body.ed-signature-v450.ed-home .ed-approach--conversion .ed-overline,
body.ed-signature-v450.ed-home .ed-final-cta .ed-overline {
  color: var(--ed45-gold-light) !important;
  -webkit-text-fill-color: var(--ed45-gold-light) !important;
}
body.ed-signature-v450.ed-home .ed-approach--conversion .ed-approach__photo figcaption {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
  background: rgba(255,250,241,.97) !important;
}

/* EXPERTISE SPLIT: heading + publications light; courses dark. */
body.ed-signature-v450.ed-home .ed-expertise > .ed-shell > .ed-section-heading {
  color: var(--ed45-text) !important;
}
body.ed-signature-v450.ed-home .ed-expertise > .ed-shell > .ed-section-heading h2 {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
}
body.ed-signature-v450.ed-home .ed-expertise > .ed-shell > .ed-section-heading p {
  color: #445c6d !important;
  -webkit-text-fill-color: #445c6d !important;
}
body.ed-signature-v450.ed-home .ed-expertise .ed-courses {
  color: #fff !important;
  background: linear-gradient(145deg,#061f3b,#0c466f) !important;
}
body.ed-signature-v450.ed-home .ed-expertise .ed-courses h2,
body.ed-signature-v450.ed-home .ed-expertise .ed-courses h3,
body.ed-signature-v450.ed-home .ed-expertise .ed-courses strong,
body.ed-signature-v450.ed-home .ed-expertise .ed-courses a {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.ed-signature-v450.ed-home .ed-expertise .ed-courses p,
body.ed-signature-v450.ed-home .ed-expertise .ed-courses small {
  color: var(--ed45-dark-muted) !important;
  -webkit-text-fill-color: var(--ed45-dark-muted) !important;
}
body.ed-signature-v450.ed-home .ed-expertise .ed-courses .ed-overline {
  color: var(--ed45-gold-light) !important;
  -webkit-text-fill-color: var(--ed45-gold-light) !important;
}
body.ed-signature-v450.ed-home .ed-expertise .ed-publications {
  color: var(--ed45-text) !important;
  background: rgba(255,251,244,.96) !important;
}
body.ed-signature-v450.ed-home .ed-expertise .ed-publications h2,
body.ed-signature-v450.ed-home .ed-expertise .ed-publications h3,
body.ed-signature-v450.ed-home .ed-expertise .ed-publications strong,
body.ed-signature-v450.ed-home .ed-expertise .ed-publications a {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
}
body.ed-signature-v450.ed-home .ed-expertise .ed-publications p,
body.ed-signature-v450.ed-home .ed-expertise .ed-publications small {
  color: var(--ed45-muted) !important;
  -webkit-text-fill-color: var(--ed45-muted) !important;
}

/* ABOUT facts: pair each background with its text. */
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(1),
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(3) {
  color: var(--ed45-text) !important;
  background: rgba(255,253,249,.92) !important;
}
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(1) strong,
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(3) strong {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
}
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(1) span,
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(3) span {
  color: var(--ed45-muted) !important;
  -webkit-text-fill-color: var(--ed45-muted) !important;
}
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(2),
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(4) {
  color: #fff !important;
  background: var(--ed45-navy) !important;
}
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(2) strong,
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(4) strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(2) span,
body.ed-signature-v450.ed-home .ed-about__facts > div:nth-child(4) span {
  color: var(--ed45-dark-muted) !important;
  -webkit-text-fill-color: var(--ed45-dark-muted) !important;
}

/* HOME light components: explicit foreground ownership. */
body.ed-signature-v450 .ed-first-contact__copy,
body.ed-signature-v450 .ed-first-contact__steps,
body.ed-signature-v450 .ed-tabs,
body.ed-signature-v450 .ed-document-card,
body.ed-signature-v450 .ed-publication-card,
body.ed-signature-v450 .ed-faq__heading,
body.ed-signature-v450 .ed-faq__items,
body.ed-signature-v450 .ed-faq__items details,
body.ed-signature-v450 .ed-boundary-note,
body.ed-signature-v450 .ed-fact-panel,
body.ed-signature-v450 .ed-principles-grid article,
body.ed-signature-v450 .ed-topic-grid article,
body.ed-signature-v450 .ed-compare-grid article,
body.ed-signature-v450 .ed-proof-bar > div,
body.ed-signature-v450 .ed-link-deck a,
body.ed-signature-v450 .ed-course-archive__item,
body.ed-signature-v450 .ed-publication-row,
body.ed-signature-v450 .ed-objection-box,
body.ed-signature-v450 .ed-boundary-wide,
body.ed-signature-v450 .ed-contact-page__methods,
body.ed-signature-v450 .ed-contact-page__form,
body.ed-signature-v450 .ed-contact-page__note {
  color: var(--ed45-text) !important;
}
body.ed-signature-v450 .ed-first-contact__copy h2,
body.ed-signature-v450 .ed-first-contact__steps strong,
body.ed-signature-v450 .ed-document-card strong,
body.ed-signature-v450 .ed-publication-card strong,
body.ed-signature-v450 .ed-faq__heading h2,
body.ed-signature-v450 .ed-faq__items summary,
body.ed-signature-v450 .ed-fact-panel h2,
body.ed-signature-v450 .ed-fact-panel h3,
body.ed-signature-v450 .ed-principles-grid h2,
body.ed-signature-v450 .ed-principles-grid h3,
body.ed-signature-v450 .ed-topic-grid h2,
body.ed-signature-v450 .ed-topic-grid h3,
body.ed-signature-v450 .ed-compare-grid h2,
body.ed-signature-v450 .ed-compare-grid h3,
body.ed-signature-v450 .ed-proof-bar strong,
body.ed-signature-v450 .ed-link-deck strong,
body.ed-signature-v450 .ed-course-archive__item h2,
body.ed-signature-v450 .ed-course-archive__item h3,
body.ed-signature-v450 .ed-publication-row h2,
body.ed-signature-v450 .ed-publication-row h3,
body.ed-signature-v450 .ed-objection-box h2,
body.ed-signature-v450 .ed-boundary-wide h2,
body.ed-signature-v450 .ed-contact-page__methods h2,
body.ed-signature-v450 .ed-contact-page__form h2 {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
}
body.ed-signature-v450 .ed-first-contact__copy p,
body.ed-signature-v450 .ed-first-contact__steps p,
body.ed-signature-v450 .ed-document-card small,
body.ed-signature-v450 .ed-publication-card p,
body.ed-signature-v450 .ed-faq__heading p,
body.ed-signature-v450 .ed-faq__items p,
body.ed-signature-v450 .ed-fact-panel p,
body.ed-signature-v450 .ed-fact-panel small,
body.ed-signature-v450 .ed-principles-grid p,
body.ed-signature-v450 .ed-topic-grid p,
body.ed-signature-v450 .ed-compare-grid p,
body.ed-signature-v450 .ed-proof-bar small,
body.ed-signature-v450 .ed-link-deck p,
body.ed-signature-v450 .ed-course-archive__item p,
body.ed-signature-v450 .ed-publication-row p,
body.ed-signature-v450 .ed-objection-box p,
body.ed-signature-v450 .ed-boundary-wide p,
body.ed-signature-v450 .ed-contact-page__methods p,
body.ed-signature-v450 .ed-contact-page__form p,
body.ed-signature-v450 .ed-contact-page__note p {
  color: var(--ed45-muted) !important;
  -webkit-text-fill-color: var(--ed45-muted) !important;
}

/* Active tabs and dark document tile. */
body.ed-signature-v450 .ed-tabs__button.is-active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(145deg,#082c52,#174f77) !important;
}
body.ed-signature-v450 .ed-more-documents {
  color: #fff !important;
  background: linear-gradient(145deg,#082c52,#174f77) !important;
}
body.ed-signature-v450 .ed-more-documents strong,
body.ed-signature-v450 .ed-more-documents a {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.ed-signature-v450 .ed-more-documents p,
body.ed-signature-v450 .ed-more-documents small {
  color: var(--ed45-dark-muted) !important;
  -webkit-text-fill-color: var(--ed45-dark-muted) !important;
}

/* INNER dark surfaces: explicitly set surface + foreground. */
body.ed-signature-v450 .ed-page-section--financial,
body.ed-signature-v450 .ed-page-section--quote,
body.ed-signature-v450 .ed-inner-cta,
body.ed-signature-v450 .ed-footer {
  color: #fff !important;
  background-color: var(--ed45-navy-deep) !important;
}
body.ed-signature-v450 .ed-page-section--financial h1,
body.ed-signature-v450 .ed-page-section--financial h2,
body.ed-signature-v450 .ed-page-section--financial h3,
body.ed-signature-v450 .ed-page-section--financial strong,
body.ed-signature-v450 .ed-page-section--quote h1,
body.ed-signature-v450 .ed-page-section--quote h2,
body.ed-signature-v450 .ed-page-section--quote h3,
body.ed-signature-v450 .ed-page-section--quote strong,
body.ed-signature-v450 .ed-inner-cta h1,
body.ed-signature-v450 .ed-inner-cta h2,
body.ed-signature-v450 .ed-inner-cta h3,
body.ed-signature-v450 .ed-inner-cta strong,
body.ed-signature-v450 .ed-footer h1,
body.ed-signature-v450 .ed-footer h2,
body.ed-signature-v450 .ed-footer h3,
body.ed-signature-v450 .ed-footer strong,
body.ed-signature-v450 .ed-footer a {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.ed-signature-v450 .ed-page-section--financial p,
body.ed-signature-v450 .ed-page-section--financial li,
body.ed-signature-v450 .ed-page-section--quote p,
body.ed-signature-v450 .ed-page-section--quote li,
body.ed-signature-v450 .ed-inner-cta p,
body.ed-signature-v450 .ed-footer p,
body.ed-signature-v450 .ed-footer li,
body.ed-signature-v450 .ed-footer small {
  color: var(--ed45-dark-muted) !important;
  -webkit-text-fill-color: var(--ed45-dark-muted) !important;
}
body.ed-signature-v450 .ed-page-section--financial .ed-overline,
body.ed-signature-v450 .ed-page-section--quote .ed-overline,
body.ed-signature-v450 .ed-inner-cta .ed-overline {
  color: var(--ed45-gold-light) !important;
  -webkit-text-fill-color: var(--ed45-gold-light) !important;
}

/* Buttons: text color is inseparable from button background. */
body.ed-signature-v450 a.ed-button,
body.ed-signature-v450 button.ed-button,
body.ed-signature-v450 .edf-submit {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.ed-signature-v450 .ed-button--gold,
body.ed-signature-v450 a.ed-button--gold,
body.ed-signature-v450 button.ed-button--gold {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
  background: linear-gradient(135deg,#f3dcae,#c79b57) !important;
}
body.ed-signature-v450 .ed-button--ghost,
body.ed-signature-v450 a.ed-button--ghost,
body.ed-signature-v450 button.ed-button--ghost {
  color: var(--ed45-navy) !important;
  -webkit-text-fill-color: var(--ed45-navy) !important;
  background: rgba(255,255,255,.92) !important;
  border-color: rgba(8,44,82,.34) !important;
}
body.ed-signature-v450 .ed-button--on-dark {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.34) !important;
}

/* Form fields: high-contrast even with browser autofill. */
body.ed-signature-v450 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.ed-signature-v450 textarea,
body.ed-signature-v450 select {
  color: #172f43 !important;
  -webkit-text-fill-color: #172f43 !important;
  background-color: #fff !important;
  border-color: rgba(8,44,82,.28) !important;
}
body.ed-signature-v450 input::placeholder,
body.ed-signature-v450 textarea::placeholder {
  color: #667886 !important;
  opacity: 1 !important;
}
body.ed-signature-v450 input:-webkit-autofill,
body.ed-signature-v450 textarea:-webkit-autofill,
body.ed-signature-v450 select:-webkit-autofill {
  -webkit-text-fill-color: #172f43 !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
}

/* Accessibility: visible focus on both light and dark surfaces. */
body.ed-signature-v450 :focus-visible {
  outline: 3px solid #d79f43 !important;
  outline-offset: 3px !important;
}
