/*!
 * 工资钟 · 官网样式
 * ------------------------------------------------------------------
 * 设计令牌直接沿袭悬浮窗（src/renderer/style.css），保证官网与产品是同一套语言：
 * 金色强调、暖白/深蓝黑双主题、20px 大圆角、ease-out 缓动。
 *
 * 不引任何外部字体/CDN：一个是这台机器没网更稳，
 * 另一个是产品本身主打「完全离线」，官网上挂第三方 CDN 有点打脸。
 */

/* ================================================================== */
/* 1. 设计令牌                                                         */
/* ================================================================== */

:root {
  --accent-h: 38;
  --accent-s: 92%;
  --accent-l: 56%;
  --accent: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  --accent-soft: hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.14);
  --accent-glow: hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.4);
  --accent-deep: hsl(var(--accent-h) 88% 44%);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --r-lg: 20px;
  --r-md: 13px;
  --r-sm: 9px;

  --font-num: 'DIN Alternate', 'Bahnschrift', 'SF Pro Display',
    'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --font-ui: 'Segoe UI Variable Text', 'Microsoft YaHei UI', 'PingFang SC',
    'Segoe UI', system-ui, -apple-system, sans-serif;

  --bg: #faf9f6;
  --bg-soft: #f3f1ec;
  --bg-card: #ffffff;
  --bg-dark: #0e1016;
  --bg-dark-soft: #15181f;

  --text-1: #171512;
  --text-2: #5d574e;
  --text-3: #918a80;
  --text-inv-1: #f2f0ec;
  --text-inv-2: #a8a49c;

  --line: rgba(23, 21, 18, 0.08);
  --line-strong: rgba(23, 21, 18, 0.14);
  --line-inv: rgba(255, 255, 255, 0.1);

  --shadow-sm: 0 1px 2px rgba(23, 21, 18, 0.05), 0 2px 8px rgba(23, 21, 18, 0.04);
  --shadow-md: 0 4px 12px rgba(23, 21, 18, 0.06), 0 12px 32px rgba(23, 21, 18, 0.07);
  --shadow-lg: 0 8px 24px rgba(23, 21, 18, 0.08), 0 24px 64px rgba(23, 21, 18, 0.1);

  --maxw: 1120px;
  --nav-h: 68px;
}

/* ================================================================== */
/* 2. 基础重置                                                         */
/* ================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 必须正好等于导航高度：多出来的 20px 会让上一个区块（尤其是深色的
     #snap）在导航下方露出一条硬边。区块自身有 100px 内边距，不需要额外留白。 */
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.4em;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

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

/* ================================================================== */
/* 3. 顶部导航                                                         */
/* ================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: rgba(250, 249, 246, 0);
  /* 未滚动时不要 backdrop-filter：blur(0px) 仍会强制建合成层，
     在 capturePage / 某些 GPU 路径下会渲染成一条灰带 */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    backdrop-filter 0.3s var(--ease-out);
}

.nav.is-scrolled {
  /* 0.94 而不是 0.82：导航下面压着的是上一个区块，深色区块（#snap）透过
     82% 白底会算出灰白 #cfcecd，看着像一条脏边。0.94 时混色只占 6%，
     即使 GPU 模糊没生效也是干净的米白。 */
  background: rgba(250, 249, 246, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--text-2);
}

.nav-links a {
  position: relative;
  transition: color 0.2s var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-1);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ================================================================== */
/* 4. 按钮                                                             */
/* ================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-spring),
    box-shadow 0.25s var(--ease-out),
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-lg {
  height: 52px;
  padding: 0 30px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn-ghost:hover {
  color: var(--text-1);
  background: rgba(23, 21, 18, 0.035);
  transform: translateY(-2px);
}

/* ================================================================== */
/* 5. 首屏                                                             */
/* ================================================================== */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 28px 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -140px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle,
      hsl(var(--accent-h) var(--accent-s) 70% / 0.24) 0%,
      hsl(200 80% 70% / 0.12) 42%,
      transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2.4s var(--ease-out) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50% { box-shadow: 0 0 0 6px hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.06); }
}

.hero h1 {
  margin: 22px 0 20px;
  /* 上限压在 44px：再大就会让「看着钱一秒一秒赚进来。」超出左栏宽度被硬折行，
     出现「来。」孤零零掉到第三行 */
  font-size: clamp(30px, 3.15vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 800;
}

/* 高亮：金色下划线渐变，模拟「钱在涨」 */
.hl {
  position: relative;
  color: var(--accent-deep);
  white-space: nowrap;
}

.hl::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.32em;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-glow), hsl(var(--accent-h) 92% 62% / 0.12));
  z-index: -1;
  transform-origin: left;
  animation: hlSweep 1s 0.35s var(--ease-out) both;
}

@keyframes hlSweep {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}

.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-meta li {
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.hero-meta strong {
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

/* —— 首屏右侧视觉 —— */
/* 两张卡片纵向叠放、右对齐：
   早期版本让小的压在大的右下角，结果把小窗口的「距离下班」那块盖住了。
   宁可少一点花哨，也不能遮住产品自己的内容。 */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  min-height: 440px;
  padding: 10px 24px 10px 0;
}

.float-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
  animation: floaty 7s var(--ease-out) infinite;
}

.float-card img {
  width: 340px;
}

/* 小档位摆在大窗下方，稍微右移 + 轻微倾斜，做出「一堆窗口摆在桌上」的感觉 */
.float-card--small {
  margin-right: -14px;
  transform: rotate(-1.4deg);
  animation: floatySmall 7s 1.6s var(--ease-out) infinite;
}

.float-card--small img {
  width: 196px;
}

@keyframes floatySmall {
  0%, 100% { transform: rotate(-1.4deg) translateY(0); }
  50% { transform: rotate(-1.4deg) translateY(-9px); }
}

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

.spark {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  animation: sparkle 4s var(--ease-out) infinite;
}

.spark-1 { width: 8px; height: 8px; top: 12%; left: 2%; }
.spark-2 { width: 5px; height: 5px; top: 72%; left: -6%; animation-delay: 1.2s; opacity: 0.4; }
.spark-3 { width: 11px; height: 11px; top: 4%; right: 8%; animation-delay: 2.1s; opacity: 0.32; }

@keyframes sparkle {
  0%, 100% { transform: scale(1) translateY(0); opacity: inherit; }
  50% { transform: scale(1.5) translateY(-8px); opacity: 0.15; }
}

/* ================================================================== */
/* 6. 通用区块                                                         */
/* ================================================================== */

.section {
  padding: 100px 28px;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-inv-1);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}

.section--dark .eyebrow {
  color: var(--accent);
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.03em;
}

.section-sub {
  margin-top: 18px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
}

.section-head--light .section-sub {
  color: var(--text-inv-2);
}

/* ================================================================== */
/* 7. 功能卡片                                                         */
/* ================================================================== */

.grid-3 {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-2 {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 20px;
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 11px;
}

.card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-2);
}

.mini-card {
  padding: 24px 24px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}

.mini-card h4 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.mini-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ================================================================== */
/* 8. 贴边吸附演示                                                     */
/* ================================================================== */

.snap-demo-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.snap-stage {
  text-align: center;
}

/* 屏幕：深色圆角矩形，代表 Windows 桌面 */
.snap-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #1a1e28, #0b0d12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

/* 屏幕里的壁纸感光斑 */
.snap-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, hsl(var(--accent-h) var(--accent-s) 60% / 0.14), transparent 46%),
    radial-gradient(circle at 24% 76%, hsl(205 88% 56% / 0.12), transparent 50%);
}

/* 吸附在左边的小窗口 */
.snap-window {
  position: absolute;
  top: 26%;
  left: 0;
  width: 112px;
  height: 92px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(245, 243, 238, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  transform: translateX(0);
  transition: transform 0.55s var(--ease-out),
    border-radius 0.55s var(--ease-out);
}

/* 位于屏幕中间（第 1 步演示「拖过去」的起点）：
   加一点旋转和更重的投影，让它是「被拎在手上」而不是「摆在那儿」 */
.snap-window.is-center {
  transform: translateX(132%) rotate(-2.2deg) scale(1.04);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
}

/* 露出窄边（隐藏态）；放在 .is-center 之后，保证同一时刻只生效一个时它优先 */
.snap-window.is-hidden {
  transform: translateX(calc(-100% + 7px));
}

.snap-win-inner {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-num);
  color: #171512;
  transition: opacity 0.3s var(--ease-out);
}

.snap-win-inner em {
  font-style: normal;
  font-size: 14px;
  color: var(--accent-deep);
}

.snap-win-inner b {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.snap-window.is-hidden .snap-win-inner {
  opacity: 0;
}

/* 鼠标指针：用 left/top 百分比定位（相对屏幕），
   transform 只负责缩放/偏移，避免百分比相对自身尺寸算错位置 */
.snap-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  transform: translate3d(0, 0, 0);
  transition: left 0.85s var(--ease-out),
    top 0.85s var(--ease-out),
    opacity 0.3s var(--ease-out);
  opacity: 0;
  pointer-events: none;
  will-change: left, top;
}

.snap-cursor svg {
  width: 100%;
  height: 100%;
}

/* 手感提示：指针左侧那点白色描边，暗色底色上更清楚 */
.snap-cursor svg path {
  stroke: rgba(0, 0, 0, 0.28);
  stroke-width: 1.2;
}

.snap-caption {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-inv-2);
  min-height: 1.6em;
  transition: opacity 0.25s var(--ease-out);
}

.snap-steps {
  display: grid;
  gap: 10px;
}

.snap-step {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.snap-step.is-active {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-inv);
}

.snap-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inv-2);
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.snap-step.is-active .snap-num {
  background: var(--accent);
  color: #171512;
}

.snap-step strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.snap-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-inv-2);
}

.snap-notes {
  max-width: var(--maxw);
  margin: 68px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 40px;
  border-top: 1px solid var(--line-inv);
}

.snap-note h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--accent);
}

.snap-note p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-inv-2);
}

/* ================================================================== */
/* 9. 外观截图                                                         */
/* ================================================================== */

.shots {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shot {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.shot:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
}

/* 四张截图的原始尺寸不一样（悬浮窗 508×476、设置窗口 580×740），
   直接 width:100% 会让卡片高低参差。统一用固定高的容器 + object-fit:contain，
   让内容各自居中，视觉上排成一条整齐的横线。 */
.shot img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
  padding: 14px;
  background: linear-gradient(170deg, var(--bg-soft), #efede8);
}

.shot figcaption {
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  border-top: 1px solid var(--line);
}

.presets {
  max-width: var(--maxw);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.preset {
  padding: 16px 10px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
  transition: box-shadow 0.25s var(--ease-out);
}

.preset:hover {
  box-shadow: inset 0 0 0 1.5px var(--accent-glow);
}

.preset b {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}

.preset span {
  font-family: var(--font-num);
  font-size: 12.5px;
  color: var(--text-3);
}

.preset--on {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.preset--on b {
  color: var(--accent-deep);
}

/* ================================================================== */
/* 10. 下载                                                            */
/* ================================================================== */

.download {
  padding: 100px 28px;
  background: linear-gradient(165deg, var(--bg-dark) 0%, #10131a 100%);
  color: var(--text-inv-1);
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(var(--accent-h) var(--accent-s) 58% / 0.16), transparent 66%);
  pointer-events: none;
}

.download-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.download h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
}

.download-sub {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-inv-2);
}

/*
 * 下载卡片：改成上下布局。
 * 之前是「左边信息 + 右边按钮」的横向 flex，换成滑动条后
 * 横向空间不够，滑块被挤成一条、文字还和填充色重叠看不清。
 * 现在信息在上、滑块独占整行，宽度给足 460px。
 */
.download-box {
  margin-top: 40px;
  padding: 24px 26px 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-inv);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  text-align: left;
}

/* 信息行：文件名 + 元信息并排 */
.download-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* 滑块占满整行 */
.download-box .slide-dl {
  max-width: none;
  width: 100%;
}

.dl-name {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dl-meta {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-inv-2);
}

.download-note {
  margin-top: 26px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-inv-2);
  max-width: 46em;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================== */
/* 11. 常见问题                                                        */
/* ================================================================== */

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 34px 20px 2px;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease-out);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--accent-deep);
}

/* 加号图标 */
.faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6.5px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  opacity: 0.4;
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(90deg);
  opacity: 0.7;
}

.faq details p {
  padding: 0 40px 22px 2px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-2);
  animation: faqIn 0.3s var(--ease-out);
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================== */
/* 12. 页脚                                                            */
/* ================================================================== */

.foot {
  padding: 52px 28px;
  border-top: 1px solid var(--line);
}

.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.foot-note {
  font-size: 13.5px;
  color: var(--text-3);
}

/* ================================================================== */
/* 13. 滚动入场动画                                                    */
/* ================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* 尊重「减少动态效果」系统设置 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================== */
/* 14. 响应式                                                          */
/* ================================================================== */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* 平板竖屏：保持「文案在上、产品图在下」的阅读顺序，
     不要 order:-1 把图顶到首屏把标题挤走。 */
  .hero-visual {
    order: 0;
    min-height: 0;
    display: grid;
    place-items: center;
  }

  /* 单栏之后图片仍然按桌面端的绝对定位摆会飘到右下角、左边空一片，
     改成居中的正常流布局。 */
  .float-card {
    position: static;
    animation: none;
  }

  .float-card img {
    width: min(380px, 100%);
  }

  .float-card--small {
    position: static;
    margin: 16px 0 0 40px;
    animation: none;
  }

  .float-card--small img {
    width: 200px;
  }

  .float-card img {
    width: 300px;
  }

  .float-card--small {
    right: auto;
    left: 50%;
    margin-left: 30px;
    bottom: -14px;
  }

  .float-card--small img {
    width: 180px;
  }

  .grid-3,
  .grid-2,
  .snap-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .snap-demo-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 60px;
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    padding: 0 18px;
  }

  .hero,
  .section,
  .download {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 44px);
    padding-bottom: 68px;
  }

  /* 手机上第一屏必须是「标题 + 下载按钮」。
     把产品图挪到文案之后（取消 980px 断点里的 order:-1），
     否则 400px 高的截图会把主标题挤到首屏之外。 */
  .hero-visual {
    order: 0;
    min-height: 0;
    margin-top: 8px;
    display: grid;
    justify-items: center;
  }

  .float-card {
    position: static;
    animation: none;
  }

  .float-card img {
    width: min(320px, 100%);
  }

  /* 第二张小卡是桌面端做层次感的装饰，手机上只会被裁一半还占地，
     而且信息与上面那张完全相同 —— 窄屏直接不显示。 */
  .float-card--small {
    display: none;
  }

  .spark {
    display: none;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .hero-meta {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-meta strong {
    font-size: 22px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .grid-3,
  .grid-2,
  .snap-notes,
  .shots,
  .presets {
    grid-template-columns: 1fr;
  }

  .presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 24px 20px;
  }

  .download-box .btn {
    width: 100%;
  }

  .foot-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .float-card img {
    width: 240px;
  }

  .float-card--small {
    margin-left: 10px;
  }

  .float-card--small img {
    width: 146px;
  }
}

/* ================================================================== */
/* 首屏实时演示组件（复刻悬浮窗界面，真实运行）                          */
/* ================================================================== */

/*
 * 为什么不用截图：
 *   截图放大后必糊，而且看不出「数字在动」这件事。
 *   这里用真 DOM 复刻，所有文字都是矢量渲染，任何 DPI 下都清晰，
 *   JS 每 250ms 更新金额/倒计时，能直观看到钱在涨、时间在减。
 */
.demo-window {
  position: relative;
  width: 364px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, #faf9f6, #f3f1ec);
  box-shadow:
    0 1px 2px rgba(120, 90, 40, 0.06),
    0 6px 16px rgba(120, 90, 40, 0.08),
    0 20px 44px rgba(120, 90, 40, 0.10),
    0 40px 80px rgba(120, 90, 40, 0.08);
  font-family: var(--font-ui);
  color: #171512;
  user-select: none;
}

/* 内描边高光 */
.demo-window::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.12) 45%,
    transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* 右上角金色光晕 */
.demo-window::after {
  content: '';
  position: absolute;
  top: -70px;
  right: -52px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(38 92% 70% / 0.34), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

/* ---- 顶栏 ---- */
.demo-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 13px 3px;
}

.demo-brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(38 92% 56%);
  box-shadow: 0 0 0 3px hsl(38 92% 56% / 0.16), 0 0 10px hsl(38 92% 56% / 0.42);
  flex-shrink: 0;
}

.demo-brand {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.05em;
  color: #5d574e;
}

.demo-status {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 99px;
  background: hsl(38 92% 56% / 0.16);
  color: hsl(38 88% 42%);
  letter-spacing: 0.02em;
}

.demo-icons {
  margin-left: auto;
  display: flex;
  gap: 7px;
  color: #918a80;
}

.demo-icons svg {
  width: 11.5px;
  height: 11.5px;
}

/* ---- 金额 ---- */
.demo-money {
  position: relative;
  z-index: 2;
  padding: 2px 14px 0;
}

.demo-money-label {
  font-size: 10px;
  font-weight: 550;
  color: #918a80;
  letter-spacing: 0.05em;
}

.demo-money-sub {
  font-size: 9px;
  color: #bcb4a8;
  margin-left: 3px;
}

.demo-money-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.demo-cur {
  font-size: 16px;
  font-weight: 600;
  color: hsl(38 88% 42%);
  transform: translateY(-2px);
}

.demo-value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #171512;
}

/* 金额跳动时的小动画 */
.demo-value.bump {
  animation: demoBump 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes demoBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.025); color: hsl(38 88% 42%); }
  100% { transform: scale(1); }
}

/* ---- 进度 ---- */
.demo-progress {
  position: relative;
  z-index: 2;
  padding: 9px 14px 0;
}

.demo-rail {
  height: 5px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.demo-fill {
  height: 100%;
  width: 62.6%;
  border-radius: 99px;
  background: linear-gradient(90deg, hsl(38 92% 50%), hsl(38 92% 56%));
  box-shadow: 0 0 8px hsl(38 92% 56% / 0.42);
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
  font-size: 9px;
  color: #918a80;
  font-weight: 550;
}

.demo-pct {
  color: hsl(38 88% 42%);
  font-weight: 700;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

/* ---- 倒计时 ---- */
.demo-countdown {
  position: relative;
  z-index: 2;
  margin: 9px 11px 0;
  padding: 8px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.demo-countdown-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-countdown-label {
  font-size: 9px;
  color: #918a80;
  font-weight: 550;
  letter-spacing: 0.04em;
}

.demo-countdown-time {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #171512;
}

/* 「时/分/秒」三个字压到 0.4em 并加一点内边距，
   让 02 55 28 这些主数字成为视觉主体，读数更快 */
.demo-countdown-time .u {
  font-size: 0.4em;
  font-weight: 500;
  color: #a39c92;
  margin-left: 1px;
  letter-spacing: 0;
  font-family: var(--font-ui);
  vertical-align: 1px;
}

/* 环形进度 */
.demo-ring {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.demo-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.demo-ring-bg {
  stroke: rgba(0, 0, 0, 0.07);
  fill: none;
  stroke-width: 3.2;
}

.demo-ring-fg {
  stroke: hsl(38 92% 56%);
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- 数据格 ---- */
.demo-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 7px 11px 11px;
}

.demo-stat {
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
}

.demo-stat-k {
  font-size: 8.5px;
  color: #918a80;
  font-weight: 550;
  letter-spacing: 0.03em;
}

.demo-stat-v {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  color: #171512;
  letter-spacing: -0.01em;
}

.demo-stat-v i {
  font-style: normal;
  font-size: 0.64em;
  font-weight: 600;
  color: #918a80;
  margin-left: 1px;
}

/* ================================================================== */
/* 演示组件的小尺寸 / 移动端适配                                        */
/* ================================================================== */

@media (max-width: 980px) {
  .demo-window {
    width: min(340px, 100%);
  }
  .demo-value {
    font-size: 34px;
  }
}

@media (max-width: 420px) {
  .demo-window {
    width: 100%;
  }
  .demo-value {
    font-size: 30px;
  }
  .demo-countdown-time {
    font-size: 17px;
  }
  .demo-stat-v {
    font-size: 13px;
  }
}

/* ================================================================== */
/* 滑动下载组件                                                        */
/* ================================================================== */

/*
 * 设计要点（都是为了避开以往踩过的坑）：
 *   · 容器高度 56px —— 热区够大，高 DPI 也点得中（之前 5px 的教训）
 *   · 手势层和视觉层是同一个元素 —— 不存在「看着在左、能拖的在右」
 *   · 不用 <input type=range> —— 改外观后它原生拖拽坐标会错乱
 *   · 用 pointer 事件 + window 兜底，避免 setPointerCapture 丢 up
 *   · 拖满（≥96%）才触发下载，中途松手会弹回去
 */
.slide-dl {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;          /* 手机上别让页面跟着滚 */
  outline: none;
  transition: box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

/* 禁用浏览器的原生拖拽/文字选择干扰 */
.slide-dl * {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.slide-dl:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px hsl(38 92% 56% / 0.22);
}

.slide-dl.is-dragging {
  cursor: grabbing;
}

/* 拖满后的成功态 */
.slide-dl.is-done {
  cursor: default;
  background: hsl(152 58% 46% / 0.16);
  box-shadow: inset 0 0 0 1px hsl(152 58% 46% / 0.5);
}

/* ---- 已滑过的填充 ---- */
.slide-dl-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg,
    hsl(38 92% 50%),
    hsl(38 92% 58%));
  box-shadow: 0 0 18px hsl(38 92% 56% / 0.35);
  transition: width 0.06s linear, background 0.3s var(--ease-out);
}

.slide-dl.is-done .slide-dl-fill {
  background: linear-gradient(90deg,
    hsl(152 52% 42%),
    hsl(152 58% 50%));
  box-shadow: 0 0 18px hsl(152 58% 46% / 0.35);
}

/* ---- 滑块圆钮 ---- */
.slide-dl-knob {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(150deg, #ffffff, #f3efe6);
  color: hsl(38 88% 40%);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  /* 拖动时跟手（用 transform 而不改 left，避免重排） */
  transition: transform 0.08s linear, background 0.25s var(--ease-out), color 0.25s var(--ease-out);
  will-change: transform;
}

.slide-dl-knob svg {
  width: 20px;
  height: 20px;
}

.slide-dl.is-dragging .slide-dl-knob {
  transform: scale(1.06);
}

.slide-dl.is-done .slide-dl-knob {
  background: linear-gradient(150deg, #ffffff, #eafaf0);
  color: hsl(152 55% 38%);
}

/* 完成时圆钮里的箭头换成对勾（用两条线画，不额外加元素） */
.slide-dl.is-done .slide-dl-knob svg {
  opacity: 0;
}

.slide-dl.is-done .slide-dl-knob::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 8px;
  border-left: 2.4px solid hsl(152 55% 38%);
  border-bottom: 2.4px solid hsl(152 55% 38%);
  transform: rotate(-45deg) translate(1px, -2px);
  border-radius: 1px;
}

/* ---- 提示文字 ---- */
.slide-dl-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-left: 40px;          /* 避开圆钮 */
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
  /* 加一层深色投影：填充条扫过时文字依然清晰 */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  transition: opacity 0.2s var(--ease-out), color 0.25s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

/* 拖动中文字淡出，避免和填充条撞色 */
/*
 * 拖动中文字直接隐藏。
 * 试过 opcaty 0.28 —— 金色填充扫过时留下半截字，比不显示更难看。
 * 「拖」这个动作本身已经很明确，不需要文字再陪跑。
 */
.slide-dl.is-dragging .slide-dl-text {
  opacity: 0;
}

/* 但松开后要立刻回来（未拖满回弹时） */
.slide-dl:not(.is-dragging) .slide-dl-text {
  transition-delay: 0.08s;
}

/* 完成时中间显示「已开始下载」，比一个大对勾更有信息量 */
.slide-dl.is-done .slide-dl-text {
  opacity: 1;
  color: hsl(152 55% 92%);
  font-weight: 650;
  letter-spacing: 0.02em;
}

/* ---- 完成打勾 ---- */
.slide-dl-done {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: hsl(152 55% 52%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s var(--ease-out), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.slide-dl-done svg {
  width: 26px;
  height: 26px;
}

.slide-dl.is-done .slide-dl-done {
  opacity: 1;
  transform: scale(1);
}

/*
 * 完成后的文字提示。
 * 原来用 ::after + bottom:-30px 想放到容器下方，
 * 但 .slide-dl 有 overflow:hidden，直接被裁掉了（截图里根本没显示）。
 * 改成放在容器内部居中，和打勾错开。
 */

/* ---- 键盘焦点时的提示 ---- */
.slide-dl:focus-visible .slide-dl-text {
  color: var(--accent);
}

/* ---- 窄屏 ---- */
@media (max-width: 560px) {
  .slide-dl {
    max-width: 100%;
    height: 52px;
  }
  .slide-dl-knob {
    width: 44px;
    height: 44px;
  }
  .slide-dl-text {
    font-size: 13px;
    padding-left: 34px;
  }
}

/* ================================================================== */
/* 版本历史                                                            */
/* ================================================================== */

.ver-now {
  color: var(--accent-deep);
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

/* 下载区里的版本角标 */
.dl-version {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 99px;
  background: hsl(38 92% 56% / 0.16);
  color: var(--accent);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  vertical-align: 1px;
}

.changelog {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.release {
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s var(--ease-out);
}

.release:hover {
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line);
}

/* 最新版高亮：左侧金色描边 */
.release--latest {
  box-shadow: var(--shadow-md), inset 0 0 0 1.5px hsl(38 92% 56% / 0.5);
  position: relative;
}

.release--latest::before {
  content: '';
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--accent), hsl(38 92% 46%));
}

.release-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.release-ver {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

.release-date {
  font-size: 12.5px;
  color: var(--text-3);
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.release-tag {
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.release-tag--new {
  background: hsl(38 92% 56% / 0.16);
  color: var(--accent-deep);
}

/* 深色主题下金色文字提亮 */
:root[data-theme='dark'] .release-tag--new { color: var(--accent); }

.release h3 {
  font-size: 16.5px;
  margin: 0 0 14px;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

.release-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.release-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-2);
}

/* 每条前面一个类型标签 */
.release-kind {
  flex-shrink: 0;
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 3px;
  white-space: nowrap;
}

.release-kind--feat {
  background: hsl(38 92% 56% / 0.15);
  color: var(--accent-deep);
}

.release-kind--fix {
  background: hsl(152 55% 46% / 0.15);
  color: hsl(152 55% 34%);
}

:root[data-theme='dark'] .release-kind--feat { color: var(--accent); }
:root[data-theme='dark'] .release-kind--fix { color: hsl(152 50% 58%); }

@media (max-width: 560px) {
  .release {
    padding: 20px 20px;
  }
  .release--latest::before {
    top: 20px;
    bottom: 20px;
  }
  .release-list li {
    font-size: 13.5px;
    gap: 8px;
  }
}
