.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 60px;
  background: var(--color-olivine-100);
  position: relative;
  overflow: hidden;
}

.thank-you__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(165, 194, 139, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(165, 194, 139, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(74, 81, 74, 0.05) 0%,
      transparent 30%
    );
  pointer-events: none;
}

.thank-you__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
}

.thank-you__card {
  background: white;
  border-radius: 24px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  box-shadow: 0 20px 60px -15px rgba(74, 81, 74, 0.2);
}

.thank-you__checkmark {
  width: clamp(80px, 12vw, 112px);
  height: clamp(80px, 12vw, 112px);
  margin: 0 auto 32px;
  background: var(--color-olivine-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: thank-you-checkmark-scale 0.5s ease-out 0.8s;
}

.thank-you__checkmark svg {
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
}
@keyframes thank-you-checkmark-scale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes thank-you-checkmark-circle {
  0% {
    stroke-dashoffset: 166;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes thank-you-checkmark-check {
  0% {
    stroke-dashoffset: 80;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.thank-you__checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: thank-you-checkmark-circle 0.6s ease-out forwards;
}

.thank-you__checkmark-check {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: thank-you-checkmark-check 0.4s ease-out 0.4s forwards;
}

.thank-you__headline {
  font-family: var(--font-family-primary);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--color-brand-text);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.thank-you__subheadline {
  font-family: var(--font-family-primary);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: var(--color-olivine-500);
  margin: 0 0 24px 0;
  line-height: 1.35;
}

.thank-you__divider {
  width: 80px;
  height: 2px;
  background: var(--color-olivine-300);
  margin: 0 auto 32px;
}

.thank-you__content {
  margin-bottom: 32px;
}

.thank-you__content p {
  font-family: var(--font-family-primary);
  font-size: clamp(16px, 2vw, 18px);
  color: var(--color-brand-text);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.thank-you__content p:last-child {
  margin-bottom: 0;
}

.thank-you__signature {
  font-family: var(--font-family-primary);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  font-style: italic;
  color: var(--color-olivine-600);
  margin: 0;
}

.thank-you__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 14px 28px;
  background: var(--color-copper-500);
  color: white;
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 99px;
  transition: all 0.3s ease;
}

.thank-you__cta:hover {
  background: var(--color-copper-600);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 114, 41, 0.35);
}

.thank-you__cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.thank-you__cta:hover svg {
  transform: translateX(-4px);
}
@media (max-width: 1024px) {
  .thank-you {
    padding: 120px 24px 60px;
  }
}
@media (max-width: 767px) {
  .thank-you {
    padding: 100px 16px 60px;
    min-height: calc(100vh - 80px);
  }

  .thank-you__card {
    border-radius: 16px;
    padding: 32px 24px;
  }

  .thank-you__checkmark {
    margin-bottom: 24px;
  }

  .thank-you__divider {
    margin-bottom: 24px;
  }

  .thank-you__content {
    margin-bottom: 24px;
  }

  .thank-you__cta {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
  }
}

.ispc-block-acf-thank-you {
  width: 100%;
  max-width: 100%;
}
