@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :root {
    --atlas-hover-lift-transition: translate 180ms ease;
  }

  /* Keep existing card lifts and let component rules retain their own layout. */
  :where(
    a[href]:not([href=""], [href="#"], .owner-access),
    button,
    input:is([type="button"], [type="submit"], [type="reset"], [type="image"], [type="checkbox"], [type="radio"], [type="file"]),
    select,
    details > summary:first-of-type,
    [role="button"][tabindex],
    [role="link"][tabindex],
    [role="tab"][tabindex]
  ):not(:where(:disabled, [aria-disabled="true"], [aria-disabled="true"] *, [hidden], .partner-plan-card, .portal-card, .portal-card *)) {
    transition: var(--atlas-hover-lift-transition);

    &:hover {
      translate: 0 -2px;
    }
  }

  /* Inline links need a transformable box. Existing component displays take precedence. */
  :where(a[href]:not([href=""], [href="#"], .owner-access, [hidden], [aria-disabled="true"])) {
    display: inline-block;
    max-width: 100%;
  }

  .home-audiences a {
    transition: background .15s, var(--atlas-hover-lift-transition);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-card:hover {
    transform: none;
    transition: none;
  }
}
