/* Content pages: FAQ / compare / claims */

.content-page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: calc(var(--site-top-h) + 48px) var(--page-pad) 80px;
}

.content-page__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.content-page h1 {
  margin: 0 0 16px;
  max-width: 18ch;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.content-page__lead {
  margin: 0 0 40px;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
}

.content-page h2 {
  margin: 40px 0 16px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.content-page h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.content-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.content-breadcrumbs a {
  color: var(--text-body);
}

.content-breadcrumbs a:hover {
  color: var(--accent-hover);
}

.content-breadcrumbs span[aria-hidden="true"] {
  opacity: 0.45;
}

/*
 * FAQ reading surface — graphite hierarchy (not near-white on pure black).
 * Title ~#c2 · body ~#969 · toc ~#7a · accent reserved for state/links only.
 */
.content-page--faq {
  --faq-title: #c2c2c2;
  --faq-body: #969696;
  --faq-toc: #7a7a7a;
  --faq-toc-num: #5a5a5a;
  --faq-muted: #5e5e5e;
  --faq-link: #2aad82;
  --faq-link-hover: #34c492;
  --faq-card: #121212;
  --faq-card-border: rgba(255, 255, 255, 0.055);
  --faq-toc-bg: #0f0f0f;
  max-width: min(1100px, 100%);
  padding-top: calc(var(--site-top-h) + 28px);
  color: var(--faq-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.content-page--faq > .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(200px, 272px) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
  margin: 0 0 32px;
}

.faq-layout > .pin-nav-slot {
  width: 100%;
}

.faq-toc {
  padding: 14px 12px 16px;
  border: 1px solid var(--faq-card-border);
  border-radius: var(--radius-lg);
  background: var(--faq-toc-bg);
}

.faq-toc__title {
  margin: 0 0 12px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faq-muted);
}

.faq-toc__list {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: decimal;
}

.faq-toc__list li {
  margin: 0 0 2px;
  padding-left: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--faq-toc-num);
}

.faq-toc__list a {
  display: block;
  padding: 6px 4px;
  border-radius: 6px;
  color: var(--faq-toc);
  text-decoration: none;
  line-height: 1.5;
  font-weight: 400;
  background: transparent;
  transition: color var(--dur-fast) var(--ease);
}

/* 左栏：无选中光标；悬停仅略提亮 */
.faq-toc__list a:hover {
  color: var(--faq-title);
  background: transparent;
}

.faq-toc__list a.is-active,
.faq-toc__list a[aria-current="true"] {
  color: var(--faq-toc);
  font-weight: 400;
  background: transparent;
}

/* 右栏当前阅读项：绿色加粗标题光标（正文色阶不变） */
.faq-item.is-reading {
  border-color: rgba(16, 163, 127, 0.28);
  box-shadow: inset 3px 0 0 var(--faq-link);
}

.faq-item.is-reading > h3 {
  color: var(--faq-link-hover);
  font-weight: 700;
}

.content-page--faq .faq-item:target {
  outline: none;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  scroll-margin-top: calc(var(--site-top-h, 64px) + 16px);
  padding: 20px 22px;
  border: 1px solid var(--faq-card-border);
  border-radius: var(--radius-lg);
  background: var(--faq-card);
}

.content-page--faq .faq-item h3,
.content-page--faq h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--faq-title);
}

.faq-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--faq-body);
  font-weight: 400;
}

.faq-item a {
  color: var(--faq-link);
  text-underline-offset: 2px;
}

.faq-item a:hover {
  color: var(--faq-link-hover);
}

.faq-item code {
  font-size: 0.92em;
  font-weight: 500;
  color: #b0b0b0;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Platform compare block at end of FAQ */
.faq-item--compare {
  padding: 22px 20px 24px;
}

.faq-item--compare > h3 {
  margin: 0 0 10px;
}

.faq-item--compare > .compare-note {
  margin: 0 0 14px;
  color: var(--faq-muted);
}

.faq-item--compare .compare-table-wrap {
  margin: 0 0 18px;
  border-color: var(--faq-card-border);
}

.faq-item--compare .compare-table th,
.faq-item--compare .compare-table td {
  color: var(--faq-body);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.faq-item--compare .compare-table th,
.faq-item--compare .compare-table th:first-child,
.faq-item--compare .compare-table td:first-child {
  color: var(--faq-title);
  font-weight: 500;
}

.faq-item--compare .compare-table th {
  background: rgba(255, 255, 255, 0.025);
}

.faq-item--compare .compare-table .hl {
  color: var(--faq-link-hover);
  font-weight: 500;
}

.faq-item--compare .claim-block {
  margin: 0;
  border-color: var(--faq-card-border);
  background: #101010;
}

.faq-item--compare .claim-block h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--faq-title);
}

.faq-item--compare .claim-block p,
.faq-item--compare .claim-block ul {
  color: var(--faq-body);
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-toc__list {
    columns: 1;
  }
}

/* Compare table */
.compare-table-wrap {
  overflow-x: auto;
  margin: 8px 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-body);
  line-height: 1.5;
}

.compare-table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.compare-table th:first-child,
.compare-table td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table .hl {
  color: var(--accent-hover);
  font-weight: 500;
}

.compare-note {
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.claim-block {
  padding: 22px 24px;
  margin: 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 18, 0.88);
}

.claim-block p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
}

.claim-block p:last-child {
  margin-bottom: 0;
}

.claim-block ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.65;
}

.claim-meta {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.metric-footnote {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.metric-footnote a {
  color: var(--accent-hover);
}

.home-stat__lbl a,
.metric-card__hint a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-stat__lbl a:hover,
.metric-card__hint a:hover {
  color: var(--accent-hover);
}

/* CMS legal / about pages — same token family as content-page */
.legal-page [data-marketing-page] {
  max-width: var(--doc-max, 740px);
}

.legal-page [data-marketing-page] h2 {
  margin: 36px 0 14px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.legal-page [data-marketing-page] h3 {
  margin: 28px 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.legal-page [data-marketing-page] p,
.legal-page [data-marketing-page] li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}

.legal-page [data-marketing-page] ul {
  margin: 0 0 20px;
  padding-left: 1.25rem;
}

.legal-page [data-marketing-page] a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page [data-marketing-page] strong {
  color: var(--text);
  font-weight: 600;
}
