/* Explicit wordmark faces avoid Inter's universal UI rule overriding children. */
@media screen{
:root body :is(.ed-brand,.ed-brand>span,.ed-license-wordmark,.brand,.brand-text h1,.auth-brand-name,.klasama-wordmark,.klasama-brand-text,.klasama-about-hero h2,.klasama-notebook strong){font-family:Georgia,Baskerville,"Times New Roman",serif!important;font-weight:600!important;font-style:normal!important;font-feature-settings:normal!important;letter-spacing:-.6px;line-height:1.15}
:root body .ed-brand small{font-family:Inter,system-ui,sans-serif!important;font-weight:600!important;font-feature-settings:"cv11" 1,"ss01" 1!important;line-height:1.5;letter-spacing:1.2px}
:root .ed-brand{align-items:center;gap:11px;flex-shrink:0}
:root .ed-brand>span{display:block}
:root :is(.ed-brand img,.brand-logo,.auth-brand-logo){object-fit:contain;flex-shrink:0}
:root #sidebar .brand-text{min-width:0}
:root #sidebar .brand-text h1{font-size:30px!important;margin:0!important;overflow-wrap:normal;white-space:nowrap}
:root .ed-nav{align-items:center}
:root .ed-license-wordmark{font-size:39px;letter-spacing:-1.5px}
}

/* Bold sans-serif section headings; the Klasama wordmark stays serif. */
@media screen{
:root body :is(h1,h2,h3,h4,h5,h6){font-family:Inter,system-ui,sans-serif!important;font-weight:700!important;font-feature-settings:"cv11" 1,"ss01" 1!important;line-height:1.25;letter-spacing:-.5px}
:root body.academic-landing main :is(h1,h2,h3,h4),:root body.academic-landing main :is(h1,h2,h3,h4) em{font-family:Inter,system-ui,sans-serif!important;font-weight:700!important;font-style:normal!important;font-feature-settings:"cv11" 1,"ss01" 1!important;line-height:1.2;letter-spacing:-.8px}
:root body.academic-landing .ed-hero h1{font-size:clamp(38px,4.5vw,60px)}
:root body.academic-landing :is(.ed-section h2,.ed-bottom h2,.ed-license-copy h2,.ed-final h2){font-size:clamp(30px,3.1vw,40px)}
:root body.academic-landing :is(.ed-feature-grid h3,.ed-answers>h3){font-size:23px}
:root body p{font-weight:400}
:root body :is(.brand-text h1,.auth-brand-name,.klasama-wordmark,.ed-brand,.ed-brand>span,.ed-license-wordmark){font-family:Georgia,Baskerville,"Times New Roman",serif!important;font-weight:600!important;font-feature-settings:normal!important}
}

@media screen{
:root body :is(.auth-brand-tag,.klasama-tagline,.klasama-about-tagline,.tagline,.brand-text p,.ed-brand small,.ed-book-tagline,.ed-hero-tagline,.ed-final>.ed-kicker,.dev-tagline){text-transform:none!important}
}

@media screen{
:root body :is(.auth-brand-tag,.klasama-tagline,.klasama-about-tagline,.tagline,.brand-text p,.ed-brand small,.ed-book-tagline,.ed-hero-tagline,.ed-hero-tagline strong,.ed-final>.ed-kicker){font-family:Georgia,Baskerville,serif!important;font-style:italic!important;font-weight:400!important;text-transform:none!important;letter-spacing:.1px!important;font-synthesis:style}
:root body.academic-landing .ed-brand small{font-size:12px!important;line-height:1.2!important}
:root #sidebar .brand-text p{font-size:10px!important;white-space:normal!important;line-height:1.25!important}
}
