/* SPDX-License-Identifier: LicenseRef-VINCIS-ARR
 *
 * VINCIS GPT — marketing home sections.
 *
 * Ported verbatim from the approved design. Everything the homepage adds on
 * top of marketing-foundation.css: the hero headline, the platform console,
 * the workforce allocator, growth, the learning loop, the proof cards, the
 * desk preview and the closing stage. Every selector is scoped under
 * .decision-home; the design's [data-vt="light"] condition is html:not(.dark).
 */

.decision-home .stage.is-deep {
  --sbg: var(--s0-bg);
}
/* ================= type ================= */
.decision-home .neq {
  margin: 0 0.1em;
  font-weight: 400;
  color: var(--fg2);
}
.decision-home .lede b {
  color: var(--fg3);
  font-weight: 500;
}
/* ================= reveal ================= */
.decision-home.js .r {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.decision-home.js .r.in {
  opacity: 1;
  transform: none;
}
/* The first screen reveals itself the moment the HTML arrives: the same
   motion as .r, run by CSS from the first frame instead of waiting for the
   script and the observer. That is what lets the headline count as the
   largest contentful paint at HTML time rather than at hydration. */
@keyframes reveal-now {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes console-reveal-now {
  from {
    opacity: 0;
    transform: translateY(54px) scale(0.955) rotateX(7deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.decision-home .r-now {
  /* backwards, not both: the element holds its start state until its delay
     runs out, and once the motion ends it is an ordinary element again with
     no compositor layer of its own. */
  animation: reveal-now 1.1s var(--ease-out) var(--d, 0ms) backwards;
}
.decision-home .console-wrap.r-now {
  animation-name: console-reveal-now;
}
/* ================= nav ================= */
/* The (public) layout mounts the nav inside a zero-height host that only
   carries the .decision-home scope. The root rule's isolation and overflow
   would make that host its own stacking context painted beneath the
   layout <main>, and a fixed nav inside it becomes unclickable under the hero. The
   host is lifted to the nav's own layer and clips nothing. */
.decision-home .btn.ghost {
  background: transparent;
  color: var(--t-hi);
  border-color: var(--line-d2);
}
.decision-home .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.3);
}
.decision-home .stage.is-light .btn.ghost {
  background: transparent;
  color: var(--l-hi);
  border-color: var(--line-l);
}
.decision-home .hero h1 .dim {
  color: rgba(242, 244, 248, 0.46);
}
.decision-home .hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.decision-home .hero .hero-cta .btn {
  font-size: 15.5px;
  padding: 12px 30px;
  min-width: 162px;
  justify-content: center;
}
/* ================= console ================= */
.decision-home .console-wrap {
  position: relative;
  max-width: 1180px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  perspective: 2000px;
}
.decision-home.js .console-wrap.r {
  transform: translateY(54px) scale(0.955) rotateX(7deg);
}
.decision-home.js .console-wrap.r.in {
  transform: none;
}
.decision-home.js .console-wrap {
  transition:
    opacity 1.4s var(--ease-out),
    transform 1.5s var(--ease-out);
}
.decision-home .console {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.135);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.022) 30%,
      rgba(255, 255, 255, 0.006)
    ),
    #0e1118;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 44px 90px -30px rgba(0, 0, 0, 0.95),
    0 130px 200px -90px rgba(130, 160, 230, 0.22);
  overflow: hidden;
}
.decision-home .console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 32%,
    rgba(255, 255, 255, 0.055) 46%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: sheen 9s var(--ease) 2.4s infinite;
}
.decision-home .c-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  color: var(--t-lo);
}
.decision-home .c-bar .id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--t-md);
}
.decision-home .c-bar .sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
}
.decision-home .c-bar .sp {
  margin-left: auto;
}
.decision-home .c-bar .t {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.decision-home .c-body {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr) 258px;
}
@media (max-width: 940px) {
  .decision-home .c-body {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .decision-home .c-body > * {
    width: 100%;
    min-width: 0;
  }
  .decision-home .c-main {
    order: -1;
    border-right: 0;
    border-bottom: 1px solid var(--con-line, rgba(255, 255, 255, 0.06));
    padding-bottom: 14px;
  }
  .decision-home .c-right {
    order: 0;
    border-left: 0;
    border-bottom: 1px solid var(--con-line, rgba(255, 255, 255, 0.06));
    padding-bottom: 20px;
  }
  .decision-home .c-side {
    order: 1;
    border-right: 0;
    border-left: 0;
  }
  .decision-home .console-wrap .swipe {
    display: none;
  }
  .decision-home .c-bar {
    padding: 0 16px;
  }
  .decision-home .c-h {
    padding-left: 16px;
    padding-right: 16px;
  }
  .decision-home .emp-row {
    padding-left: 16px;
    padding-right: 16px;
  }
  .decision-home .c-work {
    padding-left: 16px;
    padding-right: 16px;
  }
  .decision-home .cost {
    padding-left: 16px;
    padding-right: 16px;
  }
  .decision-home .ask {
    margin: 0 12px;
  }
  .decision-home .c-main .lrow {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 4px 10px;
    align-items: center;
    padding: 11px 16px;
  }
  .decision-home .c-main .lrow .tx {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.5;
  }
  .decision-home .c-main .lrow .flag {
    white-space: nowrap;
  }
}
.decision-home .swipe {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.3);
}
.decision-home .swipe i {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
}
.decision-home .c-side {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}
.decision-home .c-right {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}
.decision-home .c-main {
  padding: 16px 0 18px;
  min-width: 0;
}
.decision-home .c-h {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding: 0 18px 12px;
}
.decision-home .emp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 13px;
  transition: background 0.3s;
}
.decision-home .emp-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
/* ---- robot avatars ---- */
.decision-home .bot {
  width: 100%;
  height: 100%;
  display: block;
  animation: botbob 7.6s ease-in-out infinite;
  animation-delay: var(--bd, 0s);
}
.decision-home .bot .eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: botblink 11s ease-in-out infinite;
  animation-delay: var(--bd, 0s);
}
.decision-home .emp-row .nm {
  color: var(--t-md);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.decision-home .emp-row .st {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex: none;
}
.decision-home .emp-row .st.on {
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(95, 207, 168, 0.14);
}
.decision-home .emp-row .st.wait {
  background: var(--sig);
  box-shadow: 0 0 0 3px rgba(229, 178, 106, 0.14);
}
.decision-home .c-work {
  padding: 0 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
}
.decision-home .c-work .tt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.decision-home .c-work .tt b {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.decision-home .c-work .tt em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.35);
}
.decision-home .prog {
  margin-top: 12px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.decision-home .prog i {
  display: block;
  height: 100%;
  width: 24%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  transition: width 5.5s linear;
}
.decision-home .c-work .pc {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.34);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.decision-home .lrow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--t-md);
}
.decision-home .lrow time {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  font-variant-numeric: tabular-nums;
}
.decision-home .lrow .tx {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.decision-home .lrow .tx s {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.4);
}
.decision-home .flag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.34);
}
.decision-home .flag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.decision-home .flag.ok {
  color: rgba(95, 207, 168, 0.85);
}
.decision-home .flag.run {
  color: rgba(255, 255, 255, 0.72);
}
.decision-home .flag.run i {
  animation: pulse 1.9s ease-in-out infinite;
}
.decision-home .flag.gate {
  color: var(--sig);
}
.decision-home .lrow.is-new {
  animation: slidein 0.8s var(--ease-out) both;
}
.decision-home .ask {
  margin: 0 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(229, 178, 106, 0.28);
  background: linear-gradient(
    180deg,
    rgba(229, 178, 106, 0.1),
    rgba(229, 178, 106, 0.03)
  );
}
.decision-home .ask .q {
  font-size: 13.5px;
  color: #fff;
  letter-spacing: -0.01em;
}
.decision-home .ask .m {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(229, 178, 106, 0.8);
  letter-spacing: 0.1em;
}
.decision-home .ask .acts {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.decision-home .mini {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.92);
  color: #0b0d12;
}
.decision-home .mini.sec {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.decision-home .cost {
  padding: 18px 18px 0;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.decision-home .cost .v {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.decision-home .cost .v b {
  font-family: var(--mono);
  font-weight: 450;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.decision-home .cost .v span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.34);
}
.decision-home .meter {
  margin-top: 10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.decision-home .meter i {
  display: block;
  height: 100%;
  width: 37%;
  background: rgba(255, 255, 255, 0.78);
}
.decision-home .cost .note2 {
  margin-top: 10px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.44);
  line-height: 1.5;
}
.decision-home .console-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  right: 8%;
  bottom: -46px;
  height: 120px;
  background: radial-gradient(
    50% 60% at 50% 0%,
    rgba(150, 178, 235, 0.16),
    transparent 72%
  );
  filter: blur(6px);
  pointer-events: none;
}
.decision-home .caption {
  margin: 26px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 12.5px;
  color: var(--t-lo);
}
/* ================= marquee of capabilities ================= */
.decision-home .track span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--s1-fg2);
  white-space: nowrap;
}
/* ================= organize timeline ================= */
/* ORGANIZE —— 左右交替的滚动点亮时间轴。配套 ./live/ProcessTimeline.tsx。
 *
 * 三条规则，改之前先读：
 * 1. 左右交替用 .vg-tl-step.alt 显式挂在 02、04 行上，不能用 :nth-child()
 *    —— .vg-tl-rail 占了容器的第一个子元素位置，会让左右整体错一位。
 * 2. .vg-tl-icon / .vg-tl-node / .vg-tl-copy 都写死 grid-row:1。不写的话，
 *    .alt 行"先第 3 列、再第 1 列"的顺序会让网格自动排版给每个元素另起一行，
 *    看起来就是图标偏上、文字偏下。
 * 3. 行卡片是 .vg-tl-step::before（z-index:-1），不是 step 自己的 background
 *    —— 这样竖线才能压在卡片上、同时又被节点压住。
 *
 * 点亮的表现：未点亮 = 空心圆角方框；点亮 = 一圈 --live 细环套一个 --live 实心点，
 * 像状态指示灯。--live 是站上"在跑 / 已生效"本来就在用的信号色，这里不新增色相。
 *
 * 深浅色：色值全部走下面两组 --tl-* 变量，其余取 .stage 的 --fg/--fg2/--line2/--live。
 */
.decision-home .vg-tl {
  --tl-card: #12151c;
  --tl-cardline: rgba(255, 255, 255, 0.07);
  --tl-rail: rgba(255, 255, 255, 0.13);
  --tl-tile-off: rgba(255, 255, 255, 0.055);
  --tl-tile-offline: rgba(255, 255, 255, 0.09);
  --tl-tile-glyph: rgba(242, 244, 248, 0.74);

  position: relative;
  z-index: 0;
  margin-top: clamp(48px, 7vw, 84px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
html:not(.dark) .decision-home .vg-tl {
  --tl-card: #f3f5f7;
  --tl-cardline: rgba(14, 22, 32, 0.06);
  --tl-rail: rgba(14, 22, 32, 0.13);
  --tl-tile-off: linear-gradient(145deg, #eceef1, #ffffff);
  --tl-tile-offline: rgba(14, 22, 32, 0.07);
  --tl-tile-glyph: #0b0f14;
}

/* ---- 竖线：底线 + 渐变填充，终点由 JS 量到最后一个节点圆心 ---- */
.decision-home .vg-tl-rail {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  margin-left: -0.5px;
  height: calc(100% - 81px); /* JS 未跑时的兜底 */
  background: var(--tl-rail);
}
.decision-home .vg-tl-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--live) 20%, transparent) 30%,
    color-mix(in srgb, var(--live) 68%, transparent) 72%,
    var(--live) 100%
  );
  transition: height 0.45s var(--ease-out);
}

/* ---- 行 ---- */
.decision-home .vg-tl-step {
  position: relative;
  min-height: 162px;
  display: grid;
  grid-template-columns: 1fr 160px 1fr; /* 中间 160 = 竖线两侧各 80 的空档 */
  align-items: center;
}
.decision-home .vg-tl-step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--tl-card);
  border: 1px solid var(--tl-cardline);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.decision-home .vg-tl-step.is-on::before {
  opacity: 1;
}
.decision-home .vg-tl-icon,
.decision-home .vg-tl-node,
.decision-home .vg-tl-copy {
  grid-row: 1; /* ← 见顶部规则 2，别删 */
}

/* ---- 图标砖 + 序号 ---- */
.decision-home .vg-tl-icon {
  grid-column: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 32px;
}
.decision-home .vg-tl-step.alt .vg-tl-icon {
  grid-column: 3;
  justify-self: start;
}
.decision-home .vg-tl-tile {
  width: 80px;
  height: 80px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: var(--tl-tile-off);
  border: 1px solid var(--tl-tile-offline);
  color: var(--tl-tile-glyph);
  transition:
    background 0.45s var(--ease),
    color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.decision-home .vg-tl-step.is-on .vg-tl-tile {
  background: linear-gradient(145deg, #4c4f59 0%, #191c22 58%, #06070b 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.decision-home .vg-tl-tile svg {
  width: 30px;
  height: 30px;
  display: block;
}
.decision-home .vg-tl-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--fg2);
}

/* ---- 节点：未点亮=空心圆角方框，点亮=信号环 + 内点 ---- */
.decision-home .vg-tl-node {
  grid-column: 2;
  justify-self: center;
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--line2);
  background: var(--sbg);
  transition:
    width 0.35s var(--ease),
    height 0.35s var(--ease),
    border-radius 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.decision-home .vg-tl-node::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.decision-home .vg-tl-step.is-on .vg-tl-node {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  /* color-mix 不支持时这条被丢弃，border-color 退回上面的 --line2，不会破版 */
  border-color: color-mix(in srgb, var(--live) 58%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--live) 24%, transparent);
}
.decision-home .vg-tl-step.is-on .vg-tl-node::after {
  inset: 6px;
  border-radius: 50%;
  background: var(--live);
  opacity: 1;
}

/* ---- 文案 ---- */
.decision-home .vg-tl-copy {
  grid-column: 3;
  justify-self: start;
  text-align: left;
  max-width: 320px;
}
.decision-home .vg-tl-step.alt .vg-tl-copy {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}
.decision-home .vg-tl-copy h3 {
  margin: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.36;
  color: var(--fg);
}
.decision-home .vg-tl-copy p {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--fg2);
}
.decision-home .vg-tl-copy b {
  font-weight: 500;
  color: var(--fg3);
}

/* ---- 窄屏：竖线移到左侧，图标行在上、文案在下 ---- */
@media (max-width: 860px) {
  .decision-home .vg-tl {
    gap: 12px;
  }
  .decision-home .vg-tl-rail {
    left: 34px;
    margin-left: 0;
  }
  .decision-home .vg-tl-step {
    grid-template-columns: 68px 1fr;
    min-height: 0;
    padding: 26px 20px 26px 0;
    row-gap: 16px;
    align-items: start;
  }
  .decision-home .vg-tl-step::before {
    border-radius: 22px;
  }
  .decision-home .vg-tl-icon,
  .decision-home .vg-tl-step.alt .vg-tl-icon {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    gap: 20px;
  }
  .decision-home .vg-tl-copy,
  .decision-home .vg-tl-step.alt .vg-tl-copy {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    text-align: left;
    max-width: none;
  }
  .decision-home .vg-tl-node {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    margin-top: 31px;
  }
  .decision-home .vg-tl-tile {
    width: 64px;
    height: 64px;
    border-radius: 21px;
  }
  .decision-home .vg-tl-tile svg {
    width: 25px;
    height: 25px;
  }
}
/* ================= cards & pills ================= */
.decision-home .av {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex: none;
  display: block;
  overflow: hidden;
}
.decision-home .pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--card-line);
  color: var(--fg2);
}
.decision-home .pill .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
  flex: none;
}
.decision-home .pill.star {
  color: var(--fg);
  border-color: var(--line2);
}
.decision-home .pill.star .dot {
  background: var(--fg);
}
.decision-home .pill.warn {
  color: var(--warn);
  border-color: rgba(217, 112, 94, 0.4);
}
.decision-home .pill.warn .dot {
  background: var(--warn);
}
.decision-home .note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--fg2);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 660px;
  line-height: 1.6;
}
.decision-home .note::before {
  content: "";
  width: 1px;
  align-self: stretch;
  background: var(--line-d2);
  flex: none;
}
.decision-home .stage.is-light .note::before {
  background: rgba(11, 13, 18, 0.25);
}
/* ================= work allocation market ================= */
.decision-home .alloc {
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
}
.decision-home .stage.is-light .alloc {
  box-shadow:
    0 1px 2px rgba(11, 13, 18, 0.04),
    0 34px 64px -44px rgba(11, 13, 18, 0.4);
}
.decision-home .alloc-top {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  padding: 15px 20px;
  border-bottom: 1px solid var(--card-line);
}
.decision-home .alloc-top .lab {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--fg2);
  text-transform: uppercase;
}
.decision-home .alloc-top b {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.decision-home .alloc-top em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fg2);
}
.decision-home .alloc-top .state {
  margin-left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg2);
}
.decision-home .alloc-top .state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}
.decision-home .cands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 820px) {
  .decision-home .cands {
    grid-template-columns: 1fr;
  }
}
.decision-home .cand {
  position: relative;
  padding: 20px 20px 18px;
  border-right: 1px solid var(--card-line);
  transition:
    opacity 0.8s var(--ease-out),
    background 0.8s var(--ease-out);
}
.decision-home .cand:last-child {
  border-right: 0;
}
@media (max-width: 820px) {
  .decision-home .cand {
    border-right: 0;
    border-bottom: 1px solid var(--card-line);
  }
  .decision-home .cand:last-child {
    border-bottom: 0;
  }
}
.decision-home .cand.out {
  opacity: 0.32;
}
.decision-home .cand.win {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}
.decision-home .cand.win::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink);
}
.decision-home .cand-h {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
}
.decision-home .av-s {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  flex: none;
  display: block;
  overflow: hidden;
}
.decision-home .cand-h b {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.decision-home .cprof {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 16px 0 9px;
}
.decision-home .pnum {
  font-family: var(--mono);
  font-weight: 450;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.decision-home .cprof .dims {
  flex: 1;
  margin: 0 0 3px;
}
.decision-home .cand-h .role {
  font-size: 11.5px;
  color: var(--fg2);
}
.decision-home .cand-h .tagx {
  margin-left: auto;
  font-size: 9px;
  padding: 4px 9px;
}
.decision-home .cand-h .tagx:empty {
  display: none;
}
.decision-home .mrow {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: center;
  font-size: 11.5px;
  color: var(--fg2);
  padding: 4px 0;
  margin-top: 12px;
}
.decision-home .mbar {
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.decision-home .mbar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  border-radius: 2px;
  transition: width 1s var(--ease-out);
}
.decision-home .mrow .mv {
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
  color: var(--fg3);
  font-variant-numeric: tabular-nums;
}
.decision-home .mrow2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11.5px;
  color: var(--fg2);
  padding: 5px 0;
}
.decision-home .mrow2 b {
  font-family: var(--mono);
  font-weight: 450;
  font-size: 11.5px;
  color: var(--fg3);
}
.decision-home .pick {
  display: inline-block;
  margin-top: 13px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  background: var(--ink);
  color: var(--sbg);
  padding: 5px 11px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.decision-home .cand.win .pick {
  opacity: 1;
  transform: none;
}
.decision-home .verdict {
  padding: 18px 20px;
  border-top: 1px solid var(--card-line);
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}
.decision-home .verdict.show {
  opacity: 1;
  transform: none;
}
.decision-home .verdict b {
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.decision-home .verdict b::before {
  content: "→ ";
  color: var(--fg2);
}
.decision-home .verdict p {
  margin: 0;
  font-size: 13.5px;
  color: var(--fg2);
  line-height: 1.6;
  flex: 1 1 320px;
}
/* ================= allocation note ================= */
.decision-home .alloc-note {
  padding: 13px 20px;
  border-top: 1px solid var(--card-line);
  font-size: 12.5px;
  color: var(--fg2);
  line-height: 1.6;
  margin: 0;
}
.decision-home .dims {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 26px;
  margin-top: 16px;
  border-bottom: 1px solid var(--line);
}
.decision-home .dims i {
  width: 6px;
  border-radius: 2px 2px 0 0;
  background: var(--ink);
  height: var(--h);
  transition: height 1.1s var(--ease-out);
  transition-delay: var(--bd, 0ms);
}
.decision-home.js .dims i {
  height: 0;
}
.decision-home.js .in .dims i {
  height: var(--h);
}
.decision-home .dimlab {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--fg2);
  line-height: 1.6;
}
.decision-home .rstats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--fg2);
}
.decision-home .rstats b {
  font-family: var(--mono);
  font-weight: 450;
  font-size: 12.5px;
  color: var(--fg3);
  font-variant-numeric: tabular-nums;
}
/* ================= execute · work trace ================= */
/* EXECUTE —— 一次工作的执行现场。配套 ./live/WorkTrace.tsx。
   机箱与 .console 同族（1px 亮边 + 叠加底 + 四重阴影 + 扫光）。
   三件事是这一节要证明的，全部由画面本身承担：
   1. 在执行  —— 运行中那一行有走动的计时与流动进度条；
   2. 触及边界即暂停 —— 闸门下面两步是灰的，并写明"不会开始"；
   3. 阻塞必附原因 —— 闸门块写清等谁、不批会怎样，并给出真实的两个按钮。
   排版上刻意不给任何一列 1fr 吃满宽度：正文与右侧元信息贴在一起，
   中间不留空洞（旧版最大的毛病）。
   */

/* ---- 机箱 ---------------------------------------------------------------- */

.decision-home .wk-wrap {
  position: relative;
  margin: clamp(40px, 5vw, 66px) 0 0;
  perspective: 2000px;
}
.decision-home.js .wk-wrap.r {
  transform: translateY(40px) scale(0.968) rotateX(5deg);
}
.decision-home.js .wk-wrap.r.in {
  transform: none;
}
.decision-home.js .wk-wrap {
  transition:
    opacity 1.3s var(--ease-out),
    transform 1.4s var(--ease-out);
}

.decision-home .wk {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.115);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018) 32%,
      rgba(255, 255, 255, 0.004)
    ),
    #0b0e14;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.085) inset,
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 120px 190px -90px rgba(130, 160, 230, 0.18);
  overflow: hidden;
}
.decision-home .wk::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 32%,
    rgba(255, 255, 255, 0.05) 46%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: sheen 11s var(--ease) 1.8s infinite;
}

/* ---- 顶栏 ---------------------------------------------------------------- */

.decision-home .wk-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--t-lo);
}
.decision-home .wk-bar .id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--live);
}
.decision-home .wk-bar .id i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 9px var(--live);
  animation: pulse 1.9s ease-in-out infinite;
}
.decision-home .wk-bar .title {
  color: var(--t-md);
}
.decision-home .wk-bar .sp {
  margin-left: auto;
}
.decision-home .wk-bar .el {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--t-md);
}

/* ---- 执行轨 -------------------------------------------------------------- */

.decision-home .wk-trace {
  padding: 6px 0 2px;
}
.decision-home .wk-step {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 0 16px;
  align-items: start;
  padding: 13px 20px 13px 0;
  transition: opacity 0.6s var(--ease);
}
/* 左侧脊线：一条贯通的细线 + 每行一个节点 */
.decision-home .wk-rail {
  position: relative;
  justify-self: center;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}
.decision-home .wk-step::before {
  content: "";
  position: absolute;
  /* 列宽 40px，节点 justify-self:center → 圆心在 20px；
     1px 的线要再 -0.5 才真正压在圆心上，否则会偏出去一点。 */
  left: 20px;
  margin-left: -0.5px;
  top: 0;
  bottom: -1px;
  width: 1px;
  background: rgba(255, 255, 255, 0.09);
}
.decision-home .wk-step:first-child::before {
  top: 14px;
}
.decision-home .wk-step.last::before {
  bottom: auto;
  height: 18px;
}
.decision-home .wk-step.done .wk-rail {
  border-color: transparent;
  background: var(--live);
  box-shadow: 0 0 9px color-mix(in srgb, var(--live) 65%, transparent);
}
.decision-home .wk-step.run .wk-rail {
  border-color: var(--live);
  animation: wk-ping 1.8s ease-in-out infinite;
}

.decision-home .wk-what {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--t-hi);
}
.decision-home .wk-who {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--t-lo);
  font-variant-numeric: tabular-nums;
}
/* 右侧元信息：固定宽度、右对齐 —— 不让它被 1fr 顶到天边 */
.decision-home .wk-meta {
  width: 104px;
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--t-lo);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.decision-home .wk-step.done .wk-meta {
  color: color-mix(in srgb, var(--live) 78%, var(--t-lo));
}

/* 运行中：一条流动的进度条，说明"确实在跑" */
.decision-home .wk-flow {
  position: relative;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.decision-home .wk-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 38%;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--live),
    color-mix(in srgb, var(--live) 30%, transparent)
  );
  animation: wk-slide 1.9s var(--ease) infinite;
}

/* ---- 闸门：这一节的高潮 --------------------------------------------------- */

.decision-home .wk .gate {
  position: relative;
  margin: 8px 20px 4px 44px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--sig) 34%, transparent);
  background: color-mix(in srgb, var(--sig) 9%, transparent);
  overflow: hidden;
}
.decision-home .wk .gate::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--sig);
}
.decision-home .wk .gate .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--sig-fg);
}
.decision-home .wk .gate b {
  display: block;
  margin-top: 9px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--t-hi);
}
.decision-home .wk .gate p {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--t-md);
  max-width: 52ch;
}
.decision-home .wk .gate-acts {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.decision-home .wk .gate-acts button {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.decision-home .wk .gate-acts .ok {
  background: var(--sig);
  color: #17120a;
}
.decision-home .wk .gate-acts .ok:hover {
  background: var(--sig-strong);
}
.decision-home .wk .gate-acts .no {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--t-md);
}
.decision-home .wk .gate-acts .no:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--t-hi);
}

/* ---- 被闸门挡住的后续步骤 ------------------------------------------------- */

.decision-home .wk-step.hold {
  opacity: 0.34;
}
.decision-home .wk-step.hold .wk-rail {
  border-style: dashed;
}
.decision-home .wk .gate-hold {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 20px 18px 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--sig-fg);
}
.decision-home .wk .gate-hold i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sig);
  flex: none;
}

/* ---- 三条规则：不留空洞 --------------------------------------------------- */

.decision-home .wk-rules {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(24px, 3.4vw, 52px);
}
.decision-home .wk-rules > div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.decision-home .wk-rules .rk {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--fg2);
}
.decision-home .wk-rules b {
  display: block;
  margin-top: 11px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--fg);
}
.decision-home .wk-rules p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--fg2);
}

/* ---- 动效 ---------------------------------------------------------------- */

@keyframes wk-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(300%);
  }
}
@keyframes wk-ping {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 42%, transparent);
  }
  60% {
    box-shadow: 0 0 0 5px transparent;
  }
}

/* ---- 浅色 ---------------------------------------------------------------- */

html:not(.dark) .decision-home .wk {
  border-color: rgba(14, 22, 32, 0.1);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0.7) 32%,
      rgba(255, 255, 255, 0.5)
    ),
    #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(14, 22, 32, 0.05),
    0 40px 80px -40px rgba(14, 22, 32, 0.28),
    0 120px 190px -90px rgba(120, 150, 175, 0.18);
}
html:not(.dark) .decision-home .wk::after {
  background: linear-gradient(
    100deg,
    transparent 32%,
    rgba(14, 22, 32, 0.03) 46%,
    transparent 60%
  );
}
html:not(.dark) .decision-home .wk-bar {
  border-bottom-color: rgba(14, 22, 32, 0.09);
  color: #616b76;
}
html:not(.dark) .decision-home .wk-bar .title,
html:not(.dark) .decision-home .wk-bar .el {
  color: #333b44;
}
html:not(.dark) .decision-home .wk-step::before,
html:not(.dark) .decision-home .wk .gate-hold {
  border-color: rgba(14, 22, 32, 0.1);
}
html:not(.dark) .decision-home .wk-step::before {
  background: rgba(14, 22, 32, 0.12);
}
html:not(.dark) .decision-home .wk-rail {
  border-color: rgba(14, 22, 32, 0.28);
}
html:not(.dark) .decision-home .wk-what,
html:not(.dark) .decision-home .wk .gate b {
  color: #0b0f14;
}
html:not(.dark) .decision-home .wk-who,
html:not(.dark) .decision-home .wk-meta {
  color: #616b76;
}
html:not(.dark) .decision-home .wk .gate p {
  color: #3d4453;
}
html:not(.dark) .decision-home .wk-flow {
  background: rgba(14, 22, 32, 0.08);
}
html:not(.dark) .decision-home .wk .gate-acts .no {
  border-color: rgba(14, 22, 32, 0.2);
  color: #3d4453;
}
html:not(.dark) .decision-home .wk .gate-acts .no:hover {
  border-color: rgba(14, 22, 32, 0.42);
  color: #0b0f14;
}
/* 浅色下 --sig 仍是琥珀，白字对比度只有 1.8:1 —— 保持深色字。
   hover 也不能切 --sig-strong（浅色下它是深棕 #8a5b12，深字就看不清了），
   改成把琥珀压深一点。 */
html:not(.dark) .decision-home .wk .gate-acts .ok {
  color: #17120a;
}
html:not(.dark) .decision-home .wk .gate-acts .ok:hover {
  background: color-mix(in srgb, var(--sig) 86%, #7a4f0c);
}

/* ---- 窄屏 ---------------------------------------------------------------- */

@media (max-width: 720px) {
  .decision-home .wk-step {
    grid-template-columns: 34px minmax(0, 1fr);
    padding-right: 16px;
  }
  .decision-home .wk-step::before {
    left: 17px; /* 列宽 34px → 圆心 17px */
  }
  .decision-home .wk-meta {
    grid-column: 2;
    width: auto;
    text-align: left;
    margin-top: 7px;
  }
  .decision-home .wk .gate {
    margin-left: 34px;
    margin-right: 16px;
  }
  .decision-home .wk .gate-hold {
    padding-left: 34px;
  }
  .decision-home .wk-rules {
    grid-template-columns: 1fr;
  }
  .decision-home .wk-rules > div {
    padding: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .decision-home .wk::after,
  .decision-home .wk-flow::after,
  .decision-home .wk-bar .id i,
  .decision-home .wk-step.run .wk-rail {
    animation: none;
  }
  .decision-home .wk-flow::after {
    width: 62%;
    transform: none;
  }
}
/* ================= proof split ================= */
.decision-home .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(44px, 6vw, 72px);
}
@media (max-width: 840px) {
  .decision-home .split {
    grid-template-columns: 1fr;
  }
}
.decision-home .proof {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.decision-home .proof .head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.decision-home .proof .mk {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none;
  font-family: var(--mono);
}
.decision-home .proof .mk.x {
  background: color-mix(in srgb, var(--warn) 20%, transparent);
  color: var(--warn);
}
.decision-home .proof .mk.v {
  background: color-mix(in srgb, var(--live) 20%, transparent);
  color: var(--good-fg);
}
.decision-home .code {
  max-width: 100%;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--fg2);
  background: color-mix(in srgb, var(--fg) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 17px;
  overflow-x: auto;
  white-space: pre;
}
.decision-home .code .k {
  color: var(--fg3);
}
.decision-home .code .ok {
  color: var(--good-fg);
}
.decision-home .code .no {
  color: var(--warn);
}
.decision-home .proof p {
  margin: 0;
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.6;
}
/* ================= learn · knowledge base ================= */
/* LEARN —— 知识库设备。配套 ./live/KnowledgeBase.tsx。
   机箱配方与 .console 同族：1px 亮边 + 三层叠加底 + 四重阴影（含 inset 高光
   与一层带蓝的远投影）+ 扫光 + 入场时 rotateX 归位。
   里面不是示意图，是一个真实界面：左边是同类工作的执行结果（含噪声），
   右边是正在形成的条目。三次同向观测之后，"经验"才升格为"规律"。
   */

.decision-home .learn-lede {
  max-width: 660px;
}

/* ---- 机箱 ---------------------------------------------------------------- */

.decision-home .kb-wrap {
  position: relative;
  margin: clamp(44px, 5.5vw, 74px) auto 0;
  perspective: 2000px;
}
.decision-home.js .kb-wrap.r {
  transform: translateY(44px) scale(0.965) rotateX(6deg);
}
.decision-home.js .kb-wrap.r.in {
  transform: none;
}
.decision-home.js .kb-wrap {
  transition:
    opacity 1.3s var(--ease-out),
    transform 1.4s var(--ease-out);
}

.decision-home .kb {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.135);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.022) 30%,
      rgba(255, 255, 255, 0.006)
    ),
    #0e1118;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 44px 90px -30px rgba(0, 0, 0, 0.95),
    0 130px 200px -90px rgba(130, 160, 230, 0.22);
  overflow: hidden;
}
.decision-home .kb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 32%,
    rgba(255, 255, 255, 0.055) 46%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: sheen 9s var(--ease) 3.6s infinite;
}

/* ---- 顶栏 ---------------------------------------------------------------- */

.decision-home .kb-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  color: var(--t-lo);
}
.decision-home .kb-bar .id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--t-md);
}
.decision-home .kb-bar .sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
}
.decision-home .kb-bar .sp {
  margin-left: auto;
}
.decision-home .kb-bar .t {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

/* ---- 机箱内部 ------------------------------------------------------------ */

.decision-home .kb-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}
.decision-home .kb-h {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--t-lo);
  padding: 18px 22px 12px;
}

/* 左：执行结果流（含噪声） */
.decision-home .kb-stream {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 20px;
}
.decision-home .kb-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: baseline;
  gap: 0 12px;
  padding: 11px 22px;
  font-size: 13px;
  color: var(--t-lo);
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  transition:
    color 0.5s var(--ease),
    background 0.5s var(--ease);
}
.decision-home .kb-row .tick {
  width: 2px;
  height: 13px;
  border-radius: 2px;
  background: transparent;
  transition:
    background 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.decision-home .kb-row .when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--t-lo);
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}
.decision-home .kb-row .val {
  font-family: var(--mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* 被认出来的那几条 */
.decision-home .kb-row.hit.on {
  color: var(--t-hi);
  background: color-mix(in srgb, var(--live) 7%, transparent);
}
.decision-home .kb-row.hit.on .tick {
  background: var(--live);
  box-shadow: 0 0 10px color-mix(in srgb, var(--live) 60%, transparent);
}
.decision-home .kb-row.hit.on .val,
.decision-home .kb-row.hit.on .when {
  color: var(--good-fg);
}

/* 右：正在形成的条目 */
.decision-home .kb-entry {
  padding-bottom: 24px;
  position: relative;
}
.decision-home .kb-badge {
  display: inline-block;
  margin: 0 22px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--t-lo);
  transition:
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}
.decision-home .kb.is-rule .kb-badge {
  color: var(--good-fg);
  border-color: color-mix(in srgb, var(--live) 50%, transparent);
  background: color-mix(in srgb, var(--live) 12%, transparent);
}
.decision-home .kb-stmt {
  margin: 16px 22px 0;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.34;
  color: var(--t-hi);
  text-wrap: balance;
}

/* 升格闸：三次同向观测才算数 */
.decision-home .kb-gate {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 22px 0;
}
.decision-home .kb-segs {
  display: flex;
  gap: 5px;
}
.decision-home .kb-seg {
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.11);
  transition:
    background 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.decision-home .kb-seg.on {
  background: var(--live);
  box-shadow: 0 0 12px color-mix(in srgb, var(--live) 55%, transparent);
}
.decision-home .kb-gate .n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--t-lo);
  font-variant-numeric: tabular-nums;
}

.decision-home .kb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  margin: 22px 22px 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.decision-home .kb-meta div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.decision-home .kb-meta dt,
.decision-home .kb-meta dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
.decision-home .kb-meta dt {
  color: var(--t-lo);
  opacity: 0.72;
}
.decision-home .kb-meta dd {
  color: var(--t-md);
}

/* 升格之后才出现的那一行 —— 「下一次必须有所不同」的兑现 */
.decision-home .kb-applied {
  margin: 18px 22px 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--live) 26%, transparent);
  background: color-mix(in srgb, var(--live) 8%, transparent);
  font-size: 13px;
  color: var(--good-fg);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.decision-home .kb.is-rule .kb-applied {
  opacity: 1;
  transform: none;
}

/* ---- 三条论点：只有上边线，没有盒子 --------------------------------------- */

.decision-home .learn-claims {
  list-style: none;
  padding: 0;
  margin: clamp(38px, 4.6vw, 60px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(24px, 3.4vw, 48px);
}
.decision-home .learn-claims li {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.decision-home .learn-claims .n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg2);
}
.decision-home .learn-claims b {
  display: block;
  margin-top: 11px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.decision-home .learn-claims p {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--fg2);
}

/* ---- 浅色：与 .console 同一套改法 ----------------------------------------- */

html:not(.dark) .decision-home .kb {
  border-color: rgba(14, 22, 32, 0.11);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.6) 30%,
      rgba(255, 255, 255, 0.4)
    ),
    #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(14, 22, 32, 0.05),
    0 44px 90px -40px rgba(14, 22, 32, 0.3),
    0 130px 200px -90px rgba(120, 150, 175, 0.2);
}
html:not(.dark) .decision-home .kb::after {
  background: linear-gradient(
    100deg,
    transparent 32%,
    rgba(14, 22, 32, 0.035) 46%,
    transparent 60%
  );
}
html:not(.dark) .decision-home .kb-bar {
  border-bottom-color: rgba(14, 22, 32, 0.09);
  color: #616b76;
}
html:not(.dark) .decision-home .kb-bar .id {
  color: #333b44;
}
html:not(.dark) .decision-home .kb-bar .sep {
  background: rgba(14, 22, 32, 0.14);
}
html:not(.dark) .decision-home .kb-stream {
  border-right-color: rgba(14, 22, 32, 0.09);
}
html:not(.dark) .decision-home .kb-h,
html:not(.dark) .decision-home .kb-row,
html:not(.dark) .decision-home .kb-row .when,
html:not(.dark) .decision-home .kb-badge,
html:not(.dark) .decision-home .kb-gate .n,
html:not(.dark) .decision-home .kb-meta dt {
  color: #616b76;
}
html:not(.dark) .decision-home .kb-row {
  border-top-color: rgba(14, 22, 32, 0.07);
}
html:not(.dark) .decision-home .kb-stmt,
html:not(.dark) .decision-home .kb-row.hit.on {
  color: #0b0f14;
}
html:not(.dark) .decision-home .kb-meta dd {
  color: #333b44;
}
html:not(.dark) .decision-home .kb-badge {
  border-color: rgba(14, 22, 32, 0.16);
}
html:not(.dark) .decision-home .kb-seg {
  background: rgba(14, 22, 32, 0.12);
}
html:not(.dark) .decision-home .kb-meta {
  border-top-color: rgba(14, 22, 32, 0.09);
}

/* ---- 窄屏 ---------------------------------------------------------------- */

@media (max-width: 880px) {
  .decision-home .kb-body {
    grid-template-columns: 1fr;
  }
  .decision-home .kb-stream {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  html:not(.dark) .decision-home .kb-stream {
    border-bottom-color: rgba(14, 22, 32, 0.09);
  }
  .decision-home .learn-claims {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .decision-home .learn-claims li {
    padding: 18px 0;
  }
}

/* 关掉动效时直接停在"已升格"的终态，信息一条不少 */
@media (prefers-reduced-motion: reduce) {
  .decision-home .kb::after {
    animation: none;
    opacity: 0;
  }
}
/* ================= pipeline ================= */
.decision-home .pipe {
  margin-top: clamp(46px, 6vw, 76px);
  display: flex;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  flex-wrap: wrap;
}
.decision-home .pnode {
  position: relative;
  flex: 1 1 148px;
  min-width: 148px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    opacity 0.55s var(--ease-out),
    background 0.55s var(--ease-out);
}
.decision-home .pbar {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--ink);
  border-radius: 0 2px 2px 0;
}
.decision-home.js .pipe .pnode {
  opacity: 0.42;
}
.decision-home.js .pipe .pnode.done {
  opacity: 0.7;
}
.decision-home.js .pipe .pnode.done .pbar {
  width: 100%;
  transition: width 0.3s linear;
}
.decision-home.js .pipe .pnode.on {
  opacity: 1;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}
.decision-home.js .pipe .pnode.on .pbar {
  width: 100%;
  transition: width var(--dur, 900ms) linear;
}
.decision-home .pnode.gate .pbar {
  background: var(--sig);
}
.decision-home.js .pipe .pnode.gate.on {
  background: rgba(229, 178, 106, 0.12);
  animation: gatehold 1.3s ease-in-out infinite;
}
.decision-home .pnode:last-child {
  border-right: 0;
}
.decision-home .pnode .s {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--fg2);
}
.decision-home .pnode b {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.decision-home .pnode.gate {
  background: rgba(229, 178, 106, 0.07);
}
.decision-home .pnode.gate .s {
  color: var(--sig);
}
.decision-home .pnode.gate b {
  color: var(--sig-strong);
}
@media (max-width: 760px) {
  .decision-home .pnode {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .decision-home .pnode:last-child {
    border-bottom: 0;
  }
}
.decision-home .redline {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--fg2);
  border: 1px solid rgba(217, 112, 94, 0.32);
  background: rgba(217, 112, 94, 0.07);
  padding: 11px 18px;
  border-radius: 100px;
}
.decision-home .redline b {
  color: var(--warn);
  font-weight: 600;
}
/* ================= rules ================= */

/* ================= growth · content ops ================= */
.decision-home .ops {
  margin-top: clamp(42px, 5.5vw, 70px);
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
}
.decision-home .stage.is-light .ops {
  box-shadow:
    0 1px 2px rgba(11, 13, 18, 0.04),
    0 34px 64px -44px rgba(11, 13, 18, 0.4);
}
.decision-home .ops-top {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  padding: 15px 20px;
  border-bottom: 1px solid var(--card-line);
}
.decision-home .ops-top b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.decision-home .ops-top .t {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fg2);
}
.decision-home .ops-body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}
@media (max-width: 900px) {
  .decision-home .ops-body {
    grid-template-columns: 1fr;
  }
}
.decision-home .ops-l {
  border-right: 1px solid var(--card-line);
  padding: 6px 0 10px;
}
@media (max-width: 900px) {
  .decision-home .ops-l {
    border-right: 0;
    border-bottom: 1px solid var(--card-line);
  }
}
.decision-home .ops-r {
  padding: 20px;
}
.decision-home .art {
  position: relative;
  width: 100%;
  text-align: left;
  cursor: pointer;
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--card-line) 55%, transparent);
  transition: background 0.35s;
}
.decision-home .art:last-child {
  border-bottom: 0;
}
.decision-home .art:hover {
  background: color-mix(in srgb, var(--fg) 3%, transparent);
}
.decision-home .art.on {
  background: color-mix(in srgb, var(--fg) 5%, transparent);
}
.decision-home .art.on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink);
}
.decision-home .ops-scope {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg2);
}
.decision-home .ops-scope b {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg3);
  font-weight: 500;
}
.decision-home .spark.empty {
  opacity: 0.2;
}
.decision-home .nodata {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  translate: 0 -50%;
  text-align: center;
  font-size: 12.5px;
  color: var(--fg2);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.decision-home .nodata.on {
  opacity: 1;
}
.decision-home .art .ti {
  font-size: 14.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.decision-home .art .meta2 {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg2);
}
.decision-home .art .meta2 i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fg2);
  flex: none;
}
.decision-home .art .meta2.ok i {
  background: var(--live);
}
.decision-home .art .meta2.wait i {
  background: var(--sig);
}
.decision-home .art .chans {
  grid-row: 1/3;
  grid-column: 2;
  display: flex;
  gap: 5px;
  align-items: center;
}
.decision-home .chan {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--card-line);
  color: var(--fg2);
  white-space: nowrap;
}
.decision-home .chan.on {
  border-color: color-mix(in srgb, var(--live) 45%, transparent);
  color: var(--good-fg);
}
.decision-home .chan.off {
  opacity: 0.45;
}
.decision-home .kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.decision-home .kpi .lab {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--fg2);
  text-transform: uppercase;
}
.decision-home .kpi .num {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-weight: 450;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.decision-home .kpi .dt {
  font-size: 11px;
  color: var(--good-fg);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.decision-home .sparkwrap {
  position: relative;
}
.decision-home .sparkwrap .cap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--fg2);
  text-transform: uppercase;
}
.decision-home .spark {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  color: var(--ink);
}
.decision-home .spark .gridlines {
  stroke: var(--line);
  stroke-width: 1;
}
.decision-home .spark .area {
  fill: url(#sparkFill);
}
.decision-home .spark .line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.decision-home .spark .end {
  fill: var(--ink);
}
.decision-home .spark .endring {
  fill: none;
  stroke: var(--sbg);
  stroke-width: 2;
}
.decision-home .spark .cross {
  stroke: var(--fg2);
  stroke-width: 1;
  stroke-dasharray: 2 3;
  opacity: 0;
}
.decision-home .spark .hot {
  fill: var(--ink);
  opacity: 0;
}
.decision-home .spark.live .cross,
.decision-home .spark.live .hot {
  opacity: 1;
}
.decision-home .tip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -118%);
  background: var(--fg);
  color: var(--sbg);
  border-radius: 8px;
  padding: 6px 10px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.2s;
}
.decision-home .tip.on {
  opacity: 1;
}
.decision-home .axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--fg2);
  letter-spacing: 0.1em;
}
.decision-home .claims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(36px, 4vw, 54px);
  border-top: 1px solid var(--line);
}
@media (max-width: 820px) {
  .decision-home .claims {
    grid-template-columns: 1fr;
  }
}
.decision-home .claim {
  padding: 26px 28px 26px 0;
  border-right: 1px solid var(--line);
}
.decision-home .claim:last-child {
  border-right: 0;
}
.decision-home .claim:not(:first-child) {
  padding-left: 28px;
}
@media (max-width: 820px) {
  .decision-home .claim {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .decision-home .claim:not(:first-child) {
    padding-left: 0;
  }
  .decision-home .claim:last-child {
    border-bottom: 0;
  }
}
.decision-home .claim .no {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg2);
}
.decision-home .claim b {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.decision-home .claim p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.6;
}
/* ================= desk ================= */
.decision-home .desk {
  margin-top: clamp(44px, 6vw, 72px);
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
}
.decision-home .desk-top {
  padding: 20px 24px;
  border-bottom: 1px solid var(--card-line);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.decision-home .desk-top b {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.decision-home .desk-top .t {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg2);
  margin-left: auto;
  letter-spacing: 0.1em;
}
.decision-home .desk-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 840px) {
  .decision-home .desk-cols {
    grid-template-columns: 1fr;
  }
}
.decision-home .dcol {
  padding: 24px;
  border-right: 1px solid var(--card-line);
}
.decision-home .dcol:last-child {
  border-right: 0;
}
@media (max-width: 840px) {
  .decision-home .dcol {
    border-right: 0;
    border-bottom: 1px solid var(--card-line);
  }
  .decision-home .dcol:last-child {
    border-bottom: 0;
  }
}
.decision-home .dcol h4 {
  margin: 0 0 16px;
  font-size: 10px;
  font-family: var(--mono);
  letter-spacing: 0.2em;
  color: var(--fg2);
  font-weight: 450;
  text-transform: uppercase;
}
.decision-home .dline {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 14px;
}
.decision-home .dline .ic {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  flex: none;
  margin-top: 3px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-family: var(--mono);
  background: color-mix(in srgb, var(--live) 18%, transparent);
  color: var(--good-fg);
}
.decision-home .dline .ic.q {
  background: rgba(229, 178, 106, 0.2);
  color: var(--sig-fg);
}
.decision-home .dline .ic.x {
  background: color-mix(in srgb, var(--warn) 18%, transparent);
  color: var(--warn);
}
.decision-home .dline span {
  color: var(--fg2);
}
.decision-home .spend {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.decision-home .spend .n {
  font-family: var(--mono);
  font-weight: 450;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
}
.decision-home .spend .of {
  font-size: 12.5px;
  color: var(--fg2);
}
.decision-home .budget {
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
  margin: 12px 0 8px;
}
.decision-home .budget i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--ink);
  transition: width 1.5s var(--ease-out) 0.2s;
}
.decision-home.js .budget i {
  width: 0;
}
.decision-home.js .in .budget i {
  width: var(--w);
}
/* ================= platform / api ================= */
.decision-home .plat {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
  margin-top: clamp(34px, 4vw, 52px);
}
@media (max-width: 960px) {
  .decision-home .plat {
    grid-template-columns: 1fr;
  }
}
.decision-home .plist {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-direction: column;
}
.decision-home .plist li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
}
.decision-home .plist li:last-child {
  border-bottom: 1px solid var(--line);
}
.decision-home .plist b {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.decision-home .plist span {
  font-size: 14px;
  color: var(--fg2);
  flex: 1 1 200px;
}
.decision-home .codepanel {
  --fg: #f2f4f8;
  --fg2: rgba(255, 255, 255, 0.55);
  --fg3: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.008) 30%
    ),
    #0a0d13;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 40px 80px -40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.decision-home .cp-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.decision-home .tab {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.36);
  padding: 14px 10px;
  position: relative;
  transition: color 0.3s;
}
.decision-home .tab:hover {
  color: rgba(255, 255, 255, 0.7);
}
.decision-home .tab.on {
  color: #fff;
}
.decision-home .tab::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.decision-home .tab.on::after {
  transform: scaleX(1);
}
.decision-home .copy {
  appearance: none;
  cursor: pointer;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 6px 11px;
  transition:
    color 0.3s,
    background 0.3s,
    border-color 0.3s;
}
.decision-home .copy:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}
.decision-home .copy.done {
  color: var(--live);
  border-color: rgba(95, 207, 168, 0.4);
}
.decision-home .cp-body {
  padding: 18px 16px 20px;
  overflow-x: auto;
  min-height: 210px;
}
.decision-home .code2 {
  counter-reset: ln;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2.05;
  margin: 0;
}
.decision-home .code2 .l {
  display: block;
  white-space: pre;
  position: relative;
  padding-left: 38px;
  color: rgba(255, 255, 255, 0.5);
}
.decision-home .code2 .l::before {
  content: counter(ln);
  counter-increment: ln;
  position: absolute;
  left: 0;
  width: 22px;
  text-align: right;
  color: rgba(255, 255, 255, 0.17);
  font-size: 11.5px;
}
.decision-home .code2 .l:hover {
  background: rgba(255, 255, 255, 0.022);
}
.decision-home .code2 .k {
  color: rgba(255, 255, 255, 0.94);
}
.decision-home .code2 .f {
  color: rgba(255, 255, 255, 0.72);
}
.decision-home .code2 .s {
  color: #7fd8bc;
}
.decision-home .code2 .n {
  color: #a8c4f0;
}
.decision-home .code2 .c {
  color: rgba(255, 255, 255, 0.26);
}
.decision-home .caret {
  display: inline-block;
  width: 7px;
  height: 15px;
  vertical-align: -3px;
  background: rgba(255, 255, 255, 0.85);
  margin-left: 1px;
  border-radius: 1px;
}
.decision-home .caret.done {
  animation: blink 1.15s steps(2, start) infinite;
}
.decision-home .cp-res {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(95, 207, 168, 0.035);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}
.decision-home.js .cp-res {
  opacity: 0;
  transform: translateY(6px);
}
.decision-home.js .cp-res.in {
  opacity: 1;
  transform: none;
}
.decision-home .cp-res-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--live);
}
.decision-home .cp-res-h em {
  font-style: normal;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.28);
}
.decision-home .cp-res .code2 {
  counter-reset: none;
  padding: 6px 16px 18px;
}
.decision-home .cp-res .code2 .l {
  padding-left: 0;
}
.decision-home .cp-res .code2 .l::before {
  content: none;
}
.decision-home .cp-note {
  display: block;
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.65;
}
.decision-home .cp-note b {
  color: var(--fg3);
  font-weight: 500;
}
/* ================= footer ================= */
/* 收尾的 CTA 段已移除；这里只剩页脚：导航行 + 社交 + 渐变字标 + 等宽版权。 */

.decision-home footer {
  position: relative;
  padding: clamp(40px, 5vw, 64px) var(--pad) clamp(44px, 5vw, 66px);
  background: var(--page-bg);
  border-top: 1px solid var(--s1-line);
}
.decision-home .fnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  max-width: 1180px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--s1-fg2);
}
.decision-home .fnav a {
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.decision-home .fnav a:hover {
  color: var(--s1-fg);
}
.decision-home .social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.decision-home .social i {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--s1-fg2);
  border: 1px solid transparent;
  font-style: normal;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.decision-home .social i:hover {
  color: var(--s1-fg);
  border-color: var(--s1-line);
}
.decision-home .social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}
.decision-home .wordmark {
  max-width: 1180px;
  margin: clamp(34px, 4vw, 54px) auto clamp(20px, 2.4vw, 30px);
  padding-top: clamp(30px, 3.6vw, 46px);
  border-top: 1px solid var(--s1-line);
  font-size: clamp(35px, 8.8vw, 106px); /* 原 44/11vw/132，整体 ×0.8 */
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.05) 82%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.decision-home .colophon {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  line-height: 2.1;
  color: var(--s1-fg2);
}
html:not(.dark) .decision-home .wordmark {
  background: linear-gradient(
    180deg,
    rgba(11, 15, 20, 0.36),
    rgba(11, 15, 20, 0.05) 82%
  );
  -webkit-background-clip: text;
  background-clip: text;
}
@media (max-width: 720px) {
  .decision-home .fnav {
    justify-content: center;
  }
  .decision-home .social {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .decision-home .r-now {
    animation: none;
  }
  .decision-home.js .r {
    opacity: 1;
    transform: none;
  }
}
/* ================================================================
     LIGHT THEME — silver-white with a breath of green.
     Everything that is fixed-dark in the default theme is restated
     here, so the page is fully light rather than partly inverted.
     ================================================================ */
html:not(.dark) .decision-home .hero h1 .dim {
  color: rgba(11, 15, 20, 0.38);
}
html:not(.dark) .decision-home .caption {
  color: #616b76;
}
html:not(.dark) .decision-home .swipe {
  color: rgba(11, 15, 20, 0.42);
}
/* --- buttons outside the stage system --- */
html:not(.dark) .decision-home .btn.ghost {
  background: transparent;
  color: #0b0f14;
  border-color: rgba(14, 22, 32, 0.2);
}
html:not(.dark) .decision-home .btn.ghost:hover {
  background: rgba(14, 22, 32, 0.05);
  border-color: rgba(14, 22, 32, 0.38);
}
/* --- nav: light in both its transparent and solid states --- */
html:not(.dark) .decision-home .console {
  border-color: rgba(14, 22, 32, 0.11);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.6) 30%,
      rgba(255, 255, 255, 0.4)
    ),
    #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(14, 22, 32, 0.05),
    0 44px 90px -40px rgba(14, 22, 32, 0.3),
    0 130px 200px -90px rgba(120, 150, 175, 0.2);
}
html:not(.dark) .decision-home .console::after {
  background: linear-gradient(
    100deg,
    transparent 32%,
    rgba(14, 22, 32, 0.035) 46%,
    transparent 60%
  );
}
html:not(.dark) .decision-home .console-wrap::after {
  background: radial-gradient(
    50% 60% at 50% 0%,
    rgba(150, 180, 200, 0.26),
    transparent 72%
  );
}
html:not(.dark) .decision-home .c-bar {
  border-bottom-color: rgba(14, 22, 32, 0.09);
  color: #616b76;
}
html:not(.dark) .decision-home .c-bar .id {
  color: #333b44;
}
html:not(.dark) .decision-home .c-bar .sep {
  background: rgba(14, 22, 32, 0.14);
}
html:not(.dark) .decision-home .c-side {
  border-right-color: rgba(14, 22, 32, 0.075);
}
html:not(.dark) .decision-home .c-right {
  border-left-color: rgba(14, 22, 32, 0.075);
}
html:not(.dark) .decision-home .c-work {
  border-bottom-color: rgba(14, 22, 32, 0.075);
}
html:not(.dark) .decision-home .c-body {
  --con-line: rgba(14, 22, 32, 0.075);
}
html:not(.dark) .decision-home .cost {
  border-top-color: rgba(14, 22, 32, 0.075);
}
html:not(.dark) .decision-home .c-h {
  color: rgba(11, 15, 20, 0.52);
}
html:not(.dark) .decision-home .emp-row:hover {
  background: rgba(14, 22, 32, 0.035);
}
html:not(.dark) .decision-home .emp-row .nm {
  color: #333b44;
}
html:not(.dark) .decision-home .emp-row .st {
  background: rgba(14, 22, 32, 0.18);
}
html:not(.dark) .decision-home .c-work .tt em {
  color: rgba(11, 15, 20, 0.42);
}
html:not(.dark) .decision-home .c-work .pc {
  color: rgba(11, 15, 20, 0.45);
}
html:not(.dark) .decision-home .prog {
  background: rgba(14, 22, 32, 0.1);
}
html:not(.dark) .decision-home .prog i {
  background: #0e1319;
}
html:not(.dark) .decision-home .lrow {
  color: #333b44;
}
html:not(.dark) .decision-home .lrow time {
  color: rgba(11, 15, 20, 0.4);
}
html:not(.dark) .decision-home .flag {
  color: rgba(11, 15, 20, 0.45);
}
html:not(.dark) .decision-home .flag.ok {
  color: #1e7d60;
}
html:not(.dark) .decision-home .flag.run {
  color: #0b0f14;
}
html:not(.dark) .decision-home .ask {
  border-color: rgba(185, 131, 46, 0.32);
  background: linear-gradient(
    180deg,
    rgba(229, 178, 106, 0.16),
    rgba(229, 178, 106, 0.05)
  );
}
html:not(.dark) .decision-home .ask .q {
  color: #0b0f14;
}
html:not(.dark) .decision-home .ask .m {
  color: #8a5b12;
}
html:not(.dark) .decision-home .mini {
  background: #0e1319;
  color: #ffffff;
}
html:not(.dark) .decision-home .mini.sec {
  background: transparent;
  color: rgba(11, 15, 20, 0.6);
  border-color: rgba(14, 22, 32, 0.16);
}
html:not(.dark) .decision-home .cost .v b {
  color: #0b0f14;
}
html:not(.dark) .decision-home .cost .v span {
  color: rgba(11, 15, 20, 0.45);
}
html:not(.dark) .decision-home .meter {
  background: rgba(14, 22, 32, 0.1);
}
html:not(.dark) .decision-home .meter i {
  background: #0e1319;
}
html:not(.dark) .decision-home .cost .note2 {
  color: rgba(11, 15, 20, 0.55);
}
/* --- code panel --- */
html:not(.dark) .decision-home .codepanel {
  --fg: #0b0f14;
  --fg2: rgba(11, 15, 20, 0.62);
  --fg3: rgba(11, 15, 20, 0.8);
  border-color: rgba(14, 22, 32, 0.11);
  background: linear-gradient(180deg, #ffffff, #fdfefe 30%, #fafcfb);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(14, 22, 32, 0.05),
    0 40px 80px -44px rgba(14, 22, 32, 0.3);
}
html:not(.dark) .decision-home .cp-bar {
  border-bottom-color: rgba(14, 22, 32, 0.09);
}
html:not(.dark) .decision-home .tab {
  color: rgba(11, 15, 20, 0.42);
}
html:not(.dark) .decision-home .tab:hover {
  color: rgba(11, 15, 20, 0.72);
}
html:not(.dark) .decision-home .tab.on {
  color: #0b0f14;
}
html:not(.dark) .decision-home .tab::after {
  background: #0e1319;
}
html:not(.dark) .decision-home .copy {
  background: rgba(14, 22, 32, 0.045);
  border-color: rgba(14, 22, 32, 0.12);
  color: rgba(11, 15, 20, 0.6);
}
html:not(.dark) .decision-home .copy:hover {
  color: #0b0f14;
  background: rgba(14, 22, 32, 0.08);
  border-color: rgba(14, 22, 32, 0.24);
}
html:not(.dark) .decision-home .copy.done {
  color: #1e7d60;
  border-color: rgba(30, 125, 96, 0.4);
}
html:not(.dark) .decision-home .code2 .l {
  color: rgba(11, 15, 20, 0.62);
}
html:not(.dark) .decision-home .code2 .l::before {
  color: rgba(11, 15, 20, 0.26);
}
html:not(.dark) .decision-home .code2 .l:hover {
  background: rgba(14, 22, 32, 0.028);
}
html:not(.dark) .decision-home .code2 .k {
  color: #0b0f14;
}
html:not(.dark) .decision-home .code2 .f {
  color: rgba(11, 15, 20, 0.72);
}
html:not(.dark) .decision-home .code2 .s {
  color: #1e7d60;
}
html:not(.dark) .decision-home .code2 .n {
  color: #2f6baf;
}
html:not(.dark) .decision-home .code2 .c {
  color: rgba(11, 15, 20, 0.36);
}
html:not(.dark) .decision-home .caret {
  background: #0e1319;
}
html:not(.dark) .decision-home .cp-res {
  border-top-color: rgba(14, 22, 32, 0.09);
  background: rgba(46, 155, 123, 0.06);
}
html:not(.dark) .decision-home .cp-res-h {
  color: #1e7d60;
}
html:not(.dark) .decision-home .cp-res-h em {
  color: rgba(11, 15, 20, 0.35);
}
html:not(.dark) .decision-home .cp-note {
  border-top-color: rgba(14, 22, 32, 0.09);
}
/* --- misc surfaces --- */
html:not(.dark) .decision-home .pnode.gate {
  background: rgba(229, 178, 106, 0.14);
}
html:not(.dark) .decision-home .redline {
  border-color: rgba(192, 85, 63, 0.32);
  background: rgba(192, 85, 63, 0.07);
}

/* ------------------------------------------------------ accent quarantine
 *
 * The tenant accent is retired from this surface. Any component rendered here
 * resolves the brand tokens to a neutral ladder, so a configured brand colour
 * cannot leak into the marketing page. Every value is a bare HSL triple at 0%
 * saturation — saturation zero is the machine-checkable form of "monochrome".
 */
.decision-home .proof {
  --type-start: 0.35s;
  --type-step: 0.42s;
  --type-done: calc(var(--type-start) + var(--lines, 3) * var(--type-step));
}
.decision-home .proof .code {
  position: relative;
  overflow: hidden;
  white-space: normal;
}
.decision-home .proof .code .ln {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.decision-home .proof .code .ln::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.12em;
  background: var(--fg);
  opacity: 0;
}
.decision-home .proof .code::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 35%,
    color-mix(in srgb, var(--fg) 9%, transparent) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
}
.decision-home .proof:hover .code::before {
  animation: proof-beam 1.2s var(--ease);
}
.decision-home.js .proof .code .ln {
  clip-path: inset(0 100% 0 0);
}
.decision-home.js .proof.in .code .ln {
  animation: proof-type var(--type-step) steps(26, end) forwards;
  animation-delay: calc(var(--type-start) + var(--i, 0) * var(--type-step));
}
.decision-home.js .proof.in .code .ln:last-child::after {
  animation: proof-caret 1s steps(2, jump-none) infinite;
  animation-delay: var(--type-done);
}
.decision-home.js .proof .mk {
  opacity: 0;
  transform: scale(0.5);
}
.decision-home.js .proof.in .mk {
  animation: proof-stamp 0.55s cubic-bezier(0.2, 1.5, 0.4, 1) forwards;
  animation-delay: calc(var(--type-done) + 0.15s);
}
.decision-home.js .proof.card.in {
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out),
    border-color 0.5s var(--ease);
  animation: proof-verdict 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--type-done) + 0.15s);
}
.decision-home .proof.card:hover {
  border-color: color-mix(in srgb, var(--verdict) 45%, var(--card-line));
}

@media (prefers-reduced-motion: reduce) {
  .decision-home.js .proof .code .ln {
    clip-path: none;
  }
  .decision-home.js .proof .mk {
    opacity: 1;
    transform: none;
  }
}
@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  22%,
  100% {
    transform: translateX(120%);
  }
}
@keyframes botblink {
  0%,
  93%,
  100% {
    transform: scaleY(1);
  }
  96% {
    transform: scaleY(0.08);
  }
}
@keyframes botbob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.1px);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.28;
  }
}
@keyframes slidein {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gatehold {
  0%,
  100% {
    background: rgba(229, 178, 106, 0.1);
  }
  50% {
    background: rgba(229, 178, 106, 0.2);
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes proof-type {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 -2% 0 0);
  }
}
@keyframes proof-caret {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes proof-stamp {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes proof-verdict {
  to {
    box-shadow: inset 0 0 0 1px
      color-mix(in srgb, var(--verdict) 38%, transparent);
  }
}
@keyframes proof-beam {
  to {
    transform: translateX(100%);
  }
}

