.page-faq {
  --faq-gap: clamp(20px, 4vw, 44px);
  --faq-rail-w: 236px;
  display: block;
  background: var(--ink);
  color: var(--white);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: clamp(26px, 6vw, 58px) 0 clamp(26px, 5vw, 52px);
  background:
    radial-gradient(120% 92% at 6% 0%, rgba(53, 240, 224, .14), transparent 58%),
    radial-gradient(95% 82% at 98% 8%, rgba(139, 92, 246, .18), transparent 60%),
    var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(143, 163, 200, .07) 0 1px, transparent 1px 92px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 78%);
}

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

.page-faq .faq-hero .breadcrumb {
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--mist);
}

.page-faq .faq-hero .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

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

.page-faq .faq-hero-grid {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  align-items: end;
}

.page-faq .faq-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(30px, 7.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -.022em;
  text-shadow: 0 0 30px rgba(53, 240, 224, .22);
}

.page-faq .faq-hero .lead {
  max-width: 620px;
  margin: 0;
  color: var(--mist);
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.78;
}

.page-faq .faq-quick {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  display: grid;
  gap: 4px;
  border-left: 2px solid rgba(53, 240, 224, .4);
}

.page-faq .faq-quick a {
  display: block;
  padding: 7px 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.page-faq .faq-quick a:hover,
.page-faq .faq-quick a:focus-visible {
  color: var(--cyan);
  transform: translateX(3px);
}

/* ---------- 主布局 ---------- */
.page-faq .faq-main {
  padding: clamp(28px, 5vw, 54px) 0 0;
}

.page-faq .faq-layout {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
}

/* ---------- 左侧分类栏 ---------- */
.page-faq .faq-rail {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}

.page-faq .faq-rail-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold);
}

.page-faq .faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-filters .chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: rgba(15, 26, 51, .78);
  color: var(--mist);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.page-faq .faq-filters .chip:hover {
  color: var(--white);
  border-color: rgba(53, 240, 224, .55);
}

.page-faq .faq-filters .chip:active {
  transform: translateY(2px);
}

.page-faq .faq-filters .chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 10px 26px -12px rgba(53, 240, 224, .9);
}

.page-faq .faq-filters .chip-mark {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-faq .faq-filters .chip-mark[data-tone="rose"] { background: var(--rose); }
.page-faq .faq-filters .chip-mark[data-tone="violet"] { background: var(--violet); }
.page-faq .faq-filters .chip-mark[data-tone="gold"] { background: var(--gold); }

.page-faq .faq-filters .chip[aria-pressed="true"] .chip-mark {
  background: var(--ink);
}

.page-faq .faq-rail-note {
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: rgba(15, 26, 51, .66);
  font-size: 13px;
  line-height: 1.72;
  color: var(--mist);
}

.page-faq .faq-rail-note p {
  margin: 0 0 6px;
}

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

.page-faq .faq-rail-note-title {
  color: var(--white);
  font-weight: 600;
}

.page-faq .faq-rail-note .mono {
  color: var(--cyan);
  font-size: 12.5px;
  word-break: break-all;
}

/* ---------- 答案区 ---------- */
.page-faq .faq-answers {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  min-width: 0;
}

.page-faq .faq-flow,
.page-faq .faq-group,
.page-faq .faq-contact,
.page-faq .faq-still {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- 换设备流程 ---------- */
.page-faq .faq-flow {
  position: relative;
  display: grid;
  gap: clamp(22px, 4vw, 36px);
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  background:
    linear-gradient(180deg, rgba(53, 240, 224, .08), transparent 44%),
    var(--felt);
  box-shadow: var(--shadow-deep);
}

.page-faq .faq-flow h2 {
  margin: 8px 0 12px;
  font-size: clamp(21px, 4.4vw, 30px);
  line-height: 1.24;
  letter-spacing: -.015em;
}

.page-faq .faq-flow-lead {
  margin: 0 0 22px;
  max-width: 560px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-faq .faq-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-faq .faq-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, rgba(53, 240, 224, .62), rgba(53, 240, 224, .06));
}

.page-faq .faq-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(143, 163, 200, .16);
}

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

.page-faq .faq-step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(53, 240, 224, .55);
  border-radius: 50%;
  background: var(--felt);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.page-faq .faq-step-body h3 {
  margin: 8px 0 6px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
}

.page-faq .faq-step-body p {
  margin: 0;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.78;
}

.page-faq .faq-step-body a,
.page-faq .faq-contact-list a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 224, .45);
  transition: border-color .18s ease, color .18s ease;
}

.page-faq .faq-step-body a:hover,
.page-faq .faq-contact-list a:hover {
  border-bottom-color: var(--cyan);
}

.page-faq .faq-flow-media {
  margin: 0;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.page-faq .faq-flow-media img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  box-shadow: var(--shadow-deep);
}

.page-faq .faq-flow-media .media-caption {
  max-width: 260px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 问答分组 ---------- */
.page-faq .faq-groups {
  display: grid;
  gap: clamp(28px, 4.5vw, 46px);
}

.page-faq .faq-group[hidden] {
  display: none;
}

.page-faq .faq-group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: baseline;
  padding: 0 0 0 14px;
  border-left: 3px solid var(--cyan);
}

.page-faq #group-sync .faq-group-head { border-left-color: var(--rose); }
.page-faq #group-rank .faq-group-head { border-left-color: var(--violet); }
.page-faq #group-settle .faq-group-head { border-left-color: var(--gold); }
.page-faq #group-client .faq-group-head { border-left-color: var(--cyan); }

.page-faq .faq-group-index {
  grid-row: 1 / 3;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-faq .faq-group-head h2 {
  margin: 0;
  font-size: clamp(19px, 3.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -.012em;
}

.page-faq .faq-group-head p {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
}

/* ---------- 折叠问答 ---------- */
.page-faq .accordion {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.page-faq .acc {
  border-bottom: 1px solid var(--line);
}

.page-faq .acc-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 15px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease;
}

.page-faq .acc-head:hover .acc-title,
.page-faq .acc-head:focus-visible .acc-title {
  color: var(--cyan);
}

.page-faq .acc-index {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-faq .acc-title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--white);
  transition: color .18s ease;
}

.page-faq .acc-sign {
  position: relative;
  justify-self: end;
  width: 15px;
  height: 15px;
}

.page-faq .acc-sign::before,
.page-faq .acc-sign::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  transition: transform .22s ease, opacity .22s ease;
}

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

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

.page-faq .acc[data-open="true"] .acc-sign::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.page-faq .acc-panel {
  overflow: hidden;
  transition: height .22s ease;
}

.page-faq .acc-panel-inner {
  padding: 0 0 20px 0;
}

.page-faq .acc-panel-inner p {
  margin: 0 0 10px;
  max-width: 640px;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.82;
}

.page-faq .acc-panel-inner p:last-child {
  margin-bottom: 0;
}

.page-faq .acc-panel-inner p.key-line {
  padding-left: 13px;
  border-left: 3px solid var(--cyan);
  color: var(--white);
  font-weight: 600;
}

.page-faq .acc-panel-inner a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 224, .45);
}

.page-faq .acc-panel-inner a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 联系客服 ---------- */
.page-faq .faq-contact {
  margin-top: clamp(38px, 6vw, 68px);
  padding: clamp(28px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(139, 92, 246, .14), transparent 62%),
    var(--ink);
}

.page-faq .faq-contact-grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}

.page-faq .faq-contact-media {
  margin: 0;
}

.page-faq .faq-contact-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 560px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  box-shadow: var(--shadow-deep);
}

.page-faq .faq-contact-body h2 {
  margin: 8px 0 14px;
  font-size: clamp(21px, 4.4vw, 30px);
  line-height: 1.26;
  letter-spacing: -.015em;
}

.page-faq .faq-contact-body > p {
  margin: 0;
  max-width: 560px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-faq .faq-mail-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(53, 240, 224, .48);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(53, 240, 224, .16), rgba(139, 92, 246, .14));
  box-shadow: 0 24px 56px -32px rgba(53, 240, 224, .95);
}

.page-faq .faq-mail-bar .mono {
  font-size: 15px;
  color: var(--cyan);
  word-break: break-all;
}

.page-faq .faq-mail-note {
  font-size: 12.5px;
  color: var(--mist);
}

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

.page-faq .faq-contact-list li {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

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

.page-faq .faq-contact-label {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold);
}

/* ---------- 还没解决 ---------- */
.page-faq .faq-still {
  padding: clamp(32px, 5.5vw, 60px) 0 clamp(42px, 7vw, 80px);
}

.page-faq .faq-still-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(20px, 4.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -.015em;
}

.page-faq .faq-still-head p {
  margin: 0;
  max-width: 600px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

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

.page-faq .faq-still-list li {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: rgba(15, 26, 51, .68);
}

.page-faq .faq-still-list .mono {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-faq .faq-still-list h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.5;
}

.page-faq .faq-still-list p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.78;
}

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

@media (min-width: 900px) {
  .page-faq .faq-hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

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

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

  .page-faq .faq-flow-media {
    justify-items: end;
  }

  .page-faq .faq-flow-media img,
  .page-faq .faq-flow-media .media-caption {
    max-width: 280px;
  }

  .page-faq .faq-contact-media img {
    max-width: 100%;
  }
}

@media (min-width: 1000px) {
  .page-faq .faq-layout {
    grid-template-columns: var(--faq-rail-w) minmax(0, 1fr);
    align-items: start;
  }

  .page-faq .faq-rail {
    position: sticky;
    top: calc(var(--header-h) + 22px);
  }

  .page-faq .faq-filters {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding-left: 12px;
    border-left: 1px solid var(--line);
  }

  .page-faq .faq-filters .chip {
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  .page-faq .faq-flow-media img,
  .page-faq .faq-flow-media .media-caption {
    max-width: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-quick a,
  .page-faq .faq-filters .chip,
  .page-faq .acc-head,
  .page-faq .acc-sign::before,
  .page-faq .acc-sign::after,
  .page-faq .acc-panel {
    transition: none;
  }
}
