.platform-wrap,.showcase>.wrap{width:min(calc(100% - clamp(32px,7vw,104px)),1120px);margin-inline:auto}
.platform{background:linear-gradient(125deg,#f9fafb 24%,#e8eeef 100%);color:#172d32;border-bottom:1px solid #e0e7e7}
.platform-hero{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);align-items:center;gap:clamp(28px,5vw,76px);padding-block:clamp(48px,7vw,100px)}
.platform-copy h1{font-size:clamp(37px,4.2vw,62px);line-height:1.03;letter-spacing:-.06em;font-weight:570;max-width:17ch;text-wrap:balance}
.platform-copy>p,.ps-intro>p{font-size:clamp(16px,1.2vw,18px);line-height:1.52;letter-spacing:-.015em;color:#485b60;max-width:50ch;margin:18px 0 0;text-wrap:pretty}
.platform-primary{display:inline-flex;align-items:center;min-height:44px;background:#133e40;color:#fff;border-radius:8px;font-weight:575;padding:9px 16px;font-size:15px;margin-top:24px}
.platform-actions{display:flex;flex-wrap:wrap;align-items:center;gap:3px 20px;margin-top:20px}
.platform-actions .platform-primary{margin-top:0}
.platform-secondary{display:inline-flex;align-items:center;min-height:44px;color:#17484a;font-size:15px;font-weight:575;text-decoration:underline;text-underline-offset:4px}
.platform-primary:hover{background:#0d3032}
.engine-console{min-width:0;padding:clamp(16px,2vw,26px);border-radius:16px;color:#f2f7f7;background:linear-gradient(145deg,#213c45,#142c32 75%);box-shadow:0 18px 45px -28px #1e474b8a}
.console-bar,.lab-head,.lab-head>div,.console-bar strong{display:flex;align-items:center;gap:10px}
.console-bar,.lab-head{justify-content:space-between}
.console-bar strong{font-size:16px;letter-spacing:-.025em;font-weight:610}
.console-bar .mark{color:#9bd3c9;width:15px;height:16px}
.console-bar>span{color:#c3d1d2;font-size:13px}
.module-switch{display:flex;flex-wrap:wrap;gap:3px;margin:18px 0 0;border-bottom:1px solid #486068}
.module-switch button{background:transparent;border:0;color:#bdcece;border-bottom:2px solid transparent;padding:6px 10px;min-height:42px;font-size:14px}
.module-switch button:first-child{padding-left:0}
.module-switch button[aria-pressed=true]{color:#fff;border-bottom-color:#a4d9cf;font-weight:620}
.module-content{padding-top:20px}
.module-content h2{font-size:clamp(23px,2vw,30px);line-height:1.13;letter-spacing:-.04em;font-weight:560}
.module-content>p{font-size:15px;line-height:1.48;color:#d4ddde;margin-top:8px;min-height:3em}
.module-circuit{display:grid;grid-template-columns:minmax(0,1fr) minmax(19px,.25fr) minmax(0,1.12fr);align-items:center;margin-top:20px}
.circuit-inputs{display:grid;gap:8px}
.circuit-inputs span,.circuit-output{border:1px solid #50676b;background:#243f45;border-radius:7px;padding:7px 10px;font-size:14px;line-height:1.3}
.module-circuit svg{width:100%;height:72px;fill:none;stroke:#8faeae}
.module-circuit path{vector-effect:non-scaling-stroke;stroke-width:1.4}
.circuit-output{padding:12px;background:#244c4c;border-color:#668d89}
.circuit-output small,.circuit-output strong{display:block}
.circuit-output small{font-size:12px;color:#c4dad6;margin-bottom:3px}
.circuit-output strong{font-size:15px;font-weight:570}
.module-link{margin-top:12px;padding:0;display:inline-flex;align-items:center;min-height:40px;font-size:14px;font-weight:550;background:none;border:0;text-decoration:underline;text-underline-offset:4px;color:#194e4d}
.module-content .module-link{color:#c2e6df}
.partshop-case{background:#fff;padding:clamp(45px,5.5vw,80px) 0}
.ps-intro,.intro{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:clamp(22px,5vw,72px);text-align:left;margin:0 auto 25px}
.ps-intro h2,.intro h2{font-size:clamp(30px,3.1vw,45px);font-weight:570;letter-spacing:-.052em;line-height:1.08;max-width:22ch}
.ps-intro>p,.intro p{margin:0;font-size:16px;line-height:1.5;text-align:left;color:#506068}
.match-lab{min-width:0;border:1px solid #d3dce0;border-radius:14px;background:white;box-shadow:0 4px 15px #273e5406;overflow:clip}
.lab-head{padding:12px clamp(14px,2vw,25px);background:#f6f8f9;border-bottom:1px solid #dce4e6;font-size:14px}
.lab-head>div>span{border-left:1px solid #c4cdd0;padding-left:10px}
.lab-head strong{color:#263a3f;font-size:17px;letter-spacing:-.035em}
.lab-head small{color:#51616b;font-size:13px}
.lab-grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)}
.rfq,.matches{padding:clamp(16px,2.1vw,29px);min-width:0}
.rfq{background:#fafbfb;border-right:1px solid #dce4e6}
.lab-grid h3{font-size:21px;letter-spacing:-.035em;line-height:1.2;font-weight:590;color:#23373b}
.rfq-product{display:flex;align-items:center;gap:13px;margin:13px 0 18px}
.rfq-product img{width:56px;height:56px;object-fit:contain;mix-blend-mode:multiply;flex:none}
.rfq-product strong,.rfq-product small{display:block}
.rfq-product strong{color:#2a3e43;font-size:16px}.rfq-product small,.ps-note{color:#53646b;font-size:14px;line-height:1.45}
.rfq label{display:block;margin-top:11px;font-size:14px;color:#384d52;font-weight:570}
.rfq-terms{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:0 12px;align-items:end}
.rfq select{color:#283c41;width:100%;max-width:100%;min-width:0;font-size:16px;margin-top:4px;min-height:42px;padding:6px 30px 6px 9px;border:1px solid #c6d1d3;border-radius:6px;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23445c60' stroke-width='1.6'/%3E%3C/svg%3E") right 11px center/12px 8px no-repeat}
.ps-note{margin:7px 0 13px}
.matches ul{margin:0;padding:0;list-style:none}
.matches li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:4px 10px;border-top:1px solid #dde5e5;padding:10px 0}
.matches li strong{font-size:15px;font-weight:600}
.matches li span{font-size:13px;font-weight:560;color:#2b6158}
.matches li.ineligible span{color:#64594a}
.matches li small{grid-column:1/-1;font-size:13px;color:#536368;line-height:1.4}
.contract{border-top:1px solid #dce4e6;padding-inline:clamp(14px,2.1vw,29px)}
.contract summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;color:#264951;text-align:left;font-weight:560;font-size:15px;gap:12px}
.contract summary::after{content:"+";font-size:20px}.contract[open] summary::after{content:"−"}
.contract-content{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(12px,2.5vw,40px);padding:7px 0 20px}
.api-steps{margin:0;padding-left:21px;color:#314b50}.api-steps li{padding:0 0 12px 3px}
.api-steps strong{font-size:15px}.api-steps p{font-size:14px;line-height:1.5;margin-top:4px;color:#536268}
.contract-example{min-width:0}.contract-example>p{color:#4f6268;font-size:13px;margin-bottom:8px}
.contract-example>div{padding:10px 12px;border:1px solid #dae2e6;border-radius:7px;background:#f6f8f9;margin-bottom:8px;min-width:0}
.contract-example strong{font-size:13px;color:#344d52}.contract-example pre{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.4 ui-monospace,monospace;color:#31484e}
.showcase{padding:clamp(38px,5vw,70px) 0;background:#edf2f5}
.desk{width:100%;max-width:100%;margin-inline:auto;container:inventory / inline-size;box-shadow:0 10px 26px -21px #344c5a80}
.desk-body{grid-template-columns:minmax(0,.84fr) minmax(0,1.8fr) minmax(0,.86fr)}
.desk-body>*{min-width:0;max-width:100%}
.case-work,.quote-pane{padding:clamp(14px,1.4vw,21px)}
.case-heading h2{font-size:clamp(21px,1.7vw,27px)}
.desk img,.desk canvas,.desk select{max-width:100%}
.quote-pane,.draft-lines dd,.answer,.lot-choice,.scenario,.desk-actions{overflow-wrap:anywhere}
.trend-head{flex-wrap:wrap}
.trend-head>div:first-child{flex:1 1 10rem}
.trend-plot{height:clamp(124px,10vw,150px)}
.product-art{height:clamp(78px,7vw,105px)}
.lot-choice{min-height:54px}
@container inventory (max-width:62rem){
  .desk-body{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
  .inbox{grid-column:1/-1;padding:5px 15px;border-right:0;border-bottom:1px solid #dce2e6}
  .inbox-head,.lot-list{display:none}
  .mobile-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#52616a;font-size:14px}
  .mobile-picker select{min-width:0;max-width:70%;min-height:40px;border:0;background-color:transparent;font-size:14px}
}
@container inventory (max-width:45rem){
  .desk-body{display:block}
  .desk-bar{flex-wrap:wrap;padding:6px 12px;row-gap:4px}
  .desk-actions{flex-wrap:wrap}
  .bar-path,.bar-location{display:none}
  .quote-pane{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:0 10px;border-left:0;border-top:1px solid #dce2e6}
  .quote-pane .product-art{grid-column:2;grid-row:1/3;height:62px;margin:0}
  .quote-pane h2,.quote-pane .draft-lines{grid-column:1}
  .quote-pane .prepare,.quote-pane .adjust{grid-column:1/-1}
  .workspace-tabs{flex-wrap:wrap;gap:12px}
}
@media(max-width:820px){.platform-hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px}.module-switch button{padding-inline:7px}}
@media(max-width:680px){
 .platform-hero,.ps-intro,.intro,.contract-content,.lab-grid{grid-template-columns:minmax(0,1fr)}
 .platform-hero{padding-block:32px;gap:24px}.platform-copy h1{max-width:18ch;font-size:clamp(35px,7vw,43px)}.platform-copy>p{margin-top:12px}
 .platform-primary{margin-top:15px}.ps-intro,.intro{gap:10px}.rfq{border-right:0;border-bottom:1px solid #dce4e6}
 .nav{gap:14px}.nav nav{gap:12px}.nav nav a:first-child{display:inline-flex}.nav nav a:last-child{display:none}
 .nav .demo-link{font-size:13px}.module-content>p{min-height:0}.partshop-case{padding:34px 0}
}
@media(max-width:400px){
 .nav{gap:9px}.nav nav{gap:8px}.nav .brand{font-size:27px}.nav nav a,.nav .demo-link{font-size:13px}
 .module-switch button{padding-inline:7px;font-size:13px}.lab-head{align-items:flex-start;flex-wrap:wrap;gap:4px 11px}
 .matches li{grid-template-columns:minmax(0,1fr)}.matches li small{grid-column:1}.circuit-inputs span,.circuit-output{padding-inline:7px}
}
