.thank-you-page {
  --role-accent: #f047a4;
  min-height: 100vh;
  background: #0d0a10;
}

.thank-you-page[data-role="parent"] { --role-accent: #f047a4; }
.thank-you-page[data-role="sponsor"] { --role-accent: #b97817; }
.thank-you-page[data-role="mentor"] { --role-accent: #9b65ff; }
.thank-you-page[data-role="mentee"] { --role-accent: #6c2858; }

.thanks-header {
  border-bottom: 1px solid rgba(247, 234, 213, 0.12);
  background: #0d0a10;
}

.thanks-main {
  min-height: calc(100vh - 156px);
  padding: clamp(132px, 13vw, 184px) 0 clamp(64px, 8vw, 104px);
  background: var(--paper);
}

.thanks-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.78fr);
  gap: clamp(64px, 9vw, 132px);
  align-items: center;
  width: min(calc(100% - clamp(36px, 8vw, 112px)), 1240px);
  margin-inline: auto;
}

.thanks-message {
  max-width: 660px;
}

.thanks-status {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.thanks-confirmation {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border: 1px solid var(--role-accent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--role-accent), white 92%);
}

.thanks-confirmation span {
  width: 19px;
  height: 10px;
  border-bottom: 2px solid var(--role-accent);
  border-left: 2px solid var(--role-accent);
  transform: translateY(-2px) rotate(-45deg);
}

.thanks-kicker,
.thanks-next-label {
  margin: 0 0 14px;
  color: var(--role-accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thanks-status .thanks-kicker {
  margin: 0;
}

.thanks-message h1 {
  max-width: 660px;
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(3.45rem, 4.5vw, 4.8rem);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.thanks-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(9, 7, 13, 0.76);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.thanks-role {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 25px;
  border-left: 3px solid var(--role-accent);
  padding: 8px 12px;
  background: #fff;
  font-size: 0.71rem;
}

.thanks-role span { color: rgba(9, 7, 13, 0.47); }
.thanks-role strong { color: var(--role-accent); }

.thanks-role-copy {
  max-width: 610px;
  margin: 13px 0 0;
  color: rgba(9, 7, 13, 0.54);
  font-size: 0.79rem;
  line-height: 1.65;
}

.thanks-actions {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 29px;
}

.thanks-primary,
.thanks-secondary {
  display: inline-flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  min-height: 55px;
  padding: 13px 18px;
  font-size: 0.75rem;
  font-weight: 900;
  text-decoration: none;
}

.thanks-primary { min-width: 200px; background: var(--ink); color: var(--cream); }
.thanks-secondary { border-bottom: 1px solid rgba(9, 7, 13, 0.38); color: var(--ink); }
.thanks-primary:hover,
.thanks-primary:focus-visible { background: var(--role-accent); }
.thanks-secondary:hover,
.thanks-secondary:focus-visible { border-color: var(--role-accent); color: var(--role-accent); }

.thanks-next {
  border: 1px solid rgba(9, 7, 13, 0.1);
  border-top: 4px solid var(--role-accent);
  padding: clamp(30px, 4vw, 46px);
  background: #fffaf3;
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(67, 48, 31, 0.1);
}

.thanks-next h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.thanks-next ol { margin: 34px 0 0; padding: 0; list-style: none; }
.thanks-next li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; border-top: 1px solid rgba(9, 7, 13, 0.11); padding: 20px 0; }
.thanks-next li > span { color: var(--role-accent); font-size: 0.68rem; font-weight: 900; }
.thanks-next li strong { font-size: 0.85rem; }
.thanks-next li p { margin: 5px 0 0; color: rgba(9, 7, 13, 0.58); font-size: 0.7rem; line-height: 1.55; }
.thanks-contact { margin: 18px 0 0; color: rgba(9, 7, 13, 0.55); font-size: 0.68rem; }
.thanks-contact a { color: var(--role-accent); font-weight: 800; }

.thanks-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  min-height: 86px;
  padding: 20px clamp(24px, 5vw, 72px);
  background: #0d0a10;
  color: rgba(247, 234, 213, 0.54);
  font-size: 0.68rem;
}

.thanks-footer span:first-child { color: var(--cream); font-weight: 900; }

@media (max-width: 840px) {
  .thanks-shell { grid-template-columns: 1fr; gap: 54px; }
  .thanks-message h1 { font-size: clamp(3.4rem, 10vw, 4.8rem); }
}

@media (max-width: 560px) {
  .thank-you-page .header-cta {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .thanks-main { padding-top: 118px; }
  .thanks-actions { align-items: stretch; flex-direction: column; }
  .thanks-primary,
  .thanks-secondary { width: 100%; }
  .thanks-footer { align-items: flex-start; flex-direction: column; }
}
