.page-faq {
  --faq-green: #7BA05B;
  --faq-terracotta: #C97B63;
  --faq-apricot: #F2D8A7;
  --faq-orange: #FF8C42;
  --faq-dark: #5C3A21;
  --faq-deep: #3A1E0B;
  --faq-panel: #FDF8F2;
  --faq-border: #B08D6A;
  --faq-text: #2E2A26;
  --faq-muted: #6B8E5A;
  --faq-radius-lg: 20px;
  --faq-radius-md: 14px;
  --faq-radius-pill: 999px;
  --faq-shadow-sm: 0 2px 8px rgba(44, 26, 12, 0.08);
  --faq-shadow-md: 0 8px 24px rgba(44, 26, 12, 0.14);
}

.page-faq {
  background-color: #F5E6D3;
  color: var(--faq-text);
  font-family: "Noto Sans SC", "Heiti SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}

.page-faq .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq .container--narrow {
  max-width: 920px;
}

.page-faq .section {
  padding: 48px 0;
}

.page-faq .section--alt {
  background-color: #D4E8D0;
  background-image:
    linear-gradient(rgba(92, 58, 33, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 58, 33, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.page-faq .section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.page-faq .section-head .section-title {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--faq-dark);
}

.page-faq .section-head__kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faq-muted);
}

.page-faq .index-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  background-color: var(--faq-dark);
  color: #FDF8F2;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ===== Hero ===== */
.page-faq .faq-hero {
  padding: 32px 0 20px;
  background-color: #F5E6D3;
}

.page-faq .faq-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--faq-muted);
  margin-bottom: 20px;
}

.page-faq .faq-hero .breadcrumb a {
  color: var(--faq-muted);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 6px;
  transition: color 0.25s;
}

.page-faq .faq-hero .breadcrumb a:hover {
  color: var(--faq-orange);
}

.page-faq .faq-hero .breadcrumb__current {
  color: var(--faq-dark);
  font-weight: 700;
}

.page-faq .faq-hero__inner {
  padding: 12px 0 16px;
}

.page-faq .faq-hero__kicker {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--faq-muted);
  background-color: rgba(123, 160, 91, 0.16);
  padding: 4px 12px;
  border-radius: 999px;
}

.page-faq .faq-hero__title {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 2rem;
  line-height: 1.35;
  font-weight: 900;
  color: var(--faq-dark);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  max-width: 820px;
}

.page-faq .faq-hero__desc {
  font-size: 0.95rem;
  color: var(--faq-text);
  max-width: 720px;
  margin: 0;
}

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

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

.page-faq .faq-hero__stats li {
  background-color: var(--faq-panel);
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--faq-muted);
}

.page-faq .faq-hero__stats span {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--faq-dark);
}

/* ===== FAQ ===== */
.page-faq .faq-accordion-section {
  background-color: #F5E6D3;
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-item {
  background-color: var(--faq-panel);
  border: 1px solid var(--faq-border);
  border-left: 4px solid var(--faq-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.page-faq .faq-item:hover {
  box-shadow: var(--faq-shadow-sm);
  transform: translateY(-2px);
}

.page-faq .faq-item[open] {
  border-left-color: var(--faq-orange);
  box-shadow: 0 6px 24px rgba(255, 140, 66, 0.12);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--faq-dark);
  line-height: 1.5;
  transition: color 0.25s;
}

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

.page-faq .faq-item summary:hover {
  color: var(--faq-orange);
}

.page-faq .faq-item__q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--faq-dark);
  color: #FDF8F2;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.page-faq .faq-item__text {
  flex: 1;
}

.page-faq .faq-item__body {
  padding: 2px 18px 18px 58px;
  font-size: 0.9rem;
  color: var(--faq-text);
}

.page-faq .faq-item__body p {
  margin: 0 0 10px;
}

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

.page-faq .faq-item__link a {
  color: var(--faq-terracotta);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 123, 99, 0.4);
  transition: border-color 0.25s, color 0.25s;
}

.page-faq .faq-item__link a:hover {
  color: var(--faq-orange);
  border-bottom-color: var(--faq-orange);
}

/* ===== Steps ===== */
.page-faq .faq-steps-section {
  border-top: 2px solid rgba(176, 141, 106, 0.3);
  border-bottom: 2px solid rgba(176, 141, 106, 0.3);
}

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

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

.page-faq .faq-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: rgba(253, 248, 242, 0.82);
  border: 1px solid rgba(176, 141, 106, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
}

.page-faq .faq-step:hover {
  border-color: var(--faq-orange);
  background-color: #FDF8F2;
  transform: translateX(4px);
}

.page-faq .faq-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--faq-dark);
  color: #FDF8F2;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: 12px;
  flex-shrink: 0;
  transition: background-color 0.3s, color 0.3s;
}

.page-faq .faq-step:hover .faq-step__num {
  background-color: var(--faq-orange);
  color: #fff;
}

.page-faq .faq-step__content h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--faq-dark);
  margin: 0 0 4px;
}

.page-faq .faq-step__content p {
  font-size: 0.85rem;
  color: var(--faq-text);
  margin: 0;
  line-height: 1.6;
}

.page-faq .faq-steps__figure {
  margin: 0;
  align-self: start;
}

.page-faq .faq-steps__figure img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(92, 58, 33, 0.2);
  box-shadow: var(--faq-shadow-md);
}

.page-faq .faq-steps__figure figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--faq-muted);
  text-align: center;
  letter-spacing: 0.06em;
}

/* ===== Legacy ===== */
.page-faq .faq-legacy-section {
  background-color: #F5E6D3;
}

.page-faq .faq-legacy__intro {
  max-width: 760px;
  font-size: 0.92rem;
  color: var(--faq-text);
  margin: 0 0 28px;
  line-height: 1.7;
}

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

.page-faq .faq-legacy__card {
  background-color: var(--faq-apricot);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(176, 141, 106, 0.45);
  position: relative;
  transition: box-shadow 0.3s;
}

.page-faq .faq-legacy__card:hover {
  box-shadow: var(--faq-shadow-md);
}

.page-faq .faq-legacy__card-tag {
  display: inline-block;
  background-color: var(--faq-dark);
  color: #FDF8F2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.page-faq .faq-legacy__card h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--faq-dark);
  margin: 0 0 14px;
}

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

.page-faq .faq-legacy__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(253, 248, 242, 0.7);
  border: 1px solid rgba(176, 141, 106, 0.25);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--faq-text);
}

.page-faq .faq-legacy__arrow {
  color: var(--faq-terracotta);
  font-weight: 700;
  margin-left: auto;
}

.page-faq .faq-legacy__foot {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--faq-muted);
  border-top: 1px dashed rgba(176, 141, 106, 0.4);
  padding-top: 12px;
}

.page-faq .faq-legacy__steps {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: legacy-step;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-faq .faq-legacy__steps li {
  counter-increment: legacy-step;
  background-color: rgba(253, 248, 242, 0.7);
  border: 1px solid rgba(176, 141, 106, 0.25);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--faq-text);
  padding-left: 44px;
  position: relative;
  line-height: 1.6;
}

.page-faq .faq-legacy__steps li::before {
  content: counter(legacy-step);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-color: var(--faq-terracotta);
  color: #FDF8F2;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-faq .faq-legacy__figure {
  margin: 16px 0 0;
}

.page-faq .faq-legacy__figure img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(176, 141, 106, 0.35);
}

.page-faq .faq-legacy__figure figcaption {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--faq-muted);
  text-align: center;
}

/* ===== Access ===== */
.page-faq .faq-access-section {
  border-top: 2px solid rgba(176, 141, 106, 0.3);
  border-bottom: 2px solid rgba(176, 141, 106, 0.3);
}

.page-faq .faq-access__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-faq .faq-access__pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 calc(50% - 14px);
  min-width: 180px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: #FDF8F2;
  border: 2px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.page-faq .faq-access__pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(44, 26, 12, 0.22);
  border-color: rgba(253, 248, 242, 0.7);
}

.page-faq .faq-access__pill--green {
  background-color: #7BA05B;
}

.page-faq .faq-access__pill--terracotta {
  background-color: #C97B63;
}

.page-faq .faq-access__pill--apricot {
  background-color: #F2D8A7;
  color: #5C3A21;
}

.page-faq .faq-access__pill--apricot .faq-access__idx {
  background-color: rgba(92, 58, 33, 0.18);
}

.page-faq .faq-access__pill--apricot .faq-access__meta {
  color: rgba(92, 58, 33, 0.7);
}

.page-faq .faq-access__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: rgba(253, 248, 242, 0.22);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.page-faq .faq-access__name {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-faq .faq-access__meta {
  font-size: 0.8rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

/* ===== Next ===== */
.page-faq .faq-next-section {
  background-color: #F5E6D3;
}

.page-faq .faq-next__inner {
  background-color: #5C3A21;
  background-image:
    linear-gradient(rgba(253, 248, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 248, 242, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
}

.page-faq .faq-next__title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FDF8F2;
  margin: 0 0 18px;
}

.page-faq .faq-next__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-faq .faq-next__links .btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.page-faq .faq-next__links .btn:hover {
  transform: translateY(-2px);
}

.page-faq .faq-next__links .btn--primary {
  background-color: #FF8C42;
  color: #3A1E0B;
}

.page-faq .faq-next__links .btn--primary:hover {
  background-color: #ff7a2a;
}

.page-faq .faq-next__links .btn--outline {
  background-color: transparent;
  color: #FDF8F2;
  border: 2px solid rgba(253, 248, 242, 0.65);
}

.page-faq .faq-next__links .btn--outline:hover {
  background-color: rgba(253, 248, 242, 0.12);
  border-color: #FDF8F2;
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .page-faq .faq-access__pill {
    flex-basis: calc(33.333% - 14px);
  }
}

@media (min-width: 960px) {
  .page-faq .faq-hero {
    padding: 44px 0 28px;
  }

  .page-faq .faq-hero__title {
    font-size: 2.5rem;
  }

  .page-faq .faq-steps__layout {
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
    align-items: center;
  }

  .page-faq .faq-legacy__layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .page-faq .faq-access__pill {
    flex-basis: calc(25% - 14px);
  }

  .page-faq .faq-step__content h3 {
    font-size: 1.05rem;
  }

  .page-faq .faq-item__body {
    font-size: 0.92rem;
  }
}
