/* ============ THE LADDER ============ */
.levels {
  padding:       90px 0;
  background:    var(--ink-2);
  border-top:    1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.levels__header {
  text-align: center;
  max-width:  62ch;
  margin:     0 auto 12px;
}

.levels__header h2 {
  margin-top:   16px;
  max-width:    18ch;
  margin-left:  auto;
  margin-right: auto;
}

.levels__header p {
  margin-top: 14px;
}

.levels__ladder-wrap {
  margin-top:            46px;
  display:               grid;
  grid-template-columns: 1.15fr .85fr;
  gap:                   40px;
  align-items:           end;
}

.ladder {
  position: relative;
}

.ladder__axis {
  font-family:     var(--font-mono);
  font-size:       11px;
  color:           var(--muted);
  letter-spacing:  .1em;
  text-transform:  uppercase;
  margin-bottom:   30px;
  display:         flex;
  justify-content: space-between;
}

.ladder__bars {
  display:     flex;
  align-items: flex-end;
  gap:         7px;
  height:      300px;
}

.ladder__bar {
  flex:          1;
  background:    var(--surface);
  border:        1px solid var(--line);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  cursor:        pointer;
  position:      relative;
  transition:
    background   .2s,
    border-color .2s,
    transform    .15s,
    height       .85s cubic-bezier(.16,1,.3,1);
  display:         flex;
  align-items:     flex-start;
  justify-content: center;
  padding-top:     9px;
}

.ladder__bars:not(.is-grown) .ladder__bar {
  height: 0 !important;
}

.ladder__bars:not(.is-grown) .ladder__bar-number {
  opacity: 0;
}

.ladder__bar-number {
  font-family:  var(--font-mono);
  font-size:    13px;
  color:        var(--muted);
  font-weight:  700;
  transition:
    color   .2s,
    opacity .3s;
}

.ladder__bar-badge {
  position:      absolute;
  bottom:        calc(100% + 7px);
  left:          50%;
  transform:     translateX(-50%) translateY(5px);
  font-family:   var(--font-mono);
  font-size:     11px;
  font-weight:   700;
  white-space:   nowrap;
  color:         var(--text);
  background:    var(--surface-2);
  border:        1px solid var(--line-strong);
  padding:       4px 9px;
  border-radius: 7px;
  opacity:       0;
  pointer-events: none;
  z-index:       30;
  box-shadow:    0 8px 22px rgba(0,0,0,.4);
  transition:
    opacity   .2s ease,
    transform .2s ease;
}

.ladder__bar:hover .ladder__bar-badge,
.ladder__bar.is-active .ladder__bar-badge {
  opacity:   1;
  transform: translateX(-50%) translateY(0);
}

.ladder__bar:hover {
  background: var(--surface-2);
  transform:  translateY(-3px);
  z-index:    20;
}

.ladder__bar.is-active {
  background:   linear-gradient(180deg, var(--gold), var(--gold-deep));
  border-color: var(--gold);
  z-index:      20;
}

.ladder__bar.is-active .ladder__bar-number {
  color: #fff;
}

.ladder__bar.is-active .ladder__bar-badge {
  background:   var(--gold);
  border-color: var(--gold);
  color:        #fff;
}

.ladder__caption {
  font-family:    var(--font-mono);
  font-size:      11px;
  color:          var(--gold);
  text-align:     center;
  margin-top:     14px;
  letter-spacing: .12em;
}

/* ============ LEVEL CARD ============ */
.level-card {
  background:    var(--surface);
  color:         var(--text);
  border:        1px solid var(--line);
  border-radius: var(--radius);
  padding:       30px;
  min-height:    300px;
}

/* smooth fade/slide each time a new level is selected on the ladder */
@media (prefers-reduced-motion: no-preference) {
  .level-card.is-switching {
    animation: levelCardIn .38s cubic-bezier(.2,.7,.2,1);
  }
}
@keyframes levelCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.level-card__top {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
}

.level-card__number {
  font-family:    var(--font-mono);
  font-size:      12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color:          var(--gold);
}

.level-card__band {
  font-family:   var(--font-mono);
  font-size:     13px;
  color:         var(--text);
  background:    var(--surface-2);
  border:        1px solid var(--line);
  padding:       5px 11px;
  border-radius: 7px;
}

.level-card h3 {
  margin: 18px 0 0;
}

.level-card__description {
  margin-top: 12px;
  font-size:  .97rem;
}

.level-card__challenges-label {
  font-family:    var(--font-mono);
  font-size:      11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color:          var(--muted);
  margin-top:     22px;
}

.level-card__challenges {
  display:   flex;
  flex-wrap: wrap;
  gap:       8px;
  margin-top: 12px;
}

.level-card__challenges span {
  font-size:     12.5px;
  color:         var(--text);
  border:        1px solid var(--line);
  border-radius: 999px;
  padding:       6px 12px;
  background:    var(--ink-2);
}

.level-card .btn {
  margin-top: 24px;
}

/* ============ GUEST CTA ============ */
.guest {
  padding: clamp(48px, 7vw, 88px) 0 90px;
}

.guest__box {
  border:        1px solid var(--line);
  border-radius: 24px;
  overflow:      hidden;
  background:
    linear-gradient(150deg, rgba(139,92,246,.10), transparent 55%),
    var(--surface);
  display:               grid;
  grid-template-columns: 1.1fr .9fr;
}

.guest__left {
  padding: 54px;
}

.guest__left h2 {
  margin-top: 16px;
  font-size:  clamp(1.8rem, 3.6vw, 2.6rem);
}

.guest__left p {
  margin-top: 16px;
}

.guest__left .btn {
  margin-top: 28px;
}

.guest__right {
  border-left:    1px solid var(--line);
  padding:        54px;
  display:        grid;
  gap:            18px;
  align-content:  center;
}

.guest-step {
  display:     flex;
  gap:         16px;
  align-items: flex-start;
}

.guest-step__number {
  font-family:   var(--font-mono);
  font-weight:   700;
  color:         var(--gold);
  font-size:     13px;
  width:         30px;
  height:        30px;
  border:        1px solid var(--gold);
  border-radius: 8px;
  display:       grid;
  place-items:   center;
  flex:          none;
}

.guest-step__title {
  font-family:  var(--font-display);
  font-weight:  700;
  color:        var(--text);
  font-size:    1.02rem;
}

.guest-step__description {
  font-size:  .9rem;
  margin-top: 3px;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding:       90px 0;
  background:    var(--ink-2);
  border-top:    1px solid var(--line);
}

.testimonials__header {
  text-align:   center;
  margin-bottom: 46px;
}

.testimonials__header h2 {
  margin-top: 14px;
}

.testimonials__grid {
  columns:    3;
  column-gap: 18px;
}

.testimonial {
  break-inside:  avoid;
  background:    var(--surface);
  border:        1px solid var(--line);
  border-radius: var(--radius);
  padding:       26px;
  margin-bottom: 18px;
}

.testimonial__stars {
  color:          var(--gold);
  font-size:      14px;
  letter-spacing: 2px;
  margin-bottom:  14px;
}

.testimonial p {
  color:       var(--text);
  font-size:   .98rem;
  line-height: 1.6;
}

.testimonial__author {
  display:     flex;
  align-items: center;
  gap:         12px;
  margin-top:  18px;
}

.testimonial__avatar {
  width:         40px;
  height:        40px;
  border-radius: 50%;
  display:       grid;
  place-items:   center;
  font-family:   var(--font-mono);
  font-weight:   700;
  font-size:     14px;
  color:         #fff;
  background:    linear-gradient(140deg, var(--gold), var(--gold-deep));
  flex:          none;
}

.testimonial__author-name {
  font-weight:  600;
  color:        var(--text);
  font-size:    .92rem;
  font-family:  var(--font-display);
}

.testimonial__author-role {
  font-size:   .8rem;
  color:       var(--muted);
  font-family: var(--font-mono);
}

/* ============ SPONSOR TESTIMONIAL ============ */
.sponsor-testimonial {
  display:       grid;
  grid-template-columns: 1fr 1.2fr;
  gap:           40px;
  align-items:   center;
  background:    var(--surface);
  border:        1px solid var(--line);
  border-radius: var(--radius);
  padding:       36px;
  margin:        56px 0;
}

.sponsor-testimonial__visual img {
  width:         100%;
  border-radius: calc(var(--radius) - 6px);
  display:       block;
}

.sponsor-testimonial__logo {
  height:     32px;
  width:      auto;
  max-width:  160px;
  object-fit: contain;
  margin-bottom: 20px;
}

.sponsor-testimonial__quote p {
  color:       var(--text);
  font-size:   1.02rem;
  line-height: 1.6;
  margin:      0 0 14px;
}

.sponsor-testimonial__quote p:last-child {
  margin-bottom: 0;
}

.sponsor-testimonial__author {
  margin-top: 20px;
}

.sponsor-testimonial__author-name {
  font-weight: 600;
  color:       var(--text);
  font-size:   .95rem;
  font-family: var(--font-display);
}

.sponsor-testimonial__author-role {
  font-size:   .82rem;
  color:       var(--muted);
  font-family: var(--font-mono);
}

@media (max-width: 800px) {
  .sponsor-testimonial {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ============ FOUNDER QUOTE ============ */
.founder {
  padding:  96px 0;
  position: relative;
  overflow: hidden;
}

.founder::before {
  content:    "";
  position:   absolute;
  inset:      0;
  z-index:    -1;
  background: radial-gradient(620px 320px at 50% 0, var(--glow), transparent 70%);
}

.founder__inner {
  max-width:  880px;
  margin:     0 auto;
  text-align: center;
}

.founder blockquote {
  font-family:    var(--font-display);
  font-weight:    700;
  font-size:      clamp(1.5rem, 3.4vw, 2.4rem);
  line-height:    1.3;
  letter-spacing: -.01em;
  margin:         0 auto;
  max-width:      26ch;
}

.founder__quote-mark {
  color:       var(--gold);
  font-weight: 800;
}

.founder blockquote em {
  font-style: normal;
  color:      var(--gold);
}

.founder__byline {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             14px;
  margin-top:      34px;
}

.founder__byline-avatar {
  width:         50px;
  height:        50px;
  border-radius: 50%;
  display:       grid;
  place-items:   center;
  font-family:   var(--font-display);
  font-weight:   800;
  font-size:     1.1rem;
  color:         #fff;
  background:    linear-gradient(140deg, var(--gold), var(--gold-deep));
  flex:          none;
}

.founder__byline-info {
  text-align: left;
}

.founder__byline-name {
  font-family:  var(--font-display);
  font-weight:  700;
  color:        var(--text);
}

.founder__byline-title {
  font-family: var(--font-mono);
  font-size:   12px;
  color:       var(--muted);
  margin-top:  2px;
}

/* ============ MEMBERSHIP TIERS ============ */
.members {
  padding: 90px 0;
}

.members__header {
  text-align: center;
  max-width:  60ch;
  margin:     0 auto 18px;
}

.members__header h2 {
  margin-top: 14px;
}

.members__header p {
  margin-top: 14px;
}

.members__billing-note {
  text-align:     center;
  font-family:    var(--font-mono);
  font-size:      11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color:          var(--muted);
  margin-bottom:  40px;
}

.tiers {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   16px;
  align-items:           start;
}

.tier {
  border:        1px solid var(--line);
  border-radius: 20px;
  background:    var(--surface);
  color:         var(--text);
  padding:       28px 24px;
  display:       flex;
  flex-direction: column;
  position:      relative;
  transition:
    border-color .25s,
    transform    .25s;
  cursor: pointer;
}

.tier:hover {
  transform:    translateY(-4px);
  border-color: var(--line-strong);
}

.tier--popular {
  border-color: rgba(139,92,246,.55);
  background:
    linear-gradient(180deg, rgba(139,92,246,.10), transparent 40%),
    var(--surface);
}

.tier__badge {
  position:       absolute;
  top:            -11px;
  left:           50%;
  transform:      translateX(-50%);
  font-family:    var(--font-mono);
  font-size:      10px;
  font-weight:    700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color:          #fff;
  background:     linear-gradient(120deg, var(--gold), var(--gold-deep));
  padding:        5px 12px;
  border-radius:  999px;
  white-space:    nowrap;
}

.tier__name {
  font-family:    var(--font-display);
  font-weight:    800;
  font-size:      1.3rem;
}

.tier__price {
  font-family:  var(--font-display);
  font-weight:  800;
  font-size:    2.1rem;
  margin-top:   18px;
  line-height:  1;
}

.tier__price-period {
  font-size:   .85rem;
  color:       var(--muted);
  font-family: var(--font-mono);
  font-weight: 400;
}

.tier__monthly-price {
  font-family: var(--font-mono);
  font-size:   11.5px;
  color:       var(--gold);
  margin-top:  8px;
  min-height:  18px;
}

.tier__badge--sale {
  background: linear-gradient(120deg, #ef4444, #b91c1c);
}

.tier__price-was {
  color:           var(--muted);
  text-decoration: line-through;
}

.tier--popular .tier__monthly-price {
  color: var(--gold);
}

.tier__revenue-band {
  display:        inline-block;
  font-family:    var(--font-mono);
  font-size:      12px;
  font-weight:    700;
  letter-spacing: .02em;
  color:          var(--gold);
  background:     var(--surface-2);
  border:         1px solid var(--line);
  padding:        5px 11px;
  border-radius:  8px;
  margin-top:     14px;
  transition:     .2s;
}

.tier.is-selected {
  border-color: var(--gold);
  box-shadow:   0 0 0 1px var(--gold), 0 22px 55px -22px var(--glow);
  transform:    translateY(-4px);
}

.tier.is-selected .tier__revenue-band {
  background:   var(--gold);
  color:        #fff;
  border-color: var(--gold);
}

.tier__section-label {
  font-family:    var(--font-mono);
  font-size:      10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color:          var(--muted);
  margin-top:     16px;
}

.tier__section-label--top {
  margin-top:    20px;
  padding-top:   18px;
  border-top:    1px solid var(--line);
}

.tier__features {
  list-style: none;
  display:    grid;
  gap:        11px;
  margin:     9px 0 0;
  padding:    0;
}

.tier__features li {
  display:     flex;
  gap:         10px;
  align-items: flex-start;
  font-size:   .88rem;
  color:       var(--text);
}

.tier__features li svg {
  flex:       none;
  width:      17px;
  height:     17px;
  margin-top: 3px;
}

.tier .btn {
  width:           100%;
  justify-content: center;
  margin-top:      24px;
  padding:         14px;
}

.members__note {
  text-align:  center;
  font-family: var(--font-mono);
  font-size:   11.5px;
  color:       var(--muted);
  margin-top:  30px;
}

/* ============ FAQ ============ */
.faq {
  padding:       90px 0;
  background:    var(--ink-2);
  border-top:    1px solid var(--line);
}

.faq__header {
  text-align:    center;
  margin-bottom: 42px;
}

.faq__header h2 {
  margin-top: 14px;
}

.faq__list {
  max-width:  760px;
  margin:     0 auto;
  display:    grid;
  gap:        12px;
}

.faq__item {
  border:        1px solid var(--line);
  border-radius: var(--radius-small);
  background:    var(--surface);
  overflow:      hidden;
}

.faq__item button {
  width:       100%;
  display:     flex;
  justify-content: space-between;
  align-items: center;
  gap:         18px;
  padding:     22px 24px;
  background:  none;
  border:      0;
  color:       var(--text);
  cursor:      pointer;
  text-align:  left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size:   1.05rem;
}

.faq__item-icon {
  flex:          none;
  width:         26px;
  height:        26px;
  border:        1px solid var(--line-strong);
  border-radius: 50%;
  display:       grid;
  place-items:   center;
  position:      relative;
  transition:    .25s;
}

.faq__item-icon::before,
.faq__item-icon::after {
  content:    "";
  position:   absolute;
  background: var(--gold);
  transition: .25s;
}

.faq__item-icon::before {
  width:  11px;
  height: 2px;
}

.faq__item-icon::after {
  width:  2px;
  height: 11px;
}

.faq__item.is-open .faq__item-icon {
  background:   var(--gold);
  border-color: var(--gold);
}

.faq__item.is-open .faq__item-icon::before,
.faq__item.is-open .faq__item-icon::after {
  background: #fff;
}

.faq__item.is-open .faq__item-icon::after {
  transform: scaleY(0);
}

.faq__item-answer {
  max-height: 0;
  overflow:   hidden;
  transition: max-height .35s ease;
}

.faq__item-answer p {
  padding:   0 24px 24px;
  font-size: .97rem;
}

/* ============ EXIT POPUP ============ */
.exit-overlay {
  position:        fixed;
  inset:           0;
  z-index:         200;
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         24px;
  background:      rgba(5,4,12,.72);
  backdrop-filter: blur(8px);
  opacity:         0;
  visibility:      hidden;
  transition:
    opacity    .3s ease,
    visibility .3s;
}

.exit-overlay.is-visible {
  opacity:    1;
  visibility: visible;
}

.exit-overlay__box {
  position:      relative;
  max-width:     480px;
  width:         100%;
  border-radius: 22px;
  padding:       46px 40px;
  text-align:    center;
  border:        1px solid var(--line-strong);
  background:
    linear-gradient(165deg, rgba(139,92,246,.12), transparent 45%),
    var(--surface);
  transform:  translateY(16px) scale(.97);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}

.exit-overlay.is-visible .exit-overlay__box {
  transform: none;
}

.exit-overlay__close {
  position:      absolute;
  top:           16px;
  right:         16px;
  width:         34px;
  height:        34px;
  border:        1px solid var(--line);
  border-radius: 9px;
  background:    none;
  color:         var(--muted);
  cursor:        pointer;
  font-size:     18px;
  line-height:   1;
  transition:    .2s;
}

.exit-overlay__close:hover {
  border-color: var(--gold);
  color:        var(--gold);
}

.exit-overlay__kicker {
  font-family:    var(--font-mono);
  font-size:      11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color:          var(--gold);
}

.exit-overlay__box h3 {
  font-family:    var(--font-display);
  font-weight:    800;
  font-size:      clamp(2rem, 6vw, 2.6rem);
  margin-top:     14px;
  letter-spacing: -.02em;
}

.exit-overlay__box p {
  margin-top: 14px;
  font-size:  1rem;
}

.exit-overlay__cta {
  display:        flex;
  flex-direction: column;
  gap:            12px;
  margin-top:     28px;
}

.exit-overlay__box .btn {
  width:           100%;
  justify-content: center;
}

.exit-overlay__dismiss {
  background:     none;
  border:         0;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      12px;
  letter-spacing: .06em;
  cursor:         pointer;
  padding:        6px;
}

.exit-overlay__dismiss:hover {
  color: var(--text);
}

/* ============ VALUE / WHY ============ */
.why {
  padding: 90px 0;
}

.why-head {
  max-width: 60ch;
}

.why-head h2 {
  margin-top: 16px;
}

.why-head p {
  margin-top: 14px;
}

.cards {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   18px;
  margin-top:            46px;
}

.card {
  background:    var(--surface);
  border:        1px solid var(--line);
  border-radius: var(--radius);
  padding:       30px;
  transition:
    border-color .25s,
    transform    .25s;
}

.card:hover {
  border-color: var(--line-strong);
  transform:    translateY(-4px);
}

.card__icon {
  width:         46px;
  height:        46px;
  border-radius: 12px;
  display:       grid;
  place-items:   center;
  background:    rgba(139,92,246,.12);
  border:        1px solid rgba(139,92,246,.25);
  margin-bottom: 20px;
}

.card__icon svg {
  width:  22px;
  height: 22px;
  stroke: var(--gold);
}

.card__number {
  font-family: var(--font-mono);
  font-size:   12px;
  color:       var(--muted);
  float:       right;
}

.card h3 {
  margin-bottom: 10px;
  font-size:     1.25rem;
}

.card p {
  font-size: .95rem;
}

.card__link {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  margin-top:     20px;
  font-family:    var(--font-mono);
  font-size:      12px;
  font-weight:    700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color:          var(--gold);
}

.card__link svg {
  width:      14px;
  height:     14px;
  transition: transform .2s;
}

.card:hover .card__link svg {
  transform: translateX(4px);
}

.card--featured {
  border-color: rgba(139,92,246,.45);
  background:
    linear-gradient(165deg, rgba(139,92,246,.10), transparent 55%),
    var(--surface);
}

.card--featured .card__icon {
  background:   rgba(139,92,246,.16);
  border-color: rgba(139,92,246,.4);
}

.card--featured .card__icon svg {
  stroke: var(--gold);
}

.card--featured .card__link {
  color: var(--gold);
}
