.page-faq {
  background: var(--cream);
  color: var(--ink);
  overflow-x: clip;
}

/* 首屏 */
.page-faq .fx-hero {
  position: relative;
  padding: calc(var(--head-h, 72px) + clamp(18px, 4vw, 48px)) 0 clamp(36px, 5.5vw, 68px);
  background:
    radial-gradient(120% 90% at 92% -10%, rgba(46, 110, 142, 0.12), transparent 62%),
    var(--cream);
}

.page-faq .fx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(20, 24, 26, 0.045) 1px, transparent 1px);
  background-size: clamp(70px, 9vw, 132px) 100%;
}

.page-faq .fx-hero > .shell {
  position: relative;
  z-index: 1;
}

.page-faq .fx-hero .breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--fog);
  margin-bottom: clamp(20px, 3.5vw, 36px);
}

.page-faq .fx-hero .breadcrumb a {
  color: var(--glacier);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}

.page-faq .fx-hero .breadcrumb a:hover {
  border-bottom-color: var(--glacier-bright);
}

.page-faq .fx-hero__inner {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.page-faq .fx-hero__title {
  margin: 0.55rem 0 0;
  font-size: clamp(30px, 6.2vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 15em;
  text-wrap: balance;
}

.page-faq .fx-hero__lede {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  max-width: 34em;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.85;
  color: var(--fog);
}

.page-faq .fx-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--glacier);
}

.page-faq .fx-hero__meta li::before {
  content: "—";
  margin-right: 0.5rem;
  color: var(--linen);
}

.page-faq .fx-hero__media {
  margin: 0;
  position: relative;
}

.page-faq .fx-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: cover;
}

.page-faq .fx-hero__media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247, 243, 234, 0.75);
  pointer-events: none;
}

/* 症状索引 */
.page-faq .fx-symptoms {
  display: grid;
  gap: 1px;
  margin-top: clamp(28px, 4vw, 46px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-faq .fx-symptom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.35rem;
  padding: 18px 18px 20px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease);
}

.page-faq .fx-symptom:hover,
.page-faq .fx-symptom:focus-visible {
  background: var(--glacier-pale);
}

.page-faq .fx-symptom:focus-visible {
  outline: 2px solid var(--glacier-bright);
  outline-offset: -2px;
}

.page-faq .fx-symptom__num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--glacier);
  padding-top: 0.2rem;
}

.page-faq .fx-symptom__title {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.page-faq .fx-symptom__note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--fog);
}

.page-faq .fx-symptom--focus {
  position: relative;
  z-index: 1;
  background: var(--cream);
  box-shadow: inset 0 0 0 2px var(--maple);
}

.page-faq .fx-symptom--focus .fx-symptom__num {
  color: var(--maple);
}

/* 分组 */
.page-faq .fx-group {
  padding: clamp(34px, 5.5vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.page-faq .fx-group--pale {
  background: var(--glacier-pale);
  border-top-color: rgba(20, 24, 26, 0.1);
}

.page-faq .fx-group__head {
  max-width: 46em;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-faq .fx-group__num {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--linen);
}

.page-faq .fx-group__title {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.45rem, 3.6vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

.page-faq .fx-group__intro {
  margin: 0;
  max-width: 38em;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--fog);
}

/* 步骤 */
.page-faq .fx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46em;
}

.page-faq .fx-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  column-gap: 0.9rem;
  padding-bottom: clamp(20px, 3vw, 30px);
}

.page-faq .fx-step::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 2.4rem;
  bottom: 0.2rem;
  width: 1px;
  background: var(--line-strong);
}

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

.page-faq .fx-step:last-child::before {
  display: none;
}

.page-faq .fx-step__num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--glacier);
}

.page-faq .fx-step__body {
  min-width: 0;
}

.page-faq .fx-step__title {
  margin: 0.25rem 0 0.35rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.page-faq .fx-step__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--fog);
}

.page-faq .fx-verdict {
  margin: 0.7rem 0 0;
  padding: 0.6rem 0.85rem;
  background: rgba(27, 154, 170, 0.12);
  border-left: 2px solid var(--glacier-bright);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--pine);
}

/* 问答块 */
.page-faq .fx-answers {
  margin-top: clamp(24px, 3.5vw, 38px);
  max-width: 48em;
}

.page-faq .fx-answers--flush {
  margin-top: 0;
}

.page-faq .fx-qa {
  border-top: 1px solid var(--line-strong);
}

.page-faq .fx-qa:last-of-type {
  border-bottom: 1px solid var(--line-strong);
}

.page-faq .fx-qa summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.005em;
  transition: color var(--t-fast) var(--ease);
}

.page-faq .fx-qa summary::-webkit-details-marker {
  display: none;
}

.page-faq .fx-qa summary:hover {
  color: var(--glacier);
}

.page-faq .fx-qa summary:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 3px;
}

.page-faq .fx-qa__icon {
  flex: 0 0 auto;
  margin-top: 0.35rem;
  color: var(--glacier);
  transition: transform var(--t-fast) var(--ease);
}

.page-faq .fx-qa[open] .fx-qa__icon {
  transform: rotate(180deg);
  color: var(--glacier-bright);
}

.page-faq .fx-qa[open] summary {
  color: var(--pine);
}

.page-faq .fx-qa__body {
  max-width: 42em;
  padding: 0 0 1.2rem;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--fog);
}

.page-faq .fx-qa__body p {
  margin: 0 0 0.6rem;
}

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

.page-faq .fx-qa__body a,
.page-faq .fx-step__text a,
.page-faq .fx-help__more a {
  color: var(--glacier);
  text-decoration: none;
  border-bottom: 1px solid var(--glacier-bright);
  transition: color var(--t-fast) var(--ease);
}

.page-faq .fx-qa__body a:hover,
.page-faq .fx-step__text a:hover,
.page-faq .fx-help__more a:hover {
  color: var(--maple);
  border-bottom-color: var(--maple);
}

/* 小屏版分栏 */
.page-faq .fx-split {
  display: grid;
  gap: clamp(22px, 3.5vw, 44px);
  align-items: start;
}

.page-faq .fx-split__media {
  margin: 0;
}

.page-faq .fx-split__media img {
  display: block;
  width: 100%;
  height: auto;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  object-fit: cover;
}

.page-faq .fx-split__content {
  min-width: 0;
}

/* 联系与清单 */
.page-faq .fx-group--pine {
  background: var(--pine);
  color: var(--cream);
  border-top: none;
}

.page-faq .fx-group--pine .fx-group__num {
  color: var(--linen);
}

.page-faq .fx-group--pine .fx-group__intro {
  color: var(--cream-70);
}

.page-faq .fx-contact {
  display: grid;
  gap: 1px;
  background: var(--line-invert);
  border: 1px solid var(--line-invert);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-faq .fx-contact__card {
  padding: clamp(18px, 3vw, 28px);
  background: rgba(247, 243, 234, 0.04);
}

.page-faq .fx-contact__label {
  margin: 0 0 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--cream-55);
}

.page-faq .fx-contact__value {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.5;
  color: var(--cream);
  word-break: break-word;
}

.page-faq .fx-contact__note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--cream-70);
}

.page-faq .fx-help__checklist {
  margin-top: clamp(24px, 3.5vw, 40px);
  max-width: 46em;
}

.page-faq .fx-help__subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--cream);
}

.page-faq .fx-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-faq .fx-checklist li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--cream-70);
}

.page-faq .fx-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid var(--linen);
}

.page-faq .fx-help__more {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--cream-55);
}

.page-faq .fx-help__more a {
  color: var(--cream);
  border-bottom-color: var(--cream-55);
}

.page-faq .fx-help__more a:hover {
  color: var(--linen);
  border-bottom-color: var(--linen);
}

/* 响应式 */
@media (min-width: 640px) {
  .page-faq .fx-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

@media (min-width: 820px) {
  .page-faq .fx-symptoms {
    grid-template-columns: 1.45fr 1fr 1.05fr;
    grid-auto-rows: 1fr;
  }

  .page-faq .fx-symptom:first-child {
    grid-row: span 2;
    align-content: start;
  }

  .page-faq .fx-symptom:last-child {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .page-faq .fx-split {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
  }

  .page-faq .fx-split__media {
    position: sticky;
    top: calc(var(--head-h, 72px) + 24px);
  }
}

@media (min-width: 760px) {
  .page-faq .fx-contact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {
  .page-faq .fx-hero__media {
    order: -1;
  }

  .page-faq .fx-hero__media::after {
    inset: 7px;
  }

  .page-faq .fx-step {
    grid-template-columns: 1.9rem minmax(0, 1fr);
    column-gap: 0.75rem;
  }

  .page-faq .fx-step__num {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.72rem;
  }

  .page-faq .fx-step::before {
    left: 0.95rem;
    top: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .fx-symptom,
  .page-faq .fx-qa__icon,
  .page-faq .fx-qa summary {
    transition: none;
  }
}
