:root {
    --ink: #14182e;
    --ink-2: #1e2442;
    --ink-3: #2c3358;
    --paper: #faf5ea;
    --paper-2: #f1e9d8;
    --gold: #f2b552;
    --gold-deep: #d9952c;
    --text: #23263a;
    --muted: #666a80;
    --line: #e2d8c3;
    --on-ink: #eef0f8;
    --on-ink-muted: #aab0cc;
    --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", STSong, Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.3; margin: 0; font-weight: 700; }
section[id] { scroll-margin-top: 76px; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 12px clamp(16px, 5vw, 64px); background: rgba(20, 24, 46, .94); color: var(--on-ink); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; }
.nav nav a { text-decoration: none; color: var(--on-ink-muted); transition: color .15s; }
.nav nav a:hover { color: #fff; }
.nav-cta { font-size: 14px; font-weight: 600; text-decoration: none; padding: 7px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 10px; font: 600 15.5px var(--sans); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, summary:focus-visible, .nav a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f7c267; }
.btn-ghost { color: var(--on-ink); border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); }
.btn-line { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }

.hero { position: relative; overflow: hidden; color: var(--on-ink); background: radial-gradient(1000px 520px at 82% -10%, #39406f 0%, transparent 65%), linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); padding: clamp(48px, 8vw, 104px) clamp(16px, 5vw, 64px) clamp(56px, 8vw, 112px); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .55; animation: twinkle 4s ease-in-out infinite; }
.sky i:nth-child(odd) { animation-delay: 1.6s; }
.moon { position: absolute; right: clamp(24px, 7vw, 120px); top: 34px; width: 74px; height: 74px; border-radius: 50%; box-shadow: inset -16px 6px 0 0 #f5d48f; transform: rotate(-16deg); }
@keyframes twinkle { 50% { opacity: .15; } }

.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: .01em; }
.lede { margin: 22px 0 30px; max-width: 30em; font-size: clamp(16px, 1.5vw, 18.5px); color: #cfd3e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; font-size: 13.5px; color: var(--on-ink-muted); }

.book { margin: 0; }
.book-page { background: var(--paper); color: #2a2a33; border-radius: 6px 14px 14px 6px; padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.2vw, 38px) 20px; box-shadow: -7px 0 0 -1px #d8ccb2, -13px 2px 0 -2px #c7b995, 0 28px 60px rgba(4, 6, 20, .55); transform: rotate(1.2deg); }
.book-chapter { margin: 0 0 12px; font-family: Georgia, var(--serif); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #9a8c6d; }
.book-text { margin: 0; min-height: 8.4em; font-family: Georgia, "Times New Roman", var(--serif); font-size: clamp(19px, 2.1vw, 25px); line-height: 1.68; }
.book-text span { border-radius: 4px; padding: 1px 2px; margin: 0 -2px; transition: background .12s; }
.book-text span.on { background: var(--gold); }
.book-player { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.book-player button { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: var(--ink); fill: #fff; cursor: pointer; }
.book-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--paper-2); overflow: hidden; }
.book-bar span { display: block; height: 100%; width: 0; background: var(--gold-deep); }
.book-page-no { font-size: 12.5px; color: #8b8370; font-variant-numeric: tabular-nums; }
.book figcaption { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--on-ink-muted); }

.steps, .features, .pricing, .faq { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 5vw, 32px) 0; }
.steps h2, .pricing h2, .faq h2 { font-size: clamp(26px, 3.4vw, 36px); text-align: center; }
.steps ol { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.step-no { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold-deep); }
.steps h3 { margin: 12px 0 8px; font-size: 21px; }
.steps p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature-wide { grid-column: 1 / -1; background: var(--ink); border-color: var(--ink); color: var(--on-ink); display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: center; padding: 32px; }
.feature-wide h3 { font-size: 24px; }
.feature-wide p { color: #c4c9de; max-width: 38em; grid-column: 1; }
.timer { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; }
.timer span { padding: 8px 14px; border: 1px solid var(--ink-3); border-radius: 999px; font-size: 14px; color: var(--on-ink-muted); white-space: nowrap; }
.timer .on { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }

.section-lede { max-width: 36em; margin: 14px auto 0; text-align: center; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.plan-featured { border: 2px solid var(--gold-deep); box-shadow: 0 14px 34px rgba(160, 110, 30, .16); }
.plan-tag { position: absolute; top: -13px; left: 24px; margin: 0; padding: 1px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.plan h3 { font-size: 20px; }
.price { margin: 10px 0 18px; color: var(--ink); }
.price b { font-family: var(--serif); font-size: 40px; }
.price span { margin-left: 4px; color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; font-size: 15px; }
.plan li { position: relative; padding: 5px 0 5px 22px; color: #44485c; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.plans-foot { margin: 20px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }


.faq { max-width: 760px; padding-bottom: clamp(56px, 8vw, 96px); }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 28px 18px 0; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 22px; font-weight: 400; color: var(--gold-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.footer { background: var(--ink); color: var(--on-ink-muted); text-align: center; font-size: 13px; padding: 36px 16px 32px; }
.footer p { margin: 6px 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; font-size: 14px; color: var(--on-ink); }
.footer-links button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer-beian { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }

dialog { border: 0; border-radius: 16px; padding: 28px; width: min(440px, calc(100vw - 32px)); color: var(--text); }
dialog::backdrop { background: rgba(10, 12, 30, .6); }
dialog h2 { font-size: 22px; }
dialog p { margin: 6px 0 16px; font-size: 14px; color: var(--muted); }
dialog label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
dialog input[type=email], dialog textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: 16px var(--sans); border: 1px solid #cfc7b4; border-radius: 8px; }
.contact-status { min-height: 1.4em; margin: 0 0 10px; }
.contact-actions { display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 860px) {
    .nav nav { display: none; }
    .nav-cta { margin-left: auto; }
    .hero-inner { grid-template-columns: 1fr; }
    .book-page { transform: none; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .feature-wide { grid-template-columns: 1fr; }
    .timer { grid-column: 1; grid-row: auto; margin-top: 16px; flex-wrap: wrap; }
    .steps ol, .plans { grid-template-columns: 1fr; }
    .plan-featured { order: -1; }
}
@media (max-width: 480px) {
    .features { grid-template-columns: 1fr; }
    .moon { width: 52px; height: 52px; top: 16px; box-shadow: inset -11px 4px 0 0 #f5d48f; }
    .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sky i { animation: none; }
    .btn { transition: none; }
}

.why { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 5vw, 32px) 0; }
.why h2 { font-size: clamp(26px, 3.4vw, 36px); text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.why-grid article { padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.why-grid h3 { font-size: 20px; margin-bottom: 8px; }
.why-grid p { margin: 0; color: var(--muted); }
.compare-wrap { margin-top: 32px; overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--paper-2); text-align: left; font-weight: 400; color: var(--muted); }
.compare tbody th { color: var(--text); font-weight: 600; }
.compare thead th { font-weight: 600; color: var(--text); }
.compare .us { background: #fff8e8; color: var(--ink); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.audience span { padding: 6px 14px; border-radius: 999px; background: var(--paper-2); font-size: 14px; color: #55503f; }
.steps-more { margin: 30px 0 0; text-align: center; font-weight: 600; }
.price-note { margin: -12px 0 16px; font-size: 13.5px; font-weight: 600; color: var(--gold-deep); }
.packs { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; margin-top: 18px; padding: 20px 26px; background: var(--paper-2); border-radius: 14px; }
.packs h3 { font-size: 19px; margin-bottom: 2px; }
.packs p { margin: 0; color: #5e5a4a; font-size: 14.5px; }
.pack { display: flex; flex-direction: column; align-items: center; min-width: 118px; padding: 10px 16px; background: #fff; border-radius: 10px; }
.pack b { font-size: 15px; }
.pack > span { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ink); }

.guide { max-width: 880px; margin: 0 auto; padding: clamp(36px, 6vw, 64px) 16px 72px; }
.guide > h1 { font-size: clamp(30px, 4.4vw, 42px); }
.guide-lede { color: var(--muted); font-size: 17px; margin: 12px 0 28px; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.guide-toc a { padding: 6px 14px; background: var(--paper-2); border-radius: 999px; font-size: 14px; text-decoration: none; }
.guide-step { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 76px; }
.guide-step h2 { font-size: 24px; margin-bottom: 8px; }
.guide-step .n { display: block; font-family: var(--serif); font-size: 15px; color: var(--gold-deep); margin-bottom: 2px; }
.guide-step p { margin: 0 0 8px; color: #44485c; }
.guide-step ul { margin: 6px 0 0; padding-left: 20px; color: #44485c; }
.guide-step li { margin: 4px 0; }
.demo { background: var(--ink); color: var(--on-ink); border-radius: 14px; padding: 18px; font-size: 13.5px; min-height: 170px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.demo .row { display: flex; align-items: center; gap: 8px; }
.demo .file { display: flex; justify-content: space-between; padding: 9px 12px; background: var(--ink-3); border-radius: 8px; }
.demo .bar { height: 6px; border-radius: 3px; background: var(--ink-3); overflow: hidden; }
.demo .bar i { display: block; height: 100%; background: var(--gold); }
.demo .sheet { background: var(--paper); color: #2a2a33; border-radius: 8px; padding: 14px; font-family: Georgia, var(--serif); font-size: 15.5px; line-height: 1.6; }
.demo mark { background: var(--gold); border-radius: 3px; padding: 0 2px; color: inherit; }
.demo .chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ink-3); }
.demo .chip.on { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.demo .muted { color: var(--on-ink-muted); }
.guide-tips { margin-top: 8px; padding: 26px 28px; background: #fff8e8; border-radius: 14px; }
.guide-tips h2 { font-size: 21px; margin-bottom: 8px; }
.guide-tips ul { margin: 0; padding-left: 20px; }
.guide-tips li { margin: 6px 0; color: #44485c; }
.guide-cta { margin-top: 32px; text-align: center; }

@media (max-width: 860px) {
    .why-grid { grid-template-columns: 1fr; }
    .packs { grid-template-columns: 1fr 1fr; }
    .packs > div:first-child { grid-column: 1 / -1; }
    .guide-step { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   PPReader 听书 · 主页增强层
   用法：整段追加在 site/home.css 之后（或在其后单独引入）。只用现有 class。
   原则：夜色 + 纸 + 一点灯光金。金色只做强调，正文一律深墨色。
   ========================================================================== */

:root {
    /* 浅底上的“金色文字”一律用 gold-ink（#d9952c 在纸色上只有 2.3:1，不能当文字用） */
    --gold-ink: #8a5a0c;
    /* 原 #666a80 在 paper-2 上是 4.4:1，略暗一点保证各种纸色底都过 AA */
    --muted: #5c6078;
    --card: #fffdf8;
    --band: #f4ecdb;
    --shadow-card: 0 1px 2px rgba(60, 44, 12, .06), 0 10px 28px rgba(60, 44, 12, .07);
    --shadow-lift: 0 2px 4px rgba(60, 44, 12, .08), 0 18px 40px rgba(60, 44, 12, .13);
    --serif: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", STSong, "STZhongsong", Georgia, "SimSun", serif;
}
/* 英文页：书卷气的拉丁衬线，数字是等高数字，价格不会高高低低 */
:root:lang(en) {
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Hoefler Text", Georgia, serif;
}

/* ---------- 全局排版 ---------- */
body { font-size: 16px; line-height: 1.75; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; font-feature-settings: "lnum" 1; }
p { text-wrap: pretty; }
::selection { background: #f7d596; color: var(--ink); }
main a:not(.btn), dialog a { color: var(--ink); text-decoration-color: var(--gold-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
main a:not(.btn):hover, dialog a:hover { text-decoration-thickness: 2.5px; }
a:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }
.hero a:focus-visible, .nav a:focus-visible, .footer a:focus-visible, .footer button:focus-visible, .plan-featured a:focus-visible { outline-color: var(--gold); }

/* ---------- 顶栏 ---------- */
.nav { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(242, 181, 82, .16); -webkit-backdrop-filter: blur(10px); }
.brand { gap: 11px; font-family: var(--serif); font-size: 19px; letter-spacing: .01em; color: var(--on-ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(242, 181, 82, .28); }
.nav nav { gap: 6px; }
.nav nav a { padding: 8px 12px; border-radius: 8px; color: #c3c8de; }
.nav nav a:hover { background: rgba(255, 255, 255, .07); }
.nav-cta { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; box-shadow: 0 6px 18px rgba(242, 181, 82, .22); }
.nav-cta:hover { background: #f7c267; }

/* ---------- 按钮 ---------- */
.btn { min-height: 48px; padding: 0 26px; border-radius: 12px; letter-spacing: .01em; }
.btn-gold { box-shadow: inset 0 -2px 0 rgba(140, 86, 8, .28), 0 8px 22px rgba(242, 181, 82, .26); }
.btn-ghost { background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-line { border-color: #b9ad92; background: var(--card); }
.btn-line:hover { border-color: var(--ink); }

/* ---------- Hero：夜空、月晕、台灯下的书 ---------- */
.hero {
    background:
        radial-gradient(420px 300px at 86% 6%, rgba(245, 212, 143, .16) 0%, transparent 70%),
        radial-gradient(900px 480px at 76% 108%, rgba(217, 149, 44, .13) 0%, transparent 62%),
        radial-gradient(1000px 520px at 82% -10%, #343b66 0%, transparent 65%),
        linear-gradient(180deg, #11142a 0%, var(--ink) 34%, var(--ink-2) 100%);
    padding-bottom: clamp(84px, 10vw, 136px);
}
/* 再撒一层静态的小星星（不闪，纯背景） */
.sky::before {
    content: ""; position: absolute; inset: 0; opacity: .8;
    background-image:
        radial-gradient(1.2px 1.2px at 12% 34%, #fff 50%, transparent 52%),
        radial-gradient(1px 1px at 30% 14%, #dfe3f5 50%, transparent 52%),
        radial-gradient(1.4px 1.4px at 47% 40%, #fff 50%, transparent 52%),
        radial-gradient(1px 1px at 58% 20%, #dfe3f5 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 71% 12%, #f5d48f 50%, transparent 52%),
        radial-gradient(1px 1px at 95% 26%, #dfe3f5 50%, transparent 52%),
        radial-gradient(1px 1px at 4% 70%, #dfe3f5 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 26% 80%, #fff 50%, transparent 52%);
}
.sky i { width: 2.5px; height: 2.5px; box-shadow: 0 0 6px rgba(255, 255, 255, .7); }
.moon { filter: drop-shadow(0 0 14px rgba(245, 212, 143, .45)) drop-shadow(0 0 46px rgba(245, 212, 143, .22)); }
/* 夜色落在纸上：底部一道很缓的弧 */
.hero::after { content: ""; position: absolute; z-index: 0; left: -8%; right: -8%; bottom: -52px; height: 84px; border-radius: 50%; background: var(--paper); }
.hero-inner { z-index: 1; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13.5px; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); border-radius: 1px; }
:lang(en) .eyebrow { text-transform: uppercase; font-size: 12.5px; letter-spacing: .16em; }
.hero h1 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.22; letter-spacing: .02em; color: #fbf6ea; text-shadow: 0 2px 24px rgba(8, 10, 28, .5); }
:lang(en) .hero h1 { letter-spacing: -.012em; line-height: 1.1; }
.lede { margin: 24px 0 32px; line-height: 1.8; color: #d5d9ea; }
.hero-note { margin-top: 18px; max-width: 32em; padding-left: 14px; border-left: 2px solid rgba(242, 181, 82, .55); line-height: 1.6; color: #b9bfd8; }

.book { position: relative; }
/* 台灯的暖光，垫在书后面 */
.book::before { content: ""; position: absolute; z-index: 0; inset: -12% -10% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 181, 82, .2), transparent 100%); pointer-events: none; }
.book-page {
    position: relative; z-index: 1;
    background:
        linear-gradient(90deg, rgba(90, 66, 20, .13) 0, rgba(90, 66, 20, .04) 14px, transparent 34px),
        linear-gradient(180deg, #fffaf0 0%, var(--paper) 55%, #f3ead6 100%);
    border-radius: 6px 16px 16px 6px;
    box-shadow: -7px 0 0 -1px #dccfb4, -13px 2px 0 -2px #c9bb98, -19px 4px 0 -3px #b5a784, 0 30px 70px rgba(4, 6, 20, .6), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.book-chapter { color: #75694c; letter-spacing: .18em; }
/* 演示文字：略松的字距和词距，读起来更省力（也照顾阅读吃力的读者） */
.book-text { line-height: 1.8; letter-spacing: .012em; word-spacing: .08em; color: #23222b; }
.book-text span { border-radius: 5px; padding: 2px 3px; margin: 0 -3px; }
.book-text span.on { background: #f7c869; box-shadow: 0 1px 0 #d9952c; color: #14182e; }
.book-player { gap: 14px; margin-top: 20px; padding-top: 16px; border-top-color: #e6dbc2; }
.book-player button { width: 44px; height: 44px; box-shadow: 0 6px 14px rgba(20, 24, 46, .28); }
.book-player button:hover { background: var(--ink-3); }
.book-bar { height: 5px; border-radius: 3px; background: #e9dfc8; }
.book-bar span { border-radius: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.book-page-no { color: #6b6450; }
.book figcaption { position: relative; z-index: 1; margin-top: 26px; color: #b9bfd8; }

/* ---------- 版块节奏与标题 ---------- */
.steps, .features, .pricing, .faq, .why { padding-top: clamp(64px, 9vw, 112px); }
.why { padding-top: clamp(48px, 7vw, 88px); }
.steps h2, .pricing h2, .faq h2, .why h2 { font-size: clamp(26px, 3.5vw, 38px); line-height: 1.32; letter-spacing: .015em; color: var(--ink); }
:lang(en) .steps h2, :lang(en) .pricing h2, :lang(en) .faq h2, :lang(en) .why h2 { letter-spacing: -.008em; }
/* 标题下的小花饰：线 · 点 · 线 */
.steps h2::after, .pricing h2::after, .faq h2::after, .why h2::after {
    content: ""; display: block; width: 76px; height: 9px; margin: 18px auto 0;
    background:
        radial-gradient(circle at center, var(--gold-deep) 0 3px, transparent 3.6px),
        linear-gradient(var(--gold-deep), var(--gold-deep)) left center / 28px 1.5px no-repeat,
        linear-gradient(var(--gold-deep), var(--gold-deep)) right center / 28px 1.5px no-repeat;
}
.section-lede { margin-top: 18px; font-size: 16.5px; line-height: 1.8; }

/* ---------- 为什么用：卡片 ---------- */
.why-grid { gap: 18px; margin-top: 44px; }
.why-grid article, .feature { position: relative; background: var(--card); border-color: #e8dec9; border-radius: 16px; box-shadow: var(--shadow-card); }
.why-grid article { padding: 30px 30px 28px 34px; overflow: hidden; }
/* 左侧一条书签金线 */
.why-grid article::before { content: ""; position: absolute; left: 0; top: 30px; width: 4px; height: 26px; border-radius: 0 3px 3px 0; background: var(--gold); }
.why-grid h3 { font-size: 21px; margin-bottom: 10px; color: var(--ink); }
.why-grid p, .feature p, .steps p { line-height: 1.75; }

/* ---------- 比较表 ---------- */
.compare-wrap { margin-top: 36px; border: 1px solid #e8dec9; border-radius: 16px; background: var(--card); box-shadow: var(--shadow-card); -webkit-overflow-scrolling: touch; }
.compare { background: transparent; border-radius: 0; font-size: 15px; }
.compare th, .compare td { padding: 15px 18px; border-bottom-color: #efe6d2; }
.compare thead th { padding-top: 18px; padding-bottom: 14px; font-size: 13.5px; letter-spacing: .04em; color: var(--muted); vertical-align: bottom; }
.compare tbody tr:hover th, .compare tbody tr:hover td:not(.us) { background: #fbf6ea; }
/* 自家这一列：抬起来的一栏 */
.compare .us { background: #fff6df; color: var(--ink); box-shadow: inset 1.5px 0 0 #edc67c, inset -1.5px 0 0 #edc67c; }
.compare thead .us { background: var(--ink); color: var(--gold); font-family: var(--serif); font-size: 16px; letter-spacing: .02em; box-shadow: none; border-bottom-color: var(--ink); }
.compare .yes::before, :lang(en) .compare td.us::before { content: ""; display: inline-block; width: 11px; height: 6px; margin: 0 9px 4px 1px; border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(-45deg); }

.audience { gap: 10px; margin-top: 30px; }
.audience span { padding: 7px 16px; background: transparent; border: 1px solid #d8ccb2; color: #4b4737; }
.audience span:first-child { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

/* ---------- 三步 ---------- */
.steps ol { position: relative; margin-top: 52px; gap: 40px; }
.steps li { position: relative; }
.step-no { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold-deep); font-size: 26px; font-weight: 700; color: var(--gold-ink); box-shadow: 0 0 0 8px var(--paper); }
.steps h3 { margin: 20px 0 8px; font-size: 22px; color: var(--ink); }
.steps-more { margin-top: 40px; }
@media (min-width: 861px) {
    /* 三个数字之间连一条虚线 */
    .steps ol::before { content: ""; position: absolute; left: 28px; right: calc(33.333% - 28px); top: 28px; border-top: 1.5px dashed #d9c9a3; }
}

/* ---------- 功能 ---------- */
.features { gap: 18px; }
.feature { padding: 28px 24px 26px; }
.feature h3 { font-size: 19.5px; color: var(--ink); }
.feature-wide {
    overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: 20px; border-color: transparent;
    background:
        radial-gradient(1.2px 1.2px at 8% 22%, #fff 50%, transparent 52%),
        radial-gradient(1px 1px at 34% 78%, #dfe3f5 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 58% 16%, #f5d48f 50%, transparent 52%),
        radial-gradient(1px 1px at 72% 84%, #dfe3f5 50%, transparent 52%),
        radial-gradient(520px 260px at 96% 0%, rgba(245, 212, 143, .16), transparent 70%),
        linear-gradient(135deg, #11142a, var(--ink-2));
    box-shadow: 0 24px 56px rgba(20, 24, 46, .26);
}
.feature-wide h3 { font-size: clamp(24px, 2.6vw, 30px); color: #fbf6ea; }
.feature-wide p { margin-top: 4px; color: #cdd2e6; font-size: 16px; }
.timer { gap: 10px; }
.timer span { padding: 9px 16px; border-color: #4a5280; color: #c3c8de; background: rgba(255, 255, 255, .03); }
.timer .on { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 0 0 4px rgba(242, 181, 82, .18); }

/* ---------- 定价：一整条暖色纸带，年度卡用夜色 ---------- */
.pricing {
    margin-top: clamp(64px, 9vw, 112px); padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px);
    background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax);
}
.plans { gap: 20px; margin-top: 52px; }
.plan { padding: 32px 28px 28px; background: var(--card); border-color: #e3d7bd; border-radius: 20px; box-shadow: var(--shadow-card); }
.plan h3 { font-size: 19px; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.price { margin: 8px 0 20px; line-height: 1.1; }
.price b { font-size: clamp(42px, 4.6vw, 52px); letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.price span { font-size: 15.5px; }
.price-note { margin: -10px 0 18px; color: var(--gold-ink); }
.plan ul { margin-bottom: 28px; padding-top: 18px; border-top: 1px solid #ebe1cb; }
.plan li { padding: 6px 0 6px 26px; color: #3d4155; }
.plan li::before { top: 15px; border-color: var(--gold-ink); }
.plan .btn { width: 100%; }

.plan-featured { background: radial-gradient(360px 220px at 100% 0%, rgba(245, 212, 143, .2), transparent 70%), linear-gradient(160deg, var(--ink-2), var(--ink)); border: 1.5px solid var(--gold); color: var(--on-ink); box-shadow: 0 26px 60px rgba(20, 24, 46, .34); }
.plan-featured h3 { color: #c3c8de; }
.plan-featured .price { color: #fbf6ea; }
.plan-featured .price b { color: var(--gold); }
.plan-featured .price span { color: #c3c8de; }
.plan-featured .price-note { color: #f5d48f; }
.plan-featured ul { border-top-color: rgba(255, 255, 255, .14); }
.plan-featured li { color: #e3e6f3; }
.plan-featured li::before { border-color: var(--gold); }
.plan-tag { top: -14px; left: 26px; padding: 3px 14px; font-size: 12.5px; letter-spacing: .06em; box-shadow: 0 6px 14px rgba(20, 24, 46, .25); }
@media (min-width: 861px) {
    .plan-featured { margin: -12px 0; padding-top: 44px; padding-bottom: 40px; }
}

.packs { margin-top: 22px; padding: 22px 28px; background: transparent; border: 1.5px dashed #cdbd97; border-radius: 18px; }
.packs h3 { color: var(--ink); }
.packs p { color: #4f4b3c; max-width: 44em; }
.pack { min-width: 112px; padding: 12px 18px; background: var(--card); border: 1px solid #e3d7bd; border-radius: 12px; }
.pack b { font-size: 14px; font-weight: 600; color: var(--muted); }
.pack > span { font-size: 24px; font-variant-numeric: lining-nums tabular-nums; }
.plans-foot { margin-top: 24px; }

/* ---------- 常见问题 ---------- */
.faq h2 { margin-bottom: 36px; }
.faq details { border-bottom-color: #e6dcc6; }
.faq details:first-of-type { border-top: 1px solid #e6dcc6; }
.faq summary { padding: 20px 48px 20px 2px; font-size: 16.5px; color: var(--ink); }
.faq summary:hover { color: #3a4170; }
.faq summary::after { right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border: 1.5px solid #d8c8a2; border-radius: 50%; display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--gold-ink); }
.faq details[open] summary::after { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.faq details p { margin: -4px 0 22px; padding-right: 48px; line-height: 1.8; }

/* ---------- 页脚 ---------- */
.footer { position: relative; padding: 52px 20px 40px; border-top: 1px solid rgba(242, 181, 82, .28); background: linear-gradient(180deg, var(--ink), #10132a); font-size: 13px; line-height: 1.7; }
/* 一弯小月亮收尾 */
.footer::before { content: ""; display: block; width: 26px; height: 26px; margin: 0 auto 24px; border-radius: 50%; box-shadow: inset -7px 3px 0 0 #f5d48f; transform: rotate(-16deg); }
.footer-links { gap: 4px 6px; margin-bottom: 22px; font-size: 14.5px; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; }
.footer-links a:hover, .footer-links button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.footer-beian { margin-top: 10px; font-size: 12.5px; }

/* ---------- 联系弹窗 ---------- */
dialog { padding: 30px 28px 26px; border-radius: 20px; background: var(--card); box-shadow: 0 30px 80px rgba(4, 6, 20, .5); }
dialog::backdrop { background: rgba(10, 12, 30, .68); }
dialog input[type=email], dialog textarea { padding: 12px 14px; border-color: #cfc3a6; border-radius: 10px; background: #fff; color: var(--text); }
dialog input[type=email]:focus, dialog textarea:focus { outline: 0; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(242, 181, 82, .35); }

/* ---------- 使用说明页 ---------- */
.guide > h1 { letter-spacing: .02em; color: var(--ink); }
.guide-toc { gap: 10px; margin-bottom: 28px; }
.guide-toc a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; background: var(--card); border: 1px solid #dccfb4; color: var(--ink); }
.guide-toc a:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.guide-step { padding: 44px 0; border-top-color: #e6dcc6; }
.guide-step .n { margin-bottom: 6px; font-size: 14px; letter-spacing: .1em; color: var(--gold-ink); }
.guide-step h2 { font-size: 26px; margin-bottom: 10px; color: var(--ink); }
.guide-step li::marker, .guide-tips li::marker { color: var(--gold-deep); }
.demo { padding: 22px; border-radius: 18px; background: radial-gradient(260px 140px at 100% 0%, rgba(245, 212, 143, .14), transparent 70%), linear-gradient(160deg, var(--ink-2), var(--ink)); box-shadow: 0 18px 40px rgba(20, 24, 46, .22); }
.demo .sheet { border-radius: 10px; line-height: 1.7; }
.demo .chip { border-color: #4a5280; }
.demo .chip.on { border-color: var(--gold); }
.guide-tips { padding: 28px 30px; border: 1px solid #f0dcae; border-radius: 16px; }
.guide-cta { margin-top: 40px; }

/* ---------- 动效：只给不介意动效的人 ---------- */
@media (prefers-reduced-motion: no-preference) {
    .why-grid article, .feature:not(.feature-wide), .plan, .pack { transition: transform .2s ease, box-shadow .2s ease; }
    .why-grid article:hover, .feature:not(.feature-wide):hover, .plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
    .plan-featured:hover { box-shadow: 0 32px 70px rgba(20, 24, 46, .42); }
    .nav nav a, .footer-links a, .footer-links button, .guide-toc a, .faq summary::after { transition: background .15s, color .15s, border-color .15s; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .btn:hover { transform: none; }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 860px) {
    .hero { padding-top: 40px; }
    .hero-inner { gap: 44px; }
    .lede { margin: 18px 0 26px; }
    .steps ol { gap: 28px; margin-top: 40px; }
    .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: start; }
    .step-no { grid-row: 1 / span 2; box-shadow: none; }
    .steps h3 { margin: 4px 0 6px; }
    .steps li p { grid-column: 2; }
    .plans { gap: 22px; }
    .packs { padding: 20px; }
    .faq summary { padding-right: 44px; }
    .faq details p { padding-right: 0; }
    /* 比较表：首列固定，横向滑动时始终知道在看哪一行 */
    .compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 #efe6d2; }
    .compare th, .compare td { padding: 13px 14px; }
}
@media (max-width: 480px) {
    .nav { gap: 12px; padding-left: 16px; padding-right: 16px; }
    .brand { font-size: 17.5px; }
    .nav-cta { padding: 0 14px; }
    .hero h1 { font-size: clamp(32px, 9.6vw, 40px); }
    .hero-actions .btn { flex: 1 1 100%; }
    .book-page { padding: 24px 20px 18px; }
    .book-text { font-size: 19px; min-height: 9.2em; }
    .why-grid article { padding: 26px 22px 24px 26px; }
    .why-grid article::before { top: 26px; }
    .feature-wide { padding: 26px 22px; }
    .plan { padding: 28px 22px 24px; }
    .price b { font-size: 44px; }
    .packs { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pack { min-width: 0; }
    .compare { min-width: 520px; font-size: 14.5px; }
    .guide-step { padding: 36px 0; }
    .guide-tips { padding: 24px 20px; }
    dialog { padding: 26px 20px 22px; }
}

.for-whom { margin-top: clamp(40px, 6vw, 64px); text-align: center; font-size: clamp(24px, 3vw, 32px); }
.beta-tag { margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(242, 181, 82, .18); color: #f2b552; font-family: var(--sans); font-size: 12.5px; font-weight: 600; vertical-align: middle; white-space: nowrap; }

.who-grid { grid-template-columns: repeat(3, 1fr); }
.hero h1 { font-size: clamp(34px, 4.5vw, 54px); }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } }
