.page-faq {
  --faq-rail: 288px;
  --faq-line: rgba(28, 53, 102, 0.9);
  --faq-tick: rgba(51, 214, 232, 0.6);
  --faq-answer: rgba(234, 241, 251, 0.78);
  background: var(--bw-night);
  color: var(--bw-ink);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: clamp(104px, 16vw, 168px) 0 clamp(36px, 6vw, 60px);
  background:
    radial-gradient(120% 90% at 84% -12%, rgba(23, 195, 123, 0.16), transparent 62%),
    radial-gradient(90% 80% at 4% 0%, rgba(138, 107, 255, 0.14), transparent 64%),
    var(--bw-night);
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(5, 11, 26, 0.15), rgba(5, 11, 26, 0.96)),
    repeating-linear-gradient(to right, var(--bw-line) 0 1px, transparent 1px 120px);
  opacity: 0.55;
}

.page-faq .faq-hero .bw-container {
  position: relative;
  z-index: 1;
}

.page-faq .faq-crumb {
  margin-bottom: clamp(24px, 4vw, 40px);
  font-size: 13px;
  color: var(--bw-muted);
}

.page-faq .faq-crumb a {
  color: var(--bw-muted);
  text-decoration: none;
}

.page-faq .faq-crumb a:hover {
  color: var(--bw-cyan);
}

.page-faq .faq-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.page-faq .faq-hero__title {
  margin: 12px 0 0;
  font-size: clamp(36px, 8.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.page-faq .faq-hero__lead {
  margin: clamp(18px, 3vw, 26px) 0 0;
  max-width: 62ch;
  color: venv;
  color: rgba(234, 241, 251, 0.82);
}

.page-faq .faq-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 40px);
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-hero__stat {
  min-width: 108px;
}

.page-faq .faq-hero__stat-value {
  margin: 0;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1;
  color: var(--bw-grass);
}

.page-faq .faq-hero__stat:nth-child(2) .faq-hero__stat-value {
  color: var(--bw-gold);
}

.page-faq .faq-hero__stat:nth-child(3) .faq-hero__stat-value {
  color: var(--bw-cyan);
}

.page-faq .faq-hero__stat-label {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--bw-muted);
}

.page-faq .faq-hero__stat-label span {
  display: block;
}

.page-faq .faq-hero__media {
  border-radius: var(--bw-radius);
  overflow: hidden;
  border: 1px solid var(--faq-line);
  margin: 0;
}

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

/* ---------- 主体两栏 ---------- */
.page-faq .faq-body {
  position: relative;
  background:
    linear-gradient(to bottom, var(--bw-night), var(--bw-deep) 60%, var(--bw-night));
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

/* 左侧目录 */
.page-faq .faq-toc {
  border-left: 1px solid var(--faq-line);
  padding-left: 18px;
}

.page-faq .faq-toc__title {
  margin: 0 0 16px;
  font-family: var(--bw-editorial);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--bw-muted);
}

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

.page-faq .bw-toc__item {
  margin: 0;
}

.page-faq .faq-toc__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--bw-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.page-faq .faq-toc__link::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--faq-tick);
  transform: translateY(-50%);
}

.page-faq .faq-toc__link:hover {
  color: var(--bw-ink);
  background: rgba(23, 195, 123, 0.08);
}

.page-faq .faq-toc__link[aria-current="true"] {
  color: var(--bw-ink);
  background: rgba(23, 195, 123, 0.12);
}

.page-faq .faq-toc__link[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--bw-grass);
}

.page-faq .faq-toc__num {
  font-size: 13px;
  color: var(--bw-cyan);
}

.page-faq .faq-toc__foot {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--faq-line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--bw-muted);
}

.page-faq .faq-toc__foot a {
  color: var(--bw-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(51, 214, 232, 0.45);
}

.page-faq .faq-toc__foot a:hover {
  color: var(--bw-ink);
}

/* 右侧答案 */
.page-faq .faq-answers {
  min-width: 0;
}

.page-faq .faq-group + .faq-group {
  margin-top: clamp(40px, 6vw, 76px);
}

.page-faq .faq-group__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-group__num {
  font-size: 14px;
  color: var(--bw-gold);
}

.page-faq .faq-group__head h2 {
  margin: 0;
  font-size: clamp(22px, 3.6vw, 30px);
}

.page-faq .faq-list {
  display: grid;
}

.page-faq .faq-item {
  position: relative;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 16px;
  height: 2px;
  background: var(--faq-tick);
}

.page-faq .faq-item__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 24px) 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 2.4vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--bw-ink);
  transition: color 0.2s ease;
}

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

.page-faq .faq-item__q:hover {
  color: var(--bw-grass);
}

.page-faq .faq-item__q:focus-visible {
  outline: 2px solid var(--bw-cyan);
  outline-offset: 4px;
  border-radius: 6px;
}

.page-faq .faq-item__mark {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 1px solid var(--bw-grid);
  border-radius: 7px;
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.page-faq .faq-item__mark::before,
.page-faq .faq-item__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--bw-grass);
  border-radius: 2px;
}

.page-faq .faq-item__mark::before {
  width: 11px;
  height: 1.6px;
  transform: translate(-50%, -50%);
}

.page-faq .faq-item__mark::after {
  width: 1.6px;
  height: 11px;
  transform: translate(-50%, -50%);
}

.page-faq .faq-item[open] .faq-item__mark {
  transform: rotate(45deg);
  background: rgba(23, 195, 123, 0.14);
  border-color: var(--bw-grass);
}

.page-faq .faq-item__a {
  padding: 0 4px clamp(20px, 3vw, 28px);
  max-width: 74ch;
}

.page-faq .faq-item__a p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--faq-answer);
}

.page-faq .faq-item__a p + p,
.page-faq .faq-item__a p + .faq-points {
  margin-top: 12px;
}

.page-faq .faq-points {
  list-style: none;
  counter-reset: faq-point;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .faq-points li {
  position: relative;
  counter-increment: faq-point;
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--faq-answer);
}

.page-faq .faq-points li::before {
  content: counter(faq-point, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--bw-mono);
  font-size: 13px;
  color: var(--bw-cyan);
  padding: 1px 6px;
  border: 1px solid var(--faq-line);
  border-radius: 6px;
  background: rgba(51, 214, 232, 0.07);
}

.page-faq .faq-figure {
  margin: clamp(24px, 4vw, 36px) 0 0;
  border-radius: var(--bw-radius);
  overflow: hidden;
  border: 1px solid var(--faq-line);
}

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

/* ---------- 底部行动带 ---------- */
.page-faq .faq-next {
  position: relative;
  background: var(--bw-deep);
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-next__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  padding-top: clamp(34px, 5vw, 52px);
  padding-bottom: clamp(34px, 5vw, 52px);
}

.page-faq .faq-next h2 {
  margin: 0 0 8px;
}

.page-faq .faq-next .bw-note {
  margin: 0;
  max-width: 52ch;
}

.page-faq .faq-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-faq .faq-next__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(36px, 5vw, 72px);
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-layout {
    grid-template-columns: var(--faq-rail) minmax(0, 1fr);
    gap: clamp(44px, 5vw, 80px);
  }

  .page-faq .faq-toc {
    position: sticky;
    top: 108px;
    align-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item__mark,
  .page-faq .faq-toc__link,
  .page-faq .faq-item__q {
    transition: none;
  }
}
