@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
    --primary-color: #C1272D;
    --primary-dark: #8E1A1F;
    --bg: #FAF8F5;
    --surface: #FFFFFF;
    --surface-soft: #F1E8DD;
    --text: #2B2420;
    --muted: #756B63;
    --line: #E3D8CC;
    --heading: 'Noto Serif SC', Georgia, serif;
    --body: 'Noto Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: 16px; top: -60px; background: #fff; padding: 10px 14px; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--primary-color); color: #fff; position: sticky; top: 0; z-index: 5; }
.header-inner { max-width: 1180px; margin: 0 auto; min-height: 78px; padding: 0 28px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--heading); font-size: 22px; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; border: 2px solid #fff; display: inline-block; }
.main-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 500; }
.main-nav a { opacity: .82; padding: 26px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav .active { opacity: 1; border-color: #fff; }
.download-link, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid currentColor; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.download-link { background: #fff; color: var(--primary-color); border-color: #fff; }
.download-link:hover, .btn:hover { transform: translateY(-2px); }
.hero { max-width: 1180px; margin: 0 auto; padding: 82px 28px 70px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .75fr); gap: 48px; align-items: center; }
.eyebrow, .section-heading span, .panel-kicker { color: var(--primary-color); text-transform: uppercase; letter-spacing: 0; font-size: 14px; font-weight: 700; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.18; margin: 0; }
h1 { font-size: clamp(40px, 5vw, 72px); max-width: 900px; }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: 24px; }
.hero-lead, .page-hero p { color: var(--muted); font-size: 18px; max-width: 820px; }
.hero-actions, .badge-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn.primary, .btn.cta { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn.primary:hover, .btn.cta:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn.secondary { color: var(--primary-color); background: transparent; }
.badge-row span, .chip-strip span { border: 1px solid var(--line); background: rgba(255,255,255,.55); padding: 8px 12px; font-size: 14px; }
.hero-panel { background: var(--surface); border: 1px solid var(--line); padding: 34px; min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.hero-panel strong { font-family: var(--heading); font-size: 31px; line-height: 1.25; margin: 14px 0; }
.hero-panel ul { margin: 0; padding-left: 20px; color: var(--muted); }
.progress-meter { height: 8px; background: var(--surface-soft); margin-top: 30px; overflow: hidden; }
.progress-meter span { display: block; width: 72%; height: 100%; background: var(--primary-color); animation: loadBar 2.8s ease-in-out infinite alternate; }
.stat-band { background: var(--primary-color); color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.stat-band div { padding: 30px; text-align: center; background: rgba(0,0,0,.08); }
.stat-band strong { display: block; font-family: var(--heading); font-size: 36px; }
.stat-band span { color: rgba(255,255,255,.78); }
.chip-strip, .section, .page-shell { max-width: 1180px; margin: 0 auto; padding: 72px 28px; }
.chip-strip div { display: flex; gap: 12px; overflow-x: auto; padding-top: 18px; }
.section-heading { display: grid; gap: 10px; margin-bottom: 30px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.info-card, .download-box, .meta-grid div, .steps article, .value-list article, .module-list article, .side-panel, .notice { background: var(--surface); border: 1px solid var(--line); padding: 26px; }
.info-card:nth-child(2) { transform: translateY(18px); }
.card-mark { color: var(--primary-color); font-weight: 700; }
.info-card p, .feature-copy p, .article-body p, .module-list p, .disclaimer p { color: var(--muted); }
.feature-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: stretch; margin-top: 28px; }
.feature-row.reverse { grid-template-columns: 1.2fr .8fr; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual { background: var(--surface-soft); border: 1px solid var(--line); min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.feature-visual span { font-family: var(--heading); font-size: 54px; color: var(--primary-color); }
.feature-copy { padding: 10px 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); background: var(--surface); }
.faq-item button { width: 100%; border: 0; background: transparent; padding: 20px 24px; display: flex; justify-content: space-between; text-align: left; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; }
.faq-panel { padding: 0 24px 22px; color: var(--muted); }
.faq-panel[hidden] { display: none; }
.download-cta { background: var(--primary-color); color: #fff; padding: 54px max(28px, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.download-cta p { color: rgba(255,255,255,.82); }
.download-cta .btn { background: #fff; color: var(--primary-color); border-color: #fff; }
.page-hero { padding: 58px 0 24px; }
.content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.primary-column { display: grid; gap: 26px; }
.download-box { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.download-box span, .meta-grid span, table th { color: var(--muted); font-size: 14px; }
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.meta-grid strong { display: block; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.steps, .value-list, .module-list { display: grid; gap: 18px; }
.steps article span { color: var(--primary-color); font-family: var(--heading); font-size: 36px; }
.note-list { background: var(--surface); border: 1px solid var(--line); padding: 24px 28px 24px 48px; color: var(--muted); }
.side-panel { position: sticky; top: 104px; display: grid; gap: 14px; }
.side-panel a { border-top: 1px solid var(--line); padding-top: 14px; }
.side-panel span { display: block; font-weight: 700; color: var(--primary-color); }
.side-panel small { color: var(--muted); }
.site-footer { background: #2b1717; color: #fff; margin-top: 50px; padding: 52px max(28px, calc((100vw - 1180px) / 2)) 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 20px; margin-bottom: 14px; }
.site-footer a { display: block; color: rgba(255,255,255,.76); margin: 8px 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span { border: 1px solid rgba(255,255,255,.22); padding: 6px 10px; color: rgba(255,255,255,.78); }
.footer-bottom { margin-top: 34px; color: rgba(255,255,255,.62); border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
.reveal { animation: fadeUp .65s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loadBar { from { width: 35%; } to { width: 92%; } }
@media (max-width: 1024px) { .hero, .content-with-sidebar { grid-template-columns: 1fr; } .side-panel { position: static; } .card-grid, .meta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .header-inner { flex-wrap: wrap; padding: 16px 20px; gap: 14px; } .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; } .main-nav a { padding: 6px 0; } .download-link { margin-left: auto; } .hero, .section, .chip-strip, .page-shell { padding-left: 20px; padding-right: 20px; } .hero { padding-top: 54px; } .card-grid, .meta-grid, .stat-band, .footer-grid { grid-template-columns: 1fr; } .info-card:nth-child(2) { transform: none; } .feature-row, .feature-row.reverse { grid-template-columns: 1fr; } .feature-row.reverse .feature-visual { order: 0; } .download-cta { flex-direction: column; align-items: flex-start; } }
@media (max-width: 520px) { h1 { font-size: 36px; } .hero-actions, .badge-row { flex-direction: column; align-items: stretch; } .download-box { flex-direction: column; align-items: flex-start; } .btn, .download-link { width: 100%; } }
