/*
 * AICT contrast fixes — 2026-06-07 UX audit (axe-core computed-contrast pass).
 * Loaded LAST. `html body` prefixes give high specificity (0,2,N+1) so these win
 * over body-inline render rules. Each sets color + -webkit-text-fill-color.
 * Dark-hero HEADINGS are fixed at source in class-aict-site-config.php's sweep
 * exceptions; this file handles accent/label colors not covered there.
 */

/* ---- LIGHT backgrounds: darken brand indigo / light text to meet AA 4.5:1 ---- */
html body .tool-card .card-category, html body .tool-card .card-cta,
html body .aict-tool-card .card-category, html body .aict-tool-card .card-cta {
  color: #4f46e5 !important; -webkit-text-fill-color: #4f46e5 !important;
}
html body .aict-agent-card-persona { color: #4338ca !important; -webkit-text-fill-color: #4338ca !important; }
html body .trust-badge { color: #475569 !important; -webkit-text-fill-color: #475569 !important; }
html body .cta-card .btn-secondary, html body .pricing-page .btn-secondary { color: #4f46e5 !important; -webkit-text-fill-color: #4f46e5 !important; }
html body .aict-mega-menu a[style*="color:#6366f1"], html body .aict-mega-col a { color: #4f46e5 !important; -webkit-text-fill-color: #4f46e5 !important; }

/* ---- DARK backgrounds: lighten accent text to meet AA ---- */
html body .aict-cat-landing .cat-count-badge, html body .aict-cat-landing .cat-badges .active {
  color: #c7d2fe !important; -webkit-text-fill-color: #c7d2fe !important;
}
/* persona landing dark cards (/for-<persona>/) — body-inline sets #6366f1/#a78bfa */
html body .aict-pl-tool-card .a { color: #a5b4fc !important; -webkit-text-fill-color: #a5b4fc !important; }
html body .aict-pl-agent-card .badge { color: #c4b5fd !important; -webkit-text-fill-color: #c4b5fd !important; }
html body .aict-pl-wrap > a { color: #c7d2fe !important; -webkit-text-fill-color: #c7d2fe !important; }
html body .aict-pl-wrap .active { color: #c7d2fe !important; -webkit-text-fill-color: #c7d2fe !important; }
