/* ============================================================
   HWMonitor 中文站 (www.hwmonitor.cn) - 全站样式
   品牌: CPUID HWMonitor | 主色 #B50008 (取自官方 logo)
   风格: 扁平 / 现代 / 专业 / 无 emoji / 浅色明亮背景
   ============================================================ */

:root {
  /* 品牌色板 - 取自官方 logo 温度计红 */
  --brand: #B50008;
  --brand-dark: #8E0005;
  --brand-darker: #6E0004;
  --brand-soft: #FDEDEE;
  --brand-border: #F3D2D4;

  /* 功能语义色 (硬件监控读数语义) */
  --ok: #0E8A4D;
  --ok-soft: #E6F5EC;
  --warn: #B45309;
  --warn-soft: #FEF3E2;
  --info: #1D4ED8;
  --info-soft: #EBF1FE;

  /* 中性色 */
  --text: #1F2430;
  --text-2: #4B5563;
  --text-3: #6B7280;
  --line: #E5E7EB;
  --line-2: #F3F4F6;
  --bg: #FFFFFF;
  --bg-soft: #F8F9FB;
  --bg-soft-2: #F1F3F6;

  /* 布局 */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(31, 36, 48, 0.07), 0 1px 2px rgba(31, 36, 48, 0.04);
  --shadow-lg: 0 12px 32px rgba(31, 36, 48, 0.14);
  --maxw: 1160px;
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.25em; }
li { margin: 0.3em 0; }

/* ---------- 通用容器 ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--brand {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 70%, #C41218 100%);
  color: #FFFFFF;
}

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 30px; line-height: 1.35; font-weight: 700; }
.section-head p { color: var(--text-2); margin-top: 12px; font-size: 16px; }
.section--brand .section-head .kicker { color: #FFD9DB; }
.section--brand .section-head p { color: rgba(255, 255, 255, 0.88); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand); color: #FFFFFF; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand-soft); }
.btn--white { background: #FFFFFF; color: var(--brand); }
.btn--white:hover { background: var(--brand-soft); }
.btn--outline-white { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.75); }
.btn--outline-white:hover { background: rgba(255, 255, 255, 0.12); }
.btn--lg { font-size: 18px; padding: 15px 40px; }
.btn .icon { width: 18px; height: 18px; flex: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header .inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; }
.brand .name { font-size: 21px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.brand .name span { color: var(--brand); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.main-nav a:hover { color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.main-nav a.is-active { color: var(--brand); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 9px 20px; font-size: 15px; }

/* 移动端菜单 */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .header-cta .btn--ghost { display: none; }
}

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13.5px; color: var(--text-3); padding: 18px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--text-3); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ---------- 页面通栏头 ---------- */
.page-hero { padding: 44px 0 8px; }
.page-hero h1 { font-size: 34px; font-weight: 700; line-height: 1.3; }
.page-hero .sub { color: var(--text-2); font-size: 17px; margin-top: 10px; max-width: 780px; }

/* ---------- 首页 Hero ---------- */
.home-hero {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(181, 0, 8, 0.10), transparent 62%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.home-hero .inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 40px;
}
.home-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.home-hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.home-hero h1 {
  font-size: 44px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.home-hero h1 .accent { color: var(--brand); }
.home-hero .lead {
  color: var(--text-2);
  font-size: 17.5px;
  margin-top: 18px;
  max-width: 560px;
}
.home-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.home-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  color: var(--text-3);
  font-size: 13.5px;
}
.home-hero .meta span { display: inline-flex; align-items: center; gap: 7px; }
.home-hero .meta svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

/* 真实软件界面截图(竖版全窗口) */
.hero-ui { position: relative; }
.hero-ui .ui-shot {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 18px 44px rgba(31, 36, 48, 0.16);
}

@media (max-width: 920px) {
  .home-hero .inner { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 32px; }
  .home-hero h1 { font-size: 34px; }
}

/* ---------- Hero 读数标签（并列） ---------- */
.hero-tags { background: var(--bg-soft); padding: 26px 0 44px; }
.tag-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tag-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}
.tag-card .t-num { font-size: 26px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.tag-card .t-name { font-size: 14px; color: var(--text-2); font-weight: 500; }
@media (max-width: 860px) {
  .tag-row { grid-template-columns: 1fr; gap: 10px; }
  .tag-card { padding: 13px 18px; }
  .tag-card .t-num { font-size: 22px; }
}

/* ---------- Logo 墙 / 信任条 ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-strip .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 36px;
  padding: 16px 24px;
}
.trust-strip .label { font-size: 13.5px; color: var(--text-3); font-weight: 600; }
.trust-strip .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-strip .chip {
  font-size: 13.5px;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  background: var(--bg-soft);
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.card p { color: var(--text-2); font-size: 14.5px; }
.card .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .icon-wrap svg { width: 24px; height: 24px; }

.card--brand { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.card--brand h3, .card--brand p { color: #FFFFFF; }
.card--brand .icon-wrap { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.card--brand .more { color: #FFD9DB; font-weight: 600; font-size: 14.5px; }

/* ---------- 特性列表行 ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 34px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row .visual {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.feature-row h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.feature-row .desc { color: var(--text-2); font-size: 15.5px; }
.feature-row ul { margin-top: 12px; }
.feature-row ul li { color: var(--text-2); font-size: 14.5px; }
.feature-row .kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 6px;
}
@media (max-width: 920px) {
  .feature-row { grid-template-columns: 1fr; gap: 22px; }
  .feature-row--flip .visual { order: -1; }
}

/* ---------- 模拟监控面板 (纯 CSS 演示) ---------- */
.demo-panel {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.demo-panel .bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.demo-panel .bar .dots { display: flex; gap: 6px; }
.demo-panel .bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); border: 1px solid var(--line); }
.demo-panel .bar .title { font-size: 13px; color: var(--text-3); font-weight: 600; }
.demo-panel .rows { padding: 14px 18px 18px; }
.demo-panel .row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 9px 8px;
  font-size: 13.5px;
  border-radius: 6px;
}
.demo-panel .row + .row { margin-top: 2px; }
.demo-panel .row.head { color: var(--text-3); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; }
.demo-panel .row .val { text-align: right; }
.demo-panel .row .name { color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.demo-panel .row .name::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.85;
}
.demo-panel .row .val-low { color: var(--ok); font-weight: 600; }
.demo-panel .row .val-high { color: var(--brand); font-weight: 700; }
.demo-panel .row .val-mid { color: var(--warn); font-weight: 600; }

/* 迷你仪表盘 */
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gauge {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 14px;
  background: #FFFFFF;
  text-align: center;
}
.gauge .g-label { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.gauge .g-value { font-size: 24px; font-weight: 700; margin-top: 4px; line-height: 1.2; }
.gauge .g-value--hot { color: var(--brand); }
.gauge .g-value--cool { color: var(--ok); }
.gauge .g-value--info { color: var(--info); }
.gauge .g-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--line-2);
  margin-top: 10px;
  overflow: hidden;
}
.gauge .g-bar i { display: block; height: 100%; border-radius: 3px; }

/* 场景卡 */
.scene-card { position: relative; overflow: hidden; }
.scene-card .num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 44px;
  font-weight: 800;
  color: var(--line-2);
  line-height: 1;
}
.scene-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 4px;
}

/* ---------- 场景卡片 2x2 网格 (首页) ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.scene-tile {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.scene-tile:hover {
  border-color: var(--brand-border);
  box-shadow: 0 6px 20px rgba(181, 0, 8, 0.10);
}
.tile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tile-head .icon-wrap { flex: none; }
.tile-title h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.tile-title p { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.tile-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
}
.tile-points li {
  position: relative;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.tile-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand-soft);
  border: 2px solid var(--brand);
  box-sizing: border-box;
}
@media (max-width: 860px) {
  .scene-grid { grid-template-columns: 1fr; gap: 14px; }
  .scene-tile { padding: 20px; }
}

/* ---------- 数据统计带 ---------- */
.stats-band .inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.stats-band .stat .num { font-size: 34px; font-weight: 800; line-height: 1.2; }
.stats-band .stat .lab { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); margin-top: 4px; }
@media (max-width: 760px) {
  .stats-band .inner { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #FFF; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
table.data th {
  background: var(--bg-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
table.data tr:last-child td { border-bottom: none; }
table.data td.v { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data .pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 8px;
}
.pill--ok { color: var(--ok); background: var(--ok-soft); }
.pill--brand { color: var(--brand); background: var(--brand-soft); }
.pill--info { color: var(--info); background: var(--info-soft); }

/* ---------- 下载卡片 ---------- */
.dl-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.dl-card h3 { font-size: 20px; font-weight: 700; }
.dl-card .meta-list { margin: 14px 0 20px; flex: 1; }
.dl-card .meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.dl-card .meta-list div:last-child { border-bottom: none; }
.dl-card .meta-list dt { color: var(--text-3); }
.dl-card .meta-list dd { color: var(--text); font-weight: 600; }
.dl-card .btn { width: 100%; }
.dl-card .hint { font-size: 12.5px; color: var(--text-3); text-align: center; margin-top: 10px; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #FFF;
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 17px; font-weight: 700; }
.step p { color: var(--text-2); font-size: 14.5px; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
details.faq {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 22px;
  font-size: 16px;
  font-weight: 600;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex: none;
  margin-top: -4px;
}
details.faq[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
details.faq .answer { padding: 0 22px 18px; color: var(--text-2); font-size: 15px; }
details.faq .answer p + p { margin-top: 8px; }
details.faq .answer a { font-weight: 600; }

/* ---------- 提示框 ---------- */
.note {
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  color: var(--brand-darker);
}
.note--info { border-color: #C7D7F9; background: var(--info-soft); color: #16307A; }
.note b { font-weight: 700; }

/* ---------- CTA 横幅 ---------- */
.cta-band { padding: 64px 0; }
.cta-band .inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-band h2 { font-size: 28px; font-weight: 700; }
.cta-band p { color: var(--text-2); margin: 12px 0 26px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #1B1F27; color: #B9BFCB; font-size: 14px; }
.site-footer .top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 52px 0 40px;
}
.site-footer h4 { color: #FFFFFF; font-size: 14.5px; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #B9BFCB; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .brand .name { color: #FFFFFF; }
.site-footer .about-txt { line-height: 1.8; color: #9AA1AE; max-width: 340px; }
.site-footer .bottom {
  border-top: 1px solid #2A2F3A;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #8A91A0;
}
@media (max-width: 860px) {
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}

/* ---------- 下载弹窗 ---------- */
.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dl-modal.is-open { display: flex; }
.dl-modal .mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 31, 0.62);
  backdrop-filter: blur(2px);
}
.dl-modal .dialog {
  position: relative;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 620px;
  padding: 34px 34px 30px;
  text-align: center;
  animation: modalIn 0.18s ease;
}
@keyframes modalIn {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.dl-modal .close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-soft-2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}
.dl-modal .close-btn:hover { background: var(--line-2); }
.dl-modal .close-btn svg { width: 15px; height: 15px; }
.dl-modal .ver-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.dl-modal h2 { font-size: 23px; font-weight: 700; }
.dl-modal .sub { color: var(--text-2); font-size: 14.5px; margin: 8px 0 22px; }
.dl-modal .qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-modal .qr-item {
  border: 1px dashed #D4D8DF;
  border-radius: var(--radius);
  padding: 18px 14px 14px;
  background: var(--bg-soft);
}
.dl-modal .qr-img {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  object-fit: contain;
  padding: 6px;
  box-sizing: content-box;
  image-rendering: pixelated;
}
.dl-modal .qr-label { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.dl-modal .tips {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-3);
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
}
@media (max-width: 560px) {
  .dl-modal .dialog { padding: 26px 18px 22px; }
  .dl-modal .qr-grid { gap: 10px; }
  .dl-modal .qr-img { width: 132px; height: 132px; padding: 4px; }
}

/* 无障碍: 键盘焦点 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
