/* ============================================================
   TIDE CAPITAL · v12 · 1:1 复刻 Quant landing 视觉系统
   #06060A · #409EFF · 气泡网络 · Bento Grid · 白底主按钮
   ============================================================ */

:root {
  --bg: #06060A;
  --content-max: 1280px;
  --page-gutter: 32px;
  --bg-elev-1: #0E0E14;
  --bg-elev-2: #14141C;
  --bg-elev-3: #1A1A24;
  --line: #1F1F2A;
  --line-soft: #16161E;
  --fg: #FFFFFF;
  --fg-muted: #9CA3AF;
  --fg-dim: #4B5563;
  --brand: #409EFF;
  --brand-2: #2B7FFF;
  --brand-3: #5BAEFF;
  --brand-soft: rgba(64, 158, 255, 0.12);
  --brand-glow: rgba(64, 158, 255, 0.4);
  --up: #26C281;
  --down: #FF5C5C;
  --warn: #F6B73C;
  --purple: #A78BFA;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', 'PingFang SC', 'HarmonyOS Sans SC', 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* 顶部蓝色光晕 + 网格 */
body::before {
  content: '';
  position: fixed;
  top: -400px; left: 50%;
  transform: translateX(-50%);
  width: 1600px; height: 1000px;
  background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(64,158,255,0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 80%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============ Topbar ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  z-index: 50;
  transition: all 0.25s ease;
}
.topbar.scrolled {
  background: rgba(6, 6, 10, 0.7);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  height: 100%;
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-link { display: flex; align-items: center; text-decoration: none; }
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  /* 防爬 + 防框选(保留 <img> 让搜索引擎收录,但禁用右键/拖拽/选中)*/
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: 8px;
  transition: all 0.15s ease;
}
.topnav a:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
.topbar-right { display: flex; align-items: center; gap: 10px; }

/* Lang switch */
.lang {
  display: flex; align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}
.lang button {
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--fg-muted);
  transition: all 0.15s ease;
}
.lang button.active { background: var(--bg-elev-2); color: var(--fg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--fg);
}
html[lang="zh-CN"] .btn, html[lang="zh"] .btn { font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif; }
.btn-ghost {
  color: var(--fg-muted);
  border-color: var(--line);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { color: var(--fg); border-color: #2A2A38; background: var(--bg-elev-1); }
.btn-brand {
  background: #FFFFFF;
  color: #06060A;
  border-color: #FFFFFF;
  font-weight: 600;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 4px 16px rgba(255,255,255,0.08);
}
.btn-brand:hover {
  background: #F2F4F8;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 8px 28px rgba(255,255,255,0.18);
}
.btn-brand svg { color: #06060A; }
.btn-lg { padding: 13px 24px; font-size: 14.5px; }
/* 禁用态:URL 未填的 CTA 按钮 — 灰色、cursor 禁用、关 hover 动画 */
.btn:disabled,
.btn.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.3);
}
.btn:disabled:hover,
.btn.is-disabled:hover {
  transform: none;
  background: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 4px 16px rgba(255,255,255,0.08);
}

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.back {
  position: fixed; top: 16px; left: 16px; z-index: 101;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--fg-muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(6,6,10,0.7);
  backdrop-filter: blur(10px);
}
.back:hover { color: var(--fg); border-color: var(--brand); }

/* ============ Hero ============ */
.hero {
  padding: 128px 0 36px;
  position: relative;
  z-index: 1;
}
.hero-inner { text-align: center; }

.hero-title {
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
html[lang="zh-CN"] .hero-title, html[lang="zh"] .hero-title {
  font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
}
.hero-title .gradient {
  background: linear-gradient(180deg, #FFFFFF 0%, #E5E8EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-title .brand-char { color: var(--brand); display: inline; }

/* Hero ZH/EN 切换 — EN 严格一比一复刻 WordPress(字号 80px / logo 77px / 行距 10px) */
.hero-title .hero-en { display: none; }
html[lang="en"] .hero-title .hero-zh { display: none; }
html[lang="en"] .hero-title .hero-en { display: block; }
/* EN 模式下,父级 .hero-title 改用 WP 原参数,覆盖 clamp 字号 */
html[lang="en"] .hero-title {
  font-size: 5rem;        /* WP 原值 80px */
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}
.hero-title .hero-en-line {
  display: block;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 auto 10px;    /* WP 行距 10px */
  letter-spacing: 0;
}
.hero-title .hero-en-logo {
  display: block;
  height: 77px;           /* WP 原值 */
  width: auto;
  margin: 0 auto;
  /* 防爬:右键事件不命中 img(穿透到父),禁框选、禁拖拽 */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
/* 响应式 — 跟 WordPress 一致 */
@media (max-width: 767.98px) {
  html[lang="en"] .hero-title { font-size: 2.5rem; }
  .hero-title .hero-en-logo { height: 38px; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  html[lang="en"] .hero-title { font-size: 3.5rem; }
  .hero-title .hero-en-logo { height: 52px; }
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 44px;
}
html[lang="zh-CN"] .hero-sub, html[lang="zh"] .hero-sub {
  font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  font-size: 17px; line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
}

/* ============ 视频泡泡 stage (核心视觉) ============ */
.video-bubble-stage {
  --bubble-card-w: 320px;
  --bubble-card-h: 156px;
  position: relative;
  max-width: 100%;
  height: 620px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px;
  border: 1px solid rgba(91,174,255,0.22);
  background:
    radial-gradient(circle at 50% 46%, rgba(64,158,255,0.16), transparent 42%),
    radial-gradient(circle at 18% 72%, rgba(38,194,129,0.13), transparent 34%),
    radial-gradient(circle at 83% 28%, rgba(236,72,153,0.11), transparent 30%),
    linear-gradient(180deg, #05070E 0%, #030509 100%);
  box-shadow:
    0 70px 130px rgba(0,0,0,0.62),
    0 0 0 1px rgba(64,158,255,0.08),
    0 0 90px rgba(64,158,255,0.08) inset;
}
.video-bubble-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.023) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 50%, black 0 58%, transparent 82%);
  opacity: 0.72;
  z-index: 1;
}
.video-bubble-stage::after {
  content: '';
  position: absolute;
  left: -8%; right: -8%; top: 44%;
  height: 150px;
  background: linear-gradient(100deg, transparent 8%, rgba(64,158,255,0.13) 35%, rgba(91,174,255,0.28) 51%, rgba(64,158,255,0.08) 66%, transparent 92%);
  transform: rotate(-11deg);
  filter: blur(1px);
  opacity: 0.78;
  z-index: 2;
}
.video-bubble-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 3;
  display: block;
}
.video-bubble-header {
  position: absolute;
  left: 28px; right: 28px; top: 24px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  font-family: 'JetBrains Mono', monospace;
}
.video-bubble-kicker {
  display: flex; align-items: center; gap: 10px;
  color: var(--brand-3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-shadow: 0 0 20px rgba(64,158,255,0.5);
}
.video-bubble-kicker::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brand);
}
.video-bubble-frame {
  min-width: 132px;
  padding: 8px 12px;
  border: 1px solid rgba(38,194,129,0.36);
  border-radius: 999px;
  background: rgba(38,194,129,0.08);
  color: var(--up);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

/* Hero terminal — 顶部居中无框 · 叠加在气泡 canvas 上方 */
.hero-terminal {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  white-space: nowrap;
  text-shadow:
    0 0 18px rgba(64,158,255,0.55),
    0 2px 10px rgba(0, 0, 0, 0.5);
}
.ht-cmd {
  color: var(--brand-3);
  letter-spacing: 0.10em;
  font-weight: 600;
}
html[lang="zh-CN"] .ht-cmd, html[lang="zh"] .ht-cmd {
  font-family: 'JetBrains Mono', 'Noto Sans SC', monospace;
  letter-spacing: 0.12em;
}
.ht-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--brand);
  margin-left: 2px;
  vertical-align: middle;
  animation: ht-blink 1.1s steps(1) infinite;
  box-shadow: 0 0 12px rgba(64,158,255,0.65);
}
@keyframes ht-blink { 50% { opacity: 0; } }
@media (max-width: 760px) {
  .hero-terminal { font-size: 12px; gap: 8px; top: 22px; }
  .ht-cursor { width: 7px; height: 12px; }
}

.bubble-corner-card {
  position: absolute;
  z-index: 7;
  width: var(--bubble-card-w);
  height: var(--bubble-card-h);
  padding: 10px 12px 8px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(91,174,255,0.26);
  background: linear-gradient(180deg, rgba(7,13,22,0.68), rgba(5,7,12,0.38));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 22px 56px rgba(0,0,0,0.36),
    0 0 42px rgba(64,158,255,0.09) inset;
  font-family: 'JetBrains Mono', monospace;
}
.bubble-corner-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 16% 18%, rgba(91,174,255,0.18), transparent 46%);
  pointer-events: none;
}
.bubble-card-tl { left: 28px; top: 24px; }
.bubble-card-tr { right: 28px; top: 24px; }
.bubble-card-bl { left: 28px; bottom: 24px; }
.bubble-card-br { right: 28px; bottom: 24px; }
.bubble-card-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  height: 20px; margin-bottom: 2px;
  color: var(--brand-3);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.bubble-card-head strong {
  color: var(--up);
  font-size: 9px;
  border: 1px solid rgba(38,194,129,0.42);
  border-radius: 999px;
  padding: 2px 8px;
  background: rgba(38,194,129,0.1);
}
.bubble-feed {
  position: relative; z-index: 1;
  height: 116px; margin-top: 0;
  overflow: hidden;
  mask-image: linear-gradient(transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(transparent, black 6%, black 94%, transparent);
}
.bubble-feed-item {
  min-height: 22px;
  display: grid;
  grid-template-columns: 72px 50px minmax(0, 1fr) 42px;
  column-gap: 4px;
  align-items: center;
  color: rgba(255,255,255,0.72);
  font-size: 9px;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  animation: bubble-feed-in 0.36s ease both;
}
@keyframes bubble-feed-in {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}
.bubble-feed-source { color: var(--brand-3); font-weight: 900; overflow: hidden; text-overflow: ellipsis; }
.bubble-feed-time { color: rgba(156,163,175,0.52); font-weight: 700; letter-spacing: 0.04em; }
.bubble-feed-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bubble-feed-item em { color: var(--up); font-style: normal; font-weight: 900; }
.bubble-feed-item.down em { color: var(--down); }
.bubble-feed-item.neutral em { color: var(--brand-3); }

.bubble-event-word {
  position: relative; z-index: 1;
  margin-top: 4px;
  color: var(--brand-3);
  font-size: 20px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-shadow: 0 0 30px rgba(64,158,255,0.62);
}
.bubble-event-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 8px;
}
.bubble-event-grid span { display: block; color: var(--fg-dim); font-size: 8px; letter-spacing: 0.12em; }
.bubble-event-grid strong { display: block; color: var(--fg); font-size: 11px; margin-top: 3px; }
.bubble-event-grid strong.val-up { color: var(--up); }
.bubble-event-grid strong.val-down { color: var(--down); }
.bubble-event-grid strong.val-warn { color: var(--warn); }

/* ============ Section ============ */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section[id], .workflow[id], .cta[id] { scroll-margin-top: 84px; }
/* 量化板块例外:顶部紧贴顶栏底部,让 features 的 border-top 和顶栏的 border-bottom 在视觉上重合成一条线 */
#features { scroll-margin-top: 68px; }

/* 节段分隔线 modifier classes */
.section--bordered {
  border-top: 1px solid var(--line);
}
.section--sandwich {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(64,158,255,0.03), transparent);
}
.section-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 56px;
  padding: 0 16px;
}
.section-tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  background: var(--bg-elev-1);
  border-radius: 100px;
  font-size: 11.5px;
  color: var(--brand-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
html[lang="zh-CN"] .section-tag, html[lang="zh"] .section-tag {
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.2em;
}
.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
html[lang="zh-CN"] .section-title, html[lang="zh"] .section-title {
  font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.35;
}
.section-title .brand-char { color: var(--brand); display: inline; }
.section-sub {
  font-size: 15.5px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}
html[lang="zh-CN"] .section-sub, html[lang="zh"] .section-sub {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 15px; line-height: 1.85;
}

/* ============ Bento Grid ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card {
  background: linear-gradient(180deg, var(--bg-elev-1), #0A0A12);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: rgba(64,158,255,0.35);
  transform: translateY(-3px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 0 0 1px rgba(64,158,255,0.15),
    0 -10px 40px rgba(64,158,255,0.08) inset;
}
.card:hover .card-glow { opacity: 1; }
.card-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 200px;
  background: radial-gradient(ellipse, rgba(64,158,255,0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card-body { padding: 28px 28px 24px; z-index: 1; position: relative; flex: 1; }
.card-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-soft), transparent 80%);
  border: 1px solid rgba(64,158,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-3);
  margin-bottom: 18px;
}
.card-icon svg { width: 19px; height: 19px; stroke-width: 1.8; }
.card-eyebrow {
  font-size: 11px;
  color: var(--brand-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 10px;
  font-weight: 600;
}
.card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.25;
}
html[lang="zh-CN"] .card-title, html[lang="zh"] .card-title {
  font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  letter-spacing: 0;
}
.card-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}
html[lang="zh-CN"] .card-desc, html[lang="zh"] .card-desc {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 13.5px; line-height: 1.85;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }

/* ============ Manifesto (无卡片叙事 — 替代 About 的 Bento) ============ */
.manifesto-pull {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 auto 48px;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .manifesto-pull { white-space: normal; font-size: clamp(26px, 6vw, 38px); }
}
html[lang="zh-CN"] .manifesto-pull, html[lang="zh"] .manifesto-pull {
  font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.4;
}
.manifesto-pull .brand-char { color: var(--brand); display: inline; }

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.manifesto-grid::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64,158,255,0.4), transparent);
}
.manifesto-item {
  padding: 36px 36px 26px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
}
.manifesto-item:last-child { border-right: none; }
.manifesto-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.manifesto-item:hover { background: rgba(64,158,255,0.025); }
.manifesto-item:hover::after { transform: scaleX(1); }
.manifesto-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 30px rgba(64,158,255,0.30);
}
.manifesto-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--fg-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
.manifesto-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--fg);
  line-height: 1.3;
}
html[lang="zh-CN"] .manifesto-title, html[lang="zh"] .manifesto-title {
  font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.4;
}
.manifesto-body {
  font-size: 14.5px;
  color: var(--fg-muted);
  line-height: 1.78;
}
html[lang="zh-CN"] .manifesto-body, html[lang="zh"] .manifesto-body {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 14px;
  line-height: 1.95;
}

/* Inline flow strip(替代独立 Workflow 节段) */
.flow-strip {
  margin-top: 56px;
  padding: 20px 28px;
  background: linear-gradient(180deg, rgba(64,158,255,0.04), rgba(64,158,255,0.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.flow-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.flow-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid rgba(64,158,255,0.32);
  color: var(--brand-3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.flow-text { min-width: 0; }
.flow-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
}
.flow-text span {
  display: block;
  font-size: 11.5px;
  color: var(--fg-dim);
  margin-top: 3px;
  line-height: 1.3;
}
html[lang="zh-CN"] .flow-text strong, html[lang="zh"] .flow-text strong {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 14px;
}
html[lang="zh-CN"] .flow-text span, html[lang="zh"] .flow-text span {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 11.5px;
}
.flow-arrow {
  color: var(--brand);
  font-size: 16px;
  opacity: 0.5;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; border-top: none; border-bottom: none; }
  .manifesto-grid::before { display: none; }
  .manifesto-item { border-right: none; border-top: 1px solid var(--line); padding: 36px 0; }
  .flow-strip { flex-wrap: wrap; padding: 18px; gap: 12px; }
  .flow-step { flex: 1 0 calc(50% - 6px); }
  .flow-arrow { display: none; }
}

/* ============ Insights ============ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.insight {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--bg-elev-1), #0A0A12);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 320px;
}
.insight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-3), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.insight::after {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 180px;
  background: radial-gradient(ellipse, rgba(64,158,255,0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.insight:hover {
  border-color: rgba(64,158,255,0.35);
  transform: translateY(-3px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 0 0 1px rgba(64,158,255,0.15),
    0 -10px 40px rgba(64,158,255,0.08) inset;
}
.insight:hover::before { opacity: 1; }
.insight:hover::after { opacity: 1; }

.insight .date {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  background: var(--brand-soft);
  border: 1px solid rgba(64,158,255,0.30);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--brand-3);
  letter-spacing: 0.08em;
  align-self: flex-start;
  font-weight: 600;
}
.insight .date::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}

.insight h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
html[lang="zh-CN"] .insight h3, html[lang="zh"] .insight h3 {
  font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.5;
}
.insight:hover h3 { color: var(--brand-3); }

.insight p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--fg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
html[lang="zh-CN"] .insight p, html[lang="zh"] .insight p {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 13px;
  line-height: 1.85;
}

.insight .read-more {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--brand-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: gap 0.3s;
}
.insight:hover .read-more { gap: 12px; }
.insight .read-more svg { width: 14px; height: 8px; }
html[lang="zh-CN"] .insight .read-more, html[lang="zh"] .insight .read-more {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 12.5px;
  text-transform: none;
  letter-spacing: 0.1em;
}

.insights-cta {
  margin-top: 48px;
  text-align: center;
}
.insights-cta a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg-muted);
  transition: all 0.18s ease;
}
.insights-cta a:hover {
  color: var(--fg);
  border-color: rgba(64,158,255,0.35);
  background: var(--brand-soft);
}
html[lang="zh-CN"] .insights-cta a, html[lang="zh"] .insights-cta a {
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.05em;
}

/* ============ Workflow ============ */
.workflow {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(64,158,255,0.03), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.workflow-grid {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.workflow-step {
  text-align: center;
  padding: 24px 18px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
}
.workflow-step::after {
  content: '→';
  position: absolute;
  right: -14px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 16px;
  z-index: 2;
  background: var(--bg);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.workflow-step:last-child::after { display: none; }
.workflow-step .num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid rgba(64,158,255,0.3);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  margin: 0 auto 12px;
}
.workflow-step strong { display: block; font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.workflow-step span { display: block; font-size: 11.5px; color: var(--fg-muted); line-height: 1.55; }
html[lang="zh-CN"] .workflow-step strong, html[lang="zh"] .workflow-step strong {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 14.5px;
}
html[lang="zh-CN"] .workflow-step span, html[lang="zh"] .workflow-step span {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 12px; line-height: 1.75;
}

/* ============ Final CTA ============ */
.cta {
  padding: 160px 0 140px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px; height: 700px;
  background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(64, 158, 255, 0.13), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.cta::after {
  content: '';
  position: absolute;
  top: 55%; left: 30%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.07), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.cta-box {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.cta-box h2 {
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  line-height: 1.12;
}
html[lang="zh-CN"] .cta-box h2, html[lang="zh"] .cta-box h2 {
  font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.3;
}
.cta-box p {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}
html[lang="zh-CN"] .cta-box p, html[lang="zh"] .cta-box p {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 16px; line-height: 1.85;
}
.cta-box .actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 56px;   /* 巨字到按钮之间留呼吸空间(原本由 p 副文占位,删了之后自加) */
}

/* ============ Footer ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.foot-inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  :root { --page-gutter: 20px; }
  .video-bubble-stage { height: 520px; --bubble-card-w: 224px; --bubble-card-h: 142px; }
  .bubble-card-tr, .bubble-card-br { display: none; }
  .bubble-card-tl { left: 16px; top: 54px; }
  .bubble-card-bl { left: 16px; bottom: 20px; }
  .video-bubble-header { left: 18px; right: 18px; top: 18px; }
  .topnav { display: none; }
  .hero { padding: 112px 0 68px; }
  .col-8, .col-7, .col-6, .col-5, .col-4 { grid-column: span 12; }
  .workflow-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .workflow-step::after { display: none; }
  .insights-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* ===== insights.html 独有样式(归档页) ===== */
.page-hero {
  padding: 130px 0 56px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero .chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(64,158,255,0.25);
  background: rgba(64,158,255,0.05);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--brand-3);
  font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  letter-spacing: 0.08em;
  margin-bottom: 26px;
}
html[lang="zh-CN"] .page-hero .chip, html[lang="zh"] .page-hero .chip {
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.2em;
  font-size: 12px;
}
.page-hero .chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}
.page-hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
html[lang="zh-CN"] .page-hero h1, html[lang="zh"] .page-hero h1 {
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0;
  line-height: 1.18;
}
.page-hero h1 .brand-char { color: var(--brand); display: inline; }
.page-hero .sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}
html[lang="zh-CN"] .page-hero .sub, html[lang="zh"] .page-hero .sub {
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.85;
}

/* ============ Archive Listing ============ */
.archive {
  padding: 32px 0 100px;
  position: relative;
  z-index: 1;
}

.archive-year {
  margin-bottom: 56px;
}
.archive-year-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.archive-year-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(64,158,255,0.30);
}
.archive-year-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--fg-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
html[lang="zh-CN"] .archive-year-count, html[lang="zh"] .archive-year-count {
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.2em;
  font-size: 12px;
  text-transform: none;
}

.archive-list {
  display: flex;
  flex-direction: column;
}

.archive-item {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.25s ease;
}
.archive-item:hover {
  background: rgba(64,158,255,0.025);
}
.archive-item:hover .archive-arrow svg { transform: translateX(5px); }
.archive-item:hover .archive-arrow { color: var(--brand-3); }
.archive-item:hover .archive-title { color: var(--brand-3); }

.archive-link {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 40px;
  padding: 32px 24px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 760px) {
  .archive-link { grid-template-columns: 1fr; gap: 14px; padding: 26px 16px; }
}

.archive-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}
.archive-date .day {
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.archive-date .month {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
html[lang="zh-CN"] .archive-date .month, html[lang="zh"] .archive-date .month {
  font-family: 'Noto Sans SC', sans-serif;
  text-transform: none;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.archive-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.archive-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.archive-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
html[lang="zh-CN"] .archive-tag, html[lang="zh"] .archive-tag {
  font-family: 'Noto Sans SC', sans-serif;
  text-transform: none;
  letter-spacing: 0.18em;
  font-size: 11px;
}
/* 标签颜色 — 不再写死 modifier class,由 PHP helper tq_tag_color() 按 slug hash 算出,inline style 注入 */

.archive-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--fg);
  transition: color 0.25s;
}
html[lang="zh-CN"] .archive-title, html[lang="zh"] .archive-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  line-height: 1.5;
  font-size: 20px;
  letter-spacing: 0.005em;
}

.archive-excerpt {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}
html[lang="zh-CN"] .archive-excerpt, html[lang="zh"] .archive-excerpt {
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.9;
  font-size: 14px;
}

.archive-meta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}
html[lang="zh-CN"] .archive-meta, html[lang="zh"] .archive-meta {
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.05em;
  font-size: 12px;
}
.archive-meta-source::before { content: '◆ '; color: var(--brand); }

.archive-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--fg-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  padding-top: 6px;
  transition: color 0.25s;
}
html[lang="zh-CN"] .archive-arrow, html[lang="zh"] .archive-arrow {
  font-family: 'Noto Sans SC', sans-serif;
  text-transform: none;
  letter-spacing: 0.12em;
  font-size: 13px;
}
.archive-arrow svg { width: 16px; height: 8px; transition: transform 0.3s; }
@media (max-width: 760px) { .archive-arrow { padding-top: 0; } }

/* ============ Back to Home CTA ============ */
.back-home {
  margin-top: 48px;
  text-align: center;
}
.back-home a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  border-radius: 9px;
  transition: all 0.18s ease;
}
html[lang="zh-CN"] .back-home a, html[lang="zh"] .back-home a {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 13.5px;
}
.back-home a:hover {
  color: var(--fg);
  border-color: rgba(64,158,255,0.35);
  background: rgba(64,158,255,0.05);
}

/* ============ Footer ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.foot-inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}
html[lang="zh-CN"] .foot-inner, html[lang="zh"] .foot-inner {
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.1em;
}
@media (max-width: 760px) {
  .foot-inner { flex-direction: column; gap: 10px; text-align: center; }
}

/* ===== Bento 功能浏览 9 卡(从 ai.tidecap.com 迁移) ===== */
  .bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    /* 默认 align-items: stretch — 同行卡片宽度+高度都对齐;visual 内容由下方 v-XX 居中 */
  }

  .card {
    background: linear-gradient(180deg, var(--bg-elev-1), #0A0A12);
    border: 1px solid var(--line);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 460px;          /* 全部卡片统一最小高度,visual 区域装得下任何内容 */
    display: flex;
    flex-direction: column;
  }
  .card:hover {
    border-color: rgba(64,158,255,0.35);
    transform: translateY(-3px);
    box-shadow:
      0 20px 50px rgba(0,0,0,0.5),
      0 0 0 1px rgba(64,158,255,0.15),
      0 -10px 40px rgba(64,158,255,0.08) inset;
  }
  .card:hover .card-glow { opacity: 1; }

  .card-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(64,158,255,0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }

  .card-body {
    padding: 20px 24px 0;       /* 28→20 top,28→24 horiz — 整体收紧 */
    z-index: 1;
    position: relative;
  }
  .card-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    margin-top: 8px;            /* 24→8,标题和 visual 之间空白大幅缩短 */
    z-index: 1;
  }

  .card-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-soft), transparent 80%);
    border: 1px solid rgba(64,158,255,0.25);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-3);
    margin-bottom: 10px;        /* 18→10 */
  }
  .card-icon svg { width: 19px; height: 19px; stroke-width: 1.8; }

  .card-eyebrow {
    font-size: 11px;
    color: var(--brand-3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 6px;        /* 10→6 */
    font-weight: 600;
  }

  .card-title {
    font-size: 20px;            /* 22→20 */
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 6px;         /* 10→6 */
    line-height: 1.2;           /* 1.25→1.2 */
  }
  .card-desc {
    font-size: 13px;            /* 14→13 */
    color: var(--fg-muted);
    line-height: 1.45;          /* 1.6→1.45 */
    margin-bottom: 4px;
  }

  /* col 跨度 */
  .col-12 { grid-column: span 12; }
  .col-8 { grid-column: span 8; }
  .col-6 { grid-column: span 6; }
  .col-5 { grid-column: span 5; }
  .col-7 { grid-column: span 7; }
  .col-4 { grid-column: span 4; }

  /* ============ Card visuals (各功能酷炫展示) ============ */

  /* 实时行情:5 列列表 + sparkline — 内容贴 visual 顶部(紧邻标题)*/
  .v-rank {
    padding: 0 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    min-height: 0;
  }
  .v-rank-row {
    display: grid;
    grid-template-columns: 32px 1fr 95px 90px 80px;
    gap: 14px;
    align-items: center;
    padding: 0;                /* 完全去掉 padding,空间靠 height 控制 */
    border-top: 1px solid var(--line-soft);
    line-height: 1.2;
    height: 56px;              /* 固定行高 — 5 行 = 280px,稳稳在 327px 内 */
  }
  .v-rank-row .sym strong { line-height: 1.2; }
  .v-rank-row .sym span {
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .v-rank-row:first-child { border-top: 0; }
  .v-rank-row .ix {
    width: 24px; height: 24px;
    border-radius: 6px;
    background: var(--bg-elev-3);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--fg-muted);
    font-family: 'JetBrains Mono', monospace;
  }
  .v-rank-row.top .ix {
    background: var(--brand-soft);
    color: var(--brand);
    border-color: rgba(64,158,255,0.3);
    box-shadow: 0 0 10px rgba(64,158,255,0.2);
  }
  .v-rank-row .sym strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fg);
  }
  .v-rank-row .sym span {
    display: block;
    font-size: 11px;
    color: var(--fg-dim);
    margin-top: 1px;
  }
  .v-rank-row .row-price {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fg);
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
  }
  .v-rank-row svg { display: block; }
  .v-rank-row .pct {
    font-size: 13.5px;
    font-weight: 600;
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
  }
  .v-rank-row .pct.up { color: var(--up); }
  .v-rank-row .pct.down { color: var(--down); }

  /* 雷达扫描 */
  .v-radar {
    height: 100%;
    min-height: 220px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .radar-svg { width: 200px; height: 200px; position: relative; z-index: 1; }
  .radar-bg circle {
    fill: none;
    stroke: var(--line);
    stroke-width: 1;
  }
  .radar-sweep {
    fill: url(#sweepGrad);
    transform-origin: 100px 100px;
    animation: sweep 3s linear infinite;
  }
  @keyframes sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  .radar-dot {
    fill: var(--brand);
    animation: dot-blink 2s ease-in-out infinite;
  }
  .radar-dot.delay-1 { animation-delay: 0.3s; }
  .radar-dot.delay-2 { animation-delay: 0.7s; }
  .radar-dot.delay-3 { animation-delay: 1.1s; }
  @keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }
  .radar-center-text {
    position: absolute;
    text-align: center;
    color: var(--fg);
    z-index: 2;
    pointer-events: none;
  }
  .radar-center-text strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
  }
  .radar-center-text span {
    display: block;
    font-size: 10px;
    color: var(--fg-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
    font-family: 'JetBrains Mono', monospace;
  }

  /* AI 解读 */
  .v-ai {
    padding: 0 28px 28px;
  }
  .ai-llm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }
  .ai-llm {
    background: var(--bg-elev-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
  }
  .ai-llm-head {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 8px;
  }
  .ai-llm-head .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--up);
    box-shadow: 0 0 8px var(--up);
  }
  .ai-llm-head .dot.alt { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
  .ai-llm-head strong {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--fg);
    letter-spacing: 0.02em;
    font-family: 'JetBrains Mono', monospace;
  }
  .ai-llm-head .lat {
    margin-left: auto;
    font-size: 10px;
    color: var(--fg-dim);
    font-family: 'JetBrains Mono', monospace;
  }
  .ai-llm p {
    font-size: 12px;
    color: var(--fg-muted);
    line-height: 1.55;
  }
  .ai-llm p .up { color: var(--up); font-weight: 600; }
  .ai-llm p .down { color: var(--down); font-weight: 600; }
  .ai-llm p strong { color: var(--fg); font-weight: 600; }

  .ai-verdict {
    background: linear-gradient(135deg, rgba(64,158,255,0.12), rgba(64,158,255,0.03));
    border: 1px solid rgba(64,158,255,0.25);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex; align-items: center; gap: 14px;
  }
  .ai-verdict-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(64,158,255,0.2);
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
  }
  .ai-verdict-icon svg { width: 18px; height: 18px; stroke-width: 2; }
  .ai-verdict-text { flex: 1; }
  .ai-verdict-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 2px;
  }
  .ai-verdict-text span {
    display: block;
    font-size: 11.5px;
    color: var(--fg-muted);
  }

  /* 客户端推送 */
  .v-tg {
    padding: 0 24px 24px;
    position: relative;
  }
  .tg-msg {
    background: var(--bg-elev-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    border-top-left-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 8px;
    max-width: 85%;
    animation: msg-in 0.5s ease both;
    position: relative;
  }
  .tg-msg:nth-child(2) { animation-delay: 0.2s; }
  .tg-msg:nth-child(3) { animation-delay: 0.4s; }
  @keyframes msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .tg-msg-head {
    display: flex; align-items: center; gap: 6px;
    font-size: 10.5px;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 4px;
  }
  .tg-msg-head svg { width: 12px; height: 12px; }
  .tg-msg-body {
    font-size: 12px;
    color: var(--fg);
    line-height: 1.5;
  }
  .tg-msg-body .up { color: var(--up); font-weight: 600; font-family: 'JetBrains Mono', monospace; }
  .tg-msg-body .down { color: var(--down); font-weight: 600; font-family: 'JetBrains Mono', monospace; }
  .tg-msg-body .mono { font-family: 'JetBrains Mono', monospace; }
  .tg-msg-time {
    font-size: 9.5px;
    color: var(--fg-dim);
    font-family: 'JetBrains Mono', monospace;
    text-align: right;
    margin-top: 4px;
  }

  /* 实盘交易 (donut + 持仓列表) */
  .v-trade {
    padding: 0 28px 28px;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    align-items: center;
  }
  .donut-wrap {
    position: relative;
    width: 140px; height: 140px;
  }
  .donut-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
  .donut-bg { fill: none; stroke: var(--line); stroke-width: 14; }
  .donut-seg { fill: none; stroke-width: 14; stroke-linecap: round; }
  .donut-center {
    position: absolute;
    inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
  }
  .donut-center strong {
    font-size: 20px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.01em;
  }
  .donut-center span {
    font-size: 10px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
    font-family: 'JetBrains Mono', monospace;
  }

  .holdings { display: flex; flex-direction: column; gap: 10px; }
  .holding {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 10px;
    align-items: center;
    font-size: 12.5px;
  }
  .holding .swatch { width: 10px; height: 10px; border-radius: 3px; }
  .holding .name { font-weight: 500; color: var(--fg); }
  .holding .name span { color: var(--fg-dim); font-size: 10.5px; margin-left: 4px; }
  .holding .pct {
    font-family: 'JetBrains Mono', monospace;
    color: var(--fg-muted);
    font-size: 11.5px;
    font-weight: 500;
  }

  /* 回测 - 曲线图 */
  .v-backtest {
    padding: 0 28px 28px;
    position: relative;
  }
  .bt-svg {
    width: 100%;
    height: 130px;
  }
  .bt-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 4 个核心指标 */
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
  }
  /* 图例(右上角)*/
  .bt-legend {
    position: absolute;
    top: 0;
    right: 28px;
    display: flex;
    gap: 14px;
    font-size: 10.5px;
    color: var(--fg-muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    z-index: 2;
  }
  .bt-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .bt-legend-item i {
    width: 10px;
    height: 2px;
    border-radius: 1px;
    display: inline-block;
  }
  .bt-legend-item i.dot-strategy { background: var(--brand); }
  .bt-legend-item i.dot-bench {
    background: transparent;
    border-top: 1.5px dashed var(--fg-dim);
    height: 0;
    margin-top: 1px;
  }
  /* 时间轴 */
  .bt-timeline {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--fg-dim);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    margin-top: 6px;
    padding: 0 2px;
  }
  html[lang="zh-CN"] .bt-stat .l, html[lang="zh"] .bt-stat .l {
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: 0.05em;
  }
  .bt-stat .l {
    font-size: 10px;
    color: var(--fg-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 4px;
  }
  .bt-stat .v {
    font-size: 16px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.01em;
  }
  .bt-stat .v.up { color: var(--up); }

  /* API 多交易所 */
  .v-api {
    padding: 0 28px 28px;
  }
  .api-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-top: 1px solid var(--line-soft);
  }
  .api-row:first-child { border-top: 0; }
  .api-row .left {
    display: flex; align-items: center; gap: 12px;
  }
  .api-row .logo {
    width: 28px; height: 28px;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: white;
  }
  .api-row .logo.bn { background: linear-gradient(135deg, #F0B90B, #D89B0A); color: #1A1A23; }
  .api-row .logo.ok { background: linear-gradient(135deg, #1A1A1A, #333); }
  .api-row .logo.by { background: linear-gradient(135deg, #F7A600, #C28200); color: #1A1A23; }
  .api-row .logo.bb { background: linear-gradient(135deg, #4F8FF7, #2766CC); }
  .api-row .name strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--fg);
  }
  .api-row .name span {
    display: block;
    font-size: 10.5px;
    color: var(--fg-dim);
    margin-top: 1px;
    font-family: 'JetBrains Mono', monospace;
  }
  .api-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px;
    color: var(--up);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
  }
  .api-status .pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--up);
    box-shadow: 0 0 8px var(--up);
    animation: pulse-brand 1.8s ease-in-out infinite;
  }
  .api-status.off { color: var(--fg-dim); }
  .api-status.off .pulse { background: var(--fg-dim); box-shadow: none; animation: none; }

  /* 风控 */
  .v-risk {
    padding: 0 28px 28px;
  }
  .risk-bar-wrap {
    margin-bottom: 14px;
  }
  .risk-bar-head {
    display: flex; justify-content: space-between;
    font-size: 11.5px;
    color: var(--fg-muted);
    margin-bottom: 6px;
  }
  .risk-bar-head strong { color: var(--fg); font-weight: 600; }
  .risk-bar-head .num {
    color: var(--fg);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
  }
  .risk-bar {
    height: 6px;
    background: var(--bg-elev-3);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
  }
  .risk-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--up), var(--brand));
    border-radius: 100px;
  }
  .risk-fill.warn { background: linear-gradient(90deg, var(--brand), var(--warn)); }
  .risk-fill.danger { background: linear-gradient(90deg, var(--warn), var(--down)); }

  /* 系统日志 (滚动) */
  .v-log {
    padding: 14px 28px 24px;
    height: 100%;
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
    font-family: 'JetBrains Mono', monospace;
  }
  .log-line {
    font-size: 11.5px;
    color: var(--fg-muted);
    padding: 4px 0;
    display: flex; gap: 12px;
    line-height: 1.5;
    animation: feed-in 0.4s ease both;
  }
  @keyframes feed-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .log-time { color: var(--fg-dim); flex-shrink: 0; }
  .log-tag {
    padding: 0 6px;
    border-radius: 3px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    line-height: 1.6;
  }
  .log-tag.info { background: rgba(64,158,255,0.15); color: var(--brand-3); }
  .log-tag.ok { background: rgba(38,194,129,0.15); color: var(--up); }
  .log-tag.warn { background: rgba(246,183,60,0.15); color: var(--warn); }

  /* ============ 工作流可视化 ============ */
  .workflow {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(64,158,255,0.03), transparent);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 1;
  }

/* Bento 响应式 — 窄屏单列 */
@media (max-width: 900px) {
    .col-8, .col-7, .col-6, .col-5, .col-4 { grid-column: span 12; }
    .v-trade { grid-template-columns: 1fr; }
}

/* ===== 工作流程(5 步链路)— 从 ai.tidecap.com 迁移 ===== */
  .workflow {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(64,158,255,0.03), transparent);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 1;
  }
  .workflow-grid {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
    max-width: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    position: relative;
  }
  .workflow-step {
    text-align: center;
    padding: 24px 18px;
    background: var(--bg-elev-1);
    border: 1px solid var(--line);
    border-radius: 14px;
    position: relative;
  }
  .workflow-step::after {
    content: '→';
    position: absolute;
    right: -14px; top: 50%;
    transform: translateY(-50%);
    color: var(--brand);
    font-size: 16px;
    z-index: 2;
    background: var(--bg);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
  }
  .workflow-step:last-child::after { display: none; }
  .workflow-step .num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--brand-soft);
    border: 1px solid rgba(64,158,255,0.3);
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    margin: 0 auto 12px;
  }
  .workflow-step strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 4px;
  }
  .workflow-step span {
    display: block;
    font-size: 11.5px;
    color: var(--fg-muted);
    line-height: 1.5;
  }
@media (max-width: 900px) {
    .workflow-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .workflow-step::after { display: none; }
}

/* ===== Bento visual 撑满修复 — 卡片对齐时让 visual 内容均匀分布,避免下方空白 ===== */
/* Bento 内的 .card-body 不要 flex: 1(被 line 592 的全局 .card-body 继承了),改回自然高度 */
.bento .card-body { flex: 0 0 auto; }
.card-visual { display: flex; flex-direction: column; }
.v-rank, .v-ai, .v-tg, .v-backtest, .v-risk, .v-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
/* 每张卡 visual 内容在 visual 区内垂直居中(各自独立,不跟其他卡对齐)*/
.v-rank      { justify-content: center; }
.v-ai        { justify-content: center; gap: 14px; }
.v-tg        { justify-content: center; gap: 10px; }
.v-backtest  { justify-content: center; gap: 14px; }
.v-risk      { justify-content: center; gap: 12px; }
.v-log       { justify-content: flex-start; }  /* 日志逐行追加,保持顶对齐 */
.v-radar     { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* ===== 页脚社交图标 ===== */
.foot-social { display: flex; gap: 16px; align-items: center; }
.foot-social a {
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.foot-social a:hover { color: var(--brand); transform: translateY(-1px); }
.foot-social svg { width: 18px; height: 18px; display: block; }

/* ============================================================
   📱 移动端响应式(≤ 768px)
   ============================================================ */

/* 默认隐藏汉堡按钮 — 仅在手机端显示 */
.topbar-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 36px; height: 36px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.topbar-burger span {
  display: block;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: all 0.25s ease;
}
.topbar-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topbar-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  /* === 顶栏 === */
  .topbar { height: 56px; }
  .brand-logo { height: 32px; }
  .topbar-burger { display: flex; }
  .topnav {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(6,6,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .topnav.open { display: flex; }
  .topnav a {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .topnav a:last-child { border-bottom: 0; }

  /* === Hero === */
  .hero { padding-top: 30px; }
  .hero-title { font-size: 44px !important; line-height: 1.1; }
  html[lang="en"] .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 14px; padding: 0 16px; line-height: 1.7; }
  .hero-title .hero-en-logo { height: 42px; }
  .video-bubble-stage { min-height: 320px; margin-top: 24px; }
  /* 移动端隐藏所有 4 个角卡(FACTOR / NEURAL / MARKET / REGIME),只留泡泡 + 顶部 Terminal */
  .bubble-corner-card { display: none !important; }
  .hero-terminal { font-size: 11px; padding: 6px 10px; }

  /* === 各 section padding 缩窄 === */
  .section { padding: 50px 0; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* === About === */
  .manifesto-pull { font-size: 26px !important; line-height: 1.3; padding: 0 8px; }
  .manifesto-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  /* === 板块标题统一缩小 === */
  .section-title { font-size: 32px !important; line-height: 1.2; }
  .section-sub { font-size: 14px; padding: 0 12px; }

  /* === Insights 研报卡 === */
  .insights-grid { grid-template-columns: 1fr !important; gap: 16px; }

  /* === Bento 7 卡 单列 === */
  .col-8, .col-7, .col-6, .col-5, .col-4, .col-12 { grid-column: span 12 !important; }
  .v-trade { grid-template-columns: 1fr !important; }
  .v-ai .ai-llm-row { flex-direction: column; }
  .bt-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* 图例不再用 absolute 压在曲线上,自成一行放 SVG 上方 — 回测线就有完整纵向空间 */
  .bt-legend {
    position: static;
    justify-content: flex-end;
    margin-bottom: 6px;
    font-size: 10px;
    gap: 12px;
  }
  .v-backtest { padding: 0 16px 20px; }
  .bt-svg { height: 120px; }

  /* === LIVE MARKETS 行情卡 — 缩列宽,让"价格 · K 线 · 涨跌幅"都能装下,价格右对齐(末位齐) === */
  .v-rank { padding: 0 16px 20px; }
  .v-rank-row {
    grid-template-columns: 26px minmax(0, 1fr) 62px 48px 54px;
    gap: 8px;
    height: 52px;
  }
  .v-rank-row .ix { width: 22px; height: 22px; font-size: 10px; }
  .v-rank-row .sym strong { font-size: 12.5px; }
  .v-rank-row .sym span { font-size: 10px; }
  .v-rank-row .row-price { font-size: 12.5px; }
  .v-rank-row svg { width: 48px; height: 20px; }
  .v-rank-row .pct { font-size: 12px; }

  /* === Workflow 2 列 === */
  .workflow-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .workflow-step { padding: 16px 12px; }
  .workflow-step::after { display: none; }

  /* === CTA 巨字缩小 === */
  .cta { padding: 60px 0; }
  .cta-box h2 { font-size: 36px !important; line-height: 1.25; }
  .cta-box .actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
  }
  .btn-lg { width: 100%; justify-content: center; }

  /* === Footer === */
  .foot-inner { flex-direction: column; gap: 14px; text-align: center; }
  .foot-social { justify-content: center; }

  /* === 归档页 === */
  .archive-link {
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding: 22px 18px;
  }
  .archive-date { flex-direction: row; gap: 8px; align-items: baseline; }
  .archive-arrow { padding-top: 0; justify-content: flex-end; }
  .page-hero h1 { font-size: 32px !important; padding: 0 12px; }
  .page-hero .sub { font-size: 13.5px; padding: 0 16px; }
  .archive-year-num { font-size: 36px; }
}

/* 平板尺寸:769-1024 */
@media (min-width: 769px) and (max-width: 1024px) {
  .manifesto-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .col-8 { grid-column: span 12; }
  .col-4 { grid-column: span 6; }
}
