.page-faq {
  --faq-gap: 28px;
  --faq-line: rgba(143, 163, 189, .24);
  --faq-line-strong: rgba(143, 163, 189, .42);
  background: var(--c-mist);
  color: var(--c-ink);
  overflow-x: hidden;
}

.page-faq .faq-hero {
  position: relative;
  background: var(--c-deep);
  color: var(--c-white);
  padding: 40px 0 64px;
  overflow: hidden;
  isolation: isolate;
}

.page-faq .faq-hero .grid-texture {
  position: absolute;
  inset: 0;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero .edge-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

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

.page-faq .faq-hero__crumb {
  margin-bottom: 28px;
}

.page-faq .faq-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 7vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 900;
  max-width: 16ch;
}

.page-faq .faq-hero__lede {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(242, 246, 251, .82);
}

.page-faq .faq-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

/* ---------- 通用区块头 ---------- */
.page-faq .section-head {
  max-width: 68ch;
  margin-bottom: 44px;
}

.page-faq .section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(1.55rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
}

.page-faq .section--deep .section-head h2,
.page-faq .section--deep .section-head .section-lede {
  color: var(--c-white);
}

.page-faq .section-lede {
  margin: 16px 0 0;
  font-size: .98rem;
  line-height: 1.8;
  color: inherit;
  opacity: .86;
}

/* ---------- 三步上手 ---------- */
.page-faq .intro-grid {
  display: grid;
  gap: 40px;
}

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

.page-faq .steps__item {
  position: relative;
}

.page-faq .step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--faq-line);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease;
}

.page-faq .steps__item:last-child .step {
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .step:hover,
.page-faq .step:focus-visible {
  border-color: var(--c-cyan);
}

.page-faq .step__no {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--faq-line-strong);
  border-radius: var(--radius);
  background: rgba(10, 26, 49, .55);
  color: var(--c-cyan);
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.page-faq .step:hover .step__no,
.page-faq .step:focus-visible .step__no {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  color: var(--c-deep);
}

.page-faq .step__body {
  display: block;
}

.page-faq .step__title {
  display: block;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--c-white);
}

.page-faq .step__desc {
  display: block;
  margin-top: 8px;
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(242, 246, 251, .72);
}

/* ---------- 图注 ---------- */
.page-faq .faq-figure {
  margin: 0;
}

.page-faq .faq-figure .media-frame {
  border: 1px solid var(--faq-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-stand);
}

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

.page-faq .faq-figure__cap {
  margin-top: 14px;
  font-size: .82rem;
  line-height: 1.75;
  color: var(--c-grid);
}

/* ---------- 折叠问答 ---------- */
.page-faq .qa-group {
  max-width: 900px;
}

.page-faq .qa {
  border-top: 1px solid var(--faq-line);
  scroll-margin-top: 110px;
}

.page-faq .qa:last-child {
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .qa__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 4px 20px 14px;
  border-left: 2px solid transparent;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.6;
  color: inherit;
  cursor: pointer;
  list-style: none;
  transition: border-color .18s ease, color .18s ease, padding-left .18s ease;
}

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

.page-faq .qa__q:hover {
  border-left-color: var(--faq-line-strong);
}

.page-faq .qa__q::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin: 7px 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.page-faq .qa[open] .qa__q {
  border-left-color: var(--c-cyan);
  padding-left: 18px;
}

.page-faq .qa[open] .qa__q::after {
  transform: rotate(-135deg);
  margin-top: 12px;
}

.page-faq .qa__a {
  padding: 0 4px 24px 18px;
  max-width: 70ch;
}

.page-faq .qa__a p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.85;
  opacity: .84;
}

/* ---------- 下载章节布局 ---------- */
.page-faq .dl-grid {
  display: grid;
  gap: 40px;
}

/* ---------- 版本时间轴 ---------- */
.page-faq .v-grid {
  display: grid;
  gap: 44px;
}

.page-faq .vline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 4px 0 0 26px;
}

.page-faq .vline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 26px;
  width: 1px;
  background: var(--faq-line-strong);
}

.page-faq .vline__item {
  position: relative;
  padding-bottom: 26px;
}

.page-faq .vline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 9px;
  width: 11px;
  height: 11px;
  background: var(--c-deep);
  border: 1px solid var(--c-cyan);
  border-radius: var(--radius);
  transform: rotate(45deg);
}

.page-faq .vline__tag {
  display: inline-block;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-white);
}

.page-faq .vline__item .tag {
  margin-left: 10px;
  vertical-align: middle;
}

.page-faq .vline__note {
  margin: 10px 0 0;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--c-grid);
  max-width: 42ch;
}

/* ---------- 反馈与联系 ---------- */
.page-faq .fb-grid {
  display: grid;
  gap: 24px;
}

.page-faq .fb-panel {
  padding: 28px 22px;
  border: 1px solid var(--faq-line);
  border-radius: var(--radius);
  background: rgba(22, 48, 79, .5);
}

.page-faq .fb-panel--contact {
  background: linear-gradient(150deg, rgba(123, 92, 255, .16), rgba(10, 26, 49, .7) 60%);
  border-color: rgba(34, 224, 206, .32);
}

.page-faq .fb-panel__title {
  margin: 0 0 18px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--c-white);
}

.page-faq .fb-list {
  margin: 0;
  padding: 0 0 0 20px;
  color: rgba(242, 246, 251, .82);
}

.page-faq .fb-list li {
  margin-bottom: 12px;
  font-size: .9rem;
  line-height: 1.75;
}

.page-faq .fb-list li::marker {
  color: var(--c-orange);
  font-family: var(--font-mono);
}

.page-faq .fb-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--faq-line);
  font-size: .84rem;
  line-height: 1.75;
  color: var(--c-grid);
}

.page-faq .fb-panel--contact .contact-line {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.page-faq .fb-panel--contact .contact-line__item {
  display: block;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(242, 246, 251, .9);
  word-break: break-word;
}

.page-faq .fb-panel--contact .contact-line__label {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--c-cyan);
  margin-bottom: 4px;
}

.page-faq .fb-panel--contact .contact-note {
  margin: 0 0 22px;
  font-size: .84rem;
  line-height: 1.75;
  color: var(--c-grid);
}

/* ---------- 回到顶部 ---------- */
.page-faq .to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(34, 224, 206, .5);
  border-radius: var(--radius);
  background: rgba(10, 26, 49, .9);
  color: var(--c-cyan);
  font-size: .8rem;
  letter-spacing: .06em;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background-color .18s ease, color .18s ease;
}

.page-faq .to-top:hover,
.page-faq .to-top:focus-visible {
  background: var(--c-cyan);
  color: var(--c-deep);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-faq .faq-hero {
    padding: 56px 0 84px;
  }

  .page-faq .fb-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .page-faq .fb-panel {
    padding: 34px 30px;
  }

  .page-faq .qa__q {
    font-size: 1.08rem;
    padding-right: 24px;
  }

  .page-faq .to-top {
    right: 28px;
    bottom: 28px;
  }
}

@media (min-width: 900px) {
  .page-faq .steps::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 48px;
    bottom: 48px;
    width: 1px;
    background: linear-gradient(180deg, rgba(34, 224, 206, .6), rgba(255, 122, 43, .5));
    z-index: 0;
  }

  .page-faq .intro-grid {
    grid-template-columns: 1.02fr .98fr;
    gap: 56px;
    align-items: start;
  }

  .page-faq .dl-grid {
    grid-template-columns: 1.1fr .9fr;
    gap: 52px;
    align-items: start;
  }

  .page-faq .v-grid {
    grid-template-columns: .78fr 1.22fr;
    gap: 60px;
    align-items: start;
  }

  .page-faq .qa-group {
    max-width: none;
  }

  .page-faq .faq-figure {
    position: sticky;
    top: 108px;
  }

  .page-faq .dl-grid .faq-figure {
    position: static;
  }
}

@media (min-width: 1180px) {
  .page-faq .faq-hero {
    padding: 72px 0 104px;
  }

  .page-faq .fb-grid {
    grid-template-columns: .92fr 1.08fr;
    gap: 36px;
  }

  .page-faq .fb-panel {
    padding: 40px 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .step,
  .page-faq .step__no,
  .page-faq .qa__q,
  .page-faq .qa__q::after,
  .page-faq .to-top {
    transition: none;
  }
}
