/* =========================================
   Homepage — What happens when you search
   Consolidated
   ========================================= */

.v-how {
  padding: 72px 0 64px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 250, 255, 0.98) 100%
  );
  border-bottom: 1px solid #dbdbdb;
  margin-bottom: 30px;
}


.v-how__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 10px;
}

.v-how__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.v-how__title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1f2352;
}

.v-how__sub {
  margin: 0;
  font-size:0.9rem;
  line-height: 1.65;
  color: rgba(31, 35, 82, 0.74);
  max-width: 70ch;
  font-weight:500;
	
	
}

.v-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: how-steps;
}

.v-step {
  position: relative;
  min-height: 220px;
  padding: 28px 22px 22px;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 250, 255, 0.98) 100%
  );
  border: 1px solid rgba(28, 34, 86, 0.08);
  box-shadow:
    0 10px 24px rgba(28, 34, 86, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
}

.v-step::before {
  counter-increment: how-steps;
  content: counter(how-steps);
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(99, 85, 255, 0.1);
  color: #5a46f2;
  font-weight: 800;
  font-size: 0.96rem;
  box-shadow: 0 0 0 1px rgba(90, 70, 242, 0.08) inset;
}

.v-step::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, #6a5cff 0%, #4ea2ff 100%);
  opacity: 0.92;
}

.v-step__kicker {
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31, 35, 82, 0.48);
}

.v-step__title {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 800;
  color: #1f2352;
}

.v-step__text {
  margin: 0;
  font-size: 0.97em;
  line-height: 1.65;
  color: rgba(31, 35, 82, 0.72);
  max-width: 30ch;
}

.v-how__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 35, 82, 0.08);
  font-size: 0.85rem;
  color: rgba(31, 35, 82, 0.7);
}

.v-how__cta p {
  margin: 0;
}

.v-how__link {
  font-weight: 700;
  color: #1f2352;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v-how__link:hover {
  color: #5a46f2;
}

@media (max-width: 1100px) {
  .v-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v-step {
    min-height: 200px;
  }
}

@media (max-width: 700px) {
  .v-how {
    padding: 56px 0 48px;
  }

  .v-how__inner {
    padding: 0 10px;
  }

  .v-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .v-step {
    min-height: 0;
    padding: 24px 18px 18px;
    border-radius: 18px;
  }

  .v-how__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}