/* Hianma commercial page — single vertical scroll owner.
 * The legal footer is mounted next to the commercial page under #root, so the
 * browser viewport must remain the only vertical scrolling surface.
 * Keep horizontal overflow clipped without turning body/root/marketing into
 * independent vertical scroll containers.
 */

html:has(body .hm-marketing) {
  overflow-x: clip !important;
  overflow-y: auto !important;
}

html:has(body .hm-marketing) body,
html:has(body .hm-marketing) #root,
body .hm-marketing {
  height: auto !important;
  max-height: none !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

html:has(body .hm-marketing) body {
  min-height: 100vh;
}
