.page-faq {
  --faq-rail-w: 236px;
  --faq-gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(48px, 8vw, 96px);
  background: var(--mq-night);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(104px, 15vw, 176px) 0 clamp(44px, 6vw, 76px);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20% -12% auto -12%;
  height: 132%;
  background:
    radial-gradient(72% 62% at 84% 8%, rgba(0, 232, 198, 0.2), transparent 64%),
    radial-gradient(58% 52% at 4% 74%, rgba(255, 122, 47, 0.14), transparent 66%);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%;
  right: -8%;
  bottom: -58px;
  height: 120px;
  background: linear-gradient(90deg, rgba(0, 232, 198, 0.18), rgba(15, 52, 42, 0.6) 46%, rgba(255, 122, 47, 0.16));
  transform: skewY(var(--mq-shear));
  pointer-events: none;
}

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

.page-faq .faq-hero__eyebrow {
  margin: 20px 0 0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mq-glow);
}

.page-faq .faq-hero h1 {
  margin: 16px 0 0;
  max-width: 15em;
  font-size: clamp(40px, 7.4vw, 86px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--mq-cream);
}

.page-faq .faq-hero__lead {
  margin: clamp(20px, 3vw, 30px) 0 0;
  max-width: 38em;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.75;
  color: rgba(244, 241, 230, 0.78);
}

.page-faq .faq-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 4vw, 52px);
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 18px 22px;
  list-style: none;
  border: 1px solid var(--mq-stone);
  border-radius: var(--mq-radius);
  background: rgba(15, 52, 42, 0.55);
  backdrop-filter: blur(10px);
}

.page-faq .faq-hero__stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mq-mist);
}

.page-faq .faq-hero__stats .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--mq-glow);
}

/* ---------- 六类总览 ---------- */
.page-faq .faq-overview {
  position: relative;
}

.page-faq .faq-overview__head {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(32px, 5vw, 56px);
}

.page-faq .faq-overview__intro .display-lg {
  margin: 14px 0 0;
  max-width: 14em;
}

.page-faq .faq-overview__intro .prose {
  margin: 18px 0 0;
  max-width: 38em;
  color: rgba(244, 241, 230, 0.74);
}

.page-faq .faq-overview__art {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--mq-stone);
  border-radius: var(--mq-radius);
  background: var(--mq-moss);
  aspect-ratio: 12 / 7;
}

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

.page-faq .faq-overview__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.page-faq .faq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  border: 1px solid var(--mq-stone);
  border-radius: var(--mq-radius);
  background: linear-gradient(158deg, var(--mq-moss), rgba(8, 26, 21, 0.92));
  color: inherit;
  text-decoration: none;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.page-faq .faq-card::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mq-clay);
  opacity: 0.5;
  transition: opacity 0.28s ease, background-color 0.28s ease;
}

.page-faq .faq-card:hover,
.page-faq .faq-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--mq-glow);
  box-shadow: 0 0 0 1px rgba(0, 232, 198, 0.32), var(--mq-shadow-lift);
}

.page-faq .faq-card:hover::after,
.page-faq .faq-card:focus-visible::after {
  opacity: 1;
  background: var(--mq-glow);
}

.page-faq .faq-card__no {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mq-glow);
}

.page-faq .faq-card__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--mq-cream);
}

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

/* ---------- 主体两栏 ---------- */
.page-faq .faq-stage {
  display: block;
  margin-top: clamp(48px, 7vw, 88px);
}

.page-faq .faq-rail {
  min-width: 0;
  margin-bottom: 30px;
}

.page-faq .faq-rail__title {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mq-mist);
}

.page-faq .faq-rail__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 2px 2px 10px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-faq .faq-rail__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--mq-stone);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  color: rgba(244, 241, 230, 0.74);
  text-decoration: none;
  transition: color 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.page-faq .faq-rail__link .mono {
  font-size: 12px;
  color: var(--mq-glow);
}

.page-faq .faq-rail__link:hover,
.page-faq .faq-rail__link:focus-visible {
  color: var(--mq-cream);
  border-color: var(--mq-glow);
  background: rgba(0, 232, 198, 0.08);
}

.page-faq .faq-panels {
  min-width: 0;
}

.page-faq .faq-cat {
  scroll-margin-top: calc(var(--mq-header-h) + 28px);
  padding-top: clamp(30px, 5vw, 56px);
  border-top: 1px solid var(--mq-stone);
}

.page-faq .faq-cat:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-faq .faq-cat__head {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2.5vw, 26px);
  margin-bottom: 14px;
}

.page-faq .faq-cat__no {
  flex: 0 0 auto;
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--mq-stone);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.page-faq .faq-cat.is-current .faq-cat__no {
  color: var(--mq-glow);
  text-shadow: 0 0 30px rgba(0, 232, 198, 0.42);
}

.page-faq .faq-cat__title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--mq-cream);
}

.page-faq .faq-cat__lead {
  margin: 0 0 24px;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(244, 241, 230, 0.72);
}

/* ---------- 最短路径步骤 ---------- */
.page-faq .step-list {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.page-faq .step-list > li {
  counter-increment: step;
  position: relative;
  padding: 15px 18px 15px 62px;
  border: 1px solid var(--mq-stone);
  border-radius: 14px;
  background: rgba(15, 52, 42, 0.5);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 241, 230, 0.82);
}

.page-faq .step-list > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--mq-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mq-glow);
}

.page-faq .step-list > li::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 36px;
  bottom: -15px;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 232, 198, 0.55), rgba(0, 232, 198, 0));
}

.page-faq .step-list > li:last-child::after {
  display: none;
}

.page-faq .faq-quick__grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  margin-bottom: 28px;
}

.page-faq .faq-quick__grid .step-list {
  margin-bottom: 0;
}

.page-faq .faq-quick__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--mq-stone);
  border-radius: var(--mq-radius);
  background: var(--mq-moss);
  max-height: 420px;
}

.page-faq .faq-quick__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ---------- 双栏对照 ---------- */
.page-faq .compare {
  display: grid;
  gap: 1px;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--mq-stone);
  border-radius: var(--mq-radius);
  background: var(--mq-stone);
}

.page-faq .compare__side {
  padding: clamp(20px, 3vw, 28px);
  background: var(--mq-moss);
}

.page-faq .compare__side--alt {
  background: linear-gradient(160deg, rgba(30, 74, 60, 0.9), rgba(4, 7, 10, 0.95));
}

.page-faq .compare__label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mq-glow);
}

.page-faq .compare__title {
  margin: 0 0 14px;
  font-size: clamp(17px, 2.3vw, 21px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--mq-cream);
}

.page-faq .compare__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-faq .compare__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(244, 241, 230, 0.76);
}

.page-faq .compare__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mq-clay);
}

/* ---------- 折叠问答 ---------- */
.page-faq .faq-item {
  border-bottom: 1px solid var(--mq-stone);
}

.page-faq .faq-item > summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 700;
  line-height: 1.62;
  color: var(--mq-cream);
  transition: color 0.24s ease;
}

.page-faq .faq-item > summary::-webkit-details-marker {
  display: none;
}

.page-faq .faq-item > summary::marker {
  content: "";
}

.page-faq .faq-item > summary:hover,
.page-faq .faq-item > summary:focus-visible {
  color: var(--mq-glow);
}

.page-faq .faq-item__q {
  flex: 1 1 auto;
  min-width: 0;
}

.page-faq .faq-item__mark {
  flex: 0 0 auto;
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 1px solid var(--mq-stone);
  border-radius: 50%;
  transition: border-color 0.24s ease, background-color 0.24s ease;
}

.page-faq .faq-item__mark::before,
.page-faq .faq-item__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--mq-glow);
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

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

.page-faq .faq-item[open] .faq-item__mark {
  border-color: var(--mq-glow);
  background: rgba(0, 232, 198, 0.12);
}

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

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

.page-faq .faq-item__a p {
  margin: 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(244, 241, 230, 0.74);
}

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

/* ---------- 人工渠道 ---------- */
.page-faq .faq-channels {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}

.page-faq .faq-channel {
  padding: 20px;
  border: 1px solid var(--mq-stone);
  border-radius: 14px;
  background: rgba(15, 52, 42, 0.5);
}

.page-faq .faq-channel__k {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mq-mist);
}

.page-faq .faq-channel__v {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--mq-cream);
  word-break: break-word;
}

.page-faq .faq-channel__v a {
  color: var(--mq-glow);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 232, 198, 0.4);
}

.page-faq .faq-channel__v a:hover,
.page-faq .faq-channel__v a:focus-visible {
  border-bottom-color: var(--mq-glow);
}

/* ---------- 收尾 ---------- */
.page-faq .faq-next {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(38px, 5vw, 58px);
  padding-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid var(--mq-stone);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-faq .faq-overview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .page-faq .compare {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-faq .faq-channels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-faq .faq-quick__grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
    align-items: start;
  }

  .page-faq .faq-quick__media img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 260px;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-overview__head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
}

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

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

  .page-faq .faq-rail {
    position: sticky;
    top: calc(var(--mq-header-h) + 28px);
    margin-bottom: 0;
  }

  .page-faq .faq-rail__list {
    flex-direction: column;
    gap: 2px;
    padding: 0;
    overflow: visible;
  }

  .page-faq .faq-rail__link {
    border: 0;
    border-left: 2px solid var(--mq-stone);
    border-radius: 0 10px 10px 0;
    padding: 10px 14px 10px 16px;
    white-space: normal;
    color: rgba(244, 241, 230, 0.7);
  }

  .page-faq .faq-rail__link:hover,
  .page-faq .faq-rail__link:focus-visible {
    border-left-color: var(--mq-glow);
    background: rgba(15, 52, 42, 0.72);
    color: var(--mq-cream);
  }

  .page-faq .faq-item > summary {
    padding: 20px 0;
  }

  .page-faq .faq-item__a {
    padding-right: 46px;
  }
}
</final>
