:root {
  color-scheme: dark light;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

:where(a, button, [role="button"], summary):focus-visible {
  outline: 3px solid #59e0da !important;
  outline-offset: 4px !important;
  border-radius: 8px;
}

:where(a, button, [role="button"]) {
  -webkit-tap-highlight-color: rgba(0, 179, 172, 0.24);
}

@media (max-width: 480px) {
  section[aria-label="Hero"] > div[style*="max-width: 1200px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
    gap: 28px !important;
  }

  section[aria-label="Hero"] img[aria-hidden="true"] {
    display: none !important;
  }

  section[aria-label="Hero"] div[style*="width: min(316px, 80vw)"] {
    width: min(300px, 86vw) !important;
  }

  section[aria-label="Hero"] div[style*="right: -12%"][style*="bottom: -6%"] {
    right: 0 !important;
    bottom: -4% !important;
    width: calc(100% - 4px) !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  section[aria-label="Hero"] div[style*="right: -12%"][style*="bottom: -6%"] > div:last-child {
    min-width: 0;
    overflow: hidden;
  }

  section[aria-label="Hero"] div[style*="right: -12%"][style*="bottom: -6%"] span[style*="white-space: nowrap"] {
    max-width: 100%;
  }

  .ssnav__mobile a {
    min-height: 48px;
  }
}

@media (max-width: 760px) {
  html body #ssnav-check,
  html body .ssnav__burger {
    display: none !important;
  }

  html body .ssnav__mobile {
    display: flex !important;
    height: 50px;
    flex-direction: row !important;
    align-items: center;
    gap: 22px !important;
    padding: 0 20px !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    white-space: nowrap;
  }

  html body .ssnav__mobile::-webkit-scrollbar {
    display: none;
  }

  html body .ssnav__mobile > a {
    display: inline-flex;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 !important;
    border: 0 !important;
    font-size: 14px !important;
  }

  html body .ssnav__mobile > div {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .ss-marquee-track {
    animation: none !important;
    transform: none !important;
  }
}
