.page-faq {
  --faq-line-dark: rgba(200, 164, 93, 0.28);
  --faq-line-light: rgba(36, 28, 24, 0.16);
  --faq-cream-text: rgba(251, 248, 242, 0.78);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--porcelain);
  padding: clamp(28px, 5vw, 52px) 0 clamp(46px, 6vw, 78px);
}

.page-faq .faq-hero__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
}

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

.page-faq .faq-hero .breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(251, 248, 242, 0.55);
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-faq .faq-hero .breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-hero .breadcrumbs-item + .breadcrumbs-item::before {
  content: "/";
  margin-right: 6px;
  color: rgba(200, 164, 93, 0.7);
}

.page-faq .faq-hero .breadcrumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

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

.page-faq .faq-hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 6.4vw, 68px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 14px 0 0;
  color: var(--porcelain);
  max-width: 15ch;
}

.page-faq .faq-hero__text {
  margin: 22px 0 0;
  max-width: 36em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--faq-cream-text);
}

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

/* 四栏问题导航 */
.page-faq .faq-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-faq .faq-nav__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  border: 1px solid var(--faq-line-dark);
  border-radius: 2px;
  background: rgba(251, 248, 242, 0.035);
  text-decoration: none;
  color: var(--porcelain);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.page-faq .faq-nav__card:hover {
  border-color: var(--gold);
  background: rgba(200, 164, 93, 0.09);
}

.page-faq .faq-nav__card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page-faq .faq-nav__num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  transition: transform var(--dur) var(--ease);
}

.page-faq .faq-nav__card:hover .faq-nav__num {
  transform: translateX(3px);
}

.page-faq .faq-nav__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.page-faq .faq-nav__desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(251, 248, 242, 0.62);
}

/* ---------- 区块通用头 ---------- */
.page-faq .faq-head {
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 760px;
}

.page-faq .faq-head .section-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--brown);
}

.page-faq .faq-head .prose {
  margin: 18px 0 0;
  max-width: 38em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: rgba(36, 28, 24, 0.78);
}

.page-faq .faq-head--split {
  max-width: none;
  display: grid;
  gap: 18px;
}

.page-faq .faq-head__aside {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
  border-left: 1px solid var(--faq-line-light);
  padding-left: 16px;
}

/* ---------- 换设备步骤 ---------- */
.page-faq .faq-steps__grid {
  display: grid;
  gap: clamp(30px, 4vw, 52px);
}

.page-faq .step-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
}

.page-faq .step-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 34px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(200, 164, 93, 0.15));
}

.page-faq .step {
  position: relative;
  padding-bottom: 28px;
}

.page-faq .step:last-child {
  padding-bottom: 0;
}

.page-faq .step::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--cream);
}

.page-faq .step__num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-faq .step__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
  color: var(--brown);
}

.page-faq .step__desc {
  margin: 10px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(36, 28, 24, 0.76);
}

.page-faq .step:focus-within .step__title {
  color: var(--cinnabar);
}

.page-faq .faq-steps__figure {
  margin: 0;
  border: 1px solid var(--faq-line-light);
  border-radius: 2px;
  overflow: hidden;
  background: var(--porcelain);
  box-shadow: var(--shadow-soft);
}

.page-faq .image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq .image-caption {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  border-top: 1px solid var(--faq-line-light);
}

.page-faq .faq-steps__note {
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(200, 164, 93, 0.08);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(36, 28, 24, 0.8);
}

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

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

.page-faq .faq-item {
  border-bottom: 1px solid var(--faq-line-light);
  transition: background var(--dur) var(--ease);
}

.page-faq .faq-item:hover {
  background: rgba(200, 164, 93, 0.05);
}

.page-faq .faq-item__q {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  line-height: 1.65;
  color: var(--brown);
}

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

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

.page-faq .faq-item__q::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1;
  color: var(--gold);
  transition: transform var(--dur) var(--ease);
}

.page-faq .faq-item[open] .faq-item__q::after {
  content: "−";
}

.page-faq .faq-item__text {
  flex: 1 1 16em;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.page-faq .faq-item .tag {
  flex: 0 0 auto;
  font-size: 11px;
}

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

.page-faq .faq-item__a p {
  margin: 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(36, 28, 24, 0.76);
}

/* ---------- 版本适配 ---------- */
.page-faq .faq-fit__grid {
  display: grid;
  gap: 16px;
}

.page-faq .faq-fit__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 1px solid var(--faq-line-light);
  border-radius: 2px;
  background: var(--porcelain);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-faq .faq-fit__card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.page-faq .faq-fit__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--brown);
}

.page-faq .faq-fit__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(36, 28, 24, 0.76);
}

.page-faq .faq-fit__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--faq-line-light);
  padding-top: 14px;
}

.page-faq .faq-fit__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-faq .faq-fit__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.page-faq .faq-fit__notes {
  display: grid;
  gap: 1px;
  margin-top: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--faq-line-light);
  border-radius: 2px;
  overflow: hidden;
  background: var(--faq-line-light);
}

.page-faq .faq-fit__note {
  background: var(--cream);
  padding: 20px 22px;
}

.page-faq .faq-fit__note h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--brown);
}

.page-faq .faq-fit__note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(36, 28, 24, 0.7);
}

/* ---------- 联系支持 ---------- */
.page-faq .faq-contact {
  color: var(--porcelain);
}

.page-faq .faq-contact__grid {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
}

.page-faq .faq-contact .section-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.3;
  color: var(--porcelain);
}

.page-faq .faq-contact__text {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--faq-cream-text);
}

.page-faq .faq-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-faq .faq-contact__panel {
  border: 1px solid var(--faq-line-dark);
  border-radius: 2px;
  padding: 6px 20px 20px;
  background: rgba(251, 248, 242, 0.03);
}

.page-faq .faq-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(200, 164, 93, 0.14);
}

.page-faq .faq-contact__row:last-of-type {
  border-bottom: none;
}

.page-faq .faq-contact__label {
  flex: 0 0 100%;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-faq .faq-contact__value {
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--porcelain);
  word-break: break-word;
}

.page-faq .faq-contact__panel .copy-btn {
  flex: 0 0 auto;
  align-self: center;
}

.page-faq .copy-status {
  display: block;
  min-height: 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--celadon);
}

.page-faq .faq-contact__note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(251, 248, 242, 0.55);
}

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

  .page-faq .faq-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
  }

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

@media (min-width: 860px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
  }

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

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

  .page-faq .faq-fit__notes {
    margin-top: 1px;
  }

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

  .page-faq .faq-item__q {
    padding: 20px 8px;
    font-size: 16px;
  }
}

@media (min-width: 1100px) {
  .page-faq .faq-hero h1 {
    max-width: 13ch;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-nav__card,
  .page-faq .faq-nav__num,
  .page-faq .faq-item,
  .page-faq .faq-fit__card,
  .page-faq .faq-hero .breadcrumbs a {
    transition: none;
  }

  .page-faq .faq-nav__card:hover .faq-nav__num {
    transform: none;
  }
}

@media print {
  .page-faq .faq-hero__texture,
  .page-faq .faq-hero__actions,
  .page-faq .faq-contact__actions,
  .page-faq .copy-btn {
    display: none;
  }

  .page-faq .faq-hero,
  .page-faq .faq-contact {
    background: #fff;
    color: #000;
  }

  .page-faq .faq-hero h1,
  .page-faq .faq-contact .section-title,
  .page-faq .faq-hero__text,
  .page-faq .faq-contact__text {
    color: #000;
  }
}
