/* Let the opening section grow with its copy so the CTA and bottom rail never overlap. */
.hero-stage {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: max(860px, 100svh);
  max-height: none;
}

.hero-stage .hero {
  flex: 1 0 auto;
  height: auto;
  padding-bottom: 56px;
}

.hero-stage .hero-copy > p {
  max-width: 540px;
  text-wrap: pretty;
}

.hero-stage .hero-actions {
  margin-top: 26px;
}

.hero-stage .hero-floor {
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
  margin-top: 0;
  padding-block: 20px 28px;
}

@media (max-width: 1100px) {
  .hero-stage { min-height: max(780px, 100svh); }
  .hero-stage .hero-copy > p { max-width: 480px; }
}

@media (max-width: 1000px) {
  .hero-stage .hero-note {
    position: relative;
    inset: auto;
    margin-top: 34px;
    max-width: 340px;
  }
}

@media (max-width: 800px) {
  .hero-stage .hero { padding-bottom: 36px; }
  .hero-stage .hero-copy h1 { font-size: clamp(52px, 11.5vw, 96px); }
  .hero-stage .hero-copy > p { max-width: 32rem; }
  .hero-stage .hero-floor { padding-block: 18px 24px; }
}

@media (max-width: 480px) {
  .hero-stage { min-height: 100svh; }
  .hero-stage .hero { padding-top: 130px; padding-bottom: 30px; }
  .hero-stage .hero-copy h1 { font-size: clamp(48px, 14.2vw, 68px); }
  .hero-stage .hero-copy > p { max-width: 100%; font-size: 16px; }
  .hero-stage .hero-actions { margin-top: 24px; }
  .hero-stage .hero-actions .button { max-width: 100%; }
  .hero-stage .hero-note { margin-top: 30px; max-width: 100%; }
}
