/* 成务官网（2026-10-14 恢复）。沿用旧官网的墨色、朱砂、金色与动效；严格 CSP：不用行内样式和行内脚本，
   脚本只切换类名和设置 CSS 自定义属性。旧版的下载列表、账户入口已去掉。 */
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
img { max-width: 100%; }
a { text-decoration: none; }
.faq details a, .beta-steps a { text-decoration: underline; text-underline-offset: 3px; }
.filings { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 14px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; line-height: 16px; }
.filings a { text-decoration: none; transition: color .2s; }
.filings .police-filing { display: inline-flex; align-items: center; gap: 5px; }
.filings .police-filing img { width: 14px; height: 16px; flex: none; display: block; }
@media (max-width: 640px) { .filings { flex-direction: column; align-items: flex-start; } }

/* 成务 home page. Ink, cinnabar and gold; motion is CSS-first and fully off under prefers-reduced-motion.
   Strict CSP: no inline styles; JS only toggles classes and sets CSS custom properties. */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

body.home {
  --ink: #0e0d0c; --ink-2: #161412; --ink-3: #1f1c19; --line: rgba(239, 231, 218, .1); --line-2: rgba(239, 231, 218, .18);
  --paper: #efe7da; --paper-2: #c9bfb0; --dim: #8f8577; --cinnabar: #d24a37; --cinnabar-2: #ff7a5f; --gold: #d9aa5f; --jade: #6fb59a;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  background: var(--ink); color: var(--paper); overflow-x: hidden;
  font: 16px/1.75 "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.home a { color: inherit; }
.home a:hover { text-decoration: none; }
.ico { display: block; width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; text-decoration: none; }
.home ::selection { background: rgba(210, 74, 55, .45); }

/* ambient light & grain */
.aurora { position: fixed; inset: -20vmax; z-index: 0; pointer-events: none; filter: blur(70px); opacity: .55; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { left: 8%; top: 4%; background: radial-gradient(circle, rgba(210, 74, 55, .55), transparent 62%); animation: drift1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: 4%; top: 22%; background: radial-gradient(circle, rgba(217, 170, 95, .38), transparent 62%); animation: drift2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 32%; bottom: 0; background: radial-gradient(circle, rgba(111, 181, 154, .22), transparent 60%); animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 12vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(10vmax, -14vmax) scale(1.2); } }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .foot { position: relative; z-index: 2; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 10; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.bar.scrolled { background: rgba(14, 13, 12, .72); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
.bar-in { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .12em; }
.brand img { width: 32px; height: 32px; }
.bar nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.bar nav a { color: var(--paper-2); position: relative; }
.bar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--cinnabar-2); transform: scaleX(0); transition: transform .25s; }
.bar nav a:hover { color: var(--paper); }
.bar nav a:hover::after { transform: scaleX(1); }
.pill { border: 1px solid var(--line-2); border-radius: 99px; padding: 7px 16px; font-size: 13px; font-weight: 600; transition: border-color .2s, background .2s; }
.pill:hover { border-color: var(--cinnabar-2); background: rgba(210, 74, 55, .12); }

/* shared */
section.block { max-width: 1180px; margin: 0 auto; padding: 110px 24px 20px; }
.block-head { max-width: 760px; margin-bottom: 46px; }
.block-head h2 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 46px); line-height: 1.2; margin: 6px 0 14px; letter-spacing: .02em; }
.block-head p:not(.eyebrow) { color: var(--paper-2); font-size: 17px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 13px; letter-spacing: .18em; margin: 0; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.fine { color: var(--dim); font-size: 13px; margin-top: 16px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* hero */
.hero { max-width: 1240px; margin: 0 auto; padding: 70px 24px 40px; display: grid; grid-template-columns: .94fr 1.06fr; gap: 56px; align-items: center; min-height: calc(100vh - 70px); }
.hero h1 { font-family: var(--serif); font-size: clamp(42px, 6.2vw, 78px); line-height: 1.12; margin: 18px 0 22px; letter-spacing: .03em; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--cinnabar-2), var(--gold) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split .ch { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(4deg); filter: blur(6px);
  animation: chIn .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d); }
.split em .ch { background: inherit; -webkit-background-clip: text; background-clip: text; }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
.lead { color: var(--paper-2); font-size: 18px; max-width: 34em; margin: 0 0 32px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; border-radius: 12px; padding: 13px 24px; font-weight: 600; font-size: 15px; overflow: hidden; transition: transform .2s, box-shadow .3s, background .3s; }
.btn.primary { background: linear-gradient(135deg, var(--cinnabar), #a8301f); color: #fff; box-shadow: 0 10px 34px rgba(210, 74, 55, .35); }
.btn.primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 4.5s ease-in-out 1.8s infinite; }
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(210, 74, 55, .5); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { border: 1px solid var(--line-2); color: var(--paper); }
.btn.ghost:hover { background: rgba(239, 231, 218, .06); }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 28px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.facts b { display: block; color: var(--paper); font-size: 15px; font-weight: 600; }

/* demo window */
.demo { position: relative; }
.win { position: relative; border-radius: 18px; background: linear-gradient(180deg, rgba(31, 28, 25, .92), rgba(20, 18, 16, .92)); border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s; }
.demo:hover .win { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.win-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a342d; }
.win-bar em { font-style: normal; margin-left: 10px; color: var(--dim); font-size: 12px; }
/* The seal lands sharp and stays sharp: every keyframe sets the blur, so the end state never falls back to the
   blurred starting style (that was the "clear, then blurry" seal). */
.stamp { position: absolute; right: 26px; bottom: 132px; width: 88px; height: 88px; opacity: 0; transform: scale(2.2) rotate(-18deg); }
.stamp.on { animation: stamp .55s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.2) rotate(-18deg); filter: blur(3px); }
  60% { opacity: 1; transform: scale(.92) rotate(-10deg); filter: blur(0); }
  100% { opacity: .95; transform: scale(1) rotate(-12deg); filter: blur(0); } }
.mascot { position: absolute; left: -46px; bottom: -40px; width: 128px; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); animation: bob 4.6s ease-in-out infinite; }
/* the mascot is the desktop app's own (cw-brand.js, brand.css): the static picture until it has loaded */
.mascot.live { animation: none; width: auto; }
.mascot.live > img { display: none; }
.cw-seal, .cw-pet { display: inline-flex; flex: none; }
.cw-seal svg, .cw-pet svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* The demo window is the desktop app as it is now (user 2026-10-16): the task list, the conversation with its
   progress card, the input box below - drawn in the site's ink and cinnabar. */
.app-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); height: 520px; }
.app-side { border-right: 1px solid var(--line); background: rgba(14, 13, 12, .45); padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; min-width: 0; }
.side-brand { display: flex; align-items: center; gap: 7px; padding: 2px 4px 6px; }
.side-brand img { width: 18px; height: 18px; }
.side-brand b { font-size: 13.5px; }
.side-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(239, 231, 218, .03); }
.side-tabs span { text-align: center; padding: 3px 0; border-radius: 7px; color: var(--dim); font-size: 12px; }
.side-tabs .on { background: rgba(239, 231, 218, .08); color: var(--paper); }
.side-sec { color: var(--dim); font-size: 11.5px; padding: 6px 4px 0; }
.side-tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.side-tasks li { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 8px; animation: rowIn .4s ease-out both; }
.side-tasks li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--paper); }
.side-tasks li em { font-style: normal; color: var(--dim); font-size: 11px; font-variant-numeric: tabular-nums; }
/* state icons (GPT's art, told apart by shape): running turns, verifying breathes */
.st { width: 16px; height: 16px; flex: none; color: var(--dim); }
.st.running { color: var(--gold); animation: turn 1.6s linear infinite; }
.st.verifying { color: var(--gold); animation: breathe 1.4s ease-in-out infinite; }
.st.done, .st.ok { color: var(--jade); }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .5; } }
.app-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.app-top { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; font-size: 13px; border-bottom: 1px solid var(--line); }
.app-top span { color: var(--dim); font-size: 12px; }
/* the conversation keeps its latest at the bottom; what is older slides up and fades at the top */
.app-conv { flex: 1; min-height: 0; overflow: hidden; padding: 14px 16px 6px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30px); mask-image: linear-gradient(to bottom, transparent 0, #000 30px); }
.app-conv > * { flex: none; }
.enter { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.enter.on { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; max-width: 86%; background: linear-gradient(135deg, rgba(210, 74, 55, .92), rgba(168, 48, 31, .92)); color: #fff;
  padding: 9px 13px; border-radius: 14px 14px 4px 14px; font-size: 13px; line-height: 1.6; }
.route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); }
.route .st { width: 15px; height: 15px; }
.chip { font-size: 11.5px; padding: 1px 9px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--paper-2); background: rgba(239, 231, 218, .04); }
.chip.t1 { border-color: rgba(210, 74, 55, .6); }
.chip.t2 { border-color: rgba(217, 170, 95, .6); }
.chip.t3 { border-color: rgba(239, 231, 218, .35); border-style: dashed; }
.chip.req { border-color: rgba(111, 181, 154, .6); }
/* the progress card, row by row as the app draws it */
.pcard { border: 1px solid var(--line); border-radius: 14px; background: rgba(239, 231, 218, .035); padding: 2px 4px; display: flex; flex-direction: column; }
.prow { padding: 7px 10px; display: flex; flex-direction: column; gap: 2px; }
.prow + .prow { border-top: 1px solid var(--line); }
.prow-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.prow-head b { flex: 1; font-weight: 600; }
.prow-state { font-size: 11.5px; color: var(--dim); }
.prow-state.running, .prow-state.verifying { color: var(--gold); }
.prow-state.done { color: var(--jade); }
.prow-plan, .prow-change, .prow-action { padding-left: 24px; font-size: 12px; }
.prow-plan { display: flex; align-items: center; gap: 8px; color: var(--paper-2); }
.prow-plan > span:last-child:empty { display: none; }
.bars { display: inline-flex; gap: 3px; }
.bars i { width: 14px; height: 4px; border-radius: 2px; background: rgba(239, 231, 218, .12); transition: background .3s; }
.bars i.doing { background: var(--gold); }
.bars i.done { background: var(--jade); }
.prow-change { display: flex; align-items: center; gap: 8px; color: var(--paper-2); }
.prow-change:empty, .prow-action:empty { display: none; }
.diff { display: inline-flex; border-radius: 5px; overflow: hidden; font: 11.5px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.diff b { font-weight: 500; padding: 3px 5px; }
.diff .add { color: #5fd07f; background: rgba(95, 208, 127, .12); }
.diff .del { color: #f27a6c; background: rgba(242, 122, 108, .12); }
.prow-action { color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11.5px; }
.prow[data-kind="done"] .prow-action { display: none; }
/* the delivery: verified, with its files */
.done-msg { border: 1px solid rgba(111, 181, 154, .35); background: rgba(111, 181, 154, .06); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.done-head { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.done-head .st { width: 18px; height: 18px; }
.files { display: flex; flex-wrap: wrap; gap: 6px; }
.file { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 6px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 12px; background: rgba(239, 231, 218, .04); }
.file .st { width: 15px; height: 15px; }
.file .st.x { color: #5fbf7a; }
.file .st.w { color: #6ea0e8; }
.done-note { font-size: 12px; color: var(--dim); }
/* the input box as in the app: the text on its own line, "+" and send under it, the way of working below */
.app-composer { padding: 8px 14px 12px; }
.cmp-box { border: 1px solid var(--line-2); border-radius: 14px; background: rgba(239, 231, 218, .04); padding: 10px 10px 8px 12px; }
.cmp-text { display: flex; align-items: flex-end; height: 42px; overflow: hidden; font-size: 13px; line-height: 21px; color: var(--paper); }
.cmp-ph { color: var(--dim); align-self: flex-start; }
.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: currentColor; vertical-align: -.12em; margin-left: 1px; animation: blink 1s steps(1) infinite; opacity: .8; }
@keyframes blink { 50% { opacity: 0; } }
.cmp-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.cmp-plus, .cmp-send { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: var(--paper-2); }
.cmp-plus { border: 1px solid var(--line-2); }
.cmp-plus .ico, .cmp-send .ico { width: 16px; height: 16px; }
.cmp-send { transition: background .25s, color .25s, transform .15s; }
.cmp-send.ready { background: var(--cinnabar); color: #fff; }
.cmp-send.press { transform: scale(.88); }
/* the context ring sits centred under send: the box's border and padding (1 + 10) plus half the button (14), less
   half the ring (8), is 17 */
.cmp-foot { display: flex; align-items: center; gap: 12px; padding: 6px 17px 0 13px; font-size: 11.5px; color: var(--dim); }
.cmp-foot i { flex: 1; }
.ctx { width: 16px; height: 16px; fill: none; stroke-width: 2.2; transform: rotate(-90deg); }
.ctx circle { stroke: rgba(239, 231, 218, .14); }
.ctx .ctx-used { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 44; stroke-dashoffset: calc(44px * (1 - var(--used, .06))); transition: stroke-dashoffset .8s; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-3deg); } }

/* strip */
.strip { position: relative; max-width: 1180px; margin: 30px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.strip > div { padding: 22px 20px; border-top: 1px solid var(--line); }
.strip b { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 4px; }
.strip span { color: var(--dim); font-size: 13.5px; }

/* comparison */
.compare-scroll { border-radius: 18px; }
.compare-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.compare { --title-col: calc(100% * 1.05 / 4.5); --ours-col: calc(100% * 1.45 / 4.5); position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(22, 20, 18, .6); backdrop-filter: blur(6px); }
.c-row { display: grid; grid-template-columns: var(--title-col) var(--ours-col) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); transition: background .25s; }
.c-row:first-child { border-top: 0; }
.c-row:not(.c-head):hover { background: rgba(239, 231, 218, .03); }
.c-row > span { padding: 16px 18px; font-size: 14.5px; color: var(--paper-2); }
.c-row > span[role="rowheader"] { color: var(--paper); font-weight: 600; }
.c-head > span { font-size: 13px; color: var(--dim); letter-spacing: .08em; padding-top: 20px; padding-bottom: 20px; }
.c-row > .ours { position: relative; color: var(--paper); background: linear-gradient(90deg, rgba(210, 74, 55, .1), rgba(210, 74, 55, .03)); }
.c-head > .ours { display: flex; align-items: center; gap: 8px; color: var(--paper); font-family: var(--serif); font-size: 18px; letter-spacing: .1em; }
.c-head > .ours img { width: 22px; height: 22px; }
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--title-col); width: var(--ours-col); pointer-events: none; padding: 1px;
  background: conic-gradient(from var(--spin), transparent 0 70%, var(--cinnabar-2), var(--gold), transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }
.compare.in .c-row { animation: rowIn .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-14px); } }

/* ability cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-x { position: relative; border-radius: 18px; padding: 26px 24px 24px; background: linear-gradient(180deg, rgba(31, 28, 25, .85), rgba(22, 20, 18, .85));
  border: 1px solid var(--line); transform-style: preserve-3d; transition: border-color .3s, transform .25s ease-out, opacity .9s, box-shadow .3s; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.card-x.reveal { transform: perspective(900px) translateY(26px); }
.card-x.reveal.in { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.card-x::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(210, 74, 55, .14), transparent 45%); }
.card-x:hover { border-color: var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.card-x:hover::before { opacity: 1; }
.card-x h3 { font-family: var(--serif); font-size: 21px; margin: 18px 0 8px; }
.card-x p { color: var(--paper-2); font-size: 14.5px; margin: 0; }
.viz { position: relative; height: 92px; border-radius: 12px; background: rgba(239, 231, 218, .03); border: 1px solid var(--line); overflow: hidden; }
/* one sentence -> three tasks */
.viz-split i { position: absolute; left: 14px; top: 38px; width: 70px; height: 16px; border-radius: 8px; background: var(--cinnabar); }
.viz-split b { position: absolute; left: 14px; top: 38px; width: 52px; height: 12px; border-radius: 6px; opacity: 0; animation: splitOut 3.6s ease-in-out infinite; }
.viz-split b:nth-of-type(1) { background: var(--cinnabar-2); --ty: -26px; }
.viz-split b:nth-of-type(2) { background: var(--gold); --ty: 2px; animation-delay: .15s; }
.viz-split b:nth-of-type(3) { background: var(--jade); --ty: 30px; animation-delay: .3s; }
@keyframes splitOut { 0%, 15% { opacity: 0; transform: none; } 45%, 85% { opacity: 1; transform: translate(150px, var(--ty)); } 100% { opacity: 0; transform: translate(150px, var(--ty)); } }
/* receipts ticking */
.viz-receipt { padding: 12px 14px; display: grid; gap: 7px; }
.viz-receipt i { display: block; height: 6px; border-radius: 3px; background: rgba(239, 231, 218, .12); position: relative; overflow: hidden; }
.viz-receipt i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--jade), rgba(111, 181, 154, .3)); transform: scaleX(0); transform-origin: left; animation: fill 4s ease-in-out infinite; }
.viz-receipt i:nth-child(2)::after { animation-delay: .4s; } .viz-receipt i:nth-child(3)::after { animation-delay: .8s; }
.viz-receipt i:nth-child(4)::after { animation-delay: 1.2s; } .viz-receipt i:nth-child(5)::after { animation-delay: 1.6s; }
.viz-receipt i:nth-child(2) { width: 80%; } .viz-receipt i:nth-child(4) { width: 64%; }
@keyframes fill { 0%, 10% { transform: scaleX(0); } 40%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
/* supervisor stops a loop */
.viz-guard i { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; border: 3px solid var(--gold); border-right-color: transparent; animation: loop 1s linear infinite, halt 4s ease-in-out infinite; }
.viz-guard b { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; border: 2px solid var(--cinnabar-2); opacity: 0; animation: guardOn 4s ease-in-out infinite; }
@keyframes loop { to { transform: rotate(360deg); } }
@keyframes halt { 0%, 45% { border-color: var(--gold); border-right-color: transparent; } 55%, 100% { border-color: var(--jade); border-right-color: var(--jade); } }
@keyframes guardOn { 0%, 40% { opacity: 0; transform: scale(1.4); } 50%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* cursor and Esc */
.viz-cursor i { position: absolute; left: 20px; top: 20px; width: 16px; height: 22px; background: var(--paper);
  clip-path: polygon(0 0, 100% 62%, 56% 64%, 74% 100%, 58% 100%, 42% 68%, 0 90%); animation: cursor 5s ease-in-out infinite; }
.viz-cursor b { position: absolute; right: 16px; bottom: 14px; font: 600 12px ui-monospace, Consolas, monospace; color: var(--paper-2);
  border: 1px solid var(--line-2); border-bottom-width: 3px; border-radius: 6px; padding: 3px 8px; animation: escKey 5s ease-in-out infinite; }
@keyframes cursor { 0% { transform: none; } 30% { transform: translate(120px, 30px); } 55% { transform: translate(60px, 44px); } 75%, 100% { transform: translate(60px, 44px); opacity: .35; } }
@keyframes escKey { 0%, 62% { transform: none; color: var(--paper-2); } 68% { transform: translateY(2px); color: var(--cinnabar-2); border-color: var(--cinnabar-2); } 76%, 100% { transform: none; } }
/* languages */
.viz-langs { display: flex; align-items: center; justify-content: center; gap: 10px; }
.viz-langs span { font-size: 13px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--paper-2); animation: lang 4.5s ease-in-out infinite; }
.viz-langs span:nth-child(2) { animation-delay: 1.5s; } .viz-langs span:nth-child(3) { animation-delay: 3s; }
@keyframes lang { 0%, 30% { border-color: var(--line-2); color: var(--paper-2); transform: none; } 10%, 20% { border-color: var(--gold); color: var(--paper); transform: translateY(-4px); } }
/* countdown ring */
.viz-ring { display: flex; align-items: center; justify-content: center; }
.viz-ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.viz-ring circle { fill: none; stroke: rgba(239, 231, 218, .12); stroke-width: 3; }
.viz-ring circle.run { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 113.1; animation: countdown 6s linear infinite; }
@keyframes countdown { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 113.1; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 0; top: 19px; height: 2px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--cinnabar), var(--gold)); transition: width .2s linear; }
.timeline li { position: relative; padding-top: 56px; counter-increment: step; }
.timeline li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-2); border: 1px solid var(--line-2); font: 600 14px var(--serif); color: var(--gold); z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.timeline li.lit::before { background: var(--cinnabar); color: #fff; border-color: var(--cinnabar); box-shadow: 0 0 0 6px rgba(210, 74, 55, .15); }
.timeline b { display: block; font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.timeline span { color: var(--paper-2); font-size: 14px; }

/* scenarios */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scene { margin: 0; padding: 22px 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(22, 20, 18, .6); transition: border-color .3s, transform .3s; }
.scene:hover { border-color: rgba(217, 170, 95, .45); transform: translateY(-4px); }
.scene figcaption { color: var(--gold); font-size: 13px; letter-spacing: .14em; }
.scene { display: flex; flex-direction: column; }
.scene blockquote { margin: 10px 0 0; font-family: var(--serif); font-size: 16.5px; line-height: 1.75; color: var(--paper); flex: 1; }
.scene .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.scene .tags span { font-size: 12px; padding: 2px 9px; border-radius: 99px; color: var(--gold); background: rgba(217, 170, 95, .1); border: 1px solid rgba(217, 170, 95, .25); }
.scene blockquote::before { content: "“"; color: var(--cinnabar-2); margin-right: 2px; }
.scene blockquote::after { content: "”"; color: var(--cinnabar-2); }

/* safety */
.guard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.guard-grid > div { background: var(--ink-2); padding: 26px 22px; }
.guard-grid h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 8px; }
.guard-grid p { margin: 0; color: var(--paper-2); font-size: 14px; }

/* download */
.dl-card { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; padding: 46px; border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(210, 74, 55, .22), transparent 55%), linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-2); overflow: hidden; }
.dl-mascot { display: inline-block; width: 200px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .5)); cursor: pointer; }
.dl-mascot > img { display: block; width: 100%; }
.dl-mascot.live { width: auto; animation: none; }
.dl-mascot.live > img { display: none; }
.dl-copy h2 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); margin: 6px 0 18px; }
.home ol.steps { color: var(--paper-2); padding-left: 20px; margin: 0 0 14px; }
.home ol.steps b { color: var(--paper); }
.home ol.steps a { color: var(--gold); }
.home ol.steps code { background: rgba(239, 231, 218, .08); padding: 1px 6px; border-radius: 5px; }
.home .hint { color: var(--dim); font-size: 13px; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; max-width: 860px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 17px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq-toggle { width: 22px; height: 22px; margin-left: 16px; color: var(--gold); transition: transform .3s; }
.faq details[open] .faq-toggle { transform: rotate(45deg); }
.faq details a { color: var(--gold); }
.faq details p { margin: 0 0 18px; color: var(--paper-2); animation: faqIn .4s ease-out; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 110px; }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 28px 24px 40px; display: flex; align-items: center; gap: 20px; color: var(--dim); font-size: 13px; }
.foot-in .brand { font-size: 17px; color: var(--paper); }
.foot-in .brand img { width: 24px; height: 24px; }
.foot-in nav { margin-left: auto; display: flex; gap: 18px; }
.foot-in nav a:hover { color: var(--paper); }
.foot .filings { max-width: 1132px; margin: -14px auto 0; padding: 14px 0 34px; border-top-color: var(--line); }
@media (max-width: 1180px) { .foot .filings { margin-left: 24px; margin-right: 24px; } }
.foot .filings a { color: var(--dim); }
.foot .filings a:hover, .foot .filings a:focus-visible { color: var(--paper); }
.home .muted { color: var(--dim); }

/* responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .win { transform: none; }
  .mascot { left: auto; right: -10px; bottom: -36px; width: 96px; }
  .mascot.live { right: -6px; top: -64px; bottom: auto; }
  .bar nav { display: none; }
  .bar-in .pill { margin-left: auto; }
  .strip, .guard-grid { grid-template-columns: 1fr 1fr; }
  .cards, .scenes { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr 1fr; row-gap: 34px; }
  .timeline::before, .timeline::after { display: none; }
  .dl-card { grid-template-columns: 1fr; text-align: left; padding: 30px; }
  .dl-mascot { width: 130px; }
}
@media (max-width: 640px) {
  section.block { padding-top: 76px; }
  .app-body { grid-template-columns: 1fr; height: 460px; }
  .app-side { display: none; }
  .strip, .guard-grid, .cards, .scenes, .timeline { grid-template-columns: 1fr; }
  .compare-scroll { overflow-x: auto; }
  /* 48px section padding + 2px table border + 92px row title: even at 320px the first two columns fit. */
  .compare { --title-col: 92px; --ours-col: min(200px, calc(100vw - 142px)); width: calc(94px + var(--ours-col) + 340px); }
  .c-row { grid-template-columns: var(--title-col) var(--ours-col) 170px 170px; }
  .c-row > span { padding-left: 12px; padding-right: 12px; }
  .facts { gap: 18px; }
}

/* motion off */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .enter, .split .ch { opacity: 1 !important; transform: none !important; filter: none !important; }
  .stamp { opacity: .92; transform: rotate(-12deg); filter: none; }
  .aurora { display: none; }
}


/* ---- 2026-10-14 新增 ---- */
/* 标题第二行不断开（逐字动画把每个字包成 inline-block，句号会被单独挤到下一行，显示成一个圆圈） */
.hero h1 em { white-space: nowrap; }
/* 还没上线的能力：卡片和场景上的“即将推出”标记，诚实说明，不删内容 */
.soon { display: inline-block; vertical-align: middle; margin-left: 8px; font: 500 11.5px/1 "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: .06em; padding: 4px 8px; border-radius: 99px; color: var(--jade); background: rgba(111, 181, 154, .12);
  border: 1px solid rgba(111, 181, 154, .3); }
.card-x.later .viz { opacity: .6; }
.scene .tags span.soon-tag { color: var(--jade); background: rgba(111, 181, 154, .1); border-color: rgba(111, 181, 154, .3); }
/* 真实界面：大幅产品截图，带窗口框和朱砂光晕 */
.product { position: relative; }
.product-shot { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 50px 140px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02) inset; background: var(--ink-2); }
.product-shot::before { content: ""; position: absolute; inset: -30% -10% auto; height: 60%; z-index: -1;
  background: radial-gradient(closest-side, rgba(210, 74, 55, .28), transparent); filter: blur(40px); }
.product-shot img { display: block; width: 100%; height: auto; }
.product-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.product-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a342d; }
.product-bar em { font-style: normal; margin-left: 10px; color: var(--dim); font-size: 12px; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.points b { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }
.points span { color: var(--paper-2); font-size: 14.5px; }
.product .fine { text-align: center; }
/* 内测卡片（原下载卡片的位置） */
.beta { color: var(--paper-2); margin: 0 0 18px; font-size: 16px; }
.beta-steps { color: var(--paper-2); padding-left: 20px; margin: 0; }
.beta-steps b { color: var(--paper); }
.beta-steps a { color: var(--gold); }
/* 协议页 */
.doc { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 40px 24px 20px; }
.doc h1 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 48px); margin: 18px 0 8px; letter-spacing: .03em; }
.doc .meta { color: var(--dim); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font-family: var(--serif); font-size: 21px; margin: 38px 0 12px; color: var(--paper); }
.doc p { color: var(--paper-2); margin: 0 0 12px; line-height: 1.85; }
@media (max-width: 980px) { .points { grid-template-columns: 1fr; gap: 18px; } }
