/* Automed 官网 v3 — 分类视图 + 整页滚动 + 滚动驱动动效（token 对齐 ui-kit） */
:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: rgba(0,0,0,.68);
  --text-3: rgba(0,0,0,.44);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --ok: #248a3d;
  --line: rgba(0,0,0,.08);
  --radius: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 20px rgba(0,0,0,.04);
  --shadow-shot: 0 4px 12px rgba(0,0,0,.06), 0 24px 64px rgba(0,0,0,.12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
          "Helvetica Neue", "Microsoft YaHei", "Segoe UI", sans-serif;
  --header-h: 56px;
  --cat: #0071e3;
  --cat-soft: rgba(0,113,227,.12);
}
body[data-view="biz"]  { --cat: #0071e3; --cat-soft: rgba(0,113,227,.12); }
body[data-view="tool"] { --cat: #7c3aed; --cat-soft: rgba(124,58,237,.12); }
body[data-view="life"] { --cat: #0a7ea4; --cat-soft: rgba(10,126,164,.12); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .7s ease;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- 进度条 ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; }
.progress-bar {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent), #34c7be);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,245,247,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
}
.logo { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 4px; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  font-size: 14px; color: var(--text-2); padding: 6px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-item:hover > a { color: var(--text); }
.nav-item > a.active { background: var(--cat-soft); color: var(--cat); }
.dropdown {
  position: absolute; top: calc(100% + 2px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 180px; padding: 8px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-shot);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 0);
}
.dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13.5px; color: var(--text-2); white-space: nowrap;
}
.dropdown a:hover { background: rgba(0,0,0,.045); color: var(--text); }
.tag-dev {
  font-size: 11px; color: var(--text-3);
  background: rgba(0,0,0,.06); border-radius: 980px; padding: 2px 7px;
}
.nav-toggle { display: none; }

/* ---------- 数据干线（右侧站点导航） ---------- */
.dots {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 34px; align-items: center;
}
/* 轨道：首站到末站的 2px 竖线（浅 pastel 蓝） */
.dt-track {
  position: absolute; left: 50%; top: 5px; bottom: 5px;
  width: 2px; margin-left: -1px; border-radius: 2px;
  background: rgba(192, 216, 242, .8);
}
/* 进度填充：脉冲走过的区段用 regal blue 渐变 */
.dt-fill {
  position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(180deg, #013F6A, #4a7fb5);
  transform: scaleY(0); transform-origin: 50% 0;
}
/* 脉冲：regal blue 径向渐变光点 + 光晕，沿轨道随滚动下行 */
.dt-pulse {
  position: absolute; left: 50%; top: 0;
  width: 12px; height: 12px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 35%, #7fb2e5 0%, #013F6A 55%, #012c4b 100%);
  box-shadow: 0 0 6px 2px rgba(1, 63, 106, .5), 0 0 16px 6px rgba(1, 63, 106, .22);
  animation: dt-breathe 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dt-breathe {
  0%, 100% { box-shadow: 0 0 6px 2px rgba(1, 63, 106, .5), 0 0 14px 5px rgba(1, 63, 106, .2); }
  50%      { box-shadow: 0 0 8px 3px rgba(1, 63, 106, .62), 0 0 22px 8px rgba(1, 63, 106, .3); }
}
/* 站点 */
.dots a.dt-stop {
  position: relative; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid rgba(1, 63, 106, .3);
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.dots a.dt-stop::before { content: ''; position: absolute; inset: -9px; } /* 扩大点击区 */
.dots a.dt-stop:hover { border-color: #013F6A; }
.dots a.dt-stop.lit { background: #013F6A; border-color: #013F6A; }
.dots a.dt-stop.active {
  transform: scale(1.5);
  box-shadow: 0 0 8px 2px rgba(1, 63, 106, .35);
}
/* 到站涟漪：激活切换时触发一次 */
.dt-ripple {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  border-radius: 50%; border: 2px solid rgba(1, 63, 106, .55);
  transform: translate(-50%, -50%); opacity: 0; pointer-events: none;
}
.dt-stop.rippling .dt-ripple { animation: dt-ripple .8s ease-out; }
@keyframes dt-ripple {
  0%   { opacity: .9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0;  transform: translate(-50%, -50%) scale(3.4); }
}
/* 站名标签：hover / 激活时浮现，不常驻 */
.dt-label {
  position: absolute; right: 20px; top: 50%;
  transform: translate(6px, -50%);
  font-size: 11px; letter-spacing: .08em; white-space: nowrap;
  color: rgba(1, 63, 106, .6);
  opacity: 0; transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.dt-label:empty { display: none; }
.dt-stop:hover .dt-label, .dt-stop.active .dt-label {
  opacity: 1; transform: translate(0, -50%);
}
.dt-stop.active .dt-label { color: #013F6A; font-weight: 600; }
@media (max-width: 900px) { .dots { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .dt-pulse, .dt-ripple { display: none; animation: none; }
  .dots a.dt-stop, .dt-label { transition: none; }
}

/* ---------- 整页 ---------- */
.page {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: center;
  overflow: clip; /* overflow:hidden 会建滚动容器、废掉子元素 sticky；clip 不会 */
}
.page.hidden { display: none !important; }
/* 页面聚焦：JS（main.js onScroll）按视口占据度写普通页的 opacity（.35 → 1），
   台阶区 .page-steps / hero 跳过；移动端与 prefers-reduced-motion 由 JS 侧关闭 */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .page:not(.page-steps):not(.hero) { will-change: opacity; }
}
.page-inner {
  width: 100%; max-width: 1120px; margin: 0 auto;
  padding: calc(var(--header-h) + 32px) 40px 48px;
}
.anchor-fix { position: absolute; top: 0; }

/* ---------- 成绩单 s-record（信任前置 · 报纸式大数字） ---------- */
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.rec-item {
  background: #fff;
  padding: clamp(24px, 4vw, 44px) clamp(20px, 3vw, 36px);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(150px, 22vh, 210px);
}
.rec-item b {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.rec-item.rec-hero b { color: #013F6A; }
.rec-arrow { font-style: normal; font-weight: 600; opacity: .38; margin: 0 .06em; }
.rec-unit {
  font-size: .42em; font-weight: 700; letter-spacing: 0;
  color: var(--text-2); margin-left: .18em;
}
.rec-label {
  margin-top: .55em; font-size: 14px; font-weight: 600; color: var(--text);
}
.rec-note { margin-top: .45em; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }
.rec-foot {
  margin-top: 28px; text-align: center;
  font-size: 13px; letter-spacing: .04em; color: var(--text-3);
}
@media (max-width: 900px) {
  .rec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .rec-grid { grid-template-columns: 1fr; }
  .rec-item { min-height: 0; padding: 22px 20px; }
}

/* ---------- 方法论 p-ai 深色光流区（替代台阶引擎） ---------- */
.page-ai-dark { background: #012B49; color: #EAF3FB; }
.aid-stage {
  max-width: 1080px; margin: 0 auto; padding: clamp(72px, 12vh, 130px) 40px 64px;
  display: flex; flex-direction: column; justify-content: center; min-height: 100%;
}
.aid-eyebrow { color: rgba(192,216,242,.75); }
.aid-title {
  margin-top: 14px;
  font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
}
.aid-sub {
  margin-top: 16px; max-width: 560px;
  font-size: 15.5px; line-height: 1.7; color: rgba(234,243,251,.62);
}

/* 光流主线：横贯轨道 + 进度填充 + 流动光斑 */
.aid-track {
  position: relative; height: 4px; border-radius: 2px;
  margin: clamp(44px, 8vh, 84px) 0 clamp(36px, 6vh, 60px);
  background: rgba(192,216,242,.14);
}
.aid-rail {
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 18px rgba(192,216,242,.08) inset;
}
.aid-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%; border-radius: inherit;
  background: linear-gradient(90deg, #C0D8F2, #7FB4E8);
  box-shadow: 0 0 14px rgba(127,180,232,.65);
  transition: width .18s linear;
}
.aid-comet {
  position: absolute; top: 50%; left: 0%;
  width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff; box-shadow: 0 0 10px #C0D8F2, 0 0 26px rgba(127,180,232,.85);
  opacity: 0; transition: left .18s linear, opacity .3s ease;
}
.page-ai-dark.is-live .aid-comet { opacity: 1; }

/* 节点 */
.aid-nodes {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px);
}
.aid-node {
  position: relative; padding-top: 26px;
  opacity: .32; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.aid-node::before { /* 节点圆点，扣在轨道上 */
  content: ''; position: absolute;
  top: calc(-1 * clamp(44px, 8vh, 84px) - 2px);
  left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: #0A3E63; border: 2px solid rgba(192,216,242,.3);
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.aid-node.on { opacity: 1; transform: none; }
.aid-node.on::before {
  background: #C0D8F2; border-color: #fff;
  box-shadow: 0 0 12px rgba(192,216,242,.9), 0 0 30px rgba(127,180,232,.5);
}
.aid-num {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: #7FB4E8; font-variant-numeric: tabular-nums;
}
.aid-node h3 {
  margin-top: 10px; font-size: clamp(19px, 2vw, 24px);
  font-weight: 700; letter-spacing: -.02em;
}
.aid-node p {
  margin-top: 10px; font-size: 13.5px; line-height: 1.7; color: rgba(234,243,251,.58);
}
.aid-node-end h3 { color: #C0D8F2; }
.aid-cta-row { margin-top: clamp(40px, 7vh, 70px); }
.aid-cta-row .btn-primary {
  background: #C0D8F2; color: #013F6A;
}
.aid-cta-row .btn-primary:hover {
  background: #d9e8f8; box-shadow: 0 6px 22px rgba(192,216,242,.35);
}
@media (max-width: 900px) {
  .aid-nodes { grid-template-columns: repeat(2, 1fr); }
  .aid-track { margin-left: 7px; margin-right: 7px; }
}
@media (max-width: 560px) {
  .aid-nodes { grid-template-columns: 1fr; }
}

/* ---------- 精选产品展示区 s-featured ---------- */
.page-feat { padding: clamp(72px, 12vh, 130px) 0; }
.feat-inner { display: flex; flex-direction: column; gap: clamp(80px, 14vh, 150px); }
.feat-head .section-title { margin-top: 8px; }

/* 面板：左文右台 */
.feat-panel {
  display: grid; grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.feat-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  color: #013F6A; background: rgba(192,216,242,.4);
  border-radius: 999px; padding: 5px 14px;
}
.feat-copy h3 {
  margin-top: 18px; font-size: clamp(26px, 3vw, 38px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.25;
}
.feat-copy > p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--text-2); }
.feat-points { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.feat-points li {
  position: relative; padding-left: 20px;
  font-size: 13.5px; line-height: 1.6; color: var(--text-2);
}
.feat-points li::before {
  content: ''; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: #013F6A; opacity: .55;
}
.feat-cta { margin-top: 24px; }

/* 视频滚动擦除舞台（面板1） */
.feat-stage-video { perspective: 1200px; }
.fv-wrap {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-shot);
  background: #0a0f14;
}
.fv {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .35s ease;
}
.fv.cur { opacity: 1; }
.fv-progress {
  margin-top: 12px; height: 3px; border-radius: 2px;
  background: rgba(1,63,106,.12);
}
.fv-progress i {
  display: block; height: 100%; width: 0%; border-radius: inherit;
  background: #013F6A; transition: width .15s linear;
}

@media (max-width: 900px) {
  .feat-panel { grid-template-columns: 1fr; gap: 28px; }
  .feat-panel { align-items: start; }
}

/* ---------- CTA 抽屉 ---------- */
.drawer-mask {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,20,30,.45); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s ease;
}
.drawer-mask.on { opacity: 1; }
.cta-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
  width: min(480px, 94vw);
  background: #fff; box-shadow: -12px 0 48px rgba(0,0,0,.18);
  transform: translateX(102%);
  transition: transform .38s cubic-bezier(.22,.8,.3,1);
  overflow-y: auto;
}
.cta-drawer.on { transform: none; }
.drawer-close {
  position: sticky; top: 12px; float: right; margin-right: 14px;
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: var(--bg); color: var(--text-2);
  font-size: 20px; line-height: 1; cursor: pointer; z-index: 2;
}
.drawer-close:hover { background: #e8e8ec; }
.drawer-body { padding: 20px 30px 40px; clear: both; }

/* ---------- Pre-footer 深色转化带 ---------- */
.page-prefoot { background: #012B49; color: #EAF3FB; }
.pf-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 100%;
}
.pf-title {
  font-size: clamp(34px, 5.4vw, 64px); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.18;
}
.pf-sub {
  margin-top: 20px; font-size: 15.5px; line-height: 1.7;
  color: rgba(234,243,251,.62); max-width: 480px;
}
.pf-cta { margin-top: 36px; }
.pf-btn {
  background: #C0D8F2; color: #013F6A;
  padding-left: 28px; padding-right: 28px;
}
.pf-btn:hover { background: #d9e8f8; box-shadow: 0 8px 26px rgba(192,216,242,.35); }

/* ---------- 分行标题 mask reveal ---------- */
.rl { display: block; overflow: hidden; }
.rl-i {
  display: inline-block; transform: translateY(118%);
  transition: transform 1s cubic-bezier(.16,.8,.26,1);
  will-change: transform;
}
.rl:nth-child(2) .rl-i { transition-delay: .13s; }
.rl:nth-child(3) .rl-i { transition-delay: .24s; }
.rlh.on .rl-i { transform: none; }

/* ---------- Hero ---------- */
.hero { text-align: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-flow { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-inner { position: relative; z-index: 1; will-change: transform, opacity; }
.hero h1 {
  font-size: clamp(22px, 6.4vw, 80px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.14;
  margin-bottom: 28px;
}
.hero h1 .rl { white-space: nowrap; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #0071e3, #34c7be);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero 翻词词槽：品牌蓝横线 + rotateX 翻牌，逻辑在 js/main.js */
.flip-slot {
  display: inline-block; position: relative;
  white-space: nowrap; text-align: center;
  margin: 0 .05em; padding: 0 .06em .02em;
  color: var(--accent);
  border-bottom: .055em solid var(--accent);
  perspective: 8em;
  transition: width .32s cubic-bezier(.3,.7,.3,1);
}
.flip-w {
  display: inline-block;
  backface-visibility: hidden;
  transition: transform .38s cubic-bezier(.34,.7,.3,1), opacity .38s ease;
}
.flip-next {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%) rotateX(90deg); opacity: 0;
}
.flip-slot.flipping .flip-cur { transform: rotateX(-90deg); opacity: 0; }
.flip-slot.flipping .flip-next { transform: translateX(-50%) rotateX(0); opacity: 1; }
.flip-slot.no-anim, .flip-slot.no-anim .flip-w { transition: none; }
.hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--text-2); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 28px; border-radius: 980px;
  font-size: 16px; font-weight: 500;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 6px 20px rgba(0,113,227,.35); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: rgba(0,0,0,.2); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(0,0,0,.22); border-radius: 14px;
  z-index: 1;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px; background: var(--accent);
  animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
}

/* ---------- 分类门户 ---------- */
.portal-title, .dev-title {
  font-size: clamp(30px, 4.4vw, 52px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.2; margin-bottom: 56px;
}
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portal-card {
  position: relative; display: block;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px 26px; box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s;
}
.portal-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--pc); opacity: 0; transition: opacity .3s;
}
.portal-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-shot); }
.portal-card:hover::before { opacity: 1; }
.pc-num { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--pc); }
.portal-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 10px; }
.pc-idea { font-size: 15px; color: var(--text); margin-bottom: 14px; }
.pc-items { font-size: 13px; color: var(--text-3); }
.pc-arrow {
  position: absolute; right: 22px; bottom: 20px;
  font-size: 20px; color: var(--pc);
  transition: transform .3s;
}
.portal-card:hover .pc-arrow { transform: translateX(6px); }
.portal-foot { margin-top: 28px; font-size: 14px; color: var(--text-3); }
.portal-foot a { color: var(--accent); }
.portal-foot a:hover { text-decoration: underline; }

/* ---------- 功能案例卡（s-cases，cc- 前缀：迷你 UI + 场景句 + 指标 + CTA） ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cc-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s;
}
.cc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-shot); }
/* 顶部迷你产品 UI 舞台：淡色渐变底 + 居中组件，动效全部纯 CSS 循环 */
.cc-stage {
  position: relative; height: 200px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.7), rgba(255,255,255,0) 60%),
    linear-gradient(160deg, var(--cc-soft), rgba(255,255,255,0) 75%);
  border-bottom: 1px solid var(--line);
}
.cc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.cc-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.cc-scene { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.cc-metric {
  align-self: flex-start; margin-bottom: 18px;
  font-size: 12.5px; font-weight: 600; color: var(--cc);
  background: var(--cc-soft); border-radius: 980px; padding: 5px 12px;
}
.cc-cta { margin-top: auto; align-self: flex-start; color: var(--cc); }

/* ---- 卡1 汇流：四角标签 → 中心「统一对象」（AI 页 ai-flow 的缩小版） ---- */
.cc-flow { position: relative; width: 188px; aspect-ratio: 1; }
.cc-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 22px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #fff, #eef5fd);
  border: 1.5px solid var(--cc);
  box-shadow: 0 8px 26px var(--cc-soft), 0 2px 8px rgba(0,0,0,.06);
}
.cc-hub b { font-size: 12px; color: #1d1d1f; letter-spacing: .02em; }
.cc-hub::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 22px;
  border: 1.5px solid var(--cc); pointer-events: none;
  animation: cc-ripple 2.4s ease-out infinite;
}
@keyframes cc-ripple {
  0% { transform: scale(.88); opacity: 0; }
  25% { opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.cc-spoke {
  position: absolute; left: 50%; top: 50%; width: 50%; height: 0;
  transform: rotate(var(--a)); transform-origin: 0 50%;
}
.cc-line {
  position: absolute; left: 20%; right: 4%; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cc-soft), var(--cc));
  opacity: .55;
}
.cc-dot {
  position: absolute; top: -2.5px; left: 22%; width: 5px; height: 5px; border-radius: 50%;
  background: var(--cc); box-shadow: 0 0 6px var(--cc);
  animation: cc-flow-in 2.4s linear infinite;
  animation-delay: var(--t, 0s);
}
.cc-dot + .cc-dot { animation-delay: calc(var(--t, 0s) - 1.2s); }
@keyframes cc-flow-in {
  0% { left: 92%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 22%; opacity: 0; }
}
.cc-node {
  position: absolute; right: 0; top: 0;
  transform: translate(50%, -50%) rotate(calc(var(--a) * -1));
  font-size: 11px; font-weight: 600; color: rgba(0,0,0,.72); white-space: nowrap;
  background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 980px;
  padding: 3px 10px; box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

/* ---- 卡2 结构化录入：自由文字气泡 → 逐行填入的表单 ---- */
.cc-entry { display: flex; align-items: center; gap: 14px; }
.cc-bubble {
  position: relative; width: 108px; padding: 12px 12px 10px;
  background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 14px 14px 14px 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  display: flex; flex-direction: column; gap: 7px;
}
.cc-bubble i {
  display: block; height: 6px; border-radius: 3px; width: var(--w, 70%);
  background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,.08));
  animation: cc-shimmer 4.8s ease-in-out infinite;
}
.cc-bubble i:nth-child(2) { animation-delay: -.9s; }
.cc-bubble i:nth-child(3) { animation-delay: -1.8s; }
@keyframes cc-shimmer { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.cc-arrow {
  font-size: 17px; color: var(--cc); font-weight: 700;
  animation: cc-nudge 4.8s ease-in-out infinite;
}
@keyframes cc-nudge {
  0%, 100% { transform: translateX(0); opacity: .55; }
  12%, 60% { transform: translateX(3px); opacity: 1; }
}
.cc-form {
  width: 128px; padding: 12px;
  background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  display: flex; flex-direction: column; gap: 9px;
}
.cc-field { display: flex; align-items: center; gap: 8px; }
.cc-field label { font-size: 10.5px; color: var(--text-3); width: 22px; flex: none; }
.cc-val {
  flex: 1; height: 7px; border-radius: 4px;
  background: linear-gradient(90deg, var(--cc), var(--cc-soft));
  transform: scaleX(0); transform-origin: left; opacity: 0;
  animation: cc-fill 4.8s ease infinite;
  animation-delay: var(--d, 0s);
}
@keyframes cc-fill {
  0% { transform: scaleX(0); opacity: 0; }
  6% { opacity: 1; }
  16%, 80% { transform: scaleX(1); opacity: 1; }
  90%, 100% { transform: scaleX(1); opacity: 0; }
}

/* ---- 卡3 证照提醒：倒计时到临界变红 → 弹出「已提醒到人」 ---- */
.cc-cert { position: relative; width: 216px; }
.cc-lic {
  background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08); padding: 13px 14px 12px;
}
.cc-lic-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cc-lic-name { font-size: 12.5px; font-weight: 700; color: #1d1d1f; }
.cc-lic-date { font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.cc-lic-bar {
  margin: 9px 0 8px; height: 6px; border-radius: 3px;
  background: rgba(0,0,0,.07); overflow: hidden;
}
.cc-lic-bar i {
  display: block; height: 100%; border-radius: 3px;
  background: var(--cc); transform-origin: left;
  animation: cc-drain 6s linear infinite;
}
@keyframes cc-drain {
  0% { transform: scaleX(1); background: var(--cc); opacity: 0; }
  5% { opacity: 1; }
  42% { transform: scaleX(.5); background: var(--cc); }
  58%, 88% { transform: scaleX(.16); background: #e03e2d; opacity: 1; }
  96%, 100% { transform: scaleX(1); background: var(--cc); opacity: 0; }
}
.cc-lic-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 10.5px; color: var(--text-3); }
.cc-lic-days { position: relative; min-width: 52px; text-align: right; }
.cc-lic-days b { font-weight: 600; white-space: nowrap; }
.cc-d-ok { color: var(--text-2); animation: cc-d-ok 6s linear infinite; }
.cc-d-crit { position: absolute; right: 0; top: 0; color: #e03e2d; opacity: 0; animation: cc-d-crit 6s linear infinite; }
@keyframes cc-d-ok { 0%, 50% { opacity: 1; } 56%, 90% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes cc-d-crit { 0%, 50% { opacity: 0; } 56%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
.cc-toast {
  position: absolute; left: 50%; bottom: -13px; transform: translate(-50%, 0);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 11px; font-weight: 600; color: #1d1d1f;
  background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 980px;
  padding: 5px 12px; box-shadow: 0 8px 22px rgba(0,0,0,.14);
  opacity: 0;
  animation: cc-toast 6s ease infinite;
}
.cc-toast i { width: 7px; height: 7px; border-radius: 50%; background: #34c759; flex: none; }
@keyframes cc-toast {
  0%, 62% { opacity: 0; transform: translate(-50%, 8px) scale(.94); }
  68%, 88% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  94%, 100% { opacity: 0; transform: translate(-50%, -5px) scale(.97); }
}

/* 卡内动效在 reduced-motion 下一律静止，停在各自的可读状态 */
@media (prefers-reduced-motion: reduce) {
  .cc-stage * { animation: none !important; }
  .cc-dot { display: none; }
  .cc-hub::before { display: none; }
  .cc-bubble i { opacity: .8; }
  .cc-arrow { opacity: 1; transform: none; }
  .cc-val { transform: scaleX(1); opacity: 1; }
  .cc-lic-bar i { transform: scaleX(.4); opacity: 1; }
  .cc-d-ok { opacity: 1; }
  .cc-d-crit { display: none; }
  .cc-toast { opacity: 1; transform: translate(-50%, 0); }
}

/* ---------- 资源区（s-resources，rs- 前缀）：手册留资 + AI 测评 ---------- */
.rs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.rs-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 28px 26px; box-shadow: var(--shadow);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s;
}
.rs-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-shot); }
.rs-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.rs-card > p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 22px; }
.rs-btn { align-self: flex-start; }

/* 卡内留资小表单（手册 / 测评共用） */
/* class 规则会盖掉 hidden 属性的 UA display:none，显式补回 */
.rs-lead[hidden], .rs-quiz[hidden], .rs-done[hidden], .rs-result[hidden], .rs-btn[hidden] { display: none; }
.rs-lead { margin-top: 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rs-lead-cap { font-size: 13.5px; font-weight: 600; color: var(--text); }
.rs-lead-row { display: flex; gap: 10px; width: 100%; }
.rs-lead input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--text);
  background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 13px; transition: border-color .2s, box-shadow .2s;
}
.rs-lead input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,.15); }
.rs-lead input.bad { border-color: #d70015; }
.rs-done { margin-top: 4px; }
.rs-done-tip { font-size: 13.5px; color: var(--text-2); margin-bottom: 10px; }

/* 测评：题目与选项 */
.rs-quiz { margin-top: 4px; }
.rs-q-list { list-style: none; margin: 0 0 16px; padding: 0; }
.rs-q { margin-bottom: 14px; }
.rs-q-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.rs-opts { display: flex; flex-direction: column; gap: 6px; }
.rs-opt {
  text-align: left; font: inherit; font-size: 13px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--text-2);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.rs-opt:hover { border-color: var(--accent); color: var(--accent); }
.rs-opt.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 测评结果 */
.rs-result { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 16px; }
.rs-score { font-size: 14px; color: var(--text-2); }
.rs-score b { font-size: 26px; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.rs-tier { font-size: 19px; font-weight: 700; color: #013F6A; margin: 6px 0 8px; }
.rs-advice { font-size: 13.5px; line-height: 1.7; color: var(--text-2); }

/* ---------- 服务者独白（s-person，ps- 前缀） ---------- */
.ps-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 64px; align-items: start; margin-bottom: 60px;
}
.ps-punch {
  font-size: clamp(30px, 4.4vw, 50px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.24;
  color: #013F6A; margin-bottom: 32px;
}
.ps-story { display: flex; flex-direction: column; gap: 18px; max-width: 620px; margin-bottom: 36px; }
.ps-story p { font-size: 16px; color: var(--text-2); line-height: 1.85; }
.ps-side { display: flex; flex-direction: column; gap: 18px; }
.ps-photo { margin: 0; }
.ps-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border-radius: 20px; box-shadow: 0 18px 48px rgba(1,63,106,.14);
}
.ps-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
}
.ps-stat { background: var(--card); padding: 28px 26px; }
.ps-stat b {
  display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700;
  letter-spacing: -.02em; color: #013F6A; margin-bottom: 6px;
}
.ps-stat span { font-size: 13px; color: var(--text-3); }
.ps-path {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  row-gap: 14px;
}
.ps-path li {
  position: relative;
  padding: 6px 15px; border: 1px solid var(--line); border-radius: 980px;
  background: rgba(255,255,255,.7);
  font-size: 13px; color: var(--text-2); white-space: nowrap;
}
.ps-path li:not(:last-child) { margin-right: 30px; }
.ps-path li:not(:last-child)::after {
  content: "→"; position: absolute; right: -24px; top: 50%;
  transform: translateY(-50%); color: var(--text-3);
}
@media (max-width: 900px) {
  .ps-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 44px; }
  .ps-stat { padding: 20px 18px; }
}

/* ---------- 分类幕封 ---------- */
.intro-inner { text-align: left; }
.intro-title {
  font-size: clamp(56px, 10vw, 120px); font-weight: 700;
  letter-spacing: -.04em; line-height: 1.05; margin-bottom: 26px;
  color: var(--cat);
}
.intro-idea {
  font-size: clamp(20px, 3vw, 30px); font-weight: 600;
  letter-spacing: -.01em; margin-bottom: 18px;
}
.intro-sub { font-size: 17px; color: var(--text-2); margin-bottom: 48px; }
.intro-hint { font-size: 14px; color: var(--text-3); }

/* ---------- 产品页（sticky + 徐徐展开） ---------- */
.page.product {
  display: block; height: 300svh;
  scroll-snap-align: start;
}
.product-stage {
  position: sticky; top: 0;
  min-height: 100svh;
  display: flex; align-items: center;
}
.product-inner {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center;
}
.product-inner.flip .product-copy { order: 2; }
.product-inner.flip .product-visual { order: 1; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .22em;
  color: var(--cat); margin-bottom: 14px;
}
.product-copy h2 {
  font-size: clamp(30px, 4vw, 48px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.18; margin-bottom: 14px;
}
.tagline { font-size: 17px; color: var(--text-2); margin-bottom: 30px; }

/* 徐徐展开：data-st 元素默认隐藏，JS 按滚动进度逐个加 .fx-in */
[data-st] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.3,1);
}
[data-st].fx-in { opacity: 1; transform: none; }
.features { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.features li {
  position: relative; padding-left: 30px;
  font-size: 14.5px; color: var(--text-2); line-height: 1.55;
}
.features li[data-st] { transform: translateX(-20px); }
.features li[data-st].fx-in { transform: none; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--cat-soft);
}
.features li::after {
  content: ""; position: absolute; left: 4.5px; top: 6.5px;
  width: 10px; height: 10px;
  background: var(--cat);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 12.5l5 5L19.5 7"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 12.5l5 5L19.5 7"/></svg>') center/contain no-repeat;
}
.features li strong { display: block; font-size: 15.5px; color: var(--text); font-weight: 600; }

.product-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.pill {
  font-size: 12px; font-weight: 500; line-height: 1;
  padding: 5px 10px; border-radius: 980px;
}
.pill-live { color: var(--ok); background: rgba(36,138,61,.1); }
.pill-dev { color: var(--text-3); background: rgba(0,0,0,.06); }

/* ---------- 截图框 ---------- */
.product-visual { position: relative; will-change: transform, opacity; }
.shot {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-shot);
  min-height: 280px;
}
.shot img { display: block; width: 100%; height: auto; }
/* 长截图：限高 + 顶部裁切 */
.shot-tall img { height: min(58vh, 540px); object-fit: cover; object-position: top; }
.shot-browser { border-radius: 14px; padding-top: 30px; }
.shot-browser::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px;
  background: #f6f6f8; border-bottom: 1px solid var(--line); z-index: 2;
}
.shot-browser::after {
  content: ""; position: absolute; top: 11px; left: 14px; z-index: 3;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff5f57;
  box-shadow: 14px 0 0 #febc2e, 28px 0 0 #28c840;
}
.shot-phone {
  border-radius: 34px; border: none;
  background: #141416; padding: 9px;
  min-height: 420px;
}
.shot-phone img { border-radius: 25px; }
.shot-phone.big { max-width: 300px; margin: 0 auto; }

.float-b {
  position: absolute; right: -8%; bottom: -10%;
  width: 46%; z-index: 4;
}
.float-b.small { width: 44%; }
.shot-phone.float-b { width: 37%; min-width: 130px; min-height: 0; }
.product-visual.center { display: flex; justify-content: center; }

.shot-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-3);
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,.02) 14px 28px);
}
.shot-loaded .shot-loading { display: none; }

/* ---------- 开发中 ---------- */
.dev-inner { text-align: center; }
.dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.dev-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.dev-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-shot); }
.dev-card h4 { font-size: 17px; font-weight: 600; margin: 14px 0 8px; }
.dev-card p { font-size: 14px; color: var(--text-2); }
.dev-shot {
  margin: -26px -26px 18px; min-height: 0;
  border: none; border-bottom: 1px solid var(--line);
  border-radius: 15px 15px 0 0; box-shadow: none;
}
.dev-shot img { height: 170px; object-fit: cover; object-position: top; }

/* ---------- 分类结尾 ---------- */
.cat-end { justify-content: flex-start; }
.cat-end-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cat-end-inner h2 {
  font-size: clamp(28px, 3.8vw, 42px); font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 40px;
}
.cat-end-links { display: flex; gap: 16px; flex-wrap: wrap; }
.cat-end-links a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 16px; font-weight: 600;
  transition: transform .3s, box-shadow .3s;
}
.cat-end-links a:hover { transform: translateY(-4px); box-shadow: var(--shadow-shot); }
.cat-end-links a small { font-weight: 400; font-size: 13px; color: var(--text-3); }
.cat-end-back { margin-top: 36px; font-size: 14px; }
.cat-end-back a { color: var(--accent); }
.cat-end-back a:hover { text-decoration: underline; }

/* ---------- 关于 ---------- */
.page-last { justify-content: flex-start; }
.about-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 48px;
  padding-left: 16px; position: relative;
}
.section-title::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px; border-radius: 2px; background: var(--accent); opacity: .8;
}
.how-grid { display: grid; gap: 40px; grid-template-columns: repeat(3, 1fr); margin-bottom: 56px; }
.how-num {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--accent); letter-spacing: .1em; margin-bottom: 12px;
}
.how-item h4 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.how-item p { font-size: 15px; color: var(--text-2); }

.cta-band {
  text-align: center; padding: 44px 32px;
  background: linear-gradient(140deg, rgba(0,113,227,.07), rgba(52,199,190,.07));
  border: 1px solid var(--line); border-radius: 20px;
}
.cta-band h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.cta-sub { font-size: 15px; color: var(--text-2); margin-bottom: 28px; }

/* 机构申请表单 */
.apply-form { max-width: 640px; margin: 0 auto; text-align: left; }
.af-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.af-field label, .af-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-2); margin-bottom: 6px;
}
.af-field label i { color: #d70015; font-style: normal; }
.af-field input, .af-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; transition: border-color .2s, box-shadow .2s;
}
.af-field textarea { resize: vertical; min-height: 76px; }
.af-field input:focus, .af-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,.15);
}
.af-field input.bad { border-color: #d70015; }
.af-full { grid-column: 1 / -1; }
.af-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.af-chip {
  font: inherit; font-size: 13.5px; padding: 7px 14px; border-radius: 980px;
  border: 1px solid var(--line); background: rgba(255,255,255,.7);
  color: var(--text-2); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.af-chip:hover { border-color: rgba(0,0,0,.2); }
.af-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.af-err { font-size: 12.5px; color: #d70015; margin-top: 5px; }
.af-foot { margin-top: 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.af-err-global { margin-top: 0; font-size: 13px; }
#afSubmit.loading { opacity: .55; pointer-events: none; }
.apply-ok { padding: 26px 0 10px; }
.ok-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ok); color: #fff; font-size: 22px; margin-bottom: 14px;
}
.ok-title { font-size: 17px; font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-note { font-size: 13px; color: var(--text-3); }

/* ---------- 普通进场 ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式：移动端退化为普通长页 ---------- */
@media (max-width: 900px) {
  .page-inner { padding: calc(var(--header-h) + 24px) 22px 40px; }
  .page.product { height: auto; min-height: 100svh; display: flex; }
  .product-stage { position: static; min-height: 0; width: 100%; }
  .product-inner { grid-template-columns: 1fr; gap: 44px; }
  .product-inner.flip .product-copy { order: 1; }
  .product-inner.flip .product-visual { order: 2; }
  .float-b { right: 0; bottom: -8%; }
  .portal-grid, .dev-grid, .how-grid, .cases-grid, .rs-grid { grid-template-columns: 1fr; gap: 18px; }
  .portal-title, .dev-title { margin-bottom: 36px; }
  .br-pc { display: none; }
  .hero { text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .hero .btn { font-size: 14px; }
  .cta-band { padding: 32px 20px; }
  .af-grid { grid-template-columns: 1fr; }
  .rs-lead-row { flex-direction: column; }

  /* 移动端不做徐徐展开：全部直接可见 */
  [data-st] { opacity: 1; transform: none; }
  .rl-i { transform: none; transition: none; }
  .product-visual { transform: none !important; opacity: 1 !important; }

  /* 汉堡全屏菜单 */
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 9px;
    background: none; border: none; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; height: auto;
    background: rgba(245,245,247,.96);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-item { display: block; }
  .nav-item > a { display: block; padding: 13px 10px; font-size: 16px; }
  .dropdown {
    position: static; transform: none; opacity: 1; pointer-events: auto;
    box-shadow: none; border: none; background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 0 0 4px 14px; min-width: 0;
  }
  .dropdown a { padding: 9px 10px; font-size: 14px; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-st] { opacity: 1; transform: none; transition: none; }
  .rl-i { transform: none; transition: none; }
  .flip-slot { transition: none; }
  .flip-w { transition: none; }
  .scroll-hint span { animation: none; }
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .page.product { height: auto; }
  .product-stage { position: static; }
}

/* ================= 台阶式产品页：生活护理交接班 =================
   引擎在 css/steps.css（ui-kit steps），这里只做站点集成与组件样式。
   集成点：.page-steps 覆盖 .page 的 flex 居中布局；禁用自身的 scroll-snap
   吸附点（长区段 + 吸附点 = 滚轮陷阱），其余短区保留 proximity。 */
.page-steps { display: block; min-height: 0; scroll-snap-align: none; }
/* 300svh 的 sticky 产品区同样是长区段：oversized snap area 会在区底前 1 屏
   生成隐藏吸附点，和台阶墙的落点（区顶-1屏）打架，一并摘除吸附点 */
.page.product { scroll-snap-align: none; }
.st-pill { margin-left: 10px; vertical-align: 2px; }
.page-steps .st-item .st-body { max-width: 34em; }

/* ---- 组件通用 ---- */
.sj-fill {
  font-weight: 700; color: var(--st-cat);
  border-bottom: 1.5px dashed rgba(46,125,82,.4); padding: 0 2px;
}
.sj-fill.set { border-bottom-color: transparent; }
.sj-fill.pop { animation: sj-pop .38s cubic-bezier(.2,.9,.3,1.35); }
@keyframes sj-pop { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---- L0：记一笔 → 规范文本 联动 ---- */
.sj-demo { width: min(600px, 100%); }
.sj-form {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 20px 16px; box-shadow: var(--shadow);
}
.sj-form-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.sj-form-head b { font-size: 17px; }
.sj-form-head span { font-size: 12px; color: var(--text-3); }
.sj-field { margin-top: 10px; }
.sj-field label { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.sj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sj-chips button {
  font-family: inherit; font-size: 14px; color: var(--text-2);
  background: #fff; border: 1px solid rgba(0,0,0,.14); border-radius: 980px;
  padding: 8px 16px; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.sj-chips button:hover { border-color: rgba(0,0,0,.3); }
.sj-chips button.on {
  background: var(--st-cat); border-color: var(--st-cat); color: #fff;
  font-weight: 600; transform: scale(1.05);
}
.sj-times { margin-top: 12px; display: flex; gap: 8px; }
.sj-times span {
  font-size: 12.5px; color: var(--text-2);
  background: rgba(0,0,0,.05); border-radius: 8px; padding: 4px 10px;
}
.sj-flow-arrow { text-align: center; color: var(--st-cat); font-size: 18px; margin: 8px 0; font-weight: 700; }
.sj-output {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--st-cat);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
}
.sj-output-head { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; color: var(--text-3); margin-bottom: 6px; }
.sj-output p { font-size: 15.5px; line-height: 1.85; }

/* ---- 01：chips 点选实演 ---- */
.sj-chips-demo { width: min(640px, 100%); text-align: center; }
.sj-demo-title { font-size: 21px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 26px; }
.sj-demo-group { margin-bottom: 24px; }
.sj-demo-group label { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.sj-big { justify-content: center; gap: 12px; }
.sj-big button {
  min-height: 56px; font-size: 17px; padding: 13px 26px; border-radius: 16px;
  border-width: 1.5px;
}
.sj-other-input {
  font-family: inherit; font-size: 16px; width: 0; opacity: 0; padding: 0;
  border: 1.5px solid rgba(0,0,0,.14); border-radius: 16px;
  transition: width .3s cubic-bezier(.2,.7,.3,1), opacity .25s, padding .3s;
}
.sj-other-input.show { width: 150px; opacity: 1; padding: 0 16px; min-height: 56px; }
.sj-demo-note { font-size: 13px; color: var(--text-3); }

/* ---- 02：一键汇总 逐行生长 ---- */
.sj-sum {
  width: min(660px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-shot); padding: 24px 30px 20px;
}
.sj-sum-head { font-size: 16px; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sj-sum > p { font-size: 14px; line-height: 1.8; color: var(--text-2); margin-top: 12px; }
.sj-sum > p b { color: var(--text); }
.sj-gap { height: 6px; margin: 0 !important; }
.sj-catno {
  display: inline-block; font-style: normal; font-size: 11px; font-weight: 700;
  color: #fff; background: var(--st-cat); border-radius: 6px;
  padding: 1px 6px; margin-right: 8px; vertical-align: 2px;
}
.sj-sum-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); text-align: right; font-weight: 600; font-size: 14.5px; }
.sj-sum-note { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.sj-grow { transform-origin: top center; }
.st-steps:not(.st-static) .sj-grow { opacity: 0; transform: translateY(12px) scale(.98); }
.st-steps:not(.st-static) .st-comp.active .sj-grow { animation: sj-grow-in .5s cubic-bezier(.2,.7,.3,1) both; }
/* .sj-sum 直接子级序：1 文首 2 记录⑤ 3 空行 4 记录⑦ 5 记录⑨ 6 落款 7 规则注 */
.st-steps:not(.st-static) .st-comp.active .sj-grow:nth-child(1) { animation-delay: .05s; }
.st-steps:not(.st-static) .st-comp.active .sj-grow:nth-child(2) { animation-delay: .25s; }
.st-steps:not(.st-static) .st-comp.active .sj-grow:nth-child(4) { animation-delay: .5s; }
.st-steps:not(.st-static) .st-comp.active .sj-grow:nth-child(5) { animation-delay: .72s; }
.st-steps:not(.st-static) .st-comp.active .sj-grow:nth-child(6) { animation-delay: .95s; }
.st-steps:not(.st-static) .st-comp.active .sj-grow:nth-child(7) { animation-delay: 1.12s; }
@keyframes sj-grow-in { to { opacity: 1; transform: none; } }

/* ---- 03：智能提醒卡片 ---- */
.sj-alerts { width: min(580px, 100%); }
.sj-alert {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.sj-alert b { font-size: 15px; }
.sj-alert p { font-size: 13.5px; color: var(--text-2); margin-top: 2px; }
.sj-badge {
  flex: none; font-size: 12px; font-weight: 700; color: #fff;
  border-radius: 8px; padding: 6px 10px; white-space: nowrap;
}
.sj-b-blue { background: #0071e3; }
.sj-b-green { background: var(--st-cat); }
.sj-b-gray { background: #8e8e93; }
.sj-b-orange { background: #c75b12; }
.st-steps:not(.st-static) .sj-alert { opacity: 0; transform: translateY(18px) scale(.94); }
.st-steps:not(.st-static) .st-comp.active .sj-alert {
  animation: sj-alert-in .48s cubic-bezier(.2,.9,.3,1.35) both;
}
.st-steps:not(.st-static) .st-comp.active .sj-alert:nth-child(1) { animation-delay: .08s; }
.st-steps:not(.st-static) .st-comp.active .sj-alert:nth-child(2) { animation-delay: .3s; }
.st-steps:not(.st-static) .st-comp.active .sj-alert:nth-child(3) { animation-delay: .52s; }
.st-steps:not(.st-static) .st-comp.active .sj-alert:nth-child(4) { animation-delay: .74s; }
@keyframes sj-alert-in { to { opacity: 1; transform: none; } }

/* ---- 04：适老设计 双 iPhone ---- */
.sj-phones { display: flex; align-items: flex-end; gap: 44px; }
.sj-phone { text-align: center; }
.sj-phone-frame {
  width: 172px; height: 347px; /* iphone-x 外框 427×864 × scale(.4) */
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.25));
}
.sj-phone-frame .marvel-device { transform: scale(.4); transform-origin: top left; }
.sj-phone-frame .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sj-phone-b { margin-bottom: 34px; }
.sj-cap {
  display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600;
  color: var(--st-cat); background: #fff; border: 1px solid var(--line);
  border-radius: 980px; padding: 7px 14px; box-shadow: var(--shadow); white-space: nowrap;
}
.st-steps:not(.st-static) .sj-phone { opacity: 0; transform: translateY(26px); }
.st-steps:not(.st-static) .st-comp.active .sj-phone { animation: sj-phone-in .5s cubic-bezier(.2,.9,.25,1) both; }
.st-steps:not(.st-static) .st-comp.active .sj-phone-b { animation-delay: .15s; }
@keyframes sj-phone-in { to { opacity: 1; transform: none; } }

/* ---- 05：管理端（纯 CSS Safari 窗口） ---- */
.sj-admin {
  width: min(690px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-shot); overflow: hidden;
}
.sj-admin-bar {
  height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px;
  background: #f6f6f8; border-bottom: 1px solid var(--line);
}
.sj-admin-bar i { width: 10px; height: 10px; border-radius: 50%; }
.sj-admin-bar i:nth-child(1) { background: #ff5f57; }
.sj-admin-bar i:nth-child(2) { background: #febc2e; }
.sj-admin-bar i:nth-child(3) { background: #28c840; }
.sj-admin-bar span {
  margin-left: 12px; font-size: 12px; color: var(--text-3);
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 14px;
}
.sj-admin-body { display: grid; grid-template-columns: 128px 1fr; }
.sj-admin-nav { background: #fafafc; border-right: 1px solid var(--line); padding: 12px 0; }
.sj-admin-nav span { display: block; font-size: 13px; color: var(--text-2); padding: 8px 16px; }
.sj-admin-nav span.on { color: var(--st-cat); font-weight: 600; background: var(--st-cat-soft); box-shadow: inset 2.5px 0 0 var(--st-cat); }
.sj-admin-main { padding: 10px 16px 12px; }
.sj-glos { display: flex; align-items: baseline; gap: 10px; padding: 6.5px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.sj-glos:last-child { border-bottom: none; }
.sj-glos b { flex: none; width: 62px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.sj-glos div { display: flex; flex-wrap: wrap; gap: 6px; }
.sj-glos i { font-style: normal; font-size: 12px; color: var(--text-2); background: #f0f2f5; border-radius: 6px; padding: 3px 9px; }
.sj-glos i.add { color: var(--st-cat); background: var(--st-cat-soft); font-weight: 700; }
.st-steps:not(.st-static) .sj-glos { opacity: 0; transform: translateX(14px); }
.st-steps:not(.st-static) .st-comp.active .sj-glos { animation: sj-glos-in .4s ease-out both; }
.st-steps:not(.st-static) .st-comp.active .sj-glos:nth-child(1) { animation-delay: .05s; }
.st-steps:not(.st-static) .st-comp.active .sj-glos:nth-child(2) { animation-delay: .13s; }
.st-steps:not(.st-static) .st-comp.active .sj-glos:nth-child(3) { animation-delay: .21s; }
.st-steps:not(.st-static) .st-comp.active .sj-glos:nth-child(4) { animation-delay: .29s; }
.st-steps:not(.st-static) .st-comp.active .sj-glos:nth-child(5) { animation-delay: .37s; }
.st-steps:not(.st-static) .st-comp.active .sj-glos:nth-child(6) { animation-delay: .45s; }
.st-steps:not(.st-static) .st-comp.active .sj-glos:nth-child(7) { animation-delay: .53s; }
.st-steps:not(.st-static) .st-comp.active .sj-glos:nth-child(8) { animation-delay: .61s; }
@keyframes sj-glos-in { to { opacity: 1; transform: none; } }

/* ---------- 台阶页移动端退化：普通长页（≤900px，组件已插入条目后） ---------- */
@media (max-width: 900px) {
  .page-steps .st-anchor { display: none; }
  .page-steps .st-stage {
    position: static; height: auto; display: block; max-width: 100%;
    padding: calc(var(--header-h) + 20px) 22px 24px;
  }
  .page-steps .st-list { padding-left: 0; }
  .page-steps .st-bar { display: none; }
  .page-steps .st-booth { display: none; }
  .page-steps .st-item { cursor: default; padding: 30px 0 0; }
  .page-steps .st-item .st-title { color: var(--text); font-size: 21px; }
  .page-steps .st-item .st-body { max-height: none; opacity: 1; margin-top: 8px; }
  .page-steps .st-comp {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    padding: 18px 0 6px; display: block;
  }
  .sj-phones { gap: 12px; align-items: flex-start; }
  .sj-phone-b { margin-bottom: 0; margin-top: 22px; }
  .sj-phone-frame { width: 137px; height: 277px; }
  .sj-phone-frame .marvel-device { transform: scale(.32); }
  .sj-cap { white-space: normal; font-size: 12px; }
  .sj-admin-body { grid-template-columns: 1fr; }
  .sj-admin-nav { display: flex; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--line); padding: 8px; }
  .sj-admin-nav span { padding: 6px 10px; }
  .sj-big button { min-height: 48px; font-size: 15px; padding: 10px 18px; }
}
