/* Normal loading is deliberately empty. Only the completed page fades in. */
body.apps-showcase-page {
  /* Keep the site's existing body gradients visible before components mount. */
  min-height: 100vh;
  min-height: 100dvh;
}
body[data-shell-ready="true"] > .navbar,
body[data-main-ready="true"] > :is(.hero, .codex-showcase) {
  animation: keyvault-shell-reveal 360ms ease-out both;
}
@keyframes keyvault-shell-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-shell-ready="true"] > .navbar,
body[data-main-ready="true"] > :is(.hero, .codex-showcase) {
    animation: none;
  }
}
.shell-failure[hidden] { display: none !important; }
.shell-failure {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 24px;
  text-align: center;
  color: #dce6ed;
}
.shell-failure p { max-width: 32ch; margin: 0 0 20px; line-height: 1.6; }
.shell-failure a {
  color: #0e1720;
  background: #ffb47c;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}
.shell-failure a:focus-visible { outline: 3px solid #8edce8; outline-offset: 4px; }

/* Keep layout and nested transitions, but no invisible controls before reveal. */
body.apps-showcase-page:not([data-main-ready="true"]) > :is(.hero, .codex-showcase),
body.apps-showcase-page:not([data-main-ready="true"]) > :is(.hero, .codex-showcase) * {
  visibility: hidden !important;
  pointer-events: none !important;
}
