.page-faq {
  background: var(--navy-900);
  color: var(--white-100);
  overflow-x: hidden;
}

.page-faq .label {
  color: var(--mist-400);
}

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

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 76px) 0 clamp(26px, 4vw, 52px);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: -150px;
  height: 480px;
  background:
    radial-gradient(46% 68% at 16% 42%, rgba(34, 224, 255, 0.20), transparent 68%),
    radial-gradient(42% 66% at 84% 18%, rgba(123, 255, 60, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.page-faq .faq-hero__title {
  margin-top: 16px;
  max-width: 15em;
  color: var(--white-100);
}

.page-faq .faq-hero__lead {
  margin-top: 20px;
  max-width: 60ch;
  font-size: var(--fs-18);
  line-height: 1.85;
  color: var(--mist-400);
}

.page-faq .faq-facts {
  list-style: none;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--steel-600);
  border: 1px solid var(--steel-600);
}

.page-faq .faq-fact {
  background: var(--navy-700);
  padding: 16px 18px;
}

.page-faq .faq-fact__num {
  font-family: var(--font-mono);
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--cyan-400);
}

.page-faq .faq-fact__text {
  margin-top: 8px;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--mist-400);
}

/* ---------- 主体骨架 ---------- */

.page-faq .faq-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  padding-bottom: clamp(48px, 8vw, 110px);
}

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

/* ---------- 主题索引 ---------- */

.page-faq .faq-index {
  border: 1px solid var(--steel-600);
  background: var(--navy-700);
  padding: 14px;
}

.page-faq .faq-index__title {
  margin-bottom: 12px;
}

.page-faq .faq-index__list {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-faq .faq-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid transparent;
  color: var(--mist-400);
  font-size: var(--fs-14);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.page-faq .faq-index__link:hover,
.page-faq .faq-index__link:focus-visible {
  color: var(--cyan-400);
  border-color: var(--cyan-400);
  background: rgba(34, 224, 255, 0.08);
  outline: none;
}

.page-faq .faq-index__num {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: inherit;
  opacity: 0.6;
}

/* ---------- 主题区块 ---------- */

.page-faq .faq-topic {
  scroll-margin-top: calc(var(--header-h) + 28px);
  margin-top: clamp(30px, 5vw, 54px);
  padding-top: clamp(30px, 5vw, 54px);
  border-top: 1px solid var(--steel-600);
}

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

.page-faq .faq-topic h2 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white-100);
}

.page-faq .faq-topic__intro {
  margin-top: 14px;
  max-width: 62ch;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: var(--mist-400);
}

/* ---------- 折叠问答 ---------- */

.page-faq .faq-list {
  margin-top: clamp(20px, 3vw, 30px);
  border: 1px solid var(--steel-600);
  background: var(--navy-700);
  box-shadow: var(--shadow-hard);
}

.page-faq .faq-item {
  border-left: 3px solid var(--steel-600);
  border-bottom: 1px solid var(--steel-600);
  transition: border-left-color 0.2s ease, background-color 0.2s ease;
}

.page-faq .faq-item:last-child {
  border-bottom: 0;
}

.page-faq .faq-item[open] {
  border-left-color: var(--green-400);
  background: rgba(123, 255, 60, 0.035);
}

.page-faq .faq-q {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 18px 18px 54px;
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1.65;
  color: var(--white-100);
  transition: color 0.18s ease;
}

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

.page-faq .faq-q::marker {
  content: "";
}

.page-faq .faq-q::before {
  content: "+";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--steel-600);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 20px;
  text-align: center;
  color: var(--cyan-400);
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.page-faq .faq-item[open] .faq-q::before {
  content: "–";
  color: var(--navy-900);
  background: var(--green-400);
  border-color: var(--green-400);
}

.page-faq .faq-q:hover,
.page-faq .faq-q:focus-visible {
  color: var(--cyan-400);
  outline: none;
}

.page-faq .faq-a {
  padding: 0 18px 22px 54px;
  max-width: 70ch;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: var(--mist-400);
}

/* ---------- 步骤编号 ---------- */

.page-faq .faq-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq .faq-steps li {
  position: relative;
  padding-left: 36px;
  font-size: var(--fs-16);
  line-height: 1.8;
  transition: color 0.18s ease;
}

.page-faq .faq-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-variant-numeric: tabular-nums;
  color: var(--cyan-400);
  transition: color 0.18s ease;
}

.page-faq .faq-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 26px;
  bottom: -12px;
  width: 1px;
  background: var(--steel-600);
}

.page-faq .faq-steps li:hover {
  color: var(--white-100);
}

.page-faq .faq-steps li:hover::before {
  color: var(--green-400);
}

/* ---------- 提示牌 ---------- */

.page-faq .faq-callout {
  margin-top: 16px;
  border: 1px solid var(--orange-500);
  border-left-width: 4px;
  background: rgba(255, 122, 47, 0.07);
  padding: 12px 14px;
}

.page-faq .faq-callout__key {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-500);
}

.page-faq .faq-callout__text {
  margin-top: 6px;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--white-100);
}

/* ---------- 配图 ---------- */

.page-faq .faq-figure {
  margin: clamp(22px, 3.5vw, 34px) 0 0;
}

.page-faq .faq-figure--portrait {
  max-width: 272px;
}

.page-faq .faq-figure .media-frame {
  width: 100%;
}

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

.page-faq .faq-figure__cap {
  margin-top: 10px;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--mist-400);
}

/* ---------- 求助区块 ---------- */

.page-faq .faq-support {
  margin-top: clamp(20px, 3vw, 30px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--steel-600);
  border: 1px solid var(--steel-600);
}

.page-faq .faq-support__card {
  background: var(--navy-700);
  padding: 16px 18px;
}

.page-faq .faq-support__label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist-400);
}

.page-faq .faq-support__value {
  margin-top: 8px;
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--cyan-400);
  overflow-wrap: anywhere;
}

.page-faq .faq-prep {
  margin-top: clamp(20px, 3vw, 30px);
  border: 1px solid var(--steel-600);
  background: var(--navy-700);
  padding: 20px;
}

.page-faq .faq-prep__title {
  margin-bottom: 16px;
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--white-100);
}

.page-faq .faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 30px);
}

/* ---------- 相关页面 ---------- */

.page-faq .faq-more {
  margin-top: clamp(36px, 6vw, 64px);
  padding-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid var(--steel-600);
}

.page-faq .faq-more__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq .faq-more__list a {
  font-size: var(--fs-16);
}

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

@media (min-width: 560px) {
  .page-faq .faq-q {
    padding: 20px 22px 20px 58px;
  }

  .page-faq .faq-q::before {
    left: 22px;
    top: 20px;
  }

  .page-faq .faq-a {
    padding: 0 22px 24px 58px;
  }
}

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

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

  .page-faq .faq-more__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
  }
}

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

  .page-faq .faq-index {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    padding: 18px;
  }

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

  .page-faq .faq-index__link {
    width: 100%;
    align-items: baseline;
    white-space: normal;
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-index__link,
  .page-faq .faq-item,
  .page-faq .faq-q,
  .page-faq .faq-q::before,
  .page-faq .faq-steps li,
  .page-faq .faq-steps li::before {
    transition: none;
  }
}
