.page-faq {
  background: var(--jade-white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  background: var(--ink);
  color: var(--jade-white);
  padding: clamp(20px, 4vw, 36px) 0 clamp(40px, 7vw, 84px);
  overflow: hidden;
}

.page-faq .faq-hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-faq .faq-hero__deco::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -26%;
  width: min(700px, 104vw);
  height: 172%;
  background: var(--red);
  transform: rotate(-9deg);
  border-radius: 6px 96px 6px 96px;
  opacity: .96;
}

.page-faq .faq-hero__deco::after {
  content: "";
  position: absolute;
  bottom: -52%;
  left: -16%;
  width: min(500px, 76vw);
  height: 100%;
  background: var(--red-deep);
  transform: rotate(-9deg);
  border-radius: 76px 6px 76px 6px;
  opacity: .9;
}

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

.page-faq .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 4vw, 40px);
  font-size: 13px;
  color: rgba(246, 241, 231, .72);
}

.page-faq .crumbs__link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--ease);
}

.page-faq .crumbs__link:hover,
.page-faq .crumbs__link:focus-visible {
  border-bottom-color: var(--gold);
}

.page-faq .crumbs__sep {
  opacity: .6;
}

.page-faq .crumbs__current {
  color: rgba(246, 241, 231, .86);
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  grid-template-columns: minmax(0, 1fr);
}

.page-faq .faq-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-faq .faq-hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.85rem, 5.2vw, 3.9rem);
  line-height: 1.24;
  letter-spacing: .02em;
  color: var(--jade-white);
  text-wrap: balance;
}

.page-faq .faq-hero__lead {
  margin: 0;
  max-width: 46em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(246, 241, 231, .86);
}

.page-faq .faq-hero__side {
  position: relative;
  padding: 18px 20px;
  background: rgba(22, 17, 15, .74);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-organic);
}

.page-faq .faq-hero__vert {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold);
}

.page-faq .faq-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246, 241, 231, .9);
}

.page-faq .faq-hero__facts .num {
  color: var(--gold);
  font-weight: 600;
  margin-right: 4px;
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
  }
}

@media (min-width: 1120px) {
  .page-faq .faq-hero__side {
    padding-right: 52px;
  }

  .page-faq .faq-hero__vert {
    writing-mode: vertical-rl;
    position: absolute;
    top: 18px;
    right: 16px;
    margin: 0;
    letter-spacing: .34em;
  }
}

/* ---------- 分组导航 ---------- */
.page-faq .faq-toc {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-toc__list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-faq .faq-toc__list::-webkit-scrollbar {
  height: 4px;
}

.page-faq .faq-toc__list::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.page-faq .faq-toc .anchor-nav__link {
  display: block;
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r-chip);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-faq .faq-toc .anchor-nav__link:hover,
.page-faq .faq-toc .anchor-nav__link:focus-visible {
  background: var(--jade-white);
  border-color: var(--line);
}

.page-faq .faq-toc .anchor-nav__link[aria-current="true"] {
  background: var(--red);
  color: var(--jade-white);
  border-color: var(--red);
}

/* ---------- 章节 ---------- */
.page-faq .faq-section {
  padding: clamp(40px, 6.5vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-section--alt {
  background: var(--paper);
}

.page-faq .faq-section--ink {
  background: var(--ink-2);
  color: var(--jade-white);
  border-bottom: 0;
}

.page-faq .faq-section .section-head {
  margin-bottom: 14px;
}

.page-faq .faq-section__note {
  margin: 0 0 clamp(22px, 3.5vw, 38px);
  max-width: 42em;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.85;
  color: rgba(22, 17, 15, .78);
}

.page-faq .faq-section--ink .faq-section__note {
  color: rgba(246, 241, 231, .78);
}

.page-faq .faq-sub {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: var(--ink);
}

.page-faq .faq-section__tail {
  margin: clamp(24px, 4vw, 40px) 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(246, 241, 231, .84);
}

.page-faq .faq-section__tail a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 169, 74, .5);
  transition: border-color 160ms var(--ease);
}

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

.page-faq .faq-section--alt .section-head--onink,
.page-faq .faq-section--ink .section-head__index {
  color: var(--gold);
}

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

.page-faq .faq-section--ink .qa-group {
  border-top-color: rgba(201, 191, 168, .28);
}

.page-faq .qa {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: background 160ms var(--ease);
}

.page-faq .faq-section--ink .qa {
  border-bottom-color: rgba(201, 191, 168, .28);
}

.page-faq .qa::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 220ms var(--ease);
}

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

.page-faq .qa__q {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 17px 44px 17px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--ink);
  transition: color 160ms var(--ease), padding-left 200ms var(--ease);
}

.page-faq .faq-section--ink .qa__q {
  color: var(--jade-white);
}

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

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

.page-faq .qa[open] .qa__q {
  padding-left: 20px;
}

.page-faq .qa__q:hover {
  color: var(--red);
}

.page-faq .faq-section--ink .qa__q:hover {
  color: var(--gold);
}

.page-faq .qa__idx {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .06em;
}

.page-faq .faq-section--ink .qa__idx {
  color: var(--gold);
}

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

.page-faq .qa__mark {
  position: absolute;
  right: 12px;
  top: 24px;
  width: 14px;
  height: 14px;
}

.page-faq .qa__mark::before,
.page-faq .qa__mark::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: var(--red);
}

.page-faq .qa__mark::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.page-faq .qa__mark::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
  transition: transform 200ms var(--ease);
}

.page-faq .qa[open] .qa__mark::after {
  transform: scaleY(0);
}

.page-faq .faq-section--ink .qa__mark::before,
.page-faq .faq-section--ink .qa__mark::after {
  background: var(--gold);
}

.page-faq .qa__a {
  padding: 0 20px 22px 20px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(22, 17, 15, .84);
}

.page-faq .faq-section--ink .qa__a {
  color: rgba(246, 241, 231, .82);
}

.page-faq .qa__a p {
  margin: 0 0 12px;
  max-width: 40em;
}

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

.page-faq .qa__a a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 18, 43, .38);
  transition: border-color 160ms var(--ease);
}

.page-faq .qa__a a:hover,
.page-faq .qa__a a:focus-visible {
  border-bottom-color: var(--red);
}

.page-faq .faq-section--ink .qa__a a {
  color: var(--gold);
  border-bottom-color: rgba(216, 169, 74, .48);
}

.page-faq .faq-section--ink .qa__a a:hover,
.page-faq .faq-section--ink .qa__a a:focus-visible {
  border-bottom-color: var(--gold);
}

.page-faq .qa__a .tag {
  margin-right: 4px;
}

.page-faq .mini-steps {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.8;
}

.page-faq .mini-steps li::marker {
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ---------- 排查步骤条 ---------- */
.page-faq .faq-steps {
  list-style: none;
  margin: 0 0 clamp(24px, 4vw, 40px);
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-faq .faq-step {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--jade-white);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-soft);
}

.page-faq .faq-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -18px;
  height: 18px;
  border-left: 2px dashed var(--line);
}

.page-faq .faq-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 13px;
  font-weight: 600;
  color: var(--jade-white);
  background: var(--red);
  border-radius: 4px 12px 4px 12px;
}

.page-faq .faq-step__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(22, 17, 15, .86);
}

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

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

  .page-faq .faq-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 16px 24px 0 0;
    background: transparent;
    border-left: 0;
    border-top: 3px solid var(--gold);
    border-radius: 0;
  }

  .page-faq .faq-step:not(:last-child)::after {
    left: auto;
    bottom: auto;
    right: 8px;
    top: 32px;
    height: 0;
    width: 16px;
    border-left: 0;
    border-top: 2px dashed var(--line);
  }

  .page-faq .faq-step__num {
    width: 32px;
    height: 32px;
  }
}

/* ---------- 图片框与图注 ---------- */
.page-faq .frame {
  margin: 0 0 clamp(28px, 4.5vw, 48px);
  border-radius: var(--r-organic);
  overflow: hidden;
}

.page-faq .frame__caption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(22, 17, 15, .72);
  background: var(--jade-white);
}

.page-faq .faq-section--alt .frame__caption {
  background: var(--paper);
}

.page-faq .faq-section--ink .frame__caption {
  background: rgba(246, 241, 231, .08);
  color: rgba(246, 241, 231, .76);
}

/* ---------- 清单样式 ---------- */
.page-faq .check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq .check-list__item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(22, 17, 15, .86);
}

.page-faq .check-list__box {
  width: 9px;
  height: 9px;
  margin-top: 9px;
  background: var(--gold);
  border-radius: 1px;
  transform: rotate(45deg);
}

.page-faq .check-list__item strong {
  color: var(--red);
  font-weight: 700;
}

/* ---------- 侧栏信息岛 ---------- */
.page-faq .island {
  align-self: start;
}

.page-faq .island__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: var(--ink);
}

.page-faq .island__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(22, 17, 15, .84);
}

.page-faq .island__list li {
  padding-left: 14px;
  position: relative;
}

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

.page-faq .island__list .num {
  color: var(--red);
  font-weight: 600;
}

.page-faq .island__foot {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(22, 17, 15, .74);
}

.page-faq .island__foot a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 18, 43, .38);
}

.page-faq .island__foot a:hover,
.page-faq .island__foot a:focus-visible {
  border-bottom-color: var(--red);
}

/* ---------- 术语对照 ---------- */
.page-faq .term-list {
  margin: 0 0 clamp(28px, 4.5vw, 48px);
  padding: 0;
  border-top: 1px solid rgba(201, 191, 168, .3);
}

.page-faq .term-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 16px 14px;
  border-bottom: 1px solid rgba(201, 191, 168, .3);
  border-left: 3px solid transparent;
  transition: background 160ms var(--ease), border-left-color 160ms var(--ease);
}

.page-faq .term-item:hover,
.page-faq .term-item:focus-within {
  background: rgba(246, 241, 231, .06);
  border-left-color: var(--gold);
}

.page-faq .term-item__key {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--gold);
}

.page-faq .term-item__val {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(246, 241, 231, .84);
}

@media (min-width: 760px) {
  .page-faq .term-item {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
    align-items: baseline;
    padding: 18px 16px;
  }
}

/* ---------- 无障碍与动效收敛 ---------- */
.page-faq .qa__q:focus-visible,
.page-faq .anchor-nav__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .qa::before,
  .page-faq .qa__mark::after,
  .page-faq .qa__q,
  .page-faq .term-item,
  .page-faq .faq-toc .anchor-nav__link {
    transition: none;
  }

  .page-faq .qa__q:hover {
    color: inherit;
  }
}
