:root {
  --ink: #111417;
  --ink-2: #181d21;
  --ink-3: #242b30;
  --paper: #f7f7f4;
  --white: #ffffff;
  --line: #d9ddd9;
  --line-dark: #343d42;
  --text: #252b2e;
  --muted: #687176;
  --muted-dark: #aeb7bb;
  --amber: #d99a2b;
  --amber-light: #fff1cf;
  --green: #28765d;
  --green-light: #e7f3ee;
  --red: #b7473d;
  --red-light: #f9e9e6;
  --blue: #315f7d;
  --radius: 8px;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 16px; line-height: 1.72; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--amber); }
button, summary { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; padding: 10px 14px; color: var(--ink); background: var(--amber); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(17,20,23,.97); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: baseline; gap: 9px; color: #fff; font-size: 19px; font-weight: 850; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand img { width: 104px; height: auto; display: block; }
.brand-name { color: #fff !important; font-size: 19px !important; font-weight: 850 !important; }
.brand span { color: var(--amber); font-size: 12px; font-weight: 750; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.site-nav > a, .nav-group > summary { min-height: 38px; display: inline-flex; align-items: center; padding: 7px 11px; color: #dce1e3; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ""; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.site-nav > a:hover, .nav-group > summary:hover, .site-nav .active, .nav-group > .group-active { color: #fff; background: var(--ink-3); }
.site-nav .active { box-shadow: inset 0 -2px 0 var(--amber); }
.nav-group { position: relative; }
.nav-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 190px; padding: 7px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.nav-menu a { display: block; padding: 9px 10px; color: #dce1e3; border-radius: 5px; font-size: 14px; }
.nav-menu a:hover, .nav-menu a.active { color: #fff; background: var(--ink-3); }
.github-link { border: 1px solid var(--line-dark); }
.site-nav > .nav-cta { color: #17191b; background: var(--amber); }
.site-nav > .nav-cta:hover { color: #17191b; background: #e5aa42; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-dark); border-radius: 6px; color: #fff; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.breadcrumb { padding: 12px 0; color: #7b858a; font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 7px; color: #aeb5b8; }
.breadcrumb a:hover { color: var(--amber); }

.hero { color: #f7faf9; background: var(--ink); }
.hero .container { padding-top: 64px; padding-bottom: 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr); gap: 58px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: #f1bd61; font-size: 13px; font-weight: 800; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); }
h1, h2, h3 { letter-spacing: 0; }
.hero h1 { max-width: 780px; margin: 0 0 18px; font-size: 44px; line-height: 1.18; text-wrap: balance; }
.hero p { max-width: 720px; margin: 0 0 26px; color: #c3cbce; font-size: 18px; line-height: 1.72; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: #909b9f; font-size: 13px; }
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 800; transition: transform .16s, background .16s, border-color .16s; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { color: #17191b; background: var(--amber); }
.btn-primary:hover { color: #17191b; background: #e5aa42; }
.btn-secondary { color: #f5f7f6; border-color: #4a5459; background: transparent; }
.btn-secondary:hover { color: #fff; border-color: #7b858a; background: var(--ink-3); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { color: var(--ink); background: #f0f2ef; }
.btn-outline-dark { color: var(--ink); border-color: #aeb5b8; background: transparent; }
.btn-outline-dark:hover { color: var(--ink); border-color: #7b858a; background: #eef1ed; }
.hero-visual { margin: 0; padding: 22px; border: 1px solid #303841; border-radius: var(--radius); background: #171c20; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.hero-visual figcaption { margin-top: 14px; color: #8f999e; font-size: 12px; text-align: center; }
.schematic { display: grid; gap: 10px; }
.schematic-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.schematic-node { min-height: 78px; display: grid; align-content: center; padding: 12px 10px; border: 1px solid #3c474d; border-radius: 6px; color: #e7ecea; background: #20282d; text-align: center; }
.schematic-node strong { display: block; color: #f1bd61; font-size: 13px; }
.schematic-node span { color: #aeb7bb; font-size: 11px; }
.schematic-arrow { color: var(--amber); font-size: 20px; text-align: center; }

.proof-strip { border-bottom: 1px solid #dfe2df; background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.proof-item { min-height: 90px; padding: 18px; border-right: 1px solid #e4e7e4; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: var(--ink); font-size: 18px; }
.proof-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.band { padding: 70px 0; }
.band-white { background: #fff; }
.band-tint { background: #eef1ed; }
.band-dark { color: #edf1ef; background: var(--ink-2); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-kicker { display: block; margin-bottom: 7px; color: #9a6715; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.band-dark .section-kicker { color: #f1bd61; }
.section-head h2 { margin: 0 0 10px; color: var(--ink); font-size: 30px; line-height: 1.3; text-wrap: balance; }
.band-dark .section-head h2 { color: #fff; }
.section-head p { margin: 0; color: var(--muted); }
.band-dark .section-head p { color: var(--muted-dark); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 0; }
.info-card h3 { margin: 0 0 9px; color: var(--ink); font-size: 18px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.info-card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.card-mark { width: 38px; height: 4px; margin-bottom: 18px; background: var(--amber); }
.example-brief { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.example-brief > div { padding: 26px; }
.example-brief > div + div { border-left: 1px solid var(--line); }
.example-brief h3 { margin: 0 0 14px; color: var(--ink); font-size: 20px; }
.example-label { display: block; margin-bottom: 12px; color: #9a6715; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.output-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 20px; }
.output-list article { padding: 12px 0; border-top: 1px solid var(--line); }
.output-list strong { display: block; color: var(--ink); font-size: 15px; }
.output-list p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.time-compare { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.timeline-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.timeline-card-self { border-color: #d8b7b2; background: #fffdfc; }
.timeline-card-easy { border-color: #9cc7b3; background: var(--green-light); }
.time-label { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.time-label-alert { color: #985049; }
.time-label-easy { color: #25684f; }
.time-total { display: block; margin-bottom: 8px; color: var(--ink); font-size: 26px; line-height: 1.25; }
.time-total-alert { color: #8d4038; }
.time-total-easy { color: #1f6049; }
.timeline-card > p { margin: 0; color: var(--muted); font-size: 14px; }
.route-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 24px 0; color: #8d4038; font-size: 14px; font-weight: 800; }
.route-steps span { padding: 7px 10px; border: 1px solid #d8b7b2; border-radius: 5px; background: #fff; }
.route-steps i { color: #b58a86; font-style: normal; }
.route-steps-easy { color: #1f6049; }
.route-steps-easy span { border-color: #9cc7b3; background: #f7fcf9; }
.time-warning { padding-top: 14px; border-top: 1px solid var(--line); color: #6f4a0c !important; }
.timeline-card-easy .time-warning { color: #285946 !important; border-color: #b9d9c8; }
.timeline-actions { margin-top: auto; padding-top: 18px; }
.note { margin: 22px 0; padding: 16px 18px; border-left: 4px solid var(--amber); border-radius: 0 6px 6px 0; color: #5f4a23; background: #fff7e5; font-size: 14px; }
.note strong { color: #6f4a0c; }
.note-risk { border-color: var(--red); color: #6f3732; background: var(--red-light); }
.code-block { margin: 18px 0; padding: 20px; overflow-x: auto; border: 1px solid #30383d; border-radius: var(--radius); color: #e7ecea; background: #171c20; font: 13px/1.7 Consolas, "SFMono-Regular", monospace; }
.code-label { display: block; margin-bottom: 9px; color: #efb653; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 36px; padding: 34px 0 56px; }
.article-layout article { min-width: 0; }
.article-layout h1 { margin: 0 0 18px; color: var(--ink); font-size: 32px; line-height: 1.3; text-wrap: balance; }
.article-layout h2 { margin: 34px 0 13px; padding-bottom: 8px; border-bottom: 2px solid #f3f4f6; color: var(--ink); font-size: 23px; }
.article-layout h3 { margin: 22px 0 10px; color: var(--ink); font-size: 17px; }
.article-layout p { margin: 0 0 14px; }
.article-layout ul, .article-layout ol { margin: 0 0 14px; padding-left: 20px; }
.article-layout li { margin-bottom: 6px; }
.cluster-sidebar { position: sticky; top: 84px; align-self: start; padding: 18px; border: 1px solid #e5e7eb; border-radius: var(--radius); background: #fff; }
.cluster-sidebar h2 { margin: 0 0 12px; padding: 0; border: 0; color: var(--ink); font-size: 15px; }
.cluster-sidebar a { display: block; padding: 4px 0; color: var(--muted); font-size: 13px; }
.cluster-sidebar a:hover, .cluster-sidebar a.active { color: var(--amber); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 16px; border-right: 1px solid #e5e8e5; border-bottom: 1px solid #e5e8e5; text-align: left; vertical-align: top; }
th { color: var(--ink); background: #eef1ed; font-size: 13px; }
td { color: #4f595e; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; min-height: 82px; padding: 0 0 24px 58px; counter-increment: steps; }
.steps li::before { content: counter(steps); position: absolute; top: 0; left: 0; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid #d0a24e; border-radius: 50%; color: #7a510c; background: var(--amber-light); font-size: 13px; font-weight: 850; }
.steps h3 { margin: 0 0 4px; color: var(--ink); font-size: 17px; }
.steps p { margin: 0; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq summary { position: relative; padding: 18px 52px 18px 0; color: var(--ink); font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: #8c631e; font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "-"; }
.faq p { max-width: 850px; margin: 0; padding: 0 0 20px; color: var(--muted); }
.next-step { padding: 42px 0; color: #fff; background: var(--ink); }
.next-step .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.next-step h2 { margin: 0 0 6px; font-size: 24px; }
.next-step p { margin: 0; color: #aeb8bc; }
.site-footer { padding: 42px 0 26px; color: #aeb7bb; background: #0d1012; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 30px; }
.footer-brand { color: #fff; font-size: 18px; font-weight: 850; }
.footer-brand span { display: block; margin-top: 9px; color: #909a9e; font-size: 13px; font-weight: 400; }
.footer-col h2 { margin: 0 0 10px; color: #fff; font-size: 13px; }
.footer-col a { display: block; padding: 3px 0; color: #aeb7bb; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 18px; border-top: 1px solid #252c30; color: #7f898d; font-size: 12px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 22px; }
  .cluster-sidebar { position: static; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 62px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: fixed; inset: 62px 0 0; z-index: 99; padding: 18px 20px 40px; overflow-y: auto; align-items: stretch; justify-content: flex-start; flex-direction: column; background: var(--ink); }
  .site-nav.open { display: flex; }
  .site-nav > a, .nav-group > summary { width: 100%; min-height: 46px; justify-content: space-between; padding: 10px 12px; }
  .nav-group { width: 100%; }
  .nav-menu { position: static; margin: 3px 0 8px; box-shadow: none; }
  .github-link { justify-content: flex-start !important; }
  .site-nav > .nav-cta { justify-content: center; margin-top: 4px; }
  .hero .container { padding-top: 52px; padding-bottom: 44px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .band { padding: 54px 0; }
  .section-head h2 { font-size: 25px; }
  .grid-3, .grid-2, .time-compare, .example-brief { grid-template-columns: 1fr; }
  .example-brief > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .output-list { grid-template-columns: 1fr; }
  .next-step .container { align-items: flex-start; flex-direction: column; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid #e4e7e4; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand span { display: none; }
  .proof-grid, .grid-4, .schematic-row, .footer-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:first-child { border-top: 0; }
  .hero h1 { font-size: 32px; }
  .hero-actions .btn, .section-actions .btn, .next-step .btn { width: 100%; }
}

/* ===== report-carousel (OpenBB 首页官方证据轮播) ===== */
.report-showcase { grid-template-columns: 1.35fr .9fr; }
.report-carousel { padding: 22px; }
.report-carousel .example-label { margin-bottom: 12px; }
.report-viewport { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #0f1214; }
.report-track { display: flex; transition: transform .35s ease; }
.report-slide { flex: 0 0 100%; min-width: 100%; margin: 0; }
.report-slide img { display: block; width: 100%; height: auto; }
.report-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.report-arrow { width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; cursor: pointer; font-size: 16px; }
.report-arrow:hover { background: var(--amber-light); }
.report-dots { display: flex; gap: 7px; }
.report-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c6cbc7; cursor: pointer; }
.report-dot.is-active { background: var(--amber); }
.report-caption { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.report-summary { display: flex; flex-direction: column; justify-content: center; }
.report-summary h3 { margin: 0 0 14px; color: var(--ink); font-size: 20px; }
.next-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) {
  .report-showcase { grid-template-columns: 1fr; }
  .report-summary { padding-top: 8px; }
}

/* ===== evidence-figure (子页官方证据图) ===== */
.evidence-figure { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; }
.evidence-figure img { display: block; width: 100%; height: auto; border-radius: 4px; }
.evidence-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.evidence-figure figcaption a { color: var(--amber); }
.evidence-figure figcaption a:hover { color: #8c631e; }

/* ===== footer-legal (ICP备案号) ===== */
.footer-legal { margin-top: 18px; padding-top: 14px; border-top: 1px solid #252c30; color: #7f898d; font-size: 12px; }
