.rp-home-hero {
  flex-direction: row;
  align-items: flex-start;
  max-width: 72rem;
  margin: 5rem auto;
  padding: 20px 40px;
  display: flex;
  position: relative;
}

@media (width <= 1000px) {
  .rp-home-hero {
    flex-direction: column-reverse;
    align-items: center;
    margin: 0 auto;
  }

  .rp-home-hero .rp-home-hero__container {
    text-align: center;
    align-items: center;
  }
}

@media (width <= 600px) {
  .rp-home-hero {
    padding: 10px;
  }

  .rp-home-hero .rp-home-hero__title {
    font-size: 2.5rem;
  }

  .rp-home-hero .rp-home-hero__subtitle {
    margin-top: 1rem;
    font-size: 2rem;
  }
}

.rp-home-hero__container {
  flex-direction: column;
  flex: 2;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  display: flex;
}

.rp-home-hero__image {
  flex: 1;
  align-self: center;
  max-width: 50vw;
  display: flex;
}

.rp-home-hero__image-img {
  display: block;
}

.rp-home-hero__image-img--dark {
  display: none;
}

.rp-home-hero__content {
  flex-direction: column;
  display: flex;
}

.rp-home-hero__badge:before {
  content: "";
  background: var(--rp-home-hero-title-bg);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  display: inline-block;
}

.rp-home-hero__badge {
  background: var(--rp-c-bg-soft);
  border: 1px solid var(--rp-c-divider-light);
  color: var(--rp-c-text-0);
  border-radius: 50px;
  align-items: center;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  display: inline-flex;
}

.rp-home-hero__badge:hover {
  background: var(--rp-c-bg-mute);
  cursor: pointer;
}

.rp-home-hero__badge:is(a):hover {
  border-color: var(--rp-c-brand);
}

.rp-home-hero__title {
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.2em;
}

.rp-home-hero__title-brand {
  background: var(--rp-home-hero-title-bg);
  -webkit-text-fill-color: #0000;
  color: var(--rp-home-hero-title-color);
  background-clip: text;
  width: 640px;
}

.rp-home-hero__subtitle {
  margin: 0;
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.2em;
}

.rp-home-hero__tagline {
  color: var(--rp-c-text-2);
  font-size: 1rem;
  font-weight: 400;
}

@media (width >= 640px) {
  .rp-home-hero__tagline {
    font-size: 1.125rem;
  }
}

@media (width >= 768px) {
  .rp-home-hero__tagline {
    font-size: 1.25rem;
  }
}

.rp-home-hero__actions {
  flex-direction: row;
  gap: 1.5rem;
  display: flex;
}

@media (width <= 768px) {
  .rp-home-hero__actions {
    flex-direction: column;
    gap: 1rem;
    width: 80%;
  }
}

.rp-home-hero__action {
  display: flex;
}

.rp-home-hero--no-image .rp-home-hero__container {
  text-align: center;
  align-items: center;
}

.dark .rp-home-hero__image-img--light {
  display: none;
}

.dark .rp-home-hero__image-img--dark {
  display: block;
}

