/* Reuse the homepage light field behind other public heroes and workspaces. */
body.site-page.public-home-material {
  overflow-x: clip;
  background: var(--site-canvas) !important;
}

.public-home-material main .public-hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: transparent !important;
}

.public-home-material .public-hero .hero-atmosphere {
  inset-inline: auto;
  inset-inline-start: 50%;
  width: 100vw;
  translate: -50% 0;
}

.public-home-material .public-hero .hero-atmosphere::after {
  background:
    radial-gradient(ellipse 75% 80% at 27% 58%, #04070bd1, #04070b62 68%, transparent),
    linear-gradient(180deg, #05070a24, transparent 44%, #05070a 100%);
}

.public-home-material .public-hero .rai-hero-bg {
  display: none;
}

.public-home-material main :is(.glass-panel, .about-v4-board, .rai-hero-panel, .privacy-vault, .security-brief, .form-card, form[data-inquiry-form]):where(:not(.home-gloss-panel)) {
  --site-glass-face: linear-gradient(150deg, #182430ad, #0b131cbe 76%);
  --public-glass-base: transparent;
}

.public-home-material main :is(.button, .btn-primary, button[type="submit"]) {
  --public-control-material:
    var(--site-glass-sheen) var(--public-sheen-position, 100%) center / 200% 100% no-repeat,
    var(--public-control-face, var(--site-control));
}

body.site-page:is(.site-entry, [data-aig-workspace]) {
  isolation: isolate;
}

.platform-motion-surface {
  position: fixed;
  z-index: -1;
  inset: 0;
  isolation: isolate;
  pointer-events: none;
}

.platform-motion-surface .hero-atmosphere {
  z-index: 0;
  background: transparent;
  mask-image: linear-gradient(180deg, #000, #000b 52%, transparent 96%);
}

.platform-motion-surface .hero-atmosphere::after {
  display: none;
}

.platform-motion-surface .hero-motion[data-hero-motion-state="ready"],
.platform-motion-surface .hero-still {
  opacity: .32;
}

@media (max-width: 720px) {
  .public-home-material .public-hero .hero-atmosphere::after {
    background:
      radial-gradient(ellipse 89% 76% at 27% 42%, #04070bbd, #04070b61 70%, transparent),
      linear-gradient(180deg, transparent 53%, #05070a 100%);
  }
}

@media print {
  .public-hero .hero-atmosphere,
  .platform-motion-surface { display: none !important; }
}
