.page-faq {
  padding-top: clamp(92px, 12vw, 128px);
  padding-bottom: clamp(48px, 8vw, 96px);
  background:
    radial-gradient(78% 46% at 6% 0%, rgba(139, 92, 246, .13), transparent 62%),
    radial-gradient(64% 42% at 98% 18%, rgba(255, 138, 43, .08), transparent 60%),
    radial-gradient(70% 40% at 40% 100%, rgba(59, 130, 246, .07), transparent 64%);
}

.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-faq #fees,
.page-faq #feedback,
.page-faq #replay,
.page-faq #install {
  scroll-margin-top: 96px;
}

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

/* ---------- 首屏 ---------- */

.page-faq .faq-hero__head {
  position: relative;
  padding: clamp(24px, 4.6vw, 54px);
  border: var(--bw) solid rgba(139, 92, 246, .72);
  border-radius: 6px;
  background:
    radial-gradient(110% 130% at 104% -12%, rgba(255, 77, 141, .20), transparent 58%),
    radial-gradient(118% 150% at -12% 112%, rgba(59, 130, 246, .20), transparent 60%),
    linear-gradient(178deg, #141026 0%, #0C0918 100%);
  box-shadow: 6px 6px 0 0 rgba(23, 17, 40, .95);
  overflow: hidden;
}

.page-faq .faq-hero__head::before,
.page-faq .faq-hero__head::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--orange);
  pointer-events: none;
}

.page-faq .faq-hero__head::before {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}

.page-faq .faq-hero__head::after {
  right: 12px;
  bottom: 12px;
  border-top: 0;
  border-left: 0;
}

.page-faq .faq-hero__head h1 {
  margin: 14px 0 0;
  font-family: var(--sans);
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--paper);
  text-shadow: 0 0 30px rgba(139, 92, 246, .5);
}

.page-faq .faq-hero__lede {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.85;
  color: var(--muted);
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: 26px;
  margin-top: clamp(26px, 4vw, 46px);
}

/* ---------- 分类入口 ---------- */

.page-faq .faq-jump {
  padding: 22px 20px 20px;
  border: var(--bw) solid rgba(30, 42, 69, 1);
  border-radius: 14px;
  background: linear-gradient(168deg, #171128 0%, #100B1E 100%);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .16) inset;
}

.page-faq .faq-jump__label {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--lime);
  text-transform: uppercase;
}

.page-faq .faq-jump__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .faq-jump__item {
  --tone: var(--purple);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid rgba(30, 42, 69, 1);
  border-radius: 10px;
  background: rgba(11, 8, 19, .62);
  text-decoration: none;
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.page-faq .faq-jump__item[data-tone="fee"] { --tone: var(--orange); }
.page-faq .faq-jump__item[data-tone="replay"] { --tone: var(--blue); }
.page-faq .faq-jump__item[data-tone="install"] { --tone: var(--purple); }
.page-faq .faq-jump__item[data-tone="help"] { --tone: var(--lime); }

.page-faq .faq-jump__item:hover,
.page-faq .faq-jump__item:focus-visible {
  transform: translateY(-3px);
  border-color: var(--tone);
  background: rgba(255, 255, 255, .04);
  outline: none;
}

.page-faq .faq-jump__dot {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--tone);
  border-radius: 8px;
  color: var(--tone);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.page-faq .faq-jump__text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.35;
}

.page-faq .faq-jump__text em {
  margin-top: 3px;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.page-faq .faq-jump__hint {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(30, 42, 69, 1);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

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

/* ---------- 分组标题 ---------- */

.page-faq .faq-group__head,
.page-faq .faq-sec-head {
  position: relative;
  padding-left: 48px;
}

.page-faq .faq-group__no {
  position: absolute;
  left: 0;
  top: 6px;
  padding: 3px 6px;
  border: 1px solid rgba(163, 230, 53, .45);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--lime);
}

.page-faq .faq-group__title,
.page-faq .faq-steps__title,
.page-faq .faq-check__title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-faq .faq-group__lede,
.page-faq .faq-steps__lede,
.page-faq .faq-check__lede {
  margin: 12px 0 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-faq .faq-group__lede a,
.page-faq .faq-steps__lede a,
.page-faq .faq-check__lede a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 手风琴 ---------- */

.page-faq .faq-acc {
  margin-top: 22px;
  border-top: 1px solid rgba(139, 92, 246, .28);
}

.page-faq .faq-item {
  position: relative;
  border-bottom: 1px solid rgba(139, 92, 246, .28);
}

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

.page-faq .faq-item[open]::before {
  transform: scaleY(1);
}

.page-faq .faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 10px 18px 20px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--paper);
  transition: color .2s var(--ease);
}

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

.page-faq .faq-item__q:hover,
.page-faq .faq-item__q:focus-visible {
  color: var(--orange);
  outline: none;
}

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

.page-faq .faq-item__n {
  flex: none;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.page-faq .faq-item__t {
  flex: 1 1 auto;
  min-width: 0;
}

.page-faq .faq-item__mark {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: transform .24s var(--ease);
}

.page-faq .faq-item__mark::before,
.page-faq .faq-item__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .24s var(--ease), opacity .2s var(--ease);
}

.page-faq .faq-item__mark::before {
  width: 10px;
  height: 1.5px;
}

.page-faq .faq-item__mark::after {
  width: 1.5px;
  height: 10px;
}

.page-faq .faq-item[open] .faq-item__mark::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.page-faq .faq-item__a {
  padding: 0 12px 22px 46px;
}

.page-faq .faq-item__a p {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.page-faq .faq-item__a p + p {
  margin-top: 10px;
}

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

.page-faq .faq-item__a a:hover {
  color: var(--orange);
}

/* ---------- 分隔线 ---------- */

.page-faq .faq-sep {
  height: 0;
  border: 0;
  border-top: 1px solid rgba(139, 92, 246, .55);
  background: none;
  margin: clamp(34px, 5.5vw, 62px) 0;
  position: relative;
}

.page-faq .faq-sep::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 72px;
  height: 2px;
  background: var(--pink);
}

/* ---------- 反馈步骤 ---------- */

.page-faq .faq-steps {
  margin-top: 0;
}

.page-faq .faq-steps__figure {
  margin: 26px 0 0;
  border: var(--bw) solid rgba(139, 92, 246, .45);
  border-radius: 14px;
  overflow: hidden;
  background: #0F0B1D;
}

.page-faq .faq-steps__figure img {
  width: 100%;
}

.page-faq .faq-steps__cap {
  padding: 12px 16px;
  border-top: 1px solid rgba(30, 42, 69, 1);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-faq .faq-steps__grid {
  margin-top: 26px;
}

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

.page-faq .faq-step {
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1.5px solid rgba(30, 42, 69, 1);
  border-radius: 12px;
  background: linear-gradient(152deg, rgba(23, 17, 40, .96), rgba(11, 8, 19, .96));
  transition: border-color .24s var(--ease), transform .24s var(--ease);
}

.page-faq .faq-step:hover {
  border-color: rgba(139, 92, 246, .8);
  transform: translateY(-2px);
}

.page-faq .faq-step__num {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, .13);
}

.page-faq .faq-step__t {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--paper);
}

.page-faq .faq-step__d {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-faq .faq-steps__phone {
  margin: 22px 0 0;
  border: var(--bw) solid rgba(59, 130, 246, .4);
  border-radius: 14px;
  overflow: hidden;
  background: #0F0B1D;
}

.page-faq .faq-steps__phone img {
  width: 100%;
}

/* ---------- 速查表 ---------- */

.page-faq .faq-check {
  padding-bottom: clamp(8px, 2vw, 24px);
}

.page-faq .faq-check__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid rgba(139, 92, 246, .28);
}

.page-faq .faq-check__row {
  display: grid;
  gap: 8px;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(139, 92, 246, .2);
  transition: background .22s var(--ease);
}

.page-faq .faq-check__row:hover {
  background: rgba(139, 92, 246, .07);
}

.page-faq .faq-check__q {
  font-size: 15px;
  line-height: 1.65;
  color: var(--paper);
}

.page-faq .faq-check__go {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1.5px solid rgba(59, 130, 246, .7);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: border-color .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}

.page-faq .faq-check__go::after {
  content: "→";
  font-family: var(--mono);
}

.page-faq .faq-check__go:hover,
.page-faq .faq-check__go:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateX(3px);
  outline: none;
}

/* ---------- 响应式 ---------- */

@media (min-width: 620px) {
  .page-faq .faq-hero__head {
    box-shadow: var(--shadow-brutal);
  }

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

  .page-faq .faq-check__row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 15px 10px;
  }

  .page-faq .faq-check__go {
    justify-self: end;
  }
}

@media (min-width: 860px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
    gap: clamp(28px, 3.4vw, 46px);
  }

  .page-faq .faq-hero__main {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .page-faq .faq-hero__aside {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    position: sticky;
    top: 92px;
    min-width: 0;
  }

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

  .page-faq .faq-steps__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(24px, 3vw, 40px);
  }

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

  .page-faq .faq-steps__phone {
    margin-top: 0;
    position: sticky;
    top: 92px;
  }

  .page-faq .faq-steps__figure {
    margin-top: 30px;
  }
}

@media (min-width: 1080px) {
  .page-faq .faq-item__q {
    padding-left: 24px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-jump__item,
  .page-faq .faq-item__mark,
  .page-faq .faq-item__mark::before,
  .page-faq .faq-item__mark::after,
  .page-faq .faq-item::before,
  .page-faq .faq-step,
  .page-faq .faq-check__go,
  .page-faq .faq-check__row {
    transition: none;
  }

  .page-faq .faq-jump__item:hover,
  .page-faq .faq-step:hover,
  .page-faq .faq-check__go:hover {
    transform: none;
  }
}
