/* Accessibility fixes found by an automated WCAG 2.2 AA scan on a 390px phone (axe-core, 2026-10-12).
   Light theme only: the gold used for small text was too pale on white (2.1 to 4.4 against the 4.5 needed). Dark theme keeps its gold. */
:root:not([data-theme="dark"]) .brand small,
:root:not([data-theme="dark"]) .brand span small,
:root:not([data-theme="dark"]) .section-head .eyebrow,
:root:not([data-theme="dark"]) .stat em,
:root:not([data-theme="dark"]) .plan-card > span,
:root:not([data-theme="dark"]) .featured > span,
:root:not([data-theme="dark"]) #approvalNote > b,
:root:not([data-theme="dark"]) .after-payment > a,
:root:not([data-theme="dark"]) .mobile-nav .active{color:#85601d}
/* Telegram link button: white on #229ed9 was 3.0; this blue gives about 5.2 with white text. */
#requestCodeLink{background:#1a73a0}
/* Statistics hero is near-black in both themes; the light-theme gold token (#765215) was too dark on it (2.7, and visibly dim). */
:root:not([data-theme="dark"]) .statistics-page .statistics-hero h1 span{color:#d8ad55}
/* Courses "learning path" card: in the light theme its text kept the dark-theme pale colours on a light card (1.5, almost invisible). */
:root:not([data-theme="dark"]) .academy-card{color:#27251f}
:root:not([data-theme="dark"]) .academy-card li{color:#4a463d}
:root:not([data-theme="dark"]) .academy-card > span,
:root:not([data-theme="dark"]) .academy-card li > b,
:root:not([data-theme="dark"]) .academy-card b{color:#85601d}
/* Courses: the non-flagship cards have a light background in the light theme but kept the dark theme's pale text (title almost invisible, 1.1). */
:root:not([data-theme="dark"]) .course-card:not(.flagship){color:#27251f}
:root:not([data-theme="dark"]) .course-card:not(.flagship) h3{color:#171714}
:root:not([data-theme="dark"]) .course-card:not(.flagship) p,
:root:not([data-theme="dark"]) .course-card:not(.flagship) li{color:#4a463d}
:root:not([data-theme="dark"]) .course-card:not(.flagship) .course-label{color:#85601d}

/* Trial/plan expiry hint on the member dashboard (churn item 2) */
.expiry-note{margin:.5rem 0;padding:.5rem .75rem;border-radius:10px;background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.35)}
.expiry-note a{text-decoration:underline}

/* First-days checklist for free-trial members */
.onboarding-checklist{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;margin:12px 0;padding:14px 16px;border-radius:14px;background:rgba(212,175,55,.1);border:1px solid rgba(212,175,55,.35)}
.onboarding-checklist small{display:block;opacity:.8}
.onboarding-checklist ol{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0;padding:0;list-style:none}
.onboarding-checklist li.done a{text-decoration:line-through;opacity:.7}
.onboarding-checklist a{text-decoration:underline}
