/* Homepage: text and evidence share a bounded layout at every screen size. */
body.home-site {
  --story-space:max(1.25rem,calc((100vw - 1240px)/2));
}
body.home-site .prompt-studio .prompt-workbench {
  grid-template-columns:minmax(0, .82fr) minmax(0,1.18fr);
  gap:clamp(24px,3vw,40px);
  align-items:start;
}
body.home-site .prompt-result {width:100%;max-width:700px;box-sizing:border-box;padding:20px;}
body.home-site .prompt-narrative {min-width:0;max-width:none;}
body.home-site .character-workshop-note {gap:14px;margin-bottom:18px;align-items:center;}
body.home-site .character-workshop-note .character-workshop {width:140px;flex-basis:140px;}
body.home-site .prompt-request {display:grid;min-height:0;font-size:22px;line-height:1.4;margin:12px 0 20px;}
body.home-site .prompt-request>span {grid-area:1/1;}
body.home-site .prompt-request .prompt-request-measure {visibility:hidden;pointer-events:none;}
body.home-site .prompt-caret {display:none;}
body.home-site .prompt-meaning {min-height:0;padding-top:16px;}
body.home-site .prompt-meaning ul {margin:12px 0;}
body.home-site .prompt-meaning li {min-height:3.4em;}
body.home-site .prompt-controls {min-height:42px;margin-top:8px;}
body.home-site .prompt-controls button[hidden] {display:inline-block;visibility:hidden;}
body.home-site .prompt-output {display:grid;min-height:0;padding:0;}
/* Invisible panels still reserve their height, preventing the next section from jumping. */
body.home-site .prompt-output>.product-app-preview,
body.home-site .prompt-output>.product-app-preview[hidden] {display:block;grid-area:1/1;min-width:0;visibility:hidden;pointer-events:none;}
body.home-site .prompt-output>.product-app-preview:not([hidden]) {visibility:visible;pointer-events:auto;}
body.home-site .product-app-preview figcaption {padding-top:18px;font-size:15px;}
body.home-site .product-app-preview figcaption strong {font-size:22px;}
body.home-site .cinema-evidence-strip strong {font-size:24px;}
body.home-site .cinema-evidence-strip {gap:18px;padding:16px;}
body.home-site .prompt-status {min-height:3em;font-size:13px;margin:12px 0 0;}
body.home-site .platform-console {max-width:1600px;margin-inline:auto;}
body.home-site .is-spatial .platform-console {height:min(940px,calc(100svh - 80px));}
body.home-site .console-header {left:32px;right:32px;}
body.home-site .console-footer {padding-inline:32px;}
body.home-site .console-overview {padding-inline:32px;}
body.home-site .console-descriptions {min-height:240px;}
body.home-site .console-screen {max-width:1100px;}
body.home-site .console-track.is-scroll-console {height:400svh;}
/* A tighter sequence from eyebrow to heading to supporting copy. */
body.home-site :is(.app-lab,.audience-section,.client-proof) {padding-block:40px;}
body.home-site .story-hero {padding-block:28px;}
body.home-site .story-hero .hero-copy {padding-block:12px;}
body.home-site.hierarchy-site .section-lead,
body.home-site.hierarchy-site .section-lead.compact {margin-bottom:24px;}
body.home-site .prompt-studio .app-lab-heading {align-items:start;gap:24px;margin-bottom:24px;}
body.home-site .app-lab-heading :is(h2,.section-index),
body.home-site .client-proof-heading :is(h2,.section-index) {margin-top:0;}
body.home-site .app-lab-heading .section-index,
body.home-site .client-proof-heading .section-index {margin-bottom:10px;}
body.home-site .prompt-invitation {margin-bottom:0;}
body.home-site .client-proof {row-gap:24px;}
body.home-site .closing-brief .closing-copy {padding-block:32px;}
body.home-site .closing-copy h2 {margin-block:12px 16px;}
@media(max-width:949px){
 body.home-site .prompt-studio .prompt-workbench {grid-template-columns:1fr;gap:24px;}
 body.home-site .prompt-result {max-width:700px;justify-self:center;}
 body.home-site .prompt-narrative {width:100%;max-width:700px;justify-self:center;}
 body.home-site .prompt-meaning li {min-height:1.7em;}
 body.home-site .console-header {left:24px;right:24px;}
 body.home-site .console-footer,body.home-site .console-overview {padding-inline:24px;}
}
@media(max-width:600px){
 body.home-site :is(.app-lab,.audience-section,.client-proof) {padding-block:30px;}
 body.home-site .prompt-result {padding:14px;}
 body.home-site .prompt-request {font-size:20px;}
 body.home-site .character-workshop-note .character-workshop {width:110px;flex-basis:110px;}
 body.home-site .cinema-evidence-strip {gap:12px;padding:12px;}
 body.home-site .cinema-evidence-strip strong {font-size:20px;}
}
body.home-site .console-track:not(.is-spatial) .console-evidence {margin:24px 32px;}
body.home-site .character-closing-art {max-width:300px;}

body.home-site .prompt-meaning {display:grid;}
body.home-site .prompt-meaning>.chapter-label {grid-area:1/1;}
body.home-site .prompt-meaning>ul {grid-area:2/1;}
body.home-site .prompt-meaning>ul.prompt-meaning-measure {visibility:hidden;pointer-events:none;}
body.home-site .prompt-meaning li {min-height:0;}
/* Let the spatial demonstration use a wider stage than the reading column. */
body.home-site.story-site.hierarchy-site .product-tour-section {padding-inline:clamp(20px,3vw,60px);}
