/* ============================================================================
   Vector 官网 · 下载页（Download/index.html）
   复用 css/home.css 的 tokens / 按钮 / 导航 / 页脚与装饰层，仅写下载页版式。
   设计方向：Editorial × Cinematic Console —— 浅色纸感 / 深色控制台，绿色强调。
   ========================================================================== */

/* ---------------------------- Hero ---------------------------- */
.dl-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(2.6rem, 6.4vw, 5.4rem)) 1.25rem 0;
  background:
    radial-gradient(1200px 560px at 82% -12%, var(--accent-soft), transparent 62%),
    radial-gradient(900px 520px at 4% 108%, var(--accent-soft), transparent 62%),
    var(--bg);
}
body:not(.light) .dl-hero {
  background:
    radial-gradient(1100px 560px at 82% -10%, rgba(34, 245, 163, 0.10), transparent 60%),
    radial-gradient(820px 480px at 2% 106%, rgba(16, 185, 129, 0.07), transparent 62%),
    var(--bg);
}
.dl-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.dl-hero-bg .hero-glow { top: 54%; left: 82%; }
.dl-hero-inner {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 4.5vw, 4.4rem); align-items: center;
  padding-bottom: clamp(2.6rem, 5.4vw, 4.4rem);
}
.dl-hero-copy { min-width: 0; }
.dl-title {
  margin-top: 0.4rem;
  font-size: clamp(2.55rem, 5.4vw, 4.45rem);
  line-height: 1.03; letter-spacing: -0.052em; font-weight: 800; color: var(--ink);
}
.dl-lede {
  margin-top: 1.55rem; max-width: 33rem;
  color: var(--muted); font-size: 1.02rem; line-height: 1.95;
}
.dl-actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.7rem; margin-top: 2.1rem;
}
.dl-main-btn svg { transition: transform 0.3s var(--ease); }
.dl-main-btn:hover svg { transform: translateY(3px); }
.dl-meta {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: clamp(1.4rem, 3.6vw, 2.9rem);
  margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: var(--hair);
  list-style: none;
}
.dl-meta li { display: flex; flex-direction: column; gap: 0.22rem; }
.dl-meta b {
  font-family: var(--mono); font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  font-weight: 700; letter-spacing: 0.01em; color: var(--ink);
}
.dl-meta span {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.dl-hint {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 1.1rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.03em;
  color: var(--muted);
}
.dl-hint-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
  animation: dlPulse 2.4s ease-in-out infinite;
}
@keyframes dlPulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); opacity: 0.85; }
  50% { box-shadow: 0 0 0 6px transparent; opacity: 1; }
}

/* ---------------- 安装包信息卡（深色终端质感） ---------------- */
.dl-release {
  position: relative; justify-self: center; width: 100%; max-width: 470px;
  display: flex; flex-direction: column;
  background: #07110d;
  border: 1px solid rgba(34, 245, 163, 0.16);
  border-radius: 22px;
  box-shadow: 0 46px 120px -46px rgba(2, 24, 16, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  color: #dff7ec;
  font-family: var(--mono);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.dl-release::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 240px at 88% -10%, rgba(34, 245, 163, 0.15), transparent 70%);
}
.dl-release:hover { transform: translateY(-3px); border-color: rgba(34, 245, 163, 0.34); }
.dl-release.is-downloading { border-color: rgba(34, 245, 163, 0.5); }
.dlr-head {
  position: relative; display: flex; align-items: center; gap: 0.65rem;
  padding: 0.8rem 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.62rem; letter-spacing: 0.06em; color: #7c9b8e;
}
.dlr-dots { display: inline-flex; gap: 5px; }
.dlr-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.dlr-window { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dlr-state {
  padding: 0.18rem 0.5rem; border-radius: 999px;
  border: 1px solid rgba(34, 245, 163, 0.34);
  color: #22f5a3; font-size: 0.55rem; letter-spacing: 0.12em;
}
.dlr-body { position: relative; padding: 1.1rem 1.05rem 0; }
.dlr-file {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}
.dlr-file-badge {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #22f5a3, #0fae7c);
  color: #03140d; font-weight: 800; font-size: 0.66rem; letter-spacing: 0.02em;
}
.dlr-file-meta { min-width: 0; display: flex; flex-direction: column; gap: 0.14rem; }
.dlr-file-meta strong { color: #eaf8f1; font-size: 0.94rem; font-weight: 700; letter-spacing: 0; }
.dlr-file-meta span { font-size: 0.6rem; color: #7c9b8e; letter-spacing: 0.04em; }
.dlr-file-size { margin-left: auto; flex-shrink: 0; font-size: 0.66rem; color: #22f5a3; }
.dlr-spec {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.62rem 1rem; margin: 0.95rem 0 0; padding: 0;
}
.dlr-spec div { display: flex; flex-direction: column; gap: 0.16rem; }
.dlr-spec dt { font-size: 0.58rem; letter-spacing: 0.1em; color: #6d8b7e; text-transform: uppercase; }
.dlr-spec dd { margin: 0; font-size: 0.7rem; color: #d9f5e8; }
.dlr-spec dd i { font-style: normal; margin-left: 0.28rem; font-size: 0.56rem; color: #22f5a3; }
.dlr-hash {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.95rem; padding: 0.5rem 0.65rem;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font-size: 0.6rem; color: #7c9b8e;
}
.dlr-hash-key { flex-shrink: 0; letter-spacing: 0.08em; }
.dlr-hash code {
  min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: #22f5a3; font-family: var(--mono);
}
.dlr-copy {
  margin-left: auto; flex-shrink: 0; cursor: pointer;
  padding: 0.16rem 0.45rem; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent; color: #9fc9b6;
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.06em;
  transition: color 0.25s, border-color 0.25s;
}
.dlr-copy:hover { color: #22f5a3; border-color: rgba(34, 245, 163, 0.5); }
.dlr-copy.is-done { color: #03140d; background: #22f5a3; border-color: transparent; }
.dlr-foot { position: relative; padding: 1rem 1.05rem 1.05rem; }
.dlr-download {
  position: relative;
  display: flex; flex-direction: column; gap: 0.16rem;
  padding: 0.8rem 3rem 0.8rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #22f5a3, #16d695);
  color: #03140d; text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.dlr-download:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(34, 245, 163, 0.65); }
.dlr-download-main { font-family: var(--sans); font-size: 1rem; font-weight: 750; letter-spacing: -0.01em; }
.dlr-download-main span {
  margin-left: 0.4rem; font-family: var(--mono); font-size: 0.64rem;
  font-weight: 500; opacity: 0.72; letter-spacing: 0.02em;
}
.dlr-download-note { font-size: 0.58rem; letter-spacing: 0.04em; opacity: 0.7; }
.dlr-download svg { position: absolute; right: 1rem; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); }
.dlr-progress {
  height: 3px; margin-top: 0.8rem; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0; transition: opacity 0.3s;
}
.dlr-progress.is-on { opacity: 1; }
.dlr-progress i {
  display: block; height: 100%; width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22f5a3, #8af5c9, #22f5a3);
  animation: dlrRun 1.15s linear infinite;
}
@keyframes dlrRun { from { transform: translateX(-110%); } to { transform: translateX(320%); } }
.dlr-note {
  margin-top: 0.7rem; min-height: 2.4em;
  font-size: 0.58rem; line-height: 1.7; letter-spacing: 0.01em; color: #6d8b7e;
}

/* ---------------- 版本亮点条 ---------------- */
.dl-strip {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.7rem 1.7rem;
  padding: 0.95rem 0 1.05rem;
  border-top: var(--hair);
  list-style: none;
  font-size: 0.76rem; color: var(--muted);
}
.dl-strip li { display: flex; align-items: center; gap: 0.5rem; }
.dl-strip-tag {
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.1em;
  color: var(--accent); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.12rem 0.42rem;
}
.dl-strip-link { margin-left: auto; }
.dl-strip-link a {
  color: var(--accent); text-decoration: none; font-family: var(--mono);
  font-size: 0.68rem; letter-spacing: 0.02em;
}
.dl-strip-link a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------- 通用节段 ---------------------------- */
.dl-platforms { padding-top: clamp(3.6rem, 7vw, 6rem); }
.dl-plat-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.dl-plat {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: clamp(1.35rem, 2.3vw, 1.85rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.dl-plat:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--card-hover); }
.dl-plat.is-primary { background: var(--card-solid); border-color: var(--line-strong); }
.dl-plat.is-primary::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px 200px at 90% -10%, var(--accent-soft), transparent 72%);
}
.dl-plat-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.dl-plat-os {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.dl-plat-pill {
  font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.08em;
  padding: 0.16rem 0.48rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.dl-plat-pill.is-muted { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.dl-plat h3 { font-size: clamp(1.14rem, 1.7vw, 1.34rem); letter-spacing: -0.02em; color: var(--ink); }
.dl-plat-ver { font-family: var(--mono); font-size: 0.66rem; color: var(--accent); letter-spacing: 0.02em; }
.dl-plat-desc { flex: 1; color: var(--muted); font-size: 0.85rem; line-height: 1.82; }
.dl-plat-link {
  margin-top: 0.7rem;
  display: inline-flex; align-items: center; gap: 0.34rem;
  color: var(--accent); font-size: 0.79rem; font-weight: 600; text-decoration: none;
}
.dl-plat-link span { transition: transform 0.3s var(--ease); }
.dl-plat-link:hover span { transform: translateX(4px); }

/* ---------------------------- 安装步骤 ---------------------------- */
.dl-steps { background: var(--bg-soft); border-top: var(--hair); border-bottom: var(--hair); }
.dl-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dl-step {
  display: flex; flex-direction: column;
  padding: clamp(1.35rem, 2.3vw, 1.8rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.dl-step:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--card-hover); }
.dl-step-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.dl-step-num {
  font-family: var(--mono); font-size: 1.02rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.02em;
}
.dl-step-time { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.dl-step h3 { margin-top: 0.85rem; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--ink); }
.dl-step p { margin-top: 0.4rem; color: var(--muted); font-size: 0.85rem; line-height: 1.8; }
.dl-cmd {
  display: flex; align-items: flex-start; gap: 0.55rem;
  margin-top: auto; padding: 0.7rem 0.75rem;
  background: var(--code-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
.dl-step p + .dl-cmd { margin-top: 1.1rem; }
.dl-cmd-body {
  min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 0.16rem;
  font-family: var(--mono); font-size: 0.68rem; line-height: 1.65;
  overflow-x: auto;
}
.c-com { color: #5f7a6e; }
.c-line { color: #bdf7dd; word-break: break-all; }
.dl-cmd-copy {
  flex-shrink: 0; cursor: pointer;
  padding: 0.2rem 0.5rem; border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent; color: #9fc9b6;
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.05em;
  transition: color 0.25s, border-color 0.25s;
}
.dl-cmd-copy:hover { color: #22f5a3; border-color: rgba(34, 245, 163, 0.5); }
.dl-cmd-copy.is-done { background: #22f5a3; color: #03140d; border-color: transparent; }

/* ---------------------------- 安装包里有什么（bento） ---------------------------- */
.dl-bento {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.dl-bcard {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: clamp(1.35rem, 2.3vw, 1.85rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.dl-bcard:hover { border-color: var(--line-strong); background: var(--card-hover); transform: translateY(-3px); }
.dl-bcard-wide { grid-column: span 2; }
.dl-bcard-label { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.18em; color: var(--accent); }
.dl-bcard h3 { font-size: 1.12rem; letter-spacing: -0.015em; color: var(--ink); }
.dl-bcard p { color: var(--muted); font-size: 0.85rem; line-height: 1.82; }
.dl-chips { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-top: auto; padding-top: 0.9rem; }
.dl-chips span {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.02em;
  padding: 0.22rem 0.55rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--ink-2);
}
.dl-bcard-list { list-style: none; display: flex; flex-direction: column; gap: 0.34rem; margin: 0.35rem 0 0; }
.dl-bcard-list li {
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2);
  display: flex; align-items: center; gap: 0.45rem;
}
.dl-bcard-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.dl-tree { display: flex; flex-direction: column; gap: 0.36rem; margin-top: 0.3rem; }
.dl-tree span {
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem;
  padding-bottom: 0.34rem; border-bottom: 1px dashed var(--line);
  font-family: var(--mono); font-size: 0.7rem;
}
.dl-tree span:last-child { border-bottom: 0; }
.dl-tree i { font-style: normal; color: var(--ink-2); }
.dl-tree em { font-style: normal; font-size: 0.6rem; color: var(--muted); letter-spacing: 0.06em; }
.dl-update-track {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: auto; padding-top: 0.9rem;
  font-family: var(--mono); font-size: 0.66rem; color: var(--muted);
}
.dl-update-track i { flex: 1; height: 1px; background: var(--line-strong); position: relative; }
.dl-update-track i::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.dl-update-track .is-on { color: var(--accent); font-weight: 700; }

/* ---------------------------- 运行环境 ---------------------------- */
.dl-req { background: var(--bg-soft); border-top: var(--hair); border-bottom: var(--hair); }
.dl-req-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start;
}
.dl-req-table {
  margin: 0; padding: 0.25rem clamp(1.2rem, 2.2vw, 1.8rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.dl-req-table div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem; padding: 0.98rem 0;
  border-bottom: var(--hair);
}
.dl-req-table div:last-child { border-bottom: 0; }
.dl-req-table dt {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); padding-top: 0.14rem;
}
.dl-req-table dd { margin: 0; color: var(--ink-2); font-size: 0.86rem; line-height: 1.72; }
.dl-req-note {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.dl-req-note::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(340px 200px at 92% -8%, var(--accent-soft), transparent 72%);
}
.dl-req-note h3 { position: relative; font-size: 1.16rem; letter-spacing: -0.015em; color: var(--ink); }
.dl-req-list {
  position: relative; list-style: none; counter-reset: req;
  display: flex; flex-direction: column; gap: 0.85rem; margin: 0.2rem 0 0; padding: 0;
}
.dl-req-list li { counter-increment: req; position: relative; padding-left: 1.9rem; }
.dl-req-list li::before {
  content: counter(req, decimal-leading-zero);
  position: absolute; left: 0; top: 0.12rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; color: var(--accent);
}
.dl-req-list b { display: block; font-size: 0.86rem; font-weight: 650; color: var(--ink); }
.dl-req-list span { display: block; margin-top: 0.16rem; font-size: 0.78rem; line-height: 1.72; color: var(--muted); }
.dl-req-link {
  position: relative; margin-top: auto; padding-top: 0.6rem;
  color: var(--accent); font-size: 0.78rem; font-weight: 600; text-decoration: none;
}
.dl-req-link span { display: inline-block; transition: transform 0.3s var(--ease); }
.dl-req-link:hover span { transform: translateX(4px); }

/* ---------------------------- 更新日志 ---------------------------- */
.dl-log-list { display: flex; flex-direction: column; gap: 0.9rem; }
.dl-log-item {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: clamp(1rem, 2.6vw, 2.2rem);
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.3s, background 0.3s;
}
.dl-log-item:hover { border-color: var(--line-strong); background: var(--card-hover); }
.dl-log-item.is-latest { border-color: var(--line-strong); background: var(--card-solid); }
.dl-log-item.is-latest::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(460px 220px at 0% 0%, var(--accent-soft), transparent 70%);
}
.dl-log-side { position: relative; display: flex; flex-direction: column; gap: 0.28rem; }
.dl-log-ver { font-family: var(--mono); font-size: 0.94rem; font-weight: 700; color: var(--accent); }
.dl-log-date { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--muted); }
.dl-log-body { position: relative; min-width: 0; }
.dl-log-badge {
  display: inline-block; margin-bottom: 0.55rem;
  padding: 0.16rem 0.5rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.12em;
}
.dl-log-body h3 { font-size: 1.04rem; letter-spacing: -0.01em; color: var(--ink); }
.dl-log-body ul { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.dl-log-body li { color: var(--muted); font-size: 0.85rem; line-height: 1.85; margin-bottom: 0.3rem; }
.dl-log-body li:last-child { margin-bottom: 0; }
.dl-log-body code {
  font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2);
  background: var(--accent-soft); border-radius: 4px; padding: 0.04rem 0.3rem;
}
.dl-log-more { margin-top: 1.5rem; }
.dl-log-more a { color: var(--accent); font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.dl-log-more a span { display: inline-block; transition: transform 0.3s var(--ease); }
.dl-log-more a:hover span { transform: translateX(4px); }

/* ---------------------------- FAQ ---------------------------- */
.dl-faq-list { max-width: 58rem; border-top: var(--hair); }
.dl-faq-item { border-bottom: var(--hair); }
.dl-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.1rem 0.15rem;
  cursor: pointer; list-style: none;
  font-size: 0.98rem; font-weight: 600; color: var(--ink);
  transition: color 0.25s;
}
.dl-faq-item summary::-webkit-details-marker { display: none; }
.dl-faq-item summary:hover { color: var(--accent); }
.dl-faq-item summary i { position: relative; width: 13px; height: 13px; flex-shrink: 0; }
.dl-faq-item summary i::before,
.dl-faq-item summary i::after {
  content: ""; position: absolute; background: var(--muted); border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.25s;
}
.dl-faq-item summary i::before { left: 0; top: 6px; width: 13px; height: 1.5px; }
.dl-faq-item summary i::after { left: 6px; top: 0; width: 1.5px; height: 13px; }
.dl-faq-item[open] summary { color: var(--accent); }
.dl-faq-item[open] summary i::after { transform: scaleY(0); }
.dl-faq-item[open] summary i::before { background: var(--accent); }
.dl-faq-body { padding: 0 0.15rem 1.2rem; }
.dl-faq-body p { color: var(--muted); font-size: 0.87rem; line-height: 1.9; max-width: 52rem; }
.dl-faq-body code {
  font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2);
  background: var(--accent-soft); border-radius: 4px; padding: 0.04rem 0.3rem;
}
.dl-faq-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* 下载页的 CTA 与首页保持一致，仅微调间距 */
.dl-log + .section-cta { padding-top: clamp(2rem, 4vw, 3rem); }

/* ---------------------------- 响应式 ---------------------------- */
@media (max-width: 1180px) {
  .dl-plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-step-grid { gap: 0.85rem; }
  .dl-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-bcard-wide { grid-column: span 2; }
}
@media (max-width: 1080px) {
  .dl-hero-inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 2rem; }
  .dl-release { max-width: 430px; }
  .dl-bcard-wide { grid-column: span 2; }
}
@media (max-width: 960px) {
  .dl-hero-inner { grid-template-columns: 1fr; gap: clamp(2.2rem, 5vw, 3rem); }
  .dl-hero-copy { max-width: 40rem; }
  .dl-release { justify-self: start; max-width: 560px; }
  .dl-lede { max-width: 38rem; }
  .dl-step-grid { grid-template-columns: 1fr; }
  .dl-cmd { margin-top: 1rem; }
  .dl-req-grid { grid-template-columns: 1fr; }
  .dl-log-item { grid-template-columns: 1fr; gap: 0.9rem; }
  .dl-log-side { flex-direction: row; align-items: baseline; gap: 0.8rem; }
  .dl-log-item.is-latest::before { border-radius: var(--r-lg); }
}
@media (max-width: 720px) {
  .dl-hero { padding-top: calc(var(--nav-h) + 2.1rem); }
  .dl-hero-inner { padding-bottom: 2rem; }
  .dl-title { font-size: clamp(2.15rem, 9.2vw, 2.9rem); }
  .dl-lede { font-size: 0.94rem; }
  .dl-actions { gap: 0.6rem; }
  .dl-actions .btn { flex: 1 1 auto; justify-content: center; }
  .dl-actions .btn-quiet { flex: 1 1 100%; justify-content: center; padding: 0.45rem 0 0; color: var(--muted); font-size: 0.86rem; }
  .dl-meta { gap: 1.3rem 1.9rem; }
  .dl-meta b { font-size: 0.95rem; }
  .dl-strip { flex-direction: column; align-items: flex-start; gap: 0.55rem; font-size: 0.74rem; padding: 0.95rem 1.35rem 1.1rem; }
  .dl-strip li { width: 100%; align-items: flex-start; }
  .dl-strip li > :last-child { flex: 1 1 auto; }
  .dl-strip-link { margin-left: 0; padding-top: 0.15rem; }
  .dl-plat-grid { grid-template-columns: 1fr; }
  .dl-bento { grid-template-columns: 1fr; }
  .dl-bcard-wide { grid-column: span 1; }
  .dl-req-table { padding: 0.2rem 1.1rem; }
  .dl-req-table div { grid-template-columns: 5.6rem minmax(0, 1fr); gap: 0.8rem; }
  .dl-req-table dd { font-size: 0.82rem; }
  .dl-log-item { padding: 1.15rem 1.15rem; }
  .dl-log-body li { font-size: 0.82rem; }
  .dl-faq-item summary { font-size: 0.93rem; padding: 1rem 0.1rem; }
  .dlr-spec { gap: 0.55rem 0.85rem; }
  .dlr-download { padding-right: 2.8rem; }
}
@media (max-width: 420px) {
  .dlr-file-size { display: none; }
  .dlr-hash code { font-size: 0.56rem; }
  .dl-meta { gap: 1.1rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-hint-dot, .dlr-progress i { animation: none; }
  .dl-release:hover, .dl-plat:hover, .dl-step:hover, .dl-bcard:hover { transform: none; }
}
