.page-faq {
  --faq-wire-soft: rgba(244, 247, 245, .13);
  --faq-body: rgba(244, 247, 245, .78);
  padding-bottom: clamp(64px, 10vw, 120px);
}

/* ---------- 首屏 ---------- */
.page-faq .crumbs {
  margin: 0 0 clamp(20px, 4vw, 36px);
}

.page-faq .faq-hero {
  padding: clamp(8px, 2vw, 20px) 0 clamp(28px, 5vw, 48px);
  border-bottom: 1px solid var(--soft-2);
}

.page-faq .faq-hero h1 {
  margin: 16px 0 0;
  font-family: var(--font-geo);
  font-weight: 200;
  font-size: clamp(2rem, 6.4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--paper);
  max-width: 20ch;
}

.page-faq .faq-hero .lede {
  margin: 22px 0 0;
  max-width: 60ch;
  color: var(--faq-body);
  font-size: 17px;
  line-height: 1.75;
}

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

/* ---------- 分类标签 ---------- */
.page-faq .faq-toc {
  position: sticky;
  top: var(--bar-h);
  z-index: 12;
  margin: 0 0 clamp(8px, 2vw, 20px);
  padding: 14px 0 16px;
  background: linear-gradient(180deg, var(--ink) 74%, rgba(7, 9, 12, 0));
}

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

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

.page-faq .faq-toc .chip {
  flex: 0 0 auto;
  white-space: nowrap;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .08em;
}

/* ---------- 问题分组 ---------- */
.page-faq .faq-group {
  padding: clamp(32px, 6vw, 64px) 0;
  border-top: 1px solid var(--soft);
}

.page-faq .faq-group:first-of-type {
  border-top: 0;
}

.page-faq .faq-group.zone-jade,
.page-faq .faq-group.zone-wine {
  margin: 0 calc(-1 * var(--gap));
  padding-left: var(--gap);
  padding-right: var(--gap);
  border-top: 0;
  border-left: 1px solid var(--halo-faint);
}

.page-faq .faq-group__head {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.page-faq .faq-group__no {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--pitch);
}

.page-faq .faq-group__head h2 {
  margin: 10px 0 0;
  font-family: var(--font-geo);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  line-height: 1.2;
  color: var(--paper);
}

.page-faq .faq-group__note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 图片 ---------- */
.page-faq .faq-figure {
  margin: 0 0 clamp(20px, 3vw, 32px);
}

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

.page-faq .faq-figure .figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 问答条目 ---------- */
.page-faq .faq-list {
  display: grid;
  gap: 0;
}

.page-faq .faq-item {
  position: relative;
  border-left: 1px solid var(--faq-wire-soft);
  padding-left: 18px;
  transition: border-color var(--dur) var(--ease);
}

.page-faq .faq-item + .faq-item {
  margin-top: 2px;
}

.page-faq .faq-item:hover {
  border-left-color: var(--halo-strong);
}

.page-faq .faq-item[open] {
  border-left-color: var(--pitch);
}

.page-faq .faq-item[open]::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 24px;
  width: 5px;
  height: 5px;
  background: var(--pitch);
  box-shadow: 0 0 10px var(--halo-strong);
  animation: faq-node 2.4s var(--ease) infinite;
}

@keyframes faq-node {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.page-faq .faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-geo);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  line-height: 1.55;
  color: var(--paper);
  transition: color var(--dur) var(--ease);
}

.page-faq .faq-item > summary::-webkit-details-marker,
.page-faq .faq-item > summary::marker {
  display: none;
  content: "";
}

.page-faq .faq-item > summary:hover,
.page-faq .faq-item > summary:focus-visible {
  color: var(--pitch);
}

.page-faq .faq-item > summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  color: var(--muted);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-faq .faq-item[open] > summary::after {
  content: "–";
  color: var(--pitch);
}

.page-faq .faq-item__a {
  padding: 0 0 22px;
  max-width: 68ch;
  color: var(--faq-body);
  font-size: 16px;
  line-height: 1.75;
}

.page-faq .faq-item__a p {
  margin: 0 0 .85em;
}

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

.page-faq .faq-item__a a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid var(--halo);
}

.page-faq .faq-item__a a:hover {
  border-bottom-color: var(--neon);
}

.page-faq .faq-item__a .num {
  color: var(--paper);
}

/* ---------- 操作步骤 ---------- */
.page-faq .faq-steps {
  list-style: none;
  margin: 12px 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .faq-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.7;
}

.page-faq .faq-step-no {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
  background: var(--pitch);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}

.page-faq .faq-contactline {
  margin-top: 14px;
}

/* ---------- 复制按钮 ---------- */
.page-faq .copy-btn {
  margin: 0 8px 8px 0;
}

/* ---------- 尾部联系面板 ---------- */
.page-faq .faq-contact {
  position: relative;
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(24px, 4.5vw, 48px);
  background: linear-gradient(148deg, var(--jade) 0%, var(--panel) 62%, var(--ink) 100%);
  border: 1px solid var(--halo);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.page-faq .faq-contact h2 {
  margin: 12px 0 0;
  font-family: var(--font-geo);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  line-height: 1.2;
  color: var(--paper);
}

.page-faq .faq-contact__text {
  margin: 14px 0 0;
  max-width: 52ch;
  color: var(--faq-body);
  font-size: 16px;
  line-height: 1.75;
}

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

.page-faq .faq-contact__actions .copy-btn {
  margin: 0;
}

.page-faq .faq-contact__hint {
  margin: 12px 0 0;
  min-height: 1.2em;
  font-size: 13px;
  color: var(--pitch);
}

.page-faq .faq-contact__side {
  padding-top: clamp(18px, 3vw, 24px);
  border-top: 1px solid var(--soft-2);
}

.page-faq .faq-contact__meta {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

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

.page-faq .faq-contact__time {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--pitch);
  letter-spacing: .02em;
}

.page-faq .faq-contact__meta--link a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid var(--halo);
}

.page-faq .faq-contact__meta--link a:hover {
  border-bottom-color: var(--neon);
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 900px) {
  .page-faq .faq-group__body {
    display: grid;
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
  }

  .page-faq .faq-group__body > .faq-list:first-child {
    grid-column: 1 / -1;
  }

  .page-faq .faq-group__body > .faq-list:nth-child(2):last-child {
    grid-column: 2;
  }

  .page-faq .faq-figure {
    margin-bottom: 0;
  }

  .page-faq .faq-group#correction .faq-group__body {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  }

  .page-faq .faq-group#correction .faq-group__body > .faq-list {
    grid-column: 1;
    grid-row: 1;
  }

  .page-faq .faq-group#correction .faq-figure {
    grid-column: 2;
    grid-row: 1;
  }

  .page-faq .faq-contact {
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
    align-items: start;
  }

  .page-faq .faq-contact__side {
    padding-top: 0;
    padding-left: clamp(20px, 3vw, 36px);
    border-top: 0;
    border-left: 1px solid var(--soft-2);
  }
}

/* ---------- 宽屏 ---------- */
@media (min-width: 1280px) {
  .page-faq .faq-hero h1 {
    max-width: 22ch;
  }

  .page-faq .faq-item {
    padding-left: 24px;
  }
}

/* ---------- 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item[open]::before {
    animation: none;
    opacity: 1;
  }

  .page-faq .faq-item,
  .page-faq .faq-item > summary,
  .page-faq .faq-item > summary::after {
    transition: none;
  }
}
