/* Full-page wrapper */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center; /* vertically centre block */
  justify-content: center; /* horizontally centre block */
  text-align: center;
}

/* Inner container, uses your shared width + gutters */
.thanks-hero {
  max-width: var(--content-max);
  padding: 3rem var(--gutter); /* top/bottom and side padding */
}

/* Logo */
.thanks-logo {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 320px;
  height: auto;
}

/* Headline */
.thankyou-page h1 {
  font-size: 2.25rem;
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 700;
}

/* Lede paragraph */
.thankyou-page .lede {
  font-size: 1.125rem;
  margin: 0 0 1rem;
  opacity: 0.95;
}

/* General paragraph spacing */
.thankyou-page p {
  margin: 0 0 0.85rem;
}

/* Extra space above the button */
.cta-wrap {
  margin: 0; /* reset normal paragraph margin */
  padding-top: 3rem; /* this controls the gap above the button */
}

/* CTA button */
.thanks-button {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.06s ease;
}

.thanks-button:hover,
.thanks-button:focus {
  background: var(--brand-orange-dk);
  text-decoration: none;
}

.thanks-button:active {
  transform: translateY(1px);
}

/* Small-screen tweaks */
@media (max-width: 640px) {
  .thankyou-page h1 {
    font-size: 1.9rem;
  }
  .thanks-logo {
    max-width: 240px;
  }
}
