/* WCAG 2.1 AA / IS 5568 colour-contrast fixes (loaded last on every page).
   Brand lime #66c81c stays for icons, bullets and fills; text set in it is darkened just enough:
   large text (>= 24px, or >= 18.66px bold) needs 3:1  -> #4a9a15
   normal text needs 4.5:1                             -> #357a0f */
:root { --green-text-lg: #4a9a15; --green-text: #357a0f; --muted-ui: #646d66; }

/* Large green numerals / headings on light backgrounds */
.princ__n, .pt-why__n, .mb-flow__n, .ds-flow__n,
.wave b, .platlayers li:nth-child(even) h4,
.pg-platform .platlayers li:nth-child(even) h4 { color: var(--green-text-lg); }

/* Small green text on light backgrounds */
.legal__date, .controls__kicker, .so-flow__steps b, .stages--ai b, .section:not(.on-dark) .stages b { color: var(--green-text); }

/* Numbered chips: dark text on the lime fill */
.cap-num, .op-step__n { color: #1a3d20 !important; }

/* Product-UI mockups: small grey labels */
.dm-meta dt, .dm-checks span, .dm-table th, .dm-plist small, .dm-search,
.cap-pair__lt, .mf-lt, .op-lt, .op-tri__lt, .er-layer:not(.er-layer--dt) > .er-layer__k, .ps-area__lt, .itl-kc { color: var(--muted-ui) !important; }
.an-exc__h small { color: #7a6a4a !important; }
.op-flow__decision > b { color: #c2f2a2 !important; }

/* AI hero chat card */
.aichat__name, .aichat__label, .aichat__ground { color: var(--muted-ui); }
.aichat__ctx { color: var(--green-text); }

/* 404: big decorative code */
.nf__code { color: var(--green-text-lg); }

/* Bottom-of-page CTA headings: Medium (500) on every page */
.h-cta, .cap-cta h2, .cta-box h2, .cta-box__h, .cta-soft h2, .cta-plain h2, .cta-mint-plain h2, .boxcta h2 { font-weight: 500 !important; }
