.how-it-works-page {
  background: #f4f3f0;
}

.how-hero {
  padding-top: 46px;
  padding-bottom: 42px;
}

.how-wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 34px 20px 74px;
}

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

.path-question {
  min-height: 28px;
  margin: 0 0 12px;
  color: #202a38;
  font-size: 20px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
}

.package-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 12px;
  align-items: center;
  height: 52px;
  margin-bottom: 16px;
  padding: 0 18px 0 14px;
  overflow: hidden;
  background: #181818;
  border-radius: 9px;
}

.package-strip img {
  width: 108%;
  max-height: 36px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  transform: scale(0.92);
  transform-origin: left center;
}

.package-strip strong {
  position: relative;
  z-index: 1;
  display: block;
  color: #fff;
  font-size: 21px;
  font-weight: 850;
  text-align: right;
}

.path-box,
.process-box,
.publish-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(16, 40, 70, 0.045);
}

.path-box {
  min-height: 322px;
  padding: 24px;
}

.path-box h2 {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
  color: #061735;
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1.08;
}

.path-box ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 22px;
  color: #26364c;
  font-size: 15px;
  line-height: 1.55;
}

.path-box a {
  color: #285fe0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fork-arrows {
  height: 112px;
  margin: 8px 0 22px;
}

.fork-arrows svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fork-arrows path,
.down-arrow path {
  fill: none;
  stroke: #718096;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.1;
  vector-effect: non-scaling-stroke;
}

.fork-arrows marker path,
.down-arrow marker path {
  fill: #718096;
  stroke: none;
}

.down-arrow {
  width: 80px;
  height: 82px;
  margin: 8px auto 18px;
}

.down-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.process-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 26px;
}

.process-box > h2 {
  margin-bottom: 18px;
  color: #061735;
  font-size: 18px;
  line-height: 1.25;
}

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

.check-grid article {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 456px;
  padding: 10px 12px 18px;
  background: #f8f8f8;
  border-radius: 8px;
}

.check-grid img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: contain;
}

.check-grid h3 {
  margin: 12px 0 8px;
  color: #061735;
  font-size: 16px;
  line-height: 1.25;
}

.check-grid p,
.publish-box p {
  margin: 0;
  color: #3d4d66;
  font-size: 16px;
  line-height: 1.58;
}

.publish-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 28px 26px;
}

.publish-box h2 {
  margin-bottom: 8px;
  color: #061735;
  font-size: 18px;
  line-height: 1.25;
}

.final-box {
  margin-bottom: 8px;
}

@media (max-width: 820px) {
  .how-paths {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .path-question {
    text-align: left;
  }

  .path-box {
    min-height: 0;
  }

  .fork-arrows {
    display: none;
  }

  .process-box {
    margin-top: 34px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .check-grid article {
    grid-template-columns: 148px 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 18px;
    min-height: 0;
    align-items: start;
  }

  .check-grid img {
    grid-row: 1 / 3;
  }
}

@media (max-width: 560px) {
  .how-wrap {
    padding: 28px 16px 58px;
  }

  .package-strip {
    height: 52px;
    padding-right: 15px;
    padding-left: 14px;
  }

  .package-strip img {
    width: 106%;
    transform: scale(1.04);
  }

  .package-strip strong {
    font-size: 20px;
  }

  .path-box,
  .process-box,
  .publish-box {
    border-radius: 12px;
  }

  .path-box {
    padding: 22px;
  }

  .process-box,
  .publish-box {
    padding: 20px;
  }

  .check-grid article {
    grid-template-columns: 1fr;
  }

  .check-grid img {
    grid-row: auto;
    max-height: 230px;
  }
}
