/* ============================================================
   官网首页：视觉驱动故事
   主线：首屏全景 → 现状 → 拐点 → 形态 → 交互 → 架构 → 路径 → 证明 → 选择 → 常见问题 → 开始
   每章一个标题、一个视觉，文字只做图注。白底、Geist、单一信号橙。
   面分层（docs/site-design.md）：容器用底色分层，不画 1px 边框；浮起的界面用阴影。
   类名一律 hd- 开头，只作用于 .hd 容器（site.css / chat.css 里有同名短类名）。
   ============================================================ */
.hd {
  --hd-font: "Geist", "PingFang SC", "Hiragino Sans", "Noto Sans JP", "Microsoft YaHei", "Yu Gothic", sans-serif;
  --hd-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --hd-io: cubic-bezier(0.77, 0, 0.175, 1);
  --hd-gap: clamp(24px, 3vw, 40px);
  --hd-ink-16: color-mix(in srgb, var(--ink-strong) 16%, transparent);
  --hd-shadow: var(--elev-2);
  --hd-leaf: #1f8a5b;
  font-family: var(--hd-font);
  color: var(--ink);
}
.hd:lang(ja) { --hd-font: "Geist", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "PingFang SC", sans-serif; }
.hd h1, .hd h2, .hd h3, .hd h4, .hd p, .hd ol, .hd ul, .hd dl, .hd dd, .hd figure { margin: 0; }
.hd h1, .hd h2, .hd h3, .hd h4 { font-family: var(--hd-font); color: var(--ink-strong); }
.hd p, .hd li, .hd dd, .hd figcaption { text-wrap: pretty; }
.hd img { display: block; max-width: 100%; }

.hd-sec { padding-top: clamp(104px, 13vw, 176px); }
.hd-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 52rem; }
.hd-h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.032em; text-wrap: balance; }
.hd .hd-sub { margin-top: 16px; font-size: 1.125rem; line-height: 1.7; color: var(--mut); max-width: 34em; }
.hd .hd-note { margin-top: 24px; font-size: 0.8125rem; line-height: 1.6; color: var(--mut-2); }

/* ============ 首屏：智能体网络在上，标题在下 ============ */
.hd-hero { position: relative; overflow: hidden; padding-top: clamp(12px, 2vw, 28px); }
.hd-net { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.hd-net-stage { position: relative; width: min(100%, 1600px, calc(56vh * 1440 / 520)); margin: 0 auto; aspect-ratio: 1440 / 520; }
.hd-net svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hd-net .ln { fill: none; stroke: var(--hd-ink-16); stroke-width: 1.5; stroke-linecap: round; }
.hd-net .ln--far { stroke: color-mix(in srgb, var(--ink-strong) 11%, transparent); stroke-dasharray: 2 7; }
.hd-net .far { fill: color-mix(in srgb, var(--ink-strong) 16%, transparent); }
.hd-net .pulse circle { fill: var(--signal); }
.hd-net .pulse .halo { opacity: 0.16; }
.hd-bot { position: absolute; left: calc(var(--x) / 1440 * 100%); top: calc(var(--y) / 520 * 100%); width: calc(var(--w) / 1440 * 100%); transform: translate(-50%, -50%); }
.hd-bot img { width: 100%; height: auto; filter: drop-shadow(0 14px 14px rgba(60, 40, 20, 0.12)); }
.hd-hero-copy { margin-top: clamp(4px, 1vw, 16px); text-align: center; }
.hd-hero h1 { font-size: clamp(2.75rem, 5.6vw, 5rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.05em; text-wrap: balance; }
.hd .hd-hero-sub { margin-top: 12px; font-size: clamp(1.35rem, 2.5vw, 2.1rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.03em; color: var(--mut); }
.hd-hero-sub em { font-style: normal; color: var(--signal); }
.hd-hero .btn-row { margin-top: 22px; justify-content: center; }
/* 首屏的「问 Adis」：一条输入条 + 三个常见问题，回车或点按钮就在右下角的对话里得到回答 */
.hd-ask {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(640px, 100%);
  margin: 36px auto 0;
  padding: 8px 8px 8px 10px;
  border-radius: 999px;
  background: var(--raised);
  box-shadow: var(--ring), 0 2px 6px rgba(20, 20, 18, 0.04), 0 18px 44px -18px rgba(20, 20, 18, 0.22);
  transition: box-shadow .2s ease, transform .2s var(--hd-ease);
}
.hd-ask:focus-within { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--signal) 55%, transparent), 0 18px 44px -14px rgba(20, 20, 18, 0.24); }
.hd-ask-ip { flex: none; width: 34px; height: 34px; }
.hd-ask input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: none; font: inherit; font-size: 1.0625rem; color: var(--ink-strong); }
.hd-ask input:focus-visible { box-shadow: none; }
.hd-ask input::placeholder { color: var(--mut-2); }
.hd-ask button { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink-strong); color: var(--bg); cursor: pointer; transition: transform .15s ease; }
.hd-ask button:hover { transform: translateY(-1px); }
.hd-ask button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.hd-ask-sug { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.hd-ask-sug button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--fill); color: var(--ink); font: inherit; font-size: 0.875rem; cursor: pointer; transition: background .15s ease, color .15s ease; }
.hd-ask-sug button:hover { background: var(--fill-hover); color: var(--ink-strong); }
.hd-film-btn svg { width: 14px; height: 14px; fill: currentColor; }
/* 进场只做一次：连线从中心画出去、各部门依次出现；不做持续浮动 */
@media (prefers-reduced-motion: no-preference) {
  .hd-net .ln:not(.ln--far) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hdDraw 1.1s var(--hd-ease) var(--dl, 0s) forwards; }
  .hd-net .ln--far, .hd-net .far { opacity: 0; animation: hdFade 0.8s ease 1.2s forwards; }
  .hd-bot img { opacity: 0; animation: hdPop 0.7s var(--hd-ease) var(--dl, 0s) forwards; }
  @keyframes hdDraw { to { stroke-dashoffset: 0; } }
  @keyframes hdFade { to { opacity: 1; } }
  @keyframes hdPop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .hd-net .pulse { display: none; } }

/* ============ 现状：三幅插画 ============ */
.hd-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hd-gap); }
.hd-three figure { display: grid; gap: 18px; align-content: start; }
.hd-three img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: contain; object-position: bottom; }
.hd-three b { display: block; font-size: 1.3rem; font-weight: 600; color: var(--ink-strong); letter-spacing: -0.015em; }
.hd-three span { display: block; margin-top: 4px; font-size: 1rem; color: var(--mut); }

/* ============ 拐点：五级台阶，Adis 站在 L3 ============ */
.hd-stairs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; height: 470px; border-bottom: 1.5px solid var(--ink-strong); }
.hd-step { position: relative; height: var(--h); border-radius: 20px 20px 0 0; background: var(--surface); padding: 20px 20px 0; transform-origin: bottom; }
.hd-step .k { font-size: 0.8125rem; font-weight: 500; color: var(--mut-2); font-feature-settings: "tnum" 1; }
.hd-step b { display: block; margin-top: 4px; font-size: 1.3rem; font-weight: 600; color: var(--ink-strong); letter-spacing: -0.015em; }
.hd-step .d { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--mut); }
.hd-step.is-now { background: var(--signal); }
.hd-step.is-now .k, .hd-step.is-now b, .hd-step.is-now .d { color: #fff; }
.hd-step.is-seen { background: color-mix(in srgb, var(--signal) 10%, var(--bg)); }
/* 还没到的一级：斜纹面，表示「演进方向」 */
.hd-step.is-next { background: repeating-linear-gradient(135deg, var(--surface) 0 10px, color-mix(in srgb, var(--surface) 35%, var(--bg)) 10px 20px); }
.hd-step .tag { position: absolute; left: 0; bottom: calc(100% + 12px); font-size: 0.875rem; font-weight: 600; color: var(--signal); white-space: nowrap; }
.hd-step .bot { position: absolute; left: 50%; bottom: calc(100% - 6px); width: 46%; min-width: 72px; max-width: 128px; transform: translateX(-50%); }
.hd-step .say { position: absolute; right: calc(50% + 26%); bottom: calc(100% + 92px); background: var(--raised); border-radius: 14px 14px 4px 14px; padding: 8px 14px; font-size: 0.875rem; font-weight: 600; color: var(--ink-strong); white-space: nowrap; box-shadow: var(--hd-shadow); }
@media (prefers-reduced-motion: no-preference) {
  .hd-stairs .hd-step { transform: scaleY(0.12); opacity: 0; transition: transform 0.9s var(--hd-ease), opacity 0.4s ease; }
  .hd-stairs.is-in .hd-step { transform: none; opacity: 1; }
  .hd-stairs.is-in .hd-step:nth-child(2) { transition-delay: 0.08s; }
  .hd-stairs.is-in .hd-step:nth-child(3) { transition-delay: 0.16s; }
  .hd-stairs.is-in .hd-step:nth-child(4) { transition-delay: 0.24s; }
  .hd-stairs.is-in .hd-step:nth-child(5) { transition-delay: 0.32s; }
  .hd-stairs .bot, .hd-stairs .say { opacity: 0; transform: translate(-50%, -24px); transition: opacity 0.5s ease 0.9s, transform 0.7s var(--hd-ease) 0.9s; }
  .hd-stairs .say { transform: translateY(8px); transition-delay: 1.3s; }
  .hd-stairs.is-in .bot { opacity: 1; transform: translate(-50%, 0); }
  .hd-stairs.is-in .say { opacity: 1; transform: none; }
}

/* ============ 形态：每个部门一名数字员工 ============ */
.hd-depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) var(--hd-gap); }
.hd-dept { display: grid; gap: 4px; align-content: start; }
.hd-dept img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: contain; object-position: bottom; margin-bottom: 18px; }
.hd-dept b { font-size: 1.3rem; font-weight: 600; color: var(--ink-strong); letter-spacing: -0.015em; }
.hd-dept span { font-size: 1rem; color: var(--mut); }
.hd-dept em { margin-top: 6px; font-style: normal; font-size: 0.875rem; color: var(--ink); }

/* ============ 交互：群聊里的数字员工 ============ */
/* 一块灰色舞台上放一个白色的群聊窗口；消息按文档流排，不用绝对定位（手机上不会叠字） */
.hd-ui { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hd-ui-stage { padding: clamp(18px, 3vw, 44px); border-radius: var(--radius-xl); background: var(--surface); }
.hd-ui-win { border-radius: 22px; background: var(--raised); box-shadow: var(--ring), var(--elev-3); overflow: hidden; }
.hd-ui-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; box-shadow: inset 0 -1px 0 var(--line-soft); }
.hd-ui-app { flex: none; width: 34px; height: 34px; border-radius: 10px; object-fit: contain; }
.hd-ui-room { display: flex; flex-direction: column; min-width: 0; }
.hd-ui-room b { font-size: 0.9875rem; font-weight: 600; color: var(--ink-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-ui-room small { font-size: 0.8125rem; color: var(--mut); }
.hd-ui-conv { display: flex; flex-direction: column; gap: 16px; min-height: 330px; padding: 20px 18px 8px; }
.hd-m { display: flex; gap: 10px; align-items: flex-start; animation: hdUp 0.4s var(--hd-ease); }
.hd-m-ava { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fill); font-size: 0.875rem; font-weight: 600; color: var(--ink); }
img.hd-m-ava { border-radius: 9px; background: none; }
.hd-m--user img.hd-m-ava { border-radius: 50%; background: var(--fill); }
.hd-m-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hd-m-name { font-size: 0.8125rem; color: var(--mut); }
.hd-m-name em { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--signal-soft); font-style: normal; font-size: 0.6875rem; font-weight: 600; color: var(--signal); }
.hd-m-bub { align-self: flex-start; max-width: 100%; padding: 9px 14px; border-radius: 4px 16px 16px 16px; background: var(--surface); font-size: 0.9875rem; color: var(--ink-strong); overflow-wrap: anywhere; }
.hd-m-bub b { font-weight: 600; color: var(--signal); }
.hd-typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: var(--surface); align-self: flex-start; }
.hd-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mut-2); animation: hdType 1s infinite; }
.hd-typing i:nth-child(2) { animation-delay: 0.15s; }
.hd-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes hdType { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes hdUp { from { opacity: 0; transform: translateY(6px); } }
.hd-card { --fill: var(--raised); border-radius: 16px; overflow: hidden; background: var(--surface); animation: hdUp 0.4s var(--hd-ease); }
.hd-card-h { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 12px 16px 6px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-strong); }
.hd-card-h span { font-weight: 400; font-size: 0.8125rem; color: var(--mut); }
.hd-card-row { display: flex; justify-content: space-between; gap: 12px; margin: 0 8px; padding: 8px; font-size: 0.9375rem; color: var(--ink); }
.hd-card-row + .hd-card-row { box-shadow: inset 0 1px 0 var(--line-soft); }
.hd-card-row span:last-child { white-space: nowrap; font-feature-settings: "tnum" 1; }
.hd-card-row .warn { color: var(--signal); }
.hd-card-row .ok { color: var(--hd-leaf); }
.hd-card-f { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; font-size: 0.8125rem; color: var(--mut); flex-wrap: wrap; }
.hd-card-f .act { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.hd-card-f .act span { padding: 6px 14px; border-radius: 999px; background: var(--fill); box-shadow: var(--elev-1); font-size: 0.8125rem; font-weight: 600; color: var(--ink-strong); white-space: nowrap; }
.hd-card-f .act span:first-child { background: var(--ink-strong); color: var(--bg); box-shadow: none; }
.hd-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--signal); }
.hd-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hd-ui-sugs { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 18px 4px; }
.hd-ui-sug { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--fill); font: inherit; font-size: 0.8125rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: background .15s ease, color .15s ease; }
.hd-ui-sug:hover { background: var(--fill-hover); color: var(--ink-strong); }
.hd-ui-sug[aria-pressed="true"] { background: var(--ink-strong); color: var(--bg); }
.hd-ui-sug svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hd-ui-compose { --fill: var(--raised); margin: 12px 14px 14px; padding: 10px; border-radius: 18px; background: var(--surface); }
.hd-ui-chips { display: flex; gap: 8px; }
.hd-ui-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--fill); font-size: 0.8125rem; color: var(--ink); }
.hd-ui-chips span:first-child { width: 32px; justify-content: center; padding: 5px 0; }
.hd-ui-chips svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hd-ui-ph { margin-top: 10px; padding: 0 4px 6px; font-size: 0.9375rem; color: var(--mut-2); }
.hd-ui-side { display: grid; gap: 36px; align-content: center; }
.hd .hd-ui-claim { font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.4; letter-spacing: -0.02em; color: var(--mut); }
.hd-ui-claim b { font-weight: 600; color: var(--ink-strong); }
.hd-ui-list h4 { font-size: 0.9375rem; font-weight: 500; color: var(--mut); margin-bottom: 12px; }
.hd-ui-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hd-ui-list li { font-size: 1.0625rem; color: var(--ink-strong); }
/* 入口：一张静态清单（两列），中文站把国内的聊天工具排在前面，其他语言排在后面 */
.hd-ui-list ul.hd-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.hd-entries li { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 1rem; }
.hd-entries li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-entries img { flex: none; width: 24px; height: 24px; border-radius: 6px; object-fit: contain; }
html:not(:lang(zh)) .hd-entries li.cn { order: 1; }
.hd-entries li.own { order: 2; }

/* ============ 连接：应用星图 ============ */
.hd-apps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hd-apps .hd-head { margin-bottom: 0; }
.hd-apps-key { display: grid; gap: 14px; margin: 28px 0 0; }
.hd-apps-key div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; align-items: baseline; }
.hd-apps-key dt { font-size: 0.9375rem; font-weight: 600; color: var(--ink-strong); }
.hd-apps-key dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--mut); }
.hd-appmap { position: relative; width: 100%; max-width: 640px; margin-left: auto; aspect-ratio: 1; }
.hd-appmap::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--signal) 10%, transparent), transparent 70%); }
.hd-appmap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hd-appmap line { stroke: color-mix(in srgb, var(--ink-strong) 14%, transparent); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hd-appmap line.r0 { stroke: color-mix(in srgb, var(--signal) 55%, transparent); stroke-width: 1.5; }
.hd-appmap line.r2 { stroke: color-mix(in srgb, var(--ink-strong) 8%, transparent); }
.hd-appmap .pulse { fill: var(--signal); }
.hd-hub { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 30px; background: var(--raised); box-shadow: var(--ring), 0 0 0 10px color-mix(in srgb, var(--signal) 8%, transparent), var(--elev-3); }
.hd-hub img { width: 84px; height: 84px; }
.hd-app { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: calc(var(--s) * 0.28); background: var(--raised); box-shadow: var(--ring), var(--elev-2); transition: transform .25s var(--hd-ease); }
.hd-app img { width: 54%; height: 54%; object-fit: contain; }
.hd-app:hover { transform: scale(1.08); }
@media (prefers-reduced-motion: no-preference) {
  .hd-appmap line { stroke-dasharray: 1 0; }
  .hd-appmap .hd-app { opacity: 0; transform: scale(0.7); transition: opacity .5s ease var(--d), transform .6s var(--hd-ease) var(--d); }
  .hd-appmap.is-in .hd-app { opacity: 1; transform: none; }
  .hd-hub { animation: hdHub 4.8s ease-in-out infinite; }
  @keyframes hdHub { 0%, 100% { box-shadow: var(--ring), 0 0 0 10px color-mix(in srgb, var(--signal) 8%, transparent), var(--elev-3); } 50% { box-shadow: var(--ring), 0 0 0 18px color-mix(in srgb, var(--signal) 4%, transparent), var(--elev-3); } }
}
@media (prefers-reduced-motion: reduce) { .hd-appmap .pulse { display: none; } }

/* ============ 短片（中文站）：弹窗播放 ============ */
.hd-film { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #000; overflow: visible; }
.hd-film::backdrop { background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(6px); }
.hd-film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: #000; }
.hd-film-x { position: absolute; right: -6px; top: -48px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: #fff; cursor: pointer; }
.hd-film-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ============ 架构：五层产品，一条任务链 ============ */
.hd-arch { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hd-stack { position: relative; height: 640px; perspective: 2400px; }
.hd-iso { position: absolute; left: 50%; top: 70%; width: 330px; height: 330px; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-42deg); }
.hd-plate { position: absolute; inset: 0; border-radius: 30px; background: linear-gradient(135deg, #ffffff 0%, #f5f5f6 100%); border: 1px solid rgba(0, 0, 0, 0.09); box-shadow: inset 0 1px 0 #fff, 0 44px 54px -34px rgba(16, 24, 40, 0.38); transform: translateZ(calc(var(--i) * 86px)); transition: transform 0.6s var(--hd-ease), border-color 0.3s ease, box-shadow 0.3s ease; }
[data-theme="dark"] .hd-plate { background: linear-gradient(135deg, #1d1f22 0%, #141517 100%); border-color: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 44px 54px -34px rgba(0, 0, 0, 0.8); }
.hd-plate::before { content: ""; position: absolute; inset: 20px; border-radius: 18px; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 24px 24px; }
.hd-plate.is-on { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 44px 70px -30px rgba(227, 68, 0, 0.5); transform: translateZ(calc(var(--i) * 86px + 18px)); }
.hd-plate-name { position: absolute; left: 18px; bottom: 16px; display: flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-strong); line-height: 1.1; transition: color 0.3s ease; }
.hd-plate-name img { flex: none; width: 64px; height: 64px; }
.hd-plate-name small { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--mut); }
.hd-plate.is-on .hd-plate-name { color: var(--signal); }
.hd-glyph { position: absolute; right: 26px; top: 26px; width: 140px; height: 112px; }
.hd-glyph * { vector-effect: non-scaling-stroke; }
.hd-orbit { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--signal) 45%, transparent); transform: translateZ(128px); transition: border-color 0.3s ease; }
.hd-orbit.is-on { border-style: solid; border-color: var(--signal); }
.hd-orbit i { position: absolute; inset: 0; }
.hd-orbit i::before { content: ""; position: absolute; left: 50%; top: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px var(--signal-soft); }
@media (prefers-reduced-motion: no-preference) {
  .hd-orbit i { animation: hdSpin 16s linear infinite; }
  @keyframes hdSpin { to { transform: rotate(360deg); } }
}
.hd-iso-bot { position: absolute; left: 50%; top: 50%; width: 118px; height: 150px; margin: -150px 0 0 -59px; transform-origin: 50% 100%; transform: translateZ(276px) rotateZ(42deg) rotateX(-58deg); pointer-events: none; }
.hd-iso-bot img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.hd-iso-bot .say { position: absolute; right: calc(100% - 8px); top: 4px; background: var(--raised); border-radius: 14px 14px 4px 14px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink-strong); white-space: nowrap; box-shadow: var(--hd-shadow); }
.hd-arch:has(.hd-flow button[data-p="adis"][aria-selected="true"]) .hd-iso-bot .say { color: var(--signal); box-shadow: 0 0 0 1.5px var(--signal), var(--hd-shadow); }
.hd-orbit-tag { position: absolute; right: 2%; top: 8%; display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--signal); }
.hd-orbit-tag img { width: 34px; height: 34px; }
.hd-orbit-tag::before { content: ""; width: 24px; border-top: 1.5px dashed currentColor; }
.hd-flow { list-style: none; padding: 0; display: grid; gap: 6px; }
.hd-flow button { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 18px; background: none; font: inherit; text-align: left; color: var(--mut); cursor: pointer; overflow: hidden; transition: background 0.2s ease; }
.hd-flow button:hover { background: var(--surface); }
/* 产品图标代替 1–5 序号；图标画布四周留白约 10%，所以 44px 的格子里看到的是约 36px 的圆角方 */
.hd-flow .n { grid-row: span 2; align-self: center; width: 44px; height: 44px; transition: transform 0.2s ease; }
.hd-flow b { font-size: 1.125rem; font-weight: 600; color: var(--ink-strong); }
.hd-flow b small { margin-left: 8px; font-size: 0.875rem; font-weight: 500; color: var(--mut); }
.hd-flow span.t { font-size: 0.9875rem; }
.hd-flow button[aria-selected="true"] { background: var(--surface); color: var(--ink); }
.hd-flow button[aria-selected="true"] .n { transform: scale(1.08); }
.hd-flow .bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.hd-flow button[aria-selected="true"] .bar { animation: hdBar 2.8s linear forwards; }
.hd-arch.is-paused .hd-flow .bar { animation-play-state: paused; }
.hd-arch.is-manual .hd-flow .bar { animation: none; }
@keyframes hdBar { to { transform: scaleX(1); } }

/* ============ 路径：一年长出一张网 ============ */
.hd-grow { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.hd-grow figure { display: grid; gap: 14px; }
.hd-grow svg { width: 100%; height: auto; overflow: visible; }
.hd-grow .arrow { align-self: center; margin-top: -90px; color: var(--mut-2); }
.hd-grow .arrow svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hd-grow .m { font-size: 0.9375rem; color: var(--mut); }
.hd-grow .n { font-size: clamp(2.1rem, 3.6vw, 2.9rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink-strong); font-feature-settings: "tnum" 1; }
.hd-grow .n small { margin-left: 6px; font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--mut); }
.hd-grow .d { font-size: 1rem; color: var(--ink); }
.hd-grow .d i { font-style: normal; color: var(--mut); }
.hd-net-l { fill: none; stroke: var(--hd-ink-16); stroke-width: 1.2; }
.hd-net-l.hot { stroke: var(--signal); stroke-width: 1.6; }
.hd-net-dot { fill: color-mix(in srgb, var(--ink-strong) 32%, transparent); }
.hd-net-dot.hot { fill: var(--signal); }
.hd-net-ring { fill: var(--bg); stroke: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .hd-grow figure .hd-net-l { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--hd-ease); transition-delay: calc(0.2s + var(--i, 0) * 0.02s); }
  .hd-grow figure.is-in .hd-net-l { stroke-dashoffset: 0; }
  .hd-grow figure .hd-net-n { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; transition: opacity 0.35s ease, transform 0.5s var(--hd-ease); transition-delay: calc(var(--i, 0) * 0.018s); }
  .hd-grow figure.is-in .hd-net-n { opacity: 1; transform: none; }
}

/* ============ 证明 ============ */
.hd-proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--hd-gap); align-items: center; }
.hd-proof .hd-head { margin-bottom: 0; }
.hd-proof-art img { width: 100%; height: auto; }

/* ============ 选择：采购模式定位图 ============ */
.hd-map { position: relative; min-height: 580px; border-radius: 28px; background-color: var(--surface); background-image: radial-gradient(color-mix(in srgb, var(--ink-strong) 13%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; background-position: 11px 11px; overflow: hidden; }
.hd-map-plot { position: absolute; left: 72px; right: 32px; top: 36px; bottom: 64px; }
.hd-axis-x { position: absolute; left: 72px; right: 32px; bottom: 46px; height: 1px; background: var(--ink-strong); }
.hd-axis-y { position: absolute; left: 52px; top: 36px; bottom: 64px; width: 1px; background: var(--ink-strong); }
.hd-axis-x::after { content: ""; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left: 7px solid var(--ink-strong); border-right: 0; }
.hd-axis-y::after { content: ""; position: absolute; top: -1px; left: -4px; border: 4.5px solid transparent; border-bottom: 7px solid var(--ink-strong); border-top: 0; }
.hd-ax { position: absolute; font-size: 0.875rem; color: var(--mut); white-space: nowrap; }
.hd-ax b { font-weight: 600; color: var(--ink-strong); }
.hd-zone { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--ink-strong) 7%, transparent), transparent); transition: background 0.3s ease; }
.hd-zone.is-hot { background: radial-gradient(closest-side, color-mix(in srgb, var(--signal) 14%, transparent), transparent); }
.hd-zone-name { position: absolute; transform: translateX(-50%); font-size: 0.8125rem; color: var(--mut-2); white-space: nowrap; }
.hd-chip { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px 6px 6px; border-radius: 999px; background: var(--raised); box-shadow: var(--elev-1); font-size: 0.975rem; font-weight: 600; color: var(--ink-strong); white-space: nowrap; transition: box-shadow 0.2s ease, opacity 0.25s ease; }
.hd-chip img { width: 28px; height: 28px; border-radius: 7px; filter: grayscale(1); opacity: 0.85; transition: filter 0.2s ease, opacity 0.2s ease; }
[data-theme="dark"] .hd-chip img.mono { filter: invert(1); }
.hd-map.is-focus .hd-chip:not(.is-hot):not(.hd-chip--us) { opacity: 0.35; }
.hd-chip.is-hot { box-shadow: 0 0 0 1.5px var(--ink-strong), var(--elev-2); }
.hd-chip.is-hot img { filter: none; opacity: 1; }
.hd-chip--us { padding: 11px 22px 11px 16px; font-size: 1.15rem; box-shadow: 0 0 0 1.5px var(--signal), 0 12px 32px -12px rgba(227, 68, 0, 0.5); }
.hd-chip--us .mark { color: var(--signal); }
@media (prefers-reduced-motion: no-preference) {
  .hd-chip--us::after { content: ""; position: absolute; inset: -7px; border-radius: 999px; border: 1.5px solid var(--signal); opacity: 0; animation: hdRing 2.8s var(--hd-ease) infinite; }
  @keyframes hdRing { 0% { opacity: 0.5; transform: scale(0.96); } 100% { opacity: 0; transform: scale(1.18); } }
}

/* ============ 常见问题 ============ */
/* 一问一块灰面（Meta 式大号问题 + 右侧 +/−），问与问之间不画线 */
.hd-faq { display: grid; gap: 10px; interpolate-size: allow-keywords; }
.hd-faq details { border-radius: 24px; background: var(--surface); padding: 0 clamp(20px, 2.6vw, 32px); transition: background 0.2s ease; }
.hd-faq details:not([open]):hover { background: var(--surface-hover); }
.hd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: clamp(1.25rem, 2.2vw, 1.8rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.025em; color: var(--ink-strong); cursor: pointer; list-style: none; }
.hd-faq summary::-webkit-details-marker { display: none; }
.hd-faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
.hd-faq summary i { position: relative; flex: none; width: 22px; height: 22px; transition: color 0.2s ease; }
.hd-faq summary:hover i { color: var(--signal); }
.hd-faq summary i::before, .hd-faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--hd-ease); }
.hd-faq summary i::after { transform: rotate(90deg); }
.hd-faq details[open] summary i::after { transform: rotate(0deg); }
.hd .hd-faq .a { max-width: 40em; padding-bottom: 30px; font-size: 1.0625rem; line-height: 1.8; color: var(--ink); }
.hd-faq .a a { color: var(--ink-strong); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .hd-faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.4s var(--hd-ease), content-visibility 0.4s allow-discrete; }
  .hd-faq details[open]::details-content { block-size: auto; }
}

/* ============ 开始 ============ */
.hd-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hd-gap); align-items: center; padding-bottom: clamp(104px, 13vw, 176px); }
.hd-price { margin-top: 20px; font-size: clamp(3.6rem, 8.4vw, 6.75rem); font-weight: 600; letter-spacing: -0.055em; line-height: 1; color: var(--ink-strong); font-feature-settings: "tnum" 1; }
.hd-price small { margin-left: 10px; font-size: 0.3em; font-weight: 500; letter-spacing: -0.01em; }
.hd-price small.pre { margin: 0 12px 0 0; }
.hd-steps { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; counter-reset: hds; }
.hd-steps li { counter-increment: hds; display: inline-flex; align-items: baseline; gap: 8px; font-size: 1.0625rem; color: var(--ink-strong); }
.hd-steps li::before { content: counter(hds); font-size: 0.875rem; font-weight: 600; color: var(--signal); }
.hd-cta .btn-row { margin-top: 32px; }
.hd-cta-art img { width: 100%; height: auto; }

/* ============ 响应式 ============ */
@media (max-width: 1000px) {
  .hd-ui, .hd-arch, .hd-proof, .hd-cta, .hd-apps { grid-template-columns: 1fr; }
  .hd-appmap { margin: 0 auto; }
  .hd-net-stage { width: 136%; margin-left: -18%; }
  .hd-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-ui-side { gap: 28px; }
  .hd-stack { height: 520px; overflow-x: clip; }   /* 520px 的轨道圈在窄屏会把页面撑宽 */
  .hd-iso { top: 77%; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-42deg) scale(0.8); }
  .hd-grow { grid-template-columns: 1fr; }
  .hd-grow .arrow { margin: 0 auto; transform: rotate(90deg); }
  .hd-map { min-height: 500px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .hd-stairs .hd-step { transform: scaleX(0.1); }
  .hd-stairs.is-in .hd-step { transform: none; }
}
@media (max-width: 640px) {
  .hd-three { grid-template-columns: 1fr; }
  .hd-three img { aspect-ratio: 16 / 9; }
  /* 五级在手机上改成横向条：从左边的轴长出来，字不再被拆开 */
  .hd-stairs { height: auto; grid-template-columns: 1fr; gap: 8px; padding: 4px 0; border-bottom: 0; border-left: 1.5px solid var(--ink-strong); }
  .hd-step { width: calc(var(--h) * 0.72 + 28%); height: auto; padding: 11px 14px; border-radius: 0 14px 14px 0; transform-origin: left; display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; align-items: baseline; }
  .hd-step .k { grid-row: 1 / span 2; }
  .hd-step b { margin-top: 0; font-size: 1rem; }
  .hd-step .d { grid-column: 2; margin-top: 2px; font-size: 0.8125rem; }
  .hd-step .tag { position: static; grid-column: 2; grid-row: 1; margin-bottom: 2px; font-size: 0.75rem; white-space: normal; }
  .hd-step .tag ~ b { grid-row: 2; }
  .hd-step .tag ~ .d { grid-row: 3; }
  .hd-step .bot { display: none; }
  .hd-step .say { position: static; grid-column: 2; grid-row: 1; margin-bottom: 2px; padding: 0; background: none; box-shadow: none; border-radius: 0; font-size: 0.75rem; color: #fff; opacity: 0.9; }
  .hd-step.is-now .say ~ b { grid-row: 2; }
  .hd-step.is-now .say ~ .d { grid-row: 3; }
  .hd-depts { gap: 36px 16px; }
  .hd-dept b { font-size: 1.05rem; }
  .hd-dept span { font-size: 0.9rem; }
  .hd-ui-stage { padding: 12px; border-radius: 24px; }
  .hd-ui-conv { min-height: 0; padding: 16px 14px 6px; }
  .hd-ui-sugs { padding: 8px 14px 2px; }
  .hd-ui-compose { margin: 10px 10px 10px; }
  .hd-card-row { font-size: 0.875rem; }
  .hd-apps-key div { grid-template-columns: 1fr; gap: 4px; }
  .hd-hub { width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 22px; }
  .hd-hub img { width: 62px; height: 62px; }
  .hd-app { width: calc(var(--s) * 0.68); height: calc(var(--s) * 0.68); margin: calc(var(--s) * -0.34) 0 0 calc(var(--s) * -0.34); }
  /* ADIS：手机上不画三维层板（太挤），把五层画成一条竖向任务链 */
  .hd-stack { display: none; }
  .hd-flow { position: relative; gap: 10px; }
  .hd-flow::before { content: ""; position: absolute; left: 38px; top: 34px; bottom: 34px; width: 2px; border-radius: 2px; background: linear-gradient(var(--signal), color-mix(in srgb, var(--signal) 12%, transparent)); }
  .hd-flow button { background: var(--raised); box-shadow: var(--ring), var(--elev-1); }
  .hd-flow button:hover { background: var(--raised); }
  .hd-flow button[aria-selected="true"] { background: var(--raised); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--signal) 55%, transparent), var(--elev-2); }
  .hd-flow .n { position: relative; z-index: 1; background: var(--raised); border-radius: 12px; }
  .hd-net-stage { width: 190%; margin-left: -45%; }
  .hd-net .ln { stroke-width: 2.8; }
  .hd-net .pulse circle { transform: scale(1.8); }
  .hd-ask { margin-top: 28px; padding: 6px 6px 6px 8px; }
  .hd-ask input { font-size: 1rem; }
  .hd-ask-sug button { font-size: 0.8125rem; }
  .hd-faq summary { padding: 20px 0; }
  .hd-faq details { border-radius: 18px; }
  .hd-orbit-tag { display: none; }
  .hd-chip { font-size: 0.75rem; padding: 3px 10px 3px 3px; left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .hd-chip img { width: 20px; height: 20px; }
  .hd-chip--us { font-size: 0.9rem; padding: 7px 14px 7px 10px; }
  .hd-zone-name { display: none; }
  .hd-map-plot { left: 44px; right: 16px; }
  .hd-axis-x { left: 44px; right: 16px; }
  .hd-axis-y { left: 30px; }
  .hd-ax--bot { display: none; }
}
