.page-faq {
  --faq-hair: rgba(108, 122, 115, .45);
  --faq-hair-soft: rgba(108, 122, 115, .28);
  background: var(--stand);
  color: var(--navy);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: var(--s4) 0 var(--s5);
  background-image: repeating-linear-gradient(90deg, rgba(76, 138, 94, .055) 0 26px, transparent 26px 52px);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background-image: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 14px);
  opacity: .22;
}

.page-faq .faq-hero__inner {
  display: grid;
  gap: var(--s4);
}

.page-faq .faq-hero__copy {
  max-width: 640px;
}

.page-faq .faq-hero__eyebrow {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--whistle-deep);
}

.page-faq .faq-hero__title {
  margin: 10px 0 14px;
  font-size: clamp(32px, 8.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--pitch);
}

.page-faq .faq-hero__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 52ch;
}

.page-faq .faq-hero__stats {
  list-style: none;
  margin: var(--s3) 0 0;
  padding: var(--s2) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px dashed var(--faq-hair);
}

.page-faq .faq-hero__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-faq .faq-hero__stats .stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 5.6vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--pitch);
}

.page-faq .faq-hero__stats .stat__unit {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--stone);
  margin-left: 3px;
}

.page-faq .faq-hero__stats .stat__label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--stone);
}

.page-faq .faq-hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--faq-hair-soft);
  background: var(--turf);
}

.page-faq .faq-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-faq .faq-hero__media::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 48px;
  height: 10px;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .9) 0 2px, transparent 2px 8px);
  border-radius: 2px;
}

/* ---------- 场景索引 ---------- */
.page-faq .faq-index {
  position: sticky;
  top: 0;
  z-index: 8;
  padding: 10px 0;
  background: rgba(243, 239, 228, .95);
  backdrop-filter: blur(5px);
  border-top: 1px dashed var(--faq-hair);
  border-bottom: 1px dashed var(--faq-hair);
}

.page-faq .faq-index__inner {
  display: grid;
  gap: 8px;
}

.page-faq .faq-index__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--stone);
}

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

.page-faq .faq-index__list::-webkit-scrollbar {
  height: 4px;
}

.page-faq .faq-index__list::-webkit-scrollbar-thumb {
  background: var(--turf);
  border-radius: 4px;
}

.page-faq .faq-chip {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--faq-hair-soft);
  background: var(--white);
  color: var(--navy);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-faq .faq-chip:hover,
.page-faq .faq-chip:focus-visible {
  border-color: var(--whistle);
  background: var(--lime);
  color: var(--pitch);
}

/* ---------- 问答分组 ---------- */
.page-faq .faq-group {
  padding: var(--s5) 0 var(--s4);
  border-bottom: 1px dashed var(--faq-hair);
  scroll-margin-top: 86px;
}

.page-faq .faq-group--last {
  border-bottom: 0;
}

.page-faq .faq-group__inner {
  display: grid;
  gap: var(--s3);
}

.page-faq .faq-group__head .chapter-num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--turf);
  -webkit-text-stroke: 1.5px var(--moss);
  margin-bottom: 10px;
}

.page-faq .faq-group__head .section__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.page-faq .faq-group__hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--stone);
  max-width: 36ch;
}

/* ---------- 问句折叠 ---------- */
.page-faq .faq-item {
  position: relative;
  border-bottom: 1px dashed var(--faq-hair-soft);
}

.page-faq .faq-item:last-child {
  border-bottom: 0;
}

.page-faq .faq-item__q {
  display: block;
  position: relative;
  padding: 18px 44px 18px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}

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

.page-faq .faq-item__q:hover {
  color: var(--whistle-deep);
}

.page-faq .faq-item__q::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--stone);
  border-bottom: 2px solid var(--stone);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-faq .faq-item[open] .faq-item__q::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--whistle);
}

.page-faq .faq-item__a {
  margin: 0 0 6px 2px;
  padding: 4px 0 18px 16px;
  border-left: 3px solid var(--whistle);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  animation: faq-item-in 200ms var(--ease);
}

@keyframes faq-item-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

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

.page-faq .faq-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: .94em;
  letter-spacing: .01em;
  color: var(--pitch);
  background: var(--turf);
  border-radius: 7px;
  padding: 1px 6px;
}

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

.page-faq .faq-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--faq-hair-soft);
  transition: border-color var(--dur) var(--ease);
}

.page-faq .faq-steps li:first-child {
  border-top: 1px dashed var(--faq-hair-soft);
}

.page-faq .faq-steps li:hover {
  border-color: var(--whistle);
}

.page-faq .faq-steps__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .04em;
  text-align: center;
  padding: 3px 0;
  border-radius: 8px;
  background: var(--turf);
  color: var(--pitch);
}

.page-faq .faq-steps strong {
  color: var(--navy);
  font-weight: 700;
}

.page-faq .faq-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--whistle), var(--whistle));
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-faq .faq-more:hover,
.page-faq .faq-more:focus-visible {
  background-size: 100% 2px;
  color: var(--whistle-deep);
}

.page-faq .faq-media-inline {
  margin: 18px 0 0;
  border-radius: var(--r-tile);
  overflow: hidden;
  border: 1px solid var(--faq-hair-soft);
}

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

/* ---------- 收口区 ---------- */
.page-faq .faq-help-section {
  padding: var(--s5) 0 var(--s6);
}

.page-faq .faq-help {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--pitch);
  color: var(--white);
  padding: var(--s4) var(--s3);
}

.page-faq .faq-help::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 10px, transparent 10px 32px);
  pointer-events: none;
}

.page-faq .faq-help > * {
  position: relative;
}

.page-faq .faq-help__tag {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--lime);
}

.page-faq .faq-help__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-faq .faq-help__lede {
  margin: 0 0 var(--s3);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .78);
  max-width: 48ch;
}

.page-faq .faq-help__list {
  list-style: none;
  margin: 0 0 var(--s3);
  padding: 0;
}

.page-faq .faq-help__list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px dashed rgba(255, 255, 255, .22);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}

.page-faq .faq-help__list li:last-child {
  border-bottom: 1px dashed rgba(255, 255, 255, .22);
}

.page-faq .faq-help__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--pitch);
}

.page-faq .faq-help__foot {
  display: grid;
  gap: var(--s3);
  margin-top: var(--s3);
}

.page-faq .faq-help__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .7);
}

.page-faq .faq-help__btn {
  justify-self: start;
}

.page-faq .faq-help__also {
  margin: var(--s3) 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .58);
}

.page-faq .faq-help__also a {
  color: var(--lime);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease);
}

.page-faq .faq-help__also a:hover,
.page-faq .faq-help__also a:focus-visible {
  background-size: 100% 1px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-faq .faq-item__q {
    font-size: 18px;
  }

  .page-faq .faq-item__a {
    padding-left: 22px;
  }

  .page-faq .faq-help {
    padding: var(--s5) var(--s4);
  }

  .page-faq .faq-help__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--s4);
  }

  .page-faq .faq-help__btn {
    justify-self: end;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero {
    padding: var(--s5) 0 var(--s6);
  }

  .page-faq .faq-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: var(--s5);
  }

  .page-faq .faq-index__inner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--s2);
  }
}

@media (min-width: 1000px) {
  .page-faq .faq-group {
    padding: var(--s6) 0 var(--s5);
  }

  .page-faq .faq-group__inner {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: var(--s5);
    align-items: start;
  }

  .page-faq .faq-group__head {
    position: sticky;
    top: 92px;
  }

  .page-faq .faq-group__head .chapter-num {
    font-size: 76px;
  }

  .page-faq .faq-group__head .section__title {
    font-size: 26px;
  }
}

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