@media(min-width:1100px){
 .redesigned .main>main{max-width:none!important;width:100%}
 .redesigned .portal-header{padding-inline:clamp(28px,2.5vw,96px)}
 .redesigned .landing-hero{padding-inline:clamp(48px,4vw,144px);gap:clamp(32px,4vw,130px)}
 .redesigned .portal-section,.redesigned .api-showcase,.redesigned .capability-rail{padding-inline:clamp(48px,4vw,144px)}
 .redesigned .landing-copy p{max-width:58ch}
 .redesigned .product-visual{width:min(100%,760px);justify-self:center}
}
@media(min-width:1800px){
 .redesigned .landing-copy h1{font-size:clamp(58px,3vw,96px)!important}
 .redesigned .landing-hero{min-height:760px}
 .redesigned .product-visual{transform:scale(1.15);transform-origin:center}
 .redesigned .card-grid,.redesigned .compute-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
}
.redesigned :is(.main,.operations-shell,.ops-identity>div,.modal,.card-grid>*,.compute-grid>*){min-width:0}
.redesigned .product-visual{overflow:clip}
.redesigned :is(.modal,.appearance-panel){max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.redesigned .table-container{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
@media(max-width:700px){
 .redesigned :is(.page-heading,.section-heading,.ops-identity,.admin-buttons,.table-actions){flex-wrap:wrap;gap:12px}
 .redesigned .page-heading>div{min-width:0}
 .redesigned .ops-staff-form>*{min-width:0;width:100%}
 .redesigned .ops-identity>div{flex-basis:70%;overflow-wrap:anywhere}
 .redesigned .modal{width:calc(100% - 24px);padding:25px 20px;max-height:calc(100dvh - 24px)}
 .redesigned .modal :is(input,select,textarea){max-width:100%;min-width:0}
 .redesigned .modal-details>span{flex-wrap:wrap}
 .redesigned .modal-details strong{overflow-wrap:anywhere}
 .redesigned .chat-layout{min-height:0;height:calc(100dvh - 100px)}
 .redesigned .chat-top{flex-wrap:wrap;gap:8px}
 .redesigned .toast{max-width:calc(100vw - 24px);white-space:normal;overflow-wrap:anywhere}
 .redesigned .sidebar{max-width:calc(100vw - 48px)}
}
@media(max-width:380px){
 .redesigned .portal-header{padding-inline:12px;gap:8px}
 .redesigned .portal-header .brand{font-size:15px;gap:6px}
 .redesigned .portal-header .brand-symbol{width:27px;height:29px}
 .redesigned .header-right{gap:5px}
 .redesigned .account-entry-pair{gap:3px}
 .redesigned .account-entry-pair>.button{padding:8px 7px;font-size:12px;min-width:0}
 .redesigned .portal-header .account-entry-pair>.button{padding:8px 6px;font-size:12px;min-width:0}
 .redesigned .ops-stats{grid-template-columns:minmax(0,1fr)}
}

/* COMPUTE SCREEN REFINEMENT 20261018: balanced content, not just a wide wrapper. */
@media(min-width:1800px){
 .redesigned .landing-hero{min-height:clamp(600px,22vw,760px);padding-block:56px}
 .redesigned .landing-copy{width:100%;justify-self:stretch;padding-inline:clamp(0px,1.5vw,64px)}
 .redesigned .landing-copy h1{font-size:clamp(62px,3.6vw,128px)!important}
 .redesigned .product-visual{width:100%;max-width:none;height:clamp(380px,19vw,650px);transform:none;overflow:visible}
 .redesigned .compute-stack{width:clamp(240px,12vw,430px);left:32%;top:12%;padding:clamp(24px,1.4vw,44px) clamp(16px,1vw,32px)}
 .redesigned .stack-shelf{height:clamp(42px,2vw,68px);margin-top:12px}
 .redesigned .stack-base{font-size:clamp(18px,1vw,28px);margin-top:28px}
 .redesigned .visual-node{min-width:clamp(205px,10vw,320px);padding:clamp(16px,1vw,28px);gap:16px}
 .redesigned .visual-node strong{font-size:clamp(13px,.6vw,19px)}
 .redesigned .node-api{left:2%;top:45%}
 .redesigned .node-agent{right:7%;top:5%}
 .redesigned .node-app{right:7%;bottom:6%}
}
@media(min-width:2400px){
 .redesigned .product-tile{padding:clamp(28px,1.3vw,44px);min-height:300px}
 .redesigned .product-tile h3{font-size:clamp(23px,1vw,30px)}
 .redesigned .product-tile p{font-size:16px!important;max-width:50ch}
}
@media(max-width:520px){
 .redesigned .product-grid{grid-template-columns:minmax(0,1fr)}
 .redesigned .product-tile{min-height:210px;padding:24px}
 .redesigned .landing-copy h1{font-size:clamp(27px,8.4vw,37px)!important;letter-spacing:-1px!important}
 .redesigned .landing-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));width:100%;gap:12px}
 .redesigned .landing-actions>.button{justify-content:center;width:100%;min-height:46px}
}

/* Tablet hero uses one readable column before returning to desktop split. */
@media(min-width:521px) and (max-width:900px){
 .redesigned[data-theme] .landing-hero{grid-template-columns:minmax(0,1fr);gap:28px;padding:46px 32px}
 .redesigned .landing-copy{max-width:none;justify-self:stretch}
 .redesigned .landing-copy h1{font-size:clamp(36px,5vw,43px)!important}
 .redesigned .product-visual{width:min(100%,560px);max-width:100%;height:340px;justify-self:center;transform:none;margin-inline:auto}
}

/* Keep the tilted desktop-client preview within its own panel. */
@media(min-width:1100px){
 .redesigned .download-hero{overflow:clip}
 .redesigned .download-hero .desktop-preview{min-width:0;max-width:44%;margin-inline-end:24px}
}

/* Android touch target and accessible dialog close; the icon remains compact. */
.redesigned .modal-close{width:44px;height:44px;min-width:44px;min-height:44px;top:8px;right:8px;display:grid;place-items:center;border-radius:10px;background:rgba(125,135,160,.08);z-index:2}
