.page-faq {
  --faq-gap: clamp(20px, 4vw, 40px);
  --faq-soft: rgba(111, 231, 196, 0.06);
  padding-bottom: clamp(56px, 9vw, 120px);
}

/* ---------- 面包屑 ---------- */
.page-faq .crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: calc(var(--header-h) + 22px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-faq .crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

.page-faq .crumbs a:hover,
.page-faq .crumbs a:focus-visible {
  color: var(--cyan);
}

.page-faq .slash {
  color: var(--dim);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-intro {
  padding-top: clamp(24px, 4vw, 52px);
}

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

.page-faq .section__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-faq .faq-intro__title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(34px, 8vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 15ch;
}

.page-faq .faq-intro__text {
  margin: 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.page-faq .faq-intro__figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--stand);
}

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

.page-faq .faq-intro__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 15, 0.18) 0%, rgba(6, 20, 15, 0.72) 100%);
  pointer-events: none;
}

.page-faq .faq-intro__figure .media__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan-soft);
}

/* ---------- 编号目录树 ---------- */
.page-faq .faq-index {
  list-style: none;
  margin: clamp(28px, 5vw, 52px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
}

.page-faq .faq-index__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 18px 20px;
  background: var(--raise);
  color: var(--text);
  text-decoration: none;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.page-faq .faq-index__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--t) var(--ease);
}

.page-faq .faq-index__link:hover,
.page-faq .faq-index__link:focus-visible {
  background: var(--stand);
}

.page-faq .faq-index__link:hover::before,
.page-faq .faq-index__link:focus-visible::before {
  transform: scaleY(1);
}

.page-faq .faq-index__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-faq .faq-index__label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

/* ---------- 答案区 ---------- */
.page-faq .faq-answers {
  margin-top: clamp(48px, 8vw, 96px);
  display: grid;
  gap: clamp(16px, 3vw, 26px);
}

.page-faq .faq-item {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--stand);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color var(--t) var(--ease);
}

.page-faq .faq-item--featured {
  background: var(--raise);
}

.page-faq .faq-item:target {
  border-color: var(--cyan);
}

.page-faq .faq-item__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 3vw, 24px);
  margin-bottom: 16px;
}

.page-faq .faq-item__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--dim);
  transition: color var(--t) var(--ease);
}

.page-faq .faq-item:target .faq-item__num {
  color: var(--coral);
}

.page-faq .faq-item__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(20px, 3.6vw, 28px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--text);
}

.page-faq .faq-item__body p {
  margin: 0 0 14px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
}

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

.page-faq .faq-item__body a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color var(--t) var(--ease);
}

.page-faq .faq-item__body a:hover,
.page-faq .faq-item__body a:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 两列事实块 ---------- */
.page-faq .faq-facts {
  list-style: none;
  margin: 18px 0 18px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow: hidden;
}

.page-faq .faq-facts li {
  padding: 14px 18px;
  background: var(--ink);
  font-size: 15px;
  line-height: 1.68;
  color: var(--muted);
}

.page-faq .faq-facts strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- 第 2 项：查询路径 ---------- */
.page-faq .faq-path {
  margin-top: 22px;
  display: grid;
  gap: 22px;
}

.page-faq .faq-path__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--ink);
}

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

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

.page-faq .faq-step {
  position: relative;
  padding: 18px 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--stand);
}

.page-faq .faq-step::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -16px;
  width: 1px;
  height: 16px;
  background: var(--line);
  transform: skewX(-6deg);
}

.page-faq .faq-step:last-child::after {
  display: none;
}

.page-faq .faq-step__num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 11px;
  border-radius: var(--r-p);
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-faq .faq-step__title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.page-faq .faq-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 字段表 ---------- */
.page-faq .faq-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-s);
}

.page-faq .faq-fields {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-faq .faq-fields caption {
  padding-bottom: 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-faq .faq-fields th,
.page-faq .faq-fields td {
  padding: 12px 16px;
  text-align: left;
  line-height: 1.62;
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-fields thead th {
  background: var(--raise);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-faq .faq-fields tbody td {
  color: var(--muted);
}

.page-faq .faq-fields tbody td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- 订阅开关示意 ---------- */
.page-faq .faq-toggle-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
  padding: 14px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--r-s);
  background: var(--faq-soft);
  width: fit-content;
  max-width: 100%;
}

.page-faq .faq-toggle-visual__track {
  position: relative;
  display: block;
  flex: none;
  width: 56px;
  height: 30px;
  border-radius: var(--r-p);
  background: var(--coral);
}

.page-faq .faq-toggle-visual__thumb {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 24px;
  height: 24px;
  border-radius: var(--r-p);
  background: var(--ink);
  transform: translateY(-50%);
}

.page-faq .faq-toggle-visual__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 结尾人工通道 ---------- */
.page-faq .faq-contact {
  margin-top: clamp(48px, 8vw, 96px);
}

.page-faq .faq-contact__panel {
  position: relative;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--stand);
  overflow: hidden;
}

.page-faq .faq-contact__panel::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: var(--r-p);
  background: radial-gradient(circle, rgba(111, 231, 196, 0.16) 0%, rgba(111, 231, 196, 0) 70%);
  pointer-events: none;
}

.page-faq .faq-contact__title {
  position: relative;
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(24px, 4.6vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 20ch;
}

.page-faq .faq-contact__text {
  position: relative;
  margin: 0 0 26px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

.page-faq .faq-contact__grid {
  position: relative;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow: hidden;
  margin-bottom: 26px;
}

.page-faq .faq-contact__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--ink);
}

.page-faq .faq-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-faq .faq-contact__value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cyan-soft);
  word-break: break-word;
}

.page-faq .faq-contact__panel .btn {
  position: relative;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-faq .faq-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-faq .faq-contact__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-faq .faq-intro__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .page-faq .faq-intro__figure img {
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 960px) {
  .page-faq .faq-path {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(24px, 4vw, 40px);
  }

  .page-faq .faq-path__figure img {
    aspect-ratio: 3 / 4;
  }

  .page-faq .faq-steps {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-index__link,
  .page-faq .faq-index__link::before,
  .page-faq .faq-item,
  .page-faq .faq-item__num {
    transition: none;
  }
}
