/* ============================================================
   京东运营双擎 · 官网样式
   设计语言：新粗野主义 Neo-Brutalism + 京东蓝品牌色
   主色取自「京东运营工作台」的 --primary（#3b6cf6 / 淡色 #eaf0ff / 深色 #2a53cc），
   与 workbuddy.homes 共享粗野主义语言（硬阴影 / 像素字体 / 高对比描边）。
   ============================================================ */

/* ---------- 内嵌像素字体（离线保真） ---------- */
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/silkscreen-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/silkscreen-700.ttf') format('truetype');
}

/* ============================================================
   1. 设计令牌
   ============================================================ */
:root {
  /* 京东蓝为品牌主色（取自京东运营工作台的 --primary）
     注意：这是中深色，配白字；浅色主题与「品牌底区块」里同理 */
  --brand:       #3b6cf6;
  --brand-ink:   #6b8cff;   /* 暗底上的品牌色文字，比主色亮一档才够对比度 */
  --brand-soft:  #182449;   /* 暗底上的品牌色淡背景 */
  --ink:         #f2f4f8;
  --ink-invert:  #0d0f16;
  --paper:       #0f1116;
  --paper-alt:   #15181f;
  --surface:     #181b23;
  --surface-2:   #1e2129;
  --muted:       #a8afbe;
  --line:        #333a4b;
  --line-soft:   #242938;
  --edge:        #3b4254;
  --shadow:      6px 6px 0 var(--brand);
  --shadow-sm:   4px 4px 0 var(--brand);

  --grid-line:   rgba(59, 108, 246, .06);
  --glow:        rgba(59, 108, 246, .22);

  /* ---------- 下面这些非颜色令牌同样不能少 ----------
     换主色时如果把整个 :root 整块替换掉，很容易只写颜色而丢掉它们，
     后果是布局直接塌（--maxw 没了页面就贴边、--font-* 没了字体就回退默认）。 */
  --font-body: 'Avenir Next', Avenir, 'PingFang SC', 'Source Han Sans SC',
               'Noto Sans SC', 'Microsoft YaHei UI', 'Hiragino Sans GB',
               'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --font-pixel: 'Silkscreen', ui-monospace, 'SFMono-Regular', Menlo,
                Consolas, 'Courier New', monospace;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas,
               'Liberation Mono', 'Courier New', monospace;

  --r-card: 8px;
  --r-pill: 999px;
  --maxw: 1480px;
  --pad-x: 32px;
}

html[data-theme-allow='1'][data-theme='light'] {
  --brand:       #3b6cf6;
  --brand-ink:   #2a53cc;   /* 亮底上的品牌色文字，比主色深一档 */
  --brand-soft:  #eaf0ff;
  --ink:         #1f2937;
  --ink-invert:  #ffffff;   /* 蓝色是深色 ⇒ 蓝底上恒为白字 */
  --paper:       #f4f6fa;
  --paper-alt:   #eef1f6;
  --surface:     #ffffff;
  --surface-2:   #fbfcfe;
  --muted:       #8a93a3;
  --line:        #e0e6f0;
  --line-soft:   #eef1f6;
  --edge:        #11130e;
  --shadow:      6px 6px 0 var(--ink);
  --shadow-sm:   4px 4px 0 var(--ink);

  --grid-line:   rgba(31, 41, 55, .05);
  --glow:        rgba(59, 108, 246, .14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  /* 蓝图网格底纹 */
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: var(--brand); color: var(--ink-invert); }

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

/* 滚动条 */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-alt); }
::-webkit-scrollbar-thumb {
  background: var(--line);
  border: 3px solid var(--paper-alt);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-ink); }

/* ============================================================
   3. 通用零件
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* 像素标签 */
.px {
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.px-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-ink);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
html[data-theme-allow='1'][data-theme='light'] .px-label { color: #2a53cc; }

/* 描边标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--edge);
  border-radius: var(--r-pill);
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--brand {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--ink-invert);
  font-weight: 700;
}
.tag--ghost { border-color: var(--line); color: var(--muted); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border: 2px solid var(--edge);
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease,
              background-color .16s ease, color .16s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn--primary {
  background: var(--brand);
  border-color: var(--ink-invert);
  color: var(--ink-invert);
}
html[data-theme-allow='1'][data-theme='light'] .btn--primary { border-color: #11130e; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--brand); color: var(--ink-invert); border-color: var(--brand); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn__arrow { font-family: var(--font-pixel); font-size: 13px; }

/* 区块
   🔴 padding 必须带左右 --pad-x：.section 与 .wrap 同为单类选择器且声明在后，
      写成 76px 0 0 会把 .wrap 的水平内边距整个覆盖掉 ——
      class="section wrap" 的八个模块内容就顶到 1480 全宽，
      比 hero / cta / strip / 导航 / 页脚每侧各宽出 32px（v1.3.17 修）。 */
.section { padding: 76px var(--pad-x) 0; }
.section--tight { padding: 56px var(--pad-x) 0; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.section__title {
  margin-top: 10px;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.section__desc {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* 卡片 */
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  transition: transform .18s ease, border-color .18s ease,
              box-shadow .18s ease;
}
.card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   4. 顶部导航
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--edge);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 15px; font-weight: 800; letter-spacing: .01em; }
.brand__sub {
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  position: relative;
  padding: 8px 13px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color .15s ease, background-color .15s ease;
}
.nav__link:hover { color: var(--ink); background: var(--brand-soft); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--brand);
}
.nav__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--edge);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.icon-btn:hover { background: var(--brand); color: var(--ink-invert); border-color: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }

.nav__burger { display: none; }

/* ============================================================
   4.5 品牌底区块的墨色作用域
   品牌蓝（#3b6cf6）是【中深色】，与之前的酸绿（亮色）正好相反 ⇒
   这两个区块内部的文字 / 描边必须恒为【白色】，
   否则会变成「深蓝底 + 近黑字」而完全看不清。
   --brand-ink 也在这里覆盖：区块内若有小号品牌色文字，白字才亮得起来。
   ============================================================ */
.hero,
.cta {
  --brand-ink: #ffffff;
  --ink: #ffffff;
  --ink-invert: #ffffff;
  --edge: rgba(255, 255, 255, .5);
  --muted: rgba(255, 255, 255, .8);
  color: #ffffff;
}

/* 品牌底上的按钮，硬阴影用冷黑，避免和蓝底糊在一起 */
.hero .btn:hover,
.cta .btn:hover {
  box-shadow: 4px 4px 0 #0b1020;
}

/* ============================================================
   5. Hero
   ============================================================ */
.hero {
  margin-top: 24px;
  overflow: hidden;
  border: 2px solid var(--edge);
  border-radius: 10px;
  background: var(--brand);
  box-shadow: var(--shadow);
}
.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
  min-height: 540px;
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, .28), transparent 34%),
    var(--brand);
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 64px 32px 58px 56px;
  color: var(--ink-invert);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 5px 12px;
  border: 1.5px solid var(--ink-invert);
  border-radius: var(--r-pill);
  color: var(--ink-invert);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__dot {
  width: 8px; height: 8px;
  background: var(--ink-invert);
  border-radius: 50%;
  animation: blink 1.6s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.hero__title {
  margin-top: 22px;
  font-size: clamp(36px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.24;
  color: var(--ink-invert);
}
.hero__title em {
  font-style: normal;
  display: inline-block;
  margin-top: 6px;
  padding: 0 14px 2px;
  background: var(--ink-invert);
  color: var(--brand);
  white-space: nowrap;
}
.hero__summary {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.85;
}
.hero__summary b { font-weight: 800; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero__actions .btn--outline { border-color: var(--ink-invert); color: var(--ink-invert); }
.hero__actions .btn--outline:hover { background: var(--ink-invert); color: var(--brand); border-color: var(--ink-invert); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1.5px dashed rgba(17, 19, 14, .35);
  color: var(--ink-invert);
}
.hero__fact { display: flex; flex-direction: column; gap: 2px; }
.hero__fact b {
  font-family: var(--font-pixel);
  font-size: 20px;
  letter-spacing: -.01em;
}
.hero__fact span {
  font-size: 12px;
  font-weight: 600;
  opacity: .72;
  letter-spacing: .02em;
}

/* Hero 右侧插画 */
.hero__art { position: relative; min-height: 540px; }
.hero__monogram {
  position: absolute;
  top: 40px;
  right: 44px;
  color: var(--ink-invert);
  font-family: var(--font-pixel);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.03em;
  opacity: .85;
}
.hero__ico {
  position: absolute;
  display: grid;
  gap: 8px;
  place-items: center;
  width: 124px;
  height: 124px;
  padding: 12px;
  border: 1px solid rgba(17, 19, 14, .16);
  border-radius: 4px;
  background: #fff;
  color: #11130e;
  box-shadow: 0 12px 28px rgba(10, 16, 32, .22);
  transition: transform .28s cubic-bezier(.2, .8, .3, 1);
}
.hero__ico:hover { transform: scale(1.06) rotate(0deg) !important; z-index: 5; }
.hero__ico svg { width: 34px; height: 34px; }
.hero__ico span {
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.35;
}
.hero__ico--1 { top: 30px;  left: 8%;   transform: rotate(-7deg); }
.hero__ico--2 { top: 176px; left: 40%;  transform: rotate(5deg); }
.hero__ico--3 { top: 106px; right: 6%;  transform: rotate(9deg); }
.hero__ico--4 { bottom: 88px; left: 20%; transform: rotate(-5deg); }
.hero__ico--5 { bottom: 44px; right: 12%; transform: rotate(4deg); }

.hero__pulse {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  border: 1.5px dashed rgba(17, 19, 14, .22);
  border-radius: 50%;
  animation: spin 26s linear infinite;
  pointer-events: none;
}
.hero__pulse::before,
.hero__pulse::after {
  content: '';
  position: absolute;
  border: 1.5px dashed rgba(17, 19, 14, .16);
  border-radius: 50%;
}
.hero__pulse::before { inset: 42px; }
.hero__pulse::after { inset: 92px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   6. 数据条 / 价值条
   ============================================================ */
.strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 2px solid var(--edge);
  border-radius: 8px;
  background: var(--line);
}
.strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface);
}
.strip__ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1.5px solid var(--brand);
  border-radius: 4px;
  color: var(--brand-ink);
}
.strip__ico svg { width: 19px; height: 19px; }
.strip__val {
  font-family: var(--font-pixel);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.strip__key {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .03em;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 2px solid var(--edge);
  border-radius: 8px;
  background: var(--line);
}
.values__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface-2);
}
.values__num {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--brand-ink);
  letter-spacing: .06em;
}
.values__text strong { display: block; font-size: 15px; font-weight: 800; }
.values__text span { color: var(--muted); font-size: 12.5px; }
html[data-theme-allow='1'][data-theme='light'] .values__num { color: #2a53cc; }

/* ============================================================
   7. 两大任务
   ============================================================ */
.tasks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.task {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--edge);
  border-radius: 10px;
  background: var(--surface);
}
.task__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--line);
}
.task__no {
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--brand-ink);
}
html[data-theme-allow='1'][data-theme='light'] .task__no { color: #2a53cc; }
.task__title {
  margin-top: 8px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.25;
}
.task__en {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.task__glyph {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 2px solid var(--ink-invert);
  border-radius: 6px;
  background: var(--brand);
  color: var(--ink-invert);
}
html[data-theme-allow='1'][data-theme='light'] .task__glyph { border-color: #11130e; }
.task__glyph svg { width: 26px; height: 26px; }

.task__body { padding: 24px 28px 28px; flex: 1; }
.task__desc { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

.cap {
  display: grid;
  gap: 2px;
  margin-top: 22px;
}
.cap__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 12px;
  border-radius: 5px;
  transition: background-color .15s ease;
}
.cap__item:hover { background: var(--brand-soft); }
.cap__idx {
  padding-top: 1px;
  color: var(--brand-ink);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: .04em;
}
html[data-theme-allow='1'][data-theme='light'] .cap__idx { color: #2a53cc; }
.cap__name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
}
.cap__meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

.task__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.task__out {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.task__out-label {
  margin-right: 4px;
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-alt);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.chip--brand { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }

.task__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ============================================================
   8. 采集源矩阵（表格）
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--edge);
  border-radius: 10px;
  background: var(--surface);
}
table.matrix {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14px;
}
.matrix thead th {
  padding: 15px 20px;
  border-bottom: 2px solid var(--edge);
  background: var(--paper-alt);
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.matrix tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.matrix tbody tr:last-child td { border-bottom: none; }
.matrix tbody tr { transition: background-color .15s ease; }
.matrix tbody tr:hover { background: var(--brand-soft); }
.matrix .src {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.matrix .src__dot {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: 0 0 auto;
  border: 1.5px solid var(--edge);
  border-radius: 4px;
  color: var(--brand-ink);
}
.matrix .src__dot svg { width: 15px; height: 15px; }
html[data-theme-allow='1'][data-theme='light'] .matrix .src__dot { color: #2a53cc; }
.matrix .src strong { font-size: 14.5px; font-weight: 700; }
.matrix code {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper-alt);
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
html[data-theme-allow='1'][data-theme='light'] .matrix code { color: #2a53cc; }
.matrix .muted { color: var(--muted); font-size: 13px; }
.dot-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.dot-live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  animation: blink 1.8s steps(2, start) infinite;
}

/* ============================================================
   9. 工作流四段
   ============================================================ */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: flow;
}
.flow__step {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.flow__step:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.flow__step::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -16px;
  z-index: 2;
  color: var(--brand-ink);
  font-family: var(--font-pixel);
  font-size: 16px;
}
.flow__step:last-child::after { display: none; }
.flow__no {
  font-family: var(--font-pixel);
  font-size: 26px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -.03em;
  line-height: 1;
}
.flow__en {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.flow__title {
  margin-top: 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.015em;
}
.flow__desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.flow__list { margin-top: 14px; display: grid; gap: 7px; }
.flow__list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.flow__list li::before {
  content: '';
  position: absolute;
  top: 8px; left: 0;
  width: 7px; height: 7px;
  background: var(--brand);
}

/* ============================================================
   10. 模块速览
   ============================================================ */
.mods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mod {
  display: flex;
  gap: 14px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mod:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.mod__ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: var(--paper-alt);
  color: var(--brand-ink);
  transition: background-color .18s ease, color .18s ease;
}
.mod:hover .mod__ico { background: var(--brand); color: var(--ink-invert); border-color: var(--brand); }
.mod__ico svg { width: 20px; height: 20px; }
html[data-theme-allow='1'][data-theme='light'] .mod__ico { color: #2a53cc; }
.mod__name { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.mod__desc { margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.mod__owner {
  margin-top: 8px;
  font-family: var(--font-pixel);
  font-size: 10.5px;
  letter-spacing: .07em;
  color: var(--brand-ink);
  text-transform: uppercase;
}
html[data-theme-allow='1'][data-theme='light'] .mod__owner { color: #2a53cc; }
.mod__owner[data-owner='collect'] { color: var(--muted); }
html[data-theme-allow='1'][data-theme='light'] .mod__owner[data-owner='collect'] { color: #8a93a3; }

/* ============================================================
   11. 技术底座
   ============================================================ */
.base {
  display: grid;
  /* 两栏等宽：左边是「设计约束」清单，右边是终端窗口，内容性质相同。
     原来写成 1.1fr / .9fr，左边比右边宽 10%，两张卡并排时明显一高一宽。 */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}
.base__panel {
  padding: 28px;
  border: 2px solid var(--edge);
  border-radius: 10px;
  background: var(--surface);
}
.base__list { display: grid; gap: 4px; margin-top: 20px; }
.base__list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 12px;
  border-radius: 5px;
  transition: background-color .15s ease;
}
.base__list li:hover { background: var(--brand-soft); }
.base__k {
  color: var(--brand-ink);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: .05em;
}
html[data-theme-allow='1'][data-theme='light'] .base__k { color: #2a53cc; }
.base__v { font-size: 14px; line-height: 1.7; }
.base__v strong { display: block; font-weight: 700; }
.base__v span { color: var(--muted); font-size: 13px; }

.term {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--edge);
  border-radius: 10px;
  background: #0b0e16;
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #232a3c;
  background: #111524;
  color: #8b93a6;
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.term__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #3a4258;
}
.term__bar i:first-child { background: var(--brand); }
.term__body {
  flex: 1;
  padding: 20px 18px;
  color: #cfd6e4;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
  overflow-x: auto;
}
.term__body .c { color: #6d7688; }
.term__body .g { color: var(--brand); }
.term__body .y { color: #e8c95a; }
.term__body .b { color: #7fb7d9; }

/* ============================================================
   12. CTA + 页脚
   ============================================================ */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 32px;
  align-items: center;
  margin-top: 76px;
  padding: 44px 44px;
  border: 2px solid var(--edge);
  border-radius: 10px;
  background: var(--brand);
  color: var(--ink-invert);
  box-shadow: var(--shadow);
}
.cta__title {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.cta__desc { margin-top: 14px; color: rgba(255, 255, 255, .92); font-size: 15.5px; line-height: 1.8; }
.cta__acts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
/* 按钮全被过滤掉（目标模块停用）时退化成单栏 */
.cta--narrow { grid-template-columns: minmax(0, 1fr); }
.cta .btn--outline { border-color: var(--ink-invert); color: var(--ink-invert); }
.cta .btn--outline:hover { background: var(--ink-invert); color: var(--brand); border-color: var(--ink-invert); }
.cta .btn--primary { background: var(--ink-invert); border-color: var(--ink-invert); color: var(--brand); }

.footer {
  margin-top: 76px;
  border-top: 2px solid var(--edge);
  background: var(--paper-alt);
}
.footer__inner {
  display: grid;
  /* 列数自适应：后台可以增删「页脚栏目」。
     写死 repeat(3, ...) 时，加第 4 个栏目就会被挤到第二行，
     且第二行的项会占用第一列宽度（1.4fr），看起来像布局坏了。
     auto-fit 会把空轨道折叠掉，3 列时视觉与原来几乎一致。 */
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: 36px;
  padding: 52px 0 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__desc { max-width: 340px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.footer__col h4 {
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer__col li { margin-bottom: 9px; }
.footer__col a {
  color: var(--ink);
  font-size: 13.5px;
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--brand-ink); }
html[data-theme-allow='1'][data-theme='light'] .footer__col a:hover { color: #2a53cc; }
.footer__col span { color: var(--muted); font-size: 13.5px; }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}
.footer__bar .px { font-size: 11px; letter-spacing: .08em; }

/* ============================================================
   13. 入场动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2, .8, .3, 1),
              transform .6s cubic-bezier(.2, .8, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* 回到顶部 */
.totop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--edge);
  border-radius: 0;
  background: var(--brand);
  color: var(--ink-invert);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.totop.is-on { opacity: 1; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }
.totop svg { width: 18px; height: 18px; }

/* 顶部进度条 */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  height: 3px;
  width: 0;
  background: var(--brand);
  transition: width .1s linear;
}

/* ============================================================
   14. 响应式
   ============================================================ */
@media (max-width: 1240px) {
  :root { --pad-x: 24px; }
  .hero__stage { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hero__copy { padding: 52px 40px 48px; }
  .hero__art { min-height: 400px; border-top: 2px solid var(--edge); }
  .hero__pulse { width: 240px; height: 240px; margin: -120px 0 0 -120px; }
  .hero__ico { width: 108px; height: 108px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step::after { display: none; }
  .mods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* 页脚列数由 auto-fit 自动处理，这里只收紧间距 */
  .footer__inner { gap: 28px; }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 18px;
    border-bottom: 2px solid var(--edge);
    background: var(--paper);
  }
  .nav__links.is-open .nav__link { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); }
  .nav__burger { display: grid; }
  .tasks { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .base { grid-template-columns: minmax(0, 1fr); }
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: minmax(0, 1fr); padding: 34px 28px; }
  .cta__acts { justify-content: flex-start; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
  :root { --pad-x: 18px; }
  body { font-size: 15px; }
  .hero__copy { padding: 40px 24px 36px; }
  .hero__title { font-size: clamp(30px, 8vw, 40px); }
  .hero__title em { white-space: normal; }
  .hero__summary { font-size: 15px; }
  .hero__art { min-height: 340px; }
  .hero__ico { width: 92px; height: 92px; }
  .hero__ico svg { width: 26px; height: 26px; }
  .hero__ico span { font-size: 9px; }
  .hero__monogram { font-size: 24px; }
  .strip, .values { grid-template-columns: minmax(0, 1fr); }
  .mods { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .nav__actions .btn { display: none; }
  .brand__sub { display: none; }
  .hero { box-shadow: 4px 4px 0 var(--brand); }
  .cta { box-shadow: 4px 4px 0 var(--brand); }
}

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

/* ============================================================
   13. 价格清单
   ============================================================ */
.plans {
  display: grid;
  /* 方案数量后台可增删，所以用 auto-fit 而不是写死列数 */
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.plan:hover {
  transform: translate(-3px, -3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
/* 推荐档：品牌色描边 + 硬阴影，视觉上抬一档 */
.plan.is-hot {
  border: 2px solid var(--brand);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}
.plan.is-hot .plan__price b { color: var(--brand-ink); }

.plan__badge {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 4px 12px;
  border: 2px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 10.5px;
  letter-spacing: .1em;
}

.plan__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 12px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.plan__price b {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--ink);
}
.plan__price span { color: var(--muted); font-size: 13.5px; }

.plan__desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.plan__feat {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}
.plan__feat li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.65;
}
.plan__feat li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
  font-size: 13px;
}

.plan__act {
  margin-top: auto;
  padding-top: 22px;
}
.plan__act .btn { width: 100%; }

@media (max-width: 640px) {
  .plan { padding: 24px 20px 20px; }
  .plan__price b { font-size: 26px; }
}

/* ============================================================
   下载
   ============================================================ */
.dl {
  display: grid;
  /* 下载项数量后台可增删，用 auto-fit 而不是写死列数 */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.dl__card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.dl__card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.dl__top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.dl__ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  flex: 0 0 auto;
  border: 2px solid var(--ink-invert);
  border-radius: 6px;
  background: var(--brand);
  color: var(--ink-invert);
}
html[data-theme-allow='1'][data-theme='light'] .dl__ico { border-color: #11130e; }
.dl__ico svg { width: 26px; height: 26px; }
.dl__meta { min-width: 0; }
.dl__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.dl__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}
.dl__badge {
  padding: 3px 10px;
  border: 1px solid var(--brand);
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: .05em;
}
html[data-theme-allow='1'][data-theme='light'] .dl__badge { color: #1f2937; }
.dl__badge--muted {
  border-color: var(--line);
  background: var(--paper-alt);
  color: var(--muted);
}
.dl__desc {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.dl__btn { margin-top: 20px; align-self: flex-start; }

@media (max-width: 640px) {
  .dl__card { padding: 24px 20px 20px; }
}

/* ============================================================
   社交媒体（二维码翻转卡）
   ------------------------------------------------------------
   纯 CSS 3D 翻转，零 JS。
   🔴 .soc__tog 那个隐藏 checkbox 不是摆设 —— 触屏没有 hover 态，
      纯 :hover 会让卡片「翻过去回不来」。勾上 checkbox 等于手动翻开。
      桌面用 :hover，触屏用 :checked，两条路都通。
   ============================================================ */
.soc {
  display: grid;
  /* 平台数量后台可增删 ⇒ auto-fit，不写死列数。
     minmax 压到 132px，让 6 个大图标卡在一行里排得下。 */
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 16px;
}
.soc__item { position: relative; }

/* 视觉隐藏但仍可聚焦（键盘 Tab 能选中 → :checked 翻转） */
.soc__tog {
  position: absolute;
  width: 1px; height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.soc__card {
  display: block;
  position: relative;
  height: 100%;
  cursor: pointer;
  perspective: 900px;          /* 透视给 .soc__inner 的 3D 用 */
  -webkit-tap-highlight-color: transparent;
}
.soc__card--flat { cursor: default; }

.soc__inner {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 168px;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2, .8, .3, 1);
}
/* 两种触发：桌面悬停 / 触屏点一下（checkbox 勾上） */
.soc__card:hover .soc__inner,
.soc__tog:checked ~ .soc__card .soc__inner {
  transform: rotateY(180deg);
}
/* 键盘可达：聚焦时也给翻转效果，否则 Tab 用户看不到二维码 */
.soc__tog:focus-visible ~ .soc__card .soc__inner { transform: rotateY(180deg); }

.soc__face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 14px;
  border: 2px solid var(--edge);
  border-radius: var(--r-card);
  background: var(--surface);
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform .6s cubic-bezier(.2, .8, .3, 1),
              border-color .18s ease, box-shadow .18s ease;
}
.soc__face--front { position: relative; }
.soc__face--back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background: var(--surface);
}
.soc__card:hover .soc__face--front,
.soc__tog:checked ~ .soc__card .soc__face--front {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.soc__ico {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;      /* 大图标主导视觉 */
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--paper-alt);
  color: var(--brand-ink);
  transition: background-color .18s ease, color .18s ease;
}
.soc__ico svg { width: 42px; height: 42px; }
.soc__card:hover .soc__ico,
.soc__tog:checked ~ .soc__card .soc__ico { background: var(--brand); color: var(--ink-invert); border-color: var(--brand); }
html[data-theme-allow='1'][data-theme='light'] .soc__ico { color: #2a53cc; }

.soc__name { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.soc__handle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.soc__qr {
  width: 100%;
  max-width: 136px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;          /* 二维码底必须是白的，否则部分扫码器识别失败 */
  padding: 5px;
}
@media (max-width: 640px) {
  .soc__inner { min-height: 140px; }
  .soc__face { padding: 20px 10px; }
  .soc__ico { width: 60px; height: 60px; }
  .soc__ico svg { width: 32px; height: 32px; }
  .soc__name { font-size: 16px; }
}

