.help-main {
  overflow-x: clip;
}

.help-hero {
  padding-top: 52px;
  padding-bottom: 58px;
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 24px 24px;
}

.help-hero-panel {
  position: relative;
  overflow: clip;
  padding: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: 52px;
  background-color: var(--color-panel-strong);
}

.help-hero-panel::before,
.help-hero-panel::after {
  position: absolute;
  border: 1px dashed var(--color-line-muted);
  border-radius: var(--radius-pill);
  content: "";
  pointer-events: none;
}

.help-hero-panel::before {
  width: 210px;
  height: 210px;
  top: -112px;
  right: 18%;
}

.help-hero-panel::after {
  width: 124px;
  height: 124px;
  right: -48px;
  bottom: -42px;
}

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

.help-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(44px, 5vw, 68px);
}

.help-intro {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 17px;
}

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

.help-facts {
  display: grid;
  gap: 12px;
}

.help-fact {
  min-width: 0;
  padding: 18px 20px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-soft);
}

.help-fact:nth-child(even) {
  transform: translateX(18px);
}

.help-fact-label {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.help-fact strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.help-shell {
  padding-bottom: var(--section-space);
}

.help-toc {
  margin-top: 24px;
  margin-bottom: 0;
}

.help-category {
  padding-top: var(--section-space);
  padding-bottom: 26px;
}

.category-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(240px, .68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 52px;
}

.category-layout.is-reversed {
  grid-template-columns: minmax(0, 1.32fr) minmax(240px, .68fr);
}

.category-layout.is-reversed .category-heading {
  grid-column: 2;
  grid-row: 1;
}

.category-layout.is-reversed .faq-list {
  grid-column: 1;
  grid-row: 1;
}

.category-heading {
  position: sticky;
  top: calc(var(--header-height) + 84px);
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-panel-strong);
  box-shadow: var(--shadow-soft);
}

.category-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3vw, 42px);
}

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

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

.help-category .faq-item {
  background: var(--color-panel);
  box-shadow: var(--shadow-soft);
}

.help-category .faq-item summary {
  min-height: 66px;
  padding-top: 19px;
  padding-bottom: 19px;
  font-size: 16px;
}

.help-category .faq-answer {
  padding-right: 54px;
  color: var(--color-muted);
  line-height: 1.85;
}

.help-contact {
  margin-top: var(--section-space);
  padding: 42px 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  background: var(--color-panel-strong);
}

.help-contact h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(30px, 3.4vw, 44px);
}

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

@media (max-width: 920px) {
  .help-hero-panel {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .help-fact:nth-child(even) {
    transform: none;
  }

  .category-layout,
  .category-layout.is-reversed {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .category-layout.is-reversed .category-heading,
  .category-layout.is-reversed .faq-list {
    grid-column: auto;
    grid-row: auto;
  }

  .category-layout.is-reversed .category-heading {
    order: 1;
  }

  .category-layout.is-reversed .faq-list {
    order: 2;
  }

  .category-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  .help-hero {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .help-hero-panel {
    padding: 30px 22px;
    gap: 30px;
  }

  .help-hero-copy h1 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .help-intro {
    font-size: 15px;
  }

  .help-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-category {
    padding-top: 58px;
  }

  .category-heading {
    padding: 25px 22px;
  }

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

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

  .help-contact {
    padding: 30px 22px;
    grid-template-columns: minmax(0, 1fr);
  }

  .help-contact .button {
    width: 100%;
  }
}