/* Odin Lab contrast repair — 2026-10-06. Presentation only. */
:root{--odin-aa-ink:#0F172A;--odin-aa-text:#E2E8F0;--odin-aa-heading:#F8FAFC;--odin-aa-gold:#E2BD70;}
body{color:var(--odin-aa-text)}
/* Legacy dark-theme fixes exclude the new light Certification section. */
main:not(.odin-home-v2):not(.odin-cert) a{color:#99E6DC}
main:not(.odin-home-v2):not(.odin-cert) :is(h1,h2,h3,h4,h5,h6),main:not(.odin-home-v2):not(.odin-cert) :is(h1,h2,h3,h4,h5,h6) a{color:#F8FAFC}
main:not(.odin-home-v2):not(.odin-cert) :is(time,.text-secondary-500,.text-secondary-600){color:#E2E8F0}
/* White Article V3.7: captions must stay dark on white instead of the old dark-theme override. */
body.page-id-97 .reading-content figcaption,body.postid-64 .reading-content figcaption{color:#385365!important}
.comment-form :is(textarea,input:not([type=checkbox]):not([type=hidden]):not([type=submit])){color:#E2E8F0;background:#10283C;border-color:#94A3B8}
.comment-form :is(input,textarea)::placeholder{color:#CBD5E1;opacity:1}
.comment-form input[type=submit]{color:#0F172A;background:#E2BD70;font-weight:600}
.comment-form input[type=checkbox]{accent-color:#0B6662}
/* Dark reading surfaces. Scope keeps the existing light home sections readable. */
.reading-shell,.reading-content,.reading-lead,.prose,.odin-footer,
.lead,.category p,.steps span,.offer p,.offer li,.fine,
.method-strip span,.method-strip p,.method-strip-four>div small,
.method-home-brand span,.method-future-panel p,.framework-note,
.framework-panel>p:not(.eyebrow),.framework-grid span,
.founder-credential span,.founder-profile-copy span{color:#E2E8F0}
.prose{--tw-prose-body:#E2E8F0;--tw-prose-headings:#F8FAFC;--tw-prose-bold:#F8FAFC}
.reading-shell :is(h1,h2,h3,h4,h5,h6),.reading-content :is(h1,h2,h3,h4,h5,h6) a,
.prose :is(h1,h2,h3,h4,h5,h6),.prose :is(h1,h2,h3,h4,h5,h6) a,
.feature-panel :is(h2,h3),.section :is(h2,h3),.method-future-panel>strong{color:#F8FAFC}
.reading-content :is(input,textarea,select),.search-field{background:#10283C;color:#E2E8F0;border-color:#94A3B8}
.reading-content :is(input,textarea)::placeholder,.search-field::placeholder{color:#CBD5E1;opacity:1}
.status,.label{color:#E2E8F0;border-color:#94A3B8}
.odin-menu-arrow{color:#CBD5E1}
.odin-header .odin-menu-link,.odin-footer a{color:#E2E8F0}
.odin-header .odin-menu-link:is(:hover,:focus-visible,.is-current){color:#F8FAFC}
.odin-header .odin-menu-link.is-current{border-bottom-color:#E2BD70}
/* Fix cascade conflict: article links must not override filled CTA text. */
body :is(a.button,button.button,.search-submit,.wp-block-button__link,.oh-button-gold),
body :is(a.button,button.button,.search-submit,.wp-block-button__link,.oh-button-gold):is(:visited,:hover,:focus,:active){
color:#0F172A;background-color:#E2BD70;font-weight:600;opacity:1}
body :is(a.button,button.button,.search-submit,.wp-block-button__link,.oh-button-gold) :is(span,strong,em){color:inherit}
body :is(a.button,button.button,.search-submit,.wp-block-button__link,.oh-button-gold):hover{background-color:#EFCF8D}
body .button.secondary,body .button.secondary:is(:visited,:hover,:focus,:active){background:#10283C;color:#F8FAFC;border-color:#E2BD70}
body :is(a,button,summary,input,textarea,select):focus-visible{outline:3px solid #F8FAFC;outline-offset:3px;box-shadow:0 0 0 6px #0F172A}
.skip-link:focus{color:#0F172A;background:#E2BD70}
/* Light diagram: dark ink is essential, including strong inherited from prose. */
.reading-content .odin-method-visual :is(strong,h2,h3){color:#0F172A}
.odin-method-brand small,.method-diagram i{color:#76531B}
.method-diagram span{color:#17615D}
/* Existing light home surfaces retain dark text. */
:root{--oh-teal-dark:#0B6662;--oh-copy:#435563}
.odin-home-v2 .oh-steps li>span{color:#76531B}
.odin-home-v2 .oh-bank-grid small,.odin-home-v2 .oh-swipe{color:#435563}
.odin-home-v2 .oh-final :is(h2,p),.odin-home-v2 .oh-final .oh-eyebrow{color:#0F172A}
.odin-home-v2 :is(.oh-lead,.oh-proof,.oh-system-note,.oh-knowledge-lead),
.odin-home-v2 .oh-feature>p:not(.oh-feature-tag){color:#E2E8F0}
.odin-home-v2 :is(.oh-hero,.oh-knowledge,.oh-feature) :is(h1,h2,h3){color:#F8FAFC}
.odin-home-v2 .oh-button-dark{color:#F8FAFC;background:#071E2E;font-weight:600}
.odin-home-v2 .oh-button-line{color:#F8FAFC;background:#071E2E;border-color:#E2BD70;font-weight:600}
.odin-home-v2 :is(.oh-card a,.oh-text-link,.oh-article-link){text-decoration:underline;text-underline-offset:3px}

/* White Article compatibility guard — do not inherit dark-theme caption colors. */
body.odin-ui-v1 main#main>article.reading-shell>.reading-content figcaption,
body.odin-ui-v1.page-id-97 main#main>article.reading-shell>.reading-content figure.odin-cycle-figure>figcaption{
  color:#254559!important;
  -webkit-text-fill-color:#254559!important;
  opacity:1!important;
  text-shadow:none!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.65!important;
}
body.page-id-97.odin-ui-v1 main#main>article.reading-shell>.odin-cycle-preview-banner{
  display:block;
  margin:0 0 22px!important;
  padding:10px 13px;
  color:#16485b!important;
  background:#e9f4f5;
  border:1px solid #a7cbd2;
  border-radius:8px;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.45!important;
  letter-spacing:.015em;
}

