/* ============================================================
   Aurawell 官网 — 编辑式极简主义 + 克制的液态玻璃
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #f6f4f0;
  --bg-elev: #fbfaf7;
  --ink: #23272f;
  --ink-soft: rgba(35, 39, 47, .64);
  --ink-faint: rgba(35, 39, 47, .42);
  --line: rgba(35, 39, 47, .12);
  --line-soft: rgba(35, 39, 47, .07);
  --glass-bg: rgba(255, 255, 255, .55);
  --glass-bg-strong: rgba(255, 255, 255, .72);
  --glass-solid: #fbfaf7;
  --glass-hi: rgba(255, 255, 255, .85);
  --shadow-soft: 0 12px 40px -12px rgba(35, 39, 47, .14);
  --shadow-card: 0 8px 28px -10px rgba(35, 39, 47, .12);
  --accent: #6f97b8;
  --accent-warm: #d9a05f;
  --accent-sage: #9bb08a;
  --ok: #6f9e7a;
  --warn: #c98a4b;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --nav-h: 64px;
  --spring: cubic-bezier(.34, 1.12, .42, 1);
  --ease-out: cubic-bezier(.22, .9, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1d21;
    --bg-elev: #22252a;
    --ink: #e9e7e1;
    --ink-soft: rgba(233, 231, 225, .66);
    --ink-faint: rgba(233, 231, 225, .42);
    --line: rgba(233, 231, 225, .14);
    --line-soft: rgba(233, 231, 225, .08);
    --glass-bg: rgba(38, 41, 47, .55);
    --glass-bg-strong: rgba(38, 41, 47, .78);
    --glass-solid: #262931;
    --glass-hi: rgba(255, 255, 255, .12);
    --shadow-soft: 0 12px 40px -12px rgba(0, 0, 0, .5);
    --shadow-card: 0 8px 28px -10px rgba(0, 0, 0, .45);
    --accent: #8fb4d2;
    --accent-warm: #e0b47e;
    --accent-sage: #a9bf97;
    color-scheme: dark;
  }
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.vh {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

section[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 液态玻璃 ---------- */
.glass, .glass-strong {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-soft);
}
.glass-strong {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-strong {
    background: var(--glass-solid);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
}

/* ============================================================
   顶部导航 —— 全宽度平铺展开（任何断点都不折叠）
   ============================================================ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 14px clamp(16px, 3vw, 32px) 0;
}

.nav {
  max-width: 1200px;
  margin-inline: auto;
  min-height: var(--nav-h);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 0 22px;
  transition: background .4s ease;
}

.site-header.scrolled .nav { background: var(--glass-bg-strong); }

.nav-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: none;
}
.nav-brand img { width: 132px; height: auto; }
.brand-company {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .035em;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .nav-brand img, .footer-brand img { filter: invert(.92) hue-rotate(180deg); }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 15px;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color .25s ease, background .25s ease;
}
.nav-link:hover { color: var(--ink); background: var(--line-soft); }

.nav-link-cta {
  color: var(--bg);
  background: var(--ink);
  margin-left: 6px;
  padding: 0 20px;
}
.nav-link-cta:hover { color: var(--bg); background: var(--ink); opacity: .88; }

/* ============================================================
   首屏：查询汇聚
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}

.hero-texture {
  position: absolute; inset: 0;
  background: url("/assets/images/hero-paper-texture-v2.jpg") center / cover no-repeat;
  opacity: .5;
  pointer-events: none;
}
@media (prefers-color-scheme: dark) {
  .hero-texture { opacity: .06; }
}

.hero-inner {
  position: relative;
  width: min(1160px, 100%);
  min-height: min(620px, calc(100svh - 220px));
  display: grid;
  place-items: center;
}

/* ----- 浮动卡片 ----- */
.float-card {
  position: absolute;
  z-index: 2;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-card);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0;
  transform: translate(var(--from-x, 0), var(--from-y, 0)) scale(.92);
  filter: blur(16px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .float-card { background: var(--glass-solid); border-color: var(--line); }
}

.fc-report {
  --from-x: -72vw; --r: -2.5deg;
  left: 2%; top: 6%;
  width: 216px;
}
.fc-date {
  --from-x: -78vw; --r: 2deg;
  left: 8%; bottom: 12%;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px; border-radius: 999px;
  white-space: nowrap;
}
.fc-metric {
  --from-x: 74vw; --r: 2.5deg;
  right: 3%; top: 12%;
  width: 190px;
  display: grid; gap: 2px;
}
.fc-trend {
  --from-x: 80vw; --r: -2deg;
  right: 7%; bottom: 8%;
  width: 172px;
  display: grid; gap: 6px;
  color: var(--accent);
}
.fc-trend .fc-label { color: var(--ink-faint); }
.fc-note {
  --from-x: -60vw; --from-y: 14vh; --r: 1.5deg;
  left: 25%; bottom: 7%;
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 12px 18px; border-radius: 999px;
  white-space: nowrap;
}
.fc-count { font-size: 20px; font-weight: 650; color: var(--ink); }

.fc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; white-space: nowrap; }
.fc-doc {
  width: 16px; height: 20px; border-radius: 4px;
  border: 1.6px solid var(--accent);
  background: linear-gradient(var(--accent), var(--accent)) 3px 5px / 8px 1.6px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 3px 9px / 8px 1.6px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 3px 13px / 5px 1.6px no-repeat;
  opacity: .8;
}
.fc-title { font-weight: 600; color: var(--ink); font-size: 13px; }
.fc-tag {
  margin-left: auto; font-size: 10px; letter-spacing: .08em;
  padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-faint);
}
.fc-row { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.fc-bar { height: 6px; border-radius: 4px; background: var(--line); flex: none; }
.fc-bar.w-70 { width: 70px; background: color-mix(in srgb, var(--accent) 55%, transparent); }
.fc-bar.w-45 { width: 45px; background: color-mix(in srgb, var(--accent-warm) 60%, transparent); }
.fc-bar.w-60 { width: 60px; background: color-mix(in srgb, var(--accent-sage) 60%, transparent); }
.fc-val { font-size: 12px; font-variant-numeric: tabular-nums; }
.fc-val.ok { color: var(--ok); }

.fc-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-warm); flex: none;
}
.fc-label { font-size: 12px; color: var(--ink-faint); letter-spacing: .04em; }
.fc-num { font-size: 26px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.fc-num small { font-size: 12px; font-weight: 400; color: var(--ink-faint); }
.fc-delta { font-size: 12px; }
.fc-delta.up { color: var(--warn); }

/* ----- 汇聚入场动画 ----- */
.hero.go .float-card {
  animation: converge 1.5s var(--spring) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes converge {
  0%   { opacity: 0; transform: translate(var(--from-x, 0), var(--from-y, 0)) scale(.92); filter: blur(16px); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) rotate(var(--r, 0deg)) scale(1); filter: blur(0); }
}

/* ----- 中央 Query Composer ----- */
.composer {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  opacity: 0;
  transform: translateY(26px) scale(.97);
}
.hero.go .composer {
  animation: composer-in 1s var(--ease-out) 1.05s forwards;
}
@keyframes composer-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--ink-faint);
  margin-bottom: 26px;
}

.composer-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 22px;
  padding: 22px 26px;
  text-align: left;
}
.composer-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, var(--accent-warm), color-mix(in srgb, var(--accent-warm) 55%, var(--accent)));
}
.composer-text {
  flex: 1;
  font-size: clamp(22px, 3.6vw, 36px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.35;
  min-height: 1.35em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.caret, .story-caret {
  display: inline-block;
  width: 2px; height: 1.05em;
  margin-left: 3px;
  background: var(--ink);
  border-radius: 2px;
  vertical-align: -0.14em;
  animation: caret-blink 1s steps(1) infinite;
}
.caret.done, .story-caret.done { animation: caret-fade .8s ease 1.2s forwards; }
@keyframes caret-blink { 50% { opacity: 0; } }
@keyframes caret-fade { to { opacity: 0; } }

.composer-send {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
}
.composer-send.sm { width: 38px; height: 38px; }

.hero-sub {
  margin-top: 24px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-soft);
}
.hero-caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: .04em;
}

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  z-index: 4;
}
.hero-scroll span {
  width: 22px; height: 34px;
  border: 1.6px solid var(--ink-faint);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  left: 50%; top: 6px;
  width: 3px; height: 7px;
  border-radius: 3px;
  background: var(--ink-faint);
  transform: translateX(-50%);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  60% { transform: translate(-50%, 9px); opacity: .2; }
}
/* ============================================================
   滚动叙事：六阶段连续形变（单一画布，元素持续演化）
   ============================================================ */
.story-track { height: 700svh; position: relative; }

.story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: calc(var(--nav-h) + 14px) 20px 18px;
}

/* 叙事 Composer：打字机语句 */
.story-composer {
  width: min(620px, 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  padding: 13px 20px;
  flex: none;
}
.story-query {
  flex: 1;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 600;
  min-height: 1.5em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* ----- 画布 ----- */
.story-canvas {
  position: relative;
  width: min(1240px, 100%);
  height: min(680px, calc(100svh - var(--nav-h) - 165px));
  min-height: 420px;
  border-radius: var(--radius-lg);
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 92px 92px;
  background-position: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .9s var(--ease-out);
}
.story-stage.open .story-canvas { opacity: 1; transform: none; }

.story-canvas .panel-demo {
  position: absolute;
  top: 8px; right: 12px;
  z-index: 8;
  font-size: 11px;
  color: var(--ink-faint);
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  background: var(--glass-bg);
}

/* ----- 阶段文案 ----- */
.story-texts {
  position: absolute;
  z-index: 6;
  top: 16px;
  left: 2.5%;
  transform: none;
  width: min(520px, 48%);
  height: 164px;
  pointer-events: none;
}
.story-stage.alt .story-texts { left: auto; right: 12%; }
.stext { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; }
.stext-ghost {
  position: absolute;
  top: -42px; left: -8px;
  font-size: 112px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  opacity: .05;
  z-index: -1;
  user-select: none;
}
.stext-kicker {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-faint);
}
.stext-kicker b { color: var(--accent-warm); font-weight: 650; }
.stext-h {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -.01em;
  margin: 8px 0 7px;
}
.stext-p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 480px;
}

/* ----- 步骤导航器 ----- */
.story-nav {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: grid;
  gap: 15px;
}
.story-nav li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink-faint);
  transition: color .4s ease;
  white-space: nowrap;
}
.story-nav li i {
  width: 24px; height: 1.5px;
  background: var(--line);
  transition: width .45s var(--ease-out), background .4s ease;
}
.story-nav li.on { color: var(--ink); }
.story-nav li.on i { width: 42px; background: var(--accent-warm); }

/* ============================================================
   形变画布：所有元素由 --t1…--t6 驱动持续演化
   ============================================================ */
.field {
  position: absolute;
  inset: 188px 0 0;
  --t1: 0; --t2: 0; --t3: 0; --t4: 0; --t5: 0; --t6: 0;
}

/* ----- 01：纸质报告 → 信号 ----- */
.doc {
  --doc-out: clamp(0, calc((var(--t1) - .08 - var(--i) * .08) * 4.5), 1);
  position: absolute;
  z-index: 1;
  width: 148px;
  padding: 13px 14px;
  border-radius: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(calc(1 - var(--doc-out) * .28));
  opacity: calc(1 - var(--doc-out));
  filter: blur(calc(var(--doc-out) * 3px));
}
.doc-t {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  margin-bottom: 9px;
}
.doc i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--line-soft);
  margin-top: 7px;
}
.doc i:nth-of-type(2n) { width: 72%; }
.doc i:last-child { width: 45%; }

/* ----- 02：指标关系连线 ----- */
.links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  opacity: calc(clamp(0, calc(var(--t2) * 2.6), 1)
    * (1 - clamp(0, calc(var(--t3) * 2.5), 1))
    * (1 - clamp(0, calc(var(--t6) * 4), 1)));
}
.links path {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 40%, var(--line));
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - clamp(0, calc(var(--t2) * 4 - var(--i) * .12), 1));
}

/* ----- 指标卡（贯穿 01→05，TC 卡在 03 成为异常主角） ----- */
.ic {
  --a: clamp(0, calc((var(--t1) - .25 - var(--i) * .08) * 3.5), 1);
  --vis: calc((1 - clamp(0, calc(var(--t3) * 2.5), 1))
    * (1 - clamp(0, calc(var(--t6) * 4), 1)));
  position: absolute;
  z-index: 2;
  width: 176px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  opacity: calc(var(--a) * var(--vis));
  transform: translate(-50%, calc(-50% + (1 - var(--a)) * 22px)) scale(calc(.94 + var(--a) * .06));
}
.ic-top { display: flex; align-items: center; gap: 7px; }
.ic-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.ic-name { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ic-code {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.ic-val {
  font-size: 23px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  margin-top: 3px;
  white-space: nowrap;
}
.ic-val small { font-size: 11px; font-weight: 400; color: var(--ink-faint); }
.ic-spark {
  overflow: hidden;
  max-height: calc(var(--t2) * 36px);
  opacity: clamp(0, calc(var(--t2) * 2), 1);
  margin-top: calc(var(--t2) * 5px);
}
.ic-spark svg { display: block; width: 100%; height: auto; }
.ic-spark .sl {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - clamp(0, calc(var(--t2) * 2.6 - var(--i) * .3), 1));
}
.ic-spark .th {
  stroke: var(--warn);
  stroke-width: 1.2;
  opacity: clamp(0, calc((var(--t3) - .3) * 4), 1);
}
.ic-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
}
.ic-date { font-size: 11px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.badge {
  font-size: 10.5px;
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}
.badge.up { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.badge.down { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.badge.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }

/* TC 卡：03 移到中心、放大、异常点亮；04 让位至左中；06 融入链路 */
.ic-tc {
  --t4-move: clamp(0, calc(var(--t4) * 2), 1);
  --vis: calc(1 - clamp(0, calc(var(--t6) * 4), 1));
  left: calc(36% + 19% * var(--t3) - 23% * var(--t4-move));
  top: calc(40% + 4% * var(--t4-move));
  z-index: 3;
  border-color: color-mix(in srgb, var(--warn) calc(var(--t3) * 45%), var(--line-soft));
  box-shadow: 0 0 0 calc(clamp(0, calc((var(--t3) - .4) * 3), 1) * 1.5px) color-mix(in srgb, var(--warn) 25%, transparent), var(--shadow-card);
  transform: translate(-50%, calc(-50% + (1 - var(--a)) * 22px))
    scale(calc((.94 + var(--a) * .06) * (1 + .12 * var(--t3) - .12 * var(--t4-move))));
}
.ic-tc .ic-dot { background: color-mix(in srgb, var(--warn) calc(var(--t3) * 100%), var(--accent)); }
.ic-tc .ic-val { color: color-mix(in srgb, var(--warn) calc(var(--t3) * 100%), var(--ink)); }
.ic-tc .ic-spark .sl { stroke: color-mix(in srgb, var(--warn) calc(var(--t3) * 100%), var(--accent)); }
.ic-tc .badge.up {
  background: color-mix(in srgb, var(--warn) calc(12% + var(--t3) * 20%), transparent);
  font-weight: calc(500 + var(--t3) * 200);
}
.ic-tc::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 22px;
  border: 1.5px solid color-mix(in srgb, var(--warn) 40%, transparent);
  opacity: calc(clamp(0, calc((var(--t3) - .5) * 3), 1) * (1 - clamp(0, calc(var(--t6) * 4), 1)));
  animation: tc-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tc-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

/* ----- 04：机制通路辐射 ----- */
.plinks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  opacity: calc(clamp(0, calc((var(--t4) - .38) * 4), 1)
    * (1 - clamp(0, calc(var(--t6) * 4), 1)));
}
.plinks .pl {
  fill: none;
  stroke: color-mix(in srgb, var(--warn) calc(var(--keep, 0) * clamp(0, calc((var(--t5) - .3) * 3), 1) * 45%), var(--line));
  stroke-width: calc(1.6px + var(--keep, 0) * clamp(0, calc((var(--t5) - .3) * 3), 1) * 1px);
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - clamp(0, calc((var(--t4) - .42) * 3.4 - var(--i) * .22), 1));
  opacity: calc(1 - (1 - var(--keep, 0)) * clamp(0, calc((var(--t5) - .55) * 2.6), 1));
}
.plinks .keep { --keep: 1; }

.probe-node {
  --b: clamp(0, calc((var(--t4) - .38 - var(--i) * .07) * 3.5), 1);
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-bg);
  padding: 8px 15px;
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--ink-soft);
  opacity: calc(var(--b)
    * (1 - (1 - var(--keep, 0)) * clamp(0, calc((var(--t5) - .55) * 2.6), 1))
    * (1 - clamp(0, calc(var(--t6) * 4), 1)));
  transform: translate(-50%, -50%) scale(calc(.82 + var(--b) * .18));
}
.probe-node.keep {
  --keep: 1;
  border-color: color-mix(in srgb, var(--warn) calc(clamp(0, calc((var(--t5) - .3) * 3), 1) * 50%), var(--line));
  color: color-mix(in srgb, var(--warn) calc(clamp(0, calc((var(--t5) - .3) * 3), 1) * 100%), var(--ink-soft));
}
.probe-node .p-tag {
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--ink-faint);
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.probe-node::after {
  content: "×";
  position: absolute;
  top: -9px; right: -5px;
  width: 18px; height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--warn);
  font-size: 11px;
  opacity: calc((1 - var(--keep, 0))
    * clamp(0, calc((var(--t5) - .55) * 3), 1)
    * (1 - clamp(0, calc(var(--t6) * 4), 1)));
}

/* ----- 05：外部证据 ----- */
.ev {
  --e: clamp(0, calc(var(--t5) * 2.8 - .15 - var(--i) * .3), 1);
  position: absolute;
  z-index: 3;
  width: 204px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: var(--shadow-card);
  padding: 10px 13px;
  opacity: calc(var(--e)
    * (1 - (1 - var(--keep, 0)) * clamp(0, calc((var(--t5) - .55) * 2.6), 1))
    * (1 - clamp(0, calc(var(--t6) * 4), 1)));
  transform: translate(-50%, -50%) translateX(calc((1 - var(--e)) * 26px));
}
.ev.keep { --keep: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ev { background: var(--glass-solid); }
}
.ev-badge {
  justify-self: start;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .05em;
  border-radius: 7px;
  padding: 2.5px 8px;
}
.ev-badge.sup { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.ev-badge.out { color: var(--warn); background: color-mix(in srgb, var(--warn) 11%, transparent); }
.ev-src { font-size: 12px; color: var(--ink-soft); }
.ev-note { font-size: 9.5px; letter-spacing: .1em; color: var(--ink-faint); }

/* ----- 06：可溯源链路 ----- */
.clinks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  opacity: clamp(0, calc((var(--t6) - .34) * 3), 1);
}
.clinks path {
  fill: none;
  stroke: color-mix(in srgb, var(--warn) 45%, var(--line));
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - clamp(0, calc((var(--t6) - .36) * 3.2 - var(--i) * .2), 1));
}

.cnode {
  --w: clamp(0, calc((var(--t6) - .3 - var(--i) * .07) * 3.2), 1);
  position: absolute;
  z-index: 3;
  left: var(--ex);
  top: var(--ey);
  width: 180px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: var(--bg-elev);
  box-shadow: var(--shadow-card);
  padding: 11px 15px;
  opacity: var(--w);
  transform: translate(-50%, -50%) scale(calc(.85 + var(--w) * .15));
}
.cnode .c-k {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.cnode .c-t { font-size: 14.5px; font-weight: 650; white-space: nowrap; }
.cnode .c-s { font-size: 11.5px; color: var(--ink-soft); }
.cnode.hot {
  border-color: color-mix(in srgb, var(--warn) 45%, transparent);
  background: color-mix(in srgb, var(--warn) 6%, var(--bg-elev));
}
.cnode.hot .c-k { color: var(--warn); }

.cadvice {
  position: absolute;
  left: 50%; bottom: 1.5%;
  transform: translateX(-50%);
  width: min(580px, 92%);
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  opacity: clamp(0, calc((var(--t6) - .78) * 4), 1);
}

/* ============================================================
   产品章节
   ============================================================ */
.products { padding: clamp(72px, 8vw, 104px) 0 32px; }

.sec-eyebrow {
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.sec-title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.sec-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: clamp(36px, 4vw, 52px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
  align-items: start;
}
.product-card:nth-child(2) { margin-top: clamp(16px, 2vw, 28px); }
.product-card:nth-child(3) { margin-top: clamp(28px, 3vw, 44px); }

.product-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--spring), box-shadow .5s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -16px rgba(35, 39, 47, .2);
}
@media (prefers-color-scheme: dark) {
  .product-card:hover { box-shadow: 0 20px 48px -16px rgba(0, 0, 0, .6); }
}

.product-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pv-lighthouse { background: linear-gradient(150deg, #dfeef2, #e9f2e4 60%, #f3ecdc); }
.pv-glow { background: linear-gradient(150deg, #fbf3df, #f7e8c8 55%, #f2ddba); }
.pv-pallo {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, .72) 0 8%, transparent 32%),
    linear-gradient(150deg, #f2eee3, #e8e4ca 56%, #f4d9cc);
}
@media (prefers-color-scheme: dark) {
  .pv-lighthouse { background: linear-gradient(150deg, #2a3740, #2c3a33 60%, #3a362c); }
  .pv-glow { background: linear-gradient(150deg, #3a3324, #40351f 55%, #453718); }
  .pv-pallo {
    background:
      radial-gradient(circle at 18% 16%, rgba(255, 255, 255, .08) 0 8%, transparent 32%),
      linear-gradient(150deg, #353229, #3a3826 56%, #42312d);
  }
}

.pv-icon {
  width: clamp(88px, 8vw, 112px);
  height: auto;
  border-radius: 26%;
  box-shadow: 0 18px 36px -12px rgba(35, 39, 47, .3);
  position: relative;
  z-index: 2;
}

.pv-frag { position: absolute; pointer-events: none; }
.frag-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 7px solid rgba(255, 255, 255, .75);
  border-top-color: var(--accent);
  left: 12%; top: 16%;
  transform: rotate(-24deg);
}
.frag-bars {
  right: 12%; bottom: 18%;
  display: flex; align-items: flex-end; gap: 6px;
}
.frag-bars i {
  width: 10px; border-radius: 5px;
  background: rgba(255, 255, 255, .8);
}
.frag-bars i:nth-child(1) { height: 22px; }
.frag-bars i:nth-child(2) { height: 36px; background: color-mix(in srgb, var(--accent) 60%, #fff); }
.frag-bars i:nth-child(3) { height: 28px; }
.frag-pill {
  left: 16%; bottom: 20%;
  width: 52px; height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 35%, transparent);
}
.frag-check {
  left: 12%; top: 20%;
  display: grid; gap: 9px;
}
.frag-check i {
  width: 46px; height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  position: relative;
}
.frag-check i::before {
  content: "";
  position: absolute;
  left: 5px; top: 50%;
  width: 5px; height: 8px;
  border-right: 2px solid var(--accent-warm);
  border-bottom: 2px solid var(--accent-warm);
  transform: translateY(-60%) rotate(42deg);
}
.frag-dot {
  right: 16%; bottom: 22%;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe9bd, var(--accent-warm));
  box-shadow: 0 0 26px 6px rgba(217, 160, 95, .4);
}
@media (prefers-color-scheme: dark) {
  .frag-ring { border-color: rgba(255,255,255,.22); border-top-color: var(--accent); }
  .frag-bars i, .frag-pill, .frag-check i { background: rgba(255,255,255,.16); }
}

.product-body { padding: clamp(18px, 2vw, 24px); }
.product-body h3 {
  font-size: clamp(20px, 1.7vw, 22px);
  font-weight: 650;
  margin-bottom: 10px;
}
.product-body p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  min-height: 4.4em;
}

/* Pallo：完整横版 Logo，沿用产品卡的悬浮品牌牌面 */
.pallo-logo-frame {
  position: relative;
  z-index: 2;
  width: min(78%, 300px);
  aspect-ratio: 1200 / 631;
  overflow: hidden;
  border: 1px solid rgba(35, 39, 47, .08);
  border-radius: clamp(18px, 2vw, 26px);
  background: #fbf8f3;
  box-shadow: 0 18px 36px -12px rgba(35, 39, 47, .3);
}
.pallo-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frag-pallo-orbit {
  left: 12%;
  top: 17%;
  width: 74px;
  height: 74px;
  border: 7px solid rgba(255, 255, 255, .68);
  border-right-color: rgba(154, 139, 56, .72);
  border-radius: 44% 56% 52% 48%;
  transform: rotate(20deg);
}
.frag-pallo-dots {
  right: 13%;
  bottom: 20%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.frag-pallo-dots i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(154, 139, 56, .72);
}
.frag-pallo-dots i:nth-child(2) {
  width: 20px;
  height: 20px;
  background: rgba(244, 184, 154, .8);
}
.frag-pallo-dots i:nth-child(3) {
  width: 9px;
  height: 9px;
  background: rgba(35, 39, 47, .5);
}
@media (prefers-color-scheme: dark) {
  .pallo-logo-frame {
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .52);
  }
  .frag-pallo-orbit {
    border-color: rgba(255, 255, 255, .14);
    border-right-color: rgba(181, 165, 76, .74);
  }
  .frag-pallo-dots i:nth-child(3) {
    background: rgba(255, 255, 255, .44);
  }
}
.pallo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.pallo-head h3 { margin-bottom: 0; }
/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
  transition: transform .35s var(--spring), opacity .25s ease, background .25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.96); transition-duration: .12s; }

.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { opacity: .9; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--line-soft); }

/* ============================================================
   B 端合作与联系
   ============================================================ */
.contact { padding: clamp(60px, 9vw, 130px) 0 clamp(80px, 10vw, 140px); }

.contact-card {
  border-radius: calc(var(--radius-lg) + 8px);
  padding: clamp(36px, 6vw, 84px) clamp(24px, 6vw, 84px);
  text-align: center;
}

.contact-title {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
  text-align: left;
  margin-bottom: clamp(44px, 5vw, 64px);
}
.service {
  border-top: 1.5px solid var(--line);
  padding-top: 20px;
}
.service-no {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  letter-spacing: .14em;
}
.service h3 {
  font-size: 18px;
  font-weight: 650;
  margin: 10px 0 8px;
}
.service p { font-size: 14px; color: var(--ink-soft); }

.btn-pill {
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  min-height: 56px;
  padding: 0 44px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 14px 30px -10px rgba(35, 39, 47, .35);
}
.btn-pill:hover { transform: translateY(-2px); opacity: .92; }
.btn-pill:active { transform: scale(.94); transition-duration: .12s; }
.btn-pill[aria-disabled="true"] { cursor: default; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 0 34px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: grid; gap: 8px; }
.footer-brand img { width: 108px; height: auto; }
.footer-copy { font-size: 13px; color: var(--ink-faint); }
.footer-links { display: flex; gap: 6px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: 10px;
}
.footer-links a:hover { color: var(--ink); }
.footer-registration {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
}
.footer-registration a:hover { color: var(--ink); }

/* ---------- 区块揭示 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */

/* ----- 1024px ----- */
@media (max-width: 1024px) {
  .fc-report { left: 0; top: 3%; }
  .fc-metric { right: 0; top: 9%; }
  .fc-note { left: 34%; bottom: 6%; }
  .product-grid { gap: 18px; }
  .product-body p { min-height: 6.6em; }
  .story-texts { width: min(460px, 55%); }
  .ic { width: 158px; }
  .probe-node {
    opacity: calc(var(--b)
      * (1 - clamp(0, calc((var(--t5) - .05) * 4), 1))
      * (1 - clamp(0, calc(var(--t6) * 4), 1)));
  }
  .plinks {
    opacity: calc(clamp(0, calc((var(--t4) - .38) * 4), 1)
      * (1 - clamp(0, calc((var(--t5) - .05) * 4), 1))
      * (1 - clamp(0, calc(var(--t6) * 4), 1)));
  }
  .ev { width: 180px; }
  .ev3 { top: 68% !important; }
  .ev4 { left: 50% !important; top: 88% !important; }
  .ev5 { left: 10% !important; width: 160px; }
  .cnode { width: 170px; }
  .cnode .c-t {
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;
  }
}

/* ----- 900px：产品改为两列，第三张横向展开 ----- */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-card:nth-child(2),
  .product-card:nth-child(3) {
    margin-top: 0;
  }
  .product-pallo {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .product-pallo .product-visual {
    min-height: 230px;
    aspect-ratio: auto;
  }
}

/* ----- 759px：叙事纵向排布 ----- */
@media (max-width: 759px) {
  /* 叙事：文案置顶，画布占下方区域 */
  .story-stage { gap: 10px; }
  .story-canvas {
    height: min(640px, calc(100svh - var(--nav-h) - 150px));
    min-height: 380px;
    background-size: 64px 64px;
  }
  .story-texts {
    top: 6px; left: 0;
    transform: none;
    width: 100%;
    height: 190px;
    padding: 0 8px;
  }
  .story-stage.alt .story-texts { left: 0; right: auto; }
  .stext-ghost { font-size: 84px; top: -34px; left: -4px; }
  .stext-kicker { font-size: 10.5px; letter-spacing: .14em; }
  .stext-h { font-size: 25px; margin: 8px 0 8px; }
  .stext-p { font-size: 12.5px; max-width: 100%; }
  .story-nav { display: none; }

  .field { inset: 196px 0 0 0; }

  .doc { width: 108px; padding: 10px 11px; }
  .dc1 { left: 17% !important; top: 14% !important; }
  .dc3 { left: 17% !important; top: 72% !important; }

  .ic { width: 128px; padding: 9px 10px; border-radius: 13px; }
  .ic1 { left: 20% !important; top: 8% !important; }
  .ic2 { top: 6% !important; }
  .ic3 { left: 20% !important; top: 68% !important; }
  .ic4 { left: 72% !important; }
  .ic5 { left: 55% !important; top: 90% !important; }
  .ic-name { font-size: 10.5px; }
  .ic-code { font-size: 8.5px; }
  .ic-val { font-size: 16px; }
  .ic-val small { font-size: 9px; }
  .ic-foot { margin-top: 5px; }
  .ic-date { font-size: 9px; }
  .badge { font-size: 8.5px; padding: 1.5px 6px; }

  .probe-node {
    font-size: 10.5px;
    padding: 6px 11px;
    gap: 6px;
    opacity: calc(var(--b)
      * (1 - clamp(0, calc((var(--t5) - .05) * 4), 1))
      * (1 - clamp(0, calc(var(--t6) * 4), 1)));
  }
  .plinks {
    opacity: calc(clamp(0, calc((var(--t4) - .38) * 4), 1)
      * (1 - clamp(0, calc((var(--t5) - .05) * 4), 1))
      * (1 - clamp(0, calc(var(--t6) * 4), 1)));
  }
  .probe-node .p-tag { font-size: 8px; padding-left: 6px; }
  .pn-a { left: 64% !important; top: 8% !important; }
  .pn-b { left: 78% !important; top: 20% !important; }
  .pn-c { left: 74% !important; top: 80% !important; }
  .pn-d { left: 20% !important; top: 6% !important; }
  .pn-e { left: 20% !important; top: 82% !important; }

  .ev { width: 140px; padding: 8px 10px; gap: 3px; }
  .ev-badge { font-size: 8.5px; padding: 2px 6px; }
  .ev-src { font-size: 10px; }
  .ev-note { display: none; }
  .ev1 { left: 28% !important; top: 14% !important; }
  .ev2 { left: 72% !important; top: 14% !important; }
  .ev3 { left: 74% !important; top: 34% !important; }
  .ev4 { left: 70% !important; top: 68% !important; }
  /* 窄屏精简证据卡，避免与异常卡重叠 */
  .ev5, .ev6 { display: none; }

  /* 链路改为纵向单列，节点原地浮现 */
  .clinks { display: none; }
  .field::after {
    content: "";
    position: absolute;
    left: 50%; top: 12%;
    width: 2px; height: 70%;
    transform: translateX(-50%) scaleY(clamp(0, calc((var(--t6) - .34) * 2.4), 1));
    transform-origin: top center;
    background: color-mix(in srgb, var(--warn) 35%, var(--line));
    border-radius: 2px;
    z-index: 1;
  }
  .cnode {
    width: 150px;
    padding: 8px 12px;
    gap: 2px;
    left: 50% !important;
  }
  .cn1 { top: 8% !important; }
  .cn2 { top: 26% !important; }
  .cn3 { top: 44% !important; }
  .cn4 { top: 62% !important; }
  .cn5 { top: 80% !important; }
  .cnode .c-k { font-size: 8px; letter-spacing: .08em; }
  .cnode .c-t { font-size: 11.5px; white-space: normal; line-height: 1.35; }
  .cnode .c-s { font-size: 9px; }
  .cadvice { font-size: 11px; bottom: 0.5%; }
  .field::after { top: 8%; height: 72%; }
}

/* ----- 759px 以下的短视口：压缩文案带，释放演示画布高度 ----- */
@media (max-width: 759px) and (max-height: 780px) {
  .story-stage { gap: 8px; padding-bottom: 10px; }
  .story-composer { padding-block: 9px; }
  .story-canvas {
    height: calc(100svh - var(--nav-h) - 140px);
    min-height: 0;
  }
  .story-texts { height: 136px; }
  .stext-ghost { top: -26px; font-size: 72px; }
  .stext-kicker { font-size: 10px; }
  .stext-h { margin-block: 5px; font-size: 22px; }
  .stext-p { font-size: 11.5px; line-height: 1.5; }
  .field { inset: 142px 0 0; }

  .ic { width: 116px; padding: 7px 8px; }
  .ic3 { top: 75% !important; }
  .ic5 { left: 50% !important; top: 92% !important; }

  .cnode {
    width: 140px;
    padding: 5px 10px;
    gap: 1px;
  }
  .cadvice { font-size: 9.5px; }
}

/* ----- 640px：产品单列 ----- */
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card:nth-child(2),
  .product-card:nth-child(3) { margin-top: 0; }
  .product-pallo {
    grid-column: auto;
    display: block;
  }
  .product-pallo .product-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .product-body p { min-height: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-brand { justify-items: center; }
}

/* ----- 680px：导航换行，首屏与叙事适配窄屏 ----- */
@media (max-width: 680px) {
  :root { --nav-h: 108px; }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0;
    padding: 10px 16px 6px;
    border-radius: 18px;
  }
  .nav-brand { width: 100%; justify-content: center; min-height: 40px; }
  .nav-brand img { width: 118px; }
  .brand-company {
    margin-left: 10px;
    padding-left: 10px;
    font-size: 9.5px;
  }
  .nav-menu {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }
  .nav-link { padding: 0 10px; font-size: 14px; }
  .nav-link-cta { margin-left: 0; padding: 0 16px; }

  .hero-inner { min-height: calc(100svh - 260px); }

  /* 减少浮动卡片数量，左右汇聚改为纵向错层进入 */
  .fc-note, .fc-trend { display: none; }
  .fc-report {
    --from-x: 0; --from-y: -46vh; --r: -2deg;
    left: 0; top: 0;
    width: 190px;
    padding: 13px 15px;
  }
  .fc-date {
    --from-x: 0; --from-y: 40vh; --r: 1.5deg;
    left: auto; right: 0; bottom: 6%;
  }
  .fc-metric {
    --from-x: 0; --from-y: -34vh; --r: 2deg;
    right: 0; top: 3%;
    width: 150px;
    padding: 12px 14px;
  }
  .fc-num { font-size: 20px; }

  .composer-bar { padding: 16px 14px; gap: 8px; border-radius: 18px; }
  .composer-dot { width: 10px; height: 10px; }
  .composer-text {
    font-size: clamp(15px, 4.6vw, 18px);
    flex-wrap: wrap;
    white-space: normal;
  }
  .composer-send { width: 36px; height: 36px; }
  .composer-send.sm { width: 34px; height: 34px; }
  .hero-sub { padding-inline: 8px; }

  .story-stage { padding-inline: 12px; }
  .story-composer { padding: 11px 14px; }
  .story-query { font-size: 14px; }

  .container { width: calc(100% - 36px); }
}

/* ----- 380px：导航进一步收紧 ----- */
@media (max-width: 380px) {
  .nav-link { padding: 0 7px; font-size: 13.5px; }
  .nav-link-cta { padding: 0 13px; }
}

/* ============================================================
   减少动态效果
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .float-card, .composer { opacity: 1 !important; transform: none !important; filter: none !important; }
  .caret, .story-caret { display: none; }
  .hero-scroll span::after { animation: none; }

  .story-track { height: auto; }
  .story-stage {
    position: static;
    height: auto;
    overflow: visible;
    padding-block: 70px;
  }

  .story-canvas {
    opacity: 1 !important;
    transform: none !important;
    height: auto;
    min-height: 0;
    display: grid;
    gap: 34px;
    padding-block: 10px;
    background-image: none;
  }
  .story-texts {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    display: grid;
    gap: 26px;
  }
  .stext {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .stext-ghost { display: none; }
  .story-nav { display: none; }
  #story-typed:empty::before { content: "AI 在后台持续解析健康数据，主动挖掘风险线索"; }

  /* 画布直接呈现最终链路状态 */
  .field {
    position: relative;
    inset: auto;
    height: 420px;
    --t1: 1 !important; --t2: 1 !important; --t3: 1 !important;
    --t4: 1 !important; --t5: 1 !important; --t6: 1 !important;
  }
  .doc, .links, .plinks, .probe-node, .ev, .ic { opacity: 0 !important; }
  .clinks { opacity: 1 !important; }
  .clinks path { stroke-dashoffset: 0 !important; }

  .panel-block, .reveal { opacity: 1 !important; transform: none !important; }
}
