/*
 * Responsive fixes
 * Keep the existing visual design, but make the hero flow naturally on
 * short smartphone viewports and add breathing room above the hero on desktop.
 */
html,
body,
#root {
  min-height: 100%;
}

body {
  overflow-x: hidden;
}

/* The page needs to be able to scroll when the full hero is taller than the
   available smartphone viewport instead of clipping its first element. */
#root > div {
  min-height: 100svh;
  min-height: 100dvh;
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
}

#root > div > main {
  flex: 0 1 auto;
  min-height: auto;
  justify-content: flex-start;
  margin-top: 0;
  padding-top: clamp(2.5rem, 8vh, 4rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
}

/* Give the logo a definite responsive box. This avoids percentage sizing
   resolving to zero on narrow mobile layouts. */
#root > div > main > div:nth-of-type(1) {
  flex: 0 0 auto;
  width: min(15rem, calc(100vw - 2rem));
  margin-bottom: 2.5rem;
}

#root > div > main > div:nth-of-type(1) img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  #root > div > main {
    padding-top: clamp(3.5rem, 8vh, 6rem);
  }

  #root > div > main > div:nth-of-type(1) {
    width: min(24rem, calc(100vw - 3rem));
    margin-bottom: 3.5rem;
  }
}

/* Replace the former claim line with the short blue separator requested. */
#root > div > main > div:nth-of-type(2) > p:nth-of-type(1) {
  height: 0.25rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  overflow: hidden;
  font-size: 0;
  line-height: 1;
  color: transparent;
}

#root > div > main > div:nth-of-type(2) > p:nth-of-type(1)::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 0.2rem;
  margin: 0 auto;
  border-radius: 9999px;
  background: #3b82f6;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.55);
}