.page-faq {
  --faq-mark: var(--orange);
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(36, 69, 127, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 69, 127, .16) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  color: var(--mist);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: 32px 0 44px;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -90px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(34, 224, 224, .10), transparent 66%);
  pointer-events: none;
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: 30px;
  align-items: start;
  position: relative;
}

.page-faq .faq-hero__kicker {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-faq .faq-hero__ttl {
  margin: 12px 0 18px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mist);
  max-width: 15em;
  overflow-wrap: break-word;
}

.page-faq .faq-hero__hl {
  color: var(--orange);
}

.page-faq .faq-hero__lede {
  margin: 0 0 26px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.8;
  color: #c3d3e8;
}

.page-faq .faq-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-faq .faq-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(15, 33, 64, .92);
}

.page-faq .faq-hero__num {
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  color: var(--orange);
}

.page-faq .faq-hero__lbl {
  font-size: 13px;
  line-height: 1.5;
  color: var(--steel);
}

/* ---------- 图容器 ---------- */
.page-faq .faq-shot {
  margin: 0;
  border: 3px solid var(--line);
  background: var(--deep);
  box-shadow: var(--shadow-hard);
}

.page-faq .faq-shot__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 10 / 7;
  background: repeating-linear-gradient(135deg, rgba(36, 69, 127, .35) 0 12px, rgba(15, 33, 64, .35) 12px 24px);
}

.page-faq .faq-shot--wide .faq-shot__media {
  aspect-ratio: 12 / 5;
}

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

.page-faq .faq-shot__cap {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.65;
  color: var(--steel);
}

/* ---------- 粘性索引 ---------- */
.page-faq .faq-toc {
  position: sticky;
  top: 0;
  z-index: 6;
  background: rgba(8, 18, 38, .95);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-faq .faq-toc__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.page-faq .faq-toc__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--steel);
}

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

.page-faq .faq-toc__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: rgba(22, 48, 92, .5);
  color: var(--mist);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.page-faq .faq-toc__list a:hover,
.page-faq .faq-toc__list a:focus-visible {
  background: var(--panel);
  border-color: var(--cyan);
  color: var(--cyan);
  outline: none;
}

.page-faq .faq-toc__coord {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--orange);
}

/* ---------- 分组 ---------- */
.page-faq .faq-group {
  position: relative;
  padding: 40px 0 38px;
  scroll-margin-top: 84px;
}

.page-faq .faq-group + .faq-group {
  border-top: 1px solid var(--line);
}

.page-faq .faq-group + .faq-group::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 64px;
  height: 3px;
  background: var(--faq-mark);
}

.page-faq .faq-group__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.page-faq .faq-group__coord {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  border: 2px solid var(--line);
  background: rgba(22, 48, 92, .65);
  box-shadow: 4px 4px 0 rgba(36, 69, 127, .45);
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  color: var(--orange);
  transition: border-color .2s ease, color .2s ease;
}

.page-faq .faq-group:target .faq-group__coord {
  border-color: var(--orange);
  color: var(--gold);
}

.page-faq .faq-group__ttl {
  margin: 2px 0 8px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 4.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.page-faq .faq-group__sub {
  margin: 0;
  max-width: 42em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-faq .faq-group__split {
  display: grid;
  gap: 26px;
}

.page-faq .faq-group__aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

/* ---------- 问答条目 ---------- */
.page-faq .faq-stack {
  display: grid;
  gap: 12px;
}

.page-faq .faq-item {
  border: 2px solid var(--line);
  border-left-width: 5px;
  background: rgba(15, 33, 64, .78);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.page-faq .faq-item:hover {
  border-color: #2f558f;
}

.page-faq .faq-item:has(.faq-item__btn[aria-expanded="true"]) {
  border-color: var(--orange);
  background: rgba(22, 48, 92, .88);
  box-shadow: 5px 5px 0 rgba(255, 106, 26, .2);
}

.page-faq .faq-item__btn {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 16px 15px 14px;
  background: none;
  border: 0;
  color: inherit;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.page-faq .faq-item__btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-faq .faq-item__coord {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
  padding: 3px 6px;
  border: 1px solid rgba(34, 224, 224, .35);
  white-space: nowrap;
}

.page-faq .faq-item__q {
  min-width: 0;
  overflow-wrap: break-word;
}

.page-faq .faq-item__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.page-faq .faq-item__icon::before {
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
}

.page-faq .faq-item__icon::after {
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
}

.page-faq .faq-item__btn[aria-expanded="true"] .faq-item__icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.page-faq .faq-item__btn[aria-expanded="true"] .faq-item__icon::before {
  background: var(--orange);
}

.page-faq .faq-item__panel {
  border-top: 1px dashed rgba(36, 69, 127, .75);
  background: rgba(8, 18, 38, .55);
}

.page-faq .faq-item__panel[hidden] {
  display: none;
}

/* ---------- 答案区 ---------- */
.page-faq .faq-answer {
  display: grid;
  gap: 18px;
  padding: 20px 18px 24px;
}

.page-faq .faq-answer__body p {
  margin: 0 0 12px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.8;
  color: #c9d8ec;
}

.page-faq .faq-answer__body p:last-child {
  margin-bottom: 0;
}

.page-faq .faq-answer__body .faq-answer__hint {
  display: inline-block;
  margin-top: 4px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 194, 75, .32);
  background: rgba(255, 194, 75, .07);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.5;
  color: var(--gold);
}

.page-faq .faq-answer__side {
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.page-faq .faq-answer__side-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--steel);
}

.page-faq .faq-answer__side a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(34, 224, 224, .28);
  color: var(--cyan);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .16s ease, border-color .16s ease;
}

.page-faq .faq-answer__side a:hover,
.page-faq .faq-answer__side a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
  outline: none;
}

/* ---------- 联系通道 ---------- */
.page-faq .faq-group--cta {
  padding-bottom: 56px;
}

.page-faq .faq-cta {
  position: relative;
  overflow: hidden;
  padding: 28px 22px 30px;
  border: 3px solid var(--line);
  background: linear-gradient(140deg, rgba(22, 48, 92, .96), rgba(15, 33, 64, .96) 56%, rgba(8, 18, 38, .96));
  box-shadow: var(--shadow-hard);
}

.page-faq .faq-cta::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 106, 26, .34), transparent 70%);
  pointer-events: none;
}

.page-faq .faq-cta__coord {
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 54px;
  line-height: 1;
  color: rgba(255, 106, 26, .22);
  pointer-events: none;
}

.page-faq .faq-cta__ttl {
  position: relative;
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 4.6vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.page-faq .faq-cta__txt {
  position: relative;
  margin: 0 0 22px;
  max-width: 44em;
  font-size: 16px;
  line-height: 1.8;
  color: #c9d8ec;
}

.page-faq .faq-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-faq .faq-cta__meta {
  position: relative;
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.page-faq .faq-cta__meta li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
  overflow-wrap: anywhere;
}

.page-faq .faq-cta__meta span {
  min-width: 68px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--steel);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-faq .faq-hero {
    padding: 48px 0 56px;
  }

  .page-faq .faq-item__btn {
    padding: 18px 20px 18px 16px;
    font-size: 18px;
  }

  .page-faq .faq-answer {
    padding: 24px 22px 28px;
  }

  .page-faq .faq-group {
    padding: 52px 0 48px;
  }

  .page-faq .faq-cta {
    padding: 36px 34px 38px;
  }
}

@media (min-width: 820px) {
  .page-faq .faq-answer {
    grid-template-columns: minmax(0, 1fr) 196px;
    gap: 28px;
  }

  .page-faq .faq-answer__side {
    padding-top: 0;
    padding-left: 18px;
    border-top: 0;
    border-left: 2px solid var(--line);
  }
}

@media (min-width: 960px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
  }

  .page-faq .faq-hero__fig {
    transform: translateY(34px);
  }

  .page-faq .faq-hero__lede {
    font-size: 17px;
  }

  .page-faq .faq-group {
    padding: 62px 0 56px;
  }
}

@media (min-width: 1040px) {
  .page-faq .faq-group__split {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq *,
  .page-faq *::before,
  .page-faq *::after {
    transition: none !important;
    animation: none !important;
  }

  .page-faq .faq-hero__fig {
    transform: none;
  }
}
