/* ==========================================================================
   具脑磐石 EBKernel · 主站样式
   扁平科技风：近纯黑底 + 正红主色 + 惊异金点缀，2px 圆角，1200px 容器
   ========================================================================== */

/* hidden 属性优先于任何组件 display，防止悬浮条/弹层对访客常驻显示 */
[hidden] { display: none !important; }

:root {
  --bg: #07070A;
  --bg-alt: #0B0B10;
  --panel: #0F0F15;
  --panel-2: #12121A;
  --line: #1E1E28;
  --line-2: #2A2A36;

  --red: #FF3B30;
  --red-deep: #C8102E;
  --red-soft: #FF6B63;
  --gold: #FFD02F;

  --txt: #F4F4F6;
  --txt-2: #A2A6B3;
  --txt-3: #6B6F7B;

  --sans: "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans SC",
    -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", ui-monospace, Menlo,
    Consolas, monospace;

  --container: 1200px;
  --radius: 2px;
  --nav-h: 68px;

  /* 导航 / 页脚 / 浮层底 */
  --nav-bg: rgba(7, 7, 10, .82);
  --nav-bg-solid: rgba(7, 7, 10, .95);
  --nav-mobile-bg: rgba(7, 7, 10, .97);
  --foot-bg: #050508;
  --chip-bg: rgba(255, 255, 255, .02);
  --media-bg: #000000;

  /* 全页神经元画布（RGB 通道，供 JS 拼透明度） */
  --fx-line: rgba(255, 255, 255, .028);
  --fx-link-rgb: 255, 107, 99;
  --fx-node-rgb: 255, 107, 99;
  --fx-glow-rgb: 255, 59, 48;
  --fx-pulse-rgb: 255, 107, 99;
  --fx-gold-rgb: 255, 208, 47;

  /* 首屏类脑 SVG */
  --brain-c1: #4E2027;
  --brain-c2: #301419;
  --brain-c3: #170B0F;
  --brain-sheen-a: rgba(255, 198, 182, .20);
  --brain-sheen-b: rgba(255, 198, 182, 0);
  --brain-glow-a: rgba(255, 59, 48, .16);
  --brain-glow-b: rgba(255, 59, 48, 0);
  --brain-cereb-1: #471B22;
  --brain-cereb-2: #150A0D;
  --brain-stem-1: #3E171D;
  --brain-stem-2: #150A0D;
  --lobe-f: rgba(255, 96, 80, .17);
  --lobe-p: rgba(255, 96, 80, .12);
  --lobe-o: rgba(255, 96, 80, .07);
  --lobe-t: rgba(255, 96, 80, .14);
  --rim: rgba(255, 186, 170, .38);
  --gyri: rgba(255, 158, 142, .17);
  --sulci-dark: rgba(0, 0, 0, .62);
  --sulci-faint: rgba(255, 255, 255, .24);
  --cereb-stripe: rgba(255, 176, 158, .34);
  --stem-seg: rgba(255, 255, 255, .14);
  --node-fill: rgba(10, 6, 8, .82);
  --node-flash: #FFFFFF;

  /* 地图卡 */
  --map-bg: #0B0B11;
  --map-glow: rgba(255, 59, 48, .10);
  --map-grid: rgba(255, 255, 255, .028);
  --map-road: rgba(255, 255, 255, .07);
  --map-road-minor: rgba(255, 255, 255, .045);
  --map-label: rgba(255, 255, 255, .38);
  --map-plate: rgba(7, 7, 10, .88);
  --map-pin-hole: #0B0B11;

  /* 金色辅助（浅主题下需降明度保对比） */
  --gold-line: rgba(255, 208, 47, .55);
  --gold-border: rgba(255, 208, 47, .45);
  --gold-tint: rgba(255, 208, 47, .06);

  /* 场景图遮罩（图片压暗层，两主题一致） */
  --scene-mask-top: rgba(7, 7, 10, .06);
  --scene-mask-bot: rgba(7, 7, 10, .88);
}

/* ================= 浅色主题令牌 ================= */
:root[data-theme="light"] {
  color-scheme: light;

  --bg: #F6F6F8;
  --bg-alt: #EEEFF2;
  --panel: #FFFFFF;
  --panel-2: #F0F0F4;
  --line: #E0E1E8;
  --line-2: #C9CBD4;

  --red: #D92D20;
  --red-deep: #B42318;
  --red-soft: #D92D20;
  --gold: #B8860B;

  --txt: #17171C;
  --txt-2: #3A3E48;
  --txt-3: #6B6F7B;

  --nav-bg: rgba(246, 246, 248, .85);
  --nav-bg-solid: rgba(246, 246, 248, .96);
  --nav-mobile-bg: rgba(255, 255, 255, .97);
  --foot-bg: #EDEEF1;
  --chip-bg: rgba(23, 23, 28, .03);

  --fx-line: rgba(23, 23, 28, .05);
  --fx-link-rgb: 200, 50, 40;
  --fx-node-rgb: 200, 50, 40;
  --fx-glow-rgb: 217, 45, 32;
  --fx-pulse-rgb: 200, 50, 40;
  --fx-gold-rgb: 168, 120, 8;

  --brain-c1: #E8B9B2;
  --brain-c2: #DCA79F;
  --brain-c3: #CF948C;
  --brain-sheen-a: rgba(255, 255, 255, .50);
  --brain-sheen-b: rgba(255, 255, 255, 0);
  --brain-glow-a: rgba(217, 45, 32, .10);
  --brain-glow-b: rgba(217, 45, 32, 0);
  --brain-cereb-1: #DFAFA6;
  --brain-cereb-2: #CE978D;
  --brain-stem-1: #D8A99F;
  --brain-stem-2: #CE978D;
  --lobe-f: rgba(217, 45, 32, .10);
  --lobe-p: rgba(217, 45, 32, .07);
  --lobe-o: rgba(217, 45, 32, .05);
  --lobe-t: rgba(217, 45, 32, .09);
  --rim: rgba(120, 40, 35, .45);
  --gyri: rgba(150, 60, 52, .22);
  --sulci-dark: rgba(60, 20, 18, .55);
  --sulci-faint: rgba(23, 23, 28, .28);
  --cereb-stripe: rgba(130, 45, 40, .40);
  --stem-seg: rgba(23, 23, 28, .16);
  --node-fill: rgba(255, 255, 255, .85);
  --node-flash: #B42318;

  --map-bg: #E9EBEF;
  --map-glow: rgba(217, 45, 32, .10);
  --map-grid: rgba(23, 23, 28, .045);
  --map-road: rgba(23, 23, 28, .09);
  --map-road-minor: rgba(23, 23, 28, .06);
  --map-label: rgba(23, 23, 28, .45);
  --map-plate: rgba(255, 255, 255, .92);
  --map-pin-hole: #FFFFFF;

  --gold-line: rgba(184, 134, 11, .55);
  --gold-border: rgba(184, 134, 11, .50);
  --gold-tint: rgba(184, 134, 11, .08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root { color-scheme: dark; }

html { scroll-behavior: smooth; background: var(--bg); }

/* 锚点滚动偏移：固定导航高约 64px，统一预留 84px */
section[id], #careers { scroll-margin-top: 84px; }

/* 键盘焦点可见性 */
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: rgba(255, 59, 48, .35); }

.mono { font-family: var(--mono); }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- 全局背景：神经元画布 + 细网格 ---------- */
.fx-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.fx-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--fx-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--fx-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
}
.site-head, .page-main, .site-foot { position: relative; z-index: 1; }

/* ---------- 顶部导航 ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}
.site-head.is-solid { background: var(--nav-bg-solid); }
.head-row {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  height: var(--nav-h); display: flex; align-items: center; gap: 36px;
}
.brandmark { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brandmark img { height: 26px; width: auto; display: block; }
.brandmark b { color: var(--txt); font-size: 16px; font-weight: 700; letter-spacing: .14em; }
.hero .kicker { text-transform: none; }
html:is([lang="en"], [lang="ja"]) .brandmark b { display: none; }
.head-nav { display: flex; gap: 20px; margin-left: auto; }
.head-nav a {
  position: relative; padding: 6px 2px;
  white-space: nowrap;
  color: var(--txt-2); font-size: 14.5px; letter-spacing: .04em;
  text-decoration: none; transition: color .2s;
}
.head-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--red); transition: right .22s ease;
}
.head-nav a:hover, .head-nav a.is-current { color: var(--txt); }
.head-nav a:hover::after, .head-nav a.is-current::after { right: 0; }
.head-side { display: flex; align-items: center; gap: 16px; flex: none; }

/* 语言下拉：平时只显示当前语言，hover / 点按 / 键盘聚焦展开 */
.locale-menu { position: relative; }
/* 展开时用隐形桥接区盖住按钮与面板之间的缝隙，避免鼠标移向面板途中掉出组件 */
.locale-menu.is-open::after { content: ""; position: absolute; top: 100%; left: -8px; right: -8px; height: 12px; }
.locale-current {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--txt-2); font-family: var(--mono); font-size: 12.5px; cursor: pointer;
  transition: color .2s;
}
.locale-current:hover { color: var(--red); }
.locale-caret { width: 9px; height: 9px; display: block; transition: transform .18s ease; }
.locale-menu.is-open .locale-caret { transform: rotate(180deg); }
.locale-panel {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 76px; z-index: 120;
  display: flex; flex-direction: column; padding: 4px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
:root[data-theme="light"] .locale-panel { box-shadow: 0 10px 28px rgba(23, 23, 28, .14); }
.locale-menu.is-open .locale-panel {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
}
.locale-opt {
  appearance: none; background: transparent; border: 0; border-radius: var(--radius);
  padding: 7px 12px; text-align: left; cursor: pointer;
  color: var(--txt-2); font-family: var(--mono); font-size: 12.5px;
  transition: color .15s, background .15s;
}
.locale-opt:hover { color: var(--txt); background: rgba(255, 59, 48, .1); }
:root[data-theme="light"] .locale-opt:hover { background: rgba(217, 45, 32, .08); }

/* 移动端汉堡抽屉内：平铺三语言按钮（不做下拉） */
.locale-flat {
  display: none;
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
}
.locale-btn {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  padding: 5px 10px; color: var(--txt-2); font-family: var(--mono); font-size: 12.5px;
  transition: color .2s, background .2s;
}
.locale-btn + .locale-btn { border-left: 1px solid var(--line-2); }
.locale-btn:hover { color: var(--txt); }
.locale-btn.is-on { background: var(--red); color: #fff; }

.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 6px 2px; }
.menu-btn i { display: block; width: 20px; height: 2px; background: var(--txt); margin: 4px 0; }

/* 主题切换按钮（图标随主题变化：深色显示太阳=可切浅色，浅色显示月亮） */
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 28px; padding: 0;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--txt-2); cursor: pointer;
  transition: color .2s;
}
.theme-btn:hover { color: var(--red); }
.theme-btn svg { width: 15px; height: 15px; display: block; }
.theme-btn .icon-moon { display: none; }
:root[data-theme="light"] .theme-btn .icon-sun { display: none; }
:root[data-theme="light"] .theme-btn .icon-moon { display: block; }


/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; letter-spacing: .03em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; box-shadow: 0 6px 18px rgba(255, 59, 48, .22);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 59, 48, .34); }
.btn-line { background: transparent; color: var(--txt); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--red); color: var(--red-soft); }
.btn-s { padding: 8px 18px; font-size: 13.5px; }
/* 短文案按钮：收窄横向留白，避免按钮过长 */
.btn-compact { padding: 13px 18px; }
.btn-full { width: 100%; }

/* ---------- 通用卡片 + L 形角标 ---------- */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.panel:hover { border-color: rgba(255, 59, 48, .55); }
.tick { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.tick-nw { top: -1px; left: -1px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.tick-se { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* ---------- 区块骨架：页头四件套 ---------- */
.block { padding: 110px 0; position: relative; }
.block-shade { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red-soft); margin-bottom: 18px;
}
.beat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative; flex: none; }
.beat-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--red); animation: beatRing 2s ease-out infinite;
}
@keyframes beatRing {
  0% { transform: scale(.5); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.block-title { font-size: 40px; font-weight: 800; line-height: 1.25; letter-spacing: .01em; }
.block-lead { color: var(--txt-2); font-size: 16.5px; max-width: 780px; margin-top: 16px; }
.rule { display: flex; align-items: center; gap: 0; margin-top: 26px; }
.rule::before { content: ""; width: 64px; height: 3px; background: var(--red); flex: none; }
.rule::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

/* ---------- 01 首屏 ---------- */
.hero { padding: 140px 0 28px; }
#tech { padding-top: 40px; }
.hero-cols { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero-h { font-size: 52px; font-weight: 900; line-height: 1.22; letter-spacing: .01em; }
.hero-h .l1 { display: block; }
.hero-h .l2 { display: block; margin-top: 10px; color: var(--red); }
.hero-h .l3 {
  display: block; margin-top: 2px; color: var(--red);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
}
.hero-sub { margin-top: 24px; color: var(--txt-2); font-size: 17.5px; max-width: 620px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap;
  max-width: 100%;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 8px 14px; background: var(--chip-bg);
}
.chip b { color: var(--txt); font-size: 14px; }
.chip b::before { content: "▸ "; color: var(--red); }
.chip i { font-style: normal; color: var(--txt-3); font-size: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* 首屏类脑 SVG（实体大脑侧视） */
.hero-visual { position: relative; }
.brain-figure { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 38px rgba(255, 59, 48, .10)); }
.hero.is-motion-paused *, .hero.is-motion-paused *::before, .hero.is-motion-paused *::after { animation-play-state: paused !important; }

.brain-cortex { fill: url(#ebkCortex); }
.brain-sheen { fill: url(#ebkSheen); pointer-events: none; }
.brain-lobe { stroke: none; }
.lobe-frontal { fill: var(--lobe-f); }
.lobe-parietal { fill: var(--lobe-p); }
.lobe-occipital { fill: var(--lobe-o); }
.lobe-temporal { fill: var(--lobe-t); }
.brain-rim { fill: none; stroke: var(--rim); stroke-width: 1.6; stroke-linecap: round; }
.brain-edge {
  fill: none; stroke: var(--red); stroke-width: 2.2;
  stroke-dasharray: 7 5; animation: edgeFlow 26s linear infinite;
}
@keyframes edgeFlow { to { stroke-dashoffset: -480; } }

.brain-gyri path { fill: none; stroke: var(--gyri); stroke-width: 9; stroke-linecap: round; }
.brain-sulci path { fill: none; stroke: var(--sulci-dark); stroke-width: 2.2; stroke-linecap: round; }
.brain-sulci .trunk { stroke: var(--red); stroke-width: 3.4; }
.brain-sulci .faint { stroke: var(--sulci-faint); stroke-width: 1.4; stroke-dasharray: 4 4; }

.brain-cerebellum { fill: url(#ebkCereb); stroke: var(--red); stroke-width: 2.2; }
.cereb-stripe path { fill: none; stroke: var(--cereb-stripe); stroke-width: 1.5; stroke-linecap: round; }

.brain-stem { fill: url(#ebkStem); stroke: var(--red-soft); stroke-width: 1.6; }
.stem-seg path { fill: none; stroke: var(--stem-seg); stroke-width: 1; }
.brain-pons { fill: none; stroke: var(--red-soft); stroke-opacity: .45; stroke-width: 3.4; stroke-linecap: round; }
.brain-cord { fill: none; stroke: var(--red); stroke-opacity: .45; stroke-width: 2; stroke-dasharray: 4 5; }
.brain-branch path { fill: none; stroke: var(--red-soft); stroke-opacity: .3; stroke-width: 1.2; stroke-linecap: round; }

.brain-nodes circle {
  fill: var(--node-fill); stroke: var(--red-soft); stroke-width: 2;
  animation: nodeBlink 3.2s ease-in-out infinite;
}
.brain-nodes .hub { stroke-width: 2.6; }
.brain-nodes circle:nth-child(3n) { animation-delay: .8s; }
.brain-nodes circle:nth-child(3n+1) { animation-delay: 1.6s; }
.brain-nodes circle:nth-child(4n) { animation-delay: 2.4s; }
@keyframes nodeBlink {
  0%, 100% { stroke: var(--red-soft); }
  8% { stroke: var(--node-flash); }
  16% { stroke: var(--red-soft); }
}

.syn-ripple {
  fill: none; stroke: var(--red); stroke-width: 1.3; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: rippleGrow 3.6s ease-out infinite;
}
.syn-ripple.is-gold { stroke: var(--gold); animation-delay: 1.8s; }
@keyframes rippleGrow {
  0% { transform: scale(.35); opacity: .9; }
  65%, 100% { transform: scale(2.8); opacity: 0; }
}

/* 脉冲信号：红金两色为品牌信号色，两主题下保持一致 */
.brain-signal circle { fill: #FF3B30; filter: drop-shadow(0 0 5px rgba(255, 59, 48, .9)); }
.brain-signal .is-gold { fill: #FFD02F; filter: drop-shadow(0 0 5px rgba(255, 208, 47, .9)); }

/* KPI 四卡 */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.kpi-item {
  position: relative; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 18px 24px;
}
.kpi-item::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--red); }
.kpi-value { font-family: var(--mono); font-size: 34px; font-weight: 700; color: var(--red-soft); letter-spacing: -.01em; }
.kpi-caption { color: var(--txt-3); font-size: 12.5px; margin-top: 8px; line-height: 1.55; }
.kpi-note { margin-top: 18px; color: var(--txt-3); font-size: 12.5px; }
.kpi-note a { color: var(--red-soft); text-decoration: none; }
.kpi-note a:hover { text-decoration: underline; }
.scroll-cue {
  display: block; width: 24px; height: 38px; margin: 44px auto 0;
  border: 1px solid var(--line-2); border-radius: 12px; position: relative;
}
.scroll-cue span {
  position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--red); animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- 02 核心能力 ---------- */
.mech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.mech-card { padding: 30px 28px 28px; }
.mech-card:hover { transform: translateY(-3px); }
.mech-no { font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: .2em; margin-bottom: 14px; }
.mech-no::before { content: "MECH_"; color: var(--txt-3); }
.mech-card h3 { font-size: 19px; font-weight: 800; }
.mech-zone {
  font-family: var(--mono); font-size: 11.5px; color: var(--red-soft); letter-spacing: .1em;
  margin: 8px 0 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2);
}
.mech-card p:last-child { color: var(--txt-2); font-size: 14px; }

.arch-split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; margin-top: 18px; }
.arch-panel { padding: 28px; }
.arch-tag {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  color: var(--gold); border: 1px solid var(--gold-border);
  padding: 4px 12px; margin-bottom: 18px; border-radius: var(--radius);
}
.arch-diagram { width: 100%; height: auto; display: block; }
.arch-panel figcaption { color: var(--txt-3); font-size: 12px; margin-top: 14px; }

.goal-stack { display: flex; flex-direction: column; gap: 14px; }
.goal-bar { flex: 1; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.goal-no { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .2em; margin-bottom: 6px; }
.goal-no::before { content: "GOAL_"; color: var(--txt-3); }
.goal-bar h3 { font-size: 18px; font-weight: 800; }
.goal-bar h3::after { content: ""; display: block; width: 22px; height: 2px; background: var(--red); margin-top: 8px; }
.goal-bar p { color: var(--txt-2); font-size: 12.8px; margin-top: 10px; line-height: 1.6; }

/* Demo 视频卡（架构图下方 16px，16:9） */
.demo-panel { margin-top: 16px; padding: 26px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: center; }
.demo-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--media-bg);
}
.demo-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: var(--media-bg); }
.demo-info h3 { font-size: 19px; font-weight: 800; }
.demo-info p { color: var(--txt-2); font-size: 13.5px; margin-top: 12px; }
.demo-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- 03 产品方案 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.form-card { padding: 26px 24px 22px; display: flex; flex-direction: column; }
.form-card:hover { transform: translateY(-3px); }
.form-chip {
  align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  color: var(--red-soft); border: 1px solid rgba(255, 59, 48, .4);
  padding: 3px 10px; border-radius: var(--radius); margin-bottom: 16px;
}
.form-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.form-card > p { color: var(--txt-2); font-size: 13.5px; flex: 1; }
.form-fit { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 12px; color: var(--txt-3); }
.form-fit b { display: block; color: var(--gold); font-size: 13px; margin-top: 3px; }

/* 四场景图卡 */
.scene-block { margin-top: 64px; }
.scene-title { font-size: 26px; font-weight: 800; }
.scene-lead { color: var(--txt-2); font-size: 15px; margin-top: 10px; }
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.scene-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 3 / 4.1;
  transition: border-color .25s, transform .25s;
}
.scene-card:hover { border-color: rgba(255, 59, 48, .6); transform: translateY(-3px); }
.scene-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.scene-card:hover img { transform: scale(1.05); }
.scene-mask { position: absolute; inset: 0; background: linear-gradient(180deg, var(--scene-mask-top) 30%, var(--scene-mask-bot) 78%); }
.scene-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--red); opacity: 0; transition: opacity .25s;
}
.scene-card:hover::after { opacity: 1; }
.scene-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 16px; }
.scene-idx { font-family: var(--mono); font-size: 10.5px; color: var(--gold); letter-spacing: .2em; }
.scene-meta h3 { color: #fff; font-size: 18px; font-weight: 800; margin-top: 6px; }
.scene-meta p { color: #e3e4e8; font-size: 12.2px; line-height: 1.55; margin-top: 6px; }

/* ---------- 04 产业生态 ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
.eco-cell { padding: 24px 26px 22px; }
.eco-cell-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.eco-cell-head h3 { font-size: 17px; font-weight: 800; }
.eco-cell-head h3::before { content: "// "; color: var(--red); font-family: var(--mono); }
.eco-cell-head span { font-family: var(--mono); font-size: 11px; color: var(--txt-3); letter-spacing: .1em; }
.eco-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.eco-item {
  min-width: 0; min-height: 88px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  transition: border-color .2s;
}
.eco-item-wide { grid-column: 1 / -1; }
.eco-logo { width: 100%; height: 64px; display: flex; align-items: center; justify-content: center; }
.eco-item:hover { border-color: rgba(255, 59, 48, .5); }
.eco-item img {
  display: block; width: 100%; height: 100%; max-width: 210px; object-fit: contain;
}
.eco-item-wide img { max-width: 340px; }
.eco-item img[data-media-key="eco-hrbot"] { height: auto; transform: translateY(10%); }
.eco-item img[data-media-key="eco-leju"] { max-width: 170px; width: 82%; }
.eco-item img[data-media-key="eco-nvidia"] { height: auto; aspect-ratio: 3.4; object-fit: cover; }
.eco-item img[data-media-key="eco-fudan"] { max-width: 180px; height: auto; aspect-ratio: 2.7; object-fit: cover; }
.eco-item .eco-name { color: var(--txt); font-weight: 700; font-size: 15.5px; letter-spacing: .04em; }
.eco-partner { min-width: 0; }
.eco-partner > p { margin: 8px 0 0; color: var(--txt-2); font-size: 11px; line-height: 1.7; text-align: center; overflow-wrap: anywhere; }
.eco-remark { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--txt-3); font-size: 12px; text-align: center; }
.eco-closing { margin-top: 26px; text-align: center; color: var(--txt-3); font-size: 13px; }

/* ---------- 招聘：非中文提示条 ---------- */
.jobs-locale-note {
  margin-top: 12px; font-size: 12px; color: var(--gold);
  border: 1px dashed var(--gold-border); border-radius: var(--radius);
  padding: 6px 12px; display: inline-block;
}

/* ---------- 联系渠道卡（mailto 不带查询参数） ---------- */
.chan-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding: 7px 0; border-bottom: 1px dashed var(--line);
  font-size: 13px; color: var(--txt-2);
}
.chan-row:last-of-type { border-bottom: 0; }
.mail-link {
  color: var(--red-soft); text-decoration: none; font-family: var(--mono); font-size: 12.5px;
  word-break: break-all;
}
.mail-link:hover { text-decoration: underline; }
.foot-info .mail-link { font-size: 13px; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--txt-2);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, color .2s, border-color .2s;
}
.to-top svg { width: 18px; height: 18px; display: block; }
.to-top:hover { color: var(--red-soft); border-color: var(--red); }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }

/* ---------- 前台编辑按钮（仅 editor 可见，JS 注入） ---------- */
.edit-fab {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  padding: 4px 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--txt-3); cursor: pointer; transition: color .2s, border-color .2s;
}
.edit-fab:hover { color: var(--red-soft); border-color: var(--red); }
/* 联系区块（section 级锚点）：贴容器右缘 */
.edit-fab-block { top: 96px; right: max(24px, calc(50% - 600px + 16px)); }

/* ---------- 前台轻量编辑模态 ---------- */
.emodal {
  position: fixed; inset: 0; z-index: 150;
  display: none; align-items: center; justify-content: center; padding: 24px;
  background: rgba(0, 0, 0, .6);
}
.emodal.is-open { display: flex; }
.emodal-card {
  width: min(720px, 100%); max-height: 84vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 24px 26px; position: relative;
}
.emodal-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.emodal-card h3::before { content: "// "; color: var(--red); font-family: var(--mono); }
.emodal-row { margin-bottom: 14px; }
.emodal-row label { display: block; font-size: 12.5px; color: var(--txt-2); margin-bottom: 6px; }
.emodal-row input, .emodal-row select, .emodal-row textarea {
  width: 100%; background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: var(--radius); color: var(--txt);
  padding: 9px 12px; font-size: 13.5px; font-family: var(--sans);
}
.emodal-row textarea { min-height: 96px; resize: vertical; }
.emodal-row input:focus, .emodal-row select:focus, .emodal-row textarea:focus { outline: none; border-color: var(--red); }
.emodal-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--txt-2); }
.emodal-check input { width: auto; accent-color: var(--red); }
.emodal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.emodal-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: 0; color: var(--txt-3); font-size: 20px; cursor: pointer; line-height: 1;
}
.emodal-close:hover { color: var(--red-soft); }
.emodal-msg { font-size: 12.5px; margin-top: 10px; min-height: 18px; }
.emodal-msg.is-err { color: var(--red); }
.emodal-msg.is-ok { color: var(--gold); }

/* ---------- JD 页新结构 ---------- */
.jd-badge {
  display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  color: var(--gold); border: 1px solid var(--gold-border);
  padding: 4px 12px; border-radius: var(--radius); margin-bottom: 16px;
}
.jd-cta-band {
  margin-top: 40px; padding: 22px 24px;
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: var(--radius);
}
.jd-cta-band p { color: var(--txt-2); font-size: 14px; margin-bottom: 16px; }
.jd-cta-band .jd-cta { margin-top: 0; }

/* ---------- 可视化编辑模式（仅 editor） ---------- */
.nav-edit-btn {
  height: 28px; padding: 0 12px;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--txt-2); font-family: var(--mono); font-size: 12px; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.nav-edit-btn:hover { color: var(--red-soft); border-color: var(--red); }
.nav-edit-btn.is-on { background: var(--red); border-color: var(--red); color: #fff; }

body.edit-mode { padding-top: 44px; }
/* 编辑栏占住顶部 44px，固定导航整体下移，避免被遮盖 */
body.edit-mode .site-head { top: 44px; }
body.edit-mode .fx-rise { opacity: 1 !important; transform: none !important; transition: none !important; }
body.edit-mode :is(.hero-cols, .mech-grid, .arch-split, .demo-panel, .form-grid, .scene-grid, .eco-grid, .about-split, .contact-split, .foot-cols, .foot-nav, .field-pair) > * { min-width: 0; }

.edit-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 140;
  min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 8px 20px;
  background: var(--panel-2); border-bottom: 2px solid var(--red);
  font-size: 13px; color: var(--txt-2);
}
.edit-bar-hint { display: inline-flex; align-items: center; gap: 8px; }
.edit-bar-hint::before { content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.edit-bar-actions { display: inline-flex; gap: 10px; }
.edit-bar-btn {
  padding: 5px 18px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--txt);
  transition: color .2s, border-color .2s, background .2s;
}
.edit-bar-btn:hover { border-color: var(--red); color: var(--red-soft); }
.edit-bar-btn.is-primary { background: var(--red); border-color: var(--red); color: #fff; }
.edit-bar-btn.is-primary:hover { color: #fff; filter: brightness(1.08); }

/* 可编辑文字 / 可替换媒体的红色虚线框 */
body.edit-mode [data-i18n].is-editing { min-width: 0; max-width: 100%; outline: 1.5px dashed var(--red); outline-offset: 2px; }
body.edit-mode [data-media-key].is-editing { outline: 1.5px dashed var(--red); outline-offset: 2px; cursor: pointer; }
/* 内联编辑 input：字号/颜色继承原文字，仅红色虚线示意 */
.edit-inline {
  font: inherit; color: inherit; letter-spacing: inherit; text-align: inherit;
  background: transparent; border: 0; border-bottom: 1.5px dashed var(--red);
  padding: 0; margin: 0; min-width: 3ch; max-width: 100%;
  outline: none; border-radius: 0;
}
.edit-inline:focus { border-bottom-color: var(--gold); }

/* 状态横幅配色 */
.edit-bar-state { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.edit-bar-state[data-state="saved"] { color: #3FB950; }
.edit-bar-state[data-state="dirty"], .edit-bar-state[data-state="saving"], .edit-bar-state[data-state="loading"] { color: var(--gold); }
.edit-bar-state[data-state="error"], .edit-bar-state[data-state="conflict"] { color: var(--red); }
.edit-bar-btn.is-warn { border-color: var(--gold-border); color: var(--gold); }
.edit-bar-btn.is-warn:hover { border-color: var(--gold); color: var(--gold); }

/* 登录模态卡片（居中、双主题沿用令牌） */
.login-card { width: min(380px, 100%); }
.media-replace-badge {
  position: absolute; right: 6px; bottom: 6px; z-index: 6; pointer-events: none;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: var(--radius); letter-spacing: .06em;
}
.site-head .brandmark .media-replace-badge { display: none; }
.eco-item { position: relative; }
/* 内联 SVG 被图片替换时：继承原容器宽高，contain 不塌 */
.media-svg-replace { width: 100%; height: auto; display: block; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  body.edit-mode .fx-rise { transition: none; }
}


/* ---------- 05 关于我们 ---------- */
#about { --about-section-gap: 32px; }
.history-head .about-subtitle, .hiring-head .about-subtitle { font-size: 22px; font-weight: 800; line-height: 1.7; letter-spacing: 0; margin: 0; }
.about-split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; margin-top: 56px; }
.history-panel { padding: 28px 30px; }
.history-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.history-head h4 { margin-bottom: 0; }
.more-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red-soft); font-size: 13px; text-decoration: none; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }
.history-list { list-style: none; }
.history-list li { position: relative; padding: 0 0 22px 30px; border-left: 1px solid var(--line-2); margin-left: 8px; }
.history-list li:last-child { border-left-color: transparent; padding-bottom: 4px; }
.history-list li::before {
  content: ""; position: absolute; left: -5.5px; top: 6px;
  width: 10px; height: 10px; background: var(--bg);
  border: 2px solid var(--red); border-radius: 50%;
}
.history-list li:last-child::before { border-color: var(--gold); }
.history-list b { font-family: var(--mono); color: var(--red-soft); font-size: 13px; display: block; }
.history-list span { color: var(--txt-2); font-size: 14px; }
.history-note { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); color: var(--txt-3); font-size: 12.5px; }
.history-note:empty { display: none; }

.blog-panel { padding: 28px 30px; }
.blog-panel h3 { font-size: 20px; font-weight: 800; margin: 4px 0 12px; }
.blog-panel > p { color: var(--txt-2); font-size: 13.5px; margin-bottom: 22px; }

/* 诚聘英才 */
.hiring-panel { margin-top: var(--about-section-gap); padding: 28px 30px; }
.hiring-head > p { color: var(--txt-2); font-size: 13.5px; margin-top: 8px; }
.role-list { margin-top: 20px; border-top: 1px solid var(--line); }
.role-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 26px;
  padding: 18px 6px; border-bottom: 1px solid var(--line);
  text-decoration: none; transition: background .2s;
}
.role-row:hover { background: rgba(255, 59, 48, .05); }
.role-main h4 { font-size: 15.5px; font-weight: 700; color: var(--txt); transition: color .2s; }
.role-row:hover .role-main h4 { color: var(--red-soft); }
.role-main p { color: var(--txt-3); font-size: 12.5px; margin-top: 4px; }
.role-tags { display: flex; gap: 10px; }
.role-tags span {
  font-family: var(--mono); font-size: 11px; color: var(--txt-2); letter-spacing: .06em;
  border: 1px solid var(--line-2); padding: 3px 10px; border-radius: var(--radius); white-space: nowrap;
}
.role-go { color: var(--red); font-size: 16px; padding: 0 6px; }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.pagination-status { margin-right: auto; color: var(--txt-3); font-size: 12.5px; }
.page-button { width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--txt-2); font: inherit; font-size: 13px; cursor: pointer; }
.page-button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.page-button[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.page-button[aria-current="page"]:hover { color: #fff; }
.page-button:disabled { opacity: .35; cursor: default; }
.jobs-empty { padding: 24px 0; color: var(--txt-3); font-size: 14px; }

/* News uses the same typography and separators as the homepage. */
.news-main { min-height: 70vh; padding: 116px 0 72px; }
.news-back { margin-bottom: 32px; }
.news-list { margin-top: 40px; border-top: 1px solid var(--line-2); }
.news-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.news-date { color: var(--red-soft); font: 13px var(--mono); padding-top: 6px; }
.news-item h2 { font-size: 20px; line-height: 1.6; font-weight: 700; letter-spacing: 0; }
.news-item .more-link { margin-top: 14px; }

/* ---------- 06 联系 ---------- */
.contact-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 56px; }
.form-panel { padding: 30px 32px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { margin-bottom: 18px; }
.f-group label { display: block; font-size: 13px; color: var(--txt-2); margin-bottom: 7px; letter-spacing: .03em; }
.f-group input, .f-group select, .f-group textarea {
  width: 100%; background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: var(--radius); color: var(--txt);
  padding: 11px 14px; font-size: 14px; font-family: var(--sans);
  transition: border-color .2s;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus { outline: none; border-color: var(--red); }
.f-group select option { background: var(--panel-2); }
.f-group.has-error input, .f-group.has-error select { border-color: var(--red); }
.f-error { color: var(--red); font-size: 12px; min-height: 18px; margin-top: 4px; }
.f-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.f-check input { width: auto; accent-color: var(--red); }
.f-check label { margin: 0; }
.f-hint { color: var(--txt-3); font-size: 12px; margin-top: 12px; }
/* 蜜罐字段：移出视口隐藏，屏幕阅读器与 Tab 序均跳过（tabindex -1 + aria-hidden） */
.f-honeypot { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-rail { display: flex; flex-direction: column; gap: 14px; }
.addr-panel { padding: 22px 24px; flex: 0 0 auto; }
.addr-panel h4 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.addr-panel h4::before { content: "▸ "; color: var(--red); }
.addr-text { color: var(--txt); font-size: 14px; line-height: 1.7; }
.todo-mark { color: var(--gold); font-weight: 500; }

/* 公司位置地图截图 */
.map-panel { padding: 20px 20px 16px; flex: 1; display: flex; flex-direction: column; }
.map-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.map-panel-head h4 { font-size: 15px; font-weight: 800; }
.map-panel-head h4::before { content: "▸ "; color: var(--red); }
.map-ext { color: var(--red-soft); font-size: 12px; text-decoration: none; white-space: nowrap; }
.map-ext:hover { text-decoration: underline; }
.map-stage {
  position: relative; display: block; width: 100%; flex: 0 0 auto; aspect-ratio: 1033 / 837;
  border: 1px solid var(--line-2); overflow: hidden;
  background: var(--map-bg);
}
.map-snapshot { display: block; width: 100%; height: 100%; object-fit: contain; }
.map-company-label {
  position: absolute; left: 57.2%; bottom: 52.5%; transform: translateX(-50%);
  width: 200px; max-width: 80%; padding: 8px 10px; box-sizing: border-box;
  background: #fff; color: #242424; border: 1px solid #ccd2da;
  font-size: 12px; line-height: 18px; font-weight: 700; text-align: center;
  box-shadow: 0 1px 3px #00000014; pointer-events: none;
}
.map-company-label::after {
  content: ""; position: absolute; left: 50%; bottom: -5px;
  width: 8px; height: 8px; background: #fff;
  border-right: 1px solid #ccd2da; border-bottom: 1px solid #ccd2da;
  transform: translateX(-50%) rotate(45deg);
}
.map-stage:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.map-footnote { color: var(--txt-3); font-size: 11.5px; margin-top: 10px; }

/* ---------- 页脚 ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--foot-bg); padding: 60px 0 0; }
.foot-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.foot-brand .brandmark { margin-bottom: 16px; }
.foot-brand p { color: var(--txt-3); font-size: 13px; }
.foot-nav { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 36px; row-gap: 10px; align-content: start; }
.foot-nav a { color: var(--txt-2); text-decoration: none; font-size: 13.5px; }
.foot-nav a:hover { color: var(--red-soft); }
.foot-info p { color: var(--txt-2); font-size: 13px; font-weight: 400; margin-bottom: 8px; }
.foot-info .mail-link, .foot-info .todo-mark { font-family: inherit; font-weight: 400; }
.foot-base {
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 20px; padding-bottom: 20px;
  color: var(--txt-3); font-size: 12px;
}
.foot-base .mono { font-size: 12px; }
.footer-language { display: flex; gap: 4px; flex-shrink: 0; }
.footer-language button { min-width: 44px; min-height: 44px; padding: 8px; border: 0; border-bottom: 2px solid transparent; color: var(--txt-2); background: transparent; font: inherit; cursor: pointer; }
.footer-language button[aria-pressed="true"] { color: var(--red-soft); border-bottom-color: currentColor; }
.footer-language button:hover { color: var(--txt); }

/* ---------- Toast ---------- */
.toast-box {
  position: fixed; bottom: 32px; left: 50%; transform: translate(-50%, 20px);
  background: var(--panel-2); border: 1px solid var(--red);
  color: var(--txt); font-size: 14px; padding: 12px 24px;
  border-radius: var(--radius); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; z-index: 200;
}
.toast-box.is-live { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 滚动显现 ---------- */
.fx-rise { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.fx-rise.is-shown { opacity: 1; transform: none; }

/* ---------- JD 职位详情页 ---------- */
.jd-body { max-width: 880px; margin: 0 auto; padding: 130px 32px 80px; }
.jd-return { display: inline-block; color: var(--txt-2); text-decoration: none; font-size: 13.5px; margin-bottom: 26px; transition: color .2s; }
.jd-return:hover { color: var(--red-soft); }
.jd-h1 { font-size: 34px; font-weight: 800; line-height: 1.3; }
.jd-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.jd-badges span { font-family: var(--mono); font-size: 12.5px; color: var(--txt-2); border: 1px solid var(--line-2); padding: 5px 14px; border-radius: var(--radius); }
.jd-badges b { color: var(--gold); font-weight: 600; margin-left: 6px; }
.jd-summary { color: var(--txt-2); font-size: 15px; margin-top: 22px; }
.jd-part { margin-top: 36px; }
.jd-part h3 { font-size: 17px; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.jd-part h3::before { content: "// "; color: var(--red); font-family: var(--mono); }
.jd-part ul { list-style: none; }
.jd-part li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--txt-2); font-size: 14px; }
.jd-part li::before { content: "▸"; position: absolute; left: 0; color: var(--red); }
.jd-cta { margin-top: 40px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.jd-disclaimer { color: var(--txt-3); font-size: 12px; margin-top: 14px; }
.jd-empty { border: 1px dashed var(--line-2); padding: 40px; text-align: center; color: var(--txt-3); margin-top: 30px; }
.jd-base { border-top: 1px solid var(--line); padding: 22px 32px; text-align: center; color: var(--txt-3); font-size: 12px; }

/* ---------- 响应式（1080 / 720） ---------- */
@media (max-width: 1200px) {
  .head-row { justify-content: space-between; gap: 16px; }
  .head-nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--nav-mobile-bg); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 10px 0; display: none;
  }
  .head-nav.is-open { display: flex; }
  body.edit-mode .head-nav { top: calc(var(--nav-h) + 44px); }
  .head-nav a { padding: 13px 32px; }
  .menu-btn { display: block; }
  .head-cta { display: none; }
  .locale-menu { display: none; }
  .locale-flat { display: inline-flex; margin: 8px 32px 12px; }
  .locale-flat .locale-btn { padding: 8px 14px; }
  .jd-page .locale-menu { display: block; }
}

@media (max-width: 1080px) {
  .hero-cols { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-h { font-size: 42px; }
  .hero-tags { overflow-x: auto; padding-bottom: 4px; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .mech-grid { grid-template-columns: 1fr; }
  .arch-split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .role-row { gap: 14px; }
  .eco-grid { grid-template-columns: 1fr; }
  .about-split, .contact-split { grid-template-columns: 1fr; }
  .demo-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  #about { --about-section-gap: 24px; }
  .wrap { padding: 0 20px; }
  .block { padding: 72px 0; }
  .hero { padding-top: 130px; }
  .hero-h { font-size: 32px; }
  .hero-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .chip { min-width: 0; flex-direction: column; gap: 4px; white-space: normal; padding: 10px; }
  .hero-actions .btn { max-width: 100%; text-align: center; }
  .block-title { font-size: 28px; }
  /* KPI 保持 2×2，交付形态单列 */
  .form-grid { grid-template-columns: 1fr; }
  .head-row { padding: 0 20px; gap: 10px; }
  .head-side { gap: 10px; }
  .brandmark { gap: 8px; }
  .site-head .brandmark img { height: 22px; }
  .site-head .brandmark b { font-size: 14px; letter-spacing: 0; }
  body.edit-mode .site-head .brandmark b { display: none; }
  .field-pair { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
  .foot-base { flex-direction: column; gap: 8px; }
  .history-panel, .blog-panel, .hiring-panel { padding: 24px 20px; }
  .pagination { justify-content: center; }
  .pagination-status { flex-basis: 100%; text-align: center; margin: 0 0 4px; }
  .eco-item { padding: 10px; }
  .news-main { padding-top: 104px; }
  .news-item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .news-item h2 { font-size: 18px; }
}

@media (max-width: 380px) {
  .hero-h { font-size: 28px; letter-spacing: 0; }
  .head-row { padding: 0 16px; }
  .site-head .brandmark img { height: 18px; }
  .site-head .brandmark b { font-size: 12px; }
  .head-side { gap: 6px; }
  .nav-edit-btn { padding: 0 8px; }
}

@media (max-width: 480px) {
  .scene-grid { grid-template-columns: 1fr; }
  .scene-card { aspect-ratio: 4 / 3; }
}

/* ---------- 降级：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx-rise { opacity: 1; transform: none; transition: none; }
  .locale-panel, .locale-caret, .to-top { transition: none; }
  .beat-dot::after, .scroll-cue span, .brain-edge, .brain-nodes circle, .syn-ripple { animation: none; }
  .fx-canvas { display: none; }
}
.head-nav .mobile-blog-link { display: none; }
@media (max-width: 1200px) { .head-nav .mobile-blog-link { display: block; } }
