/* NESkills Step 158 — WCAG AA contrast-only patch.
 * Scope: text colour only. No layout, spacing, imagery, sizing, motion,
 * sticky behaviour, header/footer structure or carousel geometry changes.
 */
:root{
  --step158-accent-on-light:#9b350d;
  --step158-muted-on-light:#5a646b;
}

/* Homepage: preserve bright orange on dark sections; darken only light-surface eyebrow text. */
:is(.home-v2-specializations,.home-v2-problems,.home-v2-journey,.home-v2-method,.home-v2-proof) .eyebrow{
  color:var(--step158-accent-on-light);
}

/* Shared Reach / rex systems: light surfaces only. */
:is(.rex-section--paper,.rex-section--sand) .rex-eyebrow{
  color:var(--step158-accent-on-light);
}
:is(.rex-section--paper,.rex-section--sand) .rex-section-head>p:last-child:not(.rex-eyebrow){
  color:var(--step158-muted-on-light);
}
:is(.rex-section--paper,.rex-section--sand) :is(.rex-card,.rex-proof-card,.rex-program-card,.rex-callout,.rex-support-card) small{
  color:var(--step158-accent-on-light);
}
:is(.rex-section--paper,.rex-section--sand) :is(.rex-proof-card,.rex-program-card,.rex-callout,.rex-support-card) :is(a,strong){
  color:var(--step158-accent-on-light);
}
.rex-faq-list summary span{
  color:var(--step158-accent-on-light);
}

/* Insight card labels identified by the audit. */
.insight-card>span:first-child,
.insight-card>small:first-child{
  color:var(--step158-accent-on-light);
}

/* Accessibility / Terms numbered section markers. */
.legal-index{
  color:var(--step158-accent-on-light);
}

/* Contact helper text + FAQ kicker. */
.contact-cro-form .form-note,
.new-contact-form .form-note{
  color:var(--step158-muted-on-light);
}
.contact-faq-section .eyebrow{
  color:var(--step158-accent-on-light);
}

/* Borderline path-card text colours: text only; icon colours remain unchanged. */
:is(.spoken-english-page,.communication-skills-page,.personality-development-page,.interview-coaching-page,.workplace-communication-page,.fde-ai-page,.soft-skills-page,.public-speaking-page,.private-coaching-page,.executive-coaching-page,.organizations-page,.shillong-coaching-page) #formats .path-card:nth-child(4n+2) strong{
  color:#00779e;
}
:is(.spoken-english-page,.communication-skills-page,.personality-development-page,.interview-coaching-page,.workplace-communication-page,.fde-ai-page,.soft-skills-page,.public-speaking-page,.private-coaching-page,.executive-coaching-page,.organizations-page,.shillong-coaching-page) #formats .path-card:nth-child(4n+3) strong{
  color:#437900;
}

/* Five-in-One review stars: retain orange character while meeting normal-text contrast. */
.rex-stars{
  color:#b04f00;
}

/* Insights index read-link text on light cards. */
.insights-featured-card>div:first-child>span,
.insights-card span{
  color:var(--step158-accent-on-light);
}

/* Reach-explore method numbering and review stars on light cards. */
.reach-explore-page .rex-method-grid>li>span{
  color:var(--step158-accent-on-light);
}
.reach-explore-page .rex-stars{
  color:#b04f00;
}

/* Across-India logo band is a paper surface outside rex-section. */
.rex-logo-band .rex-eyebrow{
  color:var(--step158-accent-on-light);
}
