/* Keep demo edges aligned with the actual panel padding at every breakpoint. */
.context-studio{--studio-gutter:31px}
@media(max-width:1180px){.context-studio{--studio-gutter:24px}}
@media(max-width:650px){.context-studio{--studio-gutter:18px}}
@media(min-width:901px) and (max-height:1000px){.context-studio{--studio-gutter:20px}}
.studio-main{padding-inline:var(--studio-gutter)}
.studio-foot,.lineage-detail{margin-inline:calc(-1 * var(--studio-gutter));padding-inline:var(--studio-gutter)}
.navigation{overscroll-behavior:contain}
@media(max-width:1100px){
 .language-picker select{font-size:1rem;padding-inline:6px}
}

/* Short laptops retain all demo rows, the record button and the explanatory note. */
@media(min-width:1200px) and (max-height:800px){
 .context-section{padding-top:20px}
 .context-heading{grid-template-columns:1fr 1fr;gap:32px;margin-bottom:16px}
 .context-heading>p{max-width:none;line-height:1.6;margin-top:0}
 .context-heading .eyebrow{margin-bottom:4px}
 .studio-main{padding-top:12px}
 .context-result-head{padding-block:8px}
 .fact-row{min-height:30px;padding-block:4px}
 .context-explanation{padding-block:8px}
 .studio-foot{padding-block:6px}
 .context-bottom{margin-top:8px}
}
/* Preserve the enquiry's existing gap below the founders on short laptop screens. */
@media(min-width:1200px) and (max-width:1350px) and (max-height:740px){
 html[lang] .company{padding-top:16px}
 .company .team-info{padding-top:12px}
}
