/* Homepage-only canvas sits behind the existing content and never captures input. */
#screen-landing { position: relative; isolation: isolate; }
#landing-cubes {
  position: fixed;
  inset: 52px 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}
#landing-cubes.is-ready { opacity: 1; }
#landing-cubes canvas { display: block; width: 100%; height: 100%; }
#landing-cubes::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 11, 13, .65) 0%, rgba(11, 11, 13, .42) 31%, transparent 72%);
}
:root[data-theme="light"] #landing-cubes::after {
  background: linear-gradient(100deg, rgba(239, 248, 255, .83) 0%, rgba(239, 248, 255, .6) 31%, rgba(239, 248, 255, .08) 68%);
}
#screen-landing .landing { position: relative; z-index: 1; }
