.thank-you-preview {
  margin: 0;
  background: #fff;
}

.lead-thank-you {
  --thank-you-red: #bd0000;
  --thank-you-yellow: #ffcf00;
  --thank-you-dark: #171717;
  padding: 80px 20px 95px;
  color: #fff;
  background: #fff;
  font-family: "Barlow", Arial, sans-serif;
}

.lead-thank-you,
.lead-thank-you *,
.lead-thank-you *::before,
.lead-thank-you *::after {
  box-sizing: border-box;
}

.lead-thank-you h1,
.lead-thank-you p {
  margin: 0;
}

.lead-thank-you__container {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.lead-thank-you__card {
  position: relative;
  display: flex;
  min-height: 520px;
  overflow: hidden;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 70px 40px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 207, 0, .13), transparent 30%),
    linear-gradient(135deg, #0f0f0f 0%, var(--thank-you-dark) 62%, #202020 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .16);
  text-align: center;
  isolation: isolate;
}

.lead-thank-you__card::before,
.lead-thank-you__card::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 207, 0, .18);
  border-radius: 50%;
  content: "";
}

.lead-thank-you__card::before {
  top: -230px;
  left: -150px;
  width: 470px;
  height: 470px;
}

.lead-thank-you__card::after {
  right: -185px;
  bottom: -290px;
  width: 520px;
  height: 520px;
}

.lead-thank-you__icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 27px;
  border-radius: 18px;
  color: #090909;
  background: var(--thank-you-yellow);
  box-shadow: 0 11px 30px rgba(255, 207, 0, .22);
  place-items: center;
}

.lead-thank-you__icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.lead-thank-you__eyebrow {
  position: relative;
  margin-bottom: 25px !important;
  color: var(--thank-you-yellow);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.lead-thank-you__eyebrow::after {
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 54px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
}

.lead-thank-you h1 {
  max-width: 760px;
  color: #fff !important;
  font-family: "Barlow", Arial, sans-serif;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700 !important;
  line-height: 1.05;
  letter-spacing: normal;
  text-transform: none;
}

.lead-thank-you__text {
  max-width: 700px;
  margin-top: 23px !important;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.5;
}

.lead-thank-you__note {
  margin-top: 9px !important;
  color: rgba(255, 255, 255, .62);
  font-size: 16px;
  line-height: 1.45;
}

.lead-thank-you__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 12px 18px;
  border: 1px solid var(--thank-you-red);
  border-radius: 10px;
  color: #fff !important;
  background: var(--thank-you-red);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease;
}

.lead-thank-you__button:hover,
.lead-thank-you__button:focus-visible {
  color: var(--thank-you-red) !important;
  background: #fff;
}

.lead-thank-you__button:focus-visible {
  outline: 3px solid #ef8c8c;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .lead-thank-you {
    padding: 45px 15px 60px;
  }

  .lead-thank-you__card {
    min-height: 480px;
    padding: 55px 24px;
    border-radius: 18px;
  }

  .lead-thank-you h1 {
    font-size: 40px;
  }

  .lead-thank-you__text {
    font-size: 18px;
  }

  .lead-thank-you__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-thank-you__button {
    transition: none;
  }
}
