/* AETHERA V3.6.8 — Final Contrast Correction
   Scoped to confirmed light/dark mismatches. No layout or visual asset changes.
   This CSS must load AFTER all previously-approved styles. */
:root{--aeth-ink-blue:#103c68;--aeth-ink-deep:#0b294c;--aeth-light-on-navy:#f7fbff;--aeth-muted-on-navy:#e0eeff;}

/* CASE 001: Three-week Sandbox roadmap has a LIGHT section backdrop.
   V3.6.3 used white text (#f4fbff) here; fix heading, eyebrow, and summary. */
body.page-home #sandbox-roadmap .q4-section-intro h2{
  color:#0d4780!important;
  -webkit-text-fill-color:#0d4780!important;
  text-shadow:none!important;
}
body.page-home #sandbox-roadmap .q4-section-intro p{
  color:#28506f!important;
  -webkit-text-fill-color:#28506f!important;
  text-shadow:none!important;
}
body.page-home #sandbox-roadmap .q4-section-intro .q4-label{
  color:#0d548b!important;
  -webkit-text-fill-color:#0d548b!important;
  text-shadow:none!important;
}
/* The 3 week cards themselves have DARK navy backgrounds: bright lettering. */
body.page-home #sandbox-roadmap .q4-grid-3 article{
  background:#122f50!important;
}
body.page-home #sandbox-roadmap .q4-grid-3 article>b{
  color:#88f6a2!important;
  -webkit-text-fill-color:#88f6a2!important;
  text-shadow:none!important;
}
body.page-home #sandbox-roadmap .q4-grid-3 article h3,
body.page-home #sandbox-roadmap .q4-grid-3 article p{
  color:#f3faff!important;
  -webkit-text-fill-color:#f3faff!important;
  text-shadow:none!important;
}
body.page-home #sandbox-roadmap .q4-fine,
body.page-home #sandbox-roadmap .q4-fine span{
  color:#315574!important;
  -webkit-text-fill-color:#315574!important;
}

/* CASE 002: pale Business Model section summary inherited white text from
   a broad V3.6.2 rule intended for PHOTO heroes. */
body.page-home #partner-models .q4-section-intro h2{color:#123d69!important}
body.page-home #partner-models .q4-section-intro p{color:#305978!important;text-shadow:none!important}
body.page-home #partner-models .q4-section-intro .q4-label{color:#145c9c!important}

/* CASE 003: live-demo header CTA in the WHITE header has translucent background,
   yet a former global rule forced white text. Keep text navy on pale surface. */
body:not(.page-home) header.site-header .nav-live-cta,
body:not(.page-home) header.site-header .nav-live-cta>span{
  color:#124a83!important;
  -webkit-text-fill-color:#124a83!important;
  text-shadow:none!important;
}
body:not(.page-home) header.site-header .nav-live-cta>small{
  color:#315575!important;
  -webkit-text-fill-color:#315575!important;
  text-shadow:none!important;
}
/* Home's header is navy, so do not force dark navy on it. */
body.page-home header.site-header .nav-live-cta,
body.page-home header.site-header .nav-live-cta>span{color:#f2f9ff!important}
body.page-home header.site-header .nav-live-cta>small{color:#c8e5ff!important}

/* CASE 004: white status pill on the Home Showroom CTA is BLUE text. */
body.page-home .q4-main .q4-showroom-cta-status{
  color:#15558e!important;
  -webkit-text-fill-color:#15558e!important;
  background:#fff!important;
}

/* Targeted native control contrast defaults. Preserve component colors and gradients. */
body:not(.aeth-v2-white):not(.aeth-v2-live):not(.page-home) header.site-header .nav-live-cta:focus-visible,
body.page-home #sandbox-roadmap a:focus-visible{
  outline:3px solid #02a6ec!important;outline-offset:3px!important;
}
/* CASE 005: blue journey CTA required a slightly deeper base to reach AA for normal text. */
body.page-home #how-business-works .aeth-journey-actions .aeth-solid{
  background:#0c5cae!important;
  color:#fff!important;
}

/* CASE 006: White Label eSIM light-surface copy and inactive controls were
   a lighter gray than WCAG AA. Scope ONLY to light cards and sections. */
body.aeth-v2-white .section.soft .section-heading p,
body.aeth-v2-white .section.soft .feature p,
body.aeth-v2-white .section.soft .timeline-note,
body.aeth-v2-white .section.soft p.timeline-note,
body.aeth-v2-white .section.soft .feature span,
body.aeth-v2-white .section.soft .feature small,
body.aeth-v2-white .pricing-note p,
body.aeth-v2-white .section-heading p,
body.aeth-v2-white .faq-item p,
body.aeth-v2-white .faq-answer p,
body.aeth-v2-white .demo-scope span,
body.aeth-v2-white .trust-strip .trust-item span,
body.aeth-v2-white .model-card p,
body.aeth-v2-white .model-card small,
body.aeth-v2-white .audience-tabs button:not(.active){
  color:#385772!important;
  -webkit-text-fill-color:#385772!important;
  text-shadow:none!important;
}
/* White button on pale pricing panel: never white text on white. */
body.aeth-v2-white .pricing-note .button.light,
body.aeth-v2-white .pricing-note .button.light span{
  color:#104d89!important;
  -webkit-text-fill-color:#104d89!important;
  text-shadow:none!important;
}
body.aeth-v2-white .model-card .tag{color:#06684f!important;-webkit-text-fill-color:#06684f!important}

/* CASE 007: Private CEO console has a bright cyan-blue login-button gradient.
   Dark text increases contrast while preserving login and security behavior. */
body .auth-card .btn.primary,
body .dashboard .btn.primary{
  color:#061d39!important;
  -webkit-text-fill-color:#061d39!important;
}

/* White Label selected tab has a navy background; selected text stays white. */
body.aeth-v2-white .audience-tabs button[aria-pressed="true"]{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
/* White Label FAQ body copy on white question panels. */
body.aeth-v2-white .faq details p{
  color:#365773!important;
  -webkit-text-fill-color:#365773!important;
}

/* Readable text during mouse/keyboard selection on every page. */
::selection{background:#104f86;color:#fff;text-shadow:none}
::-moz-selection{background:#104f86;color:#fff;text-shadow:none}
