.help-hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.help-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--color-paper-noise) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-paper-noise) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to right, var(--color-ink), transparent);
  opacity: 0.85;
}

.help-hero::after {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 46vw;
  max-width: 620px;
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: var(--radius-pill);
  background: var(--color-surface-soft);
  content: "";
  filter: blur(62px);
  opacity: 0.72;
}

.help-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 70px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 82px;
}

.help-heading {
  max-width: 760px;
}

.help-heading h1 {
  margin-bottom: 22px;
}

.help-heading .lead {
  margin-bottom: 0;
}

.help-facts {
  margin-top: 28px;
}

.help-route-note {
  position: relative;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.help-route-note::before {
  position: absolute;
  top: 64px;
  bottom: 74px;
  left: 38px;
  width: 1px;
  background: var(--color-border);
  content: "";
}

.help-route-label {
  margin-bottom: 20px;
  color: var(--color-accent-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.help-route-steps {
  display: grid;
  gap: 17px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: help-route;
}

.help-route-steps li {
  position: relative;
  display: grid;
  min-height: 42px;
  padding-left: 38px;
  counter-increment: help-route;
}

.help-route-steps li::before {
  position: absolute;
  top: 1px;
  left: 0;
  z-index: 1;
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-accent-deep);
  content: counter(help-route);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.help-route-steps span {
  color: var(--color-ink);
  font-weight: 750;
}

.help-route-steps small {
  color: var(--color-ink-muted);
  font-size: 12px;
}

.help-document {
  position: relative;
}

.help-document > .toc-tabs {
  top: 10px;
}

.help-category {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: 62px;
  padding-top: 86px;
  padding-bottom: 34px;
}

.help-category + .help-category {
  margin-top: 36px;
  border-top: 1px solid var(--color-border);
}

.help-category-heading {
  align-self: start;
}

.help-category-heading h2 {
  font-size: clamp(30px, 3.5vw, 42px);
}

.help-category-heading > p:last-child {
  margin-bottom: 0;
  color: var(--color-ink-muted);
}

.help-category .faq-list {
  min-width: 0;
}

.help-category .faq-item summary {
  font-size: 17px;
}

.help-category .faq-answer p {
  line-height: 1.85;
}

.help-closing-note {
  grid-column: 2;
  margin-top: 42px;
}

.help-closing-note .button {
  margin-top: 18px;
}

@media (max-width: 920px) {
  .help-hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .help-route-note {
    max-width: 700px;
  }

  .help-category {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .help-category-heading {
    max-width: 720px;
  }

  .help-closing-note {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .help-hero::after {
    display: none;
  }

  .help-hero-inner {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .help-document > .toc-tabs {
    top: 6px;
  }

  .help-category {
    padding-top: 68px;
    padding-bottom: 24px;
  }

  .help-category + .help-category {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .help-route-note {
    padding: 22px 18px;
  }

  .help-route-note::before {
    left: 28px;
  }

  .help-category .faq-item summary {
    padding-right: 38px;
    font-size: 16px;
  }

  .help-category .faq-answer {
    padding-right: 0;
  }

  .help-closing-note {
    margin-top: 32px;
  }
}