/* Approved 8 + 2: Unbounded display / Golos Text reading and UI.
   First-screen exception: original 08 uses Geologica below the headline.
   All assets are local. The existing wordmark and motion are preserved. */
@font-face{font-family:Unbounded;src:url(fonts/type-lab/unbounded.ttf) format('truetype');font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:'Golos Text';src:url(fonts/type-lab/golos-text.ttf) format('truetype');font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:Geologica;src:url(fonts/type-lab/geologica.ttf) format('truetype');font-weight:100 900;font-style:normal;font-display:swap}

.guide-v5{--type-display:Unbounded,Arial,sans-serif;--type-reading:'Golos Text',Arial,sans-serif;--type-hero:Geologica,Arial,sans-serif;font-family:var(--type-reading);font-optical-sizing:auto;font-synthesis:none}
.guide-v5 :is(button,input,select,textarea){font-family:var(--type-reading)}

/* Explicit families override the older component font shorthands. */
.guide-v5 :is(.eyebrow,.catalog-kicker,.catalog-count,.case-id,.case .meta,.case-breadcrumb>span,.chapter-number,.document-toolbar>span,.document-end,.prompthead>span,.prompttext,.caselead,.rail-label,.section-eyebrow,.case-rail>a span:not(.category-dot),.color-label,.color-meta,.choice-symbol,.catalog-reset,.effort-caption,.effort-caption>span:last-child,.effort-number,.effort-text strong,.effort-text>span,.effort-meta,.practice-toggle,.document-copy,.try-kicker,.try-command,.try-undo-hint){font-family:var(--type-reading)}
.guide-v5 .color-index :is(.all-filter,.nav-count,.grid-caption){font-family:var(--type-reading)}
.guide-v5 .case-passport .case-facts :is(dt,dd){font-family:var(--type-reading)}
.guide-v5 :is(.chapter p,.chapter li,.tools-note p,.prompt-chapter .prompt-instruction,.document-text,.chapter .availability-note,.source-note p,.case-opening p,.outcome p){font-family:var(--type-reading)}
.guide-v5 .case-steps li::marker,.guide-v5 .detail li::marker{font-family:var(--type-reading)}
.guide-v5 :is(.related-cases-heading p,.related-case-category,.related-case-connection,.related-case-open){font-family:var(--type-reading)}
.guide-v5 :is(.account-nav,.account-nav-count,.bookmark-detail,.account-meta,.account-meta>span:last-child:not(:first-child),.demo-profile,.signout,.shelf-count,.shelf-heading p,.shelf-catalog-link,.shelf-filters button,.shelf-filters button span,.shelf-order,.shelf-empty-label,.shelf-empty p,.editorial-action,.shelf-footer,.signin-kicker,.signin-body>p,.signin-pending>span,.signin-pending p,.signin-later,.signin-demo-note,.account-notice,.account-notice button,.account-prototype-note,.account-prototype-note>span,.account-prototype-note button,.shelf-modes button,.shelf-modes button span){font-family:var(--type-reading)}
.guide-v5 :is(.contribute-meta,.contribute-back,.contribute-heading>p,.contribute-field label,.contribute-field label small,.contribute-index,.contribute-field input,.contribute-field textarea,.contribute-field-note,.contribute-extras summary,.contribute-save,.contribute-status,.contribute-next,.contribute-aside>p,.contribute-local-note p,.contribute-footer){font-family:var(--type-reading)}
.guide-v5 .contribute-aside-kicker,.guide-v5 .try-section p{font-family:var(--type-reading)!important}

/* Display type keeps the approved light weight, with room for Russian titles. */
.guide-v5 .sectionhead h2,.guide-v5 #catalog h2,
.guide-v5 .case h3,.guide-v5 .case-passport h1,.guide-v5 .chapter h2,
.guide-v5 .related-cases-heading h2,.guide-v5 .related-case h3,
.guide-v5 .detail h1,.guide-v5 .detail h2,.guide-v5 .empty h3,
.guide-v5 .shelf-heading h1,.guide-v5 .shelf-empty h2,.guide-v5 .signin-body h2,
.guide-v5 .contribute-heading h1,.guide-v5 .contribute-aside h2,.guide-v5 .try-section h2{
 font-family:var(--type-display);font-weight:400;letter-spacing:-.045em;text-transform:lowercase;
}
.guide-v5 #catalog h2,.guide-v5 .sectionhead h2{font-size:30px;line-height:1.2}
.guide-v5 .case h3{font-size:21px;line-height:1.24;overflow-wrap:anywhere}
.guide-v5 .case-passport h1{font-size:31px;line-height:1.16;text-wrap:pretty;overflow-wrap:anywhere}
.guide-v5 .chapter h2{font-size:23px;line-height:1.3}
.guide-v5 .prompt-chapter h2{font-size:26px;line-height:1.2}
.guide-v5 .case-opening p{font-size:20px;line-height:1.6;letter-spacing:0}
.guide-v5 .chapter p,.guide-v5 .chapter li{font-size:17px;line-height:1.75}
.guide-v5 .outcome p{font-size:19px;line-height:1.7;letter-spacing:0}
.guide-v5 .document-text{font-size:17px;line-height:1.8}
.guide-v5 .tools-note p{font-size:12px;line-height:1.8}
.guide-v5 .prompt-chapter .prompt-instruction{font-size:12px;line-height:1.7}
.guide-v5 .chapter .availability-note,.guide-v5 .source-note p{font-size:11px;line-height:1.8}
.guide-v5 .related-cases-heading h2{font-size:26px;line-height:1.25}
.guide-v5 .related-case h3{font-size:21px;line-height:1.3;overflow-wrap:anywhere}
.guide-v5 .shelf-heading h1,.guide-v5 .contribute-heading h1,.guide-v5 .detail h1{font-size:38px;line-height:1.15}
.guide-v5 .shelf-empty h2,.guide-v5 .signin-body h2{font-size:28px;line-height:1.25}
.guide-v5 .contribute-aside h2,.guide-v5 .try-section h2,.guide-v5 .detail h2,.guide-v5 .empty h3{font-size:23px;line-height:1.3}
.guide-v5 .level strong{font-family:var(--type-reading)}

/* The original 08 first screen; the word-slot grid still reserves both words. */
.guide-v5 .hero h1.animated-headline{font-family:var(--type-display);font-weight:400;font-size:clamp(30px,3.6vw,45px);line-height:1.07;letter-spacing:-.045em;word-spacing:normal}
.guide-v5 .hero-lead{text-transform:lowercase}
.guide-v5 .hero :is(.intro,.hero-search input,.hero-search-hint,.herofoot){font-family:var(--type-hero)}
.guide-v5 .hero .intro{font-size:15px;font-weight:400;line-height:1.5}
.guide-v5 .hero-search-hint{font-size:13px}
.guide-v5 .hero .hero-search{background:transparent}
.guide-v5:has(.hero) .nav :is(.navlinks,.lang,.account-nav,.account-nav-count){font-family:var(--type-hero)}
html:not([data-color-mode='dark']) .guide-v5 .hero .intro{color:#526d48}

@media(max-width:1050px){
 .guide-v5 .case-passport h1{font-size:28px}
 .guide-v5 .shelf-heading h1,.guide-v5 .contribute-heading h1{font-size:32px}
}
@media(max-width:760px){
 .guide-v5 #catalog h2,.guide-v5 .sectionhead h2{font-size:26px}
 .guide-v5 .hero h1.animated-headline{font-size:clamp(23px,5.5vw,36px)}
 .guide-v5 .hero .intro{font-size:14px}
 .guide-v5 .case-passport h1{font-size:28px}
 .guide-v5 .chapter h2,.guide-v5 .prompt-chapter h2{font-size:23px}
 .guide-v5 .case-opening p{font-size:19px}
 .guide-v5 .chapter p,.guide-v5 .chapter li,.guide-v5 .document-text{font-size:16px}
 .guide-v5 .tools-note p,.guide-v5 .prompt-chapter .prompt-instruction{font-size:12px}
 .guide-v5 .chapter .availability-note{font-size:11px}
 .guide-v5 .related-cases-heading h2{font-size:24px}
 .guide-v5 .shelf-heading h1,.guide-v5 .contribute-heading h1{font-size:28px}
 .guide-v5 .signin-body h2{font-size:25px}
}
