:root {
    --bg: #f6f4ee;
    --card: #fffdf8;
    --ink: #1f2d26;
    --muted: #6d786f;
    --forest: #173e32;
    --forest-2: #245946;
    --gold: #c8a15b;
    --line: #e5dfd2;
    --danger: #b23b32;
    --ok: #2f6b4f;
    --warn: #8a6320;
    --radius: 12px;
    --shadow: 0 18px 50px rgba(27, 41, 32, .07);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    color: var(--ink);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--forest); line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 28px; letter-spacing: -.02em; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
p { margin: 0 0 .75rem; }
ul, ol { margin: 0; padding: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.strong { font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.lead { font-size: 18px; color: var(--forest-2); }
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.right { text-align: right; }
.text-link { color: var(--forest); font-weight: 600; }
.text-link:hover { color: var(--gold); }
.text-btn { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; padding: 4px 6px; }
.text-btn:hover { color: var(--forest); }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.page { padding-top: 34px; padding-bottom: 56px; }
.site-header { background: rgba(255, 253, 248, .94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--gold); border-radius: 8px; color: var(--forest); font: 700 19px/1 Georgia, serif; }
.brand-mark.small { width: 28px; height: 28px; font-size: 15px; border-radius: 7px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: -.02em; }
.brand-text small { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: 12px; }
.site-nav a { color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--forest); border-bottom-color: var(--gold); text-decoration: none; }
.header-user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-user form { margin: 0; }
.site-auth { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.site-login { color: var(--forest); font-size: 13px; font-weight: 700; padding: 6px 2px; }
.site-user { display: inline-flex; align-items: center; gap: 8px; max-width: 230px; color: var(--forest); font-size: 13px; font-weight: 700; }
.site-user:hover { text-decoration: none; }
.site-user-avatar { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--forest); color: #fff; font-size: 13px; }
.site-user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn.btn-small { min-height: 32px; padding: 5px 13px; font-size: 12px; }
.user-name { color: var(--muted); font-size: 12px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 30px; color: var(--muted); font-size: 12px; }

.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-heading h1 { margin-bottom: 4px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card.soft { background: #f1eee4; box-shadow: none; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .9fr); gap: 18px; }
.two-col > .card { margin-bottom: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 16px; }
.stat span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.stat strong { display: block; margin-top: 3px; color: var(--forest); font-size: 24px; line-height: 1.2; }
.stat small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px 20px; }
.meta-grid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.meta-grid span { color: var(--muted); font-size: 11px; font-weight: 700; }
.meta-grid strong { color: var(--ink); font-size: 13px; word-break: break-word; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { color: var(--muted); text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pill.ok { color: #1f5b3f; background: #e6f1e8; }
.pill.warn { color: #7a5a1e; background: #f7ecd2; }
.pill.bad { color: #7e2e28; background: #f9e6e1; }
.pill.muted { color: var(--muted); background: #eeece4; }
.type-tag { display: inline-flex; padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; font-weight: 600; }
.empty { padding: 28px 10px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--forest); margin-bottom: 4px; }
.notice { padding: 11px 14px; margin-bottom: 16px; color: #245946; background: #e7f0e6; border-left: 3px solid var(--ok); border-radius: 6px; }
.error-box { padding: 11px 14px; margin-bottom: 16px; color: var(--danger); background: #fff0eb; border-left: 3px solid var(--danger); border-radius: 6px; }
.error-box ul { list-style: none; }
.field-error { color: var(--danger); font-size: 12px; margin: 2px 0 8px; }
.required { color: var(--danger); font-weight: 800; margin-left: 2px; }
.page-hint { color: var(--muted); font-size: 12px; margin-top: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn.primary { color: #fffdf5; background: var(--forest); border-color: var(--forest); }
.btn.primary:hover { background: var(--forest-2); }
.btn.secondary { color: var(--forest); background: transparent; border-color: #b9c9bd; }
.btn.secondary:hover { background: #eef2ea; }
.btn.wide { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.form { display: flex; flex-direction: column; gap: 13px; }
.form.narrow { max-width: 420px; }
.form label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; min-height: 40px; padding: 9px 11px; color: var(--ink); background: #fffefb; border: 1px solid #d9d3c6; border-radius: 8px; font: inherit; font-size: 13px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid #c7d6c9; border-color: var(--forest); }
.form .check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 500; }
.form .check input { width: 16px; min-height: 16px; }
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background: radial-gradient(circle at 10% 10%, #e8eee5, transparent 35%), var(--bg); }
.auth-shell { width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; }
.auth-brand { align-self: center; }
.auth-card { padding: 26px 26px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 70px rgba(27, 41, 32, .1); }
.auth-foot { text-align: center; color: var(--muted); font-size: 11px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 12px; }

.hero { padding: 64px 0 42px; background: radial-gradient(circle at 85% 10%, #e5eadf, transparent 38%), linear-gradient(180deg, #f9f7f0, var(--bg)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .8fr); gap: 44px; align-items: center; }
.hero h1 { font: 700 54px/1.05 Georgia, "Songti SC", serif; letter-spacing: -.04em; margin-bottom: 16px; }
.hero .lead { max-width: 560px; font-size: 19px; }
.hero-card { padding: 20px; background: var(--forest); color: #e7efe5; border-radius: 16px; box-shadow: 0 26px 70px rgba(18, 37, 27, .22); }
.hero-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; }
.hero-card .plain-list li { border-top-color: #ffffff1a; }
.hero-card .plain-list span { color: #b9c9bd; }
.section { padding-top: 30px; padding-bottom: 10px; }
.section-heading { max-width: 700px; margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.feature { padding: 16px 17px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.feature h3 { margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 12px; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.module-card { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.module-card h3 { margin-bottom: 5px; }
.module-card > p { color: var(--muted); font-size: 12px; }
.module-card .plain-list { margin-top: 10px; }
.price-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; padding: 26px 28px; background: var(--forest); border-radius: 14px; color: #e7efe5; }
.cta-card h2 { color: #fff; }
.cta-card .muted { color: #b9c9bd; }

.home-hero { padding-top: 54px; }
.home-hero-grid { gap: 54px; }
.home-hero .hero-copy h1 { max-width: 680px; }
.home-hero .hero-copy h1 span { color: #2e5a43; }
.home-hero .lead { max-width: 540px; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 12px; }
.hero-preview { min-width: 0; padding: 24px; background: var(--forest); color: #e7efe5; border-radius: 18px; box-shadow: 0 28px 70px rgba(18, 37, 27, .22); }
.preview-head { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.preview-live { display: inline-flex; align-items: center; gap: 6px; color: #c9d9c9; font-size: 11px; font-weight: 600; }
.preview-live i { width: 7px; height: 7px; border-radius: 50%; background: #9fc9a6; box-shadow: 0 0 0 4px rgba(159, 201, 166, .12); }
.preview-label { margin: 24px 0 2px; color: #b9c9bd; font-size: 11px; }
.preview-amount { margin: 0; color: #fff; font: 700 36px/1.1 Georgia, "Songti SC", serif; letter-spacing: -.03em; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 18px; }
.preview-stats div { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.14); }
.preview-stats strong { display: block; color: #fff; font-size: 17px; }
.preview-stats span { color: #b9c9bd; font-size: 11px; }
.preview-chart { height: 92px; display: flex; align-items: flex-end; gap: 6px; padding-top: 8px; }
.preview-chart span { flex: 1; min-width: 0; border-radius: 4px 4px 2px 2px; background: rgba(255,253,245,.2); }
.preview-chart span:nth-child(6) { background: #d6b36a; }
.preview-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; color: #b9c9bd; font-size: 11px; }
.audience-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; color: var(--muted); font-size: 12px; }
.audience-pill { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,253,248,.7); color: var(--forest); font-weight: 600; }
.home-benefits { padding-top: 12px; }
.benefit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.benefit-card { padding: 17px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.benefit-index { color: var(--gold); font: 700 11px/1 Georgia, serif; letter-spacing: .08em; }
.benefit-card h3 { margin: 12px 0 5px; font-size: 14px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.home-story { padding-top: 34px; }
.core-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.core-feature { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.core-feature h3 { margin-bottom: 6px; font-size: 15px; }
.core-feature p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.home-modules { padding-top: 34px; }
.home-module-card { display: flex; flex-direction: column; }
.home-module-card > p { min-height: 38px; }
.module-points { flex: 1; }
.module-link { display: inline-flex; margin-top: 14px; font-size: 12px; font-weight: 700; }
.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 30px 30px; background: var(--forest); border-radius: 16px; color: #e7efe5; }
.home-cta h2 { color: #fff; font-size: 25px; }
.home-cta .muted { color: #b9c9bd; }
.home-cta .btn.primary { color: var(--forest); background: #fffdf5; border-color: #fffdf5; }
.home-cta .btn.primary:hover { background: #eef2ea; border-color: #eef2ea; }
.home-cta .btn.secondary { color: #fffdf5; border-color: rgba(255,253,245,.55); }
.home-cta .btn.secondary:hover { background: rgba(255,253,245,.12); }
.plain-list { list-style: none; }
.plain-list li { display: flex; flex-direction: column; gap: 1px; padding: 8px 0; border-top: 1px solid var(--line); }
.plain-list li:first-child { border-top: 0; }
.plain-list strong { font-size: 13px; }
.plain-list span { color: var(--muted); font-size: 12px; }
.plain-list.compact li { padding: 6px 0; }
.steps { padding-left: 18px; color: var(--muted); }
.steps li { margin-bottom: 6px; }

@media (max-width: 860px) {
    .header-inner { flex-wrap: wrap; gap: 12px; padding: 10px 0; }
    .site-nav { order: 3; width: 100%; overflow-x: auto; gap: 16px; }
    .header-user { margin-left: auto; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .two-col { grid-template-columns: 1fr; }
    .hero { padding-top: 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero h1 { font-size: 40px; }
    .page-heading { flex-direction: column; }
    .cta-card { flex-direction: column; align-items: flex-start; }
}
.page-hero { padding: 46px 0 28px; background: radial-gradient(circle at 80% 10%, #e5eadf, transparent 40%), var(--bg); }
.page-hero h1 { font: 700 38px/1.15 Georgia, "Songti SC", serif; letter-spacing: -.03em; }
.page-hero .lead { max-width: 720px; }
.price-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; background: var(--forest); border-radius: 16px; color: #e7efe5; }
.price-hero h2, .price-hero .price { color: #fff; }
.price-hero .muted { color: #b9c9bd; }
.price { font-size: 30px; font-weight: 800; margin: 6px 0 2px; }
.price small { font-size: 13px; font-weight: 500; color: #b9c9bd; }
.small-price { font-size: 20px; color: var(--forest); margin: 8px 0; }
.price-actions { display: flex; flex-direction: column; gap: 10px; flex: none; }
.price-actions .btn { width: 100%; min-width: 180px; }
.price-hero .btn.primary { color: var(--forest); background: #fffdf5; border-color: #fffdf5; }
.price-hero .btn.primary:hover { color: var(--forest); background: #eef2ea; border-color: #eef2ea; }
.price-hero .btn.secondary { color: #fffdf5; background: transparent; border-color: rgba(255, 253, 245, .55); }
.price-hero .btn.secondary:hover { color: #fffdf5; background: rgba(255, 253, 245, .12); }
.module-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.module-head h3 { margin: 0; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.download-card { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.release-meta { margin: 10px 0; }
.release-meta > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.release-meta dt { color: var(--muted); font-size: 11px; }
.release-meta dd { margin: 0; font-size: 12px; text-align: right; word-break: break-word; }
.empty-card { text-align: center; padding: 42px 20px; }
@media (max-width: 700px) { .price-hero { flex-direction: column; align-items: flex-start; } .price-actions { width: 100%; } .price-actions .btn { width: 100%; } }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr); gap: 18px; align-items: start; }
.buy-grid > .card { margin-bottom: 0; }
.offer-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.offer-row:first-of-type { border-top: 0; }
.offer-row input { width: 18px; height: 18px; accent-color: var(--forest); }
.offer-main { display: flex; flex-direction: column; gap: 2px; }
.offer-main small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.offer-price { font-weight: 800; color: var(--forest); white-space: nowrap; }
.offer-price small { font-weight: 500; color: var(--muted); font-size: 11px; }
.order-total { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--line); }
.order-total strong { font-size: 22px; color: var(--forest); }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.pay-methods form { margin: 0; }
.qr-panel { padding: 16px; text-align: center; background: #f6f3ea; border-radius: 10px; }
.qr-image { width: 220px; height: 220px; max-width: 100%; margin: 0 auto 10px; display: block; background: #fff; border-radius: 8px; }
.qr-code-text { display: block; padding: 10px; margin-bottom: 10px; word-break: break-all; font-size: 11px; background: #fff; border-radius: 6px; }
.success-panel { max-width: 760px; padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.success-panel h2 { font-size: 26px; }
.activation-code { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; margin: 16px 0; background: #f5ecd7; border-left: 3px solid var(--gold); border-radius: 6px; }
.activation-code span { color: var(--muted); font-size: 11px; font-weight: 700; }
.activation-code strong { font-size: 22px; color: var(--forest); letter-spacing: .04em; }
.activation-code small { color: var(--muted); font-size: 11px; }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; } .pay-methods { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .core-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-cta { flex-direction: column; align-items: flex-start; }
    .home-cta .actions { width: 100%; }
    .home-cta .actions .btn { flex: 1; }
    .home-hero { padding-top: 34px; }
    .home-hero .hero-copy h1 { font-size: 40px; }
}
@media (max-width: 520px) {
    .benefit-grid, .core-feature-grid { grid-template-columns: 1fr; }
    .home-hero .hero-copy h1 { font-size: 34px; }
    .site-user-name { max-width: 120px; }
}
