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

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

.how-hero-copy h1 {
  max-width: 600px;
  font-size: clamp(44px, 4.8vw, 64px);
}

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

.how-hero-copy .hero-actions {
  margin-bottom: 24px;
}

.how-hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #58596f;
  font-size: 11px;
  font-weight: 800;
}

.how-hero-note b {
  color: #8e83e9;
}

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

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

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

.how-hero-orbit::before {
  top: 18%;
  left: 18%;
}

.how-hero-orbit::after {
  right: 12%;
  bottom: 20%;
  background: #b4a9f3;
}

.how-hero-hub {
  position: relative;
  z-index: 3;
  display: flex;
  width: 150px;
  height: 150px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #e8e4f7;
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(48, 36, 124, .14);
}

.how-hero-hub img {
  width: 58px;
  height: 38px;
  margin-bottom: 5px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.how-hero-hub strong {
  color: #303047;
  font-family: Manrope, sans-serif;
  font-size: 15px;
}

.how-hero-hub small {
  margin-top: 3px;
  color: #8c8d9f;
  font-size: 9px;
}

.how-hero-node {
  position: absolute;
  z-index: 4;
  display: flex;
  width: 190px;
  min-height: 90px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid #e9e7f2;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(41, 34, 104, .08);
}

.how-node-channels {
  top: 4px;
  left: 0;
}

.how-node-ops {
  top: 36px;
  right: 0;
}

.how-node-delivery {
  right: 2px;
  bottom: 13px;
}

.how-node-label {
  color: #77788b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.how-mini-logos {
  display: flex;
  height: 31px;
  align-items: center;
  gap: 10px;
  margin: 5px 0 3px;
}

.how-mini-logos img {
  max-width: 33px;
  max-height: 25px;
  object-fit: contain;
}

.how-mini-logos img[src$="daraz.png"] {
  width: 38px;
  max-width: 38px;
  height: 25px;
}

.courier-mini-logos img {
  width: 52px;
  max-width: 52px;
  height: 24px;
}

.how-hero-node small {
  color: #8c8d9f;
  font-size: 8px;
}

.how-ops-pills {
  display: flex;
  gap: 5px;
  margin: 8px 0;
}

.how-ops-pills span {
  padding: 4px 6px;
  border-radius: 5px;
  background: #f0eeff;
  color: #5949cb;
  font-size: 8px;
  font-weight: 700;
}

.how-hero-connector {
  position: absolute;
  z-index: 1;
  width: 100px;
  height: 1px;
  background: #d7d1f6;
  transform-origin: left center;
}

.connector-top {
  top: 31%;
  left: 32%;
  transform: rotate(12deg);
}

.connector-bottom {
  right: 25%;
  bottom: 31%;
  transform: rotate(-17deg);
}

.how-hero-caption {
  position: absolute;
  bottom: -7px;
  color: #85869a;
  font-size: 10px;
  font-weight: 600;
}

.how-journey {
  padding-top: 78px;
}

.how-journey-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: stretch;
  gap: 9px;
}

.how-journey-step {
  min-width: 0;
  min-height: 255px;
  padding: 20px;
  border: 1px solid #e8e7f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(26, 24, 67, .035);
}

.how-journey-num {
  display: block;
  color: #9293a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.how-journey-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 13px 0;
  place-items: center;
  border-radius: 11px;
  background: #f0eeff;
  color: #5949d0;
  font-size: 20px;
  font-weight: 800;
}

.how-journey-step h3 {
  margin-bottom: 8px;
  font-size: 15px;
  letter-spacing: -.035em;
}

.how-journey-step p {
  min-height: 61px;
  margin-bottom: 9px;
  color: #77798c;
  font-size: 11px;
  line-height: 1.65;
}

.how-journey-step a,
.how-feature-card a {
  display: inline-block;
  margin: 3px 8px 0 0;
  color: #5141d4;
  font-size: 9px;
  font-weight: 800;
}

.how-journey-arrow {
  align-self: center;
  color: #8b80e8;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

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

.how-feature-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid #e6e6f0;
  border-radius: 14px;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}

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

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

.how-feature-category {
  display: block;
  margin-bottom: 7px;
  color: #8a8b9d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.how-feature-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.how-feature-card p {
  min-height: 70px;
  margin-bottom: 7px;
  color: #77798c;
  font-size: 11px;
  line-height: 1.7;
}

.how-finance-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #e5e2f2;
  border-radius: 10px;
  background: #fbfaff;
  color: #737488;
  font-size: 11px;
  line-height: 1.7;
}

.how-finance-note strong {
  color: #45465b;
}

.how-services-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(35px, 6vw, 75px);
}

.how-services-copy {
  position: sticky;
  top: 110px;
}

.how-services-copy h2 {
  max-width: 480px;
}

.how-services-copy .lead {
  font-size: 15px;
}

.how-services-copy > p:not(.lead) {
  max-width: 440px;
  margin-bottom: 22px;
  color: #77798c;
  font-size: 12px;
  line-height: 1.7;
}

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

.how-service-card {
  min-height: 185px;
  padding: 20px;
  border: 1px solid #e7e6ef;
  border-radius: 13px;
  background: #fff;
}

.how-service-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 10px;
  background: #f1efff;
  color: #5949d0;
  font-size: 17px;
  font-weight: 800;
}

.how-service-card h3 {
  margin-bottom: 7px;
  font-size: 14px;
}

.how-service-card p {
  margin: 0;
  color: #77798c;
  font-size: 11px;
  line-height: 1.7;
}

.how-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.how-start-card {
  padding: 24px;
  border: 1px solid #e6e6f0;
  border-radius: 14px;
  background: #fff;
}

.how-start-card > span {
  display: block;
  margin-bottom: 20px;
  color: #6b55f2;
  font-size: 11px;
  font-weight: 800;
}

.how-start-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.how-start-card p {
  margin: 0;
  color: #77798c;
  font-size: 12px;
  line-height: 1.7;
}

.how-availability-note {
  max-width: 850px;
  margin: 22px auto 0;
  color: #85869a;
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 1050px) {
  .how-journey-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .how-journey-step {
    min-height: 225px;
  }

  .how-journey-step p {
    min-height: 0;
  }

  .how-journey-arrow {
    display: none;
  }
}

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

  .how-hero-copy {
    max-width: 690px;
  }

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

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

  .how-services-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .how-services-copy {
    position: static;
    max-width: 680px;
  }
}

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

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

  .how-hero-visual {
    min-height: 360px;
    transform: scale(.88);
    transform-origin: center;
    margin: -15px 0 -18px;
    width: calc(100% / .88);
  }

  .how-hero-node {
    width: 164px;
  }

  .how-node-channels {
    left: 0;
  }

  .how-node-ops {
    right: 0;
  }

  .how-node-delivery {
    right: 0;
  }

  .how-hero-hub {
    width: 130px;
    height: 130px;
  }

  .how-hero-note {
    gap: 6px;
    font-size: 10px;
  }

  .how-journey-flow,
  .how-feature-grid,
  .how-services-grid,
  .how-start-grid {
    grid-template-columns: 1fr;
  }

  .how-journey-step {
    min-height: 0;
  }

  .how-feature-card {
    min-height: 0;
  }

  .how-feature-card p {
    min-height: 0;
  }

  .how-service-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-feature-card {
    transition: none;
  }
}
