/* Cheat Engine中文官网 - 全站样式 v20261119 */
:root {
  --primary: #1D6FA5;
  --primary-dark: #144E74;
  --primary-deep: #0F3D5C;
  --primary-light: #E7F1F8;
  --primary-bg: rgba(29, 111, 165, .08);
  --accent: #3FA9F5;
  --bg: #F6F9FC;
  --card: #FFFFFF;
  --border: #E3EAF0;
  --text: #1F2937;
  --text-muted: #64707D;
  --success: #16A34A;
  --warning: #D97706;
  --shadow: 0 1px 3px rgba(15, 61, 92, .06), 0 8px 24px rgba(15, 61, 92, .07);
  --shadow-hover: 0 4px 12px rgba(15, 61, 92, .10), 0 16px 40px rgba(15, 61, 92, .12);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); flex-shrink: 0; }
.brand img { width: 30px; height: 30px; }
.brand span b { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 8px; color: var(--text-muted); font-size: 15px; font-weight: 500; transition: .18s; }
.nav a:hover { color: var(--primary); background: var(--primary-light); }
.nav a[aria-current="page"] { color: var(--primary); background: var(--primary-light); font-weight: 600; }
.nav a.nav-cta { background: var(--primary); color: #fff; font-weight: 600; margin-left: 8px; padding: 9px 20px; border-radius: 10px; }
.nav a.nav-cta:hover { background: var(--primary-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--text); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #F2F8FC 0%, #E7F1F8 60%, #DFEDF7 100%); padding: 72px 0 64px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); color: var(--primary); font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 40px; line-height: 1.25; font-weight: 800; letter-spacing: -.5px; margin-bottom: 16px; }
.hero h1 .hl { color: var(--primary); }
.hero-desc { font-size: 16.5px; color: var(--text-muted); max-width: 480px; margin-bottom: 22px; }
.hero-badges { display: flex; flex-wrap: nowrap; gap: 10px; margin-bottom: 26px; }
.hero-badges .badge { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.hero-badges .badge svg { width: 15px; height: 15px; color: var(--primary); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: 13px; color: var(--text-muted); }

/* mockup frame */
.mockup { position: relative; }
.mockup .mockup-frame { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px 12px 0; box-shadow: var(--shadow-hover); }
.mockup .mockup-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 10px; }
.mockup .mockup-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mockup .mockup-bar i:nth-child(1) { background: #F87171; }
.mockup .mockup-bar i:nth-child(2) { background: #FBBF24; }
.mockup .mockup-bar i:nth-child(3) { background: #34D399; }
.mockup .mockup-bar span { font-size: 11.5px; color: var(--text-muted); margin-left: 8px; }
.mockup img { border-radius: 8px 8px 0 0; width: 100%; }
.mockup .mockup-cap { text-align: center; font-size: 12.5px; color: var(--text-muted); padding: 8px 0 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; font-weight: 600; font-size: 15px; padding: 11px 22px; cursor: pointer; transition: .18s; border: 1px solid transparent; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(29, 111, 165, .30); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(29, 111, 165, .36); }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-lg { padding: 14px 30px; font-size: 16.5px; border-radius: 13px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--primary); font-weight: 700; font-size: 13.5px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* stats */
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 16px; text-align: center; box-shadow: var(--shadow); }
.stat-card .num { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-card .num small { font-size: 16px; font-weight: 700; }
.stat-card .label { font-size: 13.5px; color: var(--text-muted); margin-top: 6px; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: .2s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feat-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-icon svg { width: 24px; height: 24px; }
.feat-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 14.5px; color: var(--text-muted); }

/* scenario blocks */
.scene { background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; }
.scene:last-child { margin-bottom: 0; }
.scene-body { padding: 36px 40px; }
.scene-body .tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.scene-body h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.scene-body > p { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; }
.scene-body ul.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; }
.scene-body ul.checklist li { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; color: var(--text); }
.scene-body ul.checklist li svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; margin-top: 3px; }
.scene-visual { background: linear-gradient(160deg, var(--primary-light), #DCEBF5); display: flex; align-items: center; justify-content: center; padding: 30px; }
.scene-visual img { border-radius: 10px; box-shadow: var(--shadow-hover); max-height: 340px; width: auto; max-width: 100%; }
.scene-visual .diagram { width: 100%; max-width: 420px; }

/* principle section */
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.principle-grid .diagram { width: 100%; }
.principle-steps { list-style: none; counter-reset: ps; }
.principle-steps li { counter-increment: ps; position: relative; padding: 0 0 22px 56px; }
.principle-steps li::before { content: counter(ps); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.principle-steps li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--border); }
.principle-steps li:last-child::after { display: none; }
.principle-steps h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.principle-steps p { font-size: 14.5px; color: var(--text-muted); }

/* compare table */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 14px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
table.compare th { background: var(--primary-light); color: var(--primary-deep); font-weight: 700; white-space: nowrap; }
table.compare tr:last-child td { border-bottom: 0; }
table.compare td.yes { color: var(--success); font-weight: 600; }
table.compare td.no { color: var(--text-muted); }

/* reviews marquee */
.review-band { overflow: hidden; padding: 6px 0; }
.review-track { display: flex; gap: 18px; width: max-content; animation: marquee 46s linear infinite; }
.review-band:hover .review-track { animation-play-state: paused; }
.review-track.rev2 { animation-duration: 56s; animation-direction: reverse; margin-top: 18px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card { width: 340px; flex-shrink: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.review-meta .name { font-weight: 700; font-size: 14.5px; }
.review-meta .role { font-size: 12.5px; color: var(--text-muted); }
.review-card p { font-size: 14px; color: var(--text-muted); }
.review-stars { color: #F59E0B; font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }

/* faq accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: .2s; }
.faq-item summary { list-style: none; cursor: pointer; padding: 17px 22px; font-weight: 600; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex-shrink: 0; width: 20px; height: 20px; color: var(--text-muted); transition: transform .2s; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--primary-dark); }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--text-muted); font-size: 14.5px; }
.faq-item .faq-a a { font-weight: 600; }

/* changelog timeline */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary-light); }
.tl-item .tl-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.tl-item .tl-ver { font-size: 18px; font-weight: 800; color: var(--primary-deep); }
.tl-item .tl-date { font-size: 13px; color: var(--text-muted); }
.tl-item .tl-latest { background: var(--success); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.tl-item ul { list-style: none; }
.tl-item ul li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text-muted); margin-bottom: 5px; }
.tl-item ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--primary-deep), var(--primary) 55%, #2B7FB4); border-radius: 22px; padding: 56px 40px; text-align: center; color: #fff; box-shadow: var(--shadow-hover); }
.cta-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 15.5px; margin-bottom: 26px; }
.cta-band .btn { background: #fff; color: var(--primary-dark); font-size: 16.5px; padding: 14px 34px; }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.cta-band .btn svg { width: 19px; height: 19px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, #F2F8FC, #E7F1F8); padding: 48px 0 40px; border-bottom: 1px solid var(--border); }
.breadcrumbs { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.page-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 10px; }
.page-hero .lede { color: var(--text-muted); font-size: 16px; max-width: 720px; }

/* ---------- Download page ---------- */
.editions { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.edition-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.edition-card.reco { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-hover); }
.edition-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 16px; border-radius: 999px; white-space: nowrap; }
.edition-card .plat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.edition-card .plat-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.edition-card .plat-icon svg { width: 23px; height: 23px; }
.edition-card h2 { font-size: 20px; font-weight: 800; }
.edition-card .ed-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 8px; margin-bottom: 20px; }
.dl-grid dt { font-size: 12.5px; color: var(--text-muted); }
.dl-grid dd { font-size: 14px; color: var(--text); font-weight: 600; }
.dl-btn { width: 100%; margin-top: auto; }
.dl-btn.alt-btn { margin-top: 10px; background: #fff; color: var(--primary); border: 1px solid var(--primary); box-shadow: none; font-size: 14.5px; padding: 10px 22px; }
.dl-btn.alt-btn:hover { background: var(--primary-light); color: var(--primary-dark); }
.dl-note { font-size: 12.5px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.download-advice { max-width: 980px; margin: 30px auto 0; background: var(--primary-light); border: 1px solid #CBDFEE; border-radius: 14px; padding: 20px 26px; font-size: 14.5px; color: var(--primary-deep); }
.sysreq { max-width: 980px; margin: 44px auto 0; }
.sysreq h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.sha-tip { max-width: 980px; margin: 30px auto 0; font-size: 13px; color: var(--text-muted); background: var(--card); border: 1px dashed var(--border); border-radius: 12px; padding: 16px 22px; }
.sha-tip code { font-size: 12px; background: var(--bg); padding: 1px 6px; border-radius: 5px; word-break: break-all; }

/* ---------- Guide ---------- */
.guide-layout { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start; }
.toc { position: sticky; top: 88px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.toc h3 { font-size: 14px; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 12px; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--text-muted); margin-bottom: 2px; }
.toc a:hover, .toc a.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.guide-body h2 { font-size: 25px; font-weight: 800; margin: 52px 0 16px; scroll-margin-top: 90px; }
.guide-body h2:first-child { margin-top: 0; }
.guide-body h3 { font-size: 19px; font-weight: 700; margin: 30px 0 12px; }
.guide-body p { color: var(--text-muted); margin-bottom: 14px; }
.guide-body p strong, .guide-body li strong { color: var(--text); }
.guide-body ol, .guide-body ul { margin: 0 0 16px 22px; color: var(--text-muted); font-size: 15px; }
.guide-body ol li, .guide-body ul li { margin-bottom: 8px; }
.guide-body ol li::marker { color: var(--primary); font-weight: 700; }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 30px; margin-bottom: 20px; display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-card h3 { margin: 4px 0 8px; font-size: 18px; }
.step-card p { font-size: 14.5px; margin-bottom: 0; }
.guide-cta { background: var(--primary-light); border-radius: 14px; padding: 22px 28px; margin-top: 40px; font-size: 14.5px; color: var(--primary-deep); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.guide-cta .btn { padding: 10px 20px; font-size: 14.5px; }
.term-table th { white-space: nowrap; }

/* ---------- QR modal ---------- */
.qr-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.qr-modal[hidden] { display: none; }
.qr-modal-mask { position: absolute; inset: 0; background: rgba(15, 61, 92, .55); }
.qr-modal-card { position: relative; background: #fff; border-radius: 20px; padding: 36px 40px 30px; text-align: center; width: min(400px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0,0,0,.25); animation: qrPop .18s ease; }
@keyframes qrPop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qr-modal-card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 700; }
.qr-modal-edition { font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; }
.qr-modal-qr { position: relative; width: 200px; height: 200px; margin: 0 auto; padding: 12px; background: #fff; border: 1px solid #E3EAF0; border-radius: 14px; }
.qr-qr-canvas, .qr-qr-canvas svg { display: block; width: 100%; height: 100%; }
.qr-modal-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; padding: 5px; background: #fff; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,.12); object-fit: contain; }
.qr-modal-tip { font-size: 14px; color: #64707D; line-height: 1.7; margin: 20px 0 0; }
.qr-modal-tip strong { color: #1F2937; }
.qr-modal-x { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 24px; color: #9CA3AF; cursor: pointer; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.78); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 44px; }
.site-footer .brand { color: #fff; }
.site-footer .brand span b { color: #7FC3EA; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.66); margin-top: 12px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.66); font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 26px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer-bottom p { margin-bottom: 4px; }

/* reveal animation */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } .review-track { animation: none; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 24px 80px; }
.notfound img { width: 72px; margin: 0 auto 24px; opacity: .9; }
.notfound h1 { font-size: 44px; font-weight: 800; margin-bottom: 12px; }
.notfound p { color: var(--text-muted); margin-bottom: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .editions { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 768px) {
  .hero { padding: 48px 0 44px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 30px; }
  .hero-badges { flex-wrap: wrap; }
  .hero-badges .badge { white-space: normal; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 18px; border-bottom: 1px solid var(--border); display: none; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 24px; }
  .feat-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .scene { grid-template-columns: 1fr; }
  .scene-body { padding: 26px 24px; }
  .scene-body ul.checklist { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding: 44px 0 32px; }
  .guide-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .cta-band { padding: 40px 24px; border-radius: 18px; }
  .page-hero h1 { font-size: 25px; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .step-card { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
}
