.page-faq {
  --fq-rail: 236px;
  --fq-gap: 56px;
  padding: 8px 0 clamp(56px, 9vw, 112px);
}

/* ── 首屏 ───────────────────────────────── */
.page-faq .fq-hero {
  position: relative;
  isolation: isolate;
  margin-top: 22px;
  padding-bottom: clamp(26px, 4vw, 40px);
  border-bottom: 1px solid var(--sx-line-soft);
}

.page-faq .fq-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  top: -46%;
  width: min(560px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(108, 76, 241, .3), transparent 62%);
  pointer-events: none;
}

.page-faq .fq-hero__title {
  margin: 16px 0 0;
  max-width: 22ch;
  color: var(--sx-silver);
  font-size: clamp(30px, 6.4vw, 66px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.page-faq .fq-hero__lede {
  margin: 20px 0 0;
  max-width: 66ch;
  color: var(--sx-mist);
  font-size: 16px;
  line-height: 1.85;
}

.page-faq .fq-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius);
  overflow: hidden;
  background: var(--sx-panel-deep);
}

.page-faq .fq-facts__item {
  padding: 16px 18px;
  border-right: 1px solid var(--sx-line);
  border-bottom: 1px solid var(--sx-line);
}

.page-faq .fq-facts__item:nth-child(2n) { border-right: 0; }
.page-faq .fq-facts__item:nth-last-child(-n+2) { border-bottom: 0; }

.page-faq .fq-facts__val {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: var(--sx-cyan);
}

.page-faq .fq-facts__unit {
  font-family: var(--sx-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--sx-silver);
}

.page-faq .fq-facts__key {
  margin: 6px 0 0;
  font-family: var(--sx-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sx-mist);
}

/* ── 手册骨架 ───────────────────────────── */
.page-faq .fq-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-top: clamp(30px, 5vw, 52px);
}

@media (min-width: 1024px) {
  .page-faq .fq-body {
    grid-template-columns: var(--fq-rail) minmax(0, 1fr);
    gap: var(--fq-gap);
    align-items: start;
  }

  .page-faq .fq-toc {
    position: sticky;
    top: var(--sx-anchor);
  }
}

/* ── 主题目录 ───────────────────────────── */
.page-faq .fq-toc {
  border-top: 1px solid var(--sx-line);
  padding-top: 14px;
}

.page-faq .fq-toc__label {
  margin: 0;
  font-family: var(--sx-font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sx-mist);
}

.page-faq .fq-toc__list {
  display: flex;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-faq .fq-toc__list::-webkit-scrollbar { display: none; }

.page-faq .fq-toc__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 13px;
  border: 1px solid var(--sx-line);
  border-radius: 999px;
  color: var(--sx-mist);
  font-size: 13px;
  text-decoration: none;
  transition: color .18s var(--sx-ease), border-color .18s var(--sx-ease);
}

.page-faq .fq-toc__list a:hover { color: var(--sx-silver); border-color: var(--sx-line); }

.page-faq .fq-toc__num {
  font-family: var(--sx-font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--sx-orange);
}

@media (min-width: 1024px) {
  .page-faq .fq-toc__list {
    flex-direction: column;
    overflow: visible;
    gap: 0;
    padding-bottom: 0;
  }

  .page-faq .fq-toc__list a {
    position: relative;
    padding: 12px 0 12px 18px;
    border: 0;
    border-bottom: 1px solid var(--sx-line-soft);
    border-radius: 0;
    font-size: 14px;
    width: 100%;
  }

  .page-faq .fq-toc__list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    bottom: 11px;
    width: 2px;
    background: transparent;
    transition: background .2s var(--sx-ease);
  }

  .page-faq .fq-toc__list a[aria-current="location"] {
    color: var(--sx-silver);
  }

  .page-faq .fq-toc__list a[aria-current="location"]::before {
    background: var(--sx-orange);
  }
}

/* ── 主题分组 ───────────────────────────── */
.page-faq .fq-manual { min-width: 0; }

.page-faq .fq-group {
  margin-bottom: clamp(38px, 6vw, 62px);
  scroll-margin-top: var(--sx-anchor);
}

.page-faq .fq-group__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sx-line);
  color: var(--sx-silver);
  font-size: clamp(21px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.page-faq .fq-group__num {
  font-family: var(--sx-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--sx-orange);
}

.page-faq .fq-group__count {
  margin-left: auto;
  font-family: var(--sx-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sx-mist);
  white-space: nowrap;
}

/* ── 图文分栏 ───────────────────────────── */
.page-faq .fq-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .page-faq .fq-split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-faq .fq-split--rev {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }

  .page-faq .fq-split--rev .fq-split__media { order: -1; }
}

.page-faq .fq-split__main { min-width: 0; }

.page-faq .fq-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius);
  background: var(--sx-panel-deep);
  overflow: hidden;
}

.page-faq .fq-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(158deg, rgba(108, 76, 241, .26), transparent 56%, rgba(59, 232, 224, .14));
  pointer-events: none;
}

.page-faq .fq-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq .fq-figure figcaption {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-top: 1px solid var(--sx-line);
  font-family: var(--sx-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sx-mist);
}

/* ── 问答条目 ───────────────────────────── */
.page-faq .fq-item { border-bottom: 1px solid var(--sx-line); }

.page-faq .fq-item > summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  color: var(--sx-silver);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  transition: color .18s var(--sx-ease);
}

.page-faq .fq-item > summary::-webkit-details-marker { display: none; }
.page-faq .fq-item > summary:hover { color: var(--sx-orange); }
.page-faq .fq-item > summary:focus-visible {
  outline: 2px solid var(--sx-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.page-faq .fq-item__mark {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 5px;
}

.page-faq .fq-item__mark::before,
.page-faq .fq-item__mark::after {
  content: "";
  position: absolute;
  background: var(--sx-orange);
  transition: transform .22s var(--sx-ease), opacity .22s var(--sx-ease);
}

.page-faq .fq-item__mark::before { left: 0; right: 0; top: 6px; height: 2px; }
.page-faq .fq-item__mark::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.page-faq .fq-item[open] .fq-item__mark::after { transform: scaleY(0); opacity: 0; }

.page-faq .fq-item__a {
  padding: 0 4px 24px 28px;
  color: var(--sx-mist);
  font-size: 15.5px;
  line-height: 1.85;
  animation: fq-drop .24s var(--sx-ease);
}

.page-faq .fq-item__a p { margin: 0 0 8px; }
.page-faq .fq-item__a p:last-child { margin-bottom: 0; }

.page-faq .fq-item__lede {
  position: relative;
  padding-left: 18px;
  color: var(--sx-silver);
  font-size: 16px;
  font-weight: 700;
}

.page-faq .fq-item__lede::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 10px;
  height: 2px;
  background: var(--sx-cyan);
}

.page-faq .fq-link {
  color: var(--sx-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 232, 224, .42);
  transition: border-color .18s var(--sx-ease);
}

.page-faq .fq-link:hover { border-color: var(--sx-cyan); }

.page-faq .fq-contact__val {
  font-family: var(--sx-font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--sx-cyan);
  word-break: break-all;
}

@keyframes fq-drop {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ── 底部引导 ───────────────────────────── */
.page-faq .fq-next {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 30px;
  border-top: 1px solid var(--sx-line);
}

.page-faq .fq-next__title {
  margin: 0;
  color: var(--sx-silver);
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-faq .fq-next__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.page-faq .fq-next__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius);
  background: var(--sx-panel-deep);
  text-decoration: none;
  transition: border-color .2s var(--sx-ease), background .2s var(--sx-ease);
}

.page-faq .fq-next__card:hover {
  border-color: var(--sx-orange);
  background: var(--sx-panel);
}

.page-faq .fq-next__card:focus-visible {
  outline: 2px solid var(--sx-orange);
  outline-offset: 2px;
}

.page-faq .fq-next__coord {
  font-family: var(--sx-font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sx-orange);
}

.page-faq .fq-next__name {
  color: var(--sx-silver);
  font-size: 16px;
  font-weight: 700;
}

.page-faq .fq-next__desc {
  color: var(--sx-mist);
  font-size: 14px;
  line-height: 1.7;
}

/* ── 窄屏收敛 ───────────────────────────── */
@media (max-width: 480px) {
  .page-faq .fq-facts { grid-template-columns: minmax(0, 1fr); }
  .page-faq .fq-facts__item { border-right: 0; }
  .page-faq .fq-facts__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--sx-line); }
  .page-faq .fq-facts__item:last-child { border-bottom: 0; }

  .page-faq .fq-item__a { padding-left: 4px; }

  .page-faq .fq-group__count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .fq-item__a { animation: none; }
  .page-faq .fq-item__mark::before,
  .page-faq .fq-item__mark::after,
  .page-faq .fq-toc__list a::before,
  .page-faq .fq-next__card { transition: none; }
}
</final>
