body[data-helper-page] {
  min-height: 100vh;
  color: #111;
  background: #f2f2f2;
  font-family: "Pragati Narrow", "Arial Narrow", Arial, sans-serif;
}

body[data-helper-page] > .directory-hero__header {
  position: relative;
  z-index: 2;
  min-height: 116px;
  background-color: #f2f2f2;
  box-shadow: 0 1px 0 rgb(17 17 17 / 8%);
}

body[data-helper-page] main {
  min-height: clamp(540px, 64vh, 760px);
  display: grid;
  place-items: center;
  padding: clamp(44px, 8vw, 104px) 24px;
  background: #f2f2f2;
}

.success-page {
  position: relative;
  isolation: isolate;
  width: min(100%, 1100px);
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: clamp(30px, 6vw, 72px);
  border-radius: 38px;
  background-color: #fe3b63;
  box-shadow: 0 28px 70px rgb(17 17 17 / 12%);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease;
}

html.has-scroll-reveal .success-page:not(.is-settled) {
  opacity: 0;
  transform: translateY(22px);
}

.success-page.is-settled {
  opacity: 1;
  transform: translateY(0);
}

.success-page__ornament {
  position: absolute;
  z-index: -1;
  top: 24px;
  right: 25px;
  width: 126px;
  height: 90px;
  opacity: .48;
  background-image: radial-gradient(circle, #f2f2f2 2px, transparent 2.5px);
  background-size: 18px 18px;
}

.success-card {
  width: min(100%, 630px);
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgb(17 17 17 / 8%);
  border-radius: 28px;
  color: #111;
  background-color: #f2f2f2;
  text-align: center;
  box-shadow: 0 18px 40px rgb(17 17 17 / 12%);
}

.success-card__eyebrow {
  margin: 0 0 12px;
  color: #a51e3c;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.success-card__title {
  margin: 0;
  color: #111;
  font-size: clamp(48px, 8vw, 82px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}

.success-card__message {
  max-width: 460px;
  margin: 22px auto 0;
  color: #333;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.success-card__link {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 28px;
  padding: 13px 24px;
  border: 2px solid #111;
  border-radius: 999px;
  color: #f2f2f2;
  background-color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.success-card__link:hover {
  color: #111;
  background-color: #fe3b63;
  transform: translateY(-2px);
}

.success-card__link:focus-visible {
  outline: 3px solid #a51e3c;
  outline-offset: 4px;
}

.success-card__link span {
  font-family: Arial, sans-serif;
  font-size: 20px;
}

.success-card__note {
  margin: 20px 0 0;
  color: #5c5c5c;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 650px) {
  body[data-helper-page] > .directory-hero__header {
    min-height: 0;
    background-color: #f2f2f2;
  }

  body[data-helper-page] main {
    min-height: 0;
    padding: 28px 16px 44px;
  }

  .success-page {
    min-height: 400px;
    padding: 22px;
    border-radius: 26px;
  }

  .success-page__ornament {
    top: 14px;
    right: 12px;
    width: 80px;
    height: 60px;
    background-size: 14px 14px;
  }

  .success-card {
    padding: 34px 23px;
    border-radius: 22px;
  }

  .success-card__message {
    margin-top: 17px;
  }

  .success-card__link {
    width: 100%;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .success-page,
  .success-card__link {
    transition: none;
  }

  .success-page {
    opacity: 1;
    transform: none;
  }
}
