
.how {
  --white:  #F0F0F0;
  --yellow: #F8FF13;
  --grey:   #9E9E9E;
  --dark:   #020307;

  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  font-family: 'Euclid Circular A', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.how__stage {
  position: relative;
  flex: none;
  width: 1440px;
  height: 800px;
  border-radius: 40px;
  overflow: hidden;
}

.how__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(240, 240, 240, 0.03) 0%, rgba(240, 240, 240, 0) 55%);
}

.how__bg {
  position: absolute;
  inset: 0;
  width: 1440px;
  height: 800px;
  pointer-events: none;
}
.how__bg--main  { z-index: 0; }
.how__bg--light { z-index: 1; }
.how__bg--dots  { z-index: 2; }

.how__bg-mobile {
  display: none;
}

.how__fade-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0) 0%, #08090D 100%);
}

.how__head {
  position: absolute;
  left: 525px;
  top: 148px;
  width: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 3;
}
.how__title {
  margin: 0;
  width: 100%;
  font-weight: 600;
  font-size: 72px;
  line-height: 72px;
  letter-spacing: -5.3px;
  text-align: center;
  color: var(--white);
}
.how__title b { font-weight: 600; color: var(--yellow); }
.how__subtitle {
  margin: 0;
  width: 100%;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.18px;
  text-align: center;
  color: var(--grey);
  font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.how-card {
  position: absolute;
  z-index: 4;

  width: 243.2px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 32px;

  background:
    linear-gradient(180deg, rgba(240, 240, 240, 0.02) 0%, rgba(240, 240, 240, 0) 66.327%),
    linear-gradient(90deg, rgba(240, 240, 240, 0.02) 0%, rgba(240, 240, 240, 0.02) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.how-card:hover {
  background-color: rgba(240, 240, 240, 0.02);
  box-shadow: inset 0 0 20px 0 rgba(240, 240, 240, 0.05);
  --ring-paint: linear-gradient(180deg, rgba(240, 240, 240, 0.16) 0%, rgba(240, 240, 240, 0) 66.327%);
}

.how-card .how-card__badge { --layer-depth: 7px; }
.how-card .how-card__text  { --layer-depth: 3px; }

.how-card.tilt {
  transform: translate3d(calc(var(--mx, 0) * var(--card-depth, 10px)),
                         calc(var(--my, 0) * var(--card-depth, 10px)), 0)
             scale(var(--hover-scale, 1));
}

.how-card--01 { left: 88px;   top: 88px;  }
.how-card--02 { left: 423px;  top: 365px; }
.how-card--03 { left: 771px;  top: 325px; }
.how-card--04 { left: 1109px; top: 98px;  }

.how-card__line {
  position: absolute;
  left: 50%;
  top: -13px;
  transform: translateX(-50%);
  width: 134px;
  height: 33px;
  pointer-events: none;
}

.how-card__badge {
  position: relative;
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 50px;
  border: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.3px;
  color: var(--white);
  background-color: rgba(248, 255, 19, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 16px 0 rgba(248, 255, 19, 0.25);
  overflow: hidden;
}

.how-card__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: center;
}
.how-card__title {
  margin: 0;
  width: 100%;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.3px;
  color: var(--white);
}
.how-card__desc {
  margin: 0;
  width: 100%;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: var(--grey);
}

  @media (max-width: 767px) {

    .how__stage {
      position: relative;
      width: 100%;
      max-width: 375px;
      min-height: 812px;
      margin: 0 auto;
      border-radius: 32px;
      overflow: hidden;
    }
    .how__stage::before { display: none; }
    .how__bg { display: none; }

    .how__bg-mobile {
      display: block;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      pointer-events: none;
    }
    .how__bg-mobile--main  { z-index: 0; }
    .how__bg-mobile--light { z-index: 1; }
    .how__bg-mobile--dots  { z-index: 2; }
    .how__bg-mobile--panel { z-index: 3; }

    .how__head {
      left: 50%;
      top: 70px;
      transform: translateX(-50%);
      width: 225px;
      max-width: calc(100% - 32px);
      min-height: 74px;
      gap: 12px;
      z-index: 4;
    }
    .how__title {
      font-size: 36px;
      line-height: 36px;
      letter-spacing: -3px;
    }
    .how__subtitle {
      font-size: 16px;
      line-height: 24px;
      letter-spacing: -0.16px;
    }

    .how-card {
      left: 16px;
      top: auto;
      width: 343px;
      max-width: calc(100% - 32px);
      padding: 16px 24px;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 24px;
      border-radius: 32px;
      background:
        linear-gradient(180deg, rgba(240, 240, 240, 0.04) 0%, rgba(240, 240, 240, 0) 66.327%),
        linear-gradient(90deg, rgba(240, 240, 240, 0.02) 0%, rgba(240, 240, 240, 0.02) 100%);
      --ring-paint: linear-gradient(180deg, rgba(240, 240, 240, 0.08) 0%, rgba(240, 240, 240, 0) 66.327%);
      z-index: 5;
    }
    .how-card--01 { top: 208px; min-height: 108px; }
    .how-card--02 { top: 332px; min-height: 128px; }
    .how-card--03 { top: 476px; min-height: 128px; }
    .how-card--04 { top: 620px; min-height: 128px; }

    .how-card__line { top: -12px; }

    .how-card__badge {
      width: 64px;
      height: 64px;
      border-radius: 50px;
      font-size: 32px;
      line-height: 40px;
      letter-spacing: -0.3px;
    }

    .how-card__text {
      flex: 1 0 0;
      align-items: flex-start;
      gap: 4px;
      width: auto;
      text-align: left;
    }
    .how-card__title {
      width: 100%;
      text-align: left;
      font-size: 18px;
      line-height: 32px;
      letter-spacing: -0.3px;
    }
    .how-card__desc {
      width: 100%;
      text-align: left;
      font-size: 14px;
      line-height: 20px;
      letter-spacing: -0.28px;
    }
  }
