/* ═══════════════════════════════════════════════════════════════════════════
   OAIRoute v3 样式表
   ───────────────────────────────────────────────────────────────────────────
   设计原则（改动前请先读）：
     · 浅色底 + 灰阶体系 + 唯一强调蓝。全站只有一个彩色，其余靠明度分层。
       这是"不廉价"的来源 —— 廉价感几乎总是来自颜色太多。
     · 主按钮是近黑而非蓝，悬停才转蓝。大面积铺品牌色会显廉价。
     · 区块之间靠间距和 1px 细线分隔，不用背景色块。
     · 想换强调色只改 --blue 一个值。
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── 唯一强调色 ── */
  --blue:      #2B5CE6;
  --blue-lt:   #5B85FF;
  --blue-dk:   #1E47C4;
  --blue-wash: rgba(43,92,230,.075);

  /* ── 墨与灰阶 ── */
  --ink:    #0B1020;   /* 近黑，比纯黑柔和，长文更耐读 */
  --ink-2:  #1A2135;
  --gray-1: #5A6478;   /* 正文次级 */
  --gray-2: #8B93A7;   /* 辅助说明 */
  --gray-3: #C3C9D6;   /* 占位 / 分隔 */
  --line:   #E6E9F0;
  --line-2: #EFF1F6;
  --paper:  #F7F8FA;   /* 纸感底，不用纯白 */
  --white:  #FFFFFF;

  /* ── 语义色（只在必要处用）── */
  --green: #0E9F6E;
  --amber: #C2740A;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1200px;
  --maxw-n: 1280px;
  --r: 12px;
  --r-lg: 18px;

  /* 阴影分层 —— 高级感来自阴影的层次，不是颜色的饱和度 */
  --sh-1: 0 1px 2px rgba(11,16,32,.04);
  --sh-2: 0 4px 16px -6px rgba(11,16,32,.10);
  --sh-3: 0 12px 34px -12px rgba(11,16,32,.16);
  --sh-blue: 0 10px 30px -10px rgba(43,92,230,.42);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(84px + var(--ann-h, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: rgba(43,92,230,.16); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--gray-3); border-radius: 6px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--gray-2); }

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  padding: 10px 18px; border-radius: 0 0 10px 10px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
  transition: top .18s;
}
.skip-link:focus { top: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ═══════════════════════════════════════════════════════════════════════════
   区块骨架
   ═══════════════════════════════════════════════════════════════════════════ */
.sec { padding: 100px 0; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }

.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 15px;
}
.kicker::before {
  content: ''; width: 20px; height: 1.5px; flex: none;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.sec-head.center .kicker::before { display: none; }

.sec-head h2 {
  font-size: clamp(27px, 3.7vw, 38px);
  line-height: 1.14; font-weight: 800; letter-spacing: -.032em;
  margin-bottom: 15px;
}
.sec-head p { font-size: 16.5px; color: var(--gray-1); line-height: 1.66; max-width: 62ch; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

.sec-foot { margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   按钮
   ═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 10px;
  font-size: 14.8px; font-weight: 600; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .22s, background .18s, border-color .18s;
}
.btn svg { width: 15px; height: 15px; flex: none; }

/* 主按钮近黑，悬停转蓝 —— 比一上来就铺蓝更贵气 */
.btn-p { background: var(--ink); color: #fff; box-shadow: 0 2px 14px -4px rgba(11,16,32,.34); }
.btn-p:hover { background: var(--blue); transform: translateY(-2px); box-shadow: var(--sh-blue); }

.btn-g { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-g:hover { border-color: var(--gray-3); transform: translateY(-2px); box-shadow: var(--sh-2); }

.btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 11px; }

.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 550; color: var(--blue);
  transition: gap .18s;
}
.tlink:hover { gap: 11px; }
.tlink svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════════════════════
   顶部通知栏
   ───────────────────────────────────────────────────────────────────────────
   设计取舍：没有照搬常见的高饱和渐变横幅 —— 整站只有一个强调蓝，
   再来一条彩色横幅会立刻显得廉价。这里用近黑底 + 极淡的蓝紫微光，
   靠"同一套色系的暗色变体"制造层级，而不是引入新颜色。
   ═══════════════════════════════════════════════════════════════════════════ */
.ann {
  position: relative; z-index: 101;
  background: var(--ink);
  background-image:
    radial-gradient(120% 180% at 8% 0%, rgba(43,92,230,.30), transparent 62%),
    radial-gradient(90% 160% at 92% 100%, rgba(120,70,220,.20), transparent 60%);
  color: #fff;
  overflow: hidden;
}
.ann-in {
  position: relative;
  max-width: var(--maxw-n); margin: 0 auto;
  padding: 8px 52px;
  display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center; gap: 14px;
  min-height: 46px;
}
.ann-mid {
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.ann-txt {
  min-width: 0; max-width: 100%;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  justify-content: center;
  font-size: 13.6px; font-weight: 500; line-height: 1.45;
  color: rgba(255,255,255,.92);
  opacity: 1; transition: opacity .16s ease;
  text-align: center;
}
/* 行数钳制 —— 在 announcements.js 里改 maxLines 就等于改高度。
   emoji / badge 放在这个容器内部，保证它们和正文一起被截断，不会单独占一行。 */
.ann-t {
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: var(--ann-lines, 2);
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}
.ann-t .ann-emoji { margin-right: 4px; }
.ann-t .ann-badge { margin-right: 6px; vertical-align: 1px; }

/* ── 轮播控件 ── */
.ann-nav {
  width: 32px; height: 32px; flex: none; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  justify-self: center;
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.62);
  transition: color .16s, background .16s, border-color .16s;
}
.ann-nav svg { width: 12px; height: 12px; transform: rotate(90deg); }
.ann-nav.next svg { transform: rotate(-90deg); }
.ann-nav:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.ann-nav:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }

.ann-dots { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.ann-dot {
  width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.3);
  transition: background .2s, width .2s;
}
.ann-dot.on { background: #fff; width: 14px; border-radius: 3px; }
.ann-dot:hover { background: rgba(255,255,255,.6); }
.ann-dot:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }
.ann-emoji {
  flex: none; font-size: 15px; line-height: 1;
  /* 轻微上下浮动 —— 幅度刻意很小，持续好看的动效靠的是克制 */
  display: inline-block;
  animation: annBob 3.2s ease-in-out infinite;
}
@keyframes annBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .ann-emoji { animation: none; }
}
.ann-badge {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px; flex: none;
  background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}
.ann-cta {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 7px;
  font-size: 13px; font-weight: 600; color: #fff;
  border: 1px solid rgba(255,255,255,.34);
  transition: background .18s, border-color .18s, gap .18s;
}
.ann-cta svg { width: 12px; height: 12px; }
.ann-cta:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); gap: 9px; }
.ann-x {
  position: absolute; top: 50%; right: 16px; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: rgba(255,255,255,.6);
  transition: color .16s, background .16s, border-color .16s;
}
.ann-x svg { width: 14px; height: 14px; }
.ann-x:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.ann-x:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }

/* 通知栏存在时，锚点跳转要额外避开它的高度（真实高度由 JS 实测覆盖） */
html.has-ann { --ann-h: 46px; }
@media (max-width: 640px) {
  .ann-in {
    padding: 10px 6px;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    gap: 6px; min-height: 0;
  }
  .ann-mid { gap: 6px; }
  .ann-txt { font-size: 12.6px; gap: 6px; line-height: 1.5; }
  /* 手机上按断裁会把公告截成「...」，这里多给一行。
     行数上限仍受 announcements.js 的 maxLines 约束，只是手机 +1 行。 */
  .ann-t { -webkit-line-clamp: calc(var(--ann-lines, 2) + 1); }
  .ann-badge { font-size: 8.5px; padding: 2px 5px; }
  .ann-nav { width: 24px; height: 24px; border-radius: 6px; }
  .ann-dots { gap: 4px; }
  .ann-dot.on { width: 11px; }
  /* 手机上让出右上角给关闭叉：给它留一块不参与栅格的空间 */
  .ann-in { padding-right: 30px; }
  .ann-x { position: absolute; top: 3px; right: 2px; transform: none; width: 24px; height: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   导航 —— 胶囊悬浮形态
   ───────────────────────────────────────────────────────────────────────────
   不用通栏白条：整条做成一个圆角悬浮容器，内容和视口边缘离开，
   首屏点阵背景从它四周透出来，比平铺一条白带更有层次。
   ═══════════════════════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 14px 20px 0;
  background: transparent;
  pointer-events: none;          /* 只有胶囊本体接收点击 */
}
.nav-in {
  pointer-events: auto;
  max-width: 1180px; margin: 0 auto;
  padding: 0 26px; height: 58px;
  /* 三栏等分：logo | 菜单 | 右侧留白。
     用 grid 而不是 flex —— flex 下 logo 会占掉左侧，菜单只能在
     剩余空间里居中，整体就偏右了。 */
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 18px -8px rgba(11,16,32,.14);
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.nav.scrolled .nav-in {
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 28px -14px rgba(11,16,32,.24);
  border-color: rgba(11,16,32,.09);
}

.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { display: block; height: 26px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 26px; flex: 1; justify-content: center; }
.nav-links a, .drop-btn {
  font-size: 14.2px; color: var(--gray-1); font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .16s; position: relative;
}
.nav-links a:hover, .drop-btn:hover, .drop-btn[aria-expanded="true"] { color: var(--ink); }
/* 下划线滑出 */
.nav-links > a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -20px;
  height: 2px; background: var(--blue);
  transition: right .26s cubic-bezier(.2,.8,.2,1);
}
.nav-links > a:hover::after { right: 0; }

.soon {
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 5px; border-radius: 4px; margin-left: 2px;
  background: var(--line-2); color: var(--gray-2);
}

.drop { position: relative; }
.drop-btn svg { width: 11px; height: 11px; opacity: .5; transition: transform .2s; }
.drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); opacity: .9; }
.drop-menu {
  position: absolute; top: calc(100% + 18px); left: -14px; z-index: 120;
  min-width: 300px; padding: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-3);
  opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform-origin: top left;
}
.drop-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.drop-menu a { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 9px; transition: background .14s; }
.drop-menu a:hover { background: var(--paper); }
.dm-ico {
  width: 32px; height: 32px; flex: none; border-radius: 9px;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.dm-ico svg, .dm-ico img { width: 16px; height: 16px; color: var(--blue); }
.dm-ico img { object-fit: contain; }
.dm-ico .fb { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--blue); }
.dm-b { min-width: 0; flex: 1; }
.dm-n { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.dm-d { font-size: 12.5px; color: var(--gray-2); line-height: 1.45; margin-top: 2px; }

.tag-live {
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(14,159,110,.1); color: var(--green);
  border: 1px solid rgba(14,159,110,.22);
}

.nav-right { display: flex; align-items: center; gap: 18px; flex: none; }
.signin { font-size: 14.2px; color: var(--gray-1); font-weight: 500; transition: color .16s; }
.signin:hover { color: var(--ink); }
.cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8.5px 16px; border-radius: 8px;
  background: var(--ink); color: #fff;
  font-size: 13.6px; font-weight: 600;
  transition: transform .18s, background .18s, box-shadow .22s;
}
.cta:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(43,92,230,.5); }
.cta svg { width: 12.5px; height: 12.5px; }

.burger { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.burger svg { width: 18px; height: 18px; }
.nav-mobile {
  display: none; border-top: 1px solid var(--line);
  background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
  padding: 8px 28px 20px;
  pointer-events: auto;          /* .nav 整体不接收事件，菜单要单独放行 */
  max-width: 1180px; margin: 8px auto 0;
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 8px 28px -14px rgba(11,16,32,.24);
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 13px 0; font-size: 15.5px; color: var(--gray-1); border-bottom: 1px solid var(--line-2); }
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .btn { width: 100%; margin-top: 14px; }

/* ═══════════════════════════════════════════════════════════════════════════
   首屏 · The Router
   ═══════════════════════════════════════════════════════════════════════════ */
.hero { position: relative; overflow: hidden; background: var(--white); padding: 20px 28px 122px; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(78% 54% at 50% 44%, var(--blue-wash), transparent 70%);
}
/* 首屏背景画布：铺满 .hero，垫在光晕之上、内容之下。
   pointer-events:none 让它不拦截任何鼠标事件；事件由 .hero 冒泡上来。 */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-in { position: relative; z-index: 2; max-width: 1480px; margin: 0 auto; text-align: center; }

/* 阅读区鼠标涟漪层：固定铺满视口，压在内容之上但不拦点击 */
.side-fx {
  position: fixed; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  pointer-events: none;
}
main > :not(.side-fx), footer { position: relative; z-index: 1; }

/* h1 视觉上隐藏但爬虫和屏幕阅读器可读 —— 视觉由下面的舞台承担 */
.hero-h1 {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 46px 0 18px; }
.eyebrow i {
  display: block; width: 52px; height: 1.5px; background: var(--ink); flex: none;
  transform-origin: left; animation: ruleIn .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes ruleIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.eyebrow span {
  font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--blue); animation: fadeUp .8s ease-out .15s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── 舞台 ── */
.stage {
  position: relative; margin: 30px 0 34px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: clamp(32px, 5.4vw, 110px);
}

.rail { display: flex; flex-direction: column; gap: 9px; }
.rail.left { align-items: flex-end; }
.rail.right { align-items: flex-start; }

.node {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--gray-1);
  white-space: nowrap; cursor: default;
  transition: border-color .34s cubic-bezier(.2,.8,.2,1), color .34s,
              box-shadow .34s, transform .34s, opacity .34s, filter .34s;
}
.node i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gray-3); flex: none;
  transition: background .34s, box-shadow .34s;
}
.node img { width: 15px; height: 15px; flex: none; object-fit: contain; }

/* 自动巡航点亮 */
.node.lit { border-color: var(--blue); color: var(--ink); box-shadow: 0 2px 12px -3px rgba(43,92,230,.3); transform: scale(1.04); }
.node.lit i { background: var(--blue); box-shadow: 0 0 0 3px rgba(43,92,230,.18); }

/* 悬停：只暗淡同侧 */
.rail.focusing .node { opacity: .32; filter: saturate(.5); }
.rail.focusing .node.hot {
  opacity: 1; filter: none;
  border-color: var(--blue); color: var(--ink); background: var(--white);
  box-shadow: 0 8px 24px -6px rgba(43,92,230,.34), 0 0 0 3px rgba(43,92,230,.09);
  transform: scale(1.09); z-index: 3;
}
.rail.left.focusing  .node.hot { transform: scale(1.09) translateX(-3px); }
.rail.right.focusing .node.hot { transform: scale(1.09) translateX(3px); }
.rail.focusing .node.hot i { background: var(--blue); box-shadow: 0 0 0 4px rgba(43,92,230,.22); }

/* ── 中央路由器 ── */
.router {
  position: relative;
  padding: clamp(22px,3.4vw,38px) clamp(26px,4vw,56px);
  border: 1.5px solid var(--ink); border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 12px 40px -14px rgba(11,16,32,.22);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
  cursor: default;
}
.router.hot {
  transform: translateY(-5px) scale(1.028);
  border-color: var(--blue);
  box-shadow: 0 26px 64px -18px rgba(43,92,230,.4),
              0 0 0 5px rgba(43,92,230,.075),
              0 2px 10px rgba(11,16,32,.08);
}
.router::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(43,92,230,.07), transparent 62%);
  opacity: 0; transition: opacity .4s;
}
.router.hot::after { opacity: 1; }

.router .wm {
  font-size: clamp(40px, 8.4vw, 104px);
  font-weight: 900; letter-spacing: -.05em; line-height: 1; white-space: nowrap;
}
.router .wm .a { color: var(--ink); }
.router .wm .b { color: var(--blue); }
/* .com 基线对齐的独立小字，不挤在上标 */
.router .wm .t {
  font-size: .2em; font-weight: 700; color: var(--gray-3);
  letter-spacing: .01em; margin-left: .14em;
  display: inline-block; transform: translateY(-.06em);
}

.router .cap {
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: border-color .4s;
}
.router.hot .cap { border-top-color: rgba(43,92,230,.24); }
.router .cap b { font-size: clamp(13px,1.15vw,15px); font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.router .cap em { font-style: normal; width: 4px; height: 4px; border-radius: 50%; background: var(--gray-3); flex: none; }
.router .cap span {
  font-family: var(--mono); font-size: clamp(10.5px,.95vw,12px);
  letter-spacing: .12em; text-transform: uppercase; color: var(--gray-2);
}

/* ── 连线 ── */
.wires { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.wires svg { width: 100%; height: 100%; overflow: visible; display: block; }
.wires path.base { fill: none; stroke: var(--line); stroke-width: 1.5; transition: stroke .34s, stroke-width .34s; }
.wires path.base.on  { stroke: var(--blue-lt); stroke-width: 2; }
.wires path.base.dim { stroke: var(--line-2); }
.wires path.base.hot { stroke: var(--blue); stroke-width: 2.4; }
.wires circle.flow { fill: var(--blue); filter: drop-shadow(0 0 5px rgba(43,92,230,.65)); }
.wires circle.tail { fill: var(--blue-lt); opacity: .45; }

.hero .sub {
  font-size: clamp(14.5px,1.22vw,16.5px); color: var(--gray-1); line-height: 1.6;
  max-width: 54ch; margin: 0 auto 28px; animation: fadeUp .8s ease-out .5s both;
}
.hero .sub b { color: var(--ink); font-weight: 600; }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; animation: fadeUp .8s ease-out .62s both; }

/* ── 首屏行动区：两个入口并列（都是「获取 Key」）──
   扁平结构：图标 + 名称 + 按钮在同一行，描述压在下面一行。
   卡片用首页主色系的淡蓝底 + 蓝描边，比纯白卡更醒目，
   让两个入口在首屏有足够的存在感。
   两张卡完全平级：同底色、同按钮。不要加 primary。 */
.hero-act {
  max-width: 760px; margin: 28px auto 0;
  animation: fadeUp .8s ease-out .66s both;
}
.hact-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; align-items: stretch;
}
.hact {
  display: flex; flex-direction: column; gap: 9px;
  padding: 13px 15px 14px; text-align: left;
  background: rgba(43,92,230,.042);
  border: 1px solid rgba(43,92,230,.14);
  border-radius: var(--r);
  transition: border-color .18s, box-shadow .24s, transform .18s;
}
/* ── 卡片色调 ──
   两张卡是并列关系，不分主次，但底色用人眼能分辨的两个浅色调区分：
     blue   品牌蓝 —— API Gateway（主网关）
     violet 蓝紫  —— Ark Global（垂类模型）
     slate  冷灰  —— 备用，想再加第三张卡时用
   ⚠️ 用实色而不是低透明度 rgba：白色底上叠 8% 的蓝只算出 rgb(239,243,253)，
      肉眼根本看不出渐变。这里的浅色值是可辨识的下限，再淡就白做了。 */
.hact.tint-blue {
  background: linear-gradient(135deg, #E7EDFF 0%, #F3F6FF 52%, #EBF0FF 100%);
  border-color: rgba(43,92,230,.24);
}
.hact.tint-violet {
  background: linear-gradient(135deg, #ECE8FF 0%, #F5F2FF 52%, #EEEAFF 100%);
  border-color: rgba(96,86,220,.24);
}
.hact.tint-slate {
  background: linear-gradient(135deg, #EDEFF4 0%, #F6F7FA 52%, #EFF1F6 100%);
  border-color: rgba(90,100,120,.22);
}
.hact:hover {
  border-color: rgba(43,92,230,.32);
  box-shadow: 0 6px 22px -14px rgba(43,92,230,.45);
  transform: translateY(-2px);
}
.hact.tint-blue:hover { border-color: rgba(43,92,230,.46); box-shadow: 0 8px 24px -14px rgba(43,92,230,.55); }
.hact.tint-violet:hover { border-color: rgba(96,86,220,.46); box-shadow: 0 8px 24px -14px rgba(96,86,220,.55); }
.hact.tint-slate:hover { border-color: rgba(90,100,120,.38); box-shadow: 0 8px 24px -14px rgba(90,100,120,.45); }

/* 第一行：图标 · 名称 · 按钮。按钮靠 margin-left:auto 吃掉右侧空白 */
.hact-row { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hact-ico {
  width: 28px; height: 28px; flex: none; border-radius: 8px;
  background: var(--white); border: 1px solid rgba(43,92,230,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.hact-ico svg, .hact-ico img { width: 15px; height: 15px; object-fit: contain; }
.hact-ico .fb { font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--blue); }

.hact-n {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  font-size: 14px; font-weight: 650; color: var(--ink); letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 描述：允许两行，超出用省略号截断。
   左内边距 = 图标 28px + 行内间距 9px，保证和上面名称首字对齐。 */
.hact-d {
  font-size: 13.4px; line-height: 1.5; color: var(--gray-1);
  padding-left: 37px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 卡内按钮：两张卡完全并列，外观一模一样。
   位置在标题行右侧，宽度随文字，引导点击但不压过标题。 */
.hact-cta {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 11px; border-radius: 7px;
  font-size: 12.2px; font-weight: 600; white-space: nowrap;
  background: var(--ink); border: 1px solid var(--ink); color: #fff;
  box-shadow: 0 2px 10px -4px rgba(11,16,32,.32);
  transition: background .18s, border-color .18s, gap .18s, box-shadow .22s;
}
.hact-cta svg { width: 11.5px; height: 11.5px; }
.hact-cta:hover {
  background: var(--blue); border-color: var(--blue);
  box-shadow: 0 8px 20px -10px rgba(43,92,230,.6); gap: 9px;
}
.hact-cta:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.hact-foot { margin-top: 11px; text-align: center; }
.hact-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.6px; font-weight: 550; color: var(--gray-1);
  transition: color .16s, gap .18s;
}
.hact-link svg { width: 13px; height: 13px; }
.hact-link:hover { color: var(--blue); gap: 11px; }

/* 首屏可复制的 base URL */
.endpoint {
  margin: 40px auto 0; max-width: 620px;
  display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .8s ease-out .72s both;
}
.endpoint .lbl { font-size: 12.5px; color: var(--gray-2); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.endpoint button {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  padding: 10px 15px; border-radius: 9px;
  transition: border-color .2s, background .2s, transform .18s;
}
.endpoint button:hover { border-color: var(--blue); background: var(--white); transform: translateY(-1px); }
.endpoint button .k { color: var(--blue); font-weight: 600; }
.endpoint button svg { width: 13px; height: 13px; opacity: .45; }
.endpoint button.done { border-color: var(--green); color: var(--green); }
.endpoint button.done svg { opacity: 1; }

.trust {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .8s ease-out .82s both;
}
.stat { padding: 0 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 11.5px; color: var(--gray-2); }

/* ═══════════════════════════════════════════════════════════════════════════
   厂商墙
   ═══════════════════════════════════════════════════════════════════════════ */
.providers { padding: 60px 0; border-top: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.prov-label {
  text-align: center; margin-bottom: 32px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gray-2);
}
.marquee {
  position: relative;
  overflow: hidden;   /* ⚠️ 必需：track 是 max-content 宽（可达 4000px+），不裁剪会撑破页面产生横向滚动 */
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scrollX 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }

.chip {
  display: flex; align-items: center; gap: 10px; flex: none;
  padding: 10px 18px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .24s, box-shadow .24s, transform .24s;
}
.chip:hover { border-color: var(--gray-3); box-shadow: var(--sh-2); transform: translateY(-2px); }
.chip img { width: 20px; height: 20px; flex: none; object-fit: contain; }
.chip .fb {
  width: 20px; height: 20px; flex: none; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--line-2); font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--blue);
}
.chip span { font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--gray-1); }

.prov-note {
  max-width: 760px; margin: 30px auto 0; text-align: center;
  font-size: 11.5px; color: var(--gray-2); line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   代码框
   ═══════════════════════════════════════════════════════════════════════════ */
.code {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh-1); transition: box-shadow .3s, border-color .3s;
}
.code:hover { box-shadow: var(--sh-2); border-color: var(--gray-3); }

.code-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 15px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #F0685F; }
.dots i:nth-child(2) { background: #F4BD4E; }
.dots i:nth-child(3) { background: #61C554; }
.code-file {
  font-family: var(--mono); font-size: 12px; color: var(--gray-2);
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cp {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 5px 11px; border-radius: 7px; border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--mono); font-size: 11.5px; color: var(--gray-1);
  transition: border-color .18s, color .18s, background .18s;
}
.cp:hover { border-color: var(--blue); color: var(--blue); }
.cp.done { border-color: var(--green); color: var(--green); background: rgba(14,159,110,.06); }
.cp svg { width: 12px; height: 12px; }

.code-body {
  padding: 17px 19px; overflow-x: auto; background: var(--white);
  font-family: var(--mono); font-size: 13px; line-height: 1.72; color: var(--ink-2);
  -webkit-overflow-scrolling: touch;
}
.code-body pre { white-space: pre; tab-size: 2; }
.code-body::-webkit-scrollbar { height: 7px; }

/* 语法高亮 —— 浅底配色，参考 GitHub Light */
.t-c { color: #8B93A7; font-style: italic; }
.t-k { color: #CF222E; }
.t-s { color: #0A3069; }
.t-n { color: #953800; }
.t-f { color: #6639BA; }
.t-p { color: #6E7781; }
.t-v { color: #0550AE; }

/* ═══════════════════════════════════════════════════════════════════════════
   Quick Start
   ═══════════════════════════════════════════════════════════════════════════ */
.qs-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 30px; align-items: start; }
/* ⚠️ 子项必须允许收缩。默认 min-width:auto 会让 <pre> 的内容宽度
   把整列顶开，手机上直接撑出横向滚动条。 */
.qs-grid > * { min-width: 0; }

.tabs {
  display: flex; gap: 4px; padding: 4px; margin-bottom: 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  width: max-content; max-width: 100%; overflow-x: auto;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 8px 16px; border-radius: 7px; white-space: nowrap;
  font-size: 13.5px; font-weight: 550; color: var(--gray-2);
  transition: background .18s, color .18s, box-shadow .18s;
}
.tab:hover { color: var(--gray-1); }
.tab.on { background: var(--white); color: var(--ink); box-shadow: var(--sh-1); }

.tab-panel { display: none; }
.tab-panel.on { display: block; animation: slideIn .32s cubic-bezier(.2,.8,.2,1); }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.qs-steps { display: flex; flex-direction: column; gap: 6px; }
.step {
  display: flex; gap: 14px; padding: 17px 18px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  transition: border-color .24s, box-shadow .24s, transform .24s;
}
.step:hover { border-color: var(--gray-3); box-shadow: var(--sh-2); transform: translateX(3px); }
.step-n {
  width: 26px; height: 26px; flex: none; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-wash); border: 1px solid rgba(43,92,230,.2);
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--blue);
}
.step h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.step p { font-size: 13.5px; color: var(--gray-2); line-height: 1.58; }
.step code, .hint code {
  font-family: var(--mono); font-size: 12.5px;
  background: var(--blue-wash); color: var(--blue);
  padding: 1.5px 6px; border-radius: 5px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Ark Global 聚光灯
   ═══════════════════════════════════════════════════════════════════════════ */
.spot {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white); padding: 44px;
  box-shadow: var(--sh-1);
}
/* 淡淡的图纸网格，不用色块 */
.spot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 70% at 88% 6%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(80% 70% at 88% 6%, #000, transparent 70%);
}
.spot > * { position: relative; z-index: 1; }

.spot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 38px; flex-wrap: wrap; }
.spot-l { flex: 1; min-width: 280px; }
.spot-title { display: flex; align-items: center; gap: 14px; margin-bottom: 13px; }
.spot-title img { width: 44px; height: 44px; }
.spot-title h2 { font-size: clamp(25px,3.3vw,35px); font-weight: 800; letter-spacing: -.032em; }
.spot-l p { font-size: 16px; color: var(--gray-1); max-width: 60ch; line-height: 1.66; }

.spot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px,1fr)); gap: 15px; }
.spot-item {
  padding: 21px; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color .26s, background .26s, transform .26s, box-shadow .26s;
}
.spot-item:hover { border-color: var(--blue); background: var(--white); transform: translateY(-4px); box-shadow: var(--sh-3); }
.spot-ico {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-wash); border: 1px solid rgba(43,92,230,.18);
}
.spot-ico svg, .spot-ico img { width: 17px; height: 17px; color: var(--blue); }
.spot-ico img { object-fit: contain; }
.spot-ico .fb { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--blue); }
.spot-item h3 { font-size: 15px; font-weight: 650; margin-bottom: 6px; }
.spot-item p { font-size: 13.5px; color: var(--gray-2); line-height: 1.58; }

/* ═══════════════════════════════════════════════════════════════════════════
   模型目录
   ═══════════════════════════════════════════════════════════════════════════ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter {
  padding: 7px 15px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 13.5px; color: var(--gray-2); font-weight: 550;
  transition: all .2s;
}
.filter:hover { color: var(--gray-1); border-color: var(--gray-3); }
.filter.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(292px,1fr)); gap: 14px; }

.mcard {
  padding: 20px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .26s, transform .26s, box-shadow .26s;
}
.mcard:hover { border-color: var(--gray-3); transform: translateY(-4px); box-shadow: var(--sh-3); }

.mc-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.mc-logo {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mc-logo img { width: 22px; height: 22px; object-fit: contain; }
.mc-logo .fb { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--blue); }
.mc-meta { min-width: 0; flex: 1; }
/* 名称和厂商分行 —— 之前挤在一行是 bug */
.mc-name { font-size: 15px; font-weight: 650; letter-spacing: -.012em; display: block; }
.mc-prov { font-size: 12.5px; color: var(--gray-2); display: block; margin-top: 2px; }

.badge {
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 2.5px 6px; border-radius: 4px; white-space: nowrap;
  margin-left: 7px; vertical-align: 1.5px;
  background: var(--blue-wash); color: var(--blue); border: 1px solid rgba(43,92,230,.2);
}
.badge.g { background: rgba(14,159,110,.09); color: var(--green); border-color: rgba(14,159,110,.2); }
.badge.a { background: rgba(194,116,10,.09); color: var(--amber); border-color: rgba(194,116,10,.2); }

.mc-note { font-size: 13px; color: var(--gray-2); line-height: 1.55; margin-bottom: 15px; flex: 1; }

.mc-id {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 11px; border-radius: 8px; margin-bottom: 13px; width: 100%; text-align: left;
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.8px; color: var(--ink-2);
  transition: border-color .18s, background .18s;
}
.mc-id:hover { border-color: var(--blue); background: var(--white); }
.mc-id span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-id svg { width: 12px; height: 12px; flex: none; opacity: .4; }
.mc-id.done { border-color: var(--green); color: var(--green); }
.mc-id.done svg { opacity: 1; }

.mc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid var(--line-2); }
.mc-price { font-family: var(--mono); font-size: 12.8px; }
.mc-price b { color: var(--ink); font-weight: 650; }
.mc-price i { color: var(--gray-2); font-style: normal; font-size: 11.5px; }
.mc-ctx {
  font-family: var(--mono); font-size: 11.5px; color: var(--gray-2);
  padding: 3px 8px; border-radius: 5px; background: var(--paper); white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   定价对比表
   ═══════════════════════════════════════════════════════════════════════════ */
.trust-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 100px; margin-bottom: 28px;
  background: rgba(14,159,110,.055); border: 1px solid rgba(14,159,110,.18);
  font-size: 13.5px; color: #0B7355; font-weight: 550;
}
.trust-badge svg { width: 15px; height: 15px; color: var(--green); flex: none; }

/* ── 定价对比表 ──
   列出官方标价、我们的最低渠道价、以及省下的比例。
   listIn / listOut 来自各厂商公开发布的定价，差值就是折扣。 */
.ptable {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--white); box-shadow: var(--sh-1);
}
.ptable-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable table { width: 100%; border-collapse: collapse; min-width: 760px; }
.ptable thead th {
  text-align: left; padding: 14px 20px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gray-2);
  background: var(--paper); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.ptable tbody td { padding: 16px 20px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable tbody tr { transition: background .16s; }
.ptable tbody tr:hover { background: var(--paper); }

.pt-m { display: flex; align-items: center; gap: 11px; }
.pt-m img { width: 26px; height: 26px; flex: none; object-fit: contain; }
.pt-mn { font-size: 14.2px; font-weight: 600; white-space: nowrap; display: block; }
.pt-mp { font-size: 11.8px; color: var(--gray-2); display: block; margin-top: 1px; }

.pt-old {
  font-family: var(--mono); font-size: 13px; color: var(--gray-2);
  text-decoration: line-through; text-decoration-color: rgba(194,116,10,.5);
  white-space: nowrap;
}
.pt-new { font-family: var(--mono); font-size: 14px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.pt-chn { font-family: var(--mono); font-size: 13px; color: var(--gray-1); }
.pt-u { font-family: var(--mono); font-size: 10.5px; color: var(--gray-3); display: block; margin-top: 2px; }
.pt-save {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 100px; white-space: nowrap;
  background: rgba(14,159,110,.09); border: 1px solid rgba(14,159,110,.2);
  font-family: var(--mono); font-size: 12px; font-weight: 650; color: var(--green);
}
.pt-save svg { width: 11px; height: 11px; }

.ptable-note {
  padding: 14px 20px; font-size: 11.5px; color: var(--gray-2); line-height: 1.6;
  border-top: 1px solid var(--line); background: var(--paper);
}
.price-updated { font-family: var(--mono); font-size: 11.5px; color: var(--gray-2); }

/* ═══════════════════════════════════════════════════════════════════════════
   Deploy
   ═══════════════════════════════════════════════════════════════════════════ */
.dp-grid { display: grid; grid-template-columns: 258px minmax(0,1fr); gap: 22px; align-items: start; }
.dp-grid > * { min-width: 0; }

.dp-list {
  display: flex; flex-direction: column; gap: 3px;
  padding: 6px; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line);
  position: sticky; top: 82px; max-height: calc(100vh - 116px); overflow-y: auto;
}
.dp-list::-webkit-scrollbar { width: 5px; }

.dp-item {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 9px; width: 100%; text-align: left;
  transition: background .18s, transform .18s;
}
.dp-item:hover { background: var(--white); transform: translateX(2px); }
.dp-item.on { background: var(--white); box-shadow: var(--sh-1); }
.dp-item.on::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 2.5px; height: 18px; transform: translateY(-50%);
  background: var(--blue); border-radius: 0 3px 3px 0;
}
.dp-logo {
  width: 28px; height: 28px; flex: none; border-radius: 8px;
  background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.dp-logo img { width: 17px; height: 17px; object-fit: contain; }
.dp-logo .fb { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--blue); }
.dp-meta { min-width: 0; flex: 1; }
.dp-name { font-size: 13.8px; font-weight: 570; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.dp-item.on .dp-name { color: var(--blue); }
.dp-vendor { font-size: 11.5px; color: var(--gray-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.dp-panel { display: none; }
.dp-panel.on { display: block; animation: slideIn .3s cubic-bezier(.2,.8,.2,1); }

.dp-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 17px; flex-wrap: wrap;
  border: 1px solid var(--line); border-bottom: none;
  border-radius: var(--r) var(--r) 0 0; background: var(--paper);
}
.dp-head-l { display: flex; align-items: center; gap: 10px; }
.dp-head-l b { font-size: 14.2px; font-weight: 650; }
.lang {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px; background: var(--line-2); color: var(--gray-2);
}
.dp-doc { display: inline-flex; align-items: center; gap: 6px; font-size: 12.8px; color: var(--gray-2); transition: color .16s; }
.dp-doc:hover { color: var(--blue); }
.dp-doc svg { width: 12px; height: 12px; }
.dp-panel .code { border-radius: 0 0 var(--r) var(--r); }

.hint {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 13px;
  padding: 12px 15px; border-radius: 10px;
  background: var(--blue-wash); border: 1px solid rgba(43,92,230,.14);
  font-size: 13.2px; color: var(--gray-1); line-height: 1.6;
}
.hint svg { width: 15px; height: 15px; color: var(--blue); flex: none; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   企业能力
   ═══════════════════════════════════════════════════════════════════════════ */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(316px,1fr)); gap: 16px; }
.feat {
  padding: 26px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--white);
  transition: border-color .26s, transform .26s, box-shadow .26s;
}
.feat:hover { border-color: var(--gray-3); transform: translateY(-5px); box-shadow: var(--sh-3); }
.feat-ico {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 17px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-wash); border: 1px solid rgba(43,92,230,.16);
  transition: background .26s, border-color .26s;
}
.feat:hover .feat-ico { background: var(--blue); border-color: var(--blue); }
.feat-ico svg, .feat-ico img { width: 19px; height: 19px; color: var(--blue); transition: color .26s; }
.feat-ico img { object-fit: contain; }
.feat-ico .fb { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--blue); }
.feat:hover .feat-ico svg { color: #fff; }
.feat h3 { font-size: 16.5px; font-weight: 680; margin-bottom: 8px; letter-spacing: -.016em; }
.feat p { font-size: 14.2px; color: var(--gray-1); line-height: 1.64; }

/* ═══════════════════════════════════════════════════════════════════════════
   架构图
   ═══════════════════════════════════════════════════════════════════════════ */
.arch { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 20px; align-items: center; padding: 30px 0; }
.arch-col { display: flex; flex-direction: column; gap: 9px; }
.arch-lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gray-3); text-align: center; margin-bottom: 11px;
}
.arch-node {
  padding: 12px 16px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 550; text-align: center; color: var(--gray-1);
  transition: border-color .3s, color .3s, box-shadow .3s;
}
.arch-node.lit { border-color: var(--blue); color: var(--ink); box-shadow: 0 2px 12px -4px rgba(43,92,230,.3); }

.arch-hub {
  padding: 26px 22px; border-radius: var(--r-lg); text-align: center;
  background: var(--white); border: 1.5px solid var(--ink);
  box-shadow: var(--sh-3);
}
.arch-hub-url {
  font-family: var(--mono); font-size: 13px; font-weight: 650;
  color: var(--blue); margin-bottom: 16px; word-break: break-all;
}
.arch-steps { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.arch-step { display: flex; align-items: center; gap: 9px; font-size: 12.2px; color: var(--gray-1); font-family: var(--mono); }
.arch-step i {
  width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: var(--gray-3); transition: background .3s, box-shadow .3s;
}
.arch-step.lit i { background: var(--blue); box-shadow: 0 0 7px rgba(43,92,230,.7); }

.arch-prov { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.arch-p {
  aspect-ratio: 1; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s;
}
.arch-p.lit { border-color: var(--blue); box-shadow: 0 2px 12px -4px rgba(43,92,230,.3); }
.arch-p img { width: 24px; height: 24px; object-fit: contain; filter: grayscale(1); opacity: .5; transition: filter .3s, opacity .3s; }
.arch-p.lit img { filter: none; opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   Roadmap
   ═══════════════════════════════════════════════════════════════════════════ */
.road { display: flex; flex-direction: column; max-width: 820px; }
.road-item { display: grid; grid-template-columns: 112px 26px 1fr; gap: 18px; padding: 19px 0; align-items: start; }
.road-when {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gray-2); padding-top: 4px; text-align: right;
}
.road-rail { position: relative; display: flex; justify-content: center; padding-top: 3px; }
.road-rail::after {
  content: ''; position: absolute; top: 24px; bottom: -22px; left: 50%;
  width: 1px; background: var(--line); transform: translateX(-50%);
}
.road-item:last-child .road-rail::after { display: none; }
.road-dot {
  width: 18px; height: 18px; border-radius: 50%; z-index: 1; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid var(--line);
}
.road-dot svg { width: 10px; height: 10px; }
.road-item.done .road-dot { border-color: var(--green); background: rgba(14,159,110,.1); }
.road-item.done .road-dot svg { color: var(--green); }
.road-item.active .road-dot { border-color: var(--blue); background: var(--blue-wash); }
.road-item.active .road-dot::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--blue); animation: ring 2s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(2.1); opacity: 0; } }
.road-body h3 { font-size: 15.5px; font-weight: 640; margin-bottom: 4px; }
.road-body p { font-size: 13.8px; color: var(--gray-2); line-height: 1.6; }
.road-item.planned .road-body h3 { color: var(--gray-1); }

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ —— 原生 details，爬虫能直接读到答案
   ═══════════════════════════════════════════════════════════════════════════ */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); transition: border-color .22s; }
.faq-item:hover { border-bottom-color: var(--gray-3); }
.faq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 21px 2px; cursor: pointer; list-style: none;
  font-size: 16.2px; font-weight: 620; letter-spacing: -.014em;
  transition: color .16s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-plus { width: 19px; height: 19px; flex: none; margin-top: 3px; position: relative; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.faq-plus::before, .faq-plus::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--gray-2); border-radius: 1px;
  transform: translate(-50%,-50%); transition: opacity .24s, background .16s;
}
.faq-plus::before { width: 13px; height: 1.5px; }
.faq-plus::after  { width: 1.5px; height: 13px; }
.faq-item[open] .faq-plus { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { opacity: 0; }
.faq-item summary:hover .faq-plus::before,
.faq-item summary:hover .faq-plus::after { background: var(--blue); }
.faq-a { padding: 0 44px 22px 2px; font-size: 14.8px; color: var(--gray-1); line-height: 1.72; animation: slideIn .28s ease-out; }
.faq-a code { font-family: var(--mono); font-size: 13px; background: var(--blue-wash); color: var(--blue); padding: 1.5px 6px; border-radius: 5px; }

/* ═══════════════════════════════════════════════════════════════════════════
   About + 最终 CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
.about h2 { font-size: clamp(23px,2.9vw,31px); font-weight: 800; letter-spacing: -.03em; }
.about-body p { font-size: 15.5px; color: var(--gray-1); line-height: 1.78; }
.about-body p + p { margin-top: 17px; }

/* ── 联系我们：两张渠道卡片 ── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px; max-width: 820px; margin: 0 auto;
}
.ct-card {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--white);
  color: inherit; text-decoration: none;
  transition: border-color .26s, transform .26s, box-shadow .26s;
}
.ct-card:hover { border-color: var(--gray-3); transform: translateY(-4px); box-shadow: var(--sh-3); }
.ct-ico {
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-wash); border: 1px solid rgba(43,92,230,.16);
  color: var(--blue); transition: background .26s, border-color .26s, color .26s;
}
.ct-card:hover .ct-ico { background: var(--blue); border-color: var(--blue); color: #fff; }
.ct-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.ct-n { font-size: 15.5px; font-weight: 680; letter-spacing: -.014em; }
.ct-d {
  font-size: 13.6px; color: var(--gray-2); font-family: var(--mono);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ct-go {
  flex: none; display: flex; align-items: center; color: var(--gray-3);
  transition: color .26s, transform .26s;
}
.ct-card:hover .ct-go { color: var(--blue); transform: translateX(3px); }

.final {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 60px 40px; text-align: center;
  background: var(--paper); border: 1px solid var(--line);
}
.final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 90% at 50% 0%, var(--blue-wash), transparent 62%);
}
.final > * { position: relative; z-index: 1; }
.final h2 { font-size: clamp(25px,3.5vw,37px); font-weight: 800; letter-spacing: -.034em; margin-bottom: 13px; }
.final p { font-size: 16.5px; color: var(--gray-1); max-width: 52ch; margin: 0 auto 28px; }
.final .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   页脚
   ═══════════════════════════════════════════════════════════════════════════ */
footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--paper); }
.foot-top { display: grid; grid-template-columns: 1.5fr 3fr; gap: 26px 44px; }
.foot-brand .brand { margin-bottom: 13px; }
.foot-brand .brand img { height: 30px; }
.foot-brand p { font-size: 14.2px; color: var(--gray-1); line-height: 1.65; max-width: 34ch; margin-bottom: 18px; }
.foot-social { display: flex; gap: 8px; }
.foot-social a {
  width: 33px; height: 33px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--white); color: var(--gray-2);
  transition: border-color .18s, color .18s, transform .18s;
}
.foot-social a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.foot-social svg { width: 16px; height: 16px; }

/* 三列按各自内容宽度排版，并整体撑到右边缘 ——
   最后一列的右边界与底部版权行里的支付徽章右边界对齐 */
.foot-cols { display: grid; grid-template-columns: repeat(3, max-content); justify-content: space-between; gap: 32px; }
.foot-col h4 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 14px;
}
.foot-col a { display: block; font-size: 14px; color: var(--gray-1); padding: 5px 0; transition: color .16s; }
.foot-col a:hover { color: var(--blue); }

/* 底部一行：版权 · 数据声明 · 支付徽章 —— 并入上方文字区，不单独成块 */
.foot-bot {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 10px; justify-content: flex-start;
}
.foot-copy { font-size: 12.8px; color: var(--gray-2); }
.foot-data { font-size: 12px; color: var(--gray-3); }
.foot-data:not(:empty)::before { content: '·'; margin-right: 10px; color: var(--gray-3); }
.foot-pay { display: flex; gap: 7px; flex-wrap: wrap; margin-left: auto; }
.pay {
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--white);
  font-family: var(--mono); font-size: 10.5px; color: var(--gray-2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Toast + 滚动进场
   ═══════════════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 300;
  transform: translateX(-50%) translateY(22px);
  padding: 11px 20px; border-radius: 100px;
  background: var(--ink); border: 1px solid var(--ink);
  font-size: 13.5px; font-weight: 550; color: #fff;
  display: flex; align-items: center; gap: 9px;
  box-shadow: var(--sh-3);
  opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 14px; height: 14px; color: #6EE7B7; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* 子元素错峰进场 —— 让区块有节奏感而不是整块蹦出来 */
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .04s; }
.stagger.in > *:nth-child(2) { transition-delay: .10s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .22s; }
.stagger.in > *:nth-child(5) { transition-delay: .28s; }
.stagger.in > *:nth-child(6) { transition-delay: .34s; }
.stagger.in > *:nth-child(7) { transition-delay: .40s; }
.stagger.in > *:nth-child(8) { transition-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   响应式 —— Google 用移动版给你排名，这不是"顺便适配"
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .qs-grid { grid-template-columns: minmax(0,1fr); }
  .arch { grid-template-columns: 1fr; gap: 24px; }
  .arch-prov { grid-template-columns: repeat(6,1fr); }
  .arch-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .arch-node { flex: 1; min-width: 132px; }
  .foot-top { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .stage { grid-template-columns: 1fr; gap: 22px; }
  .rail { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .rail.left, .rail.right { align-items: center; }
  .wires { display: none; }
  .router .wm { white-space: normal; }
  .dp-grid { grid-template-columns: 1fr; }
  .dp-list { position: static; max-height: none; flex-direction: row; overflow-x: auto; }
  .dp-item { flex: none; min-width: 168px; }
  .dp-item.on::before { display: none; }
  .about { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .sec { padding: 64px 0; }
  .wrap { padding: 0 18px; }
  /* 窄屏导航：390px 下 logo + Sign in + CTA + 汉堡 会挤出屏幕，
     所以收内边距和间距，并缩紧 CTA。实测这组值刚好把汉堡留在屏内。 */
  .nav-in { padding: 0 10px; height: 58px; gap: 12px; }
  .nav-right { gap: 6px; }
  .nav-in .cta { padding: 8px 11px; font-size: 12.6px; }
  .nav-mobile { padding: 8px 18px 18px; }
  /* 移动端菜单里的按钮是块级铺满的，必须显式居中，否则文字贴左边 */
  .nav-mobile .btn { display: flex; justify-content: center; }
  .hero { padding: 16px 18px 56px; }
  .sec-head h2 { font-size: clamp(23px,6.6vw,29px); }
  .sec-head p { font-size: 15px; }
  .sec-head { margin-bottom: 32px; }
  .spot { padding: 26px 20px; }
  .spot-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { padding: 21px; }
  .arch-prov { grid-template-columns: repeat(3,1fr); }
  .foot-cols { grid-template-columns: 1fr; gap: 26px; }
  .final { padding: 42px 22px; }
  .code-body { font-size: 11.8px; padding: 14px 15px; }
  .stat { padding: 0 16px; }
  .stat b { font-size: 18px; }
  .trust { gap: 14px 0; }
  .road-item { grid-template-columns: 22px 1fr; gap: 14px; }
  .road-when { grid-column: 2; grid-row: 1; text-align: left; padding-top: 0; margin-bottom: 3px; }
  .road-rail { grid-row: 1 / span 2; }
  .road-body { grid-column: 2; }
  .faq-item summary { font-size: 15.2px; padding: 18px 2px; gap: 14px; }
  .faq-a { padding: 0 30px 18px 2px; font-size: 14.2px; }
  /* 定价表在手机上横向滚动，收紧单元格内边距 */
  .ptable thead th, .ptable tbody td { padding: 12px 15px; }
  .endpoint { flex-direction: column; }
  .hact-grid { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .hero-act { margin-top: 24px; }
  .hact { padding: 14px 15px 13px; }
  .hact-n { font-size: 14.4px; }
  .hact-d { font-size: 12.4px; }
  .hact-cta { padding: 9px 13px; font-size: 13.2px; }
}

@media print {
  .nav, .final, .marquee, footer, .toast { display: none; }
  .sec { padding: 18px 0; page-break-inside: avoid; }
  .faq-a { display: block !important; }
  body { background: #fff; }
}




