body[data-helper-page] {
  min-height: 100vh;
  background: #241716;
  color: #f5f0e9;
  font-family: "Unbounded", sans-serif;
}

body[data-helper-page] .discovery-header {
  background: #361c1b;
}

body[data-helper-page] main {
  width: min(100% - 48px, 1160px);
  margin: 168px auto 112px;
  color: #f5f0e9;
}

body[data-helper-page] main p,
body[data-helper-page] main h1,
body[data-helper-page] main h2 {
  margin-top: 0;
}

.success-hero {
  display: grid;
  min-height: 540px;
  place-items: center;
  padding: clamp(32px, 7vw, 88px);
  border: 1px solid rgba(250, 232, 216, 0.15);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 101, 68, 0.17), transparent 56%),
    linear-gradient(145deg, #402321 0%, #311c1a 58%, #291817 100%);
  text-align: center;
}

.success-panel {
  width: min(100%, 760px);
  margin-inline: auto;
}

.success-symbol {
  width: 76px;
  height: 76px;
  margin: 0 auto 26px;
  border: 1px solid rgba(255, 101, 68, 0.68);
  border-radius: 50%;
  background: #512720;
  color: #ff8063;
  font-size: 38px;
  line-height: 1;
}

.success-checkmark {
  transform: translateY(-2px);
}

.success-eyebrow {
  margin-bottom: 16px;
  color: #ff8063;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.success-hero h1 {
  max-width: 760px;
  margin: 0 auto 20px;
  color: #f4eee2;
  font-size: clamp(34px, 5.5vw, 66px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: balance;
}

.success-intro {
  max-width: 620px;
  margin: 0 auto 16px;
  color: #f1e5dc;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
}

.success-note {
  max-width: 580px;
  margin: 0 auto 30px;
  color: #cbbab0;
  font-size: 13px;
  line-height: 1.7;
}

.success-action,
.success-secondary-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid #ff8063;
  border-radius: 8px;
  background-color: #ff8063;
  color: #281614;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.success-action:hover,
.success-secondary-action:hover {
  border-color: #ff9a81;
  background-color: #ff9a81;
  transform: translateY(-2px);
}

.success-action:focus-visible,
.success-secondary-action:focus-visible {
  outline: 3px solid #f7dfce;
  outline-offset: 4px;
}

.success-reference {
  align-self: end;
  margin: 46px 0 0;
  color: #aa9690;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.success-reference span {
  padding-inline: 7px;
  color: #ff8063;
}

.success-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 26px;
  padding: 32px clamp(24px, 5vw, 58px);
  border: 1px solid rgba(250, 232, 216, 0.1);
  border-radius: 20px;
  background: #301c1a;
}

.success-next-copy {
  max-width: 660px;
}

.success-next .success-eyebrow {
  margin-bottom: 10px;
}

.success-next h2 {
  margin-bottom: 10px;
  color: #f4eee2;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.success-next-copy > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: #cbbab0;
  font-size: 14px;
  line-height: 1.7;
}

.success-secondary-action {
  flex: 0 0 auto;
  background-color: #f2d5c5;
  border-color: #f2d5c5;
}

.success-secondary-action:hover {
  background-color: #ffe1d2;
  border-color: #ffe1d2;
}

.success-noscript-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 900px) {
  body[data-helper-page] main {
    width: min(100% - 40px, 760px);
    margin-top: 156px;
    margin-bottom: 80px;
  }

  .success-hero {
    min-height: 500px;
    padding: 56px 38px;
  }

  .success-next {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  body[data-helper-page] main {
    width: calc(100% - 32px);
    margin-top: 24px;
    margin-bottom: 56px;
  }

  body[data-helper-page] .discovery-header {
    position: relative;
    inset: auto;
    min-height: 0;
    padding: 12px 16px;
    background: #361c1b;
  }

  .success-hero {
    min-height: 0;
    padding: 42px 22px 30px;
    border-radius: 20px;
  }

  .success-symbol {
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    font-size: 32px;
  }

  .success-hero h1 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .success-intro {
    font-size: 15px;
  }

  .success-note {
    font-size: 12px;
  }

  .success-action,
  .success-secondary-action {
    width: 100%;
    min-height: 52px;
    padding: 15px 18px;
  }

  .success-reference {
    margin-top: 36px;
    font-size: 9px;
  }

  .success-next {
    gap: 22px;
    margin-top: 16px;
    padding: 25px 22px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .success-action,
  .success-secondary-action {
    transition: none;
  }
}
