/* ===== 下载页 · 复用 style.css 的设计令牌与组件（nav / btn / eyebrow / faq / final / footer） ===== */

/* 当前所在的导航项 */
.nav-links a.is-here { color: var(--accent-ink); background: var(--accent-soft); }

/* ---------- 首屏 ---------- */
.dl-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 96px;
  text-align: center;
  background:
    radial-gradient(680px 380px at 12% -8%, #fff2e2, transparent 66%),
    radial-gradient(700px 400px at 88% -2%, #e9f5f2, transparent 66%),
    var(--bg);
}
.dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(22, 23, 29, 0.032) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(22, 23, 29, 0.032) 1px, transparent 1px) 0 0 / 34px 100%;
  -webkit-mask-image: radial-gradient(760px 400px at 50% 0%, #000, transparent 72%);
  mask-image: radial-gradient(760px 400px at 50% 0%, #000, transparent 72%);
  pointer-events: none;
}
.dl-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.dl-hero h1 { font-size: clamp(34px, 5.6vw, 62px); }
.dl-hero .sub {
  max-width: 38em;
  margin: 22px 0 44px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--ink-3);
}

/* ---------- 下载卡 ---------- */
.dl-card {
  width: min(760px, 100%);
  text-align: left;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-3);
  padding: 30px 32px 26px;
}
.dl-card-main { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dl-card-text { flex: 1; min-width: 160px; }
.dl-os-name { font-size: 26px; font-weight: 750; letter-spacing: -0.03em; margin: 0; }
.dl-os-meta { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-3); }
.dl-card-actions { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }
.dl-go { flex: none; }

/* 平台图形：纯 CSS/mask，不引外部图标 */
.dl-os {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--bg-3);
  position: relative;
}
.dl-os::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: var(--ink-2);
  -webkit-mask: var(--dl-glyph) no-repeat center / contain;
  mask: var(--dl-glyph) no-repeat center / contain;
  --dl-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.6 5.1 10.4 4v7.4H2.6zM11.6 3.8 21.4 2.4v8.9h-9.8zM2.6 12.6h7.8V20L2.6 18.9zM11.6 12.6h9.8v9l-9.8-1.4z'/%3E%3C/svg%3E");
}
.dl-os.is-mac::before {
  --dl-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.7c0-2.3 1.9-3.4 2-3.5-1.1-1.6-2.8-1.8-3.4-1.8-1.4-.2-2.8.9-3.5.9s-1.8-.8-3-.8c-1.5 0-2.9.9-3.7 2.3-1.6 2.7-.4 6.8 1.1 9 .8 1.1 1.7 2.3 2.9 2.3s1.6-.7 3-.7 1.8.7 3 .7 2-1.1 2.8-2.2c.9-1.2 1.2-2.4 1.2-2.5s-2.4-.9-2.4-3.7zM14.1 5.9c.6-.8 1.1-1.9 1-3-1 0-2.2.6-2.9 1.5-.6.7-1.2 1.9-1 3 1.1.1 2.3-.6 2.9-1.5z'/%3E%3C/svg%3E");
}

.dl-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.dl-spec b { color: var(--ink-2); font-weight: 650; }

.dl-state {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  padding: 12px 15px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.dl-state b { font-weight: 700; color: var(--accent-ink); }

/* 诚实提示（0.3.0 起的数据口径说明）：弱化于状态条，不与它抢视觉层级 */
.dl-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.6;
}
.dl-dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.dl-others {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 18px;
}
.dl-others-label { font-size: 13px; font-weight: 650; color: var(--ink-3); margin-right: 2px; }
.dl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 13px;
  color: var(--ink-3);
}
.dl-chip b { color: var(--ink-2); font-weight: 600; }
.dl-chip em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--spec);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 1px 8px;
}
.dl-chip.muted { border-style: dashed; color: var(--map); }

/* ---------- 为什么是桌面版 ---------- */
.dl-why { background: var(--bg-2); }
.dl-why h2 { margin-bottom: 44px; }
.dl-why-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.dl-why-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 28px 26px 26px;
  box-shadow: var(--sh-2);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.dl-why-item:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.dl-why-idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink);
  background: var(--accent-soft);
}
.dl-why-item:nth-child(2) .dl-why-idx { color: var(--teal); background: var(--teal-soft); }
.dl-why-item:nth-child(3) .dl-why-idx { color: var(--violet); background: var(--violet-soft); }
.dl-why-item h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 10px; }
.dl-why-item p { margin: 0; font-size: 14.5px; color: var(--ink-3); }

/* ---------- 三步装好 ---------- */
.dl-steps-inner { display: grid; gap: 40px; grid-template-columns: 1fr; }
.dl-steps-head h2 { margin: 0; }
.dl-steps-head .sec-sub { max-width: 26em; }
.dl-step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dl-step-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 24px 26px;
  box-shadow: var(--sh-1);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.dl-step-list li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.dl-step-n {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 750;
  color: #fff;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: 0 4px 12px rgba(221, 112, 16, 0.3);
}
.dl-step-list h3 { font-size: 17px; letter-spacing: -0.02em; margin-bottom: 6px; }
.dl-step-list p { margin: 0; font-size: 14.5px; color: var(--ink-3); }
.dl-step-list b { color: var(--ink-2); font-weight: 650; }

/* ---------- 系统要求 ---------- */
.dl-req {
  background:
    radial-gradient(rgba(22, 23, 29, 0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--bg-2);
}
.dl-req h2 { margin-bottom: 42px; }
.dl-req-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.dl-req-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 26px 28px;
  box-shadow: var(--sh-2);
}
.dl-req-card.is-soon { background: rgba(255, 255, 255, 0.62); }
.dl-req-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.dl-req-head h3 { font-size: 18px; letter-spacing: -0.02em; }
.dl-req-os {
  flex: none;
  width: 26px;
  height: 26px;
  background: var(--ink-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.6 5.1 10.4 4v7.4H2.6zM11.6 3.8 21.4 2.4v8.9h-9.8zM2.6 12.6h7.8V20L2.6 18.9zM11.6 12.6h9.8v9l-9.8-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.6 5.1 10.4 4v7.4H2.6zM11.6 3.8 21.4 2.4v8.9h-9.8zM2.6 12.6h7.8V20L2.6 18.9zM11.6 12.6h9.8v9l-9.8-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.dl-req-os.mac {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.7c0-2.3 1.9-3.4 2-3.5-1.1-1.6-2.8-1.8-3.4-1.8-1.4-.2-2.8.9-3.5.9s-1.8-.8-3-.8c-1.5 0-2.9.9-3.7 2.3-1.6 2.7-.4 6.8 1.1 9 .8 1.1 1.7 2.3 2.9 2.3s1.6-.7 3-.7 1.8.7 3 .7 2-1.1 2.8-2.2c.9-1.2 1.2-2.4 1.2-2.5s-2.4-.9-2.4-3.7zM14.1 5.9c.6-.8 1.1-1.9 1-3-1 0-2.2.6-2.9 1.5-.6.7-1.2 1.9-1 3 1.1.1 2.3-.6 2.9-1.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.7c0-2.3 1.9-3.4 2-3.5-1.1-1.6-2.8-1.8-3.4-1.8-1.4-.2-2.8.9-3.5.9s-1.8-.8-3-.8c-1.5 0-2.9.9-3.7 2.3-1.6 2.7-.4 6.8 1.1 9 .8 1.1 1.7 2.3 2.9 2.3s1.6-.7 3-.7 1.8.7 3 .7 2-1.1 2.8-2.2c.9-1.2 1.2-2.4 1.2-2.5s-2.4-.9-2.4-3.7zM14.1 5.9c.6-.8 1.1-1.9 1-3-1 0-2.2.6-2.9 1.5-.6.7-1.2 1.9-1 3 1.1.1 2.3-.6 2.9-1.5z'/%3E%3C/svg%3E");
}
.dl-tag {
  margin-left: auto;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
}
.dl-tag.ok { color: var(--done-ink); background: #e4f2ec; }
.dl-tag.soon { color: var(--spec); background: var(--accent-soft); }
.dl-req-card dl { margin: 0; }
.dl-req-card dl > div {
  display: flex;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.dl-req-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.dl-req-card dt { flex: none; width: 6.5em; color: var(--ink-3); }
.dl-req-card dd { margin: 0; flex: 1; color: var(--ink-2); }

/* FAQ 里的行内代码 */
.faq code {
  background: var(--bg-3);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .dl-why-grid { grid-template-columns: repeat(3, 1fr); }
  .dl-req-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .dl-steps-inner { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
  .dl-steps-head { position: sticky; top: 108px; }
}
@media (max-width: 719px) {
  .dl-hero { padding: 44px 0 68px; background: radial-gradient(460px 280px at 50% -6%, #fff2e2, transparent 70%), var(--bg); }
  .dl-hero::before { display: none; }
  .dl-card { padding: 24px 20px 22px; }
  .dl-card-actions { width: 100%; gap: 10px; }
  .dl-card-actions .btn { flex: 1; min-width: 0; padding-left: 12px; padding-right: 12px; }
  .dl-card-main { gap: 14px; }
  .dl-req-card { padding: 22px 20px; }
  .dl-req-card dl > div { flex-direction: column; gap: 2px; }
  .dl-req-card dt { width: auto; font-size: 13px; }
  .dl-step-list li { padding: 20px 18px; gap: 14px; }
}
