/* Keep the existing brand, with natural sizing for translated UI. Loaded last. */
html{--locale-font:Inter,system-ui,sans-serif}
html:lang(zh-CN){--locale-font:"Microsoft YaHei","PingFang SC","Noto Sans SC",sans-serif}
html:lang(zh-HK){--locale-font:"Microsoft JhengHei","PingFang HK","Noto Sans HK",sans-serif}
html:lang(ja){--locale-font:"Yu Gothic","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif}
html:lang(ko){--locale-font:"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",sans-serif}
html:lang(th){--locale-font:"Noto Sans Thai",Tahoma,"Leelawadee UI",sans-serif}
html:lang(hi){--locale-font:"Noto Sans Devanagari",Nirmala UI,Mangal,sans-serif}
html:lang(km){--locale-font:"Noto Sans Khmer","Leelawadee UI","Khmer UI",sans-serif}
html:lang(ru),html:lang(uk){--locale-font:"Segoe UI",Arial,sans-serif}
body{font-family:var(--locale-font);line-height:1.8}
button,input,select,textarea{font-family:inherit}
h1,h2,h3,p,summary,.button{overflow-wrap:break-word}
h1,h2{text-wrap:balance;hyphens:auto}
html:lang(th) h1,html:lang(hi) h1,html:lang(km) h1{line-height:1.5;letter-spacing:normal}
html:lang(th) h2,html:lang(hi) h2,html:lang(km) h2{line-height:1.6;letter-spacing:normal}
html:lang(th) .eyebrow,html:lang(hi) .eyebrow,html:lang(km) .eyebrow{letter-spacing:normal;line-height:1.8}
.button{height:auto;min-height:46px;white-space:normal;text-align:center;line-height:1.5;max-width:100%;gap:8px}
.button .icon{flex-shrink:0}
.button-row,.vp-actions,.vv-actions{flex-wrap:wrap}
.hero-title-line{max-width:100%;white-space:normal}
.hero h1,.commerce-hero h1,.vp-hero h1,.vv-hero h1,.pricing-hero h1,.pm-hero h1{font-size:clamp(32px,4vw,56px)}
.commerce-header .nav-wrap{grid-template-columns:auto minmax(0,1fr) auto;gap:24px}
.commerce-header .desktop-nav{justify-content:center;gap:clamp(16px,2vw,32px)}
.commerce-header .brand{flex-shrink:0}
.commerce-header .language-options{width:max-content;min-width:220px;max-width:calc(100vw - 32px);max-height:min(70dvh,540px);overflow-y:auto;overscroll-behavior:contain}
.language-options a{min-height:44px;display:flex;align-items:center;padding:8px 16px}
.language-options a[aria-current=page]{font-weight:700;background:var(--orange-soft)}
.commerce-header .product-dropdown{max-width:calc(100vw - 32px)}
.nav-actions{flex-shrink:0}
.core-product-card,.download-card,.store-card,.pricing-card{min-width:0;height:auto}
.core-product-actions{flex-wrap:wrap;gap:16px}
.core-product-actions .button{flex:1 1 150px}
.pricing-card .button{margin-top:auto}
.pm-card,.pm-card.pm-best{grid-template-rows:subgrid;grid-row:span 5;min-width:0}
.pricing-card,.video-pricing-page .pricing-card{grid-template-rows:subgrid;grid-row:span 7}
.pm-card>*{min-width:0}
.pm-card .pm-buy,.pm-final .button,.pricing-card .pricing-buy{height:auto;min-width:0;min-height:48px}
.pm-name{flex-wrap:wrap}.pm-badge{white-space:normal}
.vp-hero-copy .vp-actions{flex-wrap:wrap}
.vp-page .vp-hero .button{height:auto}
.pricing-amount span{white-space:normal}
.download-meta,.store-points{overflow-wrap:anywhere}
.membership-title,.vp-membership h2{overflow-wrap:break-word}
.membership-visual small,.vp-membership-mark small{white-space:normal;text-align:center}
.error-page{padding-block:80px}.error-page nav{margin-top:40px;line-height:2.5}
@media(max-width:850px){
 .pm-card,.pm-card.pm-best{grid-row:auto;grid-template-rows:repeat(5,auto)}
 .pricing-card,.video-pricing-page .pricing-card{grid-row:auto;grid-template-rows:repeat(7,auto)}
}
@media(max-width:1199px){
 .commerce-header .desktop-nav{display:none}
 .commerce-header .mobile-toggle{display:flex}
 .commerce-header .nav-wrap{grid-template-columns:1fr auto}
 .commerce-header .mobile-nav:not([hidden]){display:grid;position:absolute;inset:76px 0 auto;background:var(--surface);padding:20px 24px;border-bottom:1px solid var(--line);max-height:calc(100dvh - 76px);overflow-y:auto;gap:8px}
 .commerce-header .mobile-nav>a{padding-block:10px}
}
@media(max-width:600px){
 .commerce-header .nav-wrap{gap:8px}
 .commerce-header .brand-wordmark{font-size:22px}
 .commerce-header .nav-actions{gap:4px}
 .commerce-header .language-menu summary{gap:4px;padding-inline:6px}
 .commerce-header .language-menu summary span{font-size:13px}
 .commerce-header .mobile-nav:not([hidden]){top:66px}
 .hero h1,.commerce-hero h1,.vp-hero h1,.vv-hero h1,.pricing-hero h1,.pm-hero h1{font-size:clamp(32px,8.4vw,36px)}
 #features .tool-tabs{flex-wrap:wrap}#features .tool-tabs button{white-space:normal}
 .vp-scene-tabs{flex-wrap:wrap}
 .vv-hero-flow{flex-wrap:wrap}
}
