.page-faq {
  --faq-pad: clamp(28px, 4vw, 48px);
  --faq-num-w: 54px;
  position: relative;
  padding-bottom: clamp(40px, 6vw, 72px);
}

/* ===== 首屏 ===== */
.page-faq .faq-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px);
  border-bottom: var(--line);
}

.page-faq .faq-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27, 42, 68, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 42, 68, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  pointer-events: none;
}

.page-faq .faq-intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), transparent);
}

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

.page-faq .faq-intro h1 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--white);
  max-width: 20ch;
}

.page-faq .faq-intro__lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  color: var(--dim);
}

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

.page-faq .faq-statusbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 24px;
  padding: 10px 16px;
  border: var(--line);
  background: rgba(11, 18, 32, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--dim);
  max-width: 100%;
}

.page-faq .faq-statusbar .ver-badge {
  background: var(--flare);
  color: #fff;
  padding: 3px 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-faq .faq-statusbar__text {
  color: var(--mint);
}

.page-faq .faq-statusbar__sep {
  width: 1px;
  height: 12px;
  background: var(--grid);
  flex: none;
}

/* ===== 布局 ===== */
.page-faq .faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(24px, 4vw, 44px);
}

/* ===== 锚点目录 ===== */
.page-faq .faq-anchor__title {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
}

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

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

.page-faq .faq-anchor__list li {
  flex: none;
}

.page-faq .faq-anchor__list a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--grid);
  background: var(--panel);
  color: var(--dim);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.page-faq .faq-anchor__list a .mono {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-faq .faq-anchor__list a:hover,
.page-faq .faq-anchor__list a:focus-visible {
  color: var(--white);
  border-color: var(--cyan);
  background: var(--panel-2);
  outline: none;
}

.page-faq .faq-anchor__list a:focus-visible {
  box-shadow: 0 0 0 2px rgba(34, 224, 255, 0.45);
}

/* ===== 分组 ===== */
.page-faq .faq-group {
  scroll-margin-top: calc(var(--header-total) + 20px);
}

.page-faq .faq-group + .faq-group {
  margin-top: clamp(40px, 6vw, 72px);
}

.page-faq .faq-group__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--grid);
}

.page-faq .faq-group__idx {
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.page-faq .faq-group__head h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--white);
}

.page-faq .faq-group__intro {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--dim);
}

/* ===== 折叠问答 ===== */
.page-faq .faq-list {
  border-bottom: var(--line);
}

.page-faq .faq-item {
  border-top: var(--line);
}

.page-faq .faq-item:first-child {
  border-top: 0;
}

.page-faq .faq-item__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  transition: background 0.18s ease;
}

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

.page-faq .faq-item__head::marker {
  content: "";
}

.page-faq .faq-item__head:hover {
  background: rgba(27, 42, 68, 0.32);
}

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

.page-faq .faq-item__no {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  min-width: 38px;
  padding-top: 3px;
}

.page-faq .faq-item__q {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
  transition: color 0.18s ease;
}

.page-faq .faq-item[open] .faq-item__q {
  color: var(--cyan);
}

.page-faq .faq-item__sign {
  position: relative;
  width: 13px;
  height: 13px;
  align-self: center;
  flex: none;
}

.page-faq .faq-item__sign::before,
.page-faq .faq-item__sign::after {
  content: "";
  position: absolute;
  background: var(--dim);
  transition: transform 0.2s ease, background 0.2s ease;
}

.page-faq .faq-item__sign::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.page-faq .faq-item__sign::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.page-faq .faq-item[open] .faq-item__sign::after {
  transform: translateX(-50%) scaleY(0);
}

.page-faq .faq-item[open] .faq-item__sign::before {
  background: var(--cyan);
}

.page-faq .faq-item__a {
  padding: 2px 4px 22px var(--faq-num-w);
  border-top: 1px dashed rgba(27, 42, 68, 0.9);
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-faq .faq-item__a p {
  margin: 14px 0 0;
  max-width: 66ch;
}

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

/* ===== 判定表格 ===== */
.page-faq .faq-table-wrap {
  margin: 22px 0 0;
  border: var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-faq .faq-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-faq .faq-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-faq .faq-table th,
.page-faq .faq-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: var(--line);
  line-height: 1.6;
}

.page-faq .faq-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: var(--panel);
  white-space: nowrap;
}

.page-faq .faq-table tbody td {
  color: var(--dim);
}

.page-faq .faq-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-faq .faq-table tbody td:first-child {
  font-family: var(--font-mono);
  color: var(--white);
  white-space: nowrap;
}

.page-faq .faq-table .is-ok {
  color: var(--mint);
}

.page-faq .faq-table .is-warn {
  color: var(--warn);
}

.page-faq .faq-table .is-no {
  color: var(--flare);
}

/* ===== 图文 ===== */
.page-faq .faq-figure {
  margin: 22px 0 0;
}

.page-faq .faq-figure--phone {
  max-width: 320px;
}

/* ===== 自查清单 ===== */
.page-faq .faq-checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border: var(--line);
  background: var(--panel);
}

.page-faq .faq-checklist li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 14px;
  border-bottom: var(--line);
  font-size: 14.5px;
  color: var(--white);
}

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

.page-faq .faq-checklist__no {
  flex: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--violet);
}

/* ===== 联系卡 ===== */
.page-faq .faq-contact-card {
  position: relative;
  margin-top: 20px;
  padding: clamp(20px, 3.4vw, 30px) clamp(18px, 3vw, 28px) clamp(20px, 3.4vw, 30px) clamp(22px, 3.6vw, 34px);
  border: var(--line);
  background:
    linear-gradient(140deg, rgba(11, 18, 32, 0.96), rgba(14, 23, 40, 0.96)),
    var(--panel);
}

.page-faq .faq-contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--cyan), var(--violet));
}

.page-faq .faq-contact-card__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
}

.page-faq .faq-mailline {
  display: inline-block;
  margin: 12px 0 0;
  padding: 10px 16px;
  border: 1px solid var(--grid);
  background: var(--ink-900);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  word-break: break-all;
  user-select: all;
}

.page-faq .faq-contact-card__facts {
  margin: 20px 0 0;
  border-top: 1px solid var(--grid);
}

.page-faq .faq-contact-card__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid var(--grid);
}

.page-faq .faq-contact-card__row dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-faq .faq-contact-card__row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
}

.page-faq .faq-contact-card__note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--dim);
  max-width: 58ch;
}

/* ===== 节末入口 ===== */
.page-faq .faq-group__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ===== 收尾行动舱 ===== */
.page-faq .faq-endcap {
  margin-top: clamp(44px, 6vw, 80px);
  border-top: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
  background:
    linear-gradient(100deg, rgba(34, 224, 255, 0.09), rgba(168, 85, 247, 0.1) 58%, rgba(255, 90, 31, 0.12)),
    var(--panel);
}

.page-faq .faq-endcap__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: clamp(28px, 4.5vw, 44px) 0;
}

.page-faq .faq-endcap__text h2 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--white);
  max-width: 24ch;
}

.page-faq .faq-endcap__text p {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--dim);
}

.page-faq .faq-endcap__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ===== 桌面 ===== */
@media (min-width: 981px) {
  .page-faq .faq-layout {
    grid-template-columns: 224px minmax(0, 1fr);
    align-items: start;
  }

  .page-faq .faq-anchor {
    position: sticky;
    top: calc(var(--header-total) + 24px);
    border-right: 1px solid var(--grid);
    padding-right: 18px;
  }

  .page-faq .faq-anchor__list {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
    gap: 2px;
  }

  .page-faq .faq-anchor__list li {
    width: 100%;
  }

  .page-faq .faq-anchor__list a {
    width: 100%;
    border: 0;
    border-left: 2px solid transparent;
    background: transparent;
    padding: 9px 10px;
  }

  .page-faq .faq-anchor__list a:hover,
  .page-faq .faq-anchor__list a:focus-visible {
    border-left-color: var(--cyan);
    background: rgba(34, 224, 255, 0.07);
  }

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

  .page-faq .faq-contact-card__row {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 6px 18px;
    align-items: baseline;
  }

  .page-faq .faq-endcap__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
  }

  .page-faq .faq-endcap__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .page-faq .faq-item__head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px 2px;
  }

  .page-faq .faq-item__q {
    font-size: 15.5px;
  }

  .page-faq .faq-item__a {
    padding: 2px 2px 20px 2px;
    font-size: 15px;
  }

  .page-faq .faq-figure--phone {
    max-width: 100%;
  }

  .page-faq .faq-statusbar {
    font-size: 11.5px;
  }
}
