/* One type system for the standalone website, learner space and staff workspace. */
:root{
 --font-latin-text:'DM Sans','Noto Sans Arabic',sans-serif;
 --font-latin-heading:'Manrope','Noto Sans Arabic',sans-serif;
 --font-arabic:'Noto Sans Arabic','DM Sans',sans-serif;
 --font-text:var(--font-arabic);--font-heading:var(--font-arabic);
 --heading-tracking:normal;
}
:root:lang(en){--font-text:var(--font-latin-text);--font-heading:var(--font-latin-heading);--heading-tracking:-.025em}
body.penta-controls,body.penta-controls .classroom-experience{--pc-ui-font:var(--font-text);font-family:var(--font-text);font-weight:400}
/* These semantic roles override legacy page rules; sizes and layout stay local. */
body.penta-controls :is(h1,h2,h3,h4,h5,h6){font-family:var(--font-heading)!important;font-weight:600!important;letter-spacing:var(--heading-tracking)!important;line-height:var(--ui-heading-leading,1.5)!important;text-wrap:pretty;overflow-wrap:break-word}
body.penta-controls h1{font-weight:650!important}
body.penta-controls :is(h1,h2,h3,h4,h5,h6) :is(strong,b){font-family:inherit;font-weight:inherit!important}
body.penta-controls :is(button,input,textarea,select,option){font-family:var(--font-text)!important;letter-spacing:normal}
body.penta-controls :is(input,textarea,select,option){font-weight:400!important}
body.penta-controls :is(button,label,summary){font-weight:500!important}
body.penta-controls :is(.learn-button,.pa-button,.forms-button,.btn,.classroom-button,.classroom-account-link){font-weight:500!important}
body.penta-controls :is(p,li,dd,dt,td) :is(strong,b){font-weight:600}
body.penta-controls :is(.learn-eyebrow,.pa-eyebrow,.classroom-eyebrow,.eyebrow){font-weight:500;letter-spacing:normal}
body.penta-controls :is(.classroom-header-nav,.navlinks,.mobile-nav){font-family:var(--font-text);font-weight:500}
body.penta-controls :is(.brand,.classroom-brand,.admin-wordmark){font-family:var(--font-latin-heading)}
/* Preserve explicitly Arabic records inside an independently localized editor. */
body.penta-controls [lang=ar]{--font-text:var(--font-arabic);--font-heading:var(--font-arabic);--heading-tracking:normal;--ui-heading-leading:1.5;--ui-body-leading:1.9}
body.penta-controls [lang=en]{--font-text:var(--font-latin-text);--font-heading:var(--font-latin-heading);--heading-tracking:-.025em;--ui-heading-leading:1.22;--ui-body-leading:1.75}
body.penta-controls{font-kerning:normal;-webkit-font-smoothing:antialiased}
body.penta-controls :is(p,li,dd){overflow-wrap:break-word}
