.page-faq {
  --faq-gap: clamp(28px, 4vw, 56px);
  background: var(--hy-paper);
  color: var(--hy-ink);
}

/* ---------- Hero ---------- */

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  background: var(--hy-ink);
  color: var(--hy-white);
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 88px);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -10%;
  width: min(620px, 72vw);
  height: min(620px, 72vw);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(10, 108, 255, .44) 0%, rgba(10, 108, 255, 0) 66%);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--hy-blue) 0 34%, var(--hy-cyan) 34% 58%, var(--hy-orange) 58% 100%);
}

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

.page-faq .breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(24px, 4vw, 44px);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--hy-onink-dim);
}

.page-faq .breadcrumbs__link {
  color: var(--hy-onink);
  text-decoration: none;
  transition: color .16s var(--ease);
}

.page-faq .breadcrumbs__link:hover {
  color: var(--hy-cyan);
}

.page-faq .breadcrumbs__current {
  color: var(--hy-white);
}

.page-faq .faq-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.page-faq .faq-hero .display {
  margin: 14px 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--hy-white);
}

.page-faq .faq-hero .lead {
  max-width: 46ch;
  color: var(--hy-onink);
  font-size: 16px;
  line-height: 1.85;
}

.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-faq .faq-hero__media {
  margin: 0;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(10, 108, 255, .26), rgba(0, 229, 208, .12));
  border: 1px solid rgba(0, 229, 208, .28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .36);
}

.page-faq .faq-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 10px);
}

/* ---------- 快速上手 ---------- */

.page-faq .faq-quick .section-head .lead {
  max-width: 46ch;
  color: var(--hy-gray);
}

.page-faq .steps {
  list-style: none;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-faq .step {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--hy-white);
  border: 1px solid var(--hy-rule);
  border-radius: var(--radius-lg);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.page-faq .step:hover {
  border-color: var(--hy-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.page-faq .step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: var(--radius-pill);
  background: var(--hy-ink);
  color: var(--hy-cyan);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
}

.page-faq .step__title {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--hy-ink);
}

.page-faq .step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--hy-gray);
}

.page-faq .faq-figure {
  margin: clamp(36px, 5vw, 56px) 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--hy-night);
  border: 1px solid rgba(10, 108, 255, .18);
}

.page-faq .faq-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-faq .faq-figure figcaption {
  padding: 16px 22px 20px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--hy-onink);
}

/* ---------- 问题分组 ---------- */

.page-faq .faq-questions .section-head .lead {
  max-width: 48ch;
  color: var(--hy-gray);
}

.page-faq .faq-groups {
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--hy-rule);
}

.page-faq .faq-group {
  border-bottom: 1px solid var(--hy-rule);
}

.page-faq .faq-group__head {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.page-faq .faq-group__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: clamp(18px, 2.4vw, 26px) clamp(4px, 1vw, 10px);
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: background-color .18s var(--ease);
}

.page-faq .faq-group__btn:hover {
  background-color: rgba(10, 108, 255, .05);
}

.page-faq .faq-group__btn:focus-visible {
  outline: 2px solid var(--hy-blue);
  outline-offset: 2px;
}

.page-faq .faq-group__no {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(10, 108, 255, .22);
  background: rgba(10, 108, 255, .08);
  color: var(--hy-blue);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-faq .faq-group__btn[aria-expanded="true"] .faq-group__no {
  background: var(--hy-blue);
  border-color: var(--hy-blue);
  color: var(--hy-white);
}

.page-faq .faq-group__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: clamp(17px, 2.1vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--hy-ink);
}

.page-faq .faq-group__hint {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--hy-gray);
}

.page-faq .faq-group__icon {
  flex: 0 0 auto;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--hy-rule);
  transition: border-color .18s var(--ease);
}

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

.page-faq .faq-group__icon::before {
  width: 10px;
  height: 2px;
}

.page-faq .faq-group__icon::after {
  width: 2px;
  height: 10px;
}

.page-faq .faq-group__btn[aria-expanded="true"] .faq-group__icon {
  border-color: var(--hy-blue);
}

.page-faq .faq-group__btn[aria-expanded="true"] .faq-group__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.page-faq .faq-panel {
  overflow: hidden;
}

.page-faq .faq-panel__inner {
  padding: 0 clamp(4px, 1vw, 10px) clamp(28px, 4vw, 40px);
}

.page-faq .faq-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

/* 目录栏 */

.page-faq .faq-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--hy-rule);
}

.page-faq .faq-toc__link {
  display: flex;
  gap: 9px;
  margin-left: -1px;
  padding: 8px 12px;
  border-left: 2px solid transparent;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hy-gray);
  text-decoration: none;
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}

.page-faq .faq-toc__link:hover {
  color: var(--hy-blue);
  border-left-color: var(--hy-blue);
  background-color: rgba(10, 108, 255, .05);
}

.page-faq .faq-toc__no {
  flex: 0 0 auto;
  padding-top: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--hy-blue);
}

/* 答案栏 */

.page-faq .faq-answers {
  display: flex;
  flex-direction: column;
}

.page-faq .faq-answer {
  padding-bottom: 22px;
  scroll-margin-top: 96px;
}

.page-faq .faq-answer + .faq-answer {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--hy-rule);
}

.page-faq .faq-answer__q {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--hy-ink);
}

.page-faq .faq-answer__no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--hy-orange);
}

.page-faq .faq-answer p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--hy-gray);
}

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

.page-faq .kw {
  color: var(--hy-ink);
  border-bottom: 2px solid var(--hy-cyan);
  padding-bottom: 1px;
}

.page-faq .faq-steps {
  counter-reset: fstep;
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-faq .faq-steps li {
  position: relative;
  counter-increment: fstep;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--hy-gray);
}

.page-faq .faq-steps li::before {
  content: counter(fstep);
  position: absolute;
  left: 0;
  top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--hy-cyan-mist);
  color: var(--hy-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

/* ---------- 联系客服 ---------- */

.page-faq .faq-support {
  position: relative;
  overflow: hidden;
  background: var(--hy-ink);
  color: var(--hy-white);
}

.page-faq .faq-support::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -60%;
  width: 44%;
  height: 220%;
  background: linear-gradient(180deg, rgba(0, 229, 208, .12), rgba(0, 229, 208, 0));
  transform: rotate(12deg);
  pointer-events: none;
}

.page-faq .faq-support__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}

.page-faq .faq-support__body .section-title {
  color: var(--hy-white);
  margin-bottom: 16px;
}

.page-faq .faq-support__body > p {
  max-width: 42ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--hy-onink);
}

.page-faq .faq-links {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-links a {
  display: inline-block;
  width: fit-content;
  font-size: 15px;
  color: var(--hy-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}

.page-faq .faq-links a::after {
  content: " →";
}

.page-faq .faq-links a:hover {
  border-bottom-color: var(--hy-cyan);
  color: var(--hy-white);
}

.page-faq .faq-support__cards {
  display: grid;
  gap: 14px;
}

.page-faq .faq-contact-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--hy-night);
  border: 1px solid rgba(220, 229, 240, .12);
  transition: border-color .18s var(--ease);
}

.page-faq .faq-contact-card:hover {
  border-color: rgba(0, 229, 208, .38);
}

.page-faq .faq-contact-card__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hy-onink-dim);
}

.page-faq .faq-contact-card__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.5;
  color: var(--hy-white);
  word-break: break-all;
}

.page-faq .faq-contact-card__note {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--hy-onink-dim);
}

.page-faq .faq-contact-card__link {
  color: var(--hy-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 208, .45);
}

.page-faq .faq-contact-card__link:hover {
  border-bottom-color: var(--hy-cyan);
}

.page-faq .faq-contact-card .copy-btn {
  margin-top: 14px;
}

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

@media (max-width: 640px) {
  .page-faq .faq-group__hint {
    display: none;
  }

  .page-faq .faq-group__btn {
    gap: 12px;
  }
}

@media (min-width: 720px) {
  .page-faq .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
  }

  .page-faq .step:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 48px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--hy-cyan);
  }

  .page-faq .step:not(:first-child)::after {
    content: "";
    position: absolute;
    left: -12px;
    top: 44px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--hy-cyan);
    border-right: 2px solid var(--hy-cyan);
    transform: rotate(45deg);
  }
}

@media (min-width: 860px) {
  .page-faq .faq-split {
    grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }
}

@media (min-width: 880px) {
  .page-faq .faq-support__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
}
