/* V16 readability corrections. Loaded after existing page styles.
   Scoped to affected components to preserve the TAA visual system. */

/* Homepage: shared light-surface h2 rule superseded the white heading
   on the navy closing banner. */
body.aa-portfolio-home main section.aa26-close h2 {
  color: #f9fbff !important;
}

/* Legal pages: shared global typography was making h2 white on white. */
body.aa-simple-site .new-section .legal-copy h2,
body.aa-legal-page .aa-legal-body h2 {
  color: #192f43 !important;
}

/* Claude apprenticeship: maintain readable labels on both light and dark cards. */
body.aa-confident-page main .cl-lesson-cta .cl-week-no,
body.aa-confident-page main .cl-team .cl-kicker,
body.aa-confident-page main .cl-enroll-bar .cl-week-no {
  color: #f4b9a4 !important;
}
body.aa-confident-page main .cl-enroll-bar a:not(.button) {
  color: #ffe1d6 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.aa-confident-page main .cl-team-card .cl-week-no { color:#a52920 !important; }
body.aa-confident-page main .cl-section:not(.cl-team) .cl-kicker { color:#a5251b !important; }
body.aa-confident-page main .cl-hero .cl-kicker { color:#1736b5 !important; }
body.aa-confident-page main .cl-result-card small,
body.aa-confident-page main .cl-results-note { color:#555e6c !important; }
body.aa-confident-page main .cl-video-upcoming a:not(.button),
body.aa-confident-page main .cl-free-strip a:not(.button) { color:#a5251b !important; }

/* MyDataCanvas: small pricing and illustrative notes remain legible. */
body.aa-mdc-page main .mdc-hero-art-caption,
body.aa-mdc-page main .mdc-shot-placeholder p { color:#51596e !important; }
body.aa-mdc-page main .mdc-final-link { color:#a3271c !important; }
body.aa-mdc-page main .mdc-price-amount span { color:#515568 !important; }
body.aa-mdc-page main .mdc-explore-link { color:#1534aa !important; }
body.aa-mdc-page main .mdc-reason-section .mdc-panel-count span { color:#1433a8 !important; }
body.aa-mdc-page main a[href='/terms/'],
body.aa-mdc-page main a[href='/privacy-terms/'] { color:#a3271c !important; }

/* Dashboard Preflight: important pricing qualifications should not fade away. */
body.aa-preflight-page main .pf-price-foot,
body.aa-preflight-page main .pf-hero-foot { color:#515c54 !important; }
body.aa-preflight-page main .pf-visual-caption { color:#4c5a4e !important; }
body.aa-preflight-page main .pf-hero-kicker { color:#a5251b !important; }

/* Supporting pages: darken small links and eyebrow labels slightly. */
body.taa-a231 main .taa-a231-kicker { color:#1a369e !important; }
body.aa-daily-page main a[href='/store/'] { color:#a5251b !important; }
body.aa-simple-site .new-page-hero .raw-label { color:#a5251b !important; }
body.aa-simple-site .new-page-hero a,
body.aa-legal-page main .aa-legal-body a,
body.aa-legal-page main .aa-legal-hero a { color:#163e95 !important; }
/* Final small-print pass: visible links and informational captions. */
body.aa-confident-page main .cl-prior-promise a { color:#a5251b !important; }
body.aa-mdc-page main #mdc-active-count { color:#173597 !important; }
body.aa-mdc-page main .mdc-shot-note { color:#505b6d !important; }
body.aa-mdc-page main .mdc-price-disclaimer a { color:#a5251b !important; }
body.aa-about-page main .taa-a231-kicker { color:#17369d !important; }
body:not([class]) a[href='/store/'] { color:#a5251b !important; }
body.aa-mdc-page main #mdc-panel-progress { color:#505b6d !important; }

/* Additional route audit: public 7 Rules, Society, and older reachable pages. */
body.taa-seven-rules-page .rule-c { color:#56606c !important; }
body.taa-seven-rules-page .field-hint { color:#58616b !important; }
body.taa-seven-rules-page .foot, body.taa-seven-rules-page .foot span, body.taa-seven-rules-page .foot a { color:#4f5965 !important; }
body.taa-seven-rules-page .control-label { color:#515b67 !important; }
body.taa-seven-rules-page .progress-note { color:#505b65 !important; }
body .so-kicker { color:#a9271b !important; }
body .so-hero .so-kicker { color:#d5e0ff !important; }
body.aa-society-page main a[href='/society/rules/'],
body.aa-society-page main a[href='/privacy-terms/'] { color:#a5251b !important; }
body.rwb-page main .rwb-friday.wb-files span { color:#4c5765 !important; }
body.aa-accelerator-page main .aa-acc-path-primary h3,
body.aa-accelerator-page main .aa-acc-contact-aside h3 { color:#192f43 !important; }
body.aa-accelerator-page main .aa-acc-contact .new-kicker,
body.aa-accelerator-page main .aa38-kicker,
body.aa-accelerator-page main .aa-simple-section .new-kicker,
body.aa-p145-executive main .new-kicker,
body.aa-p145-executive main .aa38-kicker { color:#a5251b !important; }
body.aa-accelerator-page main a:not(.button)[href^='#'] { color:#a5251b !important; }
body.aa-simple-site .new-page-hero .raw-label { color:#a5251b !important; }
/* Dark panels on legacy routes need light headings/kickers. */
body.aa-accelerator-page main .aa-acc-path-primary h3,
body.aa-accelerator-page main .aa-acc-contact-aside h3 { color:#fafbff !important; }
body.aa-accelerator-page main .aa-acc-contact-aside .new-kicker,
body.aa-p145-executive main .aa-p145-exec-price .new-kicker { color:#f9c4ad !important; }
/* Standalone 7 Rules reference: improve fine print on light surfaces. */
body.taa-seven-rules-page .list-heading p,
body.taa-seven-rules-page .dashboard-subtitle,
body.taa-seven-rules-page .mini-brand { color:#505b66 !important; }
body.taa-seven-rules-page .eyebrow,
body.taa-seven-rules-page .brand b,
body.taa-seven-rules-page .mini-brand span:last-child { color:#a5251b !important; }
/* Society footer references. */
body.aa-society-page main a[href*='rules'],
body.aa-society-page main a[href*='privacy'] { color:#a5251b !important; }
body.aa-society-page main .so-respect a { color:#971e16 !important; }
body.aa-accelerator-page main .aa-acc-hero-copy .new-kicker { color:#942018 !important; }
/* Prevent long email addresses and URLs from forcing horizontal scrolling in legal copy. */
body.aa-simple-site .legal-copy,
body.aa-legal-page .aa-legal-body { overflow-wrap:anywhere; }
