/* 纸面与票据：全站共享令牌，系统字体与本地资源。 */
:root {
  color-scheme: light dark;
  --paper: #F7F5F0; --surface: #FFFFFF; --tint: #EFEBE2;
  --ink: #201E1B; --muted: #5A564E; --subtle: #6E6A61;
  --line: #D3CDBF; --line-soft: #E4E0D5;
  --link: #1A56B4; --link-active: #14479A;
  --button: #1A56B4; --button-hover: #14479A; --button-active: #103D86; --on-button: #FFFFFF;
  --focus: #1A56B4; --selection: #1A56B4; --on-selection: #FFFFFF;
  --profit: #276447; --profit-bg: #EAF7F0; --caution: #76500E; --caution-bg: #FFFBF6;
  --pro-bg: #F6F0E4; --pro-ink: #62491F;
  --shadow: 0 3px 14px rgb(46 40 30 / 6%), 0 18px 45px rgb(46 40 30 / 5%);
  --sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --page-padding: 24px; --section-gap: 100px; --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161511; --surface: #2D2B26; --tint: #24221D;
    --ink: #EDEAE3; --muted: #C9C4BA; --subtle: #BCB5AA;
    --line: #635E54; --line-soft: #454138;
    --link: #9FBEF0; --link-active: #C2D5F5;
    --button: #2E6BD0; --button-hover: #265CB5; --button-active: #204F9F;
    --focus: #9FBEF0; --selection: #315CB0; --on-selection: #FFFFFF;
    --profit: #90CDAA; --profit-bg: #20392D; --caution: #E5C484; --caution-bg: #332D20;
    --pro-bg: #332E23; --pro-ink: #E5D0A5; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { font: 17px/1.8 var(--sans); color: var(--ink); background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; }
main { display: block; }
main:focus { outline: none; }
h1, h2, h3, p, ul, ol, figure, dl { margin: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 600; }
h1 { font: 600 clamp(32px, 3.4vw, 50px)/1.4 var(--display); letter-spacing: .015em; }
h2 { font-size: clamp(25px, 2.2vw, 31px); }
h3 { font-size: 19px; }
p + p, p + ul, p + ol { margin-top: 16px; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 8px; }
a { color: var(--link); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:active { color: var(--link-active); }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
::selection { background: var(--selection); color: var(--on-selection); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.number, .money, .index { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.wrap { width: 100%; max-width: 1104px; padding-inline: var(--page-padding); margin-inline: auto; }
.narrow { max-width: 760px; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.85; }
.muted, figcaption, .fineprint, .legal-meta { color: var(--muted); }
.fineprint, figcaption, .legal-meta { font-size: 15px; line-height: 1.75; }
.eyebrow { color: var(--link); font-size: 15px; font-weight: 600; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; }
.section { margin-top: var(--section-gap); }
.section-heading { margin-bottom: 32px; }
.section-heading h2, .section > h2, .feature-intro h2, .example-grid h2, .privacy-panel h2 { margin-top: 12px; margin-bottom: 18px; }
.section-heading .lead { max-width: 650px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; background: var(--button); color: var(--on-button); border: 1px solid var(--button); border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; line-height: 1.5; transition: background-color 120ms ease, border-color 120ms ease; }
.button:hover { background: var(--button-hover); border-color: var(--button-hover); color: var(--on-button); }
.button:active { background: var(--button-active); color: var(--on-button); border-color: var(--button-active); }
.button:disabled { cursor: wait; }
.button-secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.button-secondary:hover, .button-secondary:active { background: var(--tint); border-color: var(--subtle); color: var(--ink); }
.button-small { padding: 9px 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding-block: 9px; }
.skip-link { position: absolute; top: 8px; left: 12px; transform: translateY(-200%); z-index: 20; background: var(--surface); padding: 12px 18px; }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line-soft); }
.header-bar { min-height: 84px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.brand img { border-radius: 8px; width: 32px; height: 32px; }
.desktop-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.desktop-nav a, .mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 8px 6px; color: var(--muted); font-size: 16px; text-decoration: none; white-space: nowrap; }
.desktop-nav a[aria-current], .mobile-nav a[aria-current] { color: var(--link); text-decoration: underline; text-underline-offset: 7px; }
.header-action { margin-left: 14px; }
.mobile-nav { display: none; }
.hero { padding-top: 68px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 20px; max-width: 520px; }
.hero-note { color: var(--muted); font-size: 16px; }
.hero .fineprint { margin-top: 22px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--link); flex-shrink: 0; }
.separator { margin-inline: 4px; color: var(--subtle); }
.hero-visual { position: relative; padding: 16px 0; }
.hero-visual::before { content: ""; position: absolute; inset: 8px 14px 2px; border: 1px solid var(--line); border-radius: var(--radius); transform: rotate(-3deg); background: var(--tint); z-index: -1; }
.result-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.receipt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--muted); }
.example-tag { border: 1px solid var(--link); color: var(--link); font-size: 13px; padding: 3px 8px; white-space: nowrap; letter-spacing: .04em; }
.result-card h2 { font-size: 16px; font-weight: 400; color: var(--muted); margin-top: 22px; }
.result-value { font: 600 clamp(32px, 3vw, 44px)/1.35 var(--display); color: var(--profit); margin-block: 6px; }
.result-value .currency { font-size: .6em; margin-right: 3px; }
.result-conclusion { color: var(--profit); font-size: 16px; }
.mini-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding-block: 14px; border-top: 1px solid var(--line-soft); border-bottom: 1px dashed var(--line); }
.mini-metrics dt { font-size: 14px; color: var(--muted); }
.mini-metrics dd { margin: 3px 0 0; font-size: 22px; font-weight: 600; }
.result-card .fineprint { margin-top: 14px; }
.scenario-list { border-top: 1px solid var(--line); }
.scenario-list article { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.scenario-list .index { color: var(--subtle); font-size: 15px; padding-top: 3px; }
.scenario-list h3 { margin-bottom: 8px; }
.scenario-list p { color: var(--muted); max-width: 780px; }
.feature-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.feature-points { margin-block: 24px; border-top: 1px solid var(--line-soft); }
.feature-points article { padding-block: 20px; border-bottom: 1px solid var(--line-soft); }
.feature-points h3 { margin-bottom: 6px; }
.feature-points p { color: var(--muted); }
.app-figure { text-align: center; }
.phone { max-width: 250px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); margin-inline: auto; background: #FFFFFF; }
.phone img { width: 100%; }
.app-figure figcaption { margin-top: 14px; }
.example-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.ledger { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.ledger table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ledger caption { text-align: left; font-weight: 600; margin-bottom: 8px; }
.ledger th { font-weight: 400; text-align: left; }
.ledger td { text-align: right; padding-left: 12px; }
.ledger td, .ledger th { padding-block: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.ledger .total td, .ledger .total th { border-top: 1px dashed var(--line); border-bottom: none; font-weight: 600; font-size: 19px; color: var(--profit); }
.ledger .fineprint { margin-top: 12px; }
.pricing { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 26px; }
.price-card { padding: 32px; background: var(--surface); }
.price-card + .price-card { border-left: 1px solid var(--line); background: var(--pro-bg); }
.price-label { color: var(--muted); font-size: 15px; }
.price-card h3 { font-size: 26px; margin: 8px 0 18px; }
.price-card li { font-size: 16px; }
.price-card.pro h3 { color: var(--pro-ink); }
.pricing-note { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 900px; }
.privacy-panel { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.privacy-panel p { max-width: 790px; }
.site-footer { margin-top: 96px; padding: 40px 0 28px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; gap: 24px; }
.footer-top p { color: var(--muted); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 16px; border-block: 1px solid var(--line-soft); margin-top: 20px; padding-block: 10px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 48px; min-width: 44px; padding: 8px 4px; color: var(--muted); font-size: 15px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.footer-filing { color: var(--subtle); font-size: 13px; }
.footer-contact { margin-left: auto; text-align: right; }
.footer-contact a { display: inline-flex; min-height: 44px; align-items: center; }
.trademark { margin-top: 14px; color: var(--subtle); font-size: 13px; }
.page-heading { padding-top: 56px; }
.page-heading h1 { margin-top: 14px; margin-bottom: 20px; }
.page-heading .lead { max-width: 760px; }
.status-label { margin-top: 22px; color: var(--muted); font-size: 15px; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.workflow li { padding-top: 20px; margin: 0; }
.workflow span { color: var(--link); font-size: 15px; }
.workflow h2 { font-size: 20px; margin-block: 10px; }
.workflow p { color: var(--muted); font-size: 16px; }
.reverse > div { grid-column: 2; grid-row: 1; }
.reverse > figure { grid-column: 1; grid-row: 1; }
.three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 30px; }
.three-columns article { padding-top: 20px; border-top: 1px solid var(--line); }
.three-columns h3 { margin-bottom: 10px; }
.three-columns p { color: var(--muted); }
.compact-metrics { display: flex; flex-wrap: wrap; gap: 20px; border-block: 1px solid var(--line-soft); padding-block: 16px; margin-top: 24px; }
.compact-metrics dt { font-size: 15px; color: var(--muted); }
.compact-metrics dd { font-weight: 600; font-size: 22px; margin: 4px 0 0; }
.reading-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 58px; margin-top: 52px; }
.toc { position: sticky; top: 24px; align-self: start; border-top: 1px solid var(--line); padding-top: 16px; }
.toc p { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.toc a { display: flex; align-items: center; min-height: 48px; padding: 8px 2px; font-size: 15px; }
.reading-content { min-width: 0; max-width: 730px; }
.reading-content > section { scroll-margin-top: 24px; }
.reading-content > section + section { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.reading-content h2 { font-size: 26px; margin-bottom: 20px; }
.reading-content h3 { font-size: 18px; margin-top: 16px; margin-bottom: 8px; }
.reading-content .ledger { margin-top: 24px; }
.formula { background: var(--tint); border-left: 3px solid var(--link); padding: 20px 24px; margin-block: 22px; font-size: 16px; overflow-wrap: anywhere; }
.formula p + p { margin-top: 12px; }
.table-scroll { overflow-x: auto; margin-block: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-scroll caption { text-align: left; color: var(--muted); padding: 14px 16px; }
.table-scroll td, .table-scroll th { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.table-scroll thead { background: var(--tint); }
.matrix-table { min-width: 980px; }
.matrix-table th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 140px; }
.matrix-table thead th:first-child { background: var(--tint); }
.matrix-table .current { background: var(--tint); color: var(--link); font-weight: 600; }
.table-note { color: var(--muted); font-size: 15px; }
.steps { list-style: decimal-leading-zero; padding-left: 1.8em; }
.steps li { padding-left: 8px; }
.steps li + li { margin-top: 20px; }
.steps li::marker { color: var(--subtle); font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line-soft); }
.faq-list summary { padding: 16px 4px; min-height: 56px; font-weight: 600; }
.faq-list details p { padding: 0 4px 20px; margin-top: 0; color: var(--muted); }
.legal-notice { background: var(--caution-bg); color: var(--caution); border: 1px solid var(--line); padding: 18px 22px; border-radius: 10px; font-size: 15px; margin-block: 20px; }
.download-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; margin-top: 38px; }
.download-primary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; align-self: start; }
.download-icon { border-radius: 18px; margin-bottom: 22px; }
.download-primary h2 { font-size: 25px; margin-bottom: 14px; }
.download-primary .review-state { background: var(--tint); padding: 16px 18px; margin-top: 24px; border-radius: 8px; font-size: 16px; }
.rule { height: 1px; background: var(--line-soft); margin-block: 24px; }
.link-list { list-style: none; padding: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.link-list li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding-block: 14px; }
.copy-panel { margin-top: 32px; }
.copy-panel h3 { margin-bottom: 12px; }
.copy-panel label { display: block; font-size: 15px; margin-top: 18px; color: var(--muted); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.copy-row input { min-width: 0; width: 100%; padding: 12px; border: 1px solid var(--subtle); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 15px; min-height: 48px; }
.copy-status { min-height: 28px; margin-top: 12px; }
.wechat-note { background: var(--tint); padding: 18px 22px; border-radius: 10px; margin-top: 24px; }
.wechat-note h3 { margin-bottom: 10px; }
.store-qr { margin-top: 20px; padding: 16px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; color: #201E1B; width: fit-content; }
.store-qr img { width: 200px; height: 200px; }
.store-qr figcaption { color: #5A564E; text-align: center; margin-top: 12px; }
.error-page { padding-block: 90px; min-height: 50vh; }
.error-page h1 { margin-block: 16px 24px; }
@media (max-width: 960px) {
  .hero-grid, .feature-intro, .example-grid { gap: 40px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .desktop-nav { gap: 8px; }
  .reading-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 719px) {
  :root { --page-padding: 20px; --section-gap: 64px; }
  html { font-size: 16px; }
  .lead { font-size: 18px; }
  .header-bar { min-height: 72px; gap: 10px; }
  .brand { gap: 8px; font-size: 18px; }
  .brand img { width: 28px; height: 28px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; margin-left: auto; position: relative; }
  .mobile-nav summary { min-height: 48px; display: flex; align-items: center; padding-inline: 8px; font-size: 15px; color: var(--muted); white-space: nowrap; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::after { content: "+"; margin-left: 5px; }
  .mobile-nav[open] summary::after { content: "−"; }
  .mobile-nav nav { position: absolute; right: -92px; top: 58px; width: 240px; max-width: calc(100vw - 40px); padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); z-index: 5; }
  .mobile-nav a { padding: 10px 12px; }
  .header-action { margin-left: 0; font-size: 14px; padding: 10px 12px; }
  .hero { padding-top: 40px; }
  .hero-grid, .feature-intro, .example-grid, .pricing, .download-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy .lead { margin-top: 16px; }
  .hero h1 { font-size: 34px; }
  .hero .eyebrow { font-size: 14px; letter-spacing: 0; }
  .hero-visual { padding: 10px 0; }
  .result-card { padding: 24px; }
  .result-value { font-size: 40px; }
  .scenario-list article { gap: 18px; padding-block: 22px; }
  .phone { max-width: 242px; }
  .price-card { padding: 24px; }
  .price-card + .price-card { border-left: none; border-top: 1px solid var(--line); }
  .privacy-panel { padding: 24px; }
  .ledger { padding: 20px; }
  .ledger td, .ledger th { padding-block: 10px; font-size: 15px; }
  .ledger .total td, .ledger .total th { font-size: 18px; }
  .site-footer { margin-top: 64px; }
  .footer-top { display: block; }
  .footer-nav { gap: 0 12px; }
  .page-heading { padding-top: 36px; }
  .page-heading h1 { font-size: 32px; }
  .workflow { grid-template-columns: 1fr 1fr; gap: 24px; }
  .reverse > div, .reverse > figure { grid-column: auto; grid-row: auto; }
  .three-columns { grid-template-columns: 1fr; gap: 24px; }
  .reading-layout { display: block; margin-top: 32px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 0 18px; padding-block: 10px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
  .toc p { width: 100%; margin: 0; }
  .toc a { padding-block: 8px; }
  .reading-content > section + section { margin-top: 40px; padding-top: 26px; }
  .reading-content h2 { font-size: 23px; }
  .formula { padding: 18px; font-size: 15px; }
  .table-scroll td, .table-scroll th { padding: 12px; }
  .download-primary { padding: 24px; }
  .error-page { padding-block: 60px; }
}
@media (max-width: 359px) {
  :root { --page-padding: 16px; }
  .header-bar { gap: 6px; }
  .hero h1 { font-size: 30px; }
  .page-heading h1 { font-size: 29px; }
  .result-card { padding: 20px; }
  .result-value { font-size: 36px; }
  .ledger { padding: 16px; }
  .ledger .total td, .ledger .total th { font-size: 16px; }
  .button { padding-inline: 15px; }
  .header-action { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  :root { color-scheme: light; --paper: #FFFFFF; --surface: #FFFFFF; --ink: #000000; --muted: #333333; --link: #000000; --profit: #000000; --tint: #F5F5F5; }
  .site-header, .site-footer, .toc, .skip-link, .actions, [data-copy-target], .wechat-note { display: none !important; }
  .reading-layout { display: block; }
  .reading-content { max-width: none; }
  .table-scroll { overflow: visible; }
  .matrix-table { min-width: 0; font-size: 8px !important; }
  .matrix-table th:first-child { position: static; min-width: 0; }
}
