/* Shared semantic type scale. Homepage hero, brand and decorative numerals keep their display treatments. */
:root{--sans:"Microsoft YaHei","微软雅黑","PingFang SC","Noto Sans CJK SC",sans-serif;--serif:var(--sans);--type-page:60px;--type-section:40px;--type-card:28px;--type-body:18px;--type-ui:16px;--type-note:14px;--type-caption:13px}
/* Both heading and body roles use the same Chinese sans-serif stack. */
body{font-family:var(--sans)}
#main h1{font-size:var(--type-page);font-weight:500;line-height:1.4}
#main .home-hero h1{font-size:64px;line-height:1.4}
#main h2{font-size:var(--type-section);font-weight:500;line-height:1.45}
#main h3,#main :is(.services-category-card,.addon-card-title,.process-story,.case-card,.journal-grid,.journal-library-grid,.post-card,.journal-card,.journal-article,.journal-sidebar) h2{font-size:var(--type-card);font-weight:500;line-height:1.45}
#main :is(p,li,dd){font-size:var(--type-body);line-height:1.8}
#main .home-hero p{font-size:22px;line-height:1.8}
#main :is(.tiny,.eyebrow,.concept-label,figcaption,.post-meta,.post-meta *,time){font-size:var(--type-caption);line-height:1.7}
#main :is(.button,.text-link,button,label,legend,input,textarea,select,.context-links a,.shop-links a,.pagination,.journal-tools nav,.case-filters,.case-filter,.addon-list,.addon-list a){font-size:var(--type-ui);line-height:1.6}
#main .inquiry-form .check{font-size:var(--type-note)!important;line-height:1.7}
#main summary{font-size:22px;font-weight:500;line-height:1.6}
#main .contact-channels h3{font-size:var(--type-card)}
#main .contact-channels .contact-person{font-size:var(--type-body)}
#main .contact-channels .contact-phone{font-size:var(--type-card)}
#main .contact-channels .tiny{font-size:var(--type-caption)}
#main :is(.journal-intro-note,.journal-sidebar-note) p{font-size:var(--type-note);line-height:1.7;white-space:normal;overflow-wrap:anywhere}
#main .journal-sidebar>h2{white-space:normal;overflow-wrap:anywhere}
body .site-header #primary-navigation li,body .site-header .button,body .menu-toggle{font-size:var(--type-ui);line-height:1.6}
body .site-footer .button,body .site-footer .footer-nav li{font-size:var(--type-ui);line-height:1.6}
body .footer-main>p{font-size:var(--type-body);line-height:1.8}
body .footer-brand .footer-channels .contact-person,body .footer-brand .contact-phone{font-size:var(--type-body);line-height:1.8}
body .footer-brand .footer-channels .contact-label{font-size:var(--type-note)}
body .footer-bottom,body .footer-wechat-card figcaption,body .footer-taobao{font-size:var(--type-caption);line-height:1.7}
@media(max-width:1100px) and (min-width:601px){:root{--type-page:46px;--type-section:34px;--type-card:25px;--type-body:18px}}
@media(max-width:600px){
 :root{--type-page:34px;--type-section:28px;--type-card:22px;--type-body:16px;--type-note:13px;--type-caption:12px}
 #main .home-hero h1{font-size:43px}
 #main .home-hero p{font-size:16px}
 #main summary{font-size:18px}
}
