/* Shared layout for the three unlisted Home Platform tests. */
.home-platform-test-hero {
  padding-bottom: 11rem;
}
.home-platform-test-cards {
  margin-top: -7rem;
  padding-top: 0;
  position: relative;
  z-index: 2;
}
.home-platform-test-cards .card-content {
  min-height: 100%;
}
@media (max-width: 767px) {
  .home-platform-test-hero {
    padding-bottom: 6rem;
  }
  .home-platform-test-cards {
    margin-top: -3.5rem;
  }
}

/* Interactive test: cards control and reflect the active hero message. */
.home-platform-test-interactive .home-platform-test-cards .card-container {
  cursor: pointer;
  outline: none;
}
.home-platform-test-interactive .home-platform-test-cards .card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.home-platform-test-interactive .home-platform-test-cards .card-container:hover .card,
.home-platform-test-interactive .home-platform-test-cards .card-container:focus-visible .card,
.home-platform-test-interactive .home-platform-test-cards .card-container.is-active .card {
  box-shadow: 0 0 0 3px #f36a26, 0 18px 38px rgba(68, 68, 70, 0.2);
  transform: translateY(-8px);
}
.home-platform-test-interactive .home-platform-test-cards .card-container.is-active .eyebrow {
  color: #444446 !important;
}

.home-test-hero-copy > * {
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}
.home-test-hero-copy.is-copy-leaving > * {
  filter: blur(2px);
  opacity: 0;
  transform: translateY(-12px);
}
.home-test-hero-copy.is-copy-entering > * {
  animation: homeTestCopyIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-test-hero-copy.is-copy-entering > *:nth-child(2) {
  animation-delay: 80ms;
}

.home-platform-test-auto .home-platform-test-cards .card-container {
  cursor: default;
}
.home-test-hero-copy-enhanced.is-copy-leaving > * {
  animation: homeTestCopyOut 520ms cubic-bezier(0.55, 0, 0.8, 0.2) both;
  filter: none;
  opacity: 1;
  transform: none;
}
.home-test-hero-copy-enhanced.is-copy-entering > * {
  animation: none;
}
.home-test-character {
  animation: homeTestCharacterIn 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--home-test-character-delay);
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.55em, 0) rotateX(-45deg);
  transform-origin: 50% 100%;
}
.home-test-word {
  white-space: nowrap;
}

@keyframes homeTestCopyIn {
  from { filter: blur(6px); opacity: 0; transform: translateY(20px); }
  to { filter: blur(0); opacity: 1; transform: translateY(0); }
}
@keyframes homeTestCharacterIn {
  from { filter: blur(4px); opacity: 0; transform: translate3d(0, 0.55em, 0) rotateX(-45deg); }
  to { filter: blur(0); opacity: 1; transform: translate3d(0, 0, 0) rotateX(0); }
}
@keyframes homeTestCopyOut {
  from { filter: blur(0); opacity: 1; transform: translateY(0) scale(1); }
  to { filter: blur(5px); opacity: 0; transform: translateY(-20px) scale(0.985); }
}

@media (prefers-reduced-motion: reduce) {
  .home-platform-test-interactive .home-platform-test-cards .card,
  .home-test-hero-copy > *,
  .home-test-character {
    animation: none !important;
    transition: none !important;
  }
}
