.page-faq {
  --faq-sticky-top: calc(var(--header-h) + 22px);
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(780px 400px at 84% 2%, rgba(123, 59, 255, .32), transparent 66%),
    radial-gradient(520px 320px at 2% 100%, rgba(43, 231, 231, .10), transparent 72%),
    linear-gradient(180deg, var(--void-deep) 0%, var(--void) 82%);
  overflow: hidden;
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 46px);
}

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

.page-faq .faq-hero__eyebrow {
  margin: 18px 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bolt);
}

.page-faq .faq-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(30px, 5.6vw, 54px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-faq .faq-hero__lead {
  margin: 0;
  max-width: 60ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.page-faq .faq-hero__media {
  margin: 0;
  display: block;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

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

/* ---------- 主体骨架 ---------- */
.page-faq .faq-shell {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  padding: clamp(34px, 5vw, 58px) 0 clamp(58px, 8vw, 100px);
}

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

/* ---------- 分组定位 ---------- */
.page-faq .faq-jump {
  min-width: 0;
}

.page-faq .faq-jump__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}

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

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

.page-faq .faq-jump__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 36, .72);
  color: var(--mist);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-faq .faq-jump__link:hover,
.page-faq .faq-jump__link:focus-visible {
  color: var(--ink);
  border-color: var(--volt);
  background: var(--haze);
}

.page-faq .faq-jump__no {
  color: var(--bolt);
  font-size: 11px;
}

/* ---------- 分组 ---------- */
.page-faq .faq-group {
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.page-faq .faq-group + .faq-group {
  margin-top: clamp(48px, 7vw, 86px);
}

.page-faq .faq-group__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 22px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-group__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 88px;
  height: 2px;
  background: linear-gradient(90deg, var(--volt), var(--neon));
}

.page-faq .faq-group__no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -0.02em;
  color: var(--volt);
}

@supports ((-webkit-text-stroke: 1px #000)) {
  .page-faq .faq-group__no {
    color: transparent;
    -webkit-text-stroke: 1px var(--volt);
  }
}

.page-faq .faq-group__meta {
  min-width: 0;
  padding-top: 4px;
}

.page-faq .faq-group__tag {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bolt);
}

.page-faq .faq-group__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- 问答条目 ---------- */
.page-faq .faq-list {
  margin-top: 6px;
}

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

.page-faq .faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 2px;
  cursor: pointer;
  list-style: none;
  transition: background-color .18s var(--ease);
}

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

.page-faq .faq-item__q:hover {
  background: rgba(123, 59, 255, .08);
}

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

.page-faq .faq-item__no {
  flex: 0 0 auto;
  min-width: 24px;
  color: var(--bolt);
  font-size: 12px;
  line-height: 1.85;
}

.page-faq .faq-item__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.page-faq .faq-item__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--bolt);
  transform: translate(-50%, -50%);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.page-faq .faq-item__icon::before {
  width: 10px;
  height: 1.5px;
}

.page-faq .faq-item__icon::after {
  width: 1.5px;
  height: 10px;
}

.page-faq .faq-item__q:hover .faq-item__icon {
  border-color: var(--volt);
  background: rgba(123, 59, 255, .18);
}

.page-faq .faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.page-faq .faq-item__a {
  margin: 0 0 22px clamp(0px, 1.5vw, 10px);
  padding: 2px 4px 2px clamp(14px, 3vw, 20px);
  border-left: 1px solid var(--volt);
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-faq .faq-item__a p {
  margin: 0 0 10px;
}

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

.page-faq .faq-item__a .tk-link {
  color: var(--neon);
}

/* ---------- 答案内嵌图 ---------- */
.page-faq .faq-figure {
  margin: 16px 0 4px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

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

/* ---------- 概率示意条 ---------- */
.page-faq .faq-meter {
  margin: 16px 0 4px;
}

.page-faq .faq-meter .tk-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--haze);
  overflow: hidden;
}

.page-faq .faq-meter .tk-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--volt), var(--neon));
}

.page-faq .faq-meter .tk-meter__note {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--dim);
}

.page-faq .faq-meter:hover .tk-bar__fill,
.page-faq .faq-meter:focus-within .tk-bar__fill {
  box-shadow: 0 0 0 1px var(--neon), 0 0 14px rgba(43, 231, 231, .45);
}

/* ---------- 收尾 CTA ---------- */
.page-faq .faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding: 22px clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--bolt);
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(42, 27, 87, .72), rgba(7, 7, 15, .4));
}

.page-faq .faq-cta__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

@media (min-width: 700px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(32px, 4vw, 52px);
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-shell {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: clamp(40px, 4.5vw, 68px);
    align-items: start;
  }

  .page-faq .faq-jump {
    position: sticky;
    top: var(--faq-sticky-top);
  }

  .page-faq .faq-jump__list {
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: visible;
  }

  .page-faq .faq-jump__link {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 12px 11px 15px;
    white-space: normal;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .page-faq .faq-jump__link:hover,
  .page-faq .faq-jump__link:focus-visible {
    border-left-color: var(--bolt);
    background: linear-gradient(90deg, rgba(123, 59, 255, .22), transparent 82%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item__q,
  .page-faq .faq-item__icon,
  .page-faq .faq-item__icon::before,
  .page-faq .faq-item__icon::after,
  .page-faq .faq-jump__link {
    transition: none;
  }
}
