.rhf-section-cta {
  display: flex;
  margin-top: 30px;
}

.rhf-section-cta .button {
  min-width: min(100%, 280px);
}

.rhf-mobile-cta {
  display: none;
}

.rhf-thankyou {
  min-height: 100vh;
  background: var(--ink, #0b0a09);
  color: var(--paper, #f4f0ed);
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.rhf-thankyou__inner {
  width: min(100%, 760px);
}

.rhf-thankyou .wordmark {
  color: var(--paper, #f4f0ed);
  display: inline-grid;
  margin-bottom: clamp(70px, 14vh, 150px);
}

.rhf-thankyou .eyebrow {
  color: #b0a9a4;
}

.rhf-thankyou h1 {
  font-family: "Space Mono", monospace;
  font-size: clamp(42px, 10vw, 84px);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: 1;
  margin: 18px 0 0;
}

.rhf-thankyou__text {
  max-width: 650px;
  color: #d0cac5;
  letter-spacing: -.025em;
  font-size: 14px;
  line-height: 1.75;
  margin-top: 30px;
}

.rhf-thankyou__text p {
  margin: 0 0 16px;
}

.rhf-thankyou .button-row {
  margin-top: 38px;
}

@media (max-width: 767px) {
  .rhf-blef-page .site-shell {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .rhf-mobile-cta {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr);
    gap: 7px;
    padding: 7px 10px max(7px, env(safe-area-inset-bottom));
    background: rgba(11, 10, 9, .96);
    border-top: 1px solid #383330;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .rhf-mobile-cta .button {
    min-height: 42px;
    padding: 8px 9px;
    font-size: 8px;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .rhf-mobile-cta.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rhf-mobile-cta { transition: none; }
}
