/* The introduction, quick scripts and Playbook preview share one opening. */
.home .hero {
  min-height: 0;
}

.home .hero .hero-grid {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  grid-template-areas: "intro preview" "scripts scripts";
  column-gap: clamp(24px, 4vw, 58px);
  row-gap: 0;
  padding-block: 0;
}

.home .hero .hero-copy {
  grid-area: intro;
  padding-block: clamp(48px, 6vw, 80px);
}

.home .hero .rs-home-start-actions {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 25px;
}

.home .rs-home-start-actions .button {
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 49px;
  flex: 0 1 auto;
  justify-content: space-between;
  gap: 11px;
  padding-inline: 15px;
  text-align: start;
  white-space: normal;
  line-height: 1.35;
}

.home .rs-home-start-actions .button span {
  flex: 0 0 auto;
}

.home .rs-home-start-actions .hero-primary-button {
  border-color: #90dfda;
  background: #90dfda;
  color: #083c37;
  box-shadow: none;
}

.home .rs-home-start-actions .hero-primary-button:hover {
  background: #b5eeea;
}

.home .rs-home-start-actions .rs-home-start-plan {
  border: 1px solid #91cfc9;
  background: transparent;
  color: #f8fffc;
  box-shadow: none;
}

.home .rs-home-start-actions .rs-home-start-plan:hover {
  background: #164b45;
}

.home .rs-home-start-actions .button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.home .hero .trust-row {
  margin-top: 16px;
}

.home .hero .rs-quick-scripts {
  position: relative;
  z-index: 2;
  grid-area: scripts;
  padding-block: clamp(24px, 3.8vw, 52px);
  scroll-margin-top: 84px;
  box-shadow: 0 0 0 100vmax #edf6f2;
  clip-path: inset(0 -100vmax);
}

.home .hero .rs-quick-scripts > .shell {
  width: 100%;
}

.home .rs-home-opening-preview {
  position: relative;
  z-index: 1;
  grid-area: preview;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding-block: clamp(45px, 6vw, 78px);
}

.home .rs-home-preview-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #b9e6dc;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.home .rs-home-preview-link:hover,
.home .rs-home-preview-link:focus-visible {
  color: #fff;
}

.home .rs-home-credibility .rs-home-press {
  margin-top: 0;
}

@media (max-width: 900px) {
  .home .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "scripts" "preview";
  }

  .home .hero .hero-copy {
    padding-block: clamp(24px, 5vw, 45px) clamp(22px, 4vw, 34px);
  }

  .home .hero .rs-quick-scripts {
    padding-bottom: 18px;
  }

  .home .rs-home-opening-preview {
    padding-block: 14px 24px;
    background: #edf6f2;
    box-shadow: 0 0 0 100vmax #edf6f2;
    clip-path: inset(0 -100vmax);
  }

  .home .rs-home-opening-preview .rs-app-example-preview {
    box-shadow: 0 8px 22px rgb(5 31 24 / .12);
  }

  .home .rs-home-preview-link,
  .home .rs-home-preview-link:hover,
  .home .rs-home-preview-link:focus-visible {
    color: #075957;
  }
}

@media (max-width: 480px) {
  .home .hero .eyebrow {
    margin-bottom: 14px;
  }

  .home .hero .rs-home-start-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .home .rs-home-start-actions .button {
    width: 100%;
    flex-basis: 100%;
  }

  .home .hero .rs-app-hero-note {
    margin-top: 9px;
  }

  .home .hero .trust-row {
    margin-top: 9px;
  }

  .home .hero .rs-quick-scripts .rs-moment-intro {
    margin-bottom: 12px;
  }

  .home .hero .rs-quick-scripts .rs-moment-grid {
    gap: 8px;
  }
}
