/* Shared entrance motion for the account panel and the founder page. */
:root {
  --swip-panel-entrance: swip-account-slide-in 850ms cubic-bezier(.42,0,.24,1) both;
}
@keyframes swip-account-slide-in {
 from {translate:0 100%}
 to {translate:0 0}
}

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  #marketing > header.sw83-site-nav {
    view-transition-name: swip-fixed-navigation;
  }
  html:active-view-transition-type(founder-entry)::view-transition-group(swip-fixed-navigation) {
    z-index: 1;
    animation: none;
  }
  html:active-view-transition-type(founder-entry)::view-transition-old(swip-fixed-navigation) {
    display: none;
  }
  html:active-view-transition-type(founder-entry)::view-transition-new(swip-fixed-navigation) {
    animation: none;
    mix-blend-mode: normal;
  }

  html:active-view-transition-type(founder-entry)::view-transition-group(root) {
    animation: none;
  }
  html:active-view-transition-type(founder-entry)::view-transition-old(root) {
    animation: none;
    mix-blend-mode: normal;
  }
  html:active-view-transition-type(founder-entry)::view-transition-new(root) {
    animation: var(--swip-panel-entrance);
    mix-blend-mode: normal;
  }
}
