/* ============================================================================
   Aeli for Wardogs — landing page
   设计 DNA：深空科技 + 产品自带品牌色（#5b8cff → #8f6bff → #ff7ac6）
   间距：8pt 网格 · 圆角：16 / 12 / 999 · 动效：Material emphasized + Apple spring
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* surfaces */
  --bg:        #0b0d11;
  --bg-2:      #0f1115;
  --surface:   #14171d;
  --surface-2: #191d24;
  --surface-3: #1f242c;
  --line:      #242a33;
  --line-2:    #333b47;

  /* text */
  --text:      #e9eaee;
  --text-2:    #a8b0bd;
  --text-3:    #7d8593;

  /* brand */
  --brand:     #5b8cff;
  --brand-2:   #8f6bff;
  --accent:    #ff7ac6;
  --ok:        #4ec97a;
  --warn:      #e0b341;

  /* type */
  --font-display: 'Space Grotesk', 'Inter', 'Segoe UI', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;

  --fs-display: clamp(1.95rem, 3.05vw, 2.95rem);
  --fs-h2:      clamp(1.6rem, 3.1vw, 2.5rem);
  --fs-h3:      1.125rem;
  --fs-body:    1rem;
  --fs-sm:      0.875rem;
  --fs-xs:      0.75rem;

  /* shape */
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* motion */
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --d-fast: 150ms;
  --d-mid: 260ms;
  --d-slow: 480ms;

  --shadow-1: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -12px rgb(0 0 0 / .6);
  --shadow-2: 0 2px 6px rgb(0 0 0 / .35), 0 26px 60px -22px rgb(0 0 0 / .75);
  --shadow-brand: 0 18px 46px -18px rgb(91 140 255 / .55);

  --container: 1140px;
  --nav-h: 66px;
}

/* -------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

code, pre {
  font-family: var(--font-mono);
  font-size: .875em;
  color: #cdd6e5;
}
p code, li code, td code {
  background: rgb(91 140 255 / .1);
  border: 1px solid rgb(91 140 255 / .18);
  border-radius: 6px;
  padding: .1em .4em;
  white-space: nowrap;
}

kbd {
  font-family: var(--font-mono);
  font-size: .8em;
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: .12em .45em;
  white-space: nowrap;
}

::selection { background: rgb(143 107 255 / .38); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 10px 18px;
  background: var(--brand);
  color: #08101f;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top var(--d-fast) var(--ease-out);
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container-narrow { max-width: 820px; }

/* --------------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(11 13 17 / .72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-mid) var(--ease-out), background var(--d-mid) var(--ease-out);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgb(11 13 17 / .88);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  height: var(--nav-h);
  padding-inline: clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #171b22, #101319);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark.small { width: 30px; height: 30px; border-radius: 10px; }
.brand-mark.small svg { width: 19px; height: 19px; }
.brand-text { display: flex; align-items: baseline; gap: 8px; }
.brand-text b { font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: -.01em; }
.brand-text i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--text-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: .1em .5em;
}

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--text-2);
  transition: color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--text); background: rgb(255 255 255 / .04); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.nav-progress {
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent));
  transition: width 80ms linear;
}

/* ------------------------------------------------------------------ button */
.btn {
  --btn-h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--btn-h);
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #0a1120;
  background: linear-gradient(135deg, #7ea6ff, #6f8dff 42%, #a78bff);
  box-shadow: var(--shadow-brand);
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease-spring), filter var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); filter: brightness(.96); }

.btn-ghost {
  color: var(--text);
  background: rgb(255 255 255 / .03);
  border-color: var(--line-2);
  box-shadow: none;
}
.btn-ghost:hover { background: rgb(255 255 255 / .06); border-color: #46505f; filter: none; }

.btn-sm { --btn-h: 36px; padding-inline: 14px; font-size: var(--fs-sm); border-radius: 9px; }
.btn-lg { --btn-h: 52px; padding-inline: 28px; font-size: 1rem; }
.btn-mini {
  --btn-h: 28px;
  padding-inline: 10px;
  font-size: var(--fs-xs);
  color: var(--text-2);
  background: var(--surface-3);
  border-color: var(--line-2);
  box-shadow: none;
  gap: 6px;
}
.btn-mini svg { width: 13px; height: 13px; }
.btn-mini:hover { color: var(--text); filter: none; background: #262c35; }

/* -------------------------------------------------------------------- chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: rgb(255 255 255 / .03);
  font-size: var(--fs-xs);
  color: var(--text-2);
  letter-spacing: .02em;
}
.chip .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgb(78 201 122 / .16);
}
.chip-sm {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgb(91 140 255 / .1);
  border: 1px solid rgb(91 140 255 / .22);
  color: #b9cdfd;
  font-size: var(--fs-xs);
}
.tag {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: #ffd9a1;
  background: rgb(224 179 65 / .12);
  border: 1px solid rgb(224 179 65 / .3);
  border-radius: var(--r-pill);
  padding: .1em .55em;
  vertical-align: middle;
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(46% 52% at 22% 18%, rgb(91 140 255 / .28), transparent 70%),
    radial-gradient(40% 46% at 74% 8%, rgb(143 107 255 / .22), transparent 72%),
    radial-gradient(30% 34% at 58% 38%, rgb(255 122 198 / .12), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 22px; }

.hero-copy h1 {
  font-size: var(--fs-display);
  letter-spacing: -.03em;
  line-height: 1.14;
  word-spacing: -.04em;
}
.hero-copy h1 .w { white-space: nowrap; }
/* 分隔点跟着前一个短语走，换行时不会单独掉到行首 */
.hero-copy h1 .w i {
  font-style: normal;
  margin-left: .12em;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 46ch;
  color: var(--text-2);
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
}
.hero-lead b { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.hero-meta > div { padding-top: 12px; }
.hero-meta dt { font-size: var(--fs-xs); color: var(--text-3); letter-spacing: .04em; }
.hero-meta dd { font-family: var(--font-mono); font-size: .8125rem; color: var(--text); }

/* 截图卡片 */
.hero-visual { position: relative; }
.shot {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: var(--shadow-2), 0 0 0 1px rgb(255 255 255 / .03) inset;
  transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform var(--d-slow) var(--ease-out);
}
.shot:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(0deg); }
.shot-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding-inline: 12px;
  background: linear-gradient(180deg, #191d24, #15181e);
  border-bottom: 1px solid var(--line);
}
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2c333d; }
.dots i:first-child { background: #3a4150; }
.shot-title { font-size: var(--fs-xs); color: var(--text-3); }
.shot-pill {
  margin-left: auto;
  font-size: .625rem;
  color: #9fe8bc;
  background: rgb(78 201 122 / .12);
  border: 1px solid rgb(78 201 122 / .3);
  border-radius: var(--r-pill);
  padding: .15em .6em;
}
.shot img { width: 100%; display: block; filter: saturate(1.06) brightness(1.04) contrast(1.02); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgb(20 23 29 / .92);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(10px);
  animation: floaty 7s var(--ease-standard) infinite;
}
.float-card svg { width: 20px; height: 20px; flex: 0 0 auto; }
.float-card b { display: block; font-family: var(--font-display); font-size: .875rem; letter-spacing: -.01em; }
.float-card span { display: block; font-size: .6875rem; color: var(--text-3); line-height: 1.3; }
.fc-1 { left: -30px; top: -16px; }
.fc-2 { right: -22px; bottom: 30%; animation-delay: -2.4s; }
.fc-3 { left: -34px; bottom: -22px; animation-delay: -4.1s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ----------------------------------------------------------------- section */
.section {
  position: relative;
  padding-block: clamp(60px, 8vw, 116px);
}
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgb(255 255 255 / .012) 20%, rgb(255 255 255 / .012) 80%, transparent);
  border-block: 1px solid var(--line);
}
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.section-head h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
.section-head p { color: var(--text-2); }
.section-head b { color: var(--text); font-weight: 600; }

/* -------------------------------------------------------------------- card */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 26px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  transition: border-color var(--d-mid) var(--ease-out), transform var(--d-mid) var(--ease-out), box-shadow var(--d-mid) var(--ease-out);
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.card-title {
  font-size: var(--fs-h3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.grid { display: grid; gap: clamp(14px, 1.8vw, 20px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }


.feature { display: flex; flex-direction: column; gap: 12px; }
.feature h3 { font-size: var(--fs-h3); }
.feature p { color: var(--text-2); font-size: .9375rem; }

.feature.is-highlight {
  background:
    radial-gradient(120% 130% at 100% 0%, rgb(224 179 65 / .1), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border-color: rgb(224 179 65 / .22);
}
.feature.is-highlight:hover { border-color: rgb(224 179 65 / .38); }

.ic {
  --ic: var(--brand);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--ic);
  background: color-mix(in oklab, var(--ic) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--ic) 26%, transparent);
}
.ic svg { width: 22px; height: 22px; }

.ticks { display: flex; flex-direction: column; gap: 7px; margin-top: auto; padding-top: 4px; }
.ticks li {
  position: relative;
  padding-left: 20px;
  font-size: .875rem;
  color: var(--text-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: .55em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  transform: rotate(45deg);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ----------------------------------------------------------------- install */
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}
.req-list { display: flex; flex-direction: column; }
.req-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .9375rem;
}
.req-list li:last-child { border-bottom: 0; }
.req-list span { color: var(--text-3); }
.req-list b { font-weight: 600; text-align: right; }
.req-note { margin-top: 14px; font-size: var(--fs-sm); color: var(--text-3); }

.steps { display: flex; flex-direction: column; gap: 8px; }
.steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 22px;
  background: rgb(255 255 255 / .015);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--d-mid) var(--ease-out), background var(--d-mid) var(--ease-out);
}
.steps li:hover { border-color: var(--line-2); background: rgb(255 255 255 / .03); }
.steps h3 { font-size: 1rem; margin-bottom: 6px; }
.steps p { color: var(--text-2); font-size: .9375rem; }
.steps b { color: var(--text); font-weight: 600; }
.num {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--brand);
  background: rgb(91 140 255 / .1);
  border: 1px solid rgb(91 140 255 / .22);
  border-radius: var(--r-sm);
  height: 32px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: clamp(20px, 3vw, 32px);
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgb(224 179 65 / .28);
  background: rgb(224 179 65 / .07);
  color: #f0dfae;
  font-size: .9375rem;
}
.callout svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; color: var(--warn); }
.callout b { color: #ffe9b8; }

/* -------------------------------------------------------------------- tabs */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.tab:hover { color: var(--text); background: rgb(255 255 255 / .04); }
.tab.is-active {
  color: #0a1120;
  background: linear-gradient(135deg, #7ea6ff, #a78bff);
  box-shadow: 0 8px 20px -12px rgb(91 140 255 / .9);
}

.tab-panels { position: relative; }
.panel {
  display: none;
  margin: 0;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: center;
}
.panel.is-active { display: grid; animation: fadeUp var(--d-mid) var(--ease-out) both; }
.panel img {
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-1);
}
.panel figcaption h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.panel figcaption p { color: var(--text-2); font-size: .9375rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.usage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  margin-top: clamp(24px, 3.4vw, 40px);
  align-items: start;
}
.stack { display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 26px); }

.keys { width: 100%; border-collapse: collapse; }
.keys td {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .875rem;
  color: var(--text-2);
}
.keys tr:last-child td { border-bottom: 0; }
.keys td:first-child { width: 92px; }

/* ---------------------------------------------------------------- download */
.dl-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(120% 120% at 0% 0%, rgb(91 140 255 / .12), transparent 55%),
    radial-gradient(90% 100% at 100% 0%, rgb(255 122 198 / .08), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-2);
}
.dl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.dl-badge {
  font-size: var(--fs-xs);
  color: #0a1120;
  background: linear-gradient(135deg, #8fe0ae, #4ec97a);
  border-radius: var(--r-pill);
  padding: .2em .7em;
  font-weight: 600;
}
.dl-ver { font-family: var(--font-mono); font-size: .9375rem; color: var(--text); }

.dl-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 20px; }
.dl-meta dt { font-size: var(--fs-xs); color: var(--text-3); }
.dl-meta dd { font-family: var(--font-mono); font-size: .875rem; }

.dl-hash {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgb(0 0 0 / .25);
  margin-bottom: 24px;
}
.dl-hash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dl-hash-label {
  font-size: var(--fs-xs);
  letter-spacing: .08em;
  color: var(--text-3);
}
.dl-hash code {
  display: block;
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: .02em;
  color: #9fb2d0;
  word-break: break-all;
}

.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-hint { margin-top: 14px; font-size: var(--fs-sm); color: var(--text-3); }

.dl-side {
  padding-left: clamp(0px, 2vw, 32px);
  border-left: 1px solid var(--line);
}
.file-list { display: flex; flex-direction: column; gap: 9px; }
.file-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .8125rem;
}
.fi {
  font-size: .625rem;
  letter-spacing: .06em;
  text-align: center;
  color: var(--text-3);
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 0;
}
.file-list em { font-style: normal; font-family: var(--font-body); font-size: .75rem; color: var(--text-3); }

.verify { margin-top: 22px; }
.verify h4 { font-size: var(--fs-sm); color: var(--text-2); margin-bottom: 8px; font-weight: 500; }
.verify pre {
  margin: 0;
  padding: 12px;
  font-size: 11.5px;
  letter-spacing: -.01em;
  border-radius: var(--r-sm);
  background: rgb(0 0 0 / .28);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: break-all;
}

/* --------------------------------------------------------------------- faq */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 4px 18px;
  transition: border-color var(--d-mid) var(--ease-out), background var(--d-mid) var(--ease-out);
}
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { background: var(--surface-2); border-color: var(--line-2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--text-3);
  transition: transform var(--d-mid) var(--ease-spring), color var(--d-fast) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--brand); }
.faq details p {
  padding: 0 0 16px;
  margin: 0;
  color: var(--text-2);
  font-size: .9375rem;
}

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); padding-block: 40px 52px; }
.footer-inner { display: flex; flex-direction: column; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand b { display: block; font-family: var(--font-display); font-size: .9375rem; }
.footer-brand span { display: block; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { font-size: var(--fs-sm); color: var(--text-2); transition: color var(--d-fast) var(--ease-out); }
.footer-links a:hover { color: var(--text); }
.footer-note { font-size: var(--fs-sm); color: var(--text-3); max-width: 76ch; }

/* ------------------------------------------------------------------ reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; }
  .shot { transform: none; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  .install-grid { grid-template-columns: minmax(0, 1fr); }
  .usage-grid { grid-template-columns: minmax(0, 1fr); }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .dl-card { grid-template-columns: minmax(0, 1fr); }
  .dl-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .nav-links { display: none; }
  .float-card { display: none; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .hero-meta { gap: 8px 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .dl-actions .btn { flex: 1 1 100%; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .num { width: 42px; }
  .file-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .file-list em { display: none; }
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
