/* Shared type roles. Loaded after layout sheets; see prototype/Типографика.md. */
@font-face{font-family:Onest;src:url('fonts/OnestVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{
 --font-body:-apple-system,BlinkMacSystemFont,system-ui,Onest,"Segoe UI",Arial,sans-serif;font-family:var(--font-body);
 --type-body:18px;--type-lead:20px;--type-small:16px;--type-caption:14px;
 --type-hero:clamp(36px,3.4vw,46px);--type-section:34px;--type-card:23px;--type-price:40px;
 --weight-regular:400;--weight-medium:500;--weight-emphasis:550;
}
body{font-size:var(--type-body);line-height:1.6;font-weight:var(--weight-regular)}
strong{font-weight:var(--weight-emphasis)}
.hero h1{font-size:var(--type-hero);font-weight:var(--weight-medium);line-height:1.15;letter-spacing:-.03em}
.full-section h2,.intro-copy h2,.scenario-copy h2,.story h2,.try-app h2{font-size:var(--type-section);font-weight:var(--weight-medium);line-height:1.22;letter-spacing:-.025em}
.full-section h3,.detail-copy h3,.detail-caption h3,.field-card h3,.extra-copy h3,.offline-copy h3,.product-grid h3,.plan-card h3{font-size:var(--type-card);font-weight:var(--weight-medium);line-height:1.3;letter-spacing:-.015em}
.full-heading>p,.intro-copy>p:last-child,.scenario-copy>p:not(.section-label),.story-heading>p,.manifesto-copy>p:not(.section-label),.hero-lead{font-size:var(--type-lead);font-weight:var(--weight-regular);line-height:1.6;letter-spacing:normal}
.case-card p,.detail-copy p,.detail-caption p:not(.section-label),.field-card p,.extra-copy p,.offline-copy>p:not(.section-label),.product-grid article>p:not(.section-label),.try-card p,.faq-list p,.plan-card ul{font-size:var(--type-body);line-height:1.6;font-weight:var(--weight-regular)}
figcaption,.tour-panel figcaption,.result-stage figcaption,.room-photo figcaption,.detail-stage figcaption,.document-values{font-size:var(--type-small);line-height:1.5;font-weight:var(--weight-regular)}
figcaption strong,.tour-panel figcaption strong,.result-stage figcaption strong{font-size:var(--type-body);line-height:1.45;font-weight:var(--weight-medium)}
.section-label,.product-grid .section-label,.trial,.hero-copy .trial,.install .trial,.plan-period,.plan-year,.employee-rule,.pricing-notes,.plan-audience,.quiet,.inline-link,.result-route{font-size:var(--type-small);line-height:1.5;font-weight:var(--weight-regular);letter-spacing:normal}
.desktop-nav,.t10-header-cta,.nav-more summary,.mobile-menu summary,.mobile-menu nav a,.nav-more nav a,.button,.plan-card .button,.hero-actions .button,.screen-tabs button,.billing-period button{font-size:var(--type-small);line-height:1.4;font-weight:var(--weight-medium)}
.faq-list summary{font-size:var(--type-lead);line-height:1.45;font-weight:var(--weight-medium)}
.plan-price{font-size:var(--type-price);line-height:1.15;font-weight:var(--weight-medium);letter-spacing:-.025em}
.t10-footer-grid>div:first-child p,.t10-footer-grid nav,.t10-footer-contacts{font-size:var(--type-small);line-height:1.6;font-weight:var(--weight-regular)}
.t10-footer-contacts h2{font-size:var(--type-body);line-height:1.4;font-weight:var(--weight-medium)}
.t10-footer-bottom,.motion-toggle{font-size:var(--type-caption);line-height:1.5;font-weight:var(--weight-regular)}
@media(min-width:901px) and (max-height:760px){:root{--type-hero:clamp(32px,6svh,42px)}}
@media(max-width:900px){:root{--type-section:32px}}
@media(max-width:600px){
 :root{--type-body:17px;--type-lead:18px;--type-small:15px;--type-hero:32px;--type-section:28px;--type-card:22px;--type-price:36px}
 .t10-header-cta,.mobile-menu summary{font-size:14px}
}
@media(max-width:359px){:root{--type-hero:30px;--type-section:26px}.t10-header-cta,.mobile-menu summary{font-size:13px}}

/* Compact controls keep a full 44px hit area at every pointer size. */
.desktop-nav,.t10-header-cta,.nav-more summary,.mobile-menu summary{font-weight:400}
.method-tabs button,.t10h-tour .screen-tabs button,.billing-period button,#t10-result .client-modes button{font-family:var(--font-body);font-size:14px;font-weight:400;line-height:1.4}
.method-tabs button[aria-selected=true],.t10h-tour .screen-tabs button[aria-selected=true],#t10-result .client-modes button[aria-selected=true],.billing-period button[aria-pressed=true]{font-weight:500}
@media(max-width:359px){#t10-result .client-modes button{font-size:13px;padding-inline:6px}}
