/* ── 哈雷 Halley · 官方介绍站 ─────────────────────────────────── */

:root {
  --bg: #0c0b10;
  --bg-soft: #121016;
  --panel: #17141c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5eee8;
  --muted: #a89a90;
  --muted-2: #7e726a;
  --accent: #ff6c37;
  --accent-2: #ff9a63;
  --accent-soft: rgba(255, 108, 55, 0.11);
  --green: #48d48a;
  --radius: 18px;
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  scrollbar-color: #342c35 #0c0b10;
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #0c0b10; }
::-webkit-scrollbar-thumb {
  border: 3px solid #0c0b10;
  border-radius: 99px;
  background: #3a313b;
}
::-webkit-scrollbar-thumb:hover { background: #4a3e49; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(255, 108, 55, 0.10), transparent 62%),
    radial-gradient(900px 600px at -12% 26%, rgba(255, 146, 88, 0.05), transparent 60%),
    var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
svg { display: block; }

::selection {
  background: rgba(255, 108, 55, 0.32);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.16;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #210e05;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

/* ── 按钮 ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, #ff8a52 0%, #ff5f2c 100%);
  color: #261006;
  box-shadow: 0 10px 28px rgba(255, 95, 44, 0.26);
}
.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(255, 95, 44, 0.38);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.btn-lg { padding: 15px 26px; font-size: 15.5px; }
.btn-small { padding: 9px 17px; font-size: 13.5px; }
.btn-block { width: 100%; padding: 14px 22px; }

/* ── 顶栏 ───────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(12, 11, 16, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  flex: none;
}
.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 108, 55, 0.35));
}
.brand b { color: var(--accent-2); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}
.nav-links > a:not(.btn) {
  color: var(--muted);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 7vw, 92px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(820px 520px at 80% -6%, rgba(255, 108, 55, 0.22), transparent 64%),
    radial-gradient(760px 520px at 4% 24%, rgba(255, 148, 92, 0.07), transparent 66%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  left: -14%;
  top: -70%;
  width: 62%;
  height: 240%;
  transform: rotate(26deg);
  background: linear-gradient(
    90deg,
    transparent 44%,
    rgba(255, 158, 103, 0.055) 50%,
    rgba(255, 108, 55, 0.03) 53%,
    transparent 60%
  );
}
.hero-bg .stars {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 64%, rgba(255, 255, 255, 0.4) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 46% 14%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 78%, rgba(255, 255, 255, 0.32) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 78% 30%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 58%, rgba(255, 255, 255, 0.3) 50%, transparent 51%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 4.6vw, 64px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 4.1vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.accent {
  background: linear-gradient(112deg, #ffd9c2 0%, #ff8a52 44%, #ff5c2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 560px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-2);
  font-size: 12.5px;
}
.hero-meta li { display: flex; align-items: center; gap: 18px; }
.hero-meta li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

/* Hero 产品视觉 */

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 10px 0;
}
.hero-glow {
  position: absolute;
  inset: 4% -16% 0 -10%;
  z-index: 0;
  background:
    radial-gradient(48% 52% at 70% 36%, rgba(255, 108, 55, 0.34), transparent 72%),
    radial-gradient(42% 42% at 22% 76%, rgba(255, 148, 92, 0.12), transparent 72%);
  filter: blur(46px);
  pointer-events: none;
}

.app-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #151319;
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.58),
    0 0 70px rgba(255, 108, 55, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.05) inset;
  transform: perspective(1800px) rotateY(-6deg) rotateX(1.5deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-frame:hover { transform: perspective(1800px) rotateY(-2deg) rotateX(0.5deg); }
.app-frame img { display: block; width: 100%; height: auto; }

.frame-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 12px;
  background: linear-gradient(180deg, #211c24, #19151d);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.traffic { display: flex; gap: 5px; flex: none; }
.traffic i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d343f;
}
.traffic i:nth-child(1) { background: rgba(255, 108, 55, 0.75); }
.traffic i:nth-child(2) { background: rgba(255, 176, 92, 0.55); }
.traffic i:nth-child(3) { background: rgba(86, 190, 130, 0.45); }

.frame-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: #8e8178;
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frame-badge {
  flex: none;
  padding: 3px 7px;
  border: 1px solid rgba(255, 108, 55, 0.35);
  border-radius: 999px;
  color: #ffb08c;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(21, 17, 23, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: floaty 7s ease-in-out infinite;
}
.float-ok { top: -18px; right: -10px; }
.float-ws { bottom: -18px; left: -16px; animation-delay: -3.5s; }
.float-text { display: flex; flex-direction: column; line-height: 1.3; }
.float-text strong { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.float-text small {
  color: #a19288;
  font-family: var(--mono);
  font-size: 10.5px;
  white-space: nowrap;
}
.pulse-dot, .ws-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(72, 212, 138, 0.13);
}
.ws-dot { background: #62c8ff; box-shadow: 0 0 0 4px rgba(98, 200, 255, 0.12); }
.pulse-dot { animation: pulse 2.6s ease-in-out infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(72, 212, 138, 0.13); }
  50% { box-shadow: 0 0 0 7px rgba(72, 212, 138, 0.04); }
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-strip span {
  padding: 17px 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: center;
}
.hero-strip span:first-child { border-left: 0; }

/* ── 通用 Section ───────────────────────────────────────────── */

.section {
  position: relative;
  padding: clamp(72px, 9vw, 118px) 0;
}
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.045); }
.section p { color: var(--muted); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(34px, 4.4vw, 56px);
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { max-width: 620px; font-size: 15.5px; }

h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(38px, 6vw, 80px);
}
.split.reverse .copy { order: 2; }
.split.reverse .media { order: 1; }

.copy h2 { margin: 0 0 18px; }
.copy > p { max-width: 500px; font-size: 15.5px; line-height: 1.78; }

.checklist {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #d8ccc4;
  font-size: 14.5px;
  line-height: 1.55;
}
.checklist svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

.media { position: relative; min-width: 0; isolation: isolate; }
.media::before {
  content: "";
  position: absolute;
  inset: 8% 2% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 108, 55, 0.16), transparent 68%);
  filter: blur(36px);
}
.media-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: #151319;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}
.media-frame img { display: block; width: 100%; height: auto; }

.media-tag {
  position: absolute;
  left: 22px;
  bottom: -13px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: #19151d;
  color: #c8b8ad;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.ws-tag { color: #9fd8ef; }

/* ── 功能网格 ───────────────────────────────────────────────── */

.section-grid {
  background:
    radial-gradient(900px 460px at 78% 4%, rgba(255, 108, 55, 0.07), transparent 66%),
    rgba(255, 255, 255, 0.012);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.feature-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.68; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 108, 55, 0.18);
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.feature-icon svg { width: 21px; height: 21px; }

@media (hover: hover) {
  .feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 108, 55, 0.3);
    background: linear-gradient(180deg, rgba(255, 108, 55, 0.07), rgba(255, 255, 255, 0.015));
  }
}

/* ── 上手步骤 ───────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.step {
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
.step-num {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.step h3 { margin: 0 0 10px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.72; }

/* ── 下载 ───────────────────────────────────────────────────── */

.section-download {
  overflow: hidden;
  background:
    radial-gradient(820px 520px at 82% 50%, rgba(255, 108, 55, 0.13), transparent 68%),
    linear-gradient(180deg, rgba(255, 108, 55, 0.03), transparent 70%);
}
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}
.download-copy h2 { margin-bottom: 18px; }
.download-copy > p { max-width: 480px; font-size: 15.5px; line-height: 1.78; }

.download-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(255, 108, 55, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 108, 55, 0.12), transparent 55%),
    linear-gradient(160deg, #1a161e 0%, #131016 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.download-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}
.app-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0f0d12;
}
.app-icon img { width: 56px; height: 56px; object-fit: contain; }
.dl-eyebrow {
  margin: 0 0 4px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.download-title h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.download-title h3 span {
  margin-left: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.download-hint {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 11.5px;
  text-align: center;
}

.dl-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.dl-meta div { min-width: 0; }
.dl-meta dt { color: var(--muted-2); font-size: 11px; }
.dl-meta dd {
  margin: 3px 0 0;
  color: #e8ded7;
  font-family: var(--mono);
  font-size: 12.5px;
}

.sha {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.sha summary {
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sha summary::-webkit-details-marker { display: none; }
.sha summary::after {
  content: "+";
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 14px;
}
.sha[open] summary::after { content: "–"; }
.sha-label {
  margin: 12px 0 0;
  color: var(--muted-2, var(--muted));
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.download-card .btn-block + .btn-block { margin-top: 10px; }
.download-card .btn-block:not(.btn-primary) {
  border-color: var(--line-strong, rgba(255, 255, 255, 0.18));
  background: rgba(255, 255, 255, 0.05);
}
.download-card .btn-block:not(.btn-primary):hover {
  border-color: var(--accent);
  color: var(--accent);
}
.sha code {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.25);
  color: #bfb1a7;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.6;
  word-break: break-all;
}
.download-note {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.65;
}

/* ── 版本记录 ───────────────────────────────────────────────── */

.section-changelog {
  background:
    radial-gradient(900px 440px at 82% 100%, rgba(255, 108, 55, 0.07), transparent 66%),
    rgba(255, 255, 255, 0.012);
}
.changelog {
  position: relative;
  max-width: 860px;
  padding-left: 30px;
  border-left: 1px solid var(--line-strong);
}
.release {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}
.release::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 34px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 108, 55, 0.12);
}
.release-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.release-version {
  color: var(--text);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.release-badge {
  padding: 3px 9px;
  border: 1px solid rgba(255, 108, 55, 0.3);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 10px;
  letter-spacing: 0.05em;
}
.release-meta time {
  margin-left: auto;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.release-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.release-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d8ccc4;
  font-size: 14.5px;
  line-height: 1.6;
}
.release-list li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── 开源 ───────────────────────────────────────────────────── */

.opensource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(255, 108, 55, 0.12), transparent 55%),
    linear-gradient(135deg, #17141c 0%, #100e13 100%);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.34);
}
.opensource-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1 1 420px;
  min-width: 0;
}
.opensource-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border: 1px solid rgba(255, 108, 55, 0.24);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.opensource-icon svg { width: 26px; height: 26px; }
.opensource-copy .eyebrow { margin-bottom: 10px; }
.opensource-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 36px);
}
.opensource-copy p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.opensource-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex: 0 1 auto;
  max-width: 100%;
}
.clone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.22);
}
.clone-row code {
  min-width: 0;
  overflow: hidden;
  color: #bfb1a7;
  font-family: var(--mono);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-copy {
  flex: none;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.mini-copy:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }

/* ── 页脚 ───────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 40px;
  color: var(--muted-2);
  font-size: 12.5px;
}
.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.footer-brand p {
  max-width: 340px;
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.7;
}
.footer-brand .brand { font-size: 15px; }
.footer-brand .brand img { width: 28px; height: 28px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 6px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text); }
.copyright {
  width: 100%;
  margin: 6px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

/* ── 滚动显现 ───────────────────────────────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.features-grid .feature-card:nth-child(2) { --delay: 0.06s; }
.features-grid .feature-card:nth-child(3) { --delay: 0.12s; }
.features-grid .feature-card:nth-child(4) { --delay: 0.03s; }
.features-grid .feature-card:nth-child(5) { --delay: 0.09s; }
.features-grid .feature-card:nth-child(6) { --delay: 0.15s; }
.steps .step:nth-child(2) { --delay: 0.08s; }
.steps .step:nth-child(3) { --delay: 0.16s; }

/* ── 响应式 ─────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .hero-copy { max-width: 660px; }
  .hero h1 { font-size: clamp(36px, 6vw, 52px); }
  .hero-visual {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }
  .app-frame { transform: none; }
  .app-frame:hover { transform: none; }

  .split,
  .split.reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }
  .split.reverse .copy { order: 0; }
  .split.reverse .media { order: 1; }
  .copy { max-width: 680px; }
  .copy > p { max-width: 620px; }

  .download-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }
  .download-copy { max-width: 620px; }
  .download-card { max-width: 500px; }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px clamp(20px, 5vw, 64px) 22px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    background: #0f0d13;
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav-links > a:not(.btn) {
    padding: 13px 4px;
    border-radius: 8px;
    color: var(--text);
    font-size: 16px;
  }
  .nav-links > a:not(.btn):hover { color: var(--accent-2); }
  .nav-links .nav-cta {
    width: 100%;
    margin: 12px 0 0;
    padding: 13px 20px;
  }
  .nav-toggle { display: flex; }
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: var(--nav-h) 0 0;
    z-index: 50;
    background: rgba(5, 4, 8, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .site-header.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .site-header.menu-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }

  .hero { padding-top: 44px; }
  .hero-grid { gap: 40px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(30px, 8.2vw, 50px); }
  .lead { margin: 20px 0 26px; font-size: 15px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-meta { gap: 8px 14px; font-size: 12px; }
  .hero-meta li { gap: 14px; }

  .float-ok { top: -14px; right: 2px; }
  .float-ws { bottom: -14px; left: 2px; }
  .float-card { padding: 9px 11px; }
  .float-text strong { font-size: 11.5px; }
  .float-text small { font-size: 9.5px; }

  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip span { border-top: 1px solid var(--line); font-size: 11.5px; }
  .hero-strip span:nth-child(-n + 2) { border-top: 0; }
  .hero-strip span:nth-child(odd) { border-left: 0; }

  .section { padding: 68px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 14.5px; }
  .copy > p, .download-copy > p { font-size: 14.5px; }
  .checklist li { font-size: 14px; }
  .media-tag { left: 14px; font-size: 9.5px; }

  .features-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .feature-card { padding: 22px 20px; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { padding: 24px 0 8px; }
  .step + .step { margin-top: 20px; }
  .step-num { margin-bottom: 14px; }

  .download-card { max-width: none; }
  .changelog { padding-left: 18px; }
  .release::before { left: -24px; top: 28px; }
  .release-meta time { width: 100%; margin-left: 0; }
  .opensource-card { flex-direction: column; align-items: flex-start; }
  .opensource-main { flex: 0 0 auto; flex-direction: column; gap: 14px; }
  .opensource-actions { width: 100%; align-items: flex-start; }
  .clone-row { width: 100%; }
  .clone-row code { white-space: normal; word-break: break-all; }
  .footer-grid { flex-direction: column; gap: 22px; }
  .copyright { margin-top: 2px; }
}

@media (max-width: 460px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .float-ws { display: none; }
  .float-ok { top: -12px; right: 0; }
  .brand { font-size: 15.5px; }
  .hero-strip span { padding: 14px 6px; }
  .download-head { gap: 12px; }
  .app-icon { width: 58px; height: 58px; border-radius: 14px; }
  .app-icon img { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}