/* F-012: Payment success page — soft-luxury, single column within max-prose */

/* ─── Page layout ───────────────────────────────────────────────────────────── */

.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: var(--space-section) 1.5rem;
}

.success-page__container {
  width: 100%;
  max-width: var(--max-prose);
}

/* ─── Typography ─────────────────────────────────────────────────────────────── */

.success-page__headline {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.success-page__message {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-ink-muted);
  margin-bottom: 2rem;
}

/* ─── Download button ────────────────────────────────────────────────────────── */

/* Inherits .btn and .btn--primary; these modifiers make it full-width and centered */
.success-page__download-btn {
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

/* ─── Reveal animation (data-reveal pattern) ─────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--duration-slow) var(--ease-default),
    transform var(--duration-slow) var(--ease-default);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */

@media (min-width: 40rem) {
  .success-page__download-btn {
    width: auto;
  }
}
