/* 3.5 layout contract: content starts promptly; maps own the available viewport.
   Loaded last. No blank minimum-height heroes or fixed desktop map minimum. */
.site-header{height:64px;padding-inline:24px}
.site-header .brand .official-logo{width:232px;height:64px;object-fit:contain}
.hero{padding-top:12px}
.hero-intro.hero-intro-streamlined{gap:20px;margin-bottom:12px}
.hero-intro-streamlined .eyebrow{margin-bottom:5px;font-size:8px}
.hero-intro-streamlined .hero-doctrine{font-size:clamp(28px,2.5vw,36px);line-height:1.12}
.hero-intro-streamlined .doctrine-statement{font-size:12px;margin-top:6px}
.hero-intro-streamlined .hero-promise{font-size:11px;margin-top:6px}
.hero-entry{min-height:44px;gap:12px;padding:0 0 0 18px}
.hero-entry strong{font-size:13px;letter-spacing:0;margin:0;color:#f5d675}
.hero-entry small,.hero-entry em{display:none}
.hero-entry>svg{width:32px;height:32px;padding:8px}
.command-preview{--preview-map-height:max(320px,calc(100svh - 218px))}
.preview-workspace{height:var(--preview-map-height);min-height:0}
.preview-topline{display:none}
.command-preview .mission-button,.command-preview .mission-button:first-child{min-height:44px;padding-block:7px}
.command-preview .mission-button:not(:last-child):after{top:14px;bottom:14px}
.preview-caption{padding:5px 12px;min-height:0;font-size:7px;line-height:1.4}
.hero-bottom{display:none}
.product-tour{margin-top:16px;padding-top:18px;padding-bottom:24px}
.tour-tabs{padding-bottom:8px}
.product-tour>[role=tabpanel]{padding-top:12px}
.product-tour .section-heading{margin-bottom:14px}
.membership-section{padding-top:28px;padding-bottom:24px}
.field-testing-panel{padding:24px;gap:28px}
/* Keep discovery legible even when a laptop has little vertical space. */
@media(min-width:901px){
 #homepageAgent .agent-header{min-height:52px;padding:8px 14px}
 #homepageAgent .agent-identity strong{font-size:18px}
 #homepageAgent .agent-identity>span{margin-top:2px;font-size:10px}
 #homepageAgent .agent-symbol{width:32px;height:32px;border-radius:9px}
 #homepageAgent .agent-context{padding:0 14px}
 #homepageAgent .agent-property-line{min-height:36px}
 #homepageAgent .agent-category-tabs{margin:0 14px 8px}
 #homepageAgent .agent-topic-card{min-height:62px;padding:8px;gap:3px}
 #homepageAgent .agent-topic-card small{font-size:10px}
 #homepageAgent .agent-explore-page{padding-inline:14px}
 #homepageAgent .agent-catalog-nav{margin-top:0}
 .command-preview #homepageAgent .agent-catalog-nav{display:none}
 #homepageAgent .agent-footer{padding:7px 10px}
 #homepageAgent .agent-disclosure{margin-top:5px}
}
/* On tall desktop canvases, use readable full-width capability rows. */
@media(min-width:901px) and (min-height:820px){
 #homepageAgent .agent-topic-grid{grid-template-columns:minmax(0,1fr);gap:7px}
 #homepageAgent #agent-page-hunt .agent-topic-grid,
 #homepageAgent #agent-page-land .agent-topic-grid{height:100%;grid-auto-rows:minmax(62px,1fr)}
 #homepageAgent .agent-topic-card{grid-template-columns:22px minmax(0,1fr);padding:10px 13px;column-gap:8px}
 #homepageAgent .agent-topic-card strong{font-size:13px}
 #homepageAgent .agent-topic-card small{grid-column:2;font-size:11px;line-height:1.5}
 #homepageAgent .agent-topic-top svg{width:18px;height:18px;grid-row:1/3;align-self:center}
 #homepageAgent #agent-page-field .agent-topic-card{min-height:64px}
}
/* Shared destination pages: one compact masthead, aligned content, no spacer hero. */
.site-bar{height:64px;min-height:64px;max-width:none;padding:0 24px;gap:20px}
.site-brand{height:100%}
.site-brand img{display:block;width:208px;height:58px;object-fit:contain}
.site-bar nav a{display:inline-flex;align-items:center;min-height:44px}
.page-wrap{max-width:1280px;padding:24px 28px 20px}
.page-wrap>h1,.land-intro h1,.report-page h1{font-size:clamp(29px,3.3vw,44px);line-height:1.12;letter-spacing:-.04em;margin-bottom:12px}
.page-wrap>.eyebrow{margin-bottom:8px}
.lede{font-size:14px;line-height:1.7;margin-bottom:14px}
.auth-layout{grid-template-columns:minmax(0,1fr) minmax(360px,440px);max-width:1080px;gap:56px;align-items:start;min-height:0;margin:28px auto 20px;padding:0 28px}
.auth-story{max-width:460px;padding-top:3px}
.auth-identity{display:flex;align-items:center;gap:13px;margin-bottom:18px}
.auth-identity .eyebrow{margin:0;font-size:9px}
.auth-emblem{width:52px;height:52px;margin:0;flex-shrink:0}
.auth-story h1{font-size:clamp(32px,3.3vw,43px);line-height:1.1;margin:0 0 16px;letter-spacing:-.04em}
.auth-story .lede{font-size:14px;max-width:410px}
.auth-story .brand-line{margin:22px 0 0;padding-top:16px;font-size:11px}
.auth-panel{padding:24px;border-radius:10px}
.auth-panel>.eyebrow{margin-bottom:8px}
.auth-panel h2{font-size:25px;margin-bottom:18px}
.auth-panel .form-grid{gap:13px}
.auth-panel .form-bottom{margin-top:16px}
.auth-panel details>summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.auth-panel details>summary:before{content:'+';color:var(--yellow);margin-right:8px}
.auth-panel details[open]>summary:before{content:'−'}
.auth-panel details>summary::-webkit-details-marker{display:none}
.demo-strip{max-width:1080px;padding-bottom:8px}
.site-footer{margin-top:20px;padding-top:18px;padding-bottom:20px}
.plan-grid{gap:12px;margin-top:20px}.plan-card{padding:20px}
.plan-card>.eyebrow{margin-bottom:8px}.plan-card h2{font-size:22px;margin-bottom:6px}
.plan-card .plan-price{font-size:34px;line-height:1.2;margin:6px 0 8px}
.plan-card p:not(.eyebrow):not(.plan-price){margin-bottom:10px}
.plan-card ul{margin:12px 0 16px;gap:5px}
.inquiry{margin-top:24px;padding-top:24px;gap:32px}
.land-intro{gap:32px;align-items:start}.land-score{padding:22px}
.land-score .number{font-size:70px}.score-bars{margin-top:20px;gap:10px}
.feature-grid{margin-top:26px;padding-top:22px;gap:20px}
.report-section{padding:20px 0}.report-section h2{margin-bottom:12px}
.report-map,.report-table{margin:18px 0}
.hub-grid{margin-top:20px;gap:12px}.hub-card{padding:20px}.hub-card p{margin-bottom:0}
.legal{margin:0 auto;padding:24px 28px}.legal h1{font-size:34px}.legal h2{margin-top:24px}
main.agent-shell{padding:22px 28px;max-width:1280px}main.agent-shell>.eyebrow{margin-bottom:6px}
main.agent-shell>h1{font-size:clamp(25px,3vw,36px)!important;margin-bottom:18px}
main.agent-shell .agent-layout{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:14px}
main.agent-shell .agent-context{padding:18px}main.agent-shell .agent-context img{max-height:160px;object-fit:cover}
.agent-heading{padding:12px 18px}.agent-prompts{padding:10px 18px}
.agent-thread{min-height:0;padding:18px;gap:14px}.agent-compose{padding:12px 18px}
/* The chapter retains its artwork; the hunt controls remain below it. */
.pb-head{padding:8px 16px;min-height:48px}.pb-head img{width:28px;height:28px}
.pb-phase-rail button{min-height:44px;padding-block:8px}
.pb-cover-meta{padding:16px 20px}.pb-cover-story{padding:50px 20px 22px}
.pb-control-bar .pb-tabs button{min-height:52px}
.playbook-page main{padding:10px 14px}
.playbook-page .pb-cover{min-height:300px;height:clamp(300px,calc(100svh - 238px),700px)}
.playbook-page .pb-cover-story{padding-top:40px}
.playbook-page .pb-title{font-size:clamp(34px,4.2vw,58px)!important}
.playbook-page .pb-map{height:clamp(300px,calc(100svh - 284px),700px)}
.pb-map-head{padding:6px 14px}.pb-intel-body{padding:20px}
@media(max-width:1100px) and (min-width:901px){
 .hero-intro-streamlined .hero-doctrine{font-size:29px}
 .hero-intro-streamlined .hero-heading{display:grid;grid-template-columns:auto 1fr}
 .hero-intro-streamlined .hero-promise{grid-column:2;border-left:1px solid #3b3c36;padding-left:12px;margin:6px 0 0;font-size:10px}
 .hero-entry{padding-left:12px}.hero-entry strong{font-size:11px}
}
@media(max-width:900px){
 .site-header{padding-inline:18px}.hero-intro-streamlined .hero-doctrine{font-size:30px}
 .hero-intro-streamlined .hero-promise{margin-top:3px;padding:0;border:0}
 .auth-layout{grid-template-columns:minmax(0,1fr) minmax(330px,390px);gap:28px}
 .auth-story h1{font-size:33px}.auth-panel{padding:22px}
 main.agent-shell .agent-layout{grid-template-columns:220px minmax(0,1fr)}
 .pb-control-bar .pb-tabs button{min-height:44px}
}
@media(max-width:650px){
 .site-bar{height:58px;min-height:58px;padding-inline:14px;gap:12px}
 .site-brand img{width:174px;height:50px}.site-bar nav{gap:12px;font-size:10px}
 .page-wrap{padding:20px 16px}.page-wrap>h1,.land-intro h1,.report-page h1{font-size:30px}
 .auth-layout{display:block;margin:18px auto 16px;padding-inline:16px}
 .auth-story{padding:0;margin-bottom:16px;max-width:none}
 .auth-identity{margin-bottom:6px}.auth-identity .eyebrow{font-size:8px}
 .auth-emblem{display:none}.auth-story h1{font-size:27px;line-height:1.15;margin-bottom:8px}
 .auth-story h1 br{display:none}.auth-story h1 br:after{content:' '}
 .auth-story .lede{font-size:12px;line-height:1.6;margin-bottom:0;max-width:none}
 .auth-story .brand-line{display:none}.auth-panel{padding:18px 16px}
 .auth-panel h2{font-size:23px;margin-bottom:15px}.auth-panel>.eyebrow{font-size:8px;margin-bottom:6px}
 .field input,.field select,.field textarea,.agent-compose input{font-size:16px}
 .auth-panel .field{font-size:12px}.auth-panel .check{font-size:12px}
 .site-footer{padding:16px;gap:12px;margin-top:16px}
 .plan-card{padding:20px;min-width:260px}.inquiry{gap:20px}
 .two-col,.land-intro,.inquiry{grid-template-columns:1fr;gap:20px}
 .feature-grid{gap:16px}.hub-card{padding:15px}.hub-card strong{font-size:15px}
 .legal{padding:20px 16px}.legal h1{font-size:29px}
 main.agent-shell{padding:18px 12px}main.agent-shell .agent-layout{grid-template-columns:1fr;gap:10px}
 main.agent-shell>h1{font-size:27px!important;margin-bottom:14px}main.agent-shell .agent-context{padding:14px}
 .agent-thread{padding:16px}.agent-turn.user{margin-left:14px}
 .playbook-page main{padding:8px}.pb-head{padding:8px 12px}
 .pb-cover-meta{padding:10px 12px}.pb-cover-story,.playbook-page .pb-cover-story{padding:14px 16px 16px}
 .playbook-page .pb-cover{height:auto;min-height:0}.pb-title,.playbook-page .pb-title{font-size:32px!important}
 .playbook-page .pb-map{height:clamp(300px,calc(100svh - 250px),520px)}
 .pb-intel-body{padding:16px}.pb-map-head{padding:7px 10px}
}
@media(max-width:640px){
 .site-header{height:58px;padding-inline:14px}.site-header .brand .official-logo{width:210px;height:58px}
 .hero{padding-top:10px}.hero-intro.hero-intro-streamlined{margin-bottom:10px;position:relative}
 .hero-intro-streamlined .eyebrow{font-size:7px;margin-bottom:5px}
 .hero-intro-streamlined .hero-doctrine{font-size:clamp(25px,7.2vw,32px);line-height:1.08}
 .hero-intro-streamlined .doctrine-statement{font-size:12px;margin-top:6px}
 .hero-intro-streamlined .hero-promise{font-size:10px;margin-top:2px}
 .hero-entry{display:none}
 .command-preview .mission-button,.command-preview .mission-button:first-child{min-height:44px}
 .command-preview{--preview-map-height:max(320px,calc(100svh - 252px))}
 .preview-caption{padding:6px 10px}.product-tour{margin-top:16px}
 .field-testing-panel{padding:20px 17px;gap:18px}
}
/* Phones: the opening is not stacked, and every top tab and map control shows without a sideways swipe. */
@media(max-width:640px),(min-width:641px) and (max-width:900px) and (max-height:500px){
 /* cover trims only the wordmark's clear margin: its artwork fills rows 59 to 271 of 341. */
 .site-header .brand .official-logo{object-fit:cover}
 .hero-intro-streamlined .hero-heading{display:grid}
 .hero-intro-streamlined .hero-promise{border-left:1px solid #3b3c36}
 .command-preview .mission-rail{display:grid;padding:0;overflow:visible}
 .command-preview .mission-button,.command-preview .mission-button:first-child{flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:44px;padding:5px 3px;font-size:11px;line-height:1.2;text-align:center;white-space:normal}
 .command-preview .forecast-button>span{display:block}
 .command-preview .mobile-boone{display:flex;gap:5px;padding:4px 8px;border:1px solid #ffe27a;border-radius:8px;background:#ffd24a;color:#11130c;font:600 12px/1.2 var(--display);box-shadow:inset 0 1px #fff5}
 .command-preview .mobile-boone>span{color:inherit}
}
@media(max-width:640px){
 .site-header .brand .official-logo{width:min(252px,calc(100vw - 94px))}
 .hero-intro-streamlined .hero-heading{column-gap:7px}
 .hero-intro-streamlined .hero-doctrine{font-size:clamp(19px,5.8vw,32px)}
 .hero-intro-streamlined .doctrine-statement{font-size:clamp(11px,2.85vw,12px);margin:5px 0 0}
 .hero-intro-streamlined .hero-promise{font-size:clamp(11px,2.6vw,12px);margin:5px 0 0;padding-left:7px;text-wrap:balance}
 .command-preview .mission-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
 .command-preview .mission-button:nth-child(3n):after{display:none}
 .command-preview .mission-button:nth-child(n+4){border-top:1px solid #ffffff13}
 .command-preview .map-toolbar,.command-preview .layer-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:44px 44px;gap:4px}
 .command-preview .layer-rail{grid-area:1/1/3/6;overflow:visible}
 .command-preview .forecast-button{grid-area:1/1;z-index:1;width:auto}
 .command-preview .forecast-button,.command-preview .layer-rail [data-layer]{flex-direction:column;gap:3px;min-width:0;padding:4px 2px;font-size:10px;line-height:1.2}
 .command-preview [data-layer=wind]{grid-area:1/2}.command-preview [data-layer=thermal]{grid-area:1/3}.command-preview [data-layer=access]{grid-area:1/4}.command-preview [data-layer=camera]{grid-area:1/5}
 .command-preview .mobile-boone{grid-area:2/1/3/3}.command-preview .toolbar-separator{display:none}
 .command-preview .layer-rail .icon-button{width:auto;height:44px}
 .command-preview #zoomOut{grid-area:2/3}.command-preview #zoomIn{grid-area:2/4}.command-preview #zoomReset{grid-area:2/5}
}
@media(min-width:641px) and (max-width:900px) and (max-height:500px){
 .site-header .brand .official-logo{width:280px}
 .hero-intro-streamlined .hero-doctrine{font-size:min(30px,4.3vw)}
 .hero-intro-streamlined .hero-promise{padding-left:12px;margin:6px 0 0}
 .command-preview .mission-rail{grid-template-columns:repeat(6,minmax(0,1fr))}
 .command-preview .mobile-boone{padding-inline:7px}
}
@media(min-width:641px) and (max-width:1023px) and (max-height:500px){
 .command-preview .map-toolbar{gap:6px;padding-inline:8px}
 .hero-intro-streamlined .hero-promise{font-size:11px}
 .command-preview .forecast-button{width:auto;padding-inline:5px}
 .command-preview .layer-rail [data-layer]{padding-inline:5px}
 .command-preview .forecast-button,.command-preview .layer-rail [data-layer]{font-size:11px}
}
@media(max-height:650px) and (min-width:901px){
 .hero{padding-top:8px}.hero-intro.hero-intro-streamlined{margin-bottom:8px}
 .hero-intro-streamlined .eyebrow{display:none}.hero-intro-streamlined .hero-doctrine{font-size:28px}
 .hero-intro-streamlined .doctrine-statement,.hero-intro-streamlined .hero-promise{margin-top:4px}
 #homepageAgent.is-browsing:has(#agentExploreToggle:disabled){grid-template-rows:auto minmax(0,1fr) auto}
 #homepageAgent.is-browsing:has(#agentExploreToggle:disabled) .agent-context{display:none}
 #homepageAgent .agent-topic-card{min-height:44px}
 #homepageAgent .agent-topic-card small{display:none}
}

@media(max-width:359px){.site-brand img{width:150px}.site-bar nav{gap:10px}}

.rail-cue{position:absolute;top:0;left:0;z-index:2;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;background:none;color:#f2f2f2;cursor:pointer}
.rail-cue[hidden]{display:none}
.rail-cue:before{content:'';position:absolute;inset:6px;border:1px solid #ffffff80;border-radius:6px;background:#1c1c1c;box-shadow:0 0 12px 4px #0009}
.rail-cue svg{position:relative;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rail-cue-left svg{transform:scaleX(-1)}
.rail-cue:hover{color:#ffd24a}
.rail-cue:hover:before{border-color:#ffd24a}
.rail-cue:focus-visible{outline:2px solid #ffd24a;outline-offset:-3px}
[data-rail-more=end]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 72px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 72px),#0000)}
[data-rail-more=start]{-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 72px),#0000);mask-image:linear-gradient(270deg,#000 calc(100% - 72px),#0000)}
[data-rail-more=both]{-webkit-mask-image:linear-gradient(90deg,#0000,#000 72px,#000 calc(100% - 72px),#0000);mask-image:linear-gradient(90deg,#0000,#000 72px,#000 calc(100% - 72px),#0000)}
@keyframes rail-fade{0%{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 72px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 72px),#0000)}1%,99%{-webkit-mask-image:linear-gradient(90deg,#0000,#000 72px,#000 calc(100% - 72px),#0000);mask-image:linear-gradient(90deg,#0000,#000 72px,#000 calc(100% - 72px),#0000)}100%{-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 72px),#0000);mask-image:linear-gradient(270deg,#000 calc(100% - 72px),#0000)}}
@supports (animation-timeline:scroll()){.pb-phase-rail,.pb-tabs,.pb-hunt-row,.pb-layer-rail,.agent-prompts,.plan-grid{animation:rail-fade auto linear both;animation-timeline:scroll(self inline)}}
