.v2-hero {
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 100vh auto;
  grid-template-rows: 100svh auto;
  grid-template-rows: 100dvh auto;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  color: #000;
  font-family: var(--font-geist-sans), -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.v2-hero__content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vh, 34px);
  width: min(100% - 40px, 760px);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(32px, env(safe-area-inset-top)) 0
    max(32px, env(safe-area-inset-bottom));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: center;
}

.v2-hero__content h1 {
  margin: 0;
  font-family: var(--font-fira-sans), "Fira Sans", sans-serif;
  font-size: clamp(62px, 4.9vw, 94px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.v2-hero__sub {
  margin: 0;
  font-size: clamp(16px, 1vw, 19px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.v2-hero__sub-mobile {
  display: none;
}

.v2-hero-form {
  width: min(100%, 258px);
  margin: 2px 0 0;
}

.v2-hero-form button {
  width: 100%;
  min-height: 78px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-geist-sans), "Geist", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease;
}

.v2-hero-form button span {
  font-family: var(--font-geist-sans), "Geist", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.v2-hero-form button:hover:not(:disabled) {
  background: #171717;
  transform: translateY(-1px);
}

.v2-hero-form button:focus-visible {
  outline: 3px solid #4285f4;
  outline-offset: 4px;
}

.v2-hero-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.v2-hero__footer {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: clamp(86px, 13svh, 124px);
  padding: 18px 30px max(22px, env(safe-area-inset-bottom));
  scroll-snap-align: end;
  scroll-snap-stop: always;
  color: #737373;
  font-family: var(--font-geist-sans), -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 340ms ease, transform 340ms ease,
    visibility 0s linear 340ms;
  visibility: hidden;
}

.v2-hero__footer[data-visible] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
  visibility: visible;
}

.v2-hero__footer-links {
  display: flex;
  gap: 26px;
}

.v2-hero__footer a {
  color: inherit;
  text-decoration: none;
}

.v2-hero__footer a:hover {
  color: #000;
}

.v2-hero__footer a:focus-visible {
  border-radius: 2px;
  outline: 2px solid #4285f4;
  outline-offset: 3px;
}

.v2-hero__footer-meta {
  margin: 0;
}

@media (max-width: 600px) {
  .v2-hero {
    grid-template-rows: 100vh auto;
    grid-template-rows: 100svh auto;
    grid-template-rows: 100dvh auto;
  }

  .v2-hero__content {
    gap: 26px;
    width: min(100% - 48px, 420px);
    padding: max(24px, env(safe-area-inset-top)) 0
      max(24px, env(safe-area-inset-bottom));
  }

  .v2-hero__content h1 {
    font-size: clamp(46px, 13.2vw, 58px);
    line-height: 0.94;
    letter-spacing: -0.035em;
  }

  .v2-hero__sub {
    font-size: clamp(15px, 4vw, 16px);
    line-height: 1.35;
  }

  .v2-hero__sub-desktop {
    display: none;
  }

  .v2-hero__sub-mobile {
    display: inline;
  }

  .v2-hero-form {
    width: 100%;
  }

  .v2-hero-form button {
    min-height: 74px;
    font-size: 18px;
  }

  .v2-hero-form button span {
    font-size: 19px;
  }

  .v2-hero__footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    min-height: clamp(82px, 12svh, 108px);
    padding: 16px 20px max(18px, env(safe-area-inset-bottom));
    font-size: 12px;
  }

  .v2-hero__footer-links {
    gap: 20px;
  }
}

@media (min-width: 360px) and (max-width: 600px) {
  .v2-hero__sub {
    white-space: nowrap;
  }
}

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

  .v2-hero__footer {
    transform: none;
    transition: none;
  }

  .v2-hero-form button {
    transition: none;
  }
}
