/* Apus One homepage: SaaS product page. Colours are the app's own tokens (app/public/ui-concept/styles.css). */
:root {
  --bg: #f2f5f5; --white: #fff; --ink: #10272d; --muted: #5d7177; --quiet: #91a0a4; --line: #dfe7e8;
  --teal: #0d8796; --teal-dark: #0a5965; --teal-tint: #e2f2f3; --nav: #102d34; --nav-2: #173a42;
  --green: #28a879; --green-tint: #e3f5ed; --amber: #f1a83b; --amber-tint: #fdf2df; --coral: #ef626d;
  --shadow: 0 18px 50px rgba(26, 62, 69, .08), 0 2px 8px rgba(26, 62, 69, .04);
  --shadow-big: 0 40px 90px -20px rgba(16, 45, 52, .28), 0 12px 30px -10px rgba(16, 45, 52, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo img { height: 30px; width: auto; }
.links { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--ink); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; color: var(--muted); }
.lang:hover { color: var(--ink); border-color: #c8d5d7; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 10px 18px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px -6px rgba(13, 135, 150, .6); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--bg); }
.btn-line { border-color: #c9d6d8; background: var(--white); color: var(--ink); }
.btn-line:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 0; background: linear-gradient(180deg, #f6f9f9 0%, #fff 70%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(16, 45, 52, .07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 62%); mask-image: linear-gradient(180deg, #000 0%, transparent 62%); pointer-events: none; }
.hero-copy { position: relative; text-align: center; max-width: 860px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); box-shadow: 0 2px 8px rgba(26, 62, 69, .05); }
.pill b { background: var(--teal-tint); color: var(--teal-dark); border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; }
h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; margin: 22px 0 18px; }
h1 .hl { color: var(--teal); }
:lang(zh-CN) h1 { letter-spacing: 0; line-height: 1.22; font-size: clamp(28px, 7.6vw, 60px); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 680px; margin: 0 auto; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.fine { margin: 14px 0 0; font-size: 13.5px; color: var(--quiet); }
.fine a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }

/* scenario tabs */
.scen { position: relative; display: flex; justify-content: center; gap: 6px; margin: 48px auto 18px; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; width: max-content; max-width: 100%; box-shadow: 0 4px 14px rgba(26, 62, 69, .05); }
.scen button { position: relative; display: flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 9px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); overflow: hidden; }
.scen button i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.scen button:hover { color: var(--ink); }
.scen button.on { background: var(--nav); color: #fff; }
.scen button.on i { background: #7fd3c4; opacity: 1; }
.scen button .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #7fd3c4; }

/* ---------- the desktop (app window) ---------- */
.stage { position: relative; padding-bottom: 80px; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: var(--nav); z-index: 0; }
.window { position: relative; z-index: 1; margin: 0 auto; border-radius: 14px; background: #fff; box-shadow: var(--shadow-big); overflow: hidden; border: 1px solid rgba(16, 45, 52, .12); }
.chrome { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #eaf0f0; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #cfd9da; }
.url { flex: 1; max-width: 420px; margin: 0 auto; height: 24px; border-radius: 7px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }
.url svg { width: 11px; height: 11px; color: var(--green); }
.viewport { position: relative; overflow: hidden; }
.screen { position: absolute; left: 0; top: 0; width: 1200px; height: 720px; transform-origin: 0 0; font-size: 13px; line-height: 1.45; }
.caption { position: relative; z-index: 1; text-align: center; color: #9fbcc0; font-size: 13px; margin: 18px 0 0; }

/* app layout inside the screen */
.m-app { display: grid; grid-template-columns: 212px 1fr; height: 100%; background: var(--bg); }
.m-rail { background: var(--nav); color: #c5d5d8; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.m-brand { display: flex; align-items: center; gap: 9px; padding: 2px 6px 12px; }
.m-brand img { width: 30px; height: 30px; border-radius: 8px; background: #fff; padding: 3px; }
.m-brand b { display: block; color: #fff; font-size: 14px; }
.m-brand small { font-size: 11px; color: #8aa5ab; }
.m-search { margin: 0 4px 10px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .07); display: flex; align-items: center; gap: 7px; padding: 0 10px; color: #7f9aa0; font-size: 12px; }
.m-search svg, .m-item svg, .m-grp svg { width: 14px; height: 14px; flex: none; }
.m-grp { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 10px; font-size: 12.5px; color: #b9cbcf; border-radius: 7px; }
.m-grp span, .m-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.m-grp .tw { margin-left: auto; width: 10px; height: 10px; opacity: .5; }
.m-item { position: relative; display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 10px 0 33px; font-size: 12.5px; color: #9db3b8; border-radius: 7px; }
.m-item.on { background: rgba(159, 182, 232, .14); color: #fff; }
.m-item.on::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 2px; border-radius: 2px; background: #9fb6e8; }
.m-rail .sp { flex: 1; }
.m-user { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 9px; background: rgba(255, 255, 255, .05); font-size: 12px; }
.m-user i { width: 26px; height: 26px; border-radius: 50%; background: #2c5a63; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 11px; }
.m-user b { display: block; color: #fff; font-weight: 600; }
.m-user small { color: #7f9aa0; font-size: 11px; }

.m-main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.m-top { height: 52px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--line); }
.m-crumb { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; }
.m-crumb svg { width: 15px; height: 15px; color: var(--quiet); }
.m-top .r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.m-ic { position: relative; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.m-ic svg { width: 16px; height: 16px; }
.m-ic em { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--amber); color: #fff; font: 700 10px/17px var(--font); text-align: center; font-style: normal; border: 2px solid #fff; box-sizing: content-box; transition: transform .25s; }
.m-ic em.bump { transform: scale(1.35); }
.m-create { height: 32px; padding: 0 14px; border-radius: 9px; background: var(--teal); color: #fff; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; }
.m-avatar { width: 30px; height: 30px; border-radius: 50%; background: #3d6fd9; background: #2c5a63; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.m-body { position: relative; flex: 1; min-height: 0; }
.m-view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; transform: translateY(8px); }
.m-view.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }

/* dashboard view */
.m-dash { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.m-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 14px rgba(26, 62, 69, .04); }
.m-start { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-color: #bfe0e3; background: linear-gradient(90deg, #fff 0%, #f1f9f9 100%); }
.m-mark { width: 46px; height: 46px; border-radius: 12px; background: var(--teal); display: grid; place-items: center; flex: none; }
.m-mark img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.m-start small { color: var(--teal-dark); font-weight: 600; font-size: 11.5px; }
.m-start h4 { margin: 1px 0 2px; font-size: 19px; }
.m-start p { margin: 0; color: var(--muted); font-size: 12.5px; }
.m-start .go { margin-left: auto; height: 38px; padding: 0 18px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 700; display: flex; align-items: center; gap: 8px; transition: transform .15s, background .15s; }
.m-start .go.press, .m-press { transform: scale(.94); }
.m-start .go svg { width: 14px; height: 14px; }
.m-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.m-kpi { padding: 13px 15px; }
.m-kpi small { color: var(--muted); font-size: 11.5px; }
.m-kpi b { display: block; font-size: 21px; margin-top: 2px; letter-spacing: -.01em; transition: color .3s; }
.m-kpi b.flash { color: var(--green); }
.m-kpi .t { font-size: 11px; color: var(--quiet); }
.m-kpi .t.warn { color: #c07a12; }
.m-grid2 { display: grid; grid-template-columns: 1fr 1.35fr; gap: 14px; flex: 1; min-height: 0; }
.m-panel { padding: 14px 16px; }
.m-panel h5 { margin: 0 0 8px; font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; }
.m-panel h5 small { font-weight: 500; color: var(--teal-dark); font-size: 11.5px; }
.m-todo { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #eef2f3; font-size: 12.5px; }
.m-todo:first-of-type { border-top: 0; }
.m-tag { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; flex: none; }
.tg-o { background: var(--teal-tint); color: var(--teal-dark); }
.tg-c { background: var(--green-tint); color: #1d7d59; }
.tg-m { background: var(--amber-tint); color: #a8650b; }
.tg-p { background: #e8eef7; color: #3b5a8a; }
.m-todo span:last-child { margin-left: auto; color: var(--quiet); font-size: 11.5px; }
.m-row { display: grid; grid-template-columns: 92px 1fr 120px 74px; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #eef2f3; font-size: 12.5px; }
.m-row.hd { border-top: 0; color: var(--quiet); font-size: 11px; padding-top: 0; }
.m-row b { font-weight: 600; }
.m-bar { height: 6px; border-radius: 6px; background: #e8eeef; overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: 6px; background: var(--teal); }
.m-st { font-size: 11px; font-weight: 600; }
.st-ok { color: #1d7d59; } .st-w { color: #b06d0e; } .st-n { color: var(--teal-dark); }

/* AO console view */
.m-ao { display: grid; grid-template-columns: 1fr 292px; height: 100%; }
.m-chat { display: flex; flex-direction: column; min-width: 0; background: #fff; border-right: 1px solid var(--line); }
.m-chat-hd { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid #eef2f3; }
.m-back { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; transition: transform .15s; }
.m-back svg { width: 12px; height: 12px; transform: rotate(180deg); }
.m-tabs { display: flex; gap: 4px; margin-left: 8px; }
.m-tabs span { font-size: 12px; padding: 5px 10px; border-radius: 8px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.m-tabs span.on { background: var(--bg); color: var(--ink); font-weight: 600; }
.m-tabs em { font-style: normal; font-size: 10px; font-weight: 700; background: var(--amber); color: #fff; border-radius: 8px; min-width: 16px; padding: 0 4px; text-align: center; line-height: 16px; transition: transform .25s; }
.m-tabs em:empty { display: none; }
.m-ao-id { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.m-ao-id .av { width: 28px; height: 28px; border-radius: 8px; background: var(--teal); display: grid; place-items: center; }
.m-ao-id .av img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.m-ao-id .av svg, .m-msg .av svg { width: 20px; height: 20px; color: #fff; }
.m-ao-id b { display: block; font-size: 12.5px; }
.m-ao-id small { color: var(--quiet); font-size: 10.5px; }
.m-thread { flex: 1; min-height: 0; overflow: hidden; padding: 20px 40px 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.m-hello { text-align: center; color: var(--muted); margin: auto 0; transition: opacity .3s; }
.m-hello h4 { margin: 0 0 6px; color: var(--ink); font-size: 20px; }
.m-hello p { margin: 0; font-size: 12.5px; }
.m-msg { display: flex; gap: 10px; animation: msgIn .35s ease both; }
.m-msg.me { justify-content: flex-end; }
.m-bub { max-width: 72%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--nav); color: #fff; font-size: 13px; }
.m-bub .att { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, .12); font-size: 11.5px; }
.m-bub .att svg { width: 13px; height: 13px; }
.m-msg .av { width: 28px; height: 28px; border-radius: 8px; background: var(--teal); display: grid; place-items: center; flex: none; }
.m-msg .av img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.m-ai { flex: 1; min-width: 0; max-width: 560px; }
.m-steps { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.m-step { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); animation: msgIn .3s ease both; }
.m-step .ck { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cfe2e4; border-top-color: var(--teal); animation: spin .7s linear infinite; flex: none; }
.m-step.done .ck { animation: none; border: 0; background: var(--green-tint); position: relative; }
.m-step.done .ck::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.m-step.done { color: var(--ink); }
.m-typing { display: inline-flex; gap: 4px; padding: 9px 12px; border-radius: 12px; background: var(--bg); }
.m-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--quiet); animation: dot 1s infinite; }
.m-typing i:nth-child(2) { animation-delay: .15s; } .m-typing i:nth-child(3) { animation-delay: .3s; }
.m-doc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 10px 26px -12px rgba(16, 45, 52, .22); animation: docIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.m-doc-hd { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #f7fafa; border-bottom: 1px solid #eef2f3; }
.m-doc-hd b { font-size: 13.5px; }
.m-doc-hd small { color: var(--quiet); font-size: 11.5px; }
.m-chip { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--amber-tint); color: #a8650b; display: inline-flex; align-items: center; gap: 5px; transition: background .3s, color .3s; }
.m-chip.ok { background: var(--green-tint); color: #1d7d59; }
.m-doc-rows { padding: 6px 14px; }
.m-doc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed #e6edee; font-size: 12.5px; }
.m-doc-rows div:first-child { border-top: 0; }
.m-doc-rows span { color: var(--muted); }
.m-doc-ft { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid #eef2f3; }
.m-doc-ft p { margin: 0; color: var(--quiet); font-size: 11.5px; }
.m-doc-ft .b { height: 30px; padding: 0 14px; border-radius: 8px; font-size: 12px; font-weight: 600; display: flex; align-items: center; transition: transform .15s, opacity .3s; }
.m-doc-ft .b1 { margin-left: auto; border: 1px solid var(--line); color: var(--muted); }
.m-doc-ft .b2 { background: var(--teal); color: #fff; }
.m-doc.approved .m-doc-ft .b { opacity: .35; }
.m-done { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 12.5px; color: #1d7d59; animation: msgIn .3s ease both; }
.m-done svg { width: 16px; height: 16px; }
.m-composer { margin: 8px 24px 16px; border: 1.5px solid #c9dfe2; border-radius: 14px; padding: 10px 12px 10px 14px; display: flex; align-items: flex-end; gap: 10px; min-height: 64px; transition: border-color .2s, box-shadow .2s; }
.m-composer.focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13, 135, 150, .1); }
.m-input { flex: 1; min-height: 40px; font-size: 13px; color: var(--ink); }
.m-input .ph { color: var(--quiet); }
.m-input .att { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 4px 9px; border-radius: 8px; background: var(--teal-tint); color: var(--teal-dark); font-size: 11.5px; font-weight: 600; }
.m-input .att svg { width: 13px; height: 13px; }
.m-input .cr { display: inline-block; width: 1.5px; height: 15px; background: var(--teal); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.m-send { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; transition: transform .15s; }
.m-send svg { width: 15px; height: 15px; transform: rotate(-90deg); }
.m-quick { display: flex; gap: 6px; padding: 0 24px; }
.m-quick span { font-size: 11.5px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--muted); }

.m-today { padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; background: var(--bg); }
.m-today h5 { margin: 0; font-size: 13.5px; display: flex; justify-content: space-between; align-items: center; }
.m-today h5 small { color: var(--teal-dark); font-weight: 500; font-size: 11px; }
.m-tk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-tk div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.m-tk small { color: var(--muted); font-size: 10.5px; }
.m-tk b { display: block; font-size: 16px; transition: color .3s; }
.m-tk b.flash { color: var(--green); }
.m-sec { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 700; margin-top: 4px; }
.m-sec em { font-style: normal; font-size: 10.5px; background: var(--nav); color: #fff; border-radius: 8px; min-width: 18px; text-align: center; line-height: 18px; padding: 0 5px; }
.m-notice { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 11.5px; transition: opacity .5s, transform .5s, max-height .5s, padding .5s, margin .5s; max-height: 80px; overflow: hidden; }
.m-notice b { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.m-notice b i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.m-notice p { margin: 2px 0 0 13px; color: var(--muted); }
.m-notice.gone { opacity: 0; transform: translateX(20px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -10px; border-width: 0; }
.m-appr { background: #fff; border: 1px dashed #cfdcde; border-radius: 10px; padding: 10px; font-size: 11.5px; color: var(--quiet); text-align: center; }
.m-appr.has { border-style: solid; border-color: #f0d6a6; background: #fffaf1; color: var(--ink); text-align: left; animation: msgIn .3s ease both; }
.m-appr.has b { display: block; font-size: 12px; }

.m-toast { position: absolute; right: 18px; bottom: 18px; z-index: 5; display: flex; align-items: center; gap: 10px; background: var(--nav); color: #fff; border-radius: 12px; padding: 11px 16px; font-size: 12.5px; box-shadow: 0 14px 30px -10px rgba(16, 45, 52, .5); transform: translateY(16px); opacity: 0; transition: .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.m-toast.on { transform: none; opacity: 1; }
.m-toast svg { width: 16px; height: 16px; color: #7fd3c4; flex: none; }

.m-cursor { position: absolute; left: 0; top: 0; z-index: 9; width: 22px; height: 22px; pointer-events: none; transition: transform .8s cubic-bezier(.45, .05, .25, 1), opacity .3s; opacity: 0; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
.m-cursor.on { opacity: 1; }
.m-cursor.click::after { content: ""; position: absolute; left: -10px; top: -10px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--teal); animation: ripple .5s ease-out forwards; }

/* compact (phone) layout of the screen: no rail, no side panel */
.screen.compact { width: 620px; height: 760px; }
.screen.compact .m-app, .screen.compact .m-ao { grid-template-columns: 1fr; }
.screen.compact .m-rail, .screen.compact .m-today, .screen.compact .m-tabs, .screen.compact .m-quick, .screen.compact .m-create { display: none; }
.screen.compact .m-thread { padding: 16px 18px 8px; }
.screen.compact .m-composer { margin: 8px 14px 14px; }
.screen.compact .m-kpis { grid-template-columns: repeat(2, 1fr); }
.screen.compact .m-kpi:nth-child(5) { display: none; }
.screen.compact .m-grid2 { grid-template-columns: 1fr; }
.screen.compact .m-grid2 > :last-child { display: none; }
.screen.compact .m-start p { display: none; }
.screen.compact .m-ai { max-width: none; }
.screen.compact .m-bub { max-width: 88%; }

/* ---------- sections ---------- */
section.sec { padding: 104px 0; }
section.alt { background: var(--bg); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
:lang(zh-CN) .eyebrow { letter-spacing: .12em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin: 0 0 16px; }
:lang(zh-CN) h2 { letter-spacing: 0; line-height: 1.28; }
.sec-hd { max-width: 720px; margin-bottom: 52px; }
.sec-hd.c { text-align: center; margin-left: auto; margin-right: auto; }
.sec-hd p { color: var(--muted); font-size: 18px; margin: 0; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.fcard .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; margin-bottom: 16px; }
.fcard:nth-child(1) .num { background: var(--teal-tint); color: var(--teal-dark); }
.fcard:nth-child(2) .num { background: var(--amber-tint); color: #a8650b; }
.fcard:nth-child(3) .num { background: var(--green-tint); color: #1d7d59; }
.fcard h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.01em; }
.fcard p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.mini { margin-top: auto; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); padding: 14px; font-size: 13px; }
.mini-in { background: #fff; border: 1.5px solid #c9dfe2; border-radius: 12px; padding: 10px 12px; }
.mini-in .att { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; background: var(--teal-tint); color: var(--teal-dark); font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.mini-in .att svg { width: 13px; height: 13px; }
.mini-in p { margin: 0; font-size: 13px; color: var(--ink); }
.mini-ap { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mini-ap .h { display: flex; align-items: center; padding: 9px 12px; background: #f7fafa; font-weight: 700; font-size: 13px; }
.mini-ap .h span:last-child { margin-left: auto; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--amber-tint); color: #a8650b; }
.mini-ap .r { display: flex; justify-content: space-between; padding: 7px 12px; border-top: 1px dashed #e6edee; font-size: 12.5px; }
.mini-ap .r span { color: var(--muted); }
.mini-ap .f { display: flex; gap: 8px; justify-content: flex-end; padding: 9px 12px; border-top: 1px solid #eef2f3; }
.mini-ap .f i { font-style: normal; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.mini-ap .f i.y { background: var(--teal); border-color: var(--teal); color: #fff; }
.mini-log { display: flex; flex-direction: column; }
.mini-log div { display: grid; grid-template-columns: 46px 12px 1fr; gap: 10px; align-items: start; font-size: 12.5px; padding-bottom: 10px; position: relative; }
.mini-log div:last-child { padding-bottom: 0; }
.mini-log time { color: var(--quiet); font-size: 11.5px; padding-top: 1px; font-variant-numeric: tabular-nums; }
.mini-log i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-top: 5px; box-shadow: 0 0 0 3px var(--green-tint); }
.mini-log div:not(:last-child)::after { content: ""; position: absolute; left: 61px; top: 18px; bottom: 0; width: 2px; background: #dbe8e5; }
.mini-log b { font-weight: 600; }

/* patrol section */
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; color: var(--muted); font-size: 15.5px; }
.ticks li svg { width: 20px; height: 20px; flex: none; color: var(--teal); margin-top: 2px; }
.ticks b { color: var(--ink); }
.bellbox { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-big); padding: 18px; }
.bb-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bb-hd .bell { position: relative; width: 36px; height: 36px; border-radius: 10px; background: var(--nav); color: #fff; display: grid; place-items: center; }
.bb-hd .bell svg { width: 18px; height: 18px; transform-origin: 50% 2px; animation: ring 6s ease-in-out infinite; }
.bb-hd .bell em { position: absolute; top: -5px; right: -5px; background: var(--amber); color: #fff; font: 700 10px/16px var(--font); min-width: 16px; text-align: center; border-radius: 8px; border: 2px solid #fff; font-style: normal; }
.bb-hd b { font-size: 16px; }
.bb-hd small { display: block; color: var(--quiet); font-size: 12px; }
.bb-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.bb-tabs span { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.bb-tabs span.on { background: var(--nav); color: #fff; }
.bb-item { display: grid; grid-template-columns: 4px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 9px; background: #fff; }
.bb-item > i { align-self: stretch; border-radius: 4px; }
.bb-item b { display: block; font-size: 14px; }
.bb-item p { margin: 1px 0 0; font-size: 12.5px; color: var(--muted); }
.bb-item .acts { display: flex; gap: 6px; }
.bb-item .acts span { font-size: 11.5px; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.bb-item .acts span.h { border-color: var(--teal); color: var(--teal-dark); font-weight: 600; }
.bb-item.drag { animation: dragIt 6s ease-in-out infinite; position: relative; z-index: 2; }
.bb-chat { margin-top: 14px; border: 1.5px dashed #b9d8db; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--quiet); min-height: 66px; position: relative; overflow: hidden; }
.bb-chat .fill { position: absolute; inset: 12px 14px; color: var(--ink); opacity: 0; animation: fillIt 6s ease-in-out infinite; }
.bb-chat .ph { animation: phIt 6s ease-in-out infinite; }

/* modules */
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c8dfe1; }
.mod .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; }
.mod .ic svg { width: 20px; height: 20px; }
.mod h3 { margin: 0 0 6px; font-size: 17px; }
.mod p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.c1 { background: var(--teal-tint); color: var(--teal-dark); } .c2 { background: var(--amber-tint); color: #a8650b; } .c3 { background: var(--green-tint); color: #1d7d59; } .c4 { background: #e8eef7; color: #3b5a8a; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.fact b { display: block; font-size: 16px; margin-bottom: 4px; }
.fact p { margin: 0; color: var(--muted); font-size: 14px; }

/* closing */
.end { background: var(--nav); color: #fff; padding: 96px 0 40px; position: relative; overflow: hidden; }
.end-box { text-align: center; max-width: 760px; margin: 0 auto; position: relative; }
.end h2 { color: #fff; }
.end h2 .hl { color: #7fd3c4; }
.end p.sub { color: #a9c1c5; font-size: 18px; margin: 0; }
.end .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.end .btn-line:hover { border-color: #7fd3c4; color: #7fd3c4; }
.end .btn-primary { background: #fff; color: var(--nav); box-shadow: none; }
.end .btn-primary:hover { background: #e2f2f3; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 88px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); color: #84a1a6; font-size: 14px; }
.foot nav { display: flex; gap: 22px; }
.foot a:hover { color: #fff; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.hero .rv { transition-duration: .7s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes docIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(14deg); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(8deg); } 97% { transform: rotate(-4deg); } }
@keyframes dragIt { 0%, 18% { transform: none; box-shadow: none; } 30% { transform: translate(-6px, -6px) rotate(-1.5deg); box-shadow: 0 18px 30px -12px rgba(16, 45, 52, .35); } 52% { transform: translate(-6px, 132px) rotate(-1.5deg); box-shadow: 0 18px 30px -12px rgba(16, 45, 52, .35); opacity: 1; } 58% { transform: translate(-6px, 132px) scale(.92); opacity: 0; } 70% { transform: none; opacity: 0; } 82%, 100% { transform: none; opacity: 1; box-shadow: none; } }
@keyframes fillIt { 0%, 54% { opacity: 0; } 60%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes phIt { 0%, 54% { opacity: 1; } 58%, 94% { opacity: 0; } 100% { opacity: 1; } }

@media (max-width: 1020px) {
  .links { display: none; }
  .cards3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .mods { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .top .wrap { gap: 10px; height: 60px; }
  .logo img { height: 26px; }
  .top .btn-ghost { display: none; }
  .top .btn { padding: 8px 13px; font-size: 14px; }
  .hero { padding-top: 44px; }
  .scen { margin-top: 36px; width: 100%; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .scen::-webkit-scrollbar { display: none; }
  .scen button { padding: 8px 12px; font-size: 13.5px; flex: none; }
  .stage { padding-bottom: 48px; }
  section.sec { padding: 72px 0; }
  .sec-hd { margin-bottom: 36px; }
  .sec-hd p { font-size: 16px; }
  .mods, .facts { grid-template-columns: 1fr; }
  .bb-item { grid-template-columns: 4px 1fr; }
  .bb-item .acts { grid-column: 2; }
  .end { padding-top: 72px; }
  .foot { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim .rv { opacity: 1; transform: none; }
