/* ==========================================================================
   PulseDeck — Design System
   风格：极简黑白 + 单色强调（#2b6cff）
   组织：1 令牌 → 2 基础 → 3 排版 → 4 布局 → 5 组件 → 6 区块 → 7 动画 → 8 响应式
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 中性色阶 */
  --bg:            #ffffff;
  --bg-subtle:     #fafafa;
  --bg-muted:      #f4f4f5;
  --bg-inset:      #ebebee;
  --fg:            #09090b;
  --fg-secondary:  #3f3f46;
  --fg-muted:      #71717a;
  --fg-faint:      #a1a1aa;
  --border:        #e4e4e7;
  --border-strong: #d4d4d8;

  /* 单色强调 */
  --accent:        #2b6cff;
  --accent-hover:  #1b52d6;
  --accent-active: #1642ab;
  --accent-soft:   #eef3ff;
  --accent-ring:   rgba(43, 108, 255, .28);
  --on-accent:     #ffffff;

  /* 语义色（克制使用，仅做状态提示） */
  --success:       #16784a;
  --success-soft:  #e8f6ee;
  --danger:        #b42318;
  --danger-soft:   #fdeceb;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(9, 9, 11, .04);
  --shadow-sm: 0 2px 6px rgba(9, 9, 11, .05);
  --shadow-md: 0 8px 24px rgba(9, 9, 11, .07);
  --shadow-lg: 0 24px 60px rgba(9, 9, 11, .11);

  /* 圆角 */
  --r-xs: 6px;
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  /* 排版 */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  /* 尺度 */
  --container: 1160px;
  --container-narrow: 740px;
  --header-h: 68px;
  --section-y: 96px;
  --gutter: 24px;

  /* 动效 */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .22s;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:            #09090b;
  --bg-subtle:     #101012;
  --bg-muted:      #17171a;
  --bg-inset:      #1f1f23;
  --fg:            #fafafa;
  --fg-secondary:  #d4d4d8;
  --fg-muted:      #a1a1aa;
  --fg-faint:      #71717a;
  --border:        #26262b;
  --border-strong: #3a3a41;

  --accent:        #6b93ff;
  --accent-hover:  #8aaaff;
  --accent-active: #a8c0ff;
  --accent-soft:   #141c33;
  --accent-ring:   rgba(107, 147, 255, .34);
  --on-accent:     #080b18;

  --success:       #4ec98a;
  --success-soft:  #0f2419;
  --danger:        #ff8080;
  --danger-soft:   #2a1312;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .45);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, .5);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, .6);

  color-scheme: dark;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

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

ul, ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4, h5, .h-display {
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.022em;
  text-wrap: balance;
  color: var(--fg);
}

h1, .h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); }
h2, .h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4, .h4 { font-size: 1.1rem; }
h5, .h5 { font-size: 1rem; }

p { text-wrap: pretty; }

strong { font-weight: 640; color: var(--fg); }

code, kbd, pre { font-family: var(--font-mono); }

.lead {
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  line-height: 1.65;
  color: var(--fg-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 620;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.muted { color: var(--fg-muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- 4. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: 64px; }
.section--subtle { background: var(--bg-subtle); border-block: 1px solid var(--border); }
.section--ink {
  background: var(--fg);
  color: var(--bg);
}
.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink strong { color: var(--bg); }
.section--ink .lead,
.section--ink p { color: rgba(255, 255, 255, .74); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.spacer { flex: 1; }

.divider { height: 1px; background: var(--border); border: 0; }

/* ---------- 5. 组件 ---------- */

/* 5.1 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  font-size: .94rem;
  font-weight: 580;
  letter-spacing: -.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-xs);
}
.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-sm);
}

.btn--secondary {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn--secondary:hover {
  background: var(--bg-muted);
  border-color: var(--fg-faint);
}

.btn--ghost {
  color: var(--fg-secondary);
  padding-inline: 12px;
}
.btn--ghost:hover { color: var(--fg); background: var(--bg-muted); }

.btn--inverse {
  background: var(--bg);
  color: var(--fg);
}
.btn--inverse:hover { background: var(--bg-muted); }

.btn--outline-inverse {
  color: var(--bg);
  border-color: rgba(255, 255, 255, .28);
}
.btn--outline-inverse:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .06);
}

.btn--lg { padding: 14px 26px; font-size: 1rem; border-radius: var(--r); }
.btn--block { width: 100%; }

.btn .arrow {
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* 5.2 徽章 / 标签 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: .8rem;
  font-weight: 520;
  color: var(--fg-secondary);
}
.badge--accent {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent);
}
.badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, transparent);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  font-size: .75rem;
  font-weight: 540;
  letter-spacing: .01em;
  color: var(--fg-muted);
  background: var(--bg);
  transition: all var(--dur) var(--ease);
}
.tag--sm { padding: 3px 8px; font-size: .7rem; }
.tag--active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
[data-theme="dark"] .tag--active { background: var(--fg); color: var(--bg); }

/* 5.3 卡片 */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card--hover:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card--subtle { background: var(--bg-subtle); }
.card--muted { background: var(--bg-muted); border-color: transparent; }

.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
}
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p { color: var(--fg-muted); font-size: .93rem; }

/* 5.4 表单 */
.field { display: flex; flex-direction: column; gap: 7px; }
.field + .field { margin-top: 16px; }

.label {
  font-size: .85rem;
  font-weight: 580;
  color: var(--fg-secondary);
}
.label .req { color: var(--danger); }

.input, .select, .textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-size: .94rem;
  color: var(--fg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--fg-faint); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--fg-faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.textarea { min-height: 124px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' stroke='%2371717a' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid {
  border-color: var(--danger);
}
.input.is-invalid:focus,
.textarea.is-invalid:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent); }

.field__error {
  display: none;
  font-size: .8rem;
  color: var(--danger);
  align-items: center;
  gap: 6px;
}
.field__error.is-visible { display: flex; }

.form-note { font-size: .8rem; color: var(--fg-faint); margin-top: 12px; }

/* 内联订阅表单 */
.inline-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
}
.inline-form .input { flex: 1; }
.inline-form--center { margin-inline: auto; }

/* 表单反馈条 */
.form-status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  margin-top: 14px;
  border: 1px solid transparent;
}
.form-status.is-visible { display: flex; }
.form-status--success {
  background: var(--success-soft);
  border-color: color-mix(in srgb, var(--success) 30%, transparent);
  color: var(--success);
}
.form-status--error {
  background: var(--danger-soft);
  border-color: color-mix(in srgb, var(--danger) 28%, transparent);
  color: var(--danger);
}
.form-status__icon { flex-shrink: 0; margin-top: 2px; }

/* 按钮 loading */
.btn[data-loading="true"] {
  pointer-events: none;
  opacity: .82;
}
.btn__spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
.btn[data-loading="true"] .btn__spinner { display: block; }
.btn[data-loading="true"] .btn__text { opacity: .8; }
.btn[data-loading="true"] .arrow { display: none; }

/* 5.5 Toast */
.toast-host {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 360px;
  padding: 13px 18px;
  border-radius: var(--r);
  background: var(--fg);
  color: var(--bg);
  font-size: .9rem;
  font-weight: 520;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in .3s var(--ease-out);
}
.toast.is-leaving { animation: toast-out .25s var(--ease) forwards; }
.toast__icon { flex-shrink: 0; color: #6ee7a8; }
.toast--error .toast__icon { color: #ff9b9b; }

/* 5.6 手风琴 */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 570;
  letter-spacing: -.012em;
  color: var(--fg);
  transition: color var(--dur) var(--ease);
}
.accordion__trigger:hover { color: var(--accent); }
.accordion__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  color: var(--fg-muted);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.accordion__icon::before { top: 10px; left: 2px; width: 18px; height: 1.8px; }
.accordion__icon::after  { left: 10px; top: 2px; height: 18px; width: 1.8px; }
.accordion__item.is-open .accordion__icon::after { transform: rotate(90deg); opacity: 0; }
.accordion__item.is-open .accordion__icon { color: var(--accent); }
.accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height .3s var(--ease);
}
.accordion__inner {
  padding-bottom: 24px;
  color: var(--fg-secondary);
  font-size: .95rem;
  max-width: 76ch;
}
.accordion__inner > * + * { margin-top: 12px; }

/* 5.7 时间线 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--border), var(--border-strong) 40%, var(--border));
}
.timeline__item { position: relative; padding-bottom: 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px; top: 8px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.timeline__item--accent::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline__date {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: 6px;
}
.timeline__item h3 { font-size: 1.08rem; margin-bottom: 7px; }
.timeline__item p { color: var(--fg-muted); font-size: .93rem; max-width: 62ch; }

/* 5.8 数据表 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
}
table.data { min-width: 640px; font-size: .93rem; }
table.data th, table.data td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.data thead th {
  background: var(--bg-subtle);
  font-size: .82rem;
  font-weight: 620;
  letter-spacing: .02em;
  color: var(--fg-secondary);
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: var(--bg-subtle); }
table.data td:first-child { font-weight: 520; color: var(--fg); }
table.data .yes { color: var(--accent); font-weight: 700; }
table.data .no { color: var(--fg-faint); }

/* 5.9 头像组 */
.avatars { display: flex; }
.avatars__item {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 650;
  color: var(--bg);
  background: var(--fg);
}
.avatars__item:first-child { margin-left: 0; }

/* ---------- 6. 区块 ---------- */

/* 6.1 页头 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 660;
  font-size: 1.06rem;
  letter-spacing: -.028em;
  flex-shrink: 0;
}
.logo__mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 12px;
  border-radius: var(--r-xs);
  font-size: .9rem;
  font-weight: 520;
  color: var(--fg-secondary);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--fg); background: var(--bg-muted); }
.nav__link.is-active { color: var(--fg); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.icon-btn {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  color: var(--fg-secondary);
  background: var(--bg);
  transition: all var(--dur) var(--ease);
}
.icon-btn:hover { color: var(--fg); border-color: var(--border-strong); background: var(--bg-muted); }

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.burger { display: none; }

/* 移动抽屉 */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__link {
  display: block;
  padding: 15px 0;
  font-size: 1.1rem;
  font-weight: 560;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.drawer__link.is-active { color: var(--accent); }
.drawer .btn { margin-top: 24px; }

/* 6.2 Hero */
.hero {
  position: relative;
  padding-block: clamp(64px, 10vw, 116px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 50% -10%, var(--accent-soft) 0%, transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }
.hero .badge { margin-bottom: 26px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero .lead {
  max-width: 620px;
  margin: 0 auto 34px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}
.hero__form-wrap { margin-bottom: 22px; }
.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: .86rem;
  color: var(--fg-muted);
}
.hero__proof-star { color: #f0b429; }

/* Hero 里的产品截图容器 */
.hero__shot { margin-top: 64px; }

/* 6.3 数据证明 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stats__item {
  background: var(--bg);
  padding: 30px 26px;
  text-align: center;
}
.stats__value {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 660;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.stats__value sup {
  font-size: .5em;
  font-weight: 600;
  vertical-align: super;
  color: var(--accent);
  margin-left: 2px;
}
.stats__label {
  margin-top: 8px;
  font-size: .88rem;
  color: var(--fg-muted);
}

/* 6.4 Logo 墙 */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 44px;
  opacity: .62;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease);
}
.logos:hover { opacity: 1; }
.logos__item {
  font-size: 1.02rem;
  font-weight: 640;
  letter-spacing: -.02em;
  color: var(--fg-secondary);
}

/* 6.5 产品预览 / 应用窗口 */
.app-window {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.app-window__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.app-window__url {
  margin-left: 10px;
  flex: 1;
  max-width: 260px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--bg-muted);
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--fg-muted);
  text-align: center;
}
.app-window__body { padding: 26px; }

/* 监控面板 mock */
.panel { display: grid; gap: 16px; }
.panel__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.panel__kpi {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  background: var(--bg-subtle);
}
.panel__kpi-label { font-size: .76rem; color: var(--fg-muted); margin-bottom: 4px; }
.panel__kpi-value { font-size: 1.5rem; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.panel__kpi-delta { font-size: .76rem; color: var(--success); font-weight: 560; }

.chart {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  background: var(--bg-subtle);
}
.chart__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  font-size: .82rem; color: var(--fg-muted);
}
.chart__spark { width: 100%; height: 92px; }

.monitor-list { display: grid; gap: 8px; }
.monitor {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
}
.monitor__status {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 16%, transparent);
}
.monitor--warn .monitor__status {
  background: #f0b429;
  box-shadow: 0 0 0 3px rgba(240, 180, 41, .18);
}
.monitor--down .monitor__status {
  background: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 16%, transparent);
}
.monitor__name { font-size: .9rem; font-weight: 540; flex: 1; min-width: 0; }
.monitor__meta { font-family: var(--font-mono); font-size: .78rem; color: var(--fg-muted); }

/* 6.6 功能 tab */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  padding: 9px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  font-size: .88rem;
  font-weight: 540;
  color: var(--fg-secondary);
  background: var(--bg);
  transition: all var(--dur) var(--ease);
}
.tab:hover { border-color: var(--border-strong); color: var(--fg); }
.tab.is-active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-up .32s var(--ease-out); }

/* 6.7 关于预览 */
.about-preview {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.portrait {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--bg-muted);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.portrait__silhouette { width: 100%; height: 100%; }
.quote-card {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.quote-card p { font-size: .92rem; font-style: italic; color: var(--fg-secondary); margin-bottom: 10px; }
.quote-card cite { font-size: .8rem; font-style: normal; color: var(--fg-muted); font-weight: 560; }

/* 6.8 文章卡片 */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.post-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.post-card__top {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.post-card__title {
  font-size: 1.14rem;
  font-weight: 620;
  letter-spacing: -.02em;
  line-height: 1.35;
  margin-bottom: 10px;
}
.post-card__title a { transition: color var(--dur) var(--ease); }
.post-card:hover .post-card__title a { color: var(--accent); }
.post-card__excerpt {
  color: var(--fg-muted);
  font-size: .92rem;
  margin-bottom: 20px;
  flex: 1;
}
.post-card__foot {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--fg-muted);
}
.post-card__read { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.post-card--featured {
  grid-column: span 2;
  background: var(--bg-subtle);
}
.post-card--featured .post-card__title { font-size: 1.5rem; }

.post-card.is-hidden { display: none; }

/* 6.9 定价 */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg-muted);
}
.billing-toggle button {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: .88rem;
  font-weight: 550;
  color: var(--fg-muted);
  transition: all var(--dur) var(--ease);
}
.billing-toggle button.is-active {
  background: var(--bg);
  color: var(--fg);
  box-shadow: var(--shadow-xs);
}
.save-pill {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 620;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.plan:hover { box-shadow: var(--shadow-sm); }
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}
.plan__flag {
  position: absolute;
  top: -11px; left: 28px;
  padding: 3px 12px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--on-accent);
  font-size: .72rem;
  font-weight: 620;
  letter-spacing: .02em;
}
.plan__name { font-size: 1.06rem; font-weight: 620; margin-bottom: 6px; }
.plan__desc { font-size: .87rem; color: var(--fg-muted); min-height: 42px; margin-bottom: 20px; }
.plan__price {
  display: flex; align-items: baseline; gap: 3px;
  margin-bottom: 6px;
}
.plan__currency { font-size: 1.2rem; font-weight: 600; color: var(--fg-muted); }
.plan__amount {
  font-size: 2.5rem;
  font-weight: 670;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__period { font-size: .88rem; color: var(--fg-muted); }
.plan__price-note { font-size: .8rem; color: var(--fg-faint); min-height: 20px; margin-bottom: 22px; }
.plan .btn { margin-bottom: 22px; }
.plan__features { display: grid; gap: 11px; }
.plan__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .89rem; color: var(--fg-secondary);
}
.plan__features .check { flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.plan__divider { height: 1px; background: var(--border); margin: 18px 0; }
.plan__features-label {
  font-size: .74rem;
  font-weight: 620;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* 6.10 服务卡片 */
.service {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service:hover { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.service__body { flex: 1; }
.service__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 8px;
}
.service h3 { font-size: 1.04rem; }
.service__price {
  font-size: 1.02rem;
  font-weight: 640;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--fg);
}
.service__price small { font-size: .76rem; font-weight: 500; color: var(--fg-muted); }
.service p { color: var(--fg-muted); font-size: .91rem; }

/* 6.11 CTA 区 */
.cta-band {
  position: relative;
  padding: clamp(48px, 7vw, 76px) clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--fg);
  color: var(--bg);
  overflow: hidden;
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  right: -140px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 66%);
  opacity: .3;
  pointer-events: none;
}
.cta-band__inner { position: relative; max-width: 620px; margin-inline: auto; }
.cta-band h2 { color: var(--bg); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .72); margin-bottom: 30px; }
.cta-band__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 6.12 页脚 */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding-block: 64px 32px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer__about p {
  margin-top: 14px;
  font-size: .89rem;
  color: var(--fg-muted);
  max-width: 34ch;
}
.footer__col h4 {
  font-size: .78rem;
  font-weight: 620;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  color: var(--fg-secondary);
  transition: color var(--dur) var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  font-size: .85rem;
  color: var(--fg-muted);
  flex-wrap: wrap;
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--fg); }

/* 6.13 文章正文 */
.article-header { padding-block: 56px 40px; border-bottom: 1px solid var(--border); }
.article-header__meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-header h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 18px; }
.article-header .lead { max-width: 62ch; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 56px;
  padding-block: 48px 72px;
  align-items: start;
}
.prose { max-width: 68ch; font-size: 1.03rem; line-height: 1.78; color: var(--fg-secondary); }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  font-size: 1.5rem;
  margin-top: 44px;
  color: var(--fg);
}
.prose h3 { font-size: 1.18rem; margin-top: 32px; color: var(--fg); }
.prose p { text-wrap: pretty; }
.prose strong { color: var(--fg); }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 4px; }
.prose ul li, .prose ol li { position: relative; padding-left: 24px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 6px; top: 12px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; }
.prose ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: .9em;
  font-weight: 600;
  color: var(--accent);
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.prose code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  font-size: .88em;
  color: var(--fg);
}
.prose pre {
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  overflow-x: auto;
  line-height: 1.6;
}
[data-theme="dark"] .prose pre { background: #0d0d10; }
.prose pre code { padding: 0; background: none; border: 0; font-size: .85em; color: var(--fg); }
.prose blockquote {
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--accent-soft);
  color: var(--fg);
  font-size: 1rem;
}
.prose hr { border: 0; height: 1px; background: var(--border); margin-block: 36px; }

.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-subtle);
}
.toc h4 {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 12px;
}
.toc a {
  display: block;
  padding: 6px 0;
  font-size: .88rem;
  color: var(--fg-muted);
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -1px;
  transition: all var(--dur) var(--ease);
}
.toc a:hover, .toc a.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 36px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.article-nav__item {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.article-nav__item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.article-nav__item:last-child { text-align: right; }
.article-nav__dir { font-size: .78rem; color: var(--fg-faint); margin-bottom: 6px; }
.article-nav__title { font-weight: 570; font-size: .98rem; letter-spacing: -.015em; }
.article-nav__item:hover .article-nav__title { color: var(--accent); }

/* 6.14 页面 Hero（内页） */
.page-hero {
  padding-block: 64px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { max-width: 60ch; }

/* 面包屑 */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb__sep { color: var(--fg-faint); }

/* 6.15 搜索工具栏 */
.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
}
.search {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.search .input { padding-left: 40px; }
.search__icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--fg-faint);
  pointer-events: none;
}
.filter-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.empty-state {
  display: none;
  padding: 64px 24px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
}
.empty-state.is-visible { display: block; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--fg-muted); }

/* 6.16 成就列表 */
.achievement {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.achievement:last-child { border-bottom: 0; }
.achievement__year {
  flex-shrink: 0;
  width: 64px;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 620;
  color: var(--accent);
  padding-top: 3px;
}
.achievement h4 { font-size: 1.02rem; margin-bottom: 5px; }
.achievement p { font-size: .9rem; color: var(--fg-muted); }

.value-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-item p { color: var(--fg-muted); font-size: .92rem; }

/* ---------- 7. 动画 ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px) scale(.97); }
}
@keyframes dash {
  to { stroke-dashoffset: 0; }
}
.chart__line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: dash 1.8s var(--ease-out) forwards;
}

/* 入场动画：仅在 JS 可用时隐藏，避免脚本失效导致内容永久不可见 */
.js [data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.js [data-animate].is-in { opacity: 1; transform: none; }

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

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a { padding-left: 8px; border-left: 0; }
}

@media (max-width: 960px) {
  :root { --section-y: 72px; }
  .nav { display: none; }
  .burger { display: grid; }
  .header__actions .btn--desktop { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .about-preview { grid-template-columns: 1fr; gap: 36px; }
  .portrait { aspect-ratio: 16 / 10; max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .post-card--featured { grid-column: span 1; }
}

@media (max-width: 700px) {
  :root { --gutter: 18px; --section-y: 60px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats__item { text-align: left; display: flex; align-items: baseline; gap: 14px; text-align: left; }
  .hero__shot { margin-top: 40px; }
  .panel__kpis { grid-template-columns: 1fr; }
  .app-window__body { padding: 16px; }
  .app-window__url { display: none; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav__item:last-child { text-align: left; }
  .inline-form { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  .service { flex-direction: column; gap: 14px; }
  .service__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .toast-host { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
  .plan__desc { min-height: 0; }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .monitor__meta { display: none; }
}

/* 打印 */
@media print {
  .header, .footer, .toast-host, .drawer, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
