/* 易原科技官网
 * 色系取自 Logo：靛蓝紫 #3B2884 与橙 #FF8B03。
 * 深色面锁死 Logo 色相 252°、饱和 56~58%（与 Logo 的 53% 同族），靠明度分层。
 * 关键：饱和度不可再往下压 —— 压到 46% 会发灰、失去「亮深紫」的通透感。
 * 深紫只铺三处：首屏、AI 段、页脚；其余区间用白与浅紫过渡。
 * 「都市脱单」区块单独沿用产品官网的橙系。
 */

:root {
  /* 品牌：由 Logo 靛蓝延伸出的深紫族 */
  --brand: #5b3fd6;
  --brand-lit: #6c4bff;
  --brand-glow: #6c4bff;
  --brand-deep: #2f1f6f;
  --brand-deeper: #1b1140;
  --brand-soft: #b9a8f7;
  --brand-mist: #f3f0fc;
  --orange: #ff8b03;

  /* 中性骨架 */
  --ink: #12102a;
  --ink-2: #2a2545;
  --muted: #63607c;
  --muted-2: #8e8aa0;
  --line: #e8e5f2;
  --line-2: #d8d3e8;
  --paper: #f8f7fc;
  --white: #ffffff;

  /* 深色面：只用于首屏、AI 段、页脚。色相 252°，S≈57% */
  --dark: #251858;
  --dark-2: #1b1140;
  --dark-top: #2f1f6f;

  --wrap: 1160px;
  --header: 72px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;

  /* 都市脱单品牌色（取自其官网 common.css） */
  --prod: #ff6b35;
  --prod-hover: #ff5722;
  --prod-soft: #fff3f0;
  --prod-grad: linear-gradient(135deg, #ff6b35 0%, #ff8a65 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" on;
}

img {
  max-width: 100%;
  border: 0;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
dl,
figure {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--white);
  color: var(--brand);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(20px);
}

.header-bar {
  display: flex;
  align-items: center;
  height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
}

.brand img {
  height: 32px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav a {
  position: relative;
  margin-left: 30px;
  color: var(--ink-2);
  font-size: 14.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* 悬停一条 1px 底线，克制 */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a.btn {
  color: var(--white);
}

.site-nav a.btn::after {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  padding: 8px 0 8px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.nav-toggle-lines {
  display: inline-block;
  width: 16px;
  height: 10px;
  margin-right: 8px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.22s ease;
}

/* 主按钮：用 Logo 同族的深紫，与首屏顶部块一致。
   早期这里是近黑藏蓝（--ink），与品牌紫脱节。 */
.btn-primary {
  background: var(--brand-deep);
  color: var(--white);
}

.btn-primary:hover {
  background: #3b2884;
}

.btn-ghost {
  border-color: var(--line-2);
  background: var(--white);
  color: var(--ink-2);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-line {
  border-color: var(--line-2);
  background: var(--white);
  color: var(--brand);
}

.btn-line:hover {
  border-color: var(--brand);
}

/* 都市脱单品牌按钮 */
.btn-prod {
  background: var(--prod-grad);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.22);
}

.btn-prod:hover {
  background: linear-gradient(135deg, #ff5722 0%, #ff7a4d 100%);
}

.btn-prod-ghost {
  border-color: rgba(255, 107, 53, 0.32);
  background: var(--white);
  color: var(--prod-hover);
}

.btn-prod-ghost:hover {
  border-color: var(--prod);
}

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

/* ---------- 首页首屏：亮深紫，光感来自顶部一处柔光 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(62% 56% at 18% 0%, rgba(108, 75, 255, 0.24), transparent 68%),
    linear-gradient(166deg, var(--dark-top) 0%, var(--dark) 56%, var(--dark-2) 100%);
  color: var(--white);
}

/* 细网格，只在左上，透明度压低 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(88% 72% at 6% 0%, #000 4%, transparent 72%);
  mask-image: radial-gradient(88% 72% at 6% 0%, #000 4%, transparent 72%);
  pointer-events: none;
}

/* 右下角一点微光，只做气氛 */
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 75, 255, 0.15), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0 68px;
}

.kicker {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: var(--brand-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* 首屏这行含中文公司名，字距比纯英文标签收一档，避免中文过于松散 */
.hero .kicker {
  letter-spacing: 0.14em;
}

/* 字距本身已提供间隔，分隔符不再另加外边距，窄屏可稳定单行 */
.kicker-sep {
  margin-right: 0;
}

.kicker-cn {
  white-space: nowrap;
}

/* 三段都不允许被压窄，否则英文会在自己的盒子里折行 */
.hero .kicker > span {
  flex-shrink: 0;
}

/* 一个小橙块，衔接 Logo 里的橙 */
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--orange);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(30px, 3.2vw, 45px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.028em;
}

.hero h1 span {
  display: block;
}

/* 第二行用浅紫，层次清楚又不刺眼 */
.hero h1 span + span {
  color: rgba(255, 255, 255, 0.62);
}

.hero-copy p {
  max-width: 33em;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  margin-top: 32px;
}

.hero-actions .btn + .btn {
  margin-left: 10px;
}

/* 深底上的次按钮 */
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* 主按钮在深紫上用白底深紫字：紫面上唯一强对比，避免紫压紫 */
.hero .btn-primary {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

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

/* ---------- 首屏右侧：拓扑示意（玻璃卡） ---------- */
.hero-figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* 顶部一条极细的亮紫高光 */
.hero-figure::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, var(--brand-lit), var(--brand-soft) 50%, transparent);
}

.viz {
  position: relative;
  padding: 20px 22px 22px;
  background: rgba(255, 255, 255, 0.015);
}

/* 顶部小标题与「三层结构」徽标 */
.viz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.viz-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.viz-badge {
  padding: 2px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

/* 每一层：细线长条框，内部右侧排布文案块 */
.layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.layer-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* 中间的服务层：全组唯一被强调的一层。
 * 底色只用极淡的蓝青（几乎中性），把区分交给边框与层名色，
 * 避免青绿大面积上底后与深紫底色互相争抢。宽度与上下层完全一致。 */
.layer-core {
  border-color: rgba(140, 190, 225, 0.5);
  background: rgba(126, 174, 214, 0.1);
}

.layer-core .layer-name {
  color: #a9cbe8;
}

/* 中间层的文案块：同步换成同一套淡蓝青 */
.layer-core .layer-chips span {
  border-color: rgba(140, 190, 225, 0.34);
  background: rgba(126, 174, 214, 0.14);
  color: rgba(226, 240, 250, 0.95);
}

/* 层名左侧一个小方块，只出现在核心层，做最强的一点提示 */
.layer-core .layer-name {
  display: flex;
  align-items: center;
}

.layer-core .layer-name::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 1px;
  background: var(--orange);
}

.layer-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: 14px;
}

/* 层内文案块：淡底 + 细线，文字用亮紫，与深底区分 */
.layer-chips span {
  margin-left: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(185, 168, 247, 0.32);
  border-radius: 4px;
  background: rgba(185, 168, 247, 0.1);
  color: rgba(226, 216, 255, 0.95);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* 层与层之间的竖向连接，橙点呼应 Logo */
.layer-link {
  display: flex;
  justify-content: center;
  height: 20px;
}

.layer-link i {
  display: block;
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, rgba(185, 168, 247, 0.55), rgba(255, 139, 3, 0.8));
  position: relative;
}

.layer-link i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-meta {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.hero-meta li {
  flex: 1;
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-align: center;
}

.hero-meta li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- 首屏底部能力条：仍在深紫底上 ---------- */
.cap-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cap-strip ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cap-strip li {
  flex: 1;
  padding: 18px 0 20px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  text-align: center;
}

.cap-strip li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.cap-strip strong {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

/* ---------- 浅色区块 ---------- */
.section {
  padding: 104px 0;
}

.section-paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 740px;
  margin-bottom: 52px;
}

.section-kicker {
  display: flex;
  align-items: center;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* 与首屏一致的小橙块，形成全站标记 */
.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--orange);
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.026em;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- 能力卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

a.card {
  position: relative;
  display: block;
  padding: 30px 26px 28px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.22s ease;
}

a.card:hover {
  background: #fcfbff;
}

/* 序号前一小段品牌细线 */
.card-index {
  display: flex;
  align-items: center;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.card-index::before {
  content: "";
  width: 14px;
  height: 1px;
  margin-right: 8px;
  background: var(--brand);
  opacity: 0.5;
}

.card h3,
.trio h3,
.step h3 {
  margin-top: 14px;
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.012em;
}

.card p,
.trio p,
.step p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.card-tags li {
  margin: 0 5px 5px 0;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

/* ---------- 技术底座 ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stack {
  padding: 26px 22px 28px;
  background: var(--white);
}

.stack-grid .stack:first-child {
  padding-left: 0;
}

.stack h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stack p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ---------- AI 段：近黑规格带，靠细线与等宽标签，不靠色块 ---------- */
.band-tech {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(58% 58% at 86% 0%, rgba(108, 75, 255, 0.2), transparent 68%),
    linear-gradient(158deg, var(--dark-top) 0%, var(--dark) 58%, var(--dark-2) 100%);
  color: var(--white);
}

/* 极淡网格，只在左上角出现 */
.band-tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(78% 66% at 4% 8%, #000 4%, transparent 72%);
  mask-image: radial-gradient(78% 66% at 4% 8%, #000 4%, transparent 72%);
  pointer-events: none;
}

.band-tech .wrap {
  position: relative;
  z-index: 1;
}

.band-tech .section-kicker {
  color: rgba(255, 255, 255, 0.52);
}

/* 深底上的橙块同样保留，形成呼应 */
.band-tech .section-kicker::before {
  background: var(--orange);
}

.band-tech .section-head h2 {
  color: var(--white);
}

.band-tech .section-head p {
  color: rgba(255, 255, 255, 0.52);
}

/* 三栏用细线分隔，不做卡片底色 */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trio article {
  padding: 26px 30px 4px 0;
  transition: none;
}

.trio article + article {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.trio .card-index {
  color: var(--brand-soft);
}

/* 一处橙点，作为整段唯一的彩色 */
.trio .card-index::before {
  background: var(--orange);
  opacity: 1;
}

.trio h3 {
  color: var(--white);
}

.trio p {
  color: rgba(255, 255, 255, 0.52);
}

/* ---------- 交付流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 24px 22px 26px;
  background: var(--white);
}

.step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.step:hover::before {
  transform: scaleX(1);
}

.step-no {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* ---------- 都市脱单：仅此块沿用产品官网橙系 ---------- */
.prod {
  padding: 104px 0;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.prod-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(24, 34, 46, 0.08);
}

.prod-media {
  position: relative;
  min-height: 320px;
}

.prod-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 107, 53, 0.34), rgba(216, 67, 21, 0.26) 60%, rgba(24, 34, 46, 0.38));
}

.prod-body {
  padding: 44px 44px 40px;
}

.prod-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--prod-soft);
  color: var(--prod-hover);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.prod-body h2 {
  margin-top: 16px;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.prod-body .prod-lead {
  margin-top: 14px;
  color: var(--muted);
}

.prod-points {
  display: flex;
  flex-wrap: wrap;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.prod-points li {
  margin: 0 10px 8px 0;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f7f7f7;
  color: #5a5a5a;
  font-size: 13px;
}

.prod-actions {
  display: flex;
  margin-top: 28px;
}

.prod-actions .btn + .btn {
  margin-left: 12px;
}

/* ---------- 结尾 ---------- */
.mail-band {
  padding: 92px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.mail-band h2 {
  font-size: clamp(23px, 2.7vw, 31px);
  font-weight: 600;
  letter-spacing: -0.028em;
}

.mail-band p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
}

.mail {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  color: var(--brand);
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.mail:hover {
  border-bottom-color: var(--brand);
}

/* 内页页头：浅底上 kicker 必须换成品牌紫，浅紫在白底上对比度只有 2.1:1 */
.page-hero .kicker {
  color: var(--brand);
}

.page-hero .kicker::before {
  background: var(--orange);
}

/* ---------- 内页页头 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 62px;
  background: linear-gradient(180deg, var(--brand-mist) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}

/* 右上角一团克制的紫光，替代原先纯白底的空白感 */
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 75, 255, 0.1), transparent 66%);
  pointer-events: none;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 24, 88, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 24, 88, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(100% 88% at 86% 0%, #000 6%, transparent 72%);
  mask-image: radial-gradient(100% 88% at 86% 0%, #000 6%, transparent 72%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

/* 页头两栏：左侧标题文案，右侧三条要点，把原来的半屏空白转成信息密度 */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.page-hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-hero-points li {
  display: flex;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

/* 数字用等宽，与全站编号语感一致 */
.point-num {
  flex-shrink: 0;
  min-width: 3.4em;
  margin-right: 16px;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.point-text {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.page-hero h1 {
  max-width: 15em;
  color: var(--brand-deep);
  font-size: clamp(29px, 3.4vw, 41px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.028em;
}

.page-hero .lede {
  max-width: 38em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- 能力长页 ---------- */
.cap-list {
  padding-bottom: 24px;
}

.cap-block {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 44px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.cap-block h2 {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cap-block p {
  color: var(--muted);
  font-size: 15px;
}

.clean-list {
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  margin-top: 9px;
  padding-left: 15px;
  color: var(--ink-2);
  font-size: 14.5px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--brand);
}

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 72px;
  align-items: start;
}

.about-grid h2 {
  font-size: clamp(25px, 2.7vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.026em;
}

.about-grid .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15.5px;
}

.facts div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.facts dd {
  margin: 0;
  font-size: 14.5px;
}

.facts a {
  color: var(--brand);
  text-decoration: none;
}

.facts a:hover {
  text-decoration: underline;
}

/* ---------- 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-grid h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-grid .aside-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
}

.contact-mail {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-2);
  color: var(--brand);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 600;
  text-decoration: none;
}

.contact-mail:hover {
  border-bottom-color: var(--brand);
}

.contact-line {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
}

.contact-line a {
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.contact-line a:hover {
  color: var(--brand);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  padding: 60px 0 26px;
  background: var(--dark-2);
  color: rgba(255, 255, 255, 0.66);
  font-size: 13.5px;
}

/* 顶部一道细分割，与 AI 段区分 */
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 168, 247, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr;
  gap: 32px;
}

.site-footer a.footer-brand {
  display: inline-flex;
  margin-top: 0;
  padding: 7px 11px;
  border-radius: 7px;
  background: var(--white);
  line-height: 0;
}

.footer-brand img {
  height: 28px;
  width: auto;
}

.footer-brief {
  max-width: 25em;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.85;
}

.footer-label {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover,
.footer-legal a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.48);
  font-size: 12.5px;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  display: inline;
  margin-top: 0;
  margin-left: 16px;
}

.footer-legal a:first-child {
  margin-left: 0;
}

.site-link {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-grid .stack:first-child {
    padding-left: 22px;
  }

  .hero-grid,
  .prod-card,
  .about-grid,
  .contact-grid,
  .trio,
  .cap-block,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .prod-media {
    min-height: 240px;
  }

  .footer-legal {
    display: block;
  }

  .footer-legal p + p {
    margin-top: 8px;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav a.btn {
    margin: 12px 0 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-grid,
  .section,
  .band-tech,
  .prod {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-grid {
    padding-top: 44px;
    gap: 40px;
  }

  /* 窄屏：层内文案块改为换行排列，避免挤压层名 */
  .layer {
    align-items: flex-start;
    padding: 10px 12px;
  }

  .layer-chips {
    flex: 1;
    justify-content: flex-end;
  }

  .layer-chips span {
    margin-top: 3px;
    font-size: 10px;
  }

  .viz {
    padding: 16px 16px 18px;
  }

  .cap-strip ul {
    flex-wrap: wrap;
  }

  .cap-strip li {
    flex: 0 0 50%;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .page-hero {
    padding: 46px 0 38px;
  }

  /* 页头两栏在窄屏堆叠为一列 */
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero-points {
    margin-top: 4px;
  }

  .prod-body {
    padding: 32px 26px 34px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .card-grid,
  .stack-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .stack-grid .stack {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-actions,
  .prod-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn + .btn,
  .prod-actions .btn + .btn {
    margin-left: 0;
    margin-top: 10px;
  }

  /* 字距收紧后，390px 起可单行；不换行，避免分隔符落到下一行开头 */
  .hero .kicker {
    flex-wrap: nowrap;
  }

  .footer-legal a {
    display: block;
    margin-left: 0;
    margin-top: 6px;
  }
}

/* 375px 及以下：完整公司名单行放不下，按比例收字号与字距，仍保持单行 */
@media (max-width: 375px) {
  .hero .kicker {
    font-size: 13px;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
