.thank-you-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--space-64);
}

.thank-you-section {
  width: 100%;
}

.thank-you-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
}

.thank-you-header {
  margin-bottom: var(--space-16);
}

.thank-you-eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: var(--space-8);
}

.thank-you-title {
  margin-bottom: var(--space-12);
}

.thank-you-message,
.thank-you-next,
.thank-you-note {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.thank-you-next {
  margin-top: var(--space-8);
}

.thank-you-note {
  margin-top: var(--space-8);
  color: var(--color-text-soft);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.thank-you-btn-main {
  min-width: 0;
}

.thank-you-btn-secondary {
  min-width: 0;
}

.thank-you-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-top: var(--space-24);
  font-size: var(--font-size-sm);
}

.thank-you-link {
  position: relative;
  color: var(--color-text-soft);
}

.thank-you-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(199,165,106,0.15), var(--color-primary));
  transition: width var(--transition-base);
}

.thank-you-link:hover::after {
  width: 100%;
}

@media (max-width: 767.98px) {
  .thank-you-main {
    padding-block: var(--space-40);
  }

  .thank-you-card {
    text-align: left;
  }

  .thank-you-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .thank-you-btn-main,
  .thank-you-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .thank-you-secondary-links {
    flex-direction: column;
  }
}

@media (min-width: 992px) {
  .thank-you-main {
    min-height: calc(100vh - var(--header-height) - 160px);
  }
}
