.page-faq {
  --faq-rail-w: 216px;
  --faq-rich: clamp(2.5rem, 7vw, 5.5rem);
  --faq-line: rgba(53, 240, 192, .18);
  --faq-line-soft: rgba(53, 240, 192, .09);
  --faq-body-text: #d3e4dd;
}

/* ---------- 面包屑 ---------- */
.page-faq .breadcrumb {
  padding-top: clamp(28px, 6vw, 56px);
  font-size: 13px;
  letter-spacing: .04em;
  color: #8FA9A0;
}
.page-faq .breadcrumb a {
  color: #9CFCE0;
  text-decoration: none;
}
.page-faq .breadcrumb a:hover,
.page-faq .breadcrumb a:focus-visible {
  color: #35F0C0;
  text-decoration: underline;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 72px);
}
.page-faq .faq-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}
.page-faq .faq-hero__text {
  max-width: 40em;
}
.page-faq .faq-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: var(--faq-rich);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.02em;
  color: var(--paper);
}
.page-faq .faq-hero__lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  line-height: 1.75;
  color: var(--faq-body-text);
}
.page-faq .faq-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #8FA9A0;
}
.page-faq .faq-hero__facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.page-faq .faq-hero__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 700;
  color: #35F0C0;
}

.page-faq .faq-hero__media {
  position: relative;
  margin: 0;
}
.page-faq .faq-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(.72) contrast(1.06);
}
.page-faq .faq-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(53, 240, 192, .16), rgba(6, 35, 27, .55) 68%);
  pointer-events: none;
  border-radius: var(--radius);
}
.page-faq .faq-hero__media .media-caption {
  margin-top: 10px;
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: #8FA9A0;
}

/* ---------- 主体两栏 ---------- */
.page-faq .faq-body {
  padding-bottom: clamp(48px, 7vw, 96px);
}
.page-faq .faq-body__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

/* 分组索引 */
.page-faq .faq-rail__label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8FA9A0;
}
.page-faq .faq-rail__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.page-faq .faq-rail__nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px 10px;
  border-bottom: 2px solid var(--faq-line-soft);
  font-size: 14px;
  color: #8FA9A0;
  text-decoration: none;
  white-space: nowrap;
  transition: color .28s var(--ease), border-color .28s var(--ease);
}
.page-faq .faq-rail__nav a:hover {
  color: var(--cyan-soft);
}
.page-faq .faq-rail__nav a.is-active {
  color: #35F0C0;
  border-bottom-color: #35F0C0;
}
.page-faq .faq-rail__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: #FF5A2E;
}
.page-faq .faq-rail__nav a:focus-visible {
  outline: 2px solid #35F0C0;
  outline-offset: 3px;
}

/* ---------- 搜索 ---------- */
.page-faq .faq-search {
  margin-bottom: clamp(28px, 4vw, 44px);
}
.page-faq .faq-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 18px;
  background: var(--ink-700);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.page-faq .faq-search input::placeholder {
  color: #8FA9A0;
}
.page-faq .faq-search input:focus {
  outline: none;
  border-color: #35F0C0;
  box-shadow: 0 0 0 3px rgba(53, 240, 192, .22);
}
.page-faq .faq-search__hint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #8FA9A0;
}

/* ---------- 分组 ---------- */
.page-faq .faq-group {
  position: relative;
  scroll-margin-top: 110px;
}
.page-faq .faq-group + .faq-group {
  margin-top: clamp(52px, 7vw, 88px);
}
.page-faq .faq-group + .faq-group::before {
  content: "";
  position: absolute;
  top: calc(clamp(52px, 7vw, 88px) / -2);
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--faq-line) 14%, var(--faq-line) 86%, transparent);
  transform: rotate(-0.7deg);
  transform-origin: left center;
}
.page-faq .faq-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.page-faq .faq-group__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: .1em;
  color: #FF5A2E;
}
.page-faq .faq-group__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.15;
  color: var(--paper);
}
.page-faq .faq-group__head p {
  flex-basis: 100%;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #8FA9A0;
}

.page-faq .faq-group__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

/* ---------- 问题条目 ---------- */
.page-faq .faq-list {
  border-top: 1px solid var(--faq-line-soft);
}
.page-faq .faq-item {
  border-bottom: 1px solid var(--faq-line-soft);
}
.page-faq .faq-item[open] {
  background: linear-gradient(90deg, rgba(53, 240, 192, .05), transparent 62%);
}
.page-faq .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 6px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.005em;
  color: var(--paper);
  transition: color .24s var(--ease);
}
.page-faq .faq-q::-webkit-details-marker {
  display: none;
}
.page-faq .faq-q:hover {
  color: #35F0C0;
}
.page-faq .faq-q:focus-visible {
  outline: 2px solid #35F0C0;
  outline-offset: -2px;
  border-radius: var(--radius);
}
.page-faq .faq-q__mark {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}
.page-faq .faq-q__mark::before,
.page-faq .faq-q__mark::after {
  content: "";
  position: absolute;
  background: #35F0C0;
  border-radius: 1px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.page-faq .faq-q__mark::before {
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  transform: translateY(-50%);
}
.page-faq .faq-q__mark::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 14px;
  transform: translateX(-50%);
}
.page-faq .faq-item[open] .faq-q__mark::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.page-faq .faq-a {
  padding: 0 6px 24px 18px;
  border-left: 2px solid transparent;
  transition: border-color .3s var(--ease);
}
.page-faq .faq-item[open] .faq-a {
  border-left-color: #35F0C0;
  animation: faq-drop .32s var(--ease) both;
}
.page-faq .faq-a p {
  margin: 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--faq-body-text);
}
.page-faq .faq-a a {
  color: #9CFCE0;
  text-underline-offset: 3px;
}
.page-faq .faq-a a:hover,
.page-faq .faq-a a:focus-visible {
  color: #35F0C0;
}

@keyframes faq-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 侧图 */
.page-faq .faq-side {
  position: relative;
  margin: 0;
}
.page-faq .faq-side img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(.68) contrast(1.08);
}
.page-faq .faq-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(122, 77, 255, .24), rgba(6, 35, 27, .62));
  pointer-events: none;
  border-radius: var(--radius);
}
.page-faq .faq-side .media-caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: #8FA9A0;
}

/* ---------- 兜底区 ---------- */
.page-faq .faq-fallback {
  position: relative;
  background: var(--ink-700);
  clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 100%);
  padding: calc(22px + clamp(48px, 7vw, 88px)) 0 clamp(56px, 8vw, 96px);
}
.page-faq .faq-fallback__inner {
  max-width: 46em;
}
.page-faq .faq-fallback h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--paper);
}
.page-faq .faq-fallback__lead {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--faq-body-text);
}
.page-faq .faq-fallback .btn-row {
  margin-top: 26px;
}
.page-faq .faq-fallback .btn:focus-visible {
  outline: 2px solid #35F0C0;
  outline-offset: 3px;
}
.page-faq .faq-fallback__note {
  margin: 26px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.9;
  color: #8FA9A0;
}

.page-faq .faq-nudge {
  margin-top: 26px;
  border: 1px dashed var(--faq-line);
  border-radius: var(--radius);
  background: rgba(53, 240, 192, .04);
}
.page-faq .faq-nudge__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan-soft);
}
.page-faq .faq-nudge__toggle::-webkit-details-marker {
  display: none;
}
.page-faq .faq-nudge__toggle:focus-visible {
  outline: 2px solid #35F0C0;
  outline-offset: -2px;
}
.page-faq .faq-nudge__mark {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid #35F0C0;
  border-bottom: 2px solid #35F0C0;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease);
}
.page-faq .faq-nudge[open] .faq-nudge__mark {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.page-faq .faq-nudge__body {
  padding: 4px 18px 20px;
  border-left: 2px solid rgba(53, 240, 192, .5);
  margin-left: 18px;
}
.page-faq .faq-nudge__body ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--faq-body-text);
  font-size: 15px;
  line-height: 1.85;
}
.page-faq .faq-nudge__body p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #8FA9A0;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-faq .faq-hero__facts {
    gap: 16px 36px;
  }
}

@media (min-width: 1000px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(40px, 5vw, 72px);
  }
  .page-faq .faq-body__grid {
    grid-template-columns: var(--faq-rail-w) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 80px);
  }
  .page-faq .faq-rail {
    position: sticky;
    top: 96px;
  }
  .page-faq .faq-rail__nav {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }
  .page-faq .faq-rail__nav a {
    display: flex;
    width: 100%;
    padding: 11px 0 11px 14px;
    border-bottom: 0;
    border-left: 1px solid var(--faq-line-soft);
    white-space: normal;
    transition: color .28s var(--ease), border-color .28s var(--ease), background-color .28s var(--ease);
  }
  .page-faq .faq-rail__nav a:hover {
    background: rgba(53, 240, 192, .06);
  }
  .page-faq .faq-rail__nav a.is-active {
    border-left-color: #35F0C0;
    border-bottom: 0;
    background: rgba(53, 240, 192, .08);
  }
  .page-faq .faq-group + .faq-group::before {
    transform: rotate(-1.1deg);
  }
}

@media (min-width: 1180px) {
  .page-faq .faq-group__split {
    grid-template-columns: minmax(0, 1fr) 268px;
  }
  .page-faq .faq-side img {
    aspect-ratio: 3 / 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item[open] .faq-a {
    animation: none;
  }
  .page-faq .faq-q__mark::before,
  .page-faq .faq-q__mark::after,
  .page-faq .faq-nudge__mark {
    transition: none;
  }
  .page-faq .faq-rail__nav a {
    transition: none;
  }
}
