/* Prevent functional controls from being cropped by cinematic viewport sections. */
*,*::before,*::after{box-sizing:border-box}
html{overflow-x:clip}
button,a,input,select,textarea{max-width:100%}
button,a{overflow-wrap:anywhere}
button{touch-action:manipulation}
:focus-visible{outline-offset:3px}
.hero{
  height:auto;
  min-height:max(100svh,760px);
  max-height:none;
  padding-block:clamp(125px,13vh,190px) clamp(125px,13vh,190px);
  overflow:hidden;
}
.hero-content{transform:none;min-width:0}
.hero-buttons{flex-wrap:wrap;max-width:100%}
.hero-buttons .button{white-space:normal;text-align:left;min-width:0}
.hero-focus>div{min-width:0}
.hero .research-insert{position:relative;z-index:6;clear:both;margin-top:22px;margin-bottom:10px}
.hero .research-context{white-space:normal;max-width:min(100%,430px)}
.hero-bottom{pointer-events:none}
.hero-bottom a,.hero-bottom button{pointer-events:auto}
.form-actions,.export-actions,.draft-actions,.intro-buttons,.schedule-actions,.exit-controls,.topbar-actions,.nav-actions,.report-footer .privacy-controls{flex-wrap:wrap}
.form-actions>* , .export-actions>*,.draft-actions>*,.intro-buttons>*,.schedule-actions>*{min-width:0}
.option-grid,.choice-stack,.factor-grid,.mode-grid,.context-grid,.lens-grid{min-width:0}
@media(max-width:900px){
  .hero{height:auto;max-height:none;min-height:max(100svh,700px);padding-block:115px 120px}
  .hero-content{transform:none}
}
@media(max-width:620px){
  .hero{height:auto;min-height:max(100svh,760px);max-height:none;padding:135px 0 104px;align-items:flex-start}
  .hero-content{padding-inline:clamp(20px,5.5vw,30px)}
  .hero h1{overflow-wrap:normal}
  .hero-buttons{width:100%;max-width:420px}
  .hero-buttons .button{width:100%;justify-content:space-between}
  .hero .research-insert{margin-bottom:20px}
  .hero-bottom{bottom:18px}
  .hero-focus>div{gap:8px}
}
@media(max-width:390px){
  .hero h1{font-size:clamp(44px,12vw,65px)}
  .hero-focus button{max-width:100%}
  .question-card,.lens-card,.context-card{min-width:0}
  .choice-stack,.question-card.full-width .choice-stack{grid-template-columns:1fr}
}
