.page-faq {
  --faq-shadow: 0 20px 44px rgba(5, 19, 15, .5);
  --faq-grid-line: rgba(42, 95, 80, .16);
  position: relative;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(60, 140, 114, .16), transparent 62%),
    radial-gradient(760px 420px at 4% 34%, rgba(201, 162, 39, .07), transparent 68%),
    var(--bg);
  color: var(--ink);
  padding-bottom: clamp(56px, 8vw, 104px);
  overflow-x: clip;
}

.page-faq .breadcrumb {
  padding-top: clamp(18px, 3vw, 30px);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  margin-top: clamp(14px, 2.5vw, 22px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(23, 69, 58, .62), rgba(11, 33, 28, .08) 74%),
    repeating-linear-gradient(90deg, var(--faq-grid-line) 0 1px, transparent 1px 92px);
  padding: clamp(28px, 5vw, 54px) 0 clamp(30px, 5vw, 58px);
}

.page-faq .faq-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 40px);
}

.page-faq .faq-hero-copy .label {
  display: block;
  margin: 0 0 14px;
  color: var(--gold);
}

.page-faq .faq-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.25;
  color: var(--ink);
}

.page-faq .faq-hero .lede {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(15px, 1.7vw, 16.5px);
  line-height: 1.8;
  color: var(--muted);
}

.page-faq .faq-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line-faint);
  border: 1px solid var(--line-faint);
  border-radius: var(--r);
  overflow: hidden;
  align-self: end;
}

.page-faq .faq-hero-facts .fact {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  padding: 16px 14px 18px;
  background: linear-gradient(170deg, rgba(16, 49, 42, .96), rgba(5, 19, 15, .92));
}

.page-faq .faq-hero-facts dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-faq .faq-hero-facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--gold-hi);
}

/* ---------- 主题地图 ---------- */
.page-faq .faq-map-section {
  padding: clamp(38px, 5.5vw, 68px) 0 0;
}

.page-faq .faq-map-head {
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-faq .faq-map-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(21px, 3.2vw, 30px);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
}

.page-faq .faq-map-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-faq .faq-map-figure {
  margin: 0 0 clamp(26px, 4vw, 44px);
  border: 1px solid var(--line-faint);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--deep);
  box-shadow: var(--faq-shadow);
}

.page-faq .faq-map-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.page-faq .faq-map-figure .figure-cap {
  padding: 12px 16px;
  border-top: 1px solid var(--line-faint);
  background: rgba(5, 19, 15, .62);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .02em;
}

.page-faq .topic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-faq .topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 18px;
  border: 1px solid var(--line-faint);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--bg-2), var(--bg) 82%);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.page-faq .topic-card:hover {
  border-color: var(--gold-soft);
  border-left-color: var(--gold-hi);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 82%);
}

.page-faq .topic-card .topic-num {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-faq .topic-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--ink);
}

.page-faq .topic-card p {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-faq .topic-card a {
  align-self: flex-start;
  margin-top: 8px;
  padding-bottom: 2px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  transition: color .25s ease, border-color .25s ease;
}

.page-faq .topic-card a:hover,
.page-faq .topic-card a:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- 索引 + 问答 主体 ---------- */
.page-faq .faq-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 44px);
  margin-top: clamp(34px, 5vw, 60px);
}

.page-faq .faq-toc {
  position: sticky;
  top: 0;
  z-index: 6;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-faint);
  background: var(--bg);
}

.page-faq .faq-toc .toc-title {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

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

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

.page-faq .faq-toc .toc-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line-faint);
  border-radius: var(--r);
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.page-faq .faq-toc .toc-list a .mono {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-faq .faq-toc .toc-list a:hover,
.page-faq .faq-toc .toc-list a:focus-visible {
  color: var(--ink);
  border-color: var(--gold-soft);
}

.page-faq .faq-toc .toc-list a[aria-current="true"] {
  color: var(--gold-hi);
  border-color: var(--gold-soft);
  background: rgba(201, 162, 39, .09);
}

.page-faq .faq-toc .toc-list a[aria-current="true"] .mono {
  color: var(--coral);
}

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

/* ---------- 单个主题 ---------- */
.page-faq .faq-topic {
  padding-top: clamp(34px, 5vw, 56px);
  scroll-margin-top: 104px;
}

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

.page-faq .topic-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.page-faq .topic-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(201, 162, 39, .2), transparent 72%);
  color: var(--gold-hi);
  font-size: 14px;
  letter-spacing: .04em;
}

.page-faq .topic-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
}

.page-faq .topic-intro {
  margin: 0;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 折叠问答 ---------- */
.page-faq .qa-list {
  border-top: 1px solid var(--line-faint);
  border-top: 0;
}

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

.page-faq .qa-q {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 18px 42px 18px 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.62;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .25s ease;
}

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

.page-faq .qa-q:hover {
  color: var(--gold-hi);
}

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

.page-faq .qa-q::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s ease, border-color .3s ease;
}

.page-faq .qa[open] > .qa-q::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--gold-hi);
}

.page-faq .qa-idx {
  flex: none;
  padding-top: 2px;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-faq .qa-a {
  padding: 0 42px 20px 0;
}

.page-faq .qa-a p {
  margin: 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

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

.page-faq .qa[open] .qa-a {
  animation: faq-reveal .34s ease both;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 收尾引导 ---------- */
.page-faq .faq-next {
  margin-top: clamp(48px, 7vw, 86px);
  padding: clamp(36px, 5.5vw, 66px) 0;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(23, 69, 58, .6), rgba(5, 19, 15, .96));
}

.page-faq .faq-next-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-faq .faq-next-copy .label {
  display: block;
  margin: 0 0 12px;
  color: var(--gold);
}

.page-faq .faq-next-copy h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
}

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

.page-faq .faq-next-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--muted);
}

.page-faq .faq-next-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--coral);
  border-radius: 50%;
}

.page-faq .faq-next-note {
  margin: 0 0 20px;
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.76;
  color: var(--muted);
}

.page-faq .faq-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.page-faq .faq-next-figure {
  margin: 0;
  border: 1px solid var(--line-faint);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--deep);
  box-shadow: var(--faq-shadow);
}

.page-faq .faq-next-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

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

  .page-faq .topic-grid > li:nth-child(even) {
    transform: translateY(18px);
  }

  .page-faq .faq-body {
    padding-bottom: 18px;
  }

  .page-faq .qa-q {
    font-size: 16px;
  }
}

@media (min-width: 880px) {
  .page-faq .faq-hero-inner {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: end;
  }

  .page-faq .faq-map-figure img {
    aspect-ratio: 16 / 8;
  }

  .page-faq .faq-next-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
}

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

  .page-faq .faq-body {
    grid-template-columns: 236px minmax(0, 1fr);
    align-items: start;
  }

  .page-faq .faq-toc {
    top: 24px;
    padding: 4px 0 4px 20px;
    border-bottom: 0;
    border-left: 2px solid var(--line-soft);
    background: transparent;
  }

  .page-faq .faq-toc .toc-list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
  }

  .page-faq .faq-toc .toc-list a {
    padding: 9px 0 9px 12px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: transparent;
  }

  .page-faq .faq-toc .toc-list a:hover {
    border-left-color: var(--line-soft);
  }

  .page-faq .faq-toc .toc-list a[aria-current="true"] {
    background: transparent;
    border-left-color: var(--gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .topic-card,
  .page-faq .qa-q::after,
  .page-faq .faq-toc .toc-list a {
    transition: none;
  }

  .page-faq .qa[open] .qa-a {
    animation: none;
  }
}
