/* Source fixed header and hero padding share --header. */
body .header-inner>.ai-network{flex:none}
@media(min-width:801px) and (max-width:1199px){
 :root{--header:104px}
 body .header-inner{height:103px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:40px 32px;gap:6px 16px;padding:12px 0;box-sizing:border-box}
 body .header-inner>.brand{grid-column:1;grid-row:1}
 body .header-inner>.ai-network{grid-column:2;grid-row:1;justify-self:end}
 body .header-inner>.header-actions{grid-column:3;grid-row:1}
 body .header-inner>.main-nav{grid-column:1/-1;grid-row:2;justify-self:center;margin:0;gap:24px}
}
@media(max-width:800px){
 :root{--header:112px}
 html{scroll-padding-top:128px}
 body .header-inner{width:calc(100% - 20px);height:111px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 44px;gap:8px;padding:9px 0;box-sizing:border-box}
 body .header-inner>.brand{grid-column:1;grid-row:1;justify-self:start}
 body .header-inner>.ai-network{grid-column:2;grid-row:1;justify-self:end}
 body .header-inner>.header-actions{grid-column:1/-1;grid-row:2;margin:0;width:100%;display:flex;justify-content:space-between;gap:12px}
 body .header-inner .header-login,body .header-inner .header-cta{height:44px;min-height:44px}
 body .header-inner .header-cta{flex:1;max-width:220px}
}
@media(min-width:801px) and (max-width:1199px){html{scroll-padding-top:120px}}
/* Preserve headerless404 with a single in-flow menu-only row. */
header[data-ai-network-service-header]{position:relative;display:flex;justify-content:flex-end;align-items:center;min-height:64px;height:64px;padding:12px;box-sizing:border-box;background:#090b0a}
body:has(>header[data-ai-network-service-header]) .not-found{min-height:calc(100vh - 64px)}
