.membership-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  background:
    radial-gradient(ellipse at 82% 35%, rgba(119, 96, 249, .15), transparent 40%),
    linear-gradient(180deg, #fbfaff, #fff);
}

.membership-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(35px, 6vw, 75px);
}

.membership-hero-copy h1 {
  max-width: 610px;
  font-size: clamp(42px, 4.7vw, 63px);
}

.membership-hero-copy .lead {
  max-width: 590px;
}

.membership-hero-copy .hero-actions {
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.membership-availability {
  max-width: 560px;
  margin: 0;
  color: #85869a;
  font-size: 10px;
  line-height: 1.7;
}

.membership-hero-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 390px;
  place-items: center;
  isolation: isolate;
}

.membership-orbit {
  position: absolute;
  width: min(94%, 420px);
  aspect-ratio: 1;
  border: 1px solid #e8e4f7;
  border-radius: 50%;
}

.membership-orbit::before,
.membership-orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8577eb;
  content: "";
}

.membership-orbit::before {
  top: 15%;
  left: 20%;
}

.membership-orbit::after {
  right: 12%;
  bottom: 20%;
  background: #b6aaf4;
}

.membership-family-hub {
  z-index: 2;
  display: flex;
  width: 142px;
  height: 142px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #e7e3f7;
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(48, 36, 124, .13);
}

.membership-family-hub img {
  width: 54px;
  height: 36px;
  margin-bottom: 5px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.membership-family-hub strong {
  color: #303047;
  font-family: Manrope, sans-serif;
  font-size: 14px;
}

.membership-family-hub span {
  margin-top: 3px;
  color: #7770c2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}

.membership-community-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 156px;
  grid-template-columns: 35px 1fr;
  align-items: center;
  gap: 2px 9px;
  padding: 11px;
  border: 1px solid #e9e7f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(41, 34, 104, .075);
}

.community-business {
  top: 14px;
  left: 0;
}

.community-learn {
  top: 24px;
  right: 0;
}

.community-tools {
  right: 0;
  bottom: 20px;
}

.community-support {
  bottom: 5px;
  left: 0;
}

.membership-node-icon {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 10px;
  background: #f0eeff;
  color: #5949d0;
  font-size: 17px;
  font-weight: 800;
}

.membership-community-node strong {
  align-self: end;
  color: #44455a;
  font-size: 9px;
}

.membership-community-node small {
  align-self: start;
  color: #9293a4;
  font-size: 7px;
}

.membership-visual-caption {
  position: absolute;
  bottom: -7px;
  color: #85869a;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
}

.membership-benefits {
  background: #fff;
}

.membership-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.membership-benefit {
  min-height: 252px;
  padding: 22px;
  border: 1px solid #e7e6ef;
  border-radius: 14px;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}

.membership-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(23, 23, 76, .07);
}

.membership-benefit-icon {
  display: grid;
  width: 39px;
  height: 39px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 11px;
  background: #f0eeff;
  color: #5949d0;
  font-size: 19px;
  font-weight: 800;
}

.membership-benefit-label {
  display: block;
  margin-bottom: 7px;
  color: #8a8b9d;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .09em;
}

.membership-benefit h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.membership-benefit p {
  min-height: 80px;
  margin-bottom: 10px;
  color: #77798c;
  font-size: 11px;
  line-height: 1.7;
}

.membership-benefit a {
  color: #5141d4;
  font-size: 9px;
  font-weight: 800;
}

.membership-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 15px;
}

.membership-tier {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 23px;
  border: 1px solid #e6e5ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 24, 67, .04);
}

.membership-tier-growth {
  border-color: #cfc8f6;
  box-shadow: 0 15px 38px rgba(73, 54, 233, .1);
}

.membership-tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}

.membership-tier-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 11px;
  background: #f0eeff;
  color: #5949d0;
  font-size: 18px;
  font-weight: 800;
}

.membership-tier-level {
  color: #8a8b9d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: right;
}

.membership-tier h3 {
  margin-bottom: 7px;
  color: #303047;
  font-size: 23px;
}

.membership-tier-summary {
  min-height: 57px;
  margin-bottom: 15px;
  color: #77798c;
  font-size: 11px;
  line-height: 1.65;
}

.membership-tier-price {
  margin: 0 0 12px;
  color: #5141bd;
  font-size: 11px;
  font-weight: 800;
}

.membership-tier > .button {
  width: 100%;
}

.membership-tier-divider {
  height: 1px;
  margin: 20px 0 16px;
  background: #efeff5;
}

.membership-tier-includes {
  margin-bottom: 12px;
  color: #47485c;
  font-size: 10px;
}

.membership-tier ul {
  display: grid;
  gap: 10px;
  margin: 0 0 17px;
  padding: 0;
  list-style: none;
}

.membership-tier li {
  position: relative;
  padding-left: 18px;
  color: #65677b;
  font-size: 10px;
  line-height: 1.55;
}

.membership-tier li::before {
  position: absolute;
  left: 0;
  color: #5545df;
  content: "✓";
  font-weight: 900;
}

.membership-tier-more {
  margin-top: auto;
  color: #5141d4;
  font-size: 9px;
  font-weight: 800;
}

.membership-tier-disclaimer {
  max-width: 860px;
  margin: 19px auto 0;
  color: #85869a;
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

.membership-journey-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(35px, 7vw, 80px);
}

.membership-journey-copy h2 {
  max-width: 540px;
}

.membership-journey-copy .lead {
  font-size: 15px;
}

.membership-journey {
  display: grid;
  gap: 11px;
}

.membership-journey-step {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid #e7e6ef;
  border-radius: 12px;
  background: #fff;
}

.membership-journey-step > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 10px;
  background: #f0eeff;
  color: #5846d9;
  font-size: 10px;
  font-weight: 800;
}

.membership-journey-step > div {
  display: grid;
  gap: 5px;
}

.membership-journey-step strong {
  color: #3e3f54;
  font-size: 11px;
}

.membership-journey-step small {
  color: #85869a;
  font-size: 9px;
  line-height: 1.6;
}

.membership-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(110deg, #3d2bcf, #7858f7);
  color: #fff;
}

.membership-callout .eyebrow {
  border-color: #ffffff3d;
  background: #ffffff16;
  color: #fff;
}

.membership-callout .eyebrow::before {
  background: #d4cdff;
}

.membership-callout h2 {
  max-width: 610px;
  margin: 16px 0 10px;
  font-size: clamp(27px, 3.2vw, 38px);
}

.membership-callout p {
  max-width: 660px;
  margin: 0;
  color: #e0dbff;
  font-size: 12px;
  line-height: 1.7;
}

.membership-callout .button {
  flex: 0 0 auto;
  z-index: 1;
}

@media (max-width: 900px) {
  .membership-hero-grid,
  .membership-journey-layout {
    grid-template-columns: 1fr;
  }

  .membership-hero-copy {
    max-width: 700px;
  }

  .membership-hero-visual {
    width: 100%;
    max-width: 550px;
    margin: -5px auto 0;
  }

  .membership-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-tier-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .membership-tier-summary {
    min-height: 0;
  }

  .membership-journey-copy {
    max-width: 650px;
  }

  .membership-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .membership-hero {
    padding: 58px 0 52px;
  }

  .membership-hero-copy h1 {
    font-size: clamp(39px, 10vw, 52px);
  }

  .membership-hero-visual {
    min-height: 335px;
  }

  .membership-community-node {
    width: 140px;
    padding: 9px;
  }

  .membership-family-hub {
    width: 122px;
    height: 122px;
  }

  .membership-benefit-grid {
    grid-template-columns: 1fr;
  }

  .membership-tier {
    padding: 20px;
  }

  .membership-benefit {
    min-height: 0;
  }

  .membership-benefit p {
    min-height: 0;
  }

  .membership-callout {
    padding: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .membership-benefit {
    transition: none;
  }
}
