html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100svh;
}

.scene,
.launches-page {
  width: 100%;
  max-width: 100vw;
}

.scene > * {
  min-width: 0;
}

.idea-input {
  min-width: 0;
}

.glass-line,
.panel,
article {
  max-width: 100%;
}

h1,
h2,
h3,
p,
a,
button,
span {
  overflow-wrap: anywhere;
}

img,
svg,
video {
  max-width: 100%;
}

.molt-contract-label {
  max-width: 7.5rem;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 640px) {
  .scene {
    min-height: 100svh;
    padding: 5rem 1rem 1.5rem;
  }

  .scene h1 {
    font-size: clamp(2.4rem, 13vw, 3.5rem);
    line-height: 0.95;
  }

  .scene .glass-line {
    padding: 0.85rem 1rem;
  }

  .scene .idea-input {
    font-size: 1.05rem;
  }

  .scene > div:last-child {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 0.5rem;
    padding-top: 3rem;
  }

  .scene > div:last-child > a,
  .scene > div:last-child > button {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    min-width: 0;
    transform: none !important;
  }

  .scene > div:last-child .h-24,
  .scene > div:last-child .w-24 {
    width: 4.25rem;
    height: 4.25rem;
  }

  .scene > div:last-child .h-14,
  .scene > div:last-child .w-14 {
    width: 2.5rem;
    height: 2.5rem;
  }

  .scene > div:last-child .h-40,
  .scene > div:last-child .w-40 {
    width: 6rem;
    height: 6rem;
  }

  .scene > div:last-child .whitespace-nowrap {
    white-space: normal;
  }

  .scene > div:last-child .-bottom-6 {
    bottom: -0.5rem;
  }

  .launches-page {
    padding-inline: 1rem;
  }

  .launches-page .grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-height: 700px) and (min-width: 641px) {
  .scene {
    padding-top: 3.5rem;
    padding-bottom: 1rem;
  }

  .scene .mt-10 {
    margin-top: 1.5rem;
  }

  .scene .pt-16 {
    padding-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
