body.page-thank-you {
  background-color: var(--color-bg);
}

.thank-you-main {
  min-height: calc(100vh - var(--age-banner-height));
  display: flex;
  justify-content: center;
  align-items: center;
}

.thank-you-panel {
  max-width: 640px;
  margin-inline: auto;
  padding: var(--space-40) var(--space-32);
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: left;
}

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

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

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

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

.thank-you-links a {
  color: var(--color-neutral-600);
}

.thank-you-links a:hover {
  color: var(--color-heading);
}

@media (max-width: 720px) {
  .thank-you-main {
    align-items: flex-start;
  }

  .thank-you-panel {
    margin-top: var(--space-40);
    padding: var(--space-32) var(--space-24);
  }

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

  .thank-you-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
