/* Main site pages: keep the wordmark in place while the page changes. */
html[data-go-theme] {
  --minto-scroll-thumb: #65747e;
  --minto-scroll-track: #fff;
  scrollbar-width: thin;
  scrollbar-color: var(--minto-scroll-thumb) var(--minto-scroll-track);
}
html[data-go-theme="dark"] {
  --minto-scroll-thumb: #829ca8;
  --minto-scroll-track: #000;
}
@supports not (scrollbar-color: auto) {
  html[data-go-theme]::-webkit-scrollbar { width: 10px; height: 10px; }
  html[data-go-theme]::-webkit-scrollbar-track { background: var(--minto-scroll-track); }
  html[data-go-theme]::-webkit-scrollbar-thumb {
    background: var(--minto-scroll-thumb);
    border: 2px solid var(--minto-scroll-track);
    border-radius: 999px;
  }
}
@media (forced-colors: active) {
  html[data-go-theme] { scrollbar-color: auto; scrollbar-width: auto; }
}

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.theme-reveal) h1.elephant-letter { view-transition-name: minto-wordmark; }
  html:not(.theme-reveal)::view-transition-group(root) { animation: none; }
  html:not(.theme-reveal)::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
  html:not(.theme-reveal)::view-transition-new(root) {
    animation: minto-page-enter 220ms cubic-bezier(.2,.7,.2,1) both;
    mix-blend-mode: normal;
    z-index: 1;
  }
  html:not(.theme-reveal)::view-transition-group(minto-wordmark) {
    animation-duration: 220ms;
    animation-timing-function: cubic-bezier(.2,.7,.2,1);
    z-index: 2;
  }
}
@keyframes minto-page-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
