/* Standalone marketing layout; keep independent of the app's generated CSS. */
html {
  scroll-padding-top: 7rem;
}

section[id] {
  scroll-margin-top: 1rem;
}

.skip-link {
  position: fixed;
  top: -6rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fbbf24;
  color: #06080d;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 4px;
}

.workflow-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: #fcd34d;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* Header container centered and matching page container max-w-7xl */
#site-header > div:first-child {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive navigation breakpoint */
@media (max-width: 1535px) {
  #site-header nav[aria-label="Main navigation"] {
    display: none;
  }

  #mobile-menu-toggle {
    display: flex;
  }

  #mobileMenu:not(.hidden) {
    display: block;
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
  }
}

@media (max-width: 639px) {
  #header-ctas {
    display: none;
  }
}

@media (max-width: 479px) {
  #heroAppImg {
    object-fit: contain;
  }

  footer a {
    overflow-wrap: anywhere;
  }

  footer > div > div:last-child > div:last-child {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
