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

.help-hero::after {
  position: absolute;
  right: 8%;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  content: "";
  opacity: .38;
  pointer-events: none;
}

.help-hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 72px;
  align-items: center;
}

.help-hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.help-hero-copy h1 {
  max-width: 720px;
}

.help-lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--color-text-muted);
  font-size: 18px;
}

.help-actions {
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.help-ledger {
  min-width: 0;
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-panel);
  box-shadow: var(--shadow-panel);
  transform: rotate(.6deg);
}

.help-ledger::before,
.help-ledger::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--color-globe-line);
  border-radius: var(--radius-pill);
  content: "";
  opacity: .65;
}

.help-ledger::before {
  top: 18px;
  left: 18px;
}

.help-ledger::after {
  right: 18px;
  bottom: 18px;
}

.help-ledger svg {
  width: min(92%, 420px);
  height: auto;
}

.help-ledger-line {
  fill: none;
  stroke: var(--color-globe-line);
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: .64;
}

.help-ledger-line-soft {
  opacity: .24;
}

.help-ledger-route {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px var(--color-accent-shadow-strong));
}

.help-ledger-node {
  fill: var(--color-panel);
  stroke: var(--color-globe-line);
  stroke-width: 1.2;
}

.help-ledger-mark {
  fill: var(--color-accent);
}

.help-document {
  padding-top: 52px;
  padding-bottom: 104px;
}

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

.help-category {
  max-width: 980px;
  margin-inline: auto;
  border-bottom: 1px solid var(--color-border);
}

.help-category-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.help-category-heading > p:last-child {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 17px;
}

.help-index {
  margin-bottom: 10px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.help-category .faq-list {
  gap: 12px;
}

.help-category .faq-item {
  background: var(--color-panel);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.help-category .faq-item:hover,
.help-category .faq-item[open] {
  border-color: var(--color-accent-dark);
  background: var(--color-panel-raised);
}

.help-category .faq-item summary {
  padding-top: 19px;
  padding-bottom: 19px;
  font-size: 17px;
}

.help-category .faq-answer {
  max-width: 850px;
  padding-right: 48px;
  line-height: 1.85;
}

.help-more-link {
  margin: 24px 0 0;
  text-align: right;
}

.help-more-link a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--color-accent);
  font-weight: 700;
}

.help-closing {
  max-width: 980px;
  margin: 76px auto 0;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid var(--color-accent-dark);
  border-radius: var(--radius-medium);
  background: var(--color-panel-raised);
  box-shadow: 0 0 0 1px var(--color-focus-shadow), var(--shadow-panel);
}

.help-closing > div {
  min-width: 0;
}

.help-closing h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 40px);
}

.help-closing p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.help-closing .btn {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .help-hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    gap: 34px;
  }

  .help-ledger {
    min-height: 310px;
  }
}

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

  .help-hero-copy {
    order: 1;
  }

  .help-ledger {
    min-height: 220px;
    order: 2;
    transform: none;
  }

  .help-ledger svg {
    max-height: 220px;
  }

  .help-lead {
    font-size: 16px;
  }

  .help-document {
    padding-top: 34px;
    padding-bottom: 76px;
  }

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

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

  .help-closing {
    margin-top: 54px;
    padding: 26px;
    align-items: stretch;
    flex-direction: column;
  }

  .help-closing .btn {
    align-self: flex-start;
  }
}

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

  .help-actions {
    display: grid;
  }

  .help-ledger {
    min-height: 190px;
  }

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

  .help-more-link {
    text-align: left;
  }

  .help-closing .btn {
    width: 100%;
  }
}