/* Confirmation copy and actions. The Dawn panel is .demo-stage from
   demo.css, the same treatment /about uses. Type on Dawn stays ink. */

.thank-you {
  --ec-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ec-font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--ec-text-primary);
}

.thank-you-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 720px);
  margin-inline: auto;
  text-align: center;
}

.thank-you-kicker {
  margin: 0 0 var(--ec-space-6);
  color: var(--ec-text-primary);
}

.thank-you h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: var(--ec-text-primary);
}

.thank-you h1 span {
  color: var(--ec-orange-500);
}

.thank-you-dek {
  max-width: 36ch;
  margin: var(--ec-space-8) 0 0;
  color: var(--ec-text-primary);
  font-family: var(--ec-font-body);
  font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.thank-you .cta-row {
  justify-content: center;
  margin-top: var(--ec-space-10);
}

@media (max-width: 640px) {
  .thank-you h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .thank-you-dek {
    font-size: var(--ec-body-lg-size);
    line-height: var(--ec-body-lg-lh);
  }

  .thank-you .cta-row {
    width: 100%;
  }
}
