/* Final original sticky header stays in flow; preserve hidden mobile nav/text links. */
@media(min-width:768px) and (max-width:1100px){
 body .site-header:has(>.main-nav){height:110px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:44px 36px;gap:8px 16px;padding:10px 18px;box-sizing:border-box}
 body .site-header:has(>.main-nav)>.brand{grid-column:1;grid-row:1}
 body .site-header:has(>.main-nav)>.ai-network{grid-column:2;grid-row:1;justify-self:end}
 body .site-header:has(>.main-nav)>.header-actions{grid-column:3;grid-row:1;margin:0}
 body .site-header:has(>.main-nav)>.main-nav{grid-column:1/-1;grid-row:2;justify-content:center}
}
@media(max-width:767px){
 body .site-header{height:112px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 40px;gap:8px;padding:10px;box-sizing:border-box}
 body .site-header>.brand{grid-column:1;grid-row:1;justify-self:start}
 body .site-header>.ai-network{grid-column:2;grid-row:1;justify-self:end}
 body .site-header>.header-actions{grid-column:1/-1;grid-row:2;justify-self:stretch;margin:0;width:100%}
 body .site-header>.header-actions>.button{width:100%;min-height:40px;margin:0}
 body .not-found{min-height:calc(100vh - 112px)}
}
@media(max-width:1100px){:where(section,[id]){scroll-margin-top:128px}}
