/* Before hydration: static allowed */
#landing-static-root { display: block; }

/* Hide static subtree once React is present — two independent triggers: */

/* (A) Via hydration flag */
html[data-react-hydrated="1"] #landing-static-root,
html[data-react-hydrated="1"] #landing-static-root .mobile-menu-backdrop {
  display: none !important;
  pointer-events: none !important;
}

/* (B) CSS-only fallback using :has when React header is in DOM */
body:has([data-nav="react"]) #landing-static-root,
body:has([data-nav="react"]) #landing-static-root .mobile-menu-backdrop {
  display: none !important;
  pointer-events: none !important;
}
