.nav a[aria-current="page"] {
  color: var(--blue);
}

.howto-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  text-align: center;
}

.howto-hero h1 {
  max-width: 980px;
  margin-inline: auto;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.howto-hero > .container > p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.15rem;
}

.howto-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.howto-path-section {
  background: #fff;
}

.howto-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 820px;
}

.howto-kicker {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .13em;
}

.howto-section-heading h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.howto-section-heading div > p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.05rem;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.howto-steps li {
  position: relative;
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.howto-steps li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--sky);
  font-weight: 750;
}

.howto-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 34px;
  right: -15px;
  z-index: 2;
  color: #8fa0bf;
}

.howto-steps h3,
.howto-option-grid h3,
.postback-note h3 {
  color: var(--navy);
  font-size: 1.08rem;
  letter-spacing: -.025em;
}

.howto-steps p,
.howto-option-grid p,
.postback-note p {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
}

.howto-options {
  background: rgba(241, 247, 255, .48);
}

.howto-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 42px;
}

.howto-option-grid article {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.option-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.option-head p {
  margin-top: 4px;
  font-size: .8rem;
}

.howto-option-grid article > p {
  margin-top: 22px;
  font-size: .96rem;
}

.howto-option-grid ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .9rem;
}

.howto-option-grid li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--teal);
  font-weight: 800;
}

.postback-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(90deg, #edfffb, #f0f5ff);
}

.howto-flow-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: rgba(241, 247, 255, .5);
}

.howto-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 54px;
  max-width: 1050px;
  margin: 44px auto 0;
}

.howto-flow li {
  position: relative;
  text-align: center;
}

.howto-flow li:not(:last-child)::after {
  content: "⟶";
  position: absolute;
  top: 28px;
  right: -42px;
  color: #7da5ff;
  font-size: 18px;
}

.howto-flow b {
  color: var(--navy);
  font-size: .95rem;
}

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

  .howto-steps li::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .howto-hero {
    padding: 72px 0;
  }

  .howto-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .howto-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .howto-section-heading {
    display: grid;
  }

  .howto-steps,
  .howto-option-grid {
    grid-template-columns: 1fr;
  }

  .howto-steps li {
    min-height: 0;
  }

  .postback-note {
    align-items: flex-start;
    padding: 22px;
  }

  .howto-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .howto-flow li:not(:last-child)::after {
    display: none;
  }
}
