/* ==========================================================================
   Milisoft 站点样式表
   设计语言：微软官网式的企业级信息密度 —— 发丝线、方角、超大细体标题、
   白/浅灰交替色带；品牌自有部分为靛蓝主色与等宽字体的工程感辅助语汇。
   组织顺序：令牌 → 基础 → 排版 → 布局 → 组件 → 页头页脚 → 动效 → 响应式
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* 中性色 */
  --ink:        #16181d;
  --ink-2:      #4b4f58;
  --ink-3:      #767b86;
  --line:       #e3e5ea;
  --line-soft:  #eef0f4;
  --surface:    #ffffff;
  --surface-2:  #f5f6f8;
  --surface-3:  #eceef2;

  /* 品牌色 */
  --brand:      #1f4ef5;
  --brand-dark: #1740c9;
  --brand-tint: #eef2ff;
  /* 品牌蓝提亮版，专供深色底：原色压在 --navy 上只有 3:1，小字读不清 */
  --brand-light: #7b9cff;
  --navy:       #0a1330;
  --navy-2:     #131e46;
  --cyan:       #16b8c8;
  --violet:     #7b4dff;
  --amber:      #ffb020;
  --green:      #12a150;

  /* 深色背景上的文字 */
  --on-dark:    #ffffff;
  --on-dark-2:  #b9c0d4;
  --on-dark-3:  #7f88a5;
  --line-dark:  rgba(255, 255, 255, .14);

  /* 字体 */
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
          system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono",
          Consolas, "Liberation Mono", Menlo, monospace;

  /* 尺度 */
  --maxw: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 56px;
  --sp-section: clamp(64px, 7vw, 112px);

  /* 形状与层级 */
  --r: 2px;
  --r-lg: 4px;
  --shadow-1: 0 1.6px 3.6px rgba(0, 0, 0, .07), 0 .3px .9px rgba(0, 0, 0, .05);
  --shadow-2: 0 6.4px 14.4px rgba(0, 0, 0, .1), 0 1.2px 3.6px rgba(0, 0, 0, .06);
  --shadow-3: 0 25.6px 57.6px rgba(0, 0, 0, .16), 0 4.8px 14.4px rgba(0, 0, 0, .1);

  /* 动效 */
  --ease: cubic-bezier(.16, .8, .3, 1);
  --dur: .28s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 预留页头 + 可能存在的次级导航高度 */
  scroll-padding-top: 124px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

body.is-locked { overflow: hidden; }

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

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

::selection { background: var(--brand); color: #fff; }

/* 跳转到主内容 */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: top .18s var(--ease);
}
.skip:focus { top: 12px; text-decoration: none; }

/* --------------------------------------------------------------------------
   3. 排版
   -------------------------------------------------------------------------- */
.title-xl,
.title-lg,
.title-md {
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--ink);
  text-wrap: balance;
  /* 中文标题只在标点与空格处换行，避免把词组从中间劈开；
     整段实在放不下时再退回任意断行。 */
  word-break: keep-all;
  overflow-wrap: break-word;
}
.title-xl { font-size: clamp(2.25rem, 1.55rem + 2.8vw, 3.6rem); line-height: 1.08; }
.title-lg { font-size: clamp(1.8rem,  1.3rem + 1.9vw, 2.7rem); }
.title-md { font-size: clamp(1.45rem, 1.18rem + 1.05vw, 1.95rem); line-height: 1.22; }

.title-sm {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}

.lede {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.text { color: var(--ink-2); }
.text-sm { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-3); }

/* 深色底反色。
   深色作用域 = 四个深色容器 + 手动标记的 .on-dark；
   若深色区块里需要放浅色卡片，给该卡片加 .on-light 逃生。 */
.on-dark, .hero, .page-hero, .cta-band, .section--ink { color: var(--on-dark); }

:is(.on-dark, .hero, .page-hero, .cta-band, .section--ink)
  :is(.title-xl, .title-lg, .title-md, .title-sm) { color: var(--on-dark); }
:is(.on-dark, .hero, .page-hero, .cta-band, .section--ink)
  :is(.lede, .text, .text-sm) { color: var(--on-dark-2); }
:is(.on-dark, .hero, .page-hero, .cta-band, .section--ink)
  .muted { color: var(--on-dark-3); }
:is(.on-dark, .hero, .page-hero, .cta-band, .section--ink)
  .eyebrow { color: var(--brand-light); }
:is(.on-dark, .hero, .page-hero, .cta-band, .section--ink)
  hr { border-color: var(--line-dark); }

.on-light { color: var(--ink); }
.on-light :is(.title-xl, .title-lg, .title-md, .title-sm) { color: var(--ink); }
.on-light :is(.lede, .text, .text-sm) { color: var(--ink-2); }
.on-light .muted { color: var(--ink-3); }
.on-light .eyebrow { color: var(--brand); }

/* --------------------------------------------------------------------------
   4. 布局
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { --maxw: 900px; }
.wrap--mid    { --maxw: 1120px; }

.section { padding-block: var(--sp-section); }
.section--tight { --sp-section: clamp(44px, 4.5vw, 72px); }
.section--flush-top { padding-top: 0; }
.section--gray { background: var(--surface-2); }
.section--tint { background: var(--brand-tint); }
.section--ink  { background: var(--navy); color: var(--on-dark); }

.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--wide { max-width: 980px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lede { margin-top: 18px; }

/* 标题与右侧动作并排 */
.section-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.section-bar .section-head { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--tight { gap: 1px; }
.grid--wide { gap: 40px; }
/* 让子项按自身高度收缩，用于「一列正文 + 一张卡片」这类不等高排布 */
.grid--top { align-items: start; }

.stack > * + * { margin-top: 18px; }
.stack--sm > * + * { margin-top: 10px; }
.stack--lg > * + * { margin-top: 28px; }

.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }

/* --------------------------------------------------------------------------
   5. 组件 —— 按钮与链接
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 26px;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: none;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease),
              color .16s var(--ease), transform .16s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }

.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--surface-3); color: var(--ink); }

.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn--sm { min-height: 34px; padding: 5px 16px; font-size: .8125rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* 微软式「了解更多 ›」链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--brand);
}
.link-arrow::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .18s var(--ease);
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: rotate(-45deg) translate(2px, 2px); }
.on-dark .link-arrow { color: var(--brand-light); }

/* --------------------------------------------------------------------------
   6. 组件 —— 卡片
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease),
              border-color .2s var(--ease);
}
.card--link:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--line-soft);
  transform: translateY(-2px);
}
.card--flat { border-color: var(--line); }
.card--plain { border: 0; background: none; }

.card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 26px 26px 28px;
}
.card__body > * + * { margin-top: 12px; }
.card__foot { margin-top: auto; padding-top: 20px; }

.card__kicker {
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.card__title { font-size: 1.1875rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--brand); }
:is(.on-dark, .card--dark) .card__title a:hover { color: var(--brand-light); }
.card__text { font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }

/* 深色卡片（放在浅色区块里做强调或行动召唤） */
.card--dark { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.card--dark :is(.card__title, .title-sm) { color: var(--on-dark); }
.card--dark .card__text { color: var(--on-dark-2); }
.card--dark .card__kicker { color: var(--on-dark-3); }

/* 顶部彩条卡片（用于产品矩阵） */
.card--tile { border-top: 3px solid var(--brand); }
.card--tile.is-cyan   { border-top-color: var(--cyan); }
.card--tile.is-violet { border-top-color: var(--violet); }
.card--tile.is-amber  { border-top-color: var(--amber); }

/* 图标卡片 */
.icon-card { padding: 30px 28px 32px; gap: 12px; }
.icon-card .icon-badge { margin-bottom: 8px; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--brand-tint);
  color: var(--brand);
}
.icon-badge.is-cyan   { background: #e2f7fa; color: #0b8b98; }
.icon-badge.is-violet { background: #f0ebff; color: #6134f0; }
.icon-badge.is-amber  { background: #fff4de; color: #a86a00; }
.on-dark .icon-badge { background: rgba(255, 255, 255, .1); color: var(--brand-light); }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }

/* 整块可点卡片：让标题链接覆盖全卡 */
.card--click { position: relative; }
.card--click .stretch::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* --------------------------------------------------------------------------
   7. 组件 —— 图文行、清单、指标
   -------------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(56px, 6vw, 96px); }
.feature-row__art { min-width: 0; }
.feature-row--reverse .feature-row__art { order: -1; }
.feature-row__text > * + * { margin-top: 18px; }

.art {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
  overflow: hidden;
}
.on-dark .art { border-color: var(--line-dark); background: rgba(255, 255, 255, .04); }

.checks > li {
  position: relative;
  padding-left: 28px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.checks > li + li { margin-top: 12px; }
.checks > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 11px;
  height: 6px;
  border-left: 1.8px solid var(--brand);
  border-bottom: 1.8px solid var(--brand);
  transform: rotate(-45deg);
}
.on-dark .checks > li { color: var(--on-dark-2); }
.on-dark .checks > li::before { border-color: var(--brand-light); }

.checks strong { color: var(--ink); font-weight: 600; }
.on-dark .checks strong { color: var(--on-dark); }

/* 指标条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.stat { padding: 30px 28px; background: var(--surface); }
.stat__num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__num em { font-style: normal; font-size: .55em; color: var(--brand); margin-left: 2px; }
.stat__label { display: block; margin-top: 10px; font-size: .875rem; color: var(--ink-3); }

.on-dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.on-dark .stat { background: var(--navy); }
.on-dark .stat__num { color: #fff; }
.on-dark .stat__num em { color: var(--brand-light); }
.on-dark .stat__label { color: var(--on-dark-3); }

/* 标签 */
.pill {
  display: inline-block;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-2);
}
.pill--brand { border-color: transparent; background: var(--brand-tint); color: var(--brand-dark); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row--center { justify-content: center; }
.on-dark .pill { border-color: var(--line-dark); background: rgba(255, 255, 255, .06); color: var(--on-dark-2); }

/* --------------------------------------------------------------------------
   8. 组件 —— 流程、时间轴、表格、问答
   -------------------------------------------------------------------------- */
/* 交付流程：真实的顺序，因此使用编号 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.step { padding: 28px 28px 32px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__no {
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--brand);
}
.step__title { margin-top: 12px; font-size: 1.0625rem; font-weight: 600; }
.step__text { margin-top: 10px; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.on-dark .steps { border-color: var(--line-dark); }
.on-dark .step + .step { border-left-color: var(--line-dark); }
.on-dark .step__no { color: var(--brand-light); }
.on-dark .step__text { color: var(--on-dark-2); }

/* 时间轴 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.tl-item { position: relative; }
.tl-item + .tl-item { margin-top: 34px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--surface);
}
.tl-item__year {
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand);
}
.tl-item__title { margin-top: 6px; font-size: 1.0625rem; font-weight: 600; }
.tl-item__text { margin-top: 8px; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }

/* 表格 */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { padding: 15px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--surface-2); font-weight: 600; font-size: .875rem; color: var(--ink); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td { color: var(--ink-2); }
.table th[scope="row"] { color: var(--ink); font-weight: 600; white-space: nowrap; }
.table .yes { color: var(--green); font-weight: 600; }
.table .no { color: var(--ink-3); }

/* 折叠问答 */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: .45em;
  border-right: 1.8px solid var(--ink-3);
  border-bottom: 1.8px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__item[open] .faq__q { color: var(--brand); }
.faq__a { padding: 0 4px 24px; font-size: .9375rem; line-height: 1.7; color: var(--ink-2); max-width: 76ch; }
.faq__a > * + * { margin-top: 12px; }

/* 引述 */
.quote {
  padding-left: 24px;
  border-left: 3px solid var(--brand);
  font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
}
.quote__by { margin-top: 16px; font-size: .875rem; font-weight: 400; color: var(--ink-3); }

/* 服务分级卡 */
.tier { display: flex; flex-direction: column; padding: 30px 28px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.tier--featured { border-color: var(--brand); box-shadow: var(--shadow-2); }
.tier__name { font-size: 1.25rem; font-weight: 600; }
.tier__for { margin-top: 8px; font-size: .875rem; color: var(--ink-3); }
.tier__list { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.tier__foot { margin-top: auto; padding-top: 26px; }
.tier__flag { display: inline-block; margin-bottom: 14px; padding: 3px 10px; background: var(--brand); color: #fff; font-size: .6875rem; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* CTA 色带 */
.cta-band { background: var(--navy); color: var(--on-dark); }
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: clamp(48px, 5vw, 76px);
}
.cta-band__text { max-width: 640px; }
.cta-band__text > * + * { margin-top: 14px; }

/* 面包屑 */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8125rem; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb li { display: flex; align-items: center; }

/* --------------------------------------------------------------------------
   9. 组件 —— 内页头图 / 首页 Hero
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(48px, 5.5vw, 84px);
  background: var(--navy);
  color: var(--on-dark);
  background-image:
    radial-gradient(58ch 34ch at 88% -10%, rgba(31, 78, 245, .5), transparent 62%),
    radial-gradient(46ch 30ch at 8% 118%, rgba(22, 184, 200, .22), transparent 60%);
}
.page-hero__inner { max-width: 820px; }
.page-hero .breadcrumb { margin-bottom: 26px; color: var(--on-dark-3); }
.page-hero .breadcrumb a { color: var(--on-dark-3); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb li + li::before { color: rgba(255, 255, 255, .28); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero .lede { margin-top: 20px; }
.page-hero .btn-row { margin-top: 32px; }

/* 首页 Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-dark);
  overflow: hidden;
  background-image:
    radial-gradient(60ch 40ch at 74% 8%, rgba(31, 78, 245, .55), transparent 62%),
    radial-gradient(44ch 34ch at 4% 96%, rgba(123, 77, 255, .3), transparent 60%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(56px, 6.5vw, 104px);
}
.hero__text > * + * { margin-top: 22px; }
.hero__text .btn-row { margin-top: 34px; }
.hero__note {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}

/* 网格底纹 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.hero__inner { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   10. 签名元素 —— 智能体运行轨迹面板
   -------------------------------------------------------------------------- */
.trace {
  background: #070c1c;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  font-family: var(--mono);
  overflow: hidden;
}

.trace__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  font-size: .75rem;
  color: var(--on-dark-3);
}
.trace__dots { display: flex; gap: 6px; }
.trace__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.trace__name { letter-spacing: .06em; }
.trace__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 2px 9px;
  border: 1px solid rgba(22, 184, 200, .4);
  border-radius: 999px;
  color: var(--cyan);
  font-size: .6875rem;
  letter-spacing: .12em;
}
.trace__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.8s var(--ease) infinite;
}

.trace__task {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .8125rem;
  line-height: 1.6;
  color: #e8ecf7;
}
.trace__task b { font-weight: 500; }
.trace__k {
  flex: none;
  padding: 1px 8px;
  height: fit-content;
  border-radius: 2px;
  background: rgba(31, 78, 245, .28);
  color: #9fb6ff;
  font-size: .6875rem;
  letter-spacing: .1em;
}

.trace__steps { padding: 8px 0 10px; }
.trace__step {
  display: grid;
  grid-template-columns: 30px 52px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 9px 20px;
  font-size: .8125rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .38s var(--ease), transform .38s var(--ease);
}
.trace__step.is-on { opacity: 1; transform: none; }
.trace__no { color: #4b5878; font-size: .75rem; }
.trace__tag {
  color: var(--cyan);
  font-size: .75rem;
  letter-spacing: .04em;
}
.trace__step[data-kind="tool"]   .trace__tag { color: var(--amber); }
.trace__step[data-kind="verify"] .trace__tag { color: #6ee7a8; }
.trace__step[data-kind="done"]   .trace__tag { color: #9fb6ff; }
.trace__txt { color: #c9d2e6; }
.trace__txt b { color: #fff; font-weight: 500; }

.trace__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 13px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
  font-size: .6875rem;
  letter-spacing: .06em;
  color: var(--on-dark-3);
}
.trace__foot b { color: #e8ecf7; font-weight: 500; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.75); }
}

/* --------------------------------------------------------------------------
   11. 页头
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-1); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__word {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.018em;
  color: var(--ink);
  white-space: nowrap;
}
.logo--footer .logo__word { color: var(--ink); }
.logo--light .logo__word { color: #fff; }

.nav { flex: 1 1 auto; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--header-h);
  padding: 0 13px;
  border: 0;
  background: none;
  font-size: .875rem;
  font-weight: 400;
  color: var(--ink-2);
  white-space: nowrap;
  cursor: pointer;
}
.nav__link:hover { color: var(--ink); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--brand); }
.nav__chev {
  width: 9px;
  height: 9px;
  margin-top: -2px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .18s var(--ease);
}
.nav__item.is-open .nav__link { color: var(--ink); }
.nav__item.is-open .nav__chev { transform: rotate(-135deg) translate(-2px, -2px); }

.site-header__actions { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
/* 语言切换下拉。页头向下展开，页脚加 .lang--up 向上展开。 */
.lang { position: relative; flex: none; }

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: none;
  font-size: .8125rem;
  color: var(--ink-2);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.lang__btn:hover { background: var(--surface-2); color: var(--ink); }
.lang__btn .icon { width: 15px; height: 15px; stroke-width: 1.5; }
.lang__btn .nav__chev { width: 8px; height: 8px; margin-left: -1px; }
.lang.is-open .lang__btn { background: var(--surface-2); color: var(--ink); }
.lang.is-open .nav__chev { transform: rotate(-135deg) translate(-2px, -2px); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  min-width: 184px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  animation: flyIn .16s var(--ease);
}
.lang__menu[hidden] { display: none; }
.lang--up .lang__menu { top: auto; bottom: calc(100% + 8px); }

.lang__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  border-radius: var(--r);
  font-size: .875rem;
  color: var(--ink);
}
.lang__item:hover { background: var(--surface-2); text-decoration: none; }
.lang__item[aria-current="true"] { font-weight: 600; }
.lang__item[aria-current="true"]::after {
  content: "";
  flex: none;
  width: 11px;
  height: 6px;
  border-left: 1.8px solid var(--brand);
  border-bottom: 1.8px solid var(--brand);
  transform: rotate(-45deg) translateY(-2px);
}

.site-footer__bar .lang__btn { height: 28px; padding: 0 8px; font-size: .75rem; color: var(--ink-3); }
.site-footer__bar .lang__btn:hover { color: var(--ink); }

/* 大菜单 */
.flyout {
  position: absolute;
  top: 100%;
  left: -13px;
  z-index: 90;
  min-width: 620px;
  padding: 28px 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: var(--shadow-2);
  animation: flyIn .16s var(--ease);
}
.flyout[hidden] { display: none; }
.flyout__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
.flyout__head {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.flyout__link { display: block; padding: 10px 12px; margin-left: -12px; border-radius: var(--r); }
.flyout__link:hover { background: var(--surface-2); text-decoration: none; }
.flyout__title { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.flyout__desc { display: block; margin-top: 3px; font-size: .8125rem; line-height: 1.5; color: var(--ink-3); }
.flyout__foot { grid-column: 1 / -1; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

@keyframes flyIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 汉堡按钮 */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  position: relative;
  display: block;
  width: 19px;
  height: 1.6px;
  background: var(--ink);
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 1.6px;
  background: var(--ink);
  transition: transform .22s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* 移动抽屉 */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 95;
  background: #fff;
  overflow-y: auto;
  padding: 8px var(--gutter) 48px;
  animation: drawerIn .2s var(--ease);
}
.drawer[hidden] { display: none; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 2px;
  border: 0;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.drawer__toggle .nav__chev { width: 8px; height: 8px; }
.drawer__toggle[aria-expanded="true"] .nav__chev { transform: rotate(-135deg) translate(-2px, -2px); }
.drawer__panel { padding: 0 2px 16px; }
.drawer__panel[hidden] { display: none; }
.drawer__panel a { display: block; padding: 9px 0; font-size: .9375rem; color: var(--ink-2); }
.drawer__panel a:hover { color: var(--brand); }
.drawer__panel a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.drawer__link {
  display: block;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.drawer__link:hover { color: var(--brand); text-decoration: none; }
.drawer__cta { margin-top: 28px; }

/* 次级导航：长内页的页内锚点条，吸附在主页头下方 */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 52px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__title { flex: none; font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.subnav__links { display: flex; gap: 22px; }
.subnav__links a { display: block; padding: 4px 0; font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.subnav__links a:hover { color: var(--brand); }

/* 长文排版：法务与政策类页面 */
.prose { max-width: 76ch; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 48px; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.prose h3 { margin-top: 30px; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.prose p, .prose li { font-size: .9375rem; line-height: 1.78; color: var(--ink-2); }
.prose ul { padding-left: 20px; list-style: disc; }
.prose ol { padding-left: 20px; list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; }
.legal-meta {
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  background: var(--surface-2);
  font-size: .875rem;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   12. 页脚
   -------------------------------------------------------------------------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); }

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  padding-block: clamp(44px, 5vw, 68px);
}
.foot-brand > * + * { margin-top: 16px; }
.foot-brand .text-sm { max-width: 34ch; }

.foot-col__head {
  margin-bottom: 14px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}
.foot-col li + li { margin-top: 9px; }
.foot-col a { font-size: .8125rem; color: var(--ink-2); }
.foot-col a:hover { color: var(--brand); }

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--ink-3);
}
.site-footer__bar a { color: var(--ink-3); }
.site-footer__bar a:hover { color: var(--brand); }
.site-footer__bar .spacer { margin-left: auto; }

/* --------------------------------------------------------------------------
   13. 表单
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.field { display: grid; gap: 7px; min-width: 0; }
.label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.label .req { color: #d13438; margin-left: 2px; }
.hint { font-size: .75rem; color: var(--ink-3); }

.input, .select, .textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--ink-3);
  border-radius: var(--r);
  background: #fff;
  font-family: inherit;
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #d13438; }
.error { font-size: .75rem; color: #d13438; }
.error:empty { display: none; }

.form__note { font-size: .75rem; line-height: 1.6; color: var(--ink-3); }
.form__note a { color: var(--ink-2); text-decoration: underline; }

.form-status {
  padding: 16px 18px;
  border: 1px solid var(--green);
  border-left-width: 3px;
  border-radius: var(--r);
  background: #f1faf4;
  font-size: .9375rem;
  color: var(--ink);
}
.form-status[hidden] { display: none; }

/* 联系方式块 */
.contact-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item__label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.contact-item__value { margin-top: 8px; font-size: 1.0625rem; font-weight: 600; }
.contact-item__text { margin-top: 6px; font-size: .875rem; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   14. 滚动入场动效
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); }
.js .reveal { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   15. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding-right: 24px; }
  .step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .step:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  /* 页头收窄后语言切换移入抽屉，页脚那一个仍然可用 */
  .nav, .site-header .lang { display: none; }
  .burger { display: inline-flex; }
  .site-header__inner { gap: 16px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .feature-row { grid-template-columns: minmax(0, 1fr); }
  .feature-row--reverse .feature-row__art { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .grid, .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 24px 0 26px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .trace__step { grid-template-columns: 26px 46px minmax(0, 1fr); gap: 8px; padding-inline: 15px; }
  .trace__task { padding-inline: 15px; }
  .btn { width: 100%; }
  .btn--sm, .btn-row .btn { width: auto; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; min-width: 160px; }
}

@media (max-width: 460px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
}

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