/* BAILU CODE 产品页 —— 版式参考 OpenAI Codex 产品页
   白底黑字、中等字重标题、黑/灰胶囊按钮，界面卡片叠放在动态背景上。
   背景由 assets/js/codefield.js 用等宽字符和像素块绘制；只有首屏和结尾播放动画，其余为静态帧（data-static）。 */

/* 自托管字体，均为 SIL OFL 1.1
   - Inter：拉丁字母和数字。不接管 U+2000–206F，让中文里的引号、省略号、破折号用全角字形
   - Noto Sans SC：中文，按页面文案子集化（tools/subset-fonts.py），文案新增汉字后需重新生成
   - JetBrains Mono：代码 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2013, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans SC"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/noto-sans-sc-subset.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(../fonts/jetbrains-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0d0d0d;
  --ink-2: #3c3c43;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --line: rgba(0, 0, 0, .08);
  --gray: #f3f3f3;
  --gray-2: #ececec;
  --ok: #18a058;
  --err: #e5484d;
  --brand: #0181f8;
  --page: 1376px;
  --sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --r: 16px; /* 统一的容器圆角 */
  --mono: "JetBrains Mono", "Noto Sans SC", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; font-variant-ligatures: none; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code, pre, kbd { font-family: var(--mono); font-feature-settings: "liga" 0, "calt" 0; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
/* 中文字形本身是满格设计，大幅负字距会挤；标题只留 -0.01em，正文和小标题不收字距 */
h1, h2, h3 { font-weight: 500; letter-spacing: 0; }
/* 大标题用 400：中文字形在 50px 以上时 500 已显得偏粗 */
.hero h1, .sec__title, .final h2 { font-weight: 400; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.g { color: var(--ok); } .r { color: var(--err); }
em { font-style: normal; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .2s, opacity .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #333; }
.btn--gray { background: var(--gray); }
.btn--gray:hover { background: var(--gray-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e6eeff; }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .18); }
.btn--sm { height: 36px; padding: 0 16px; }
.btn--block { width: 100%; height: 40px; }
.btn--mono { font-family: var(--mono); font-size: 12.5px; gap: 10px; }
.btn--mono svg { width: 14px; height: 14px; }
.i-ne { width: 11px; height: 11px; }
.link-u { display: inline-block; font-size: 16px; padding-bottom: 2px; border-bottom: 1px solid currentColor; transition: opacity .2s; }
.link-u:hover { opacity: .6; }

/* ---------- 导航 ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav__in { max-width: 1440px; margin: 0 auto; height: 64px; padding: 0 32px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; user-select: none; -webkit-user-select: none; }
.brand img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.nav__links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav__links a:hover { opacity: .6; }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 36px; height: 36px; position: relative; margin-left: 4px; }
.burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.burger i:first-child { top: 14px; } .burger i:last-child { top: 21px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { display: flex; flex-direction: column; padding: 8px 24px 24px; background: #fff; }
.sheet[hidden] { display: none; }
.sheet a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: 96px; }
.hero__bg { position: absolute; inset: -64px 0 auto; height: calc(100% - 300px + 64px); z-index: -1; background: radial-gradient(70% 55% at 50% 0%, #e9f2ff 0%, rgba(233, 242, 255, 0) 100%), #fff; }
.hero .hero__bg .cf { position: absolute; inset: 0; background: none; }
.hero__bg::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.appicon { width: 72px; height: 72px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px -8px rgba(10, 40, 120, .3); }
.hero h1 { margin-top: 36px; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.2; letter-spacing: -0.01em; }
.hero__sub { margin-top: 18px; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); }
.cta { margin-top: 32px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero__works { margin-top: 72px; font-size: 16px; color: var(--ink-2); }
/* 环境 logo 无限滚动 */
.marquee { --gap: 96px; margin-top: 40px; width: calc(100% + 48px); max-width: 1320px; display: flex; gap: var(--gap); overflow: hidden; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee__group { flex: none; min-width: 100%; display: flex; align-items: center; justify-content: space-around; gap: var(--gap); animation: marquee 32s linear infinite; }
.marquee:hover .marquee__group { animation-play-state: paused; }
.marquee li { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: #111; white-space: nowrap; }
.marquee img { width: 32px; height: 32px; flex: none; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
.br-m { display: none; }

/* 应用截图 */
.shot { max-width: 1072px; margin: 96px auto 0; padding: 0 16px; }
.app { background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 30px 80px -30px rgba(15, 40, 100, .35); overflow: hidden; font-size: 12.5px; color: var(--ink); }
.app__bar { height: 34px; display: flex; align-items: center; gap: 22px; padding: 0 0 0 14px; background: #fafafa; border-bottom: 1px solid var(--line); color: var(--faint); }
.app__tools { display: inline-flex; gap: 12px; }
.app__tools svg { width: 14px; height: 14px; }
.app__title { font-size: 11.5px; color: var(--muted); }
/* Windows 窗口按钮 */
.winctl { margin-left: auto; display: flex; height: 100%; color: var(--ink-2); }
.winctl svg { width: 44px; height: 100%; padding: 12px 17px; }
.app__body { display: grid; grid-template-columns: 40px 208px minmax(0, 1fr); height: 540px; }
.rail { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 12px 0; border-right: 1px solid var(--line); color: #8a8a8e; }
.rail__logo { width: 26px; height: 26px; border-radius: 8px; background: var(--gray); display: grid; place-items: center; }
.ri svg { width: 15px; height: 15px; }
.rail__sep { width: 16px; height: 1px; background: var(--line); }
.side { padding: 12px 10px; background: #fbfbfb; border-right: 1px solid var(--line); overflow: hidden; }
.side__head { display: flex; align-items: center; gap: 4px; padding: 4px 6px 10px; }
.side__head b { font-weight: 600; font-size: 13px; }
.side__head svg { width: 12px; color: var(--faint); }
.side__new { display: flex; align-items: center; gap: 8px; padding: 6px; }
.side__new svg { width: 14px; height: 14px; }
.side__label { padding: 18px 6px 6px; font-size: 11.5px; color: var(--faint); }
.side__list li { position: relative; padding: 6px 22px 6px 6px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__list li em { color: var(--faint); margin-left: 3px; }
.side__list .unread { position: absolute; right: 8px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--brand); }
.side__list .more { color: var(--faint); }
.side__proj li { display: flex; align-items: center; gap: 8px; }
.side__proj svg { width: 14px; height: 14px; color: #6e6e73; }
.main { display: flex; flex-direction: column; align-items: center; padding: 0 32px 22px; }
.main__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.main__empty p { font-size: 20px; }
.sugg { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.sugg li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--muted); }
.sg { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; color: #fff; }
.sg svg { width: 12px; height: 12px; }
.sg--git { background: #24292f; } .sg--img { background: #0181f8; } .sg--shield { background: #18a058; }
.composer { width: 100%; max-width: 580px; border-radius: 16px; background: var(--gray); padding: 4px; }
.composer__top { display: flex; gap: 16px; padding: 5px 10px 7px; font-size: 11.5px; color: var(--muted); }
.composer__top span { display: inline-flex; align-items: center; gap: 5px; }
.composer__top svg { width: 13px; height: 13px; }
.chev { width: 10px !important; height: 10px !important; }
.composer__box { background: #fff; border-radius: 13px; box-shadow: 0 0 0 1px var(--line); padding: 12px 12px 10px 14px; }
.composer__in { min-height: 20px; font-size: 13px; color: var(--ink); }
.composer__in #typed:empty::before { content: "让 BAILU CODE 做点什么"; color: var(--faint); }
.caret { display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer__row { margin-top: 14px; display: flex; align-items: center; gap: 14px; color: var(--muted); }
.composer__add { font-size: 17px; line-height: 1; }
.composer__model { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink); }
.composer__model em { color: var(--faint); }
.composer__mic svg { width: 14px; height: 14px; }
.composer__send { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.composer__send svg { width: 13px; height: 13px; }

/* ---------- 区块 ---------- */
.sec { max-width: 1440px; margin: 0 auto; padding: 160px 32px 0; }
.sec--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec__title { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.25; letter-spacing: -0.01em; text-align: center; }
.sec__lead { max-width: 640px; margin: 24px auto 32px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
#features .sec__title { margin-bottom: 40px; }

/* ---------- 功能行 ---------- */
.row { display: grid; grid-template-columns: minmax(0, 896fr) minmax(0, 448fr); gap: 32px; align-items: end; padding: 40px 0; }
.row--rev { grid-template-columns: minmax(0, 448fr) minmax(0, 896fr); }
.row--rev .row__media { order: 2; }
.row__text { padding-bottom: 4px; max-width: 432px; }
.row--rev .row__text { justify-self: start; }
.row__text h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.35; }
.row__text p { margin-top: 20px; font-size: 17px; line-height: 1.8; color: var(--ink); }
.row__media { position: relative; aspect-ratio: 896 / 560; overflow: hidden; isolation: isolate; border-radius: var(--r); }
.row__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }

/* 代码字符场画布（assets/js/codefield.js）的底色 */
.cf { display: block; width: 100%; height: 100%; }
.cf[data-theme="dark"] { background: radial-gradient(110% 100% at 85% 0%, #0d2a6e 0%, #050c22 55%, #03081a 100%); }
.cf[data-theme="dark-violet"] { background: radial-gradient(110% 100% at 12% 0%, #221d72 0%, #0a0a28 55%, #06061a 100%); }
.cf[data-theme="dark-cyan"] { background: radial-gradient(110% 100% at 50% 50%, #08385c 0%, #04131f 60%, #030b14 100%); }
.cf[data-theme="dark-dusk"] { background: radial-gradient(110% 100% at 90% 100%, #3a2466 0%, #0d0a26 58%, #07061a 100%); }
.cf[data-theme="light"] { background: linear-gradient(160deg, #f5f9ff, #e8f0ff); }
.cf[data-theme="light-violet"] { background: linear-gradient(160deg, #f8f6ff, #ece8ff); }
.cf[data-theme="light-cyan"] { background: linear-gradient(160deg, #f2fbff, #e2f3ff); }

/* 叠放的界面卡片 */
.ui { position: absolute; border-radius: var(--r); background: rgba(255, 255, 255, .93); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), 0 24px 60px -24px rgba(20, 40, 120, .35); color: var(--ink); text-align: left; }
.ui code { font-size: .88em; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .05); }

.ui-task { left: 7%; top: 9%; width: 60%; bottom: -8%; padding: 24px 26px; }
.ui-task__head { display: flex; align-items: center; gap: 12px; }
.ui-task__head b { font-size: 17px; font-weight: 500; }
.ui-task__head span { color: var(--faint); letter-spacing: 2px; }
.ui-task__ask { margin: 22px 0 0 auto; width: fit-content; max-width: 92%; padding: 12px 16px; border-radius: 16px; background: rgba(0, 0, 0, .045); font-size: 15px; line-height: 1.6; }
.ui-task__time { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--faint); }
.ui-task__time svg { width: 12px; height: 12px; }
.ui-task__msg { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.ui-task__msg--dim { color: var(--faint); }
.ui-files { right: 4%; top: 46%; width: 46%; padding: 8px 0; background: #fff; backdrop-filter: none; }
.ui-files__head { display: flex; align-items: center; gap: 14px; padding: 14px 18px 16px; border-bottom: 1px solid var(--line); }
.ui-files__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--gray); display: grid; place-items: center; color: #555; }
.ui-files__ico svg { width: 22px; height: 22px; }
.ui-files__head b { display: block; font-size: 17px; font-weight: 500; }
.ui-files__head > div > span { font-size: 17px; }
.ui-files__btn { margin-left: auto; padding: 9px 16px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); font-size: 15px; }
.ui-files__row { display: flex; justify-content: space-between; gap: 10px; padding: 14px 18px; font-size: 14.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.ui-files__row b { font-weight: 500; color: var(--ink); }
.ui-files__row--more { border-bottom: 0; }

.ui-ask { left: 10%; right: 10%; top: 11%; padding: 22px 24px; }
.ui-ask__q { margin-left: auto; width: fit-content; max-width: 86%; padding: 12px 16px; border-radius: 16px; background: rgba(0, 0, 0, .045); font-size: 15px; }
.ui-ask__a { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.ui-ask__meta { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); font-size: 14px; }
.ui-ask__meta svg { width: 14px; height: 14px; }
.ui-ask__refs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ui-ask__refs span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.ui-ask__refs i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.ui-ask__refs i.w { background: #e5a000; }

.ui-mm { left: 8%; top: 10%; width: 54%; padding: 14px; }
.ui-mm__shot { border-radius: 12px; overflow: hidden; background: #0e121b; }
.mm-bar { display: flex; gap: 6px; padding: 10px 12px; background: #151a25; }
.mm-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2a3140; }
.mm-body { position: relative; padding: 16px 18px 22px; }
.mm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mm-kpis span { height: 38px; border-radius: 8px; background: #161c29; }
.mm-chart { margin-top: 16px; width: 100%; height: 110px; background: repeating-linear-gradient(0deg, #141a26 0 1px, transparent 1px 28px); border-radius: 8px; }
.mm-ring { position: absolute; left: 34%; top: 46%; width: 44%; height: 48%; border-radius: 50%; border: 2.5px solid #ff7a45; box-shadow: 0 0 0 5px rgba(255, 122, 69, .2); }
.ui-mm__ask { margin: 14px auto 4px 4px; width: fit-content; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .045); font-size: 15px; }
.ui-fix { right: 4%; bottom: 6%; width: 46%; padding: 20px 22px; background: #fff; backdrop-filter: none; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.ui-fix b { font-weight: 500; color: var(--ink); }
.ui-fix__diff { margin-top: 14px; display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-size: 13px; }
.ui-fix__diff span { padding: 5px 10px; border-radius: 7px; }
.ui-fix__diff .r { background: rgba(229, 72, 77, .08); } .ui-fix__diff .g { background: rgba(24, 160, 88, .09); }

.ui-set { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(78%, 470px); padding: 22px 22px 10px; }
.ui-set__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ui-set__head b { font-size: 17px; font-weight: 500; }
.ui-set__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .05); }
.ui-set__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.ui-set__opt { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; margin-bottom: 8px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px var(--line); }
.ui-set__opt.is-on { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.ui-set__opt b { display: block; font-size: 15px; font-weight: 500; }
.ui-set__opt small { font-size: 13px; color: var(--muted); }
.radio { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c7c7cc; flex: none; }
.is-on .radio { box-shadow: inset 0 0 0 5px var(--ink); }
.ui-set__line { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; border-top: 1px solid var(--line); font-size: 15px; }
.ui-set__opt + .ui-set__line { margin-top: 8px; }
.tog { width: 36px; height: 22px; border-radius: 999px; background: #d9d9de; position: relative; }
.tog::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s; }
.tog.is-on { background: var(--ink); }
.tog.is-on::after { transform: translateX(14px); }

/* ---------- 模型 ---------- */
.models { margin-top: 64px; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; }
.model { background: var(--gray); border-radius: var(--r); overflow: hidden; }
.model__art { position: relative; aspect-ratio: 5 / 3; overflow: hidden; }
.model__art .cf { position: absolute; inset: 0; }
.model__tag, .model__spec { position: absolute; left: 16px; padding: 4px 10px; border-radius: 8px; background: rgba(3, 8, 26, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-family: var(--mono); letter-spacing: .02em; pointer-events: none; }
.model__tag { top: 14px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.model__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 2px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.model__spec { bottom: 14px; font-size: 12px; color: rgba(255, 255, 255, .62); }
.model__body { padding: 28px 32px 32px; }
.model__body h3 { font-size: 22px; }
.model__body p { margin-top: 10px; font-size: 16px; line-height: 1.75; color: var(--ink-2); min-height: 3.5em; }
.model__body dl { margin-top: 24px; display: grid; gap: 10px; font-size: 14px; }
.model__body dl div { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.model__body dt { color: var(--muted); }

/* ---------- 工具 ---------- */
.tools { margin-top: 72px; width: 100%; max-width: 1240px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tools li { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); }
.tool { width: 80px; height: 80px; border-radius: 22px; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -14px rgba(20, 40, 120, .3); transition: transform .3s var(--ease); }
.tool img { width: 40px; height: 40px; }
.tools li:hover .tool { transform: translateY(-4px); }

/* ---------- 产品卡片 ---------- */
#surfaces .btn--ink:not(.btn--block) { margin-top: 0; }
#surfaces .sec__lead { margin-bottom: 28px; }
.cards { margin-top: 48px; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: left; }
.card { display: flex; flex-direction: column; padding: 8px 8px 20px; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); background: #fff; }
.card__art { position: relative; aspect-ratio: 306 / 250; overflow: hidden; isolation: isolate; display: grid; place-items: center; padding: 18px; border-radius: calc(var(--r) - 8px); }
.card__art .cf { position: absolute; inset: 0; z-index: -1; }
.card h3 { margin: 22px 12px 26px; font-size: 22px; }
.card .btn { margin: auto 12px 0; width: calc(100% - 24px); }
.mini { width: 100%; border-radius: 12px; background: rgba(255, 255, 255, .86); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 14px 30px -14px rgba(20, 40, 120, .4); font-size: 11px; color: var(--ink-2); overflow: hidden; }
.mini-desk { display: grid; grid-template-columns: 1.2fr 1fr; height: 82%; }
.mini-desk__side { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-right: 1px solid var(--line); background: rgba(250, 250, 250, .8); }
.mini-desk__side b { font-size: 11px; font-weight: 600; padding: 2px 6px 6px; color: var(--ink); }
.mini-desk__side span { padding: 5px 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-desk__side .on { background: rgba(0, 0, 0, .06); color: var(--ink); }
.mini-desk__main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 1.8px solid rgba(0, 0, 0, .12); border-top-color: var(--ink); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mini-ide { padding: 6px; }
.mini-ide__head { display: flex; justify-content: space-between; padding: 6px 8px 8px; color: var(--muted); }
.mini-ide__f { padding: 7px 8px; border-radius: 6px; background: #fff; margin-bottom: 4px; box-shadow: 0 0 0 1px var(--line); }
.mini-ide__in { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; padding: 12px 10px; border-radius: 10px; background: #fff; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .2); font-size: 12px; color: var(--ink); }
.mini-ide__in i { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 11px; }
.mini-cli pre { margin: 0; padding: 14px; font-size: 11px; line-height: 1.75; color: var(--ink); white-space: pre; overflow: hidden; }
.mini-cli .d { color: var(--faint); }
.mini-cli b { font-weight: 600; }
.mini-cli .caret { height: 11px; }
.mini-ent { width: 78%; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-ent small { padding: 2px 6px 4px; color: var(--muted); }
.mini-ent span { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 8px; font-size: 12.5px; color: var(--muted); }
.mini-ent span svg { width: 15px; height: 15px; }
.mini-ent .on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.mini-ent i { margin-left: auto; font-style: normal; }

/* ---------- 收尾 ---------- */
.final { position: relative; isolation: isolate; margin-top: 160px; overflow: hidden; color: #fff; background: #03081a; scroll-margin-top: 64px; }
.final > .cf { position: absolute; inset: 0; z-index: -1; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(3, 8, 26, .94) 0%, rgba(3, 8, 26, .78) 40%, rgba(3, 8, 26, .25) 100%); }
.final__in { max-width: 1440px; margin: 0 auto; padding: 120px 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: center; }
.final h2 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.01em; line-height: 1.25; }
.final__text > p { margin-top: 20px; max-width: 480px; font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, .72); }
.final__points { margin-top: 28px; display: grid; gap: 12px; font-size: 16px; }
.final__points li { display: flex; align-items: center; gap: 12px; }
.final__points li::before { content: ""; width: 14px; height: 8px; margin-top: -4px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); flex: none; opacity: .8; }
.final__text > .final__mail { margin-top: 32px; font-size: 15px; }
.final__mail a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.nw { white-space: nowrap; }

/* 预约表单 */
.lead { padding: 28px; border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.lead label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.lead__full { grid-column: 1 / -1; }
.lead input, .lead select, .lead textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 10px 12px; border: 0; border-radius: 10px; background: var(--gray); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background .2s; }
.lead textarea { resize: vertical; min-height: 84px; }
.lead select { appearance: none; -webkit-appearance: none; padding-right: 32px; background: var(--gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5 9 4.5' fill='none' stroke='%236e6e73' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; }
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.lead [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--err); }
.lead .btn { height: 44px; }
.lead .btn[disabled] { opacity: .5; cursor: default; }
.lead__status { margin-top: 12px; min-height: 1.4em; font-size: 13px; color: var(--muted); text-align: center; }
.lead__status.is-err { color: var(--err); }
.lead__status.is-ok { color: var(--ok); }

/* ---------- 客户与数据 ---------- */
.trust { max-width: 1240px; margin: 0 auto; padding: 120px 32px 0; text-align: center; }
.trust__label { font-size: 15px; color: var(--muted); }
.trust__logos { margin-top: 32px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: center; }
.trust__logos li { height: 48px; display: grid; place-items: center; }
.trust__logos img { max-height: 28px; width: auto; opacity: .7; filter: grayscale(1); }
.stats { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats div { padding: 32px 16px 0; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.stats dd { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* 占位：上线前必须替换，虚线框便于发现 */
.ph { color: var(--faint) !important; font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0 !important; border: 1px dashed #c7c7cc; border-radius: 10px; }
.stats dt.ph { display: inline-block; padding: 14px 18px; line-height: 1.4; }

/* ---------- 企业部署 ---------- */
.deploy { margin-top: 64px; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; }
.deploy__item { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r); background: var(--gray); }
.deploy__ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.deploy__ico svg { width: 22px; height: 22px; }
.deploy__item h3 { margin-top: 28px; font-size: 22px; }
.deploy__item p { margin-top: 10px; font-size: 16px; line-height: 1.75; color: var(--ink-2); flex: 1; }
.deploy__tag { margin-top: 24px; align-self: flex-start; font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 4px 10px; border-radius: 8px; background: #fff; }

/* ---------- 安全与治理 ---------- */
.gov-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding-top: 8px; border-top: 1px solid var(--line); }
.gov-intro { padding-top: 32px; }
.sec__title--left { text-align: left; }
.gov-intro p { margin: 20px 0 28px; max-width: 380px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.gov { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.gov li { padding: 32px 0 28px; border-bottom: 1px solid var(--line); }
.gov h3 { font-size: 18px; }
.gov p { margin-top: 8px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.certs { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.certs li { padding: 10px 16px; font-size: 14px; }

/* ---------- 页脚 ---------- */
.foot { max-width: 1440px; margin: 0 auto; padding: 120px 32px 40px; font-size: 14px; }
.foot__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.foot__cols div { display: flex; flex-direction: column; gap: 14px; }
.foot__cols h4 { margin: 0 0 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
.foot__cols a:hover { opacity: .6; }
.foot__bar { margin-top: 96px; display: flex; align-items: center; justify-content: space-between; color: var(--ink-2); }
.foot__bar .brand { font-size: 15px; }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.foot__legal a:hover { color: var(--ink); }
.ph-link { border-bottom: 1px dashed #c7c7cc; } /* TODO 占位链接，替换后删除此类 */

/* ---------- 进场 ---------- */
.rise { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marquee { --gap: 72px; }
  .marquee li { font-size: 22px; } .marquee img { width: 28px; height: 28px; }
  .ui-task__msg--dim { display: none; }
  .gov-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .final__in { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 96px 32px; }
  .lead { max-width: 640px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__end .btn--gray { display: none; }
  .burger { display: block; }
  .row, .row--rev { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 0; }
  .row--rev .row__media { order: 0; }
  .row__media { aspect-ratio: 4 / 3.4; }
  .models { grid-template-columns: minmax(0, 1fr); }
  .tools { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .app__body { grid-template-columns: 40px minmax(0, 1fr); }
  .side { display: none; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .sec { padding-top: 112px; }
  .trust { padding-top: 96px; }
  .trust__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deploy { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .foot__bar { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 600px) {
  .nav__in { padding: 0 20px; }
  .sec { padding: 96px 20px 0; }
  .hero { padding-top: 64px; }
  .br-m { display: inline; }
  .cta { width: 100%; padding: 0 4px; flex-direction: column; }
  .cta .btn { height: 44px; }
  .marquee { --gap: 48px; margin-top: 28px; }
  .marquee__group { animation-duration: 22s; }
  .marquee li { font-size: 18px; gap: 8px; } .marquee img { width: 22px; height: 22px; }
  .shot { margin-top: 64px; padding: 0 12px; }
  .app__body { grid-template-columns: minmax(0, 1fr); height: 470px; }
  .rail { display: none; }
  .main { padding: 0 14px 14px; }
  .sugg li:nth-child(3) { display: none; }
  .row__media { aspect-ratio: auto; height: 460px; }
  .ui-task { left: 5%; right: 5%; width: auto; top: 5%; bottom: auto; padding: 18px; }
  .ui-task__msg { display: none; }
  .ui-files { left: 5%; right: 5%; width: auto; top: auto; bottom: 5%; }
  .ui-files__row:nth-child(3) { display: none; }
  .ui-ask { left: 5%; right: 5%; top: 5%; padding: 18px; }
  .ui-ask__a p:last-child { display: none; }
  .ui-mm { left: 5%; width: 80%; top: 5%; }
  .ui-fix { left: 12%; right: 5%; width: auto; bottom: 5%; }
  .ui-set { width: 90%; }
  .ui, .ui-task__ask, .ui-ask__q, .ui-ask__a, .ui-fix, .ui-set__line, .ui-mm__ask { font-size: 14px; }
  .tools { grid-template-columns: repeat(3, 1fr); }
  .tool { width: 64px; height: 64px; border-radius: 18px; }
  .tool img { width: 32px; height: 32px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .final { margin-top: 112px; }
  .final__in { padding: 80px 20px; }
  .lead { padding: 20px; }
  .lead__grid { grid-template-columns: minmax(0, 1fr); }
  .trust { padding: 80px 20px 0; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stats div { padding: 24px 0; }
  .gov { grid-template-columns: minmax(0, 1fr); }
  .certs { justify-content: flex-start; }
  .deploy__item { padding: 24px; }
  .foot { padding: 96px 20px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; }
}
