/* Landing-page motion: short feedback, gentle settling, no layout changes. */
.nova-home {
  --landing-settle: cubic-bezier(0.22, 1, 0.36, 1);
}
.nova-home :is(.button, .header-sign-in, .product-card, .story-gallery button) {
  transition:
    transform 320ms var(--landing-settle),
    background-color 200ms ease,
    box-shadow 320ms var(--landing-settle);
}
.nova-home
  :is(.text-link, .discovery-card a, .research-card a, .site-footer a) {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}
.nova-home
  :is(
    .text-link,
    .discovery-card a,
    .research-card a,
    .site-footer a
  ):focus-visible {
  text-decoration-color: currentColor;
}
.nova-home .education-hero .button span {
  display: inline-block;
  transition: transform 320ms var(--landing-settle);
}
.nova-home .explore-pill {
  will-change: auto;
}
.nova-home .nova-revealed {
  animation-duration: 640ms;
}
.nova-home :is(.discovery-grid, .research-grid) > .nova-revealed:nth-child(2) {
  animation-delay: 60ms;
}
.nova-home :is(.discovery-grid, .research-grid) > .nova-revealed:nth-child(3) {
  animation-delay: 120ms;
}
.nova-home .nova-lightbox figure img {
  width: 100%;
  height: min(62dvh, 700px);
  object-fit: contain;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .nova-home .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px #1d1d1f0b;
  }
  .nova-home .product-card .product-image,
  .nova-home .story-gallery img {
    transition: transform 650ms var(--landing-settle);
  }
  .nova-home .product-card:hover .product-image,
  .nova-home .story-gallery button:hover img {
    transform: scale(1.018);
  }
  .nova-home .discovery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px #1d1d1f08;
  }
  .nova-home .education-hero .button:hover span {
    transform: translate(2px, -2px);
  }
  .nova-home
    :is(.text-link, .discovery-card a, .research-card a, .site-footer a):hover {
    text-decoration-color: currentColor;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .nova-home :is(.product-card, .story-gallery button):active {
    transform: scale(0.995);
    transition-duration: 100ms;
  }
  .nova-home :is(.button, .header-sign-in):active {
    transform: scale(0.975);
    transition-duration: 100ms;
  }
}
/* Touch devices should never retain a mouse-hover lift or image zoom. */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .nova-home .product-card:hover,
  .nova-home .product-card:hover .product-image,
  .nova-home .story-gallery button:hover img,
  .nova-home .discovery-card:hover {
    transform: none;
  }
}
