/* Public typography: one local font stack and a scale shared by every public template.
   Reading copy, UI labels and teaching diagrams have distinct roles. No font download. */
:root {
    --vw-font-sans:Arial,Helvetica,sans-serif;
    --vw-type-section:clamp(30px,2.8vw,44px);
    --vw-type-card:22px;
    --vw-type-body:16px;
    --vw-type-lead:17px;
    --vw-type-reading:18px;
    --vw-leading-reading:1.8;
    --vw-type-reading-title:30px;
    --vw-type-action:16px;
    --vw-type-kicker:12px;
    --vw-type-meta:14px;
    --vw-type-label:17px;
    --vw-type-promo:clamp(30px,3.7vw,46px);
}
@media screen {
    html body {font-family:var(--vw-font-sans);font-size:16px;font-weight:400;line-height:1.6}
    html body :is(button,input,select,textarea) {font-family:var(--vw-font-sans)}
    html body .public-site-header .mobile-menu nav,
    html body .public-site-header .mobile-menu nav a {
        font-family:var(--vw-font-sans);font-size:14px;font-weight:700;line-height:1.4;letter-spacing:normal;
    }
    /* Section headings are separate from card titles and article subheadings. */
    html body .vw-home-content h2:not(.vw-tg__title),
    html body:is(.vw-commercial,.vw-contacts,.vw-public-page) :is(.public-section-head h2,.public-faq>h2,.faq-section h2,.calculation-explainer h2,.seo-copy h2,.vw-registration-panel h2,.vw-public-recovery h2),
    html body .vw-contacts-address h2,
    html body.vw-academy :is(.school-heading h2,.section-heading h2,.faq-section h2),
    html body:not(.vw-academy) :is(.news-section-heading h2,.news-feed-title,.topic-main h2) {
        font-size:var(--vw-type-section);font-weight:800;line-height:1.15;letter-spacing:-.025em;text-transform:none;
    }
    html body:is(.vw-home,.vw-commercial,.vw-contacts,.vw-public-page,.vw-academy) :is(.vw-home-format,.vw-home-steps,.academy-card,.home-news-card,.public-guide-grid,.public-split-grid) h3,
    html body.vw-academy :is(.spotlight h3,.library-card h4,.steps h3),
    html body:not(.vw-academy) :is(.news-featured h2,.news-related .news-related-card h3,.topic-guide h3),
    html body .lesson-related .news-related-card h3,
    html body:is(.vw-home,.vw-commercial,.vw-contacts,.vw-public-page) :is(.public-feature-grid b,.public-fact-grid strong,.public-steps b,.seo-benefits b),
    html body:not(.vw-academy) #news-cards .news-card h2 {
        font-size:var(--vw-type-card);font-weight:700;line-height:1.3;letter-spacing:-.02em;text-transform:none;
    }
    html body:is(.vw-home,.vw-commercial,.vw-contacts,.vw-public-page,.vw-academy) :is(.vw-home-format,.vw-home-steps,.academy-card,.home-news-card,.public-guide-grid) p,
    html body:is(.vw-home,.vw-commercial,.vw-contacts,.vw-public-page) :is(.public-steps p,.public-feature-grid span,.public-fact-grid span,.seo-benefits span),
    html body.vw-academy :is(.spotlight p,.library-card p,.steps p),
    html body .lesson-related .news-related-card p,
    html body:not(.vw-academy) :is(.news-related .news-related-card p,.topic-guide p),
    html body:not(.vw-academy) #news-cards .news-card p {
        font-size:var(--vw-type-body);font-weight:400;line-height:1.65;letter-spacing:normal;
    }
    html body .vw-home-section-intro,
    html body:is(.vw-commercial,.vw-contacts,.vw-public-page) .public-section-head p,
    html body.vw-academy .school-heading>p,
    html body:not(.vw-academy) .news-section-heading p {
        font-size:var(--vw-type-lead);font-weight:400;line-height:1.65;letter-spacing:normal;
    }
    html body :is(.vw-home-kicker,.vw-contacts-section-kicker,.academy-kicker),
    html body:is(.vw-home,.vw-commercial,.vw-contacts,.vw-public-page) :is(.public-section-head>small,.public-faq>small),
    html body.vw-academy .section-heading .kicker,
    html body:not(.vw-academy) .news-section-heading>small {
        font-size:var(--vw-type-kicker);font-weight:700;line-height:1.5;letter-spacing:.14em;text-transform:uppercase;
    }
    html body .vw-site-hero[data-vw-hero] .vw-site-hero-breadcrumb,
    html body:not(.vw-academy) .news-breadcrumbs {
        font-size:var(--vw-type-meta);font-weight:400;line-height:1.5;letter-spacing:normal;
    }
    html body .vw-site-hero[data-vw-hero] .vw-site-hero-breadcrumb a,
    html body:not(.vw-academy) .news-breadcrumbs a {font-weight:400}
    html body:is(.vw-home,.vw-commercial,.vw-public-page,.vw-academy) :is(.academy-card-kicker,.home-news-meta),
    html body:not(.vw-academy) :is(.news-featured small,.news-related .news-related-card small),
    html body.vw-academy .lesson-related .news-related-card small,
    html body:not(.vw-academy) #news-cards .news-card .news-meta {
        font-size:var(--vw-type-kicker);font-weight:700;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;
    }
    html body:is(.vw-home,.vw-commercial,.vw-contacts,.vw-public-page,.vw-academy) :is(.academy-card-link,.home-news-read,.public-guide-grid a,.public-feature-grid a,.public-fact-grid a),
    html body.vw-academy :is(.read-link,.steps a,.text-link),
    html body:not(.vw-academy) .news-featured a>div>span,
    html body:not(.vw-academy) .news-start-card>span {
        font-size:14px;font-weight:700;line-height:1.5;letter-spacing:normal;text-transform:none;
    }
    html body:is(.vw-commercial,.vw-public-page) :is(.public-faq,.faq-section) summary,
    html body.vw-academy :is(.faq-list,.faq-section) summary,
    html body.vw-academy .lesson-content .news-publication-faq summary,
    html body:not(.vw-academy) .news-publication-faq summary {
        font-size:var(--vw-type-label);font-weight:700;line-height:1.5;letter-spacing:normal;text-transform:none;
    }
    html body:is(.vw-commercial,.vw-public-page) :is(.public-faq,.faq-section) :is(details,details p,details li),
    html body.vw-academy :is(.faq-list,.faq-section) :is(details,details p,details li),
    html body.vw-academy .lesson-content .news-publication-faq :is(details,details p,details li),
    html body:not(.vw-academy) .news-publication-copy .news-publication-faq :is(details,details p,details li) {
        font-size:var(--vw-type-body);font-weight:400;line-height:1.65;letter-spacing:normal;
    }
    html body.vw-public-page :is(.driver-form label:not(.consent),.income-controls label),
    html body:not(.vw-academy) .news-search-row label {
        font-size:15px;font-weight:700;line-height:1.5;letter-spacing:normal;text-transform:none;
    }
    /* Only running text is enlarged. Notes, source lists, tables and diagrams keep their roles. */
    html body.vw-academy .lesson-content,
    html body:not(.vw-academy) .news-publication-copy>p,
    html body:not(.vw-academy) .news-publication-copy>section:not(.vw-tg,.news-related,.news-publication-sources,.news-publication-faq)>:is(p,ul,ol),
    html body:not(.vw-academy) .news-publication-copy>section:not(.vw-tg,.news-related,.news-publication-sources,.news-publication-faq)>:is(ul,ol)>li,
    html body:not(.vw-academy) .article-body>:is(p,ul,ol),
    html body:not(.vw-academy) .article-body>:is(ul,ol)>li {
        font-size:var(--vw-type-reading);line-height:var(--vw-leading-reading);letter-spacing:normal;
    }
    html body.vw-academy .lesson-content h2,
    html body:not(.vw-academy) .news-publication-copy>h2,
    html body:not(.vw-academy) .news-publication-copy>section:not(.vw-tg,.news-related,.news-publication-sources,.news-publication-faq)>h2,
    html body:not(.vw-academy) .article-body>h2 {
        font-size:var(--vw-type-reading-title);font-weight:700;line-height:1.2;letter-spacing:-.025em;text-transform:none;
    }
    html body.vw-academy .lesson-content h3,
    html body:not(.vw-academy) .news-publication-copy>h3,
    html body:not(.vw-academy) .news-publication-copy>section:not(.vw-tg,.news-related,.news-publication-sources,.news-publication-faq)>h3,
    html body:not(.vw-academy) .article-body>h3 {
        font-size:var(--vw-type-card);font-weight:700;line-height:1.3;letter-spacing:-.02em;
    }
    html body.vw-academy .lesson-content :is(p,li,td,dd) a:not([aria-current],[role=button],.button),
    html body:not(.vw-academy) :is(.news-publication-copy,.article-body) :is(p,li,td,dd) a:not([aria-current],[role=button],.button) {font-weight:700}
    /* The same subscription component must not inherit news-card or article typography. */
    html body .vw-tg {font-family:var(--vw-font-sans);font-size:16px;font-weight:400;line-height:1.6}
    html body .vw-tg .vw-tg__copy .vw-tg__title {
        font-size:var(--vw-type-promo);font-weight:800;line-height:1.15;letter-spacing:-.025em;text-transform:none;
    }
    html body .vw-tg .vw-tg__copy .vw-tg__text {font-size:16px;font-weight:400;line-height:1.65}
    html body .vw-tg .vw-tg__action .vw-tg__button {font-size:var(--vw-type-action);font-weight:700;line-height:1.4}
    html body .vw-tg :is(.vw-tg__topics li,.vw-tg__handle,.vw-tg__post p) {font-weight:700}
    /* Full-size actions share type; filters, table controls and inline links remain compact. */
    html body main :is(.button,.vw-public-button,.academy-primary,.academy-secondary,.academy-article-cta-actions a,.topic-button),
    html body:not(.vw-academy) main .button,
    html body:not(.vw-academy) .article-aside .button,
    html body.vw-public-page .button,
    html body.vw-commercial .public-inline-actions .button,
    html body.vw-contacts .public-inline-actions .button {
        font-family:var(--vw-font-sans);font-size:var(--vw-type-action);font-weight:700;line-height:1.4;letter-spacing:normal;
    }
    html body.vw-academy .button,
    html body.vw-academy :is(.telegram-card,.lesson-cta,.lesson-sidebar-inner) .button,
    html body:not(.vw-academy) #news-cards .news-card .button {
        font-size:var(--vw-type-action);font-weight:700;line-height:1.4;
    }
    html body footer :is(p,a,li,nav,span),
    html body.vw-public-page .footer-grid :is(p,nav a),
    html body.vw-academy .site-footer :is(p,nav a) {font-size:14px;line-height:1.6}
    html body footer :is(.brand,.wordmark,.vw-public-footer-brand),
    html body footer :is(.brand,.wordmark) :is(span,b),
    html body.vw-public-page .vw-public-footer-brand,
    html body.vw-academy .site-footer .wordmark {font-size:26px;font-weight:800;line-height:1.2;letter-spacing:-.025em}
    /* Current-location cues must survive the reader's forced system palette. */
    @media(forced-colors:active) {
        html body .public-site-header .mobile-menu[open] nav a[aria-current] {font-weight:900}
    }
    @media(max-width:760px) {
        :root {
            --vw-type-section:30px;--vw-type-card:21px;--vw-type-lead:16px;
            --vw-type-reading:17px;--vw-leading-reading:1.75;--vw-type-reading-title:26px;
            --vw-type-action:15px;--vw-type-kicker:11px;--vw-type-meta:13px;--vw-type-label:16px;--vw-type-promo:30px;
        }
    }
}
