/* ===================== 帮助中心 / page-faq ===================== */

.page-faq {
  --faq-gap: clamp(20px, 3vw, 34px);
  position: relative;
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font-body);
}

/* ---------- 首屏 ---------- */

.page-faq .faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-space) + clamp(20px, 4vw, 48px)) 0 clamp(34px, 5vw, 68px);
  background:
    radial-gradient(115% 85% at 90% -12%, rgba(43, 227, 198, 0.14), transparent 58%),
    radial-gradient(95% 80% at -10% 6%, rgba(255, 107, 26, 0.2), transparent 62%),
    var(--ink);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 42, 61, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 42, 61, 0.55) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 76%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 76%);
}

.page-faq .faq-hero-inner {
  position: relative;
  z-index: 1;
}

.page-faq .faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--stone);
}

.page-faq .faq-eyebrow .mono {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-faq .faq-title {
  margin: 16px 0 0;
  max-width: 21ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(29px, 5.2vw, 58px);
  line-height: 1.09;
  letter-spacing: -0.02em;
  color: var(--fog);
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.page-faq .faq-lede {
  margin: 22px 0 0;
  max-width: 64ch;
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.85;
  color: var(--stone);
}

.page-faq .faq-hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: clamp(28px, 4vw, 46px);
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 20px;
  background: var(--ink);
}

.page-faq .faq-hero-stat .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1;
  color: var(--orange);
}

.page-faq .faq-hero-stat .stat-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--stone);
}

.page-faq .faq-hero-media {
  margin: clamp(30px, 4vw, 52px) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 40px 90px -70px rgba(0, 0, 0, 0.95);
}

.page-faq .faq-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 问答主干 ---------- */

.page-faq .faq-tree {
  padding: clamp(42px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
  background: var(--ink);
}

.page-faq .faq-tree-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-faq .faq-trunk {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.95), rgba(11, 14, 17, 0.75));
}

.page-faq .faq-trunk-title {
  margin: 0 0 14px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--stone);
}

.page-faq .faq-trunk-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-trunk-list::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 107, 26, 0.7), rgba(43, 227, 198, 0.6) 55%, rgba(228, 49, 43, 0.6));
}

.page-faq .faq-trunk-item {
  position: relative;
}

.page-faq .faq-trunk-item:nth-child(1) {
  --node: var(--orange);
  --node-ring: rgba(255, 107, 26, 0.35);
}

.page-faq .faq-trunk-item:nth-child(2) {
  --node: var(--cyan);
  --node-ring: rgba(43, 227, 198, 0.35);
}

.page-faq .faq-trunk-item:nth-child(3) {
  --node: var(--red);
  --node-ring: rgba(228, 49, 43, 0.35);
}

.page-faq .faq-trunk-item:nth-child(4) {
  --node: var(--gold);
  --node-ring: rgba(242, 193, 78, 0.35);
}

.page-faq .faq-trunk-item:nth-child(5) {
  --node: var(--cyan);
  --node-ring: rgba(43, 227, 198, 0.35);
}

.page-faq .faq-trunk-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-faq .faq-trunk-node {
  position: relative;
  z-index: 1;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--node-ring, var(--line));
  border-radius: 50%;
  background: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--node, var(--stone));
  transition: box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.page-faq .faq-trunk-link:hover,
.page-faq .faq-trunk-link:focus-visible {
  color: var(--fog);
}

.page-faq .faq-trunk-link:hover .faq-trunk-node,
.page-faq .faq-trunk-link:focus-visible .faq-trunk-node {
  color: var(--ink);
  background: var(--node, var(--orange));
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.05);
}

.page-faq .faq-trunk-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--stone);
}

/* ---------- 问答分支 ---------- */

.page-faq .faq-branches {
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vw, 58px);
  min-width: 0;
}

.page-faq .faq-group {
  --g-accent: var(--orange);
  --g-soft: rgba(255, 107, 26, 0.1);
  scroll-margin-top: calc(var(--header-space) + 24px);
}

.page-faq .faq-group[data-node="cyan"] {
  --g-accent: var(--cyan);
  --g-soft: rgba(43, 227, 198, 0.1);
}

.page-faq .faq-group[data-node="red"] {
  --g-accent: var(--red);
  --g-soft: rgba(228, 49, 43, 0.1);
}

.page-faq .faq-group[data-node="gold"] {
  --g-accent: var(--gold);
  --g-soft: rgba(242, 193, 78, 0.1);
}

.page-faq .faq-group-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-group-node {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--g-accent);
  border-radius: 14px;
  background: var(--g-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--g-accent);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.45);
}

.page-faq .faq-group-copy {
  min-width: 0;
}

.page-faq .faq-group-title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fog);
}

.page-faq .faq-group-lede {
  margin: 9px 0 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--stone);
}

.page-faq .faq-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.page-faq .faq-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.88), rgba(18, 26, 43, 0.5));
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.page-faq .faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--g-accent);
  opacity: 0.4;
  transition: opacity 0.25s ease, top 0.25s ease, bottom 0.25s ease;
}

.page-faq .faq-item:hover {
  box-shadow: 0 20px 44px -34px rgba(0, 0, 0, 0.95);
}

.page-faq .faq-item[open] {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.98), rgba(18, 26, 43, 0.72));
}

.page-faq .faq-item[open]::before {
  top: 10px;
  bottom: 10px;
  opacity: 1;
}

.page-faq .faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px 17px 22px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(15px, 1.6vw, 16.5px);
  font-weight: 600;
  line-height: 1.55;
  color: var(--fog);
  transition: color 0.25s ease;
}

.page-faq .faq-question::-webkit-details-marker {
  display: none;
}

.page-faq .faq-question:hover {
  color: var(--g-accent);
}

.page-faq .faq-question:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -3px;
  border-radius: var(--radius-sm);
}

.page-faq .faq-question-text {
  min-width: 0;
}

.page-faq .faq-toggle {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.page-faq .faq-toggle::before,
.page-faq .faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  background: var(--stone);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.page-faq .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq .faq-item[open] .faq-toggle {
  border-color: var(--g-accent);
  background: var(--g-soft);
}

.page-faq .faq-item[open] .faq-toggle::before,
.page-faq .faq-item[open] .faq-toggle::after {
  background: var(--g-accent);
}

.page-faq .faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.page-faq .faq-answer {
  padding: 0 22px 20px;
}

.page-faq .faq-answer::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--g-accent), rgba(30, 42, 61, 0) 72%);
  opacity: 0.55;
}

.page-faq .faq-answer p {
  margin: 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.88;
  color: var(--stone);
}

.page-faq .faq-answer p + p {
  margin-top: 10px;
}

.page-faq .faq-answer .mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--fog);
}

.page-faq .faq-answer .text-link {
  color: var(--g-accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.25s ease;
}

.page-faq .faq-answer .text-link:hover {
  color: var(--cyan);
}

/* ---------- 路径信息图 ---------- */

.page-faq .faq-pathmap {
  margin: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 70% at 12% 18%, rgba(43, 227, 198, 0.09), transparent 62%),
    radial-gradient(70% 60% at 92% 88%, rgba(255, 107, 26, 0.09), transparent 60%),
    var(--ink-2);
}

.page-faq .faq-pathmap img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.page-faq .faq-pathmap .media-caption {
  max-width: 1000px;
  margin: 14px auto 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--stone);
}

/* ---------- 页尾提示条 ---------- */

.page-faq .faq-tail {
  padding: 0 0 clamp(48px, 7vw, 92px);
  background: var(--ink);
}

.page-faq .faq-tail-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 3.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 107, 26, 0.12), rgba(43, 227, 198, 0.08) 62%, transparent),
    var(--ink-2);
}

.page-faq .faq-tail-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.5vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fog);
}

.page-faq .faq-tail-text {
  margin: 12px 0 0;
  max-width: 60ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--stone);
}

.page-faq .faq-tail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 560px) {
  .page-faq .faq-hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-faq .faq-tail-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
  }
}

@media (min-width: 980px) {
  .page-faq .faq-tree-inner {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(36px, 5vw, 76px);
  }

  .page-faq .faq-trunk {
    position: sticky;
    top: calc(var(--header-space) + 18px);
  }

  .page-faq .faq-trunk-link {
    padding: 11px 0;
  }
}

@media (max-width: 559px) {
  .page-faq .faq-question {
    padding: 15px 16px 15px 18px;
    gap: 12px;
  }

  .page-faq .faq-answer {
    padding: 0 16px 18px;
  }

  .page-faq .faq-toggle {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }
}
<<<END>>>
