/* Custom Apps hero: contain the CDN artwork to the right side of the hero
   with a controlled fade into the copy column. Copy, CTAs, spacing and
   typography are unchanged; only the artwork presentation is scoped here.
   The shared .hero.hero-img stack keeps its image layer for every other page. */

main > section.hero.custom-apps-hero {
  /* Same stack as .hero.hero-img minus the full-bleed image layer. */
  background:
    radial-gradient(circle at 86% 12%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.10) 28%, transparent 52%),
    linear-gradient(135deg, rgba(8,16,31,0.98) 0%, rgba(8,16,31,0.84) 38%, rgba(8,16,31,0.42) 72%, rgba(8,16,31,0.18) 100%),
    linear-gradient(180deg, rgba(20,184,166,0.04), rgba(10,22,40,0.08)),
    linear-gradient(135deg, #071226 0%, #0b1d38 50%, #082625 100%);
}

main > section.hero.custom-apps-hero .custom-apps-hero-artwork {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 45%;
  background:
    radial-gradient(circle at 78% 8%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 30%, transparent 55%),
    linear-gradient(to right, rgba(8,16,31,0.62) 0%, rgba(8,16,31,0.42) 42%, rgba(8,16,31,0.26) 100%),
    var(--hero-img) center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%);
  mask-image: linear-gradient(to right, transparent 0%, #000 34%);
  pointer-events: none;
}

@media (max-width: 700px) {
  /* Narrow screens keep a softer, wider presence so the artwork never
     collapses into a cramped sliver behind stacked CTAs. */
  main > section.hero.custom-apps-hero .custom-apps-hero-artwork {
    left: 10%;
    background:
      radial-gradient(circle at 78% 8%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 30%, transparent 55%),
      linear-gradient(to right, rgba(8,16,31,0.78) 0%, rgba(8,16,31,0.60) 45%, rgba(8,16,31,0.45) 100%),
      var(--hero-img) center center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 52%);
    mask-image: linear-gradient(to right, transparent 0%, #000 52%);
  }
}
