:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1a1c20;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2f6bff;
  --accent-2: #1d4ed8;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171b;
    --card: #1f2227;
    --text: #e8eaee;
    --muted: #9aa3b2;
    --border: #2c3038;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Microsoft YaHei", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 20px 56px;
}

.hero { text-align: center; margin-bottom: 44px; }

.mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 34px;
  line-height: 72px;
  box-shadow: 0 6px 18px rgba(47, 107, 255, .28);
}

.wordmark {
  margin: 0;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: .14em;
  text-indent: .14em;
}

.subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: .02em;
}

.lede {
  margin: 18px auto 0;
  max-width: 30em;
  color: var(--text);
}

.actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
}

.btn-primary:hover { opacity: .94; }

.btn-sub { font-size: 13px; opacity: .72; font-weight: 400; }

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.version {
  margin: 14px 0 0;
  min-height: 1.4em;
  color: var(--muted);
  font-size: 13px;
}

.note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
}

.card p { margin: 0; }

.card strong { font-weight: 600; }

.steps {
  margin: 0;
  padding-left: 1.3em;
}

.steps li { margin: 2px 0; }

.foot {
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .06em;
}

@media (max-width: 420px) {
  .wrap { padding: 44px 16px 40px; }
  .wordmark { font-size: 28px; }
  .actions { flex-direction: column; }
  .btn { justify-content: center; }
  .card { padding: 18px 18px; }
}

/* A download whose build does not exist yet: visible, but clearly not clickable. */
.btn-disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* feature list on the landing page */
.card h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.card h3:first-of-type { margin-top: 0; }

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(47, 107, 255, .12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  vertical-align: 2px;
  letter-spacing: 0;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.features .ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.features b {
  display: block;
  font-weight: 600;
  line-height: 1.5;
}

.features .d {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
}

/* ================================================================ 首页（index.html，<html class="home">）
   只在首页生效；分享落地页 e.html、隐私政策沿用上面那套。配色、圆角、按钮都照着软件本身：
   浅灰侧栏、白底主区、黑色主按钮、灰色小药丸、蓝紫渐变的 ⚡ 标。 */
.home {
  --fg: var(--text);
  --line: var(--border);
  --ink-2: #3b4250;
  --sidebar: #f7f7f8;
  --bubble: #f1f2f4;
  --hover: rgba(15, 18, 25, .045);
  --press: rgba(15, 18, 25, .075);
  --violet: #7c3aed;
  --ok: #16a34a;
  --danger: #dc2626;
  --btn-bg: #1a1c20;
  --btn-fg: #ffffff;
  --tint: rgba(47, 107, 255, .06);
  --tint-2: rgba(47, 107, 255, .12);
  --lift: 0 30px 70px -30px rgba(16, 24, 40, .35), 0 14px 30px -18px rgba(16, 24, 40, .16);
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
@media (prefers-color-scheme: dark) {
  .home {
    --ink-2: #c3c9d4;
    --sidebar: #191b1f;
    --bubble: #2b2e35;
    --hover: rgba(255, 255, 255, .055);
    --press: rgba(255, 255, 255, .09);
    --btn-bg: #f2f3f5;
    --btn-fg: #15171b;
    --tint: rgba(96, 140, 255, .08);
    --tint-2: rgba(96, 140, 255, .18);
    --lift: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 14px 30px -18px rgba(0, 0, 0, .5);
  }
}
@media (prefers-reduced-motion: reduce) { .home { scroll-behavior: auto; } }

.h-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* 按钮：跟软件一样，主按钮是黑的 */
.home .btn { align-items: center; border-radius: 10px; }
.home .btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; }
.home .btn-primary:hover { opacity: .9; }
.btn .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ⚡ 标：软件侧栏和空白页上那个 */
.h-mark, .app-brand .mark, .app-empty .mark, .net-node .mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  color: #fff;
  margin: 0;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  box-shadow: 0 8px 22px -6px color-mix(in srgb, var(--accent) 55%, transparent);
}
.h-mark { width: 32px; height: 32px; border-radius: 10px; font-size: 17px; }
/* logo 用 App 图标本身（跟电脑、iPhone 上一张），不再画渐变底 + 闪电。 */
img.h-mark, .app-brand img.mark, .app-empty img.mark { display: block; background: none; object-fit: cover; }

/* ---- 顶栏 */
.h-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.h-nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(16, 24, 40, .4); }
.h-nav .h-wrap { display: flex; align-items: center; gap: 28px; height: 62px; }
.h-brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.h-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.h-brand-text b { font-size: 14.5px; font-weight: 700; letter-spacing: .12em; }
.h-brand-text small { color: var(--muted); font-size: 11.5px; }
.h-links { display: flex; gap: 6px; margin-left: auto; }
.h-links a { padding: 6px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; transition: color .15s ease, background .15s ease; }
.h-links a:hover { color: var(--fg); background: var(--hover); }
.h-links a.on { color: var(--fg); background: var(--press); }
.h-nav .h-nav-cta { padding: 7px 16px; font-size: 14px; }

/* ---- 首屏 */
.h-hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 40px; }
.h-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 34% at 50% 0%, rgba(124, 58, 237, .10), transparent 70%),
    radial-gradient(46% 40% at 82% 30%, var(--tint-2), transparent 72%),
    radial-gradient(40% 40% at 12% 34%, var(--tint), transparent 72%);
}
.h-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--fg) 9%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 46% at 50% 22%, #000, transparent 75%);
  mask-image: radial-gradient(60% 46% at 50% 22%, #000, transparent 75%);
}
.h-hero-text { max-width: 780px; margin: 0 auto; text-align: center; }
.h-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 5px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink-2);
  font-size: 13px;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.h-pill:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.h-pill .new { padding: 1px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff; font-size: 12px; font-weight: 600; }
.h-title { margin: 22px 0 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.16; font-weight: 760; letter-spacing: -.02em; }
.h-title .pain { display: block; margin-bottom: 14px; color: var(--muted); font-size: clamp(17px, 1.9vw, 22px); font-weight: 600; letter-spacing: 0; }
.h-title .hl {
  white-space: nowrap;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-lede { max-width: 36em; margin: 20px auto 0; color: var(--ink-2); font-size: 17px; line-height: 1.8; }
.h-lede-center { text-align: center; }
/* 灰色副标：第一句说它是谁（深一点），后面说能给你什么。 */
/* 大字里的全角逗号：只占半个字宽（逗号本来就画在格子左下角，右半是空的），不然中间空一大块。
   不靠字体的 halt 特性——Windows 的微软雅黑没有，这样哪儿都一样。 */
.h-title .pt { display: inline-block; width: .5em; }
/* 灰色副标：第一句说它是谁，单独一行；标点按苹果中文站的做法挤压（支持的浏览器、字体生效，不支持就照旧）。 */
.h-sub {
  max-width: 36em;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 0;
  font-feature-settings: "halt" 1;
  text-spacing-trim: trim-all;
  text-wrap: balance;
}
.h-sub strong { color: var(--ink-2); font-weight: 650; }
/* 一个短句一个整体：窄屏上只在逗号后面换行，不把「壁垒」拆成两半。 */
.h-sub .c { white-space: nowrap; }
.h-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.h-actions .btn { padding: 13px 22px; font-size: 15px; }
.h-actions .btn-primary { box-shadow: 0 14px 30px -14px rgba(16, 24, 40, .6); }
.h-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.h-meta .version { margin: 0; min-height: 0; font-size: inherit; }
.h-meta .version:empty { display: none; }
.h-meta a { color: var(--accent); text-decoration: none; }
.h-meta a:hover { text-decoration: underline; }

/* ---- 演示：照着软件画的窗口 */
.demo { margin: 52px auto 0; max-width: 1040px; }
.demo-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 4px;
  gap: 4px;
  border-radius: 12px;
  background: var(--press);
}
.demo-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.demo-tabs button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo-tabs button:hover { color: var(--fg); }
.demo-tabs button[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); font-weight: 600; }
.demo-note { margin: 14px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }

.app {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  /* 行高定死在窗口高度：不然内容一多整列跟着长高、被窗口裁掉，对话区就滚不动了。 */
  grid-template-rows: minmax(0, 1fr);
  height: 580px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--lift);
  color: var(--fg);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}
.app svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-side { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 10px 12px; background: var(--sidebar); border-right: 1px solid var(--line); }
.app-lights { display: flex; gap: 7px; margin: 4px 0 12px 6px; }
.app-lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.app-lights i:nth-child(2) { background: #febc2e; }
.app-lights i:nth-child(3) { background: #28c840; }
.app-brand { display: flex; align-items: center; gap: 9px; margin: 0 4px 10px; }
.app-brand .mark { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
.app-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.app-brand b { font-size: 13px; letter-spacing: .1em; }
.app-brand small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.app-item { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; color: var(--fg); white-space: nowrap; }
.app-new.on { background: var(--press); font-weight: 500; }
.app-search { display: flex; align-items: center; gap: 8px; height: 32px; margin: 4px 0 6px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--muted); }
.app-label { margin: 10px 10px 4px; color: var(--muted); font-size: 12px; }
.app-expert { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 8px; transition: background .2s ease; }
.app-expert.on { background: var(--press); }
.app-expert img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.app-expert span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.app-expert small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-proj { color: var(--fg); font-weight: 500; }
.app-thread { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px 0 32px; border-radius: 8px; color: var(--fg); }
.app-thread .t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-thread .s { flex: none; color: var(--muted); font-size: 11.5px; }
.app-thread.on { background: var(--press); }
.app-thread .spin { display: inline-block; vertical-align: -1px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--muted) 35%, transparent); border-top-color: var(--fg); animation: spin .8s linear infinite; }
.app-thread .badge { display: inline-block; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #f59e0b; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 16px; text-align: center; }
.app-thread[hidden] { display: none; }
.app-net { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 9px 11px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.app-net i, .net-card i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); animation: pulse 2.4s ease-in-out infinite; }
.app-net span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.app-net small { color: var(--muted); font-size: 11px; white-space: nowrap; }

.app-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 18px; flex: none; }
.app-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.app-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 12.5px; white-space: nowrap; transition: color .3s ease, border-color .3s ease; }
.app-pill.ready { color: var(--fg); border-color: color-mix(in srgb, var(--fg) 25%, var(--line)); }

.app-chat { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; padding: 6px 40px 14px; }
.app-chat > * { flex: none; }
.app-empty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 420px; text-align: center; }
.app-empty .mark { width: 50px; height: 50px; border-radius: 15px; font-size: 25px; margin-bottom: 6px; }
.app-empty b { font-size: 21px; }
.app-empty small { color: var(--muted); font-size: 12.5px; line-height: 1.7; }

.c-date { align-self: center; color: var(--muted); font-size: 11.5px; }
.c-user { align-self: flex-end; max-width: 78%; padding: 8px 14px; border-radius: 18px; background: var(--bubble); }
.c-with { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; margin-bottom: -6px; color: var(--muted); font-size: 11.5px; }
.c-with img { width: 16px; height: 16px; border-radius: 50%; }
.c-work { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.c-work .dots { display: inline-flex; gap: 3px; }
.c-work .dots i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 70%, var(--muted)); animation: blink 1.2s ease-in-out infinite; }
.c-work .dots i:nth-child(2) { animation-delay: .15s; }
.c-work .dots i:nth-child(3) { animation-delay: .3s; }
.c-work button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.c-work button:hover { color: var(--fg); }
.c-steps { display: flex; flex-direction: column; gap: 3px; margin-top: -6px; }
.c-steps[hidden] { display: none; }
.c-step { display: flex; align-items: baseline; gap: 6px; color: var(--muted); }
.c-step b { color: var(--fg); font-weight: 600; flex: none; }
.c-step .st { width: 13px; height: 13px; align-self: center; flex: none; }
.c-step .st.run { border-radius: 50%; border: 2px solid color-mix(in srgb, var(--muted) 35%, transparent); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.c-step .st.done { color: var(--ok); }
.c-step .st svg { width: 13px; height: 13px; stroke-width: 2.6; }
.app-empty[hidden] { display: none; }
.c-ask { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 8px 24px -14px rgba(16, 24, 40, .3); }
.c-ask .q { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 13.5px; }
.c-ask .q i { width: 24px; height: 24px; display: grid; place-items: center; flex: none; border-radius: 7px; background: #fde9d9; font-style: normal; font-size: 13px; }
.c-ask .why { margin: 0; color: var(--ink-2); font-size: 12.5px; }
.c-ask .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.c-ask .acts button { padding: 6px 13px; border: 0; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: transform .12s ease, filter .12s ease; }
.c-ask .acts button:active, .c-ask .acts button.pressed { transform: scale(.95); filter: brightness(.9); }
.c-ask .ok { background: var(--btn-bg); color: var(--btn-fg); }
.c-ask .always { background: var(--press); color: var(--fg); }
.c-ask .no { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); }
.c-ask.answered { opacity: .55; pointer-events: none; }
.c-reply { margin: 0; line-height: 1.75; }
.c-reply b { font-weight: 650; }
.c-reply .cursor { display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--fg); animation: caret 1s step-end infinite; }
.c-file { display: inline-flex; align-items: center; gap: 9px; width: max-content; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.c-file .x { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: #16a34a; color: #fff; font-size: 11px; font-weight: 700; }
.c-file small { color: var(--muted); }
.c-img { width: min(100%, 300px); border-radius: 10px; border: 1px solid var(--line); display: block; }
.c-usage { display: flex; gap: 14px; color: var(--muted); font-size: 11.5px; }
.c-usage b { color: var(--fg); font-weight: 600; }
.c-in { animation: c-in .35s cubic-bezier(.2, .7, .2, 1) both; }

/* 演示里照软件画的几样：附件缩略图、步骤里的截图和渲染进度、浏览器画中画、交付物卡片、标题栏「产出」 */
.app-head-acts { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.app-pill[hidden] { display: none; }
.app-out { position: relative; color: var(--fg); }
.app-out b { font-weight: 600; }
.app-out i { position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--card); }

.c-atts { align-self: flex-end; display: flex; gap: 6px; margin-bottom: -4px; }
.c-atts img { width: 112px; height: 75px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.c-step { min-width: 0; }
.c-step .d { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.c-shot, .c-rend { margin: 4px 0 6px 19px; width: min(calc(100% - 19px), 340px); display: flex; flex-direction: column; gap: 5px; }
.c-shot img, .c-rend .frame { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: 9px; border: 1px solid var(--line); object-fit: cover; }
.c-ask .cmd.more pre { font-family: inherit; font-size: 12px; line-height: 1.6; }
.c-ask .auto { margin: -2px 0 0; color: var(--muted); font-size: 11px; }
.c-shot figcaption, .c-rend figcaption { color: var(--muted); font-size: 11.5px; }
.c-rend figcaption b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.c-rend .frame { position: relative; overflow: hidden; background: #2a2a2a; }
.c-rend img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .15s linear; }
/* 白模两个机位并排 */
.c-shot .imgs { display: grid; gap: 6px; }
/* 生成中先糊后清楚：模糊别溢出圆角框 */
.c-shot img { clip-path: inset(0 round 9px); }
.c-shot.two { width: min(calc(100% - 19px), 460px); }
.c-shot.two .imgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.c-ask .cmd summary { color: var(--muted); font-size: 12px; cursor: pointer; }
.c-ask .cmd pre { margin: 6px 0 0; padding: 7px 9px; border-radius: 8px; background: var(--bubble); font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; }

/* 交付物：图片两张一排、表格缩略图、文件夹、文件 */
.c-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(100%, 560px); }
.c-pic { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.c-pic img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.c-pic figcaption { display: flex; flex-direction: column; padding: 7px 10px 8px; line-height: 1.35; }
.c-pic b { font-size: 12.5px; font-weight: 600; }
.c-pic small { color: var(--muted); font-size: 11px; }
.c-file .x svg { width: 15px; height: 15px; stroke: #fff; }
.c-file.blend .x { background: #e8710a; }
.c-file.md .x { background: #475569; }
.c-file.xls .x { background: #16a34a; }
.c-folder { display: flex; flex-direction: column; gap: 8px; width: min(100%, 380px); padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.c-folder .top { display: flex; align-items: center; gap: 10px; line-height: 1.35; }
.c-folder .ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, #3b82f6 14%, var(--card)); color: #2563eb; }
.c-folder .ico svg { width: 17px; height: 17px; }
.c-folder small { color: var(--muted); }
.c-folder .subs { display: flex; flex-wrap: wrap; gap: 6px; }
.c-folder .subs i { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; background: var(--bubble); font-size: 11.5px; font-style: normal; }
.c-folder .subs i svg { width: 12px; height: 12px; color: #2563eb; }
.c-folder .subs .xl { width: 13px; height: 13px; display: inline-grid; place-items: center; border-radius: 3px; background: #16a34a; color: #fff; font-size: 8px; font-style: normal; font-weight: 700; }
/* 表格缩略图：跟快速查看出来的一样，白底网格，标黄的行、合计行。 */
.c-sheet { width: min(100%, 460px); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.c-sheet .grid { padding: 8px 8px 6px; border-bottom: 1px solid var(--line); background: #fff; }
.c-sheet table { width: 100%; border-collapse: collapse; color: #1f2937; font-size: 10.5px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.c-sheet th { padding: 2px 6px; border: 1px solid #d5ddd8; background: #e8f2ec; color: #14532d; font-weight: 600; text-align: left; }
.c-sheet td { padding: 1px 6px; border: 1px solid #e3e6ea; white-space: nowrap; }
.c-sheet .n { text-align: right; }
.c-sheet tr.warn td { background: #fef3c7; }
.c-sheet tr.sum td { background: #f3f4f6; font-weight: 700; }
.c-sheet .cap { display: flex; align-items: center; gap: 9px; padding: 7px 10px; line-height: 1.35; }
.c-sheet .cap .x { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 6px; background: #16a34a; color: #fff; font-size: 11px; font-weight: 700; }
.c-sheet .cap small { color: var(--muted); }

/* 浏览器画中画：助手在网页上操作时跟着看。光标移到要点的地方点一下，表格、合计、下载提示跟着变。 */
.c-pip { margin: 4px 0 6px 19px; width: min(calc(100% - 19px), 470px); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 10px 28px -16px rgba(16, 24, 40, .35); }
.pip-bar { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-bottom: 1px solid var(--line); background: var(--bubble); color: var(--muted); font-size: 11px; }
.pip-live { display: inline-flex; align-items: center; gap: 5px; color: var(--fg); font-weight: 600; white-space: nowrap; }
.pip-live i { width: 6px; height: 6px; border-radius: 50%; background: #ef4444; animation: blink 1.4s ease-in-out infinite; }
.pip-url { display: inline-flex; align-items: center; gap: 4px; flex: 1; min-width: 0; padding: 1px 8px; border-radius: 6px; background: var(--card); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app .pip-url svg { width: 10px; height: 10px; }
.pip-page { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: 208px; background: #fff; color: #1f2937; font-size: 10px; line-height: 1.4; }
.pip-side { display: flex; flex-direction: column; gap: 2px; padding: 8px 6px; background: #1e293b; color: #cbd5e1; }
.pip-side b { margin: 0 4px 6px; color: #fff; font-size: 10.5px; }
.pip-side i { padding: 3px 6px; border-radius: 4px; font-style: normal; white-space: nowrap; }
.pip-side i.on { background: #2f6bff; color: #fff; }
.pip-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px 10px; }
.pip-h { font-size: 11.5px; font-weight: 700; }
.pip-filter { display: flex; align-items: center; gap: 5px; }
.pip-lab { color: #6b7280; white-space: nowrap; }
.pip-dash { color: #9ca3af; }
.pip-in { display: inline-flex; align-items: center; width: 52px; height: 18px; padding: 0 5px; border: 1px solid #d1d5db; border-radius: 4px; transition: border-color .2s ease, box-shadow .2s ease; }
.pip-in em { color: #9ca3af; font-style: normal; white-space: nowrap; }
.pip-in b { display: none; font-weight: 500; }
.pip-btn { padding: 2px 8px; border: 1px solid #d1d5db; border-radius: 4px; background: #fff; white-space: nowrap; }
.pip-btn.q { border-color: #2f6bff; background: #2f6bff; color: #fff; }
.pip-btn.x { margin-left: auto; }
.pip-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pip-table th { padding: 3px 4px; background: #f3f4f6; color: #6b7280; font-weight: 600; text-align: left; white-space: nowrap; }
.pip-table td { padding: 2px 4px; border-bottom: 1px solid #f1f2f4; white-space: nowrap; }
.pip-table .n { text-align: right; }
.pip-table .pip-tag { padding: 0 4px; border-radius: 3px; background: #ecfdf5; color: #047857; font-size: 9.5px; }
.pip-table .pip-tag.amber { background: #fffbeb; color: #b45309; }
.pip-table .pip-tag.red { background: #fef2f2; color: #b91c1c; }
.pip-table tbody.week { display: none; }
.pip-foot { margin-top: auto; color: #6b7280; }
.pip-foot b { color: #1f2937; }
.pip-foot b.week { display: none; }
.pip-cursor { position: absolute; left: 72%; top: 78%; width: 14px; height: 14px; border: 2px solid #2f6bff; border-radius: 50%; background: rgba(47, 107, 255, .25); opacity: 0; transform: translate(-50%, -50%); transition: left .5s cubic-bezier(.3, .7, .2, 1), top .5s cubic-bezier(.3, .7, .2, 1), opacity .2s ease; pointer-events: none; }
.pip-cursor.click { animation: pip-click .5s ease-out; }
.pip-toast { position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; border-radius: 6px; background: #111827; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.pip-load { position: absolute; inset: 0; display: none; overflow: hidden; background: #fff; }
.pip-load i { position: absolute; top: 0; left: -40%; width: 40%; height: 2px; background: #2f6bff; animation: pip-load 1s ease-in-out infinite; }
.c-pip[data-state="load"] .pip-load { display: block; }
.c-pip[data-state="date"] .pip-cursor, .c-pip[data-state="query"] .pip-cursor, .c-pip[data-state="export"] .pip-cursor { opacity: 1; }
.c-pip[data-state="date"] .pip-in, .c-pip[data-state="query"] .pip-in, .c-pip[data-state="export"] .pip-in { border-color: #93b4ff; }
.c-pip[data-state="date"] .pip-in { box-shadow: 0 0 0 2px rgba(47, 107, 255, .18); }
.c-pip[data-state="date"] .pip-in em, .c-pip[data-state="query"] .pip-in em, .c-pip[data-state="export"] .pip-in em { display: none; }
.c-pip[data-state="date"] .pip-in b, .c-pip[data-state="query"] .pip-in b, .c-pip[data-state="export"] .pip-in b { display: inline; }
.c-pip[data-state="query"] tbody.all, .c-pip[data-state="export"] tbody.all { display: none; }
.c-pip[data-state="query"] tbody.week, .c-pip[data-state="export"] tbody.week { display: table-row-group; }
.c-pip[data-state="query"] .pip-foot b.all, .c-pip[data-state="export"] .pip-foot b.all { display: none; }
.c-pip[data-state="query"] .pip-foot b.week, .c-pip[data-state="export"] .pip-foot b.week { display: inline; }
.c-pip[data-state="export"] .pip-toast { opacity: 1; transform: none; }
@keyframes pip-click { from { box-shadow: 0 0 0 0 rgba(47, 107, 255, .55); } to { box-shadow: 0 0 0 12px rgba(47, 107, 255, 0); } }
@keyframes pip-load { to { left: 100%; } }
/* 聊天画中画（回询盘）：左边会话列表、右边对话；通用样式，不仿任何一家的 logo 和配色。 */
.c-pip.chat .pip-page { grid-template-columns: 150px minmax(0, 1fr); height: 196px; }
.wa-list { display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid #eceef1; background: #fff; }
.wa-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 6px 7px; border-bottom: 1px solid #f3f4f6; transition: background .2s ease; }
.wa-row .av, .wa-head .av { width: 22px; height: 22px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; }
.av.c1 { background: #f59e0b; }
.av.c2 { background: #8b5cf6; }
.av.c3 { background: #0ea5e9; }
.av.c4 { background: #64748b; }
.av.c5 { background: #ec4899; }
.wa-row .t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.wa-row .t b { overflow: hidden; font-size: 10px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.wa-row .t small { overflow: hidden; color: #6b7280; font-size: 9.5px; white-space: nowrap; text-overflow: ellipsis; }
.wa-row .m { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.wa-row .m small { color: #9ca3af; font-size: 8.5px; }
.wa-row .m i { min-width: 14px; height: 14px; padding: 0 4px; border-radius: 999px; background: #2f6bff; color: #fff; font-size: 8.5px; font-style: normal; font-weight: 700; line-height: 14px; text-align: center; }
.wa-chat { position: relative; display: flex; flex-direction: column; min-width: 0; background: #f6f7f9; }
.wa-empty { margin: auto; color: #9ca3af; }
.wa-head, .wa-msgs, .wa-input { display: none; }
.wa-head { align-items: center; gap: 7px; height: 30px; flex: none; padding: 0 9px; border-bottom: 1px solid #eceef1; background: #fff; }
.wa-head span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.wa-head small { color: #16a34a; font-size: 8.5px; }
.wa-msgs { flex: 1; min-height: 0; flex-direction: column; justify-content: flex-end; gap: 5px; overflow: hidden; padding: 7px 9px; }
.wa-msgs p { max-width: 90%; margin: 0; padding: 5px 8px 4px; border-radius: 8px; font-size: 9.5px; line-height: 1.4; }
.wa-msgs p small { display: block; margin-top: 2px; color: #9ca3af; font-size: 8px; text-align: right; }
.wa-msgs .in { align-self: flex-start; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.wa-msgs .out { display: none; align-self: flex-end; background: #dbe7ff; }
.wa-input { align-items: center; gap: 6px; height: 30px; flex: none; padding: 0 6px 0 9px; border-top: 1px solid #eceef1; background: #fff; }
.wa-input .ph { color: #9ca3af; }
.wa-input .tx { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.wa-send { width: 20px; height: 20px; display: grid; place-items: center; flex: none; margin-left: auto; border-radius: 50%; background: #2f6bff; color: #fff; }
.app .wa-send svg { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.c-pip.chat[data-state="open"] .wa-empty, .c-pip.chat[data-state="typing"] .wa-empty, .c-pip.chat[data-state="sent"] .wa-empty { display: none; }
.c-pip.chat[data-state="open"] :is(.wa-head, .wa-msgs, .wa-input),
.c-pip.chat[data-state="typing"] :is(.wa-head, .wa-msgs, .wa-input),
.c-pip.chat[data-state="sent"] :is(.wa-head, .wa-msgs, .wa-input) { display: flex; }
.c-pip.chat[data-state="open"] .wa-row.r1, .c-pip.chat[data-state="typing"] .wa-row.r1, .c-pip.chat[data-state="sent"] .wa-row.r1 { background: #eef3ff; }
.c-pip.chat[data-state="typing"] .wa-input .ph, .c-pip.chat[data-state="sent"] .wa-input .ph { display: none; }
.c-pip.chat[data-state="sent"] .wa-input .ph { display: inline; }
.c-pip.chat[data-state="sent"] .wa-msgs .out { display: block; }
.c-pip.chat[data-state="sent"] .wa-row:not(.r2) .m i { display: none; }
.c-pip.chat[data-state="sent"] .wa-row.r2 .m i { background: #f59e0b; }
.c-pip[data-state="open"] .pip-cursor, .c-pip[data-state="typing"] .pip-cursor, .c-pip[data-state="sent"] .pip-cursor { opacity: 1; }
/* 打字时用不着鼠标：光标先藏起来，别压在正在打的字上。 */
.c-pip.chat[data-state="typing"] .pip-cursor { opacity: 0; }
@media (max-width: 640px) {
  .pip-page { grid-template-columns: minmax(0, 1fr); }
  .pip-side { display: none; }
  .pip-table th:nth-child(3), .pip-table td:nth-child(3) { display: none; }
  .c-pip.chat .pip-page { grid-template-columns: 108px minmax(0, 1fr); }
  .c-atts img { width: 96px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .pip-cursor, .pip-toast { transition: none; }
  .pip-cursor.click, .pip-load i, .pip-live i { animation: none; }
}

.app-composer { position: relative; margin: 0 28px 18px; padding: 10px 12px 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 2px 6px -2px rgba(16, 24, 40, .06); flex: none; }
.app-input { min-height: 38px; padding: 2px 4px; font-size: 13.5px; }
.app-input .ph { color: var(--muted); }
.app-input.typing .ph { display: none; }
.app-input .typed::after { content: ""; display: none; width: 1.5px; height: 15px; margin-left: 1px; vertical-align: -2px; background: var(--fg); animation: caret 1s step-end infinite; }
.app-input.typing .typed::after { display: inline-block; }
.app-row { display: flex; align-items: center; gap: 4px; }
.app-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; white-space: nowrap; }
.app-chip.icon { font-size: 16px; line-height: 1; }
.app-mode-wrap { position: relative; }
.app-mode { cursor: pointer; transition: background .15s ease, color .15s ease; }
.app-mode:hover, .app-mode[aria-expanded="true"] { background: var(--hover); color: var(--fg); }
.app-mode .chev { width: 12px; height: 12px; opacity: .7; }
.app-mode.full { color: var(--danger); }
.app-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  width: 250px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--lift);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-menu[hidden] { display: none; }
.app-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 10px 7px 28px; border: 0; border-radius: 8px; background: transparent; color: var(--fg); font: inherit; text-align: left; cursor: pointer; position: relative; }
.app-menu button:hover { background: var(--hover); }
.app-menu button[aria-checked="true"]::before { content: "✓"; position: absolute; left: 10px; top: 7px; font-size: 12px; color: var(--accent); }
.app-menu b { font-size: 13px; font-weight: 600; }
.app-menu em { margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--press); color: var(--muted); font-size: 10.5px; font-style: normal; font-weight: 500; }
.app-menu small { color: var(--muted); font-size: 11.5px; }
.app-model { margin-left: auto; color: var(--muted); font-size: 12.5px; padding: 4px 8px; }
.app-send { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--muted) 28%, transparent); color: #fff; transition: background .2s ease, transform .2s ease; }
.app-send.on { background: var(--btn-bg); color: var(--btn-fg); }
.app-send.sent { transform: scale(.88); }
.app-send svg { width: 15px; height: 15px; stroke-width: 2.2; }
.app-warn { margin: 6px 4px 0; color: var(--danger); font-size: 11.5px; }

/* ---- 各段 */
.h-sec { padding: 60px 0; }
.h-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.h-h2 { margin: 10px 0 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.32; font-weight: 720; letter-spacing: -.01em; }
.h-new { padding: 1px 8px; border-radius: 999px; background: var(--tint-2); color: var(--accent); font-size: 12px; letter-spacing: 0; }

/* 以前 → 现在：「以前」那句被划掉，「现在」再浮上来 */
.h-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.h-why-card { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.h-why-card p { margin: 0; }
.h-why-card .lab { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; vertical-align: 1px; }
.h-why-card .before { min-height: 3.4em; color: var(--muted); font-size: 14.5px; }
.h-why-card .before .lab { background: var(--press); color: var(--muted); }
.h-why-card .before s { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.h-why-card .after { padding-top: 14px; border-top: 1px dashed var(--line); color: var(--fg); font-size: 15.5px; font-weight: 560; }
.h-why-card .after .lab { background: var(--tint-2); color: var(--accent); }

/* 功能格：鼠标在卡片上时有一团淡淡的光跟着走 */
.h-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.h-feat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.h-feat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--tint-2), transparent 65%);
  transition: opacity .3s ease;
}
.h-feat:hover { transform: translateY(-3px); box-shadow: var(--lift); border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.h-feat:hover::before { opacity: 1; }
.h-feat h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 650; }
.h-feat p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.h-feat .say {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--bubble);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}
.h-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--tint-2); color: var(--accent); transition: transform .3s ease; }
.h-feat:hover .h-ico { transform: rotate(-6deg) scale(1.06); }
.h-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h-ico.sm { width: 36px; height: 36px; flex: none; border-radius: 10px; }
.h-ico.sm svg { width: 18px; height: 18px; }

/* AI 工作流：照客户端的样子——白底细边卡片（铺一层很淡的点阵，像工作流画布）、浅色调的节点（做完右上角一颗绿勾，跟客户端步骤做完一样）、
   「等你点头」是客户端请示卡片那块琥珀色的手、弹出的是客户端的「允许」按钮和交付物小卡；说明条是客户端的卡片样式，
   AI 在做时前面是「正在工作…」那三个点。标签沿用演示上面的分段控件。动画在 home.js 的 workflow()。 */
.wf-head { text-align: center; }
.wf-head .h-eyebrow { justify-content: center; }
.wf { max-width: 980px; margin: 28px auto 0; }
.wf-tabs button { position: relative; overflow: hidden; }
.wf-tabs button i { position: absolute; left: 12px; bottom: 3px; width: 0; height: 2px; border-radius: 2px; background: var(--accent); }
.wf-anim {
  position: relative;
  padding: 24px 32px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: radial-gradient(circle, color-mix(in srgb, var(--muted) 16%, transparent) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--card);
  box-shadow: var(--lift);
}
.wf-say { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; }
.wf-say span { color: var(--muted); font-size: 12px; }
.wf-say b { max-width: 80%; padding: 8px 15px; border-radius: 18px; background: var(--bubble); font-size: 14.5px; font-weight: 500; transition: opacity .3s ease, transform .3s ease; }
.wf-say b.swap { opacity: 0; transform: translateY(4px); }
.wf-track { display: flex; align-items: flex-start; margin-top: 46px; transition: opacity .3s ease; }
.wf-track.swap { opacity: 0; }
.wf-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; width: 82px; }
.wf-step > i { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--muted); font-style: normal; box-shadow: 0 1px 2px rgba(16, 24, 40, .06); transition: background .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1.3); }
.wf-step svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wf-step small { color: var(--muted); font-size: 13px; white-space: nowrap; transition: color .3s ease; }
.wf-step.run small, .wf-step.done small { color: var(--fg); }
.wf-step.run > i { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); color: var(--accent); transform: translateY(-2px); animation: wf-breathe 1.4s ease-in-out infinite; }
.wf-step.done > i { border-color: color-mix(in srgb, var(--accent) 24%, var(--line)); background: color-mix(in srgb, var(--accent) 9%, var(--card)); color: var(--accent); }
/* 做完：右上角一颗绿勾 */
.wf-step > i::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 8'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: 0 0 0 2px var(--card);
  transform: scale(0);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1.5);
}
.wf-step.done > i::after { transform: scale(1); }
/* 等你点头：琥珀色的手 */
.wf-step.you > i { color: #d97706; }
.wf-step.you.run > i { border-color: #f59e0b; background: color-mix(in srgb, #f59e0b 13%, var(--card)); color: #b45309; animation-name: wf-breathe-amber; }
.wf-step.you.done > i { border-color: color-mix(in srgb, #f59e0b 38%, var(--line)); background: color-mix(in srgb, #f59e0b 13%, var(--card)); color: #b45309; }
/* 下一次：虚线框，时钟在走 */
.wf-step.next > i { border-style: dashed; box-shadow: none; }
.wf-step.next.done > i { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: var(--card); color: var(--accent); }
.wf-step.next.done > i::after { display: none; }
.wf-step.next.done .hand { transform-origin: 12px 12px; animation: wf-tick 2.4s linear infinite; }
/* 节点上方弹出来的：「允许」按钮、交付物小卡、状态 */
.wf-pop { position: absolute; left: 50%; bottom: calc(100% + 11px); display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-style: normal; white-space: nowrap; opacity: 0; transform: translate(-50%, 6px) scale(.96); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1.4); pointer-events: none; }
.wf-pop.ok { padding: 4px 13px; border-radius: 8px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; box-shadow: 0 6px 14px -6px rgba(16, 24, 40, .45); }
.wf-pop.file, .wf-pop.state { padding: 3px 10px 3px 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); color: var(--fg); box-shadow: 0 8px 20px -10px rgba(16, 24, 40, .35); }
.wf-pop .x { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 5px; background: #16a34a; color: #fff; font-size: 9.5px; font-weight: 700; }
.wf-pop.state .x { border-radius: 50%; background: var(--ok); }
.wf-pop .x svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 3.4; }
.wf-step.you.run .wf-pop.ok { opacity: 1; transform: translate(-50%, 0); animation: wf-press 1.4s ease .6s; }
.wf-step.done .wf-pop.file, .wf-step.done .wf-pop.state { opacity: 1; transform: translate(-50%, 0); }
/* 连线：填上颜色，一颗光点顺着跑过去 */
.wf-link { position: relative; flex: 1; min-width: 10px; height: 2px; margin-top: 23px; border-radius: 2px; background: var(--line); }
.wf-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 40%, var(--line)), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s linear; }
.wf-link.on::after { transform: scaleX(1); }
.wf-link::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); opacity: 0; }
.wf-link.on::before { animation: wf-dot .42s linear both; }
.wf-link.dash { background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 10px); }
.wf-link.dash::after { background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 10px); transition-duration: .5s; }
.wf-link.dash::before { display: none; }
/* 说明条：客户端卡片的样子，小箭头对准正在做的节点 */
.wf-cap { position: relative; display: flex; justify-content: center; min-height: 48px; margin: 20px 0 0; padding: 11px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 1px 2px rgba(16, 24, 40, .05); font-size: 14px; line-height: 1.6; opacity: 0; transition: opacity .3s ease, border-color .3s ease, background .3s ease; }
.wf-cap.on { opacity: 1; }
.wf-cap.you { border-color: color-mix(in srgb, #f59e0b 40%, var(--line)); background: color-mix(in srgb, #f59e0b 6%, var(--card)); }
.wf-cap-arrow { position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 3px 0 0 0; background: var(--card); transform: translateX(-50%) rotate(45deg); transition: left .45s cubic-bezier(.3, .7, .2, 1), background .3s ease, border-color .3s ease; }
.wf-cap.you .wf-cap-arrow { border-color: color-mix(in srgb, #f59e0b 40%, var(--line)); background: color-mix(in srgb, #f59e0b 6%, var(--card)); }
.wf-cap-line { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; transition: opacity .2s ease, transform .2s ease; }
.wf-cap-line.swap { opacity: 0; transform: translateY(4px); }
.wf-cap-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; }
.wf-cap-ico.dots { gap: 3px; }
.wf-cap-ico.dots i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 70%, var(--muted)); animation: blink 1.2s ease-in-out infinite; }
.wf-cap-ico.dots i:nth-child(2) { animation-delay: .15s; }
.wf-cap-ico.dots i:nth-child(3) { animation-delay: .3s; }
.wf-cap-ico.box { width: 22px; height: 22px; border-radius: 7px; background: var(--tint-2); color: var(--accent); }
.wf-cap.you .wf-cap-ico.box { background: color-mix(in srgb, #f59e0b 16%, var(--card)); color: #b45309; }
.wf-cap-ico.box svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wf-cap-who { flex: none; color: var(--accent); font-size: 13px; font-weight: 650; }
.wf-cap.you .wf-cap-who { color: #b45309; }
.wf-cap-text { color: var(--ink-2); text-align: left; }
@keyframes wf-breathe { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent), 0 6px 16px -6px rgba(47, 107, 255, .45); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 6%, transparent), 0 6px 16px -6px rgba(47, 107, 255, .45); } }
@keyframes wf-breathe-amber { 0%, 100% { box-shadow: 0 0 0 4px rgba(245, 158, 11, .16), 0 6px 16px -6px rgba(245, 158, 11, .5); } 50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, .08), 0 6px 16px -6px rgba(245, 158, 11, .5); } }
@keyframes wf-press { 0%, 60% { transform: translate(-50%, 0) scale(1); } 75% { transform: translate(-50%, 1px) scale(.9); } 100% { transform: translate(-50%, 0) scale(1); } }
@keyframes wf-dot { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes wf-tick { to { transform: rotate(360deg); } }
@media (prefers-color-scheme: dark) {
  .wf-step.you.run > i, .wf-step.you.done > i, .wf-cap.you .wf-cap-who, .wf-cap.you .wf-cap-ico.box { color: #fbbf24; }
}
@media (max-width: 760px) {
  .wf-anim { padding: 16px 12px 18px; background-size: 14px 14px, auto; }
  .wf-say b { max-width: 88%; font-size: 13px; }
  .wf-track { margin-top: 38px; }
  .wf-step { width: 42px; gap: 6px; }
  .wf-step > i { width: 34px; height: 34px; border-radius: 10px; }
  .wf-step > i::after { top: -5px; right: -5px; width: 14px; height: 14px; background-size: 9px; }
  .wf-step svg { width: 16px; height: 16px; }
  .wf-step small { font-size: 10px; white-space: normal; text-align: center; line-height: 1.25; }
  .wf-link { min-width: 4px; margin-top: 17px; }
  .wf-pop { font-size: 10px; }
  .wf-cap { min-height: 42px; padding: 9px 12px; font-size: 13px; }
  .wf-cap-line { gap: 7px; }
  .wf-cap-who { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-step > i, .wf-step > i::after, .wf-link::after, .wf-pop, .wf-say b, .wf-track, .wf-cap, .wf-cap-arrow, .wf-cap-line { transition: none; animation: none !important; }
  .wf-link::before, .wf-cap-ico.dots i, .wf-step.next.done .hand { animation: none; }
}

/* 我的专家 */
.h-band { background: linear-gradient(180deg, transparent, var(--tint) 14%, var(--tint) 86%, transparent); }
.h-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.h-split.rev { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.h-list { display: grid; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.h-list li { display: flex; gap: 14px; align-items: flex-start; }
.h-list b { display: block; font-size: 16.5px; font-weight: 650; }
.h-list li > div > span { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

.poster-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.poster-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--press); }
.poster-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 6px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.poster-tabs button img { width: 22px; height: 22px; border-radius: 50%; }
.poster-tabs button[aria-selected="true"] { background: var(--card); color: var(--fg); font-weight: 600; box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.poster {
  position: relative;
  width: min(100%, 340px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #eaf0ff, var(--card) 55%);
  box-shadow: var(--lift);
  text-align: center;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  .poster { background: linear-gradient(180deg, #1d2740, var(--card) 55%); }
}
.poster.swap { animation: swap .5s cubic-bezier(.2, .7, .2, 1); }
.poster:hover { transform: translateY(-4px) rotate(-.6deg); }
.p-top { align-self: flex-start; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; text-align: left; }
.p-top span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.p-top b { font-size: 12.5px; letter-spacing: .08em; }
.p-top small { color: var(--muted); font-size: 10.5px; }
.p-logo { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); }
.p-logo svg { width: 18px; height: 18px; }
.p-av { width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 0 0 5px var(--card), 0 12px 30px -10px rgba(47, 107, 255, .45); margin-bottom: 8px; }
.p-name { font-size: 22px; font-weight: 750; }
.p-scene { color: var(--muted); font-size: 13px; }
.p-sum { margin-top: 8px; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
.p-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.p-tags i { padding: 2px 10px; border-radius: 999px; background: var(--press); color: var(--ink-2); font-size: 12px; font-style: normal; }
.p-code {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 12px 12px 16px;
  border-radius: 14px;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--card);
  text-align: left;
}
.p-code div { display: flex; flex-direction: column; min-width: 0; }
.p-code small { color: var(--muted); font-size: 11px; }
.p-code b { margin: 2px 0 4px; font: 700 27px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; white-space: nowrap; }
.p-code b.rolling { color: var(--accent); }
.p-code img { width: 84px; height: 84px; flex: none; border-radius: 6px; }
.poster-actions { display: flex; gap: 10px; }
.poster-actions .btn { padding: 9px 16px; font-size: 14px; cursor: pointer; font-family: inherit; }
.poster-note { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }

/* 网络 */
.net-art {
  position: relative;
  min-height: 300px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 80% 20%, var(--tint-2), transparent 70%),
    var(--card);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 18px 10px;
}
.net-node { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; }
.net-node svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--press); fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.net-node .mark { width: 46px; height: 46px; border-radius: 14px; font-size: 22px; }
.net-line { width: 100%; height: 60px; overflow: visible; }
.net-line path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 6 9; stroke-linecap: round; animation: flow 1.4s linear infinite; }
.net-card { grid-column: 1 / -1; justify-self: center; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 8px 24px -16px rgba(16, 24, 40, .35); font-size: 13px; }
.net-card span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; }
.net-card small { color: var(--muted); font-size: 11.5px; }
.net-btn { margin-left: 10px; padding: 4px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.net-split { grid-column: 1 / -1; display: flex; justify-content: center; gap: 22px; color: var(--muted); font-size: 12.5px; }
.net-split i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; }
.net-split .g { background: var(--ok); }
.net-split .b { background: var(--accent); }

/* 三步 */
.h-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.h-steps li { padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.h-steps li:hover { transform: translateY(-3px); box-shadow: var(--lift); }
.h-steps .n { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff; font-size: 15px; font-weight: 700; }
.h-steps b { display: block; font-size: 16.5px; font-weight: 650; }
.h-steps li > span:not(.n) { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; }
#start .h-actions { margin-top: 36px; }

/* 页脚 */
.h-foot { padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.h-foot .h-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.h-foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.h-foot-brand img { border-radius: 6px; }
.h-foot a { color: var(--muted); }

/* ---- 进场：滚到才出现（没有 JS 或者系统关了动效就直接全显示） */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .h-why-card .before s { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 58% / 0 1.5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .9s ease .5s; }
.js .h-why-card.in .before s { background-size: 100% 1.5px; }
.js .h-why-card .after { opacity: 0; transform: translateY(8px); transition: opacity .6s ease 1.2s, transform .6s ease 1.2s; }
.js .h-why-card.in .after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .h-why-card .after { opacity: 1; transform: none; transition: none; }
  .js .h-why-card .before s { background-size: 100% 1.5px; transition: none; }
  .net-line path, .app-net i, .net-card i { animation: none; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 6%, transparent); } }
@keyframes c-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes flow { to { stroke-dashoffset: -30; } }
@keyframes swap { 0% { opacity: .2; transform: translateY(10px) scale(.98); } 100% { opacity: 1; transform: none; } }

/* ---- 窄屏 */
@media (max-width: 960px) {
  .h-split, .h-split.rev { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .h-split.rev .net-art { order: 2; }
  .h-why, .h-grid, .h-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app { grid-template-columns: minmax(0, 1fr); height: 540px; }
  .app-side { display: none; }
  .app-chat { padding: 6px 20px 12px; }
  .app-composer { margin: 0 16px 14px; }
}
@media (max-width: 640px) {
  .h-wrap { padding: 0 16px; }
  .h-links { display: none; }
  .h-nav .h-nav-cta { margin-left: auto; }
  .h-hero { padding: 40px 0 24px; }
  /* 手机上「OneTap，」单独一行，「能力一键拉满」整句不拆。 */
  .h-title .brand { display: block; }
  .h-title .keep { white-space: nowrap; }
  .h-lede { font-size: 16px; }
  .h-actions { flex-direction: column; align-items: stretch; }
  .h-actions .btn { justify-content: center; }
  .demo { margin-top: 36px; }
  .demo-tabs button { padding: 7px 11px; font-size: 13px; }
  .app { height: 520px; border-radius: 12px; }
  .app-model { display: none; }
  .h-sec { padding: 52px 0; }
  .h-why, .h-grid, .h-steps { grid-template-columns: minmax(0, 1fr); }
  .net-art { padding: 18px; }
}
