/* ============================================================
   照片备份宝官网 — 奶油暖色 · 一屏式单页
   桌面端整页一屏放下，无滚动；纯静态，无外部依赖
   ============================================================ */

:root {
  --bg: #fff8f0;
  --bg-soft: #fdeedd;
  --card: #ffffff;
  --ink: #43290f;
  --ink-2: #8a6746;
  --accent: #ef6a33;
  --accent-2: #ff9a62;
  --accent-deep: #c84f18;
  --accent-soft: rgba(239, 106, 51, 0.1);
  --green: #3f9e6c;
  --green-soft: rgba(63, 158, 108, 0.12);
  --line: rgba(67, 41, 15, 0.12);
  --line-strong: rgba(67, 41, 15, 0.18);
  --chip: #f8ecdb;
  --shadow-sm: 0 4px 16px rgba(200, 79, 24, 0.08);
  --shadow-md: 0 12px 30px rgba(200, 79, 24, 0.12);
  --shadow-lg: 0 24px 60px rgba(200, 79, 24, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(239, 106, 51, 0.34);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(239, 106, 51, 0.42);
}

.btn-ghost {
  background: var(--card);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 106, 51, 0.45);
  color: var(--accent-deep);
}

.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* ---------- 顶栏 ---------- */

.nav {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 240, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.brand-name { font-size: 1.1rem; font-weight: 400; letter-spacing: 0.2px; }
.brand-name b { font-weight: 800; }

.ver-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 500;
}

.ver { color: var(--accent-deep); font-weight: 700; }

/* ---------- 一屏主体 ---------- */

.page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 12px 0;
}

.page-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
  width: 100%;
}

/* 左列文案 */

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.kicker-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(239, 106, 51, 0.15);
}

.hero-copy h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0.5px;
  text-wrap: balance;
}

.hl {
  background: linear-gradient(transparent 64%, rgba(239, 106, 51, 0.3) 64%);
  padding: 0 4px;
}

.hero-sub {
  max-width: 34em;
  font-size: 1rem;
  color: var(--ink-2);
}

.hero-price {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px dashed rgba(239, 106, 51, 0.42);
  font-size: 0.86rem;
  color: var(--ink-2);
}

.hero-price b { color: var(--accent-deep); font-weight: 700; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  list-style: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-meta li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--green);
  font-weight: 700;
}

/* 花费对比条（压缩版） */

.savings {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 12px;
  padding: 9px 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.savings-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  padding: 2px 10px;
}

.savings-num {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 900;
  color: var(--ink-2);
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.savings-label {
  font-size: 0.76rem;
  color: var(--ink-2);
  line-height: 1.4;
  white-space: nowrap;
}

.savings-item--win .savings-num {
  color: var(--accent-deep);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
}

.savings-item--win .savings-label { color: var(--accent-deep); font-weight: 600; }

/* 被划掉的“省下的钱”（NAS/网盘列：文案在上、划线价格在下） */
.savings-num--cut {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(200, 79, 24, 0.75);
}

.savings-divider {
  width: 1px;
  background: var(--line);
  margin: 6px 0;
}

/* 下载（横排紧凑卡） */

.dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 12px;
}

.dl-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.dl-card--primary {
  border: 2px solid rgba(239, 106, 51, 0.55);
  box-shadow: 0 10px 26px rgba(239, 106, 51, 0.12);
}

.dl-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 2px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(239, 106, 51, 0.35);
}

.dl-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  flex: none;
}

.dl-icon svg { width: 23px; height: 23px; }

.dl-body { flex: 1; min-width: 0; }

.dl-body h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.4; }
.dl-body p { font-size: 0.84rem; color: var(--ink-2); line-height: 1.5; }

.file-chip {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 9px;
  border-radius: 7px;
  background: var(--chip);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  word-break: break-all;
}

.dl-card .btn { flex: none; }

/* 其他下载（药丸） */

.dl-extras { margin-top: 10px; }
.dl-extras:empty { margin-top: 0; }

.dl-extras-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dl-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dl-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dl-chip-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  flex: none;
}

.dl-chip-icon svg { width: 15px; height: 15px; }

.dl-chip-name { font-size: 0.86rem; font-weight: 600; white-space: nowrap; }

.dl-chip a {
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.dl-chip a:hover { text-decoration: underline; }

/* SHA256 校验值（点击按钮，气泡显示在按钮旁） */

/* 文件名 + SHA256 按钮同一行 */
.dl-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}

.dl-meta .file-chip { margin-top: 0; }

.sha-btn {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--chip);
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.sha-btn:hover {
  border-color: rgba(239, 106, 51, 0.5);
  color: var(--accent-deep);
}

.sha-btn--on,
.sha-btn--on:hover {
  background: var(--accent-soft);
  border-color: rgba(239, 106, 51, 0.4);
  color: var(--accent-deep);
}

/* 气泡本体：fixed 定位贴着按钮，JS 计算坐标 */
.sha-pop {
  position: fixed;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(360px, calc(100vw - 24px));
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(60, 42, 24, 0.2);
}

/* display:flex 会盖掉 UA 的 [hidden]，必须显式声明，否则 JS 置 hidden 也关不掉 */
.sha-pop[hidden] { display: none; }

.sha-val {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  word-break: break-all;
  color: var(--ink);
  user-select: all;
}

.sha-copy {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(239, 106, 51, 0.45);
  background: var(--card);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.sha-copy:hover { background: var(--accent-soft); }
.sha-copy:disabled { opacity: 0.75; cursor: default; }

/* 一行步骤 */

.flow-note {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.84rem;
}

.flow-note b { color: var(--ink); font-weight: 600; }

/* 放行提示（下载卡下方） */

.guide-note {
  margin-top: 10px;
  padding: 7px 14px;
  display: inline-block;
  border-radius: 12px;
  background: var(--card);
  border: 1px dashed rgba(239, 106, 51, 0.45);
  color: var(--ink-2);
  font-size: 0.82rem;
}

.guide-link {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.guide-link:hover { text-decoration: underline; }

/* ---------- 安装须知 ---------- */

.install {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(239, 106, 51, 0.05), transparent),
    radial-gradient(50% 40% at 90% 30%, rgba(239, 106, 51, 0.05), transparent),
    var(--bg-soft);
  padding: 40px 0 52px;
  scroll-margin-top: 16px;
}

.install-head { max-width: 46em; }

.install-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.3px;
}

.install-head p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.92rem;
}

/* 闲鱼责任声明条（绿色 = 可信赖） */
.install-trust {
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background: rgba(63, 158, 108, 0.08);
  border: 1px solid rgba(63, 158, 108, 0.32);
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.75;
}

.install-trust::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 50%;
  background: #3f9e6c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: -4px;
}

/* 闲鱼商品链接（全站通用） */
.xy-link {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(239, 106, 51, 0.55);
  padding-bottom: 1px;
}

.xy-link:hover { text-decoration: underline; }

.xy-link::after {
  content: "↗";
  font-size: 0.8em;
  margin-left: 1px;
}

.install-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
  align-items: start;
}

.install-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px 22px;
}

.install-block > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink-2);
}

.os-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex: none;
}

.os-chip--win { background: linear-gradient(135deg, #2f7fd1, #4a9be0); }
.os-chip--and { background: linear-gradient(135deg, #3f9e6c, #55b57f); }

.install-steps {
  list-style: none;
  margin-top: 4px;
}

.install-steps > li {
  position: relative;
  padding-left: 36px;
  margin-top: 18px;
}

.install-steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(239, 106, 51, 0.4);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.install-steps {
  counter-reset: step;
}

.install-steps > li > p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.install-steps b { color: var(--accent-deep); }

.install-steps figure {
  margin-top: 10px;
}

.install-steps figure img {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* 桌面截图：限宽不超卡片 */
.install-steps figure img { max-width: 100%; }

/* 手机截图：窄竖图居中 */
.shot-phone img {
  width: min(230px, 78%);
  margin: 0 auto;
}

.install-steps figcaption {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--ink-2);
  text-align: center;
}

/* 安装向导三连图 */
.setup-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.setup-row figure { margin: 0; }
.setup-row img { width: 100%; }
.setup-row figcaption { text-align: center; }

.install-tip {
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* 安卓推荐装法引导条 */
.install-lead {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(239, 106, 51, 0.3);
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.7;
}

.install-lead b { color: var(--accent-deep); }

/* ---------- 微信备份使用指导 ---------- */

/* 章节小标签：微信绿 / 日常橙（品牌渐变） */
.os-chip--wx { background: linear-gradient(135deg, #21a35c, #3fbf78); }
.os-chip--daily { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

/* 「日常使用」卡片在两列网格里通栏 */
.install-block--wide { grid-column: 1 / -1; }

/* 通栏后行长太长，限制段落行宽保证可读性 */
.install-block--wide .install-steps > li > p { max-width: 62em; }

.install-tip b { color: var(--ink); }

/* 「首次使用」导出聊天记录 5 步图条带 */
.wx-strip {
  list-style: none;
  counter-reset: wxstep;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.wx-strip > li {
  position: relative;
  counter-increment: wxstep;
  padding-top: 34px;
}

/* 编号圆点：与 .install-steps 的步骤序号同款 */
.wx-strip > li::before {
  content: counter(wxstep);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(239, 106, 51, 0.4);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.wx-strip figure img {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.wx-strip figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.wx-strip figcaption b { color: var(--accent-deep); }

/* 右列海报 */

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(440px, 100%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% -5% -8% -5%;
  background: radial-gradient(closest-side, rgba(239, 106, 51, 0.24), transparent);
  filter: blur(34px);
  z-index: 0;
}

.visual-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 1536 / 920;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}

.visual-note {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.visual-note--sync {
  top: -13px;
  left: -18px;
  animation: floaty 6s ease-in-out infinite;
}

.visual-note--home {
  bottom: -13px;
  right: -13px;
  animation: floaty 7s ease-in-out 0.8s infinite;
}

.note-icon {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 50%;
  font-size: 0.72rem;
}

.note-icon--ok { background: var(--green-soft); color: var(--green); }
.note-icon--home { background: var(--accent-soft); }

@keyframes floaty {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

/* ---------- 页脚（单行） ---------- */

.footer {
  flex: none;
  padding: 9px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.8rem;
  color: var(--ink-2);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.footer-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.footer-slogan { opacity: 0.9; }
.footer-copy { opacity: 0.7; }

/* ---------- 入场（一次性淡入） ---------- */

.hero-copy, .hero-visual { animation: rise 0.55s ease both; }
.hero-visual { animation-delay: 0.12s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-visual { animation: none; }
  .btn, .dl-card, .dl-chip, .visual-note { transition: none; animation: none; }
}

/* ---------- 响应式 ---------- */

/* 矮屏（如 1280×720）：整体再压一档 */
@media (min-width: 961px) and (max-height: 780px) {
  .nav-inner { height: 46px; }
  .page { padding: 5px 0; }
  .page-inner { gap: 34px; }
  .hero-copy h1 { margin: 10px 0 8px; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
  .hero-sub { font-size: 0.94rem; }
  .savings { margin-top: 12px; padding: 7px 8px; }
  .savings-num--cut { display: none; }
  .dl-grid { gap: 10px; margin-top: 12px; }
  .dl-card { padding: 10px 14px; }
  .dl-body p { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .flow-note { margin-top: 10px; }
  .hero-visual { width: min(380px, 100%); }
}

/* 窄桌面 / 平板：转单列 */
@media (max-width: 960px) {
  .page { padding: 22px 0 26px; }
  .page-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { width: min(420px, 92%); }
  .install { padding: 30px 0 40px; }
  .install-cols { grid-template-columns: 1fr; }
  .wx-strip { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
}

/* 手机 */
@media (max-width: 620px) {
  .page-inner { gap: 24px; }
  .hero-copy h1 { letter-spacing: 0; }
  .savings { padding: 8px 6px; }
  .savings-label { font-size: 0.7rem; }
  .dl-card { flex-wrap: wrap; gap: 10px; }
  .dl-body { flex: 1 1 calc(100% - 58px); }
  .dl-card .btn { width: 100%; }
  .visual-note { font-size: 0.76rem; padding: 7px 12px; }
  .visual-note--sync { top: -11px; left: -6px; }
  .visual-note--home { bottom: -11px; right: -6px; }
  .footer-slogan { display: none; }
  .install-block { padding: 16px 14px 18px; }
  .install-steps > li { padding-left: 30px; }
  .setup-row { gap: 7px; }
}

@media (max-width: 400px) {
  .hero-meta li { font-size: 0.76rem; padding: 4px 10px; }
  .ver-chip { font-size: 0.76rem; }
  .savings-label { white-space: normal; }
  .visual-note--home { display: none; }
}

/* ============================================================
   研究试用声明弹窗（宠物识别等非商用组件：点「同意」才放行下载）
   ============================================================ */
.modal-ov {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(67, 41, 15, 0.45);
}

.modal-ov[hidden] { display: none; }

.modal-card {
  width: min(540px, 100%);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px 26px 20px;
}

.modal-card h3 {
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.modal-card ul {
  margin: 0 0 10px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.modal-card li {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.modal-card li b { color: var(--accent-deep); }

.modal-note {
  font-size: 0.8rem;
  color: var(--ink-2);
  opacity: 0.85;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

/* 「其他下载」里研究试用项的下载按钮（样式对齐普通 <a> 下载链接） */
.chip-dl-btn {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.chip-dl-btn:hover { text-decoration: underline; }
