.memberships-hero {
  min-height: 590px;
}

.membership-jump-bar {
  position: sticky;
  z-index: 80;
  top: 76px;
  color: var(--white);
  background: rgba(9, 9, 9, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
}

.membership-jump-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.membership-jump-links a {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}

.membership-jump-links a:first-child {
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.membership-jump-links a:hover,
.membership-jump-links a:focus-visible {
  color: var(--black);
  background: var(--yellow);
}

.membership-details {
  padding: 110px 0;
  background: var(--paper);
}

.membership-details-intro {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 58px;
}

.membership-details-intro h2,
.testing-rhythm h2,
.comparison-section h2,
.credits-section h2 {
  margin: 0;
  font: 900 clamp(3.4rem, 5.8vw, 6.2rem)/.9 var(--display);
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.membership-details-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.tier-stack {
  display: grid;
  gap: 22px;
}

.tier-detail {
  scroll-margin-top: 160px;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .045);
}

.tier-detail-featured {
  border-color: #b99e00;
  box-shadow: 0 18px 65px rgba(178, 151, 0, .12);
}

.tier-summary {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(244, 210, 10, .08), transparent 55%),
    var(--black);
}

.tier-summary > span:first-child {
  color: var(--yellow);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.tier-summary h3 {
  margin: 62px 0 14px;
  font: 900 clamp(3rem, 5vw, 5rem)/.84 var(--display);
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.tier-price {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: auto;
}

.tier-price strong {
  color: var(--yellow);
  font: 900 clamp(3.6rem, 5.5vw, 5.7rem)/.78 var(--display);
  letter-spacing: -.045em;
}

.tier-price span {
  padding-bottom: 5px;
  color: rgba(255, 255, 255, .48);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .11em;
}

.tier-best-for {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: .78rem;
}

.tier-content {
  padding: 34px;
}

.tier-content > p {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.tier-content h4 {
  margin: 30px 0 14px;
  font: 900 1.25rem/1 var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tier-content ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier-content li {
  position: relative;
  padding-left: 20px;
  color: #404044;
  font-size: .84rem;
}

.tier-content li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: #9b8500;
  font-weight: 900;
}

.tier-content a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: .75rem 1.2rem;
  border: 1px solid var(--black);
  border-radius: 999px;
  color: var(--white);
  background: var(--black);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .09em;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.tier-content a:hover,
.tier-content a:focus-visible {
  transform: translateY(-2px);
  color: var(--black);
  background: var(--yellow);
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .75rem;
}

.tier-content a.tier-testing-link { margin-left: 8px; color: var(--ink); background: transparent; }
.tier-content a.tier-testing-link:hover, .tier-content a.tier-testing-link:focus-visible { background: var(--yellow); }
@media (max-width: 700px) {
  .tier-content a.tier-testing-link { margin: 12px 0 0; }
}

.testing-rhythm {
  padding: 112px 0;
  color: var(--white);
  background: var(--black);
}

.testing-rhythm-header {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 48px;
}

.testing-rhythm-header > p {
  margin: 0;
  color: rgba(255, 255, 255, .55);
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .17);
  border-left: 1px solid rgba(255, 255, 255, .17);
}

.rhythm-grid article {
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, .17);
  border-bottom: 1px solid rgba(255, 255, 255, .17);
}

.rhythm-grid article:first-child {
  background: rgba(244, 210, 10, .07);
}

.rhythm-grid span {
  color: var(--yellow);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.rhythm-grid h3 {
  margin: 92px 0 14px;
  font: 900 2rem/.92 var(--display);
  text-transform: uppercase;
}

.rhythm-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .53);
  font-size: .86rem;
}

.rhythm-repeat {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .42);
  font-size: .75rem;
  text-align: right;
}

.comparison-section {
  padding: 112px 0;
  background: var(--white);
}

.comparison-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.comparison-heading > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.comparison-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  font-size: .79rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.comparison-table tr:last-child td,
.comparison-table tr:last-child th {
  border-bottom: 0;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.comparison-table thead th {
  color: var(--white);
  background: var(--black);
  font: 900 .82rem/1 var(--display);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table tbody th {
  color: #424247;
  background: #f7f7f3;
  text-align: left;
  font-weight: 800;
}

.comparison-table .included {
  color: #786700;
  font-weight: 900;
}

.credits-section {
  padding: 112px 0;
  background: var(--yellow);
}

.credits-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 8vw;
  align-items: center;
}

.credits-copy > p:not(.section-kicker) {
  max-width: 690px;
  margin: 23px 0 0;
  color: rgba(0, 0, 0, .68);
}

.credit-options {
  border-top: 1px solid rgba(0, 0, 0, .35);
}

.credit-options div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .35);
}

.credit-options span {
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.credit-options strong {
  display: block;
  font: 900 1.25rem/1 var(--display);
  text-transform: uppercase;
}

.credit-options p {
  margin: 7px 0 0;
  color: rgba(0, 0, 0, .62);
  font-size: .78rem;
}

@media (max-width: 1050px) {
  .membership-details-intro,
  .testing-rhythm-header,
  .credits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tier-detail {
    grid-template-columns: 1fr;
  }

  .tier-summary {
    min-height: 340px;
  }
}

@media (max-width: 700px) {
  .memberships-hero { min-height: 570px; }
  .membership-jump-bar { position: static; }
  .membership-jump-links { width: 100%; grid-template-columns: 1fr 1fr; }
  .membership-jump-links a { min-height: 58px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .membership-details,
  .testing-rhythm,
  .comparison-section,
  .credits-section { padding: 82px 0; }
  .membership-details-intro h2,
  .testing-rhythm h2,
  .comparison-section h2,
  .credits-section h2 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .tier-detail { scroll-margin-top: 78px; border-radius: 15px; }
  .tier-summary { min-height: 320px; padding: 24px; }
  .tier-content { padding: 25px 22px; }
  .tier-content ul { grid-template-columns: 1fr; }
  .rhythm-grid { grid-template-columns: 1fr; }
  .rhythm-grid article { min-height: 260px; }
  .rhythm-grid h3 { margin-top: 62px; }
  .rhythm-repeat { text-align: left; }
}
