/* Keep small labels and links readable across the public light and dark themes. */
.legal-prose a.text-brand-blue { color:#075e96!important; }
[data-theme="dark"] .legal-prose a.text-brand-blue { color:#8dd4ff!important; }
.content-page-main--blog .content-page-prose.rich-content h3 { color:#075e96; }
.content-page-main--blog .article-toc a.is-current,
.content-page-main--blog .article-toc__number { color:#075e96; }
.content-page-main--blog .bg-brand-blue.text-white:not(:where(.article-custom-content,.article-custom-content *)) { background:var(--action-blue-bg)!important; color:var(--action-blue-ink)!important; }
[data-theme="dark"] .content-page-main--blog .content-page-prose.rich-content h3,
[data-theme="dark"] .content-page-main--blog .article-toc a.is-current,
[data-theme="dark"] .content-page-main--blog .article-toc__number { color:#8dd4ff; }
.auth-page .btn-3d-blue { background:var(--action-blue-bg)!important; color:var(--action-blue-ink)!important; }
.auth-page .btn-3d-green { background:var(--action-green-bg)!important; color:var(--action-green-ink)!important; }
/* Bright fills and their text colors are paired across public entry points. */
body.marketing-page :is(.hero-v3__primary,.btn-blue,.btn-3d-blue,.detail-button,.lead-form-submit-btn,.about-finish a):not(.detail-button--light):not(.lead-form-submit-btn--success):not(:where(.article-custom-content,.article-custom-content *)) {
    background:var(--action-blue-bg)!important;
    color:var(--action-blue-ink)!important;
}
body.marketing-page :is(.hero-v3__primary,.btn-blue,.btn-3d-blue,.detail-button,.lead-form-submit-btn,.about-finish a):not(.detail-button--light):not(.lead-form-submit-btn--success):not(:where(.article-custom-content,.article-custom-content *)):hover { filter:brightness(1.04); }
body.marketing-page :is(.hero-v3__primary,.btn-blue,.btn-3d-blue,.detail-button,.lead-form-submit-btn,.about-finish a):not(.detail-button--light):not(.lead-form-submit-btn--success):not(:where(.article-custom-content,.article-custom-content *)):active { filter:brightness(.97); }
body.marketing-page .lead-form-submit-btn--success,
body.marketing-page .lead-form-submit-btn--success:hover,
body.marketing-page .lead-form-submit-btn--success:focus { background:var(--action-green-bg)!important; color:var(--action-green-ink)!important; }
body.marketing-page :is(.hero-v3__primary,.btn-blue,.btn-3d-blue,.detail-button,.lead-form-submit-btn,.about-finish a,.tariff-card__cta):focus-visible { outline:3px solid var(--public-blue); outline-offset:3px; }
.auth-page label.text-gray-400 { color:#526174; }
[data-theme="dark"] .auth-page label.text-gray-400 { color:#bdcde0; }

.landing-platform .tariff-card { --card-ink:#075e96; --card-action:var(--action-blue-bg); --card-action-ink:var(--action-blue-ink); }
.landing-platform .tariff-card--green { --card-ink:#286f12; --card-action:var(--action-green-bg); --card-action-ink:var(--action-green-ink); }
.landing-platform .tariff-card--purple { --card-ink:#6b35b7; --card-action:var(--action-purple-bg); --card-action-ink:var(--action-purple-ink); }
.landing-platform .tariff-card--orange { --card-ink:#a7430a; --card-action:var(--action-orange-bg); --card-action-ink:var(--action-orange-ink); }
.landing-platform .tariff-card--gold { --card-ink:#805700; --card-action:var(--action-gold-bg); --card-action-ink:var(--action-gold-ink); }
.landing-platform .tariff-card--coral { --card-ink:#a82e28; --card-action:var(--action-coral-bg); --card-action-ink:var(--action-coral-ink); }
.landing-platform .platform-tariff { --card-ink:#006879; --card-action:var(--action-cyan-bg); --card-action-ink:var(--action-cyan-ink); }
.landing-platform .tariff-card__label,
.landing-platform .tariff-card__count,
.landing-platform .tariff-card__price strong,
.landing-platform .tariff-card__meta,
.landing-platform .platform-tariff .tariff-card__price strong { color:var(--card-ink); }
.landing-platform .tariff-card__badge,
.landing-platform .tariff-card__cta { background:var(--card-action,var(--action-blue-bg)); color:var(--card-action-ink,var(--action-blue-ink))!important; }
.landing-platform .tariff-family__eyebrow { color:#075e96; }
.landing-platform .tariff-family--individual .tariff-family__eyebrow { color:#a7430a; }
.landing-platform .platform-tariff .tariff-family__eyebrow { color:#006879; }
.landing-platform .bento-streak__day:not(.is-on) { color:#526174; }
.landing-platform .landing-teacher-video-link,
.landing-platform .bg-brand-yellow.text-gray-900 { color:#342600!important; }

.marketing-detail .detail-crumbs { color:#526875; }
.detail--about .detail-section .about-kicker { color:#075e96; }
.detail--about .about-bento__card--story { --card-ink:#075e96; }
.detail--about .about-bento__card--practice { --card-ink:#286f12; }
.detail--about .about-bento__card--repeat { --card-ink:#6b35b7; }
.detail--about .about-bento__number { color:var(--card-ink); }
.detail--about .about-choose__grid b { color:#075e96; }
.detail--contacts .contacts-kicker { color:#075e96; }

.pricing-table thead th { background:var(--action-blue-bg); color:var(--action-blue-ink); }
.pricing-table thead th:first-child { background:var(--public-surface-muted); color:var(--public-ink); }
.pricing-table thead th:nth-child(3) { background:var(--action-green-bg); color:var(--action-green-ink); }
.pricing-table thead th:nth-child(4) { background:var(--action-purple-bg); color:var(--action-purple-ink); }
.pricing-table thead th:nth-child(5) { background:var(--action-orange-bg); color:var(--action-orange-ink); }
.pricing-table thead th:nth-child(6) { background:var(--action-gold-bg); color:var(--action-gold-ink); }
.pricing-table thead th:nth-child(7) { background:var(--action-coral-bg); color:var(--action-coral-ink); }
.pricing-table thead th:nth-child(8) { background:var(--action-cyan-bg); color:var(--action-cyan-ink); }

[data-theme="dark"] .marketing-detail .detail-crumbs { color:#b7c9d8; }
[data-theme="dark"] .marketing-detail .detail-hero .detail-eyebrow { color:#91d4f4; }
[data-theme="dark"] .marketing-detail .detail-hero .detail-text-link { color:#a5dcff; }
[data-theme="dark"] .detail--about .detail-section .about-kicker { color:#91d4f4; }
[data-theme="dark"] .detail--about .about-bento__card--story { --card-ink:#8dceff; }
[data-theme="dark"] .detail--about .about-bento__card--practice { --card-ink:#98e278; }
[data-theme="dark"] .detail--about .about-bento__card--repeat { --card-ink:#c7a9ff; }
[data-theme="dark"] .detail--about .about-choose__grid b { color:#9bd7ff; }
[data-theme="dark"] .detail--contacts .contacts-form__privacy a { color:#9bd7ff; }
[data-theme="dark"] .detail--contacts .contacts-aside__note { color:#bbd0de; }
[data-theme="dark"] .detail--contacts .contacts-form__field label small { color:#bdcde0; }
[data-theme="dark"] .detail--contacts .contacts-kicker { color:#91d4f4; }
[data-theme="dark"] .pricing-hero-art__caption { color:#a8d5f5; }
[data-theme="dark"] .pricing-hero-art__cards span { color:#bdcde0; }
[data-theme="dark"] .landing-platform .tariff-card { --card-ink:#8dceff; }
[data-theme="dark"] .landing-platform .tariff-card--green { --card-ink:#98e278; }
[data-theme="dark"] .landing-platform .tariff-card--purple { --card-ink:#c7a9ff; }
[data-theme="dark"] .landing-platform .tariff-card--orange { --card-ink:#ffb381; }
[data-theme="dark"] .landing-platform .tariff-card--gold { --card-ink:#ffe092; }
[data-theme="dark"] .landing-platform .tariff-card--coral { --card-ink:#ffa69e; }
[data-theme="dark"] .landing-platform .platform-tariff { --card-ink:#8fe9f2; }
[data-theme="dark"] .landing-platform .tariff-card__count { background:color-mix(in srgb,var(--card-action) 22%,#17263b); }
[data-theme="dark"] .landing-platform .tariff-family__eyebrow { color:#8dceff; }
[data-theme="dark"] .landing-platform .tariff-family--individual .tariff-family__eyebrow { color:#ffb381; }
[data-theme="dark"] .landing-platform .platform-tariff .tariff-family__eyebrow { color:#8fe9f2; }
[data-theme="dark"] .landing-platform .bento-streak__day:not(.is-on) { color:#c0cede; }
