.page-faq {
  --faq-side-w: 260px;
  --faq-gap: clamp(24px, 4vw, 56px);
  --faq-heading-h: clamp(2.2rem, 5vw, 3.8rem);
  --faq-lead-w: 640px;
  color: var(--c-paper);
  background-color: var(--c-ink);
  overflow-x: hidden;
}

/* ===== 首屏 ===== */
.page-faq .page-hero {
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 88px));
  padding-bottom: clamp(48px, 8vw, 96px);
  position: relative;
  isolation: isolate;
}

.page-faq .page-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 auto;
  width: 40%;
  right: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.12) 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.page-faq .page-hero::after {
  content: "FAQ";
  position: absolute;
  top: 80%;
  right: clamp(16px, 4vw, 56px);
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.3);
  z-index: -1;
  pointer-events: none;
}

.page-faq .page-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.page-faq .page-hero__content {
  max-width: 720px;
}

.page-faq .page-hero__title {
  font-family: var(--font-sans);
  font-size: var(--faq-heading-h);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--c-gold);
  margin: 18px 0 22px;
}

.page-faq .page-hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: var(--c-paper);
  max-width: var(--faq-lead-w);
  margin: 0;
}

.page-faq .page-hero__figure {
  margin: 0;
  position: relative;
}

.page-faq .page-hero__img,
.page-faq .switch-guide__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 12px 12px 0 rgba(212, 175, 55, 0.2);
}

/* ===== 弹性布局 ===== */
.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--faq-gap);
  align-items: start;
}

.page-faq .faq-layout__side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: none;
}

.page-faq .faq-layout__side-inner {
  padding: 24px;
  border-top: 2px solid var(--c-gold);
  background: rgba(255, 255, 255, 0.02);
}

.page-faq .faq-layout__side-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-neon);
  margin: 0 0 16px;
}

.page-faq .faq-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-index__item {
  margin-bottom: 2px;
}

.page-faq .faq-index__link {
  display: block;
  padding: 10px 12px;
  color: var(--c-paper);
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.page-faq .faq-index__link:hover,
.page-faq .faq-index__link:focus-visible {
  border-left-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(212, 175, 55, 0.08);
}

.page-faq .faq-layout__side-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(168, 197, 184, 0.25);
}

.page-faq .faq-layout__side-note-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-mist);
  margin: 0 0 8px;
}

.page-faq .faq-layout__side-note-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--c-mist);
  margin: 0;
}

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

.page-faq .faq-layout__heading {
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--c-paper);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.page-faq .faq-layout__lead {
  font-size: 1rem;
  color: var(--c-mist);
  margin: 0 0 28px;
  line-height: 1.6;
}

.page-faq .faq-item {
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.page-faq .faq-item:first-of-type {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.page-faq .faq-item__summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 8px;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}

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

.page-faq .faq-item__summary:hover,
.page-faq .faq-item__summary:focus-visible {
  background: rgba(212, 175, 55, 0.05);
}

.page-faq .faq-item__summary:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: -2px;
}

.page-faq .faq-item__number {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-gold);
  min-width: 2.4rem;
}

.page-faq .faq-item__title {
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-paper);
}

.page-faq .faq-item__body {
  padding: 0 8px 24px 68px;
  max-width: 72ch;
}

.page-faq .faq-item__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--c-mist);
}

.page-faq .faq-item__body a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-item[open] .faq-item__summary::after {
  content: "−";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--c-neon);
  justify-self: end;
}

.page-faq .faq-item:not([open]) .faq-item__summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--c-gold);
  justify-self: end;
}

/* ===== 切换指南 ===== */
.page-faq .section--switch {
  position: relative;
}

.page-faq .switch-guide {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--faq-gap);
  align-items: center;
}

.page-faq .switch-guide__content {
  min-width: 0;
}

.page-faq .switch-guide__heading,
.page-faq .collect-guide__heading,
.page-faq .data-notes__heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--c-gold);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.page-faq .switch-guide__lead,
.page-faq .collect-guide__lead,
.page-faq .data-notes__lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-paper);
  margin: 0;
}

.page-faq .switch-guide__steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  counter-reset: switch-step;
}

.page-faq .switch-guide__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.2);
}

.page-faq .switch-guide__step:first-child {
  border-top: 1px solid rgba(244, 239, 230, 0.2);
}

.page-faq .switch-guide__num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-neon);
  min-width: 2.2rem;
}

.page-faq .switch-guide__text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.82);
}

.page-faq .switch-guide__step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-paper);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}

.page-faq .switch-guide__tip {
  margin: 28px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--c-neon);
  background: rgba(0, 232, 143, 0.08);
  color: var(--c-paper);
  font-size: 0.88rem;
  line-height: 1.6;
}

.page-faq .switch-guide__figure {
  margin: 0;
}

.page-faq .switch-guide__img {
  border-color: rgba(168, 197, 184, 0.3);
  box-shadow: 12px 12px 0 rgba(168, 197, 184, 0.2);
}

/* ===== 收藏与返回 ===== */
.page-faq .section--collect {
  position: relative;
}

.page-faq .section--collect::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(212, 175, 55, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  opacity: 0.4;
}

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

.page-faq .collect-guide__header {
  max-width: 720px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.page-faq .collect-guide__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 24px);
}

.page-faq .collect-guide__card {
  padding: clamp(20px, 3vw, 28px);
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-top: 2px solid rgba(212, 175, 55, 0.6);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-faq .collect-guide__card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.page-faq .collect-guide__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-gold);
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

.page-faq .collect-guide__card-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.86);
  max-width: 48ch;
}

/* ===== 数据口径 ===== */
.page-faq .section--faq-data {
  background: var(--c-pine);
}

.page-faq .data-notes__intro {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.page-faq .data-notes__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 40px);
}

.page-faq .data-note {
  padding: 24px 0;
  border-top: 1px solid rgba(168, 197, 184, 0.35);
}

.page-faq .data-note__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-paper);
  margin: 0 0 8px;
}

.page-faq .data-note__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.86);
  max-width: 62ch;
}

/* ===== 底部求助 ===== */
.page-faq .section--contact-help {
  background: var(--c-carbon);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.page-faq .more-help {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-faq .more-help__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--c-gold);
  margin: 0 0 12px;
}

.page-faq .more-help__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.88);
  max-width: 56ch;
}

.page-faq .more-help__text a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .more-help__meta {
  padding-top: 20px;
  border-top: 1px solid rgba(168, 197, 184, 0.18);
}

.page-faq .more-help__meta-line {
  margin: 0 0 4px;
  font-size: 0.82rem;
  color: var(--c-mist);
  line-height: 1.6;
}

/* ===== 显现动效 ===== */
.page-faq [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-faq [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ===== 桌面端 ===== */
@media (min-width: 768px) {
  .page-faq .page-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }

  .page-faq .faq-layout {
    grid-template-columns: var(--faq-side-w) minmax(0, 1fr);
  }

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

  .page-faq .switch-guide {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  }

  .page-faq .collect-guide__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-faq .collect-guide__card:last-child {
    grid-column: 1 / -1;
  }

  .page-faq .data-notes__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-faq .data-note {
    padding: 28px 0;
  }

  .page-faq .data-note:first-child,
  .page-faq .data-note:nth-child(2) {
    border-top: 1px solid rgba(168, 197, 184, 0.35);
  }

  .page-faq .data-note:nth-child(3),
  .page-faq .data-note:nth-child(4) {
    border-top: 1px solid rgba(168, 197, 184, 0.35);
  }

  .page-faq .more-help {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }

  .page-faq .more-help__meta {
    padding-top: 0;
    border-top: 0;
  }
}

@media (min-width: 1080px) {
  .page-faq .collect-guide__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-faq .collect-guide__card:last-child {
    grid-column: auto;
  }

  .page-faq .data-notes__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-faq .collect-guide__card,
  .page-faq .switch-guide__img,
  .page-faq .page-hero__img {
    transition: none;
  }
}
