.page-faq {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: clamp(20px, 3.5vw, 34px) 0 clamp(38px, 6vw, 76px);
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -170px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  clip-path: polygon(0 26%, 100% 0, 74% 100%, 0 82%);
  opacity: 0.16;
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 0;
}

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

.page-faq .faq-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-faq .faq-crumb a {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 1px;
}

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

.page-faq .faq-crumb [aria-current="page"] {
  color: var(--orange);
  font-weight: 700;
}

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

.page-faq .hero-main h1 {
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--deep);
  margin: 16px 0 0;
  max-width: 14em;
}

.page-faq .hero-lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 18px 0 0;
  max-width: 34em;
}

.page-faq .hero-sub {
  font-size: 15px;
  color: var(--ink-mute);
  margin: 12px 0 0;
  max-width: 36em;
}

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

.page-faq .faq-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--corner)), calc(100% - var(--corner)) 100%, 0 100%);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-soft);
}

.page-faq .toc-lbl {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--orange);
  margin: 0 0 14px;
}

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

.page-faq .toc-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--deep);
  font-size: 15px;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: background 0.16s ease-out, border-color 0.16s ease-out, color 0.16s ease-out;
}

.page-faq .toc-list a:hover,
.page-faq .toc-list a:focus-visible {
  background: var(--mist);
  border-left-color: var(--orange);
  color: var(--deep);
  outline: none;
}

.page-faq .toc-no {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  min-width: 20px;
}

/* ---------- 章节 ---------- */
.page-faq .faq-sec {
  padding: clamp(34px, 5vw, 62px) 0;
}

.page-faq .faq-sec--tint {
  background: linear-gradient(180deg, rgba(228, 238, 231, 0.62), rgba(228, 238, 231, 0.2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-faq .sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: start;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-faq .sec-title {
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 900;
  color: var(--deep);
  margin: 0;
}

.page-faq .sec-sum {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 12px 0 0;
  max-width: 46em;
}

.page-faq .sub-t {
  font-size: 19px;
  font-weight: 800;
  color: var(--deep);
  margin: clamp(30px, 4vw, 46px) 0 14px;
}

.page-faq .sec-tail {
  font-size: 15px;
  color: var(--ink-mute);
  margin: 24px 0 0;
  max-width: 46em;
}

.page-faq .sec-tail a {
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--orange);
  padding-bottom: 1px;
}

.page-faq .sec-tail a:hover,
.page-faq .sec-tail a:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ---------- 三步自检 ---------- */
.page-faq .stepbar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-faq .step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--corner)), calc(100% - var(--corner)) 100%, 0 100%);
  padding: 24px 22px 22px;
}

.page-faq .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--deep);
  font-size: 19px;
  font-weight: 900;
  border-radius: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  font-variant-numeric: tabular-nums;
}

.page-faq .step-t {
  font-size: 18px;
  font-weight: 800;
  color: var(--deep);
  margin: 14px 0 8px;
  line-height: 1.3;
}

.page-faq .step-desc {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.page-faq .step-act {
  font-size: 14px;
  color: var(--deep);
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
  line-height: 1.7;
}

/* ---------- 诊断卡 ---------- */
.page-faq .diag-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-faq .diag {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--corner)), calc(100% - var(--corner)) 100%, 0 100%);
  padding: 24px 22px 20px;
  transition: border-color 0.16s ease-out;
}

.page-faq .diag:hover,
.page-faq .diag:focus-within {
  border-color: var(--blue);
}

.page-faq .diag-idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--orange-soft);
  color: var(--deep);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.page-faq .diag-q {
  font-size: 19px;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.35;
  margin: 12px 0 4px;
}

.page-faq .diag-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0 18px;
}

.page-faq .diag-cell {
  background: var(--cream);
  border-radius: 10px;
  padding: 14px 16px;
}

.page-faq .diag-cell dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
}

.page-faq .diag-cell dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-faq .diag-steps {
  list-style: none;
  counter-reset: diagstep;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .diag-steps > li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  color: var(--ink-soft);
}

.page-faq .diag-steps > li::before {
  counter-increment: diagstep;
  content: counter(diagstep);
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--deep);
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.page-faq .diag-more {
  margin-top: 18px;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}

.page-faq .diag-more summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--deep);
  padding: 8px 0;
}

.page-faq .diag-more summary::-webkit-details-marker {
  display: none;
}

.page-faq .diag-more summary::before {
  content: "＋";
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.page-faq .diag-more[open] summary::before {
  content: "－";
}

.page-faq .diag-more summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.page-faq .diag-more p {
  margin: 4px 0 6px;
  background: var(--moss);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 15px;
  color: var(--deep);
}

/* ---------- 电脑端分屏 ---------- */
.page-faq .symptom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-faq .symptom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 20px;
  transition: border-color 0.16s ease-out, transform 0.16s ease-out;
}

.page-faq .symptom:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.page-faq .sym-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--deep);
  background: var(--orange-soft);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.page-faq .sym-tag--do {
  background: var(--moss);
  color: var(--deep);
}

.page-faq .symptom p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.page-faq .sym-how {
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.page-faq .faq-shot {
  margin: clamp(26px, 4vw, 42px) 0 0;
}

.page-faq .faq-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--white);
}

.page-faq .faq-shot figcaption {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 10px;
  line-height: 1.7;
}

/* ---------- 版本对照表 ---------- */
.page-faq .ver-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
}

.page-faq .ver-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-faq .ver-table th,
.page-faq .ver-table td {
  text-align: left;
  padding: 13px 16px;
  vertical-align: top;
  line-height: 1.7;
}

.page-faq .ver-table thead th {
  background: var(--deep);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 800;
  white-space: nowrap;
}

.page-faq .ver-table tbody th {
  font-weight: 800;
  color: var(--deep);
  white-space: nowrap;
}

.page-faq .ver-table tbody td {
  color: var(--ink-soft);
}

.page-faq .ver-table tbody tr:nth-child(even) {
  background: var(--moss);
}

.page-faq .ver-table tbody tr:nth-child(odd) {
  background: var(--white);
}

/* ---------- 移动端 ---------- */
.page-faq .mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

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

.page-faq .note-list > li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  padding: 18px 20px;
}

.page-faq .note-list h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 6px;
  line-height: 1.35;
}

.page-faq .note-list p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.page-faq .mobile-shot {
  margin: 0;
}

.page-faq .mobile-shot img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.page-faq .mobile-shot figcaption {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 10px;
}

/* ---------- Bento ---------- */
.page-faq .bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-faq .bento-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--corner)), calc(100% - var(--corner)) 100%, 0 100%);
  padding: 22px 20px;
  transition: border-color 0.16s ease-out;
}

.page-faq .bento-card:hover {
  border-color: var(--blue);
}

.page-faq .bento-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--deep);
  margin: 12px 0 8px;
  line-height: 1.35;
}

.page-faq .bento-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.page-faq .bento-card--lg {
  background: linear-gradient(160deg, var(--white) 55%, var(--orange-soft) 160%);
}

/* ---------- 门店订购 ---------- */
.page-faq .store-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-faq .store-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.page-faq .store-no {
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-faq .store-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 6px;
  line-height: 1.35;
}

.page-faq .store-body p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 52em;
}

/* ---------- 求助区 ---------- */
.page-faq .help-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--deep);
  color: var(--cream);
  border-radius: var(--r-card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  padding: clamp(26px, 4vw, 44px) clamp(22px, 3.4vw, 40px);
}

.page-faq .help-copy h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 14px 0 0;
}

.page-faq .help-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(253, 246, 236, 0.82);
  margin: 14px 0 0;
  max-width: 40em;
}

.page-faq .help-copy .chip--danger {
  background: var(--danger);
  color: var(--white);
}

.page-faq .help-meta {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.page-faq .help-meta li {
  font-size: 14px;
  color: rgba(253, 246, 236, 0.88);
}

.page-faq .help-meta strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-weight: 800;
  margin-bottom: 2px;
}

.page-faq .help-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.page-faq .copy-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: rgba(253, 246, 236, 0.08);
  border: 1px solid rgba(253, 246, 236, 0.34);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease-out, background 0.16s ease-out;
}

.page-faq .copy-btn:hover,
.page-faq .copy-btn:focus-visible {
  border-color: var(--blue);
  background: rgba(46, 134, 255, 0.18);
  outline: none;
}

.page-faq .copy-label {
  word-break: break-all;
}

.page-faq .copy-hint {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--amber);
}

.page-faq .help-actions .btn {
  text-align: center;
  justify-content: center;
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .page-faq .diag-pair {
    grid-template-columns: 1fr 1fr;
  }

  .page-faq .symptom {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 20px 24px;
  }

  .page-faq .sym-how {
    border-top: 0;
    border-left: 1px dashed var(--line);
    padding-top: 0;
    padding-left: 22px;
  }
}

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

  .page-faq .step::after {
    content: "";
    position: absolute;
    top: 44px;
    right: -22px;
    width: 22px;
    border-top: 2px dashed var(--line);
  }

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

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

  .page-faq .bento-card--lg {
    grid-column: span 4;
  }

  .page-faq .bento-card--sm {
    grid-column: span 2;
  }
}

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

  .page-faq .faq-toc {
    margin-top: 56px;
    position: sticky;
    top: 76px;
  }

  .page-faq .diag-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
  }

  .page-faq .mobile-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 34px;
  }

  .page-faq .mobile-shot {
    position: sticky;
    top: 76px;
  }

  .page-faq .help-card {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 36px;
    align-items: center;
  }

  .page-faq .help-actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .symptom,
  .page-faq .toc-list a,
  .page-faq .diag,
  .page-faq .bento-card,
  .page-faq .copy-btn {
    transition: none;
  }

  .page-faq .symptom:hover {
    transform: none;
  }
}
