/* ============================================================
   官网首页：视觉驱动故事
   主线：首屏全景 → 现状 → 拐点 → 形态 → 交互 → 架构 → 路径 → 证明 → 选择 → 常见问题 → 开始
   每章一个标题、一个视觉，文字只做图注。白底、Geist、单一信号橙。
   类名一律 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: 0 1px 0 rgba(16, 24, 40, 0.03), 0 28px 56px -30px rgba(16, 24, 40, 0.3);
  --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; }
.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; }
.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: 32px; justify-content: center; }
/* 进场只做一次：连线从中心画出去、各部门依次出现；不做持续浮动 */
@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: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; background: var(--bg-2); 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); border-color: 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) 9%, var(--bg)); border-color: color-mix(in srgb, var(--signal) 35%, transparent); }
.hd-step.is-next { background: var(--bg); border-style: dashed; }
.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(--bg); border: 1px solid var(--line); 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 { --app: #2f7cf6; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hd-ui[data-app="dingtalk"] { --app: #0089ff; }
.hd-ui[data-app="feishu"] { --app: #3370ff; }
.hd-ui[data-app="adis"] { --app: var(--signal); }
.hd-ui-stage { position: relative; min-height: 600px; }
.hd-ui-back { position: absolute; left: 0; top: 96px; width: 44%; bottom: 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--bg) 40%, var(--bg-2)); padding: 124px 28px 0; overflow: hidden; }
.hd-ui-back h4 { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; color: color-mix(in srgb, var(--ink-strong) 16%, transparent); }
.hd-ui-back p { margin-top: 18px; height: 10px; width: 78%; border-radius: 99px; background: color-mix(in srgb, var(--ink-strong) 7%, transparent); }
.hd-ui-back p + p { width: 56%; margin-top: 12px; }
.hd-ui-sticker { position: absolute; left: 32px; top: 56px; z-index: 2; width: 104px; height: 104px; border-radius: 26px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--hd-shadow); display: grid; place-items: center; transform: rotate(-6deg); transition: transform 0.35s var(--hd-ease); }
.hd-ui-sticker img { width: 64px; height: 64px; border-radius: 14px; }
.hd-ui-win { position: relative; margin-left: 27%; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); box-shadow: 0 40px 80px -40px rgba(16, 24, 40, 0.35), 0 1px 0 rgba(16, 24, 40, 0.04); overflow: hidden; }
.hd-ui-bar { display: flex; align-items: center; gap: 6px; padding: 16px 20px; font-size: 1rem; color: var(--ink); }
.hd-ui-bar b { font-weight: 500; }
.hd-ui-bar .chev { width: 16px; height: 16px; color: var(--mut); }
.hd-ui-bar .ico { margin-left: auto; display: flex; gap: 6px; }
.hd-ui-bar button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--mut); display: grid; place-items: center; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.hd-ui-bar button:hover { background: var(--bg-2); color: var(--ink-strong); }
.hd-ui-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hd-ui-body { position: relative; height: 336px; }
.hd-ui-home, .hd-ui-conv { position: absolute; inset: 0; padding: 4px 28px 16px; transition: opacity 0.3s ease, transform 0.4s var(--hd-ease); }
.hd-ui[data-state="conv"] .hd-ui-home { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.hd-ui[data-state="home"] .hd-ui-conv { opacity: 0; transform: translateY(10px); pointer-events: none; }
.hd-ui-ava { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); }
.hd-ui-home h3 { margin: 18px 0 12px; font-size: 1.55rem; font-weight: 600; letter-spacing: -0.025em; }
.hd-ui-sug { display: flex; align-items: center; gap: 14px; width: calc(100% + 16px); margin: 0 -8px; padding: 11px 8px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 1.0625rem; color: var(--ink-strong); text-align: left; cursor: pointer; transition: background 0.15s ease; }
.hd-ui-sug:hover { background: var(--bg-2); }
.hd-ui-sug:active { transform: scale(0.99); }
.hd-ui-sug svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hd-ui-conv { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.hd-q { align-self: flex-end; max-width: 80%; padding: 10px 16px; border-radius: 16px 16px 4px 16px; background: var(--ink-strong); color: var(--bg); font-size: 0.975rem; }
.hd-a { display: flex; gap: 12px; align-items: flex-start; }
.hd-a > img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.hd-a-body { min-width: 0; flex: 1; }
.hd-typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: var(--bg-2); }
.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; } }
.hd-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); animation: hdUp 0.4s var(--hd-ease); }
@keyframes hdUp { from { opacity: 0; transform: translateY(6px); } }
.hd-card-h { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-strong); border-bottom: 1px solid var(--line-soft); }
.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; padding: 9px 16px; font-size: 0.9375rem; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.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; gap: 8px; }
.hd-card-f .act span { padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; color: var(--ink-strong); }
.hd-card-f .act span:first-child { background: var(--app); border-color: var(--app); color: #fff; }
.hd-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--app); }
.hd-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hd-ui-compose { margin: 0 20px 20px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; }
.hd-ui-chips { display: flex; gap: 8px; }
.hd-ui-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; color: var(--ink); }
.hd-ui-chips span:first-child { width: 36px; justify-content: center; padding: 6px 0; }
.hd-ui-chips svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hd-ui-ph { margin-top: 14px; padding: 0 4px 28px; font-size: 0.9375rem; color: var(--mut-2); }
.hd-ui-side { display: grid; gap: 40px; 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-entry { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; font: inherit; font-size: 1.0625rem; color: var(--mut); cursor: pointer; transition: color 0.15s ease; }
.hd-entry img { width: 24px; height: 24px; border-radius: 6px; opacity: 0.55; filter: grayscale(0.4); transition: opacity 0.15s ease, filter 0.15s ease; }
.hd-entry:hover, .hd-entry[aria-pressed="true"] { color: var(--ink-strong); }
.hd-entry[aria-pressed="true"] { font-weight: 600; }
.hd-entry[aria-pressed="true"] img, .hd-entry:hover img { opacity: 1; filter: none; }

/* ============ 架构：五层产品，一条任务链 ============ */
.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(--bg); border: 1px solid var(--line); 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 { border-color: var(--signal); color: var(--signal); }
.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: 1px solid transparent; border-radius: 14px; background: none; font: inherit; text-align: left; color: var(--mut); cursor: pointer; overflow: hidden; transition: background 0.2s ease, border-color 0.2s ease; }
.hd-flow button:hover { background: var(--bg-2); }
/* 产品图标代替 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(--bg-2); border-color: var(--line); 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: 1px solid var(--line); border-radius: 22px; background-color: var(--bg); 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: 1px solid var(--line); border-radius: 999px; background: var(--bg); box-shadow: 0 4px 16px -8px rgba(16, 24, 40, 0.3); font-size: 0.975rem; font-weight: 600; color: var(--ink-strong); white-space: nowrap; transition: border-color 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 { border-color: var(--ink-strong); }
.hd-chip.is-hot img { filter: none; opacity: 1; }
.hd-chip--us { padding: 11px 22px 11px 16px; font-size: 1.15rem; border: 1.5px solid var(--signal); box-shadow: 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); } }
}

/* ============ 常见问题 ============ */
.hd-faq { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.hd-faq details { border-top: 1px solid var(--line); }
.hd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 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: 34px; 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 { grid-template-columns: 1fr; }
  .hd-net-stage { width: 136%; margin-left: -18%; }
  .hd-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-ui-stage { min-height: 0; }
  .hd-ui-back, .hd-ui-sticker { display: none; }
  .hd-ui-win { margin-left: 0; }
  .hd-stack { height: 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) {
  .hd-three { grid-template-columns: 1fr; }
  .hd-three img { aspect-ratio: 16 / 9; }
  .hd-stairs { gap: 5px; height: 400px; }
  .hd-step { padding: 12px 8px 0; border-radius: 10px 10px 0 0; }
  .hd-step b { font-size: 0.95rem; }
  .hd:not(:lang(zh)) .hd-step b { font-size: 0.78rem; overflow-wrap: anywhere; hyphens: auto; }
  .hd-step .d { display: none; }
  .hd-step .tag { font-size: 0.7rem; white-space: normal; line-height: 1.3; }
  .hd-step .say { display: none; }
  .hd-depts { gap: 36px 16px; }
  .hd-dept b { font-size: 1.05rem; }
  .hd-dept span { font-size: 0.9rem; }
  .hd-ui-body { height: 360px; }
  .hd-ui-home, .hd-ui-conv { padding: 4px 16px 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-stack { height: 500px; }
  .hd-iso { top: 80%; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-42deg) scale(0.6); }
  .hd-faq summary { padding: 22px 0; }
  .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; }
}
