:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e7ecf3;
  --brand: #2563eb;
  --brand-2: #7c3aed;
  --brand-grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --sky-grad: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  --shadow: 0 10px 40px rgba(37, 99, 235, .08);
  --maxw: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
.wrap { width: min(calc(100% - 40px), var(--maxw)); margin: 0 auto; }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 50; background: rgba(247,249,252,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.3px; }
.brand .mark { display: grid; place-items: center; flex: none; }
.brand small { display: block; font-size: 9px; font-weight: 600; color: var(--muted); letter-spacing: 1.5px; line-height: 1; margin-top: 2px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-back { font-size: 13px; font-weight: 700; color: var(--muted); transition: color .2s; }
.nav-back:hover { color: var(--brand); }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 9px 16px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #fff; background: var(--brand-grad); box-shadow: 0 6px 18px rgba(37,99,235,.26); transition: transform .2s, box-shadow .2s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,99,235,.34); }
.nav-cta svg { width: 15px; height: 15px; flex: none; }
header .brand { gap: 13px; font-size: 23px; }
header .brand .mark svg { width: 45px; height: 45px; }
header .brand small { font-size: 12px; margin-top: 3px; }

/* ---------- Page head ---------- */
.page-head { text-align: center; padding: 58px 0 8px; }
.page-head .eyebrow, .eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--brand); text-transform: uppercase; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -1.2px; font-weight: 850; margin-top: 10px; }
.page-head p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* ---------- Download sections ---------- */
.download-main { padding: 38px 0 78px; }
.dl-section { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px 22px; box-shadow: var(--shadow); margin-bottom: 24px; }
.dl-sec-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: none; }
.dl-sec-head h2 { font-size: 20px; font-weight: 820; letter-spacing: -.4px; }
.dl-sec-head span { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .8px; }
.dl-list { display: flex; flex-direction: column; }
.dl-item { display: flex; align-items: center; gap: 15px; padding: 16px 6px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; border-radius: 10px; }
.dl-item:last-child { border-bottom: 0; }
a.dl-item:hover { background: #f6f9ff; padding-left: 12px; padding-right: 12px; }
.file-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.file-ic svg { width: 21px; height: 21px; }
.file-ic.pdf { color: #dc2626; background: #fef2f2; }
.file-ic.ppt { color: #ea580c; background: #fff7ed; }
.file-ic.zip { color: #7c3aed; background: #f5f3ff; }
.file-ic.html { color: #0284c7; background: #eaf7ff; }
.file-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.file-info b { font-size: 14px; font-weight: 750; }
.file-info small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dl-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fff; background: var(--brand-grad); padding: 9px 15px; border-radius: 10px; box-shadow: 0 4px 12px rgba(37,99,235,.2); flex: none; transition: transform .2s, box-shadow .2s; }
.dl-btn svg { width: 15px; height: 15px; }
a.dl-item:hover .dl-btn { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37,99,235,.3); }
.c2 .dl-btn { background: var(--sky-grad); box-shadow: 0 4px 12px rgba(14,165,233,.2); }
.dl-item.disabled { opacity: .6; }
.dl-btn-soon { font-size: 12px; font-weight: 700; color: var(--muted); background: #f1f5f9; border: 1px solid var(--line); padding: 8px 14px; border-radius: 10px; flex: none; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot .brand { font-size: 14px; }
.foot .brand .mark { width: 28px; height: 28px; }
.foot .brand .mark svg { width: 28px; height: 28px; }
.foot-meta { font-size: 12px; color: var(--muted); text-align: right; line-height: 1.9; }
.foot-meta a { color: var(--muted); }
.foot-meta a:hover { color: var(--brand); }
.beian { color: var(--muted); font-weight: 700; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.beian:hover { color: var(--brand); border-bottom-color: var(--brand); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .page-head { padding-top: 40px; }
  .download-main { padding: 26px 0 60px; }
  .dl-section { padding: 22px 18px 14px; }
  .dl-item { gap: 11px; }
  .dl-btn { padding: 8px 12px; }
  .nav-back { display: none; }
  .foot { flex-direction: column; text-align: center; }
  .foot-meta { text-align: center; }
}
@media (max-width: 430px) {
  .file-info small { font-size: 11px; }
  .dl-btn { font-size: 12px; }
}
