.help-hero {
  position: relative;
  overflow-x: clip;
  padding-top: 64px;
  padding-bottom: 64px;
}

.help-hero::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: 4%;
  width: 38%;
  max-width: 100%;
  height: 84%;
  border-radius: var(--radius-xl);
  background: var(--color-panel-muted);
  content: "";
  clip-path: polygon(18% 0, 100% 0, 86% 100%, 0 82%);
}

.help-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 24%;
  max-width: 100%;
  height: 30%;
  background: var(--color-coral);
  content: "";
  clip-path: polygon(36% 0, 100% 24%, 100% 100%, 0 100%);
}

.help-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: 72px;
}

.help-hero-copy {
  max-width: var(--text-max);
}

.help-hero-copy h1 {
  margin-top: 18px;
  margin-bottom: 22px;
}

.help-entry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.help-entry-row .chip {
  min-height: 36px;
  padding-inline: 14px;
  color: var(--color-text-soft);
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.help-entry-row .chip:hover {
  border-color: var(--color-accent);
  background: var(--tint-honey);
  transform: translateY(-1px);
}

.help-route-card {
  position: relative;
  min-width: 0;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--color-text);
  color: var(--color-panel);
  box-shadow:
    inset 0 1px 0 var(--highlight-dark),
    0 28px 60px var(--shadow-blue-strong);
}

.help-route-flow {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--highlight-dark);
}

.help-route-flow div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(100px, .7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 17px 18px;
  background: var(--color-text-soft);
}

.help-route-flow div::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 24px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: var(--color-accent);
  content: "";
  transform: translateY(-50%);
}

.help-route-flow strong {
  color: var(--color-panel);
  font-size: 14px;
}

.help-route-flow span {
  color: var(--color-border);
  font-size: 13px;
}

.help-fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 18px 42px var(--shadow-blue);
}

.help-fact-strip div {
  display: flex;
  min-width: 0;
  min-height: 112px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 24px 28px;
}

.help-fact-strip div + div {
  border-left: 1px solid var(--color-border);
}

.help-fact-strip span {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
}

.help-fact-strip strong {
  color: var(--color-muted);
  font-size: 13px;
}

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

.help-content > .toc-tabs {
  margin-right: auto;
  margin-left: auto;
}

.help-category {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.58fr);
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-border);
}

.help-category:first-of-type {
  padding-top: 20px;
}

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

.help-category-head h2 {
  margin-top: 10px;
  font-size: clamp(30px, 3vw, 42px);
}

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

.help-category .faq-list {
  align-content: start;
}

.help-category .faq-item {
  box-shadow: 0 12px 30px var(--shadow-blue);
}

.help-category .faq-item[open] {
  border-color: var(--color-accent);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 18px 38px var(--shadow-honey);
}

.help-category .faq-answer p {
  margin-bottom: 0;
}

.help-ticket-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  margin-top: 72px;
  padding: 42px;
  border-radius: var(--radius-xl);
  background: var(--color-text);
  color: var(--color-panel);
  box-shadow:
    inset 0 1px 0 var(--highlight-dark),
    0 28px 60px var(--shadow-blue-strong);
}

.help-ticket-panel h2 {
  margin-top: 10px;
  color: var(--color-panel);
}

.help-ticket-panel p:last-child {
  max-width: 62em;
  margin-bottom: 0;
  color: var(--color-border);
}

.help-ticket-panel .btn {
  min-width: 136px;
}

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

  .help-route-card {
    max-width: var(--text-max);
  }

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

  .help-fact-strip div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--color-border);
  }

  .help-fact-strip div:nth-child(4) {
    border-top: 1px solid var(--color-border);
  }

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

  .help-category-head {
    max-width: var(--text-max);
  }
}

@media (max-width: 700px) {
  .help-hero {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .help-hero::before {
    top: auto;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 24%;
  }

  .help-hero::after {
    width: 38%;
    height: 16%;
  }

  .help-route-card {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  .help-route-flow div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .help-fact-strip {
    grid-template-columns: 1fr;
  }

  .help-fact-strip div {
    min-height: 88px;
    padding: 18px 22px;
  }

  .help-fact-strip div + div,
  .help-fact-strip div:nth-child(3) {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .help-category {
    gap: 22px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .help-category:first-of-type {
    padding-top: 12px;
  }

  .help-ticket-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 52px;
    padding: 28px;
    border-radius: var(--radius-lg);
  }

  .help-ticket-panel .btn {
    width: 100%;
  }
}