.howto-hero {
  max-width: 980px;
  padding-block: clamp(76px, 10vw, 142px) clamp(92px, 12vw, 168px);
}

.howto-kicker,
.howto-section-number {
  margin: 0;
  color: var(--coral-strong);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.howto-hero h1 {
  max-width: 900px;
  margin: 22px 0 0;
  font-family: var(--display-font);
  font-weight: 820;
  font-size: clamp(56px, 8.3vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.052em;
}

.howto-intro {
  max-width: 780px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
}

.howto-hero-action {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
}

.howto-hero-action p {
  max-width: 410px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
}

.howto-section {
  padding-block: clamp(82px, 10vw, 136px);
  border-top: 1px solid var(--line);
}

.howto-section-header {
  display: grid;
  grid-template-columns: 110px minmax(0, 760px);
  gap: 28px;
  margin-bottom: clamp(52px, 7vw, 92px);
}

.howto-section-header h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 820;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.howto-section-header div > p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.8vw, 20px);
}

.howto-stage + .howto-stage {
  margin-top: clamp(76px, 10vw, 124px);
}

.howto-stage h3 {
  margin: 0 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display-font);
  font-weight: 780;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.howto-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px) clamp(18px, 2.6vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.howto-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.howto-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.howto-grid-one {
  grid-template-columns: minmax(0, 270px);
  justify-content: center;
}

.howto-step,
.howto-step figure {
  min-width: 0;
  margin: 0;
}

.howto-shot {
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--device-edge);
  border-radius: 34px;
  background: #050505;
  box-shadow: var(--device-shadow);
}

.howto-shot img {
  width: 100%;
  border-radius: 27px;
  background: #fff;
}

.howto-step figcaption {
  display: grid;
  gap: 7px;
  padding: 18px 4px 0;
}

.howto-step figcaption span {
  color: var(--coral-strong);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.howto-step figcaption strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.howto-stage-final .howto-grid {
  margin-inline: auto;
}

.howto-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 30px;
  margin-top: clamp(88px, 12vw, 154px);
  padding: 32px 0;
  border-block: 1px solid var(--line);
}

.howto-note h3,
.howto-note p {
  margin: 0;
}

.howto-note h3 {
  font-family: var(--display-font);
  font-weight: 780;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.howto-note p {
  align-self: center;
  color: var(--ink-soft);
  font-size: 17px;
}

.howto-page .site-footer {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .howto-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .howto-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .howto-step {
    width: 100%;
    max-width: 340px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .howto-hero {
    padding-block: 58px 100px;
  }

  .howto-hero h1 {
    font-size: clamp(50px, 15vw, 76px);
  }

  .howto-hero-action {
    display: grid;
    justify-items: start;
  }

  .howto-section-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .howto-note {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .howto-hero {
    padding-top: 46px;
  }

  .howto-hero h1 {
    margin-top: 18px;
    font-size: clamp(46px, 14.5vw, 64px);
    letter-spacing: -0.06em;
  }

  .howto-intro {
    margin-top: 28px;
    font-size: 18px;
  }

  .howto-hero-action {
    margin-top: 32px;
  }

  .howto-section {
    padding-block: 76px;
  }

  .howto-section-header {
    margin-bottom: 48px;
  }

  .howto-section-header h2 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .howto-grid-four,
  .howto-grid-three,
  .howto-grid-one {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
  }

  .howto-step {
    max-width: none;
  }

  .howto-stage + .howto-stage {
    margin-top: 82px;
  }

  .howto-stage h3 {
    margin-bottom: 28px;
    font-size: 28px;
  }

  .howto-note {
    margin-top: 92px;
  }
}
