.how-shell {
  position: relative;
}

.how-home-link {
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  transition: color 160ms ease;
}

.how-home-link:hover,
.how-home-link:focus-visible {
  color: var(--text);
}

.how-main {
  padding-bottom: 20px;
}

.how-hero {
  max-width: 1120px;
  padding: 120px 0 130px;
}

.how-kicker {
  margin: 0 0 28px;
  color: #7fb9ff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.how-hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(64px, 6.3vw, 108px);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-wrap: balance;
}

.how-lede {
  max-width: 900px;
  margin: 42px 0 0;
  color: #d9deea;
  font-size: clamp(21px, 1.65vw, 28px);
  font-weight: 650;
  line-height: 1.6;
  text-wrap: pretty;
}

.how-steps {
  padding: 120px 0 140px;
  border-top: 1px solid var(--line);
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.how-step {
  position: relative;
  min-height: 430px;
  padding: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(17, 27, 42, 0.92), #080d15);
}

.how-step::after {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(75, 113, 255, 0.16);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.how-step--wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  column-gap: 70px;
  min-height: auto;
}

.how-step--wide .how-step-number,
.how-step--wide h2 {
  grid-column: 1;
}

.how-step--wide p {
  grid-column: 2;
}

.how-step--wide p:first-of-type {
  margin-top: 0;
}

.how-step-number {
  display: block;
  margin-bottom: 64px;
  color: #7fb9ff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.how-step h2,
.how-invitations h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 50px);
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.how-step p,
.how-invitations-copy p {
  max-width: 720px;
  margin: 28px 0 0;
  color: #b8c1d0;
  font-size: 18px;
  line-height: 1.72;
}

.how-step strong,
.how-invitations strong {
  color: #e9edf6;
}

.how-invitations {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 90px;
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

.how-invitations-copy p:first-child {
  margin-top: 0;
}

@media (max-width: 1000px) {
  .how-steps-grid,
  .how-invitations {
    grid-template-columns: 1fr;
  }

  .how-step--wide {
    display: block;
  }

  .how-invitations {
    gap: 38px;
  }
}

@media (max-width: 640px) {
  .how-home-link {
    font-size: 14px;
  }

  .how-hero {
    padding: 78px 0 88px;
  }

  .how-kicker {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .how-hero h1 {
    font-size: clamp(46px, 14vw, 64px);
    line-height: 0.96;
  }

  .how-lede {
    margin-top: 30px;
    font-size: 18px;
  }

  .how-steps {
    padding: 82px 0 96px;
  }

  .how-step {
    min-height: auto;
    padding: 28px;
    border-radius: 26px;
  }

  .how-step-number {
    margin-bottom: 44px;
  }

  .how-step h2,
  .how-invitations h2 {
    font-size: 34px;
  }

  .how-step p,
  .how-invitations-copy p {
    font-size: 16px;
  }

  .how-invitations {
    padding: 96px 0;
  }
}
