.home-neural-background[data-mode="particles-only"] {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(
    ellipse 56% 50% at 50% 48%,
    rgb(40 91 128 / 30%) 0%,
    rgb(14 31 46 / 18%) 48%,
    rgb(3 7 11 / 0%) 100%
  );
}

body:has(.page-hero) .home-neural-background[data-mode="particles-only"]:not(.home-neural-background--after-page-hero) {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 100%);
}

body:has(.home-neural-background[data-mode="particles-only"]) .page {
  position: relative;
  z-index: 1;
}

.home-neural-background[data-mode="particles-only"] canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .home-neural-background[data-mode="particles-only"] {
    background: radial-gradient(
      ellipse 75% 48% at 50% 44%,
      rgb(40 91 128 / 26%) 0%,
      rgb(14 31 46 / 14%) 52%,
      rgb(3 7 11 / 0%) 100%
    );
  }
}
