.help-layout .hero {
  margin-bottom: 0;
}

.help-intro {
  max-width: 72ch;
  line-height: 1.6;
}

.help-sections h3 {
  margin-bottom: 10px;
}

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

.help-card :is(p, li) {
  max-width: 80ch;
  line-height: 1.6;
}

.help-card li + li {
  margin-top: 8px;
}

.help-card :last-child {
  margin-bottom: 0;
}

.help-card[id] {
  scroll-margin-top: 18px;
}

.help-card .help-text-link {
  color: color-mix(in srgb, var(--primary) 70%, black);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.help-figure {
  margin: 20px 0 0;
}

.help-figure a {
  display: block;
  border-radius: 12px;
}

.help-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: inherit;
  box-shadow: none;
}

.help-figure a:is(:hover, :focus-visible) img {
  border-color: var(--primary);
}

.help-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.help-nav a:is(:hover, :focus-visible) {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.help-back {
  position: fixed;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  box-shadow: var(--shadow);
}

@media (max-width: 700px) {
  .help-layout {
    padding-inline: 12px;
    margin-block: 12px 70px;
  }

  .help-card {
    padding: 18px;
  }

  .help-back {
    position: static;
    justify-self: end;
  }
}
