/* Approved website typography. Keep the existing typeface and approved guide scale.
   Rem units support text enlargement; content and heading semantics stay unchanged. */
body.ma-typography-pilot {
    --ma-type-body: 1.125rem;
    --ma-type-h1: 2.25rem;
    --ma-type-h2: 1.75rem;
    --ma-type-h3: 1.375rem;
    font-size: var(--ma-type-body);
    line-height: 1.7;
}
/* Stronger than legacy component sizes, including the important homepage hero rule. */
body.ma-typography-pilot:not(.ma-study-guide-page) .site-inner :is(h1,h2,h3,h4,h5) {
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -.025em;
    overflow-wrap: break-word;
}
body.ma-typography-pilot:not(.ma-study-guide-page) .site-inner h1 {
    font-size: var(--ma-type-h1) !important;
    line-height: 1.22 !important;
}
body.ma-typography-pilot:not(.ma-study-guide-page) .site-inner h2 { font-size: var(--ma-type-h2) !important; }
body.ma-typography-pilot:not(.ma-study-guide-page) .site-inner h3 { font-size: var(--ma-type-h3) !important; }
body.ma-typography-pilot:not(.ma-study-guide-page) .site-inner :is(h4,h5) { font-size: 1.125rem !important; }
body.ma-typography-pilot:not(.ma-study-guide-page) main :is(p,li) {
    font-size: var(--ma-type-body);
    line-height: 1.7;
}
body.ma-typography-pilot:not(.ma-study-guide-page) main :is(.ma-subpage-prose,.ma-faq-body) {
    font-size: var(--ma-type-body);
    line-height: 1.7;
}
/* Compact supporting copy remains distinct from long-form reading text. */
body.ma-typography-pilot:not(.ma-study-guide-page) main :is(
    .ma-desc,.ma-rev-text,.ma-rev-pullquote,.ma-card-desc,.ma-course-desc,.ma-cap,
    .ma-tag,.ma-faq-trigger,.ma-subpage-h2-sub,.ma-stats-subtitle,.ma-rev-subtitle,
    .ma-courses-subtitle
) {
    font-size: 1rem;
    line-height: 1.65;
}
body.ma-typography-pilot:not(.ma-study-guide-page) main :is(
    .ma-eyebrow,.ma-cta-eyebrow,.ma-label,.ma-card-label,.ma-rev-school
) {
    font-size: .8125rem;
    line-height: 1.5;
}
body.ma-typography-pilot:not(.ma-study-guide-page) main .ma-rev-name { font-size: .9375rem; line-height: 1.5; }
body.ma-typography-pilot:not(.ma-study-guide-page) .site-inner :is(.ma-card-title,.ma-course-title) {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
}
body.ma-typography-pilot:not(.ma-study-guide-page) main :is(td,th,input,select,textarea,button) {
    font-size: 1rem;
}
body.ma-typography-pilot .genesis-nav-menu a { font-size: .9375rem; }
body.ma-typography-pilot .breadcrumb { font-size: .8125rem; line-height: 1.65; }
/* Bound long introductory copy without changing card grids or mathematical layouts. */
body.ma-typography-pilot:not(.ma-study-guide-page) :is(.ma-intro-text,.ma-subpage-prose) {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}
body.ma-typography-pilot:not(.ma-study-guide-page) .ma-intro-text { text-align: left; }
/* The legacy homepage overlay has a fixed height. Let its card grow with larger text. */
body.ma-typography-pilot .hero-wrapper { height: auto !important; min-height: 480px !important; }
body.ma-typography-pilot .hero-overlay { position: relative !important; height: auto !important; min-height: 480px; padding: 48px 0; }
@media (max-width:599px) {
    body.ma-typography-pilot {
        --ma-type-body: 1.0625rem;
        --ma-type-h1: 1.875rem;
        --ma-type-h2: 1.5rem;
        --ma-type-h3: 1.25rem;
    }
    body.ma-typography-pilot .hero-wrapper { min-height: 0 !important; }
    body.ma-typography-pilot .hero-overlay { min-height: 0; padding: 32px 0; }
}
