/* dsh-desktop 官网 v3 — DeepSeek 官网设计语言的社区版表达 */

:root {
  --bg: #f9f8f8;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-2: rgba(255, 255, 255, 0.46);
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(9, 45, 78, 0.2);
  --text: #1e232c;
  --text-bluish: #152443;
  --muted: rgba(0, 0, 0, 0.7);
  --faint: #687386;
  --signal: #4d6bfe;
  --signal-deep: #3a65c2;
  --signal-dim: rgba(77, 107, 254, 0.1);
  --signal-glow: rgba(77, 107, 254, 0.22);
  --ink: #1a1615;
  --amber: #a56711;
  --red: #b44235;
  --blue: #4176e6;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", sans-serif;
  --display: "Host Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 24px;
  --r-panel: 16px;
  --shadow-card: 0 0 0 1px #f1f5f9, 0 2px 4px rgba(0, 0, 0, 0.05), 0 12px 28px rgba(25, 42, 86, 0.08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 68px; }

body {
  font-family: var(--sans);
  background:
    radial-gradient(circle at 78% 7%, rgba(115, 163, 210, 0.22), transparent 31rem),
    radial-gradient(circle at 5% 31%, rgba(77, 107, 254, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--signal); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.25); }

code { font-family: var(--mono); font-size: 0.9em; background: var(--signal-dim); color: var(--signal-deep); padding: 0.1em 0.35em; border-radius: 5px; }

a { color: inherit; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-150%); padding: 9px 14px; border-radius: 6px;
  background: var(--signal); color: #fff; font: 700 12px var(--mono); text-decoration: none;
}
.skip-link:focus { transform: none; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ══ 入场 reveal(交错)══ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.56s var(--ease-reveal), transform 0.56s var(--ease-reveal);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__grid, .hero__monitor, .btn--glow { animation: none !important; }
}

/* ══ 顶栏 ══ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  background: rgba(249, 248, 248, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
  border-bottom: 1px solid var(--border);
}
.topbar__brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  text-decoration: none; letter-spacing: -0.01em;
}
.topbar__brand img { border-radius: 5px; display: block; }
.community-tag {
  display: inline-flex; align-items: center;
  min-height: 24px; padding: 2px 9px;
  color: var(--signal-deep); background: rgba(77, 107, 254, 0.08);
  border: 1px solid rgba(77, 107, 254, 0.18); border-radius: 100px;
  font: 600 10px/1.2 var(--sans); letter-spacing: 0.05em;
}
.topbar__nav { display: flex; gap: 2px; flex: 1; }
.topbar__nav a {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0;
  color: var(--faint); text-decoration: none;
  padding: 7px 12px; border-radius: 100px;
  transition: color 0.15s ease;
}
.topbar__nav a:hover { color: var(--signal-deep); background: rgba(255, 255, 255, 0.55); }
.topbar__right { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--muted); background: transparent;
  border: 1px solid var(--border); border-radius: 100px;
  padding: 5px 12px; cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lang-toggle:hover { color: var(--signal); border-color: var(--signal); }
.gh-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--faint); text-decoration: none;
  padding: 6px 11px; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--mono);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.gh-chip:hover { color: var(--text); border-color: var(--border-strong); background: rgba(255, 255, 255, 0.5); }

/* ══ 按钮 ══ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; text-decoration: none;
  letter-spacing: 0;
  padding: 13px 26px; border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--signal-deep); }
.btn--glow { animation: cta-breathe 3.4s ease-in-out infinite; }
@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77, 107, 254, 0); }
  50% { box-shadow: 0 0 0 7px rgba(77, 107, 254, 0.1); }
}
.btn--ghost { border-color: rgba(9, 45, 78, 0.18); color: var(--text-bluish); background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(12px); }
.btn--ghost:hover { border-color: rgba(9, 45, 78, 0.36); color: var(--signal-deep); background: rgba(255, 255, 255, 0.68); }
.btn--sm { padding: 8px 16px; font-size: 12px; }

/* ══ Hero ══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 138px 0 92px;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 107, 254, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 107, 254, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: grid-pan 38s linear infinite;
  mask-image: radial-gradient(90% 80% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(90% 80% at 50% 40%, #000 30%, transparent 100%);
}
@keyframes grid-pan { to { background-position: 72px 72px; } }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 68px;
  align-items: center;
  width: 100%;
}

.community-notice {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  width: fit-content; max-width: 100%; margin-bottom: 24px; padding: 8px 10px;
  background: rgba(255, 255, 255, 0.58); border: 1px solid rgba(77, 107, 254, 0.18);
  border-radius: 100px; box-shadow: 0 8px 24px rgba(25, 42, 86, 0.06);
  backdrop-filter: blur(12px);
  color: var(--muted); font-size: 11.5px;
}
.community-notice strong {
  padding: 4px 9px; border-radius: 100px; background: var(--signal); color: #fff;
  font-size: 10.5px; letter-spacing: 0.05em;
}
.community-notice a { color: var(--signal-deep); font-weight: 600; text-decoration: none; white-space: nowrap; }
.community-notice a:hover { text-decoration: underline; }
.kicker {
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--signal-deep);
  margin-bottom: 16px;
}
.headline {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.8vw, 4.15rem);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--text-bluish);
  margin-bottom: 22px;
}
.headline em {
  font-style: normal;
  color: var(--signal);
  text-shadow: none;
}
.subhead { font-size: 16px; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__meta {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--faint);
}

/* ══ 可信基线与工作方式 ══ */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.32); backdrop-filter: blur(12px); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-bottom: 0; }
.trust-strip__grid div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px 20px; border-left: 1px solid var(--border); }
.trust-strip__grid div:last-child { border-right: 1px solid var(--border); }
.trust-strip__grid b { font-family: var(--sans); color: var(--signal-deep); font-size: 10.5px; letter-spacing: 0.12em; }
.trust-strip__grid span { color: var(--muted); font-size: 12.5px; }
.sec-title--wide { max-width: 28ch; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--panel); box-shadow: var(--shadow-card); backdrop-filter: blur(12px); }
.workflow-grid article { min-height: 220px; padding: 28px 26px; }
.workflow-grid article + article { border-left: 1px solid var(--border); }
.workflow-grid article > span { display: block; margin-bottom: 44px; font-family: var(--mono); color: var(--signal); font-size: 12px; letter-spacing: 0.14em; }
.workflow-grid h3 { margin-bottom: 10px; font-size: 18px; }
.workflow-grid p { color: var(--muted); font-size: 14px; }
.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.boundary-grid article { padding: 26px; border: 1px solid var(--border); border-radius: var(--r-panel); background: var(--panel-2); backdrop-filter: blur(12px); }
.boundary-grid__eyebrow { margin-bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--signal); }
.boundary-grid ul { display: grid; gap: 9px; list-style: none; color: var(--muted); font-size: 14px; }
.boundary-grid li::before { content: "✓"; margin-right: 10px; color: var(--signal); font-family: var(--mono); }

/* 浮动监视器 */
.hero__monitor { position: relative; animation: float-y 7s ease-in-out infinite; }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 细节刻度保留工程属性,使用品牌蓝 */
.tick {
  position: absolute; width: 18px; height: 18px; z-index: 2;
  border: 0 solid var(--signal);
  opacity: 0.75;
}
.tick--tl { top: -9px; left: -9px; border-top-width: 1px; border-left-width: 1px; }
.tick--tr { top: -9px; right: -9px; border-top-width: 1px; border-right-width: 1px; }
.tick--bl { bottom: -9px; left: -9px; border-bottom-width: 1px; border-left-width: 1px; }
.tick--br { bottom: -9px; right: -9px; border-bottom-width: 1px; border-right-width: 1px; }

/* ══ 窗口 ══ */
.window {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 30px 80px rgba(25, 42, 86, 0.18),
    0 0 60px rgba(77, 107, 254, 0.08);
}
.window__titlebar {
  display: flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 14px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
  user-select: none;
}
.lights { display: flex; gap: 8px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; }
.lights .l1 { background: #ff6b61; }
.lights .l2 { background: #f6bd4f; }
.lights .l3 { background: #56c36f; }
.window__title {
  flex: 1; text-align: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  color: var(--faint); text-transform: uppercase;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.version-chip {
  font-family: var(--mono); font-size: 11px;
  color: var(--signal); text-decoration: none;
  border: 1px solid rgba(77, 107, 254, 0.28); border-radius: 999px;
  padding: 2px 10px; white-space: nowrap;
  transition: box-shadow 0.2s ease;
}
.version-chip:hover { box-shadow: 0 0 14px rgba(77, 107, 254, 0.22); }

/* Harness 终端界面 */
.harness {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  background: #101522;
  min-height: 330px;
}
.harness__scan {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
}
.harness__rail {
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  padding: 14px 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.harness__rail i {
  width: 20px; height: 20px; border-radius: 5px;
  background: #1a2234;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.harness__rail i:first-child { background: #6799fe; box-shadow: 0 0 12px rgba(103, 153, 254, 0.4); }
.harness__main { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.harness__header {
  font-family: var(--mono); font-size: 11px; color: #7e8aa0;
  letter-spacing: 0.16em;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 4px;
}
.harness__header span { color: #8db2ff; }
.msg { font-size: 13px; line-height: 1.55; max-width: 92%; }
.msg--user {
  align-self: flex-end;
  background: #1a2234; color: #e7ecf8;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 8px 12px; border-radius: 9px 9px 3px 9px;
}
.msg--agent { color: #c2cad9; }
.msg--agent b { color: #8db2ff; font-weight: 600; }
.msg--tool {
  font-family: var(--mono); font-size: 11.5px; color: #7e8aa0;
  padding-left: 12px; border-left: 2px solid rgba(255, 255, 255, 0.12);
}
.harness__input {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--mono);
}
.prompt { color: #8db2ff; font-size: 13px; }
.cursor {
  width: 8px; height: 15px; background: #8db2ff;
  box-shadow: 0 0 8px rgba(103, 153, 254, 0.6);
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ══ 区块骨架 ══ */
.section { padding: 84px 0 0; }
.sec-marker {
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--signal-deep); text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-title {
  font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -0.035em;
  color: var(--text-bluish);
  max-width: 18ch; margin-bottom: 18px;
}
.sec-lead { color: var(--muted); margin-bottom: 30px; max-width: 620px; font-size: 15px; }

/* ══ 面板 ══ */
.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.44);
}
.panel__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--faint);
}
.release-meta { font-family: var(--mono); font-size: 11.5px; color: var(--signal); letter-spacing: 0.04em; white-space: nowrap; }

/* ══ 下载矩阵 ══ */
.platform-group + .platform-group { border-top: 1px solid var(--border); }
.platform-group__head {
  display: flex; align-items: baseline; gap: 12px;
  padding: 20px 22px 4px;
}
.platform-group__head h3 { font-size: 16px; font-weight: 700; }
.platform-group__head span { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.03em; }
.asset-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: 16px;
  padding: 13px 22px;
}
.asset-row + .asset-row { border-top: 1px dashed var(--border); }
.asset-row__name {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.asset-row__meta {
  font-family: var(--mono); font-size: 11.5px; color: var(--faint);
  white-space: nowrap; text-align: right;
}
.asset-row__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.asset-row__checksum {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center; gap: 9px; margin-top: -5px;
  font-family: var(--mono); font-size: 10.5px; color: var(--faint);
}
.asset-row__checksum code { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.asset-row__checksum a { color: var(--signal); text-decoration: none; }
.asset-row__checksum a:hover { text-decoration: underline; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff;
  font-family: var(--mono); font-size: 12px; font-weight: 700; text-decoration: none;
  letter-spacing: 0.05em;
  padding: 8px 15px; border-radius: 100px;
  transition: background-color 0.15s ease, box-shadow 0.2s ease;
}
.dl-btn:hover { background: var(--signal-deep); box-shadow: 0 8px 22px rgba(58, 101, 194, 0.2); }
.dl-btn--alt { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.dl-btn--alt:hover { color: var(--signal-deep); border-color: var(--border-strong); box-shadow: none; background: rgba(255, 255, 255, 0.62); }
.platform-note { font-size: 12.5px; color: var(--faint); padding: 2px 22px 16px; }
.asset-fallback { padding: 26px 22px; color: var(--muted); }
.asset-fallback a { color: var(--signal); }

/* 命令行块 */
.cmdline {
  margin: 20px 22px 6px;
  display: flex; align-items: center; gap: 12px;
  background: #101522; border: 1px solid rgba(9, 45, 78, 0.18); border-radius: var(--r-panel);
  padding: 13px 16px;
}
.cmdline__prompt { color: var(--signal); font-family: var(--mono); font-size: 14px; }
.cmdline code {
  flex: 1; background: none; padding: 0;
  color: #c2cad9; font-size: 13.5px;
  overflow-x: auto; white-space: nowrap;
}
.copybtn {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: #8db2ff; background: none;
  border: 1px solid rgba(103, 153, 254, 0.3); border-radius: 100px;
  padding: 5px 12px; cursor: pointer; white-space: nowrap;
  transition: box-shadow 0.2s ease, color 0.15s ease;
}
.copybtn:hover { box-shadow: 0 0 12px rgba(103, 153, 254, 0.22); }
.copybtn.is-copied { color: var(--amber); border-color: var(--amber); box-shadow: none; }
.note { font-size: 13px; color: var(--faint); padding: 12px 22px 20px; }

/* ══ 可扫读能力矩阵 ══ */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-card); }
.feature-card { position: relative; min-height: 220px; padding: 30px 28px; background: var(--panel); }
.feature-card:nth-child(even) { border-left: 1px solid var(--border); }
.feature-card:nth-child(n + 3) { border-top: 1px solid var(--border); }
.feature-card::before { content: ""; position: absolute; top: 0; left: 28px; width: 42px; height: 2px; background: var(--signal); }
.feature-card h3 { max-width: 22ch; margin-bottom: 14px; font-size: 18px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ══ 版本号 ══ */
.version-display { padding: 8px 0 30px; overflow-x: auto; }
.version-display code {
  background: none; padding: 0;
  font-size: clamp(1.7rem, 5.2vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap;
}
.v-core { color: var(--signal); border-bottom: 4px solid var(--signal); padding-bottom: 2px; text-shadow: 0 0 24px rgba(77, 107, 254, 0.18); }
.v-sep { color: var(--faint); }
.v-shell { color: var(--text); border-bottom: 4px solid rgba(9, 45, 78, 0.24); padding-bottom: 2px; }
.version-legend { border-top: 1px solid var(--border); }
.legend-row {
  display: grid; grid-template-columns: 190px 1fr;
  gap: 22px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.legend-row p { color: var(--muted); font-size: 14.5px; }
.legend-row b { color: var(--text); }
.legend-chip { font-family: var(--mono); font-size: 14px; font-weight: 700; background: none; padding: 0; }
.legend-chip--core { color: var(--signal); }
.legend-chip--shell { color: var(--text); }

/* ══ FAQ ══ */
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  padding: 19px 4px; cursor: pointer;
  font-size: 15.5px; font-weight: 600;
  list-style: none; display: flex; gap: 12px;
  transition: color 0.15s ease;
}
.faq summary::before { content: "+"; color: var(--signal); flex-shrink: 0; font-family: var(--mono); }
.faq details[open] summary::before { content: "−"; }
.faq summary:hover { color: var(--signal); }
.faq details p { padding: 0 4px 22px 26px; color: var(--muted); max-width: 720px; font-size: 14.5px; }
.faq details a { color: var(--signal); }

/* ══ 页脚 ══ */
.footer {
  margin-top: 100px;
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  background: rgba(255, 255, 255, 0.34);
}
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 28px; }
.footer__brand { font-family: var(--display); font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.footer__legal strong { color: var(--signal-deep); }
.footer__legal, .footer__sync { font-size: 12.5px; color: var(--faint); line-height: 1.75; }
.footer__sync { text-align: right; }
.footer__sync span:last-child { font-family: var(--mono); font-size: 11px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__links a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--faint); text-decoration: none; width: fit-content;
  transition: color 0.15s ease;
}
.footer__links a:hover { color: var(--signal); }

/* ══ 响应式 ══ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 110px; min-height: 0; }
  .topbar { gap: 14px; }
  .topbar__nav { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__sync { text-align: left; }
  .legend-row { grid-template-columns: 1fr; gap: 6px; }
  .asset-row { grid-template-columns: 1fr; gap: 8px; }
  .asset-row__meta { text-align: left; }
  .release-meta { display: none; }
  .trust-strip__grid { grid-template-columns: 1fr 1fr; }
  .trust-strip__grid div:nth-child(3) { border-top: 1px solid var(--border); }
  .trust-strip__grid div:nth-child(4) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid article { min-height: 0; }
  .workflow-grid article + article { border-left: 0; border-top: 1px solid var(--border); }
  .workflow-grid article > span { margin-bottom: 20px; }
  .boundary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .topbar { padding: 0 16px; }
  .topbar__right { margin-left: auto; gap: 8px; }
  .gh-chip, .topbar .btn--sm { display: none; }
  .hero { padding-top: 96px; padding-bottom: 58px; }
  .hero__inner { gap: 38px; }
  .headline { font-size: 2.25rem; }
  .harness { grid-template-columns: 38px 1fr; min-height: 310px; }
  .harness__main { padding: 16px 14px; }
  .msg { font-size: 12px; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-strip__grid div { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .trust-strip__grid div:first-child { border-top: 0; }
  .section { padding-top: 68px; }
  .workflow-grid article, .boundary-grid article { padding: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 26px 22px; }
  .feature-card:nth-child(even) { border-left: 0; }
  .feature-card:nth-child(n + 2) { border-top: 1px solid var(--border); }
  .panel__head, .platform-group__head, .asset-row { padding-left: 16px; padding-right: 16px; }
  .asset-row__actions { flex-wrap: wrap; }
  .cmdline { margin-left: 16px; margin-right: 16px; }
}
