.dp-hero-foam,
.dp-hero-foam-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.dp-hero-foam { z-index: 0; display: block; }
.dp-hero-foam-wash {
  z-index: 1;
  background: radial-gradient(circle at 22% 42%, rgba(38,50,56,0.62) 0%, rgba(38,50,56,0.28) 34%, rgba(38,50,56,0) 68%);
}
[data-theme=light] .dp-hero-foam-wash {
  background: radial-gradient(circle at 22% 42%, rgba(236,239,241,0.82) 0%, rgba(236,239,241,0.46) 36%, rgba(236,239,241,0) 70%);
}
.dp-hero-foam-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 34px;
  height: 34px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 180ms ease, transform 200ms ease;
}
.dp-hero-foam-cursor.is-visible {
  opacity: 0.94;
  transform: translate(-50%, -50%) scale(1);
}
.dp-hero-foam-cursor-halo {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.14) 36%, rgba(255,255,255,0) 76%);
}
.dp-hero-foam-cursor img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.95;
}
[data-theme=dark] .dp-hero-foam-cursor img { filter: brightness(0) invert(1); }

@media (hover: hover) and (pointer: fine) {
  .dp-hero.dp-foam-ready { cursor: none; }
  .dp-hero.dp-foam-ready a,
  .dp-hero.dp-foam-ready button,
  .dp-hero.dp-foam-ready input,
  .dp-hero.dp-foam-ready .dp-code-window { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .dp-hero-foam-cursor { display: none; }
}


/* Landing-page integration; original effect colors and pointer behavior above. */
.hero-stage{position:relative;overflow:clip;isolation:isolate}
.hero-effects{position:absolute;inset:0;z-index:0;pointer-events:none;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 clamp(48px,7vw,96px),#000 calc(100% - clamp(64px,8vw,112px)),transparent);mask-image:linear-gradient(to bottom,transparent,#000 clamp(48px,7vw,96px),#000 calc(100% - clamp(64px,8vw,112px)),transparent)}
.hero-stage>.hero{position:relative;z-index:1}
.hero-stage .dp-hero-foam-cursor{z-index:2}
.hero-stage .dp-hero-foam-wash{background:radial-gradient(circle at 22% 42%,#0f151e9e 0%,#0f151e47 34%,#0f151e00 68%)}
[data-theme=light] .hero-stage .dp-hero-foam-wash{background:radial-gradient(circle at 22% 42%,#f4f6f5d1 0%,#f4f6f575 36%,#f4f6f500 70%)}
@media(hover:none),(pointer:coarse){.dp-hero-foam,.dp-hero-foam-wash,.dp-hero-foam-cursor{display:none}}
