.page-faq {
  --faq-line: rgba(168, 163, 184, 0.22);
  --faq-line-strong: rgba(168, 163, 184, 0.4);
  --faq-card-top: rgba(27, 16, 53, 0.88);
  --faq-card-bottom: rgba(7, 7, 12, 0.72);
  position: relative;
  overflow-x: clip;
  background: var(--ink);
  color: var(--paper);
  padding-bottom: clamp(56px, 9vw, 112px);
}

.page-faq::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 760px;
  background:
    radial-gradient(62% 54% at 80% 6%, rgba(168, 85, 247, 0.32), transparent 70%),
    radial-gradient(48% 40% at 10% 0%, rgba(56, 189, 248, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(27, 16, 53, 0.5), transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.page-faq > * {
  position: relative;
  z-index: 1;
}

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

.page-faq a {
  color: var(--blue);
}

/* 面包屑 */
.faq-crumb-row {
  padding-top: clamp(16px, 3vw, 24px);
}

.faq-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog);
}

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

.faq-crumb a:hover {
  color: var(--mint);
}

.faq-crumb span[aria-hidden="true"] {
  color: rgba(168, 163, 184, 0.5);
}

/* 首屏 */
.faq-hero {
  padding: clamp(26px, 5vw, 54px) 0 clamp(38px, 6vw, 72px);
}

.faq-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 52px);
}

.faq-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 7vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.faq-hero .lede {
  margin-top: 18px;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(244, 233, 216, 0.82);
}

.faq-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--faq-line);
}

.faq-hero-stats li {
  display: grid;
  gap: 4px;
}

.faq-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.4vw, 26px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--amber);
  letter-spacing: 0.01em;
}

.faq-stat-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog);
}

.faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.faq-hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--faq-line-strong);
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.3), rgba(7, 7, 12, 0.92));
  box-shadow: var(--shadow-float);
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.faq-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 800;
  object-fit: cover;
  opacity: 0.9;
}

.faq-hero-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: var(--amber);
  box-shadow: var(--glow-amber);
}

.faq-hero-figure figcaption {
  padding: 14px 18px 16px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(244, 233, 216, 0.76);
  background: rgba(7, 7, 12, 0.55);
  border-top: 1px solid var(--faq-line);
}

/* 分类索引条 */
.faq-index-strip {
  border-top: 1px solid var(--faq-line);
  border-bottom: 1px solid var(--faq-line);
  background: rgba(27, 16, 53, 0.56);
}

.faq-index-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding-block: 16px;
}

.faq-index-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--coral);
  text-transform: uppercase;
}

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

.faq-index-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--faq-line);
  background: rgba(7, 7, 12, 0.5);
  font-size: 13px;
  color: var(--paper);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq-index-list a:hover {
  border-color: var(--violet);
  color: #fff;
  box-shadow: var(--glow-violet);
}

.faq-idx-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  color: var(--amber);
}

/* 主体两栏 */
.faq-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-top: clamp(34px, 6vw, 70px);
}

.faq-toc {
  display: none;
}

.faq-toc-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fog);
}

.faq-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--faq-line);
}

.faq-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 10px 9px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 14px;
  color: var(--fog);
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.faq-toc-list a span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  color: rgba(168, 163, 184, 0.72);
}

.faq-toc-list a:hover {
  color: var(--paper);
  border-left-color: var(--violet);
  background: rgba(168, 85, 247, 0.12);
}

.faq-toc-note {
  margin: 20px 0 0;
  padding: 14px 14px 14px 16px;
  border-left: 2px solid var(--coral);
  border-radius: 0 var(--radius-soft) var(--radius-soft) 0;
  background: rgba(255, 90, 60, 0.08);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(244, 233, 216, 0.78);
}

/* 章节 */
.faq-chapter {
  scroll-margin-top: 112px;
}

.faq-chapter + .faq-chapter {
  margin-top: clamp(36px, 6vw, 66px);
  padding-top: clamp(30px, 5vw, 52px);
  border-top: 1px solid var(--faq-line);
}

.faq-chapter-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  align-items: start;
  margin-bottom: 22px;
}

.faq-chapter-num {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 300;
  line-height: 1;
  color: rgba(245, 184, 75, 0.9);
}

@supports ((-webkit-text-stroke: 1px red)) {
  .faq-chapter-num {
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 184, 75, 0.85);
  }
}

.faq-chapter-head h2 {
  margin: 0;
  font-size: clamp(22px, 4.4vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.faq-chapter-head p {
  grid-column: 2;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fog);
  max-width: 54ch;
}

.faq-chapter:target .faq-chapter-num {
  color: var(--coral);
  -webkit-text-stroke: 0;
}

/* 章节内插图 */
.faq-inline-figure {
  margin: 0 0 18px;
  border-radius: var(--radius-soft);
  border: 1px solid var(--faq-line);
  overflow: hidden;
  background: rgba(27, 16, 53, 0.6);
}

.faq-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 800;
  object-fit: cover;
}

.faq-inline-figure figcaption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--fog);
  border-top: 1px solid var(--faq-line);
}

/* 问答折叠 */
.faq-items {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-soft);
  background: linear-gradient(180deg, var(--faq-card-top), var(--faq-card-bottom));
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.faq-item:hover {
  border-color: rgba(168, 85, 247, 0.55);
}

.faq-item[open] {
  border-color: rgba(245, 184, 75, 0.55);
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-mark {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(168, 163, 184, 0.5);
  transition: border-color var(--dur) var(--ease);
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--amber);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.faq-mark::before {
  left: 50%;
  top: 6px;
  width: 2px;
  height: 8px;
  transform: translateX(-50%);
}

.faq-mark::after {
  top: 50%;
  left: 6px;
  width: 8px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-item[open] .faq-mark {
  border-color: rgba(245, 184, 75, 0.75);
}

.faq-item[open] .faq-mark::before {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.faq-answer {
  padding: 0 18px 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(244, 233, 216, 0.84);
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: var(--blue);
  text-underline-offset: 3px;
}

/* 奶油纸章节 */
.faq-chapter--paper {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-card);
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 34px 80px -52px rgba(0, 0, 0, 0.95);
  border-left: 6px solid var(--coral);
}

.faq-chapter--paper.faq-chapter + .faq-chapter {
  margin-top: clamp(36px, 6vw, 66px);
}

.faq-chapter--paper .faq-chapter-head h2 {
  color: var(--paper-ink);
}

.faq-chapter--paper .faq-chapter-head p {
  color: rgba(36, 26, 20, 0.72);
}

.faq-chapter--paper .faq-chapter-num {
  color: rgba(36, 26, 20, 0.55);
  -webkit-text-stroke: 0;
}

.faq-chapter--paper .faq-item {
  border-color: rgba(36, 26, 20, 0.18);
  background: rgba(255, 255, 255, 0.42);
}

.faq-chapter--paper .faq-item:hover {
  border-color: rgba(168, 85, 247, 0.6);
}

.faq-chapter--paper .faq-item[open] {
  border-color: rgba(36, 26, 20, 0.4);
  background: #fff;
}

.faq-chapter--paper .faq-item summary {
  color: var(--paper-ink);
}

.faq-chapter--paper .faq-mark {
  border-color: rgba(36, 26, 20, 0.35);
}

.faq-chapter--paper .faq-mark::before,
.faq-chapter--paper .faq-mark::after {
  background: var(--coral);
}

.faq-chapter--paper .faq-answer {
  color: rgba(36, 26, 20, 0.86);
}

.faq-chapter--paper .faq-answer a {
  color: #7c3aed;
}

.faq-chapter-foot {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fog);
}

/* 客服渠道 */
.faq-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.faq-contact-card {
  padding: 20px;
  border-radius: var(--radius-soft);
  border: 1px solid var(--faq-line);
  background: linear-gradient(150deg, rgba(27, 16, 53, 0.95), rgba(7, 7, 12, 0.75));
}

.faq-contact-card:first-child {
  border-color: rgba(245, 184, 75, 0.45);
  box-shadow: var(--glow-amber);
}

.faq-contact-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fog);
}

.faq-contact-value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--amber);
  word-break: break-word;
}

.faq-contact-value--mail {
  font-size: clamp(15px, 3vw, 19px);
  color: var(--mint);
}

.faq-contact-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--fog);
}

.faq-contact-meta {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--faq-line);
}

.faq-contact-meta > div {
  display: grid;
  gap: 4px;
}

.faq-contact-meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--violet);
}

.faq-contact-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 233, 216, 0.84);
}

/* 结尾 */
.faq-outro {
  margin-top: clamp(36px, 6vw, 64px);
  padding: clamp(22px, 4vw, 32px);
  border-radius: var(--radius-card);
  border: 1px solid var(--faq-line);
  background:
    linear-gradient(115deg, rgba(168, 85, 247, 0.2), transparent 62%),
    rgba(27, 16, 53, 0.55);
}

.faq-outro p {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(244, 233, 216, 0.86);
}

.faq-outro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* 响应式 */
@media (min-width: 640px) {
  .faq-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .faq-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-contact-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }

  .faq-contact-meta > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 940px) {
  .faq-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .faq-hero-figure {
    transform: rotate(-2deg);
  }

  .faq-body {
    grid-template-columns: 226px minmax(0, 1fr);
    align-items: start;
  }

  .faq-toc {
    display: block;
    position: sticky;
    top: 112px;
  }

  .faq-item summary {
    padding: 18px 22px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 22px 20px;
    font-size: 15px;
  }
}

@media (min-width: 1180px) {
  .faq-body {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 56px;
  }

  .faq-chapter--paper {
    padding: 38px 40px;
  }
}

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

  .faq-hero-figure {
    transform: none;
  }
}
<<<END>>>
