/* ═══════════════════════════════════════════════════════════════════════════
   Xree 官网 · 视觉与设计系统（2026-11 旗舰版）
   ───────────────────────────────────────────────────────────────────────────
   审美基调：Quiet Precision — 暖石膏白画布 × 黑曜石暗舞台 × 真实产品视觉体系
   · 品牌标识：采用 Xree 现役四瓣有机四叶草标识（真实资产）
   · 展示配图：5 幅统一光影语汇的定制 3D/建筑视觉配图（零粗糙占位）
   · 软件预览：100% 还原现役生产系统真实视觉语言——
       1) Xree 客户端：ZCode 中性深灰 (#262626/#161616) + 灵动岛 + Chrome 平台标签 + 暖米发送钮
       2) ID 群：钛金终端 + 实时群消息流 + 可点击指令演练
       3) 代理门户：「夜航 Nocturne」午夜墨底 + 极光雾 + 磨砂玻璃 + 金箔衬线数字
       4) 人事后台：Hall-HR 纯白画布 + 暖灰侧栏 + 2px 赭橙选中线 + 衬线概览标题
   · 零构建 / 零 CDN / 零内联 style / 严格 CSP 兼容 / 全量服从 prefers-reduced-motion
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── 暖石膏画布与墨色 ── */
  --bg: #f8f6f1;
  --bg-2: #f1eee7;
  --bg-3: #e7e3da;
  --surface: #ffffff;
  --ink: #141312;
  --ink-2: #4c4a45;
  --ink-3: #837f78;
  --line: rgba(20, 19, 18, 0.085);
  --line-2: rgba(20, 19, 18, 0.15);

  /* ── 品牌强调色 ── */
  --link: #0b63d6;
  --ember: #f26336;
  --ember-hi: #ff8559;
  --ember-soft: rgba(242, 99, 54, 0.12);
  --bronze: #c96442;
  --ok: #1f9d62;

  /* ── 黑曜石舞台（与定制暗景图角部色阶无缝融合） ── */
  --night: #050507;
  --night-2: #0f1014;
  --night-3: #17181e;
  --night-line: rgba(255, 255, 255, 0.09);
  --night-line-2: rgba(255, 255, 255, 0.16);
  --night-ink: #f5f4f0;
  --night-ink-2: #a5a4ac;
  --night-ink-3: #6e6d76;

  /* ── 字体栈（纯系统高质感字体，零外链） ── */
  --sans: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Songti SC", "Noto Serif SC", serif;
  --mono: "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, monospace;

  /* ── 尺度与阴影 ── */
  --wrap: 1140px;
  --wrap-wide: 1280px;
  --radius: 22px;
  --radius-lg: 30px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --spring: cubic-bezier(0.32, 0.72, 0.35, 1.15);
  --shadow-1: 0 1px 2px rgba(20, 19, 18, 0.04), 0 10px 28px -14px rgba(20, 19, 18, 0.14);
  --shadow-2: 0 4px 12px rgba(20, 19, 18, 0.05), 0 32px 64px -30px rgba(20, 19, 18, 0.26);
  --shadow-3: 0 48px 100px -36px rgba(10, 9, 8, 0.42), 0 18px 40px -18px rgba(10, 9, 8, 0.22);
}

/* ───────────────────────── 基础重置 ───────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.display, .h2, .h3, .lede { text-wrap: balance; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  letter-spacing: -0.004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: rgba(242, 99, 54, 0.18); color: var(--ink); }
.night ::selection { background: rgba(242, 99, 54, 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin: 0 auto; }
.wrap-wide { width: min(100% - 48px, var(--wrap-wide)); margin: 0 auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────────────────────── 排版体系 ───────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.eyebrow-pill {
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--ink-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px -4px rgba(20, 19, 18, 0.08);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(242, 99, 54, 0.18);
}
.display {
  font-size: clamp(42px, 6.8vw, 88px);
  line-height: 1.05;
  font-weight: 680;
  letter-spacing: -0.036em;
}
.h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.09;
  font-weight: 660;
  letter-spacing: -0.03em;
}
.h3 {
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.24;
  font-weight: 620;
  letter-spacing: -0.018em;
}
.lede {
  font-size: clamp(17px, 1.75vw, 21px);
  line-height: 1.58;
  color: var(--ink-2);
  letter-spacing: -0.008em;
}
.muted { color: var(--ink-3); }
.serif { font-family: var(--serif); font-weight: 500; font-style: italic; letter-spacing: -0.01em; }
.gradient-ink {
  background: linear-gradient(104deg, var(--ink) 24%, #5e554d 72%, #8b6a56 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stage-caption {
  margin-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}
.night .stage-caption { color: var(--night-ink-3); }

/* ───────────────────────── 按钮与交互链 ───────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 580;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
    border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.975); }
.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(20, 19, 18, 0.55);
}
.btn-dark:hover { background: #292724; color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(20, 19, 18, 0.65); }
.btn-light {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: #fff; border-color: rgba(20, 19, 18, 0.34); color: var(--ink); transform: translateY(-1px); }
.btn-ember {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(242, 99, 54, 0.65);
}
.btn-ember:hover { background: #e15429; color: #fff; transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 18px; font-size: 13.5px; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  font-weight: 560;
  color: var(--ink);
}
.link-arrow::after {
  content: "→";
  font-size: 1.05em;
  line-height: 1;
  transition: transform 220ms var(--ease);
}
.link-arrow:hover { text-decoration: none; color: var(--ember); }
.link-arrow:hover::after { transform: translateX(4px); }
.night .link-arrow { color: #ffab8c; }
.night .link-arrow:hover { color: #ffd1be; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.center .cta-row { justify-content: center; }

/* ───────────────────────── 吸顶导航 ───────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 64px;
  background: rgba(248, 246, 241, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(248, 246, 241, 0.9);
  box-shadow: 0 4px 24px -18px rgba(20, 19, 18, 0.18);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  padding: 5px;
  box-shadow: 0 4px 12px -4px rgba(20, 19, 18, 0.35);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0 auto 0 16px; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 520;
  padding: 6px 0;
  transition: color 180ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--ember);
  border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-actions .nav-login { color: var(--ink-2); font-size: 14px; font-weight: 540; }
.nav-actions .nav-login:hover { color: var(--ink); text-decoration: none; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform 240ms var(--ease), opacity 200ms; }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ───────────────────────── 区块节奏 ───────────────────────── */

.section { position: relative; padding: clamp(92px, 11vw, 152px) 0; }
.section-tight { position: relative; padding: clamp(68px, 8vw, 112px) 0; }
.section-head { max-width: 820px; }
.section-head.center { margin: 0 auto; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .lede { margin-top: 20px; }
.bg-2 { background: var(--bg-2); }

/* ───────────────────────── 首屏（定制建筑声波配图 + 真实客户端舞台） ───────────────────────── */

.hero {
  position: relative;
  padding: clamp(68px, 8.5vw, 116px) 0 clamp(60px, 7vw, 96px);
  overflow: hidden;
}
.hero-art-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(820px, 88%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-art-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  opacity: 0.86;
}
.hero-art-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 246, 241, 0.72) 0%, rgba(248, 246, 241, 0.22) 34%, rgba(248, 246, 241, 0.1) 66%, var(--bg) 100%),
    radial-gradient(52% 48% at 50% 24%, rgba(248, 246, 241, 0.78), transparent 72%);
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-copy .lede { max-width: 630px; margin: 24px auto 0; }
.hero-copy .cta-row { justify-content: center; margin-top: 36px; }
.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-3);
}
.hero-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); opacity: 0.6; }

/* 首屏组合舞台：左侧真实 Xree 深色桌面端 + 右侧并排钛金 ID 群手机（零遮挡） */
.hero-stage-wrap { position: relative; z-index: 2; margin-top: clamp(44px, 5.5vw, 68px); }
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 22px;
  align-items: end;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-stage .hero-phone-float {
  position: relative;
  width: 292px;
  z-index: 5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   真实产品界面 #1 · Xree 桌面客户端（100% 还原 look-probe ZCode 深色体系）
   ═══════════════════════════════════════════════════════════════════════════ */

.xree-app {
  position: relative;
  border-radius: 16px;
  background: #262626;
  color: #d4d4d4;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    0 52px 104px -36px rgba(10, 9, 8, 0.56),
    0 20px 44px -18px rgba(10, 9, 8, 0.34),
    0 0 0 1px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.xree-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 6px 0 16px;
  background: #262626;
  user-select: none;
}
.xree-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e2e2;
  letter-spacing: -0.01em;
}
.xree-brand img { width: 17px; height: 17px; object-fit: contain; }
.xree-win-hint {
  font-size: 11px;
  color: #7c7c7c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.xree-win-hint i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a8c3a0;
}
.xree-win-btns {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #8f8f8f;
}
.xree-win-btns span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 28px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
}
.xree-win-btns span:last-child { font-size: 14px; }

.xree-shell {
  display: grid;
  grid-template-columns: 186px 1fr;
  min-height: 506px;
  background: #262626;
}
.xree-side {
  display: flex;
  flex-direction: column;
  padding: 6px 10px 14px;
  gap: 2px;
}
.xree-nav-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(212, 212, 212, 0.64);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease;
}
.xree-nav-btn:hover { background: rgba(255, 255, 255, 0.05); color: #e8e8e8; }
.xree-nav-btn.is-active { background: rgba(255, 255, 255, 0.1); color: #f2f2f2; font-weight: 600; }
.xree-nav-btn svg { width: 15px; height: 15px; flex: 0 0 auto; opacity: 0.85; }
.xree-nav-badge {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(168, 195, 160, 0.16);
  color: #a8c3a0;
  font-size: 10.5px;
  font-family: var(--mono);
}

.xree-side-sep {
  margin: 14px 10px 6px;
  font-size: 11px;
  color: #707070;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.xree-recent {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 7px;
}
.xree-recent-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #333333;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 10.5px;
  color: #b5b5b5;
  flex: 0 0 auto;
}
.xree-recent-meta { min-width: 0; }
.xree-recent-meta b { display: block; font-size: 12px; font-weight: 500; color: #cfcfcf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xree-recent-meta span { display: block; font-size: 10.5px; color: #747474; }

.xree-side-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 8px;
  padding-right: 6px;
  font-size: 11.5px;
  color: #8f8f8f;
}
.xree-conn { display: inline-flex; align-items: center; gap: 6px; color: #a8c3a0; }
.xree-conn i { width: 6px; height: 6px; border-radius: 50%; background: #a8c3a0; box-shadow: 0 0 8px rgba(168, 195, 160, 0.65); }

/* 主内容圆角深色画布（ZCode 分层签名：左上 14px 圆角 + #161616 底） */
.xree-canvas {
  position: relative;
  background: #161616;
  border-top-left-radius: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.xree-pane { display: none; flex: 1 1 auto; position: relative; flex-direction: column; min-height: 506px; }
.xree-pane.is-active { display: flex; }

/* ── View 1: 主页（品牌线稿水印 + 灵动岛 + 居中运营助手 + 暖米色发送钮） ── */
.xree-watermark {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 18%, transparent 66%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 18%, transparent 66%);
}
.xree-island-dock {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: center;
  padding-top: 16px;
}
.xree-island {
  position: relative;
  background: rgba(34, 34, 34, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.65);
  transition: border-color 200ms ease, box-shadow 260ms ease;
}
.xree-island:hover { border-color: rgba(255, 255, 255, 0.22); }
.xree-island-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #e4e4e4;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.xree-island.is-expanded .xree-island-pill { display: none; }
.island-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a8c3a0;
  box-shadow: 0 0 8px rgba(168, 195, 160, 0.8);
}
.island-sub { font-weight: 400; color: #8c8c8c; font-size: 11.5px; }
.island-caret { color: #7a7a7a; font-size: 11px; margin-left: 4px; }

.xree-island-card {
  display: none;
  width: 492px;
  max-width: calc(100vw - 88px);
  padding: 14px 16px 16px;
}
.xree-island.is-expanded .xree-island-card { display: block; animation: xreePop 240ms var(--ease); }
@keyframes xreePop { from { opacity: 0; transform: translateY(-4px) scale(0.97); } to { opacity: 1; transform: none; } }
.island-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11.5px;
  color: #8b8b8b;
  letter-spacing: 0.04em;
}
.island-close {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #b5b5b5;
  border-radius: 6px;
  height: 22px;
  padding: 0 8px;
  font-size: 11px;
  cursor: pointer;
}
.island-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.island-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.island-plat {
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.island-plat-top { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #e8e8e8; }
.island-plat-top img { width: 18px; height: 18px; border-radius: 5px; }
.island-plat-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #a8c3a0;
}
.xree-switch {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: #6f956a;
  position: relative;
  flex: 0 0 auto;
}
.xree-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.xree-home-center {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 32px 34px;
}
.xree-greeting { font-size: 21px; font-weight: 620; color: #e6e6e6; letter-spacing: -0.015em; }
.xree-greeting-sub { margin-top: 4px; font-size: 12.5px; color: #7c7c7c; }
.xree-chat-box {
  width: 100%;
  max-width: 520px;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.xree-bubble-row { display: flex; }
.xree-bubble-row.is-user { justify-content: flex-end; }
.xree-bubble {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d4d4d4;
}
.xree-bubble-row.is-user .xree-bubble {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.13);
  color: #ededed;
}
.xree-bubble .ok-ink { color: #a8c3a0; font-weight: 500; }

/* 暖米色主发送钮（look-probe DESIGN.md 唯一产品级强调色） */
.xree-composer {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
}
.xree-composer-ph { flex: 1 1 auto; font-size: 12.5px; color: #767676; }
.xree-send-warm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f7ead9;
  color: #5c4027;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px -4px rgba(247, 234, 217, 0.35);
}
.xree-send-warm svg { width: 14px; height: 14px; }
.xree-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 12px; }
.xree-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  color: #9c9c9c;
  font-size: 11.5px;
}
.xree-room-lock {
  position: absolute;
  right: 16px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #a8c3a0;
  z-index: 3;
}
.xree-room-lock svg { width: 13px; height: 13px; }

/* ── View 2: 写作业（Chrome 式多平台标签 + 云端候选名单） ── */
.xree-chrome-bar {
  display: flex;
  align-items: flex-end;
  height: 36px;
  background: #1e1e1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 12px;
}
.xree-ctab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 15px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.xree-ctab img { width: 14px; height: 14px; border-radius: 3px; }
.xree-ctab-dot { width: 6px; height: 6px; border-radius: 50%; background: #a8c3a0; }
.xree-ctab.is-active {
  background: #161616;
  color: #ececec;
  font-weight: 600;
}
.xree-ctab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #161616;
}
.xree-hw-body { padding: 18px 22px; flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; }
.xree-hw-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.xree-hw-top h4 { font-size: 17px; font-weight: 680; color: #ececec; }
.xree-hw-top p { font-size: 11.5px; color: #7e7e7e; margin-top: 2px; }
.xree-hw-actions { display: flex; align-items: center; gap: 8px; }
.xree-btn-ghost {
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cfcfcf;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}
.xree-btn-primary {
  height: 30px;
  padding: 0 13px;
  border-radius: 6px;
  background: #f7ead9;
  color: #5c4027;
  font-size: 12px;
  font-weight: 620;
  display: inline-flex;
  align-items: center;
}
.xree-hw-panel { display: none; flex-direction: column; gap: 8px; }
.xree-hw-panel.is-active { display: flex; }
.xree-cand {
  display: grid;
  grid-template-columns: 18px 1.25fr 0.9fr 0.75fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 9px;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
}
.xree-check {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #d4d4d4;
  color: #161616;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.xree-cand-name b { display: block; font-size: 12.5px; color: #ececec; font-weight: 560; }
.xree-cand-name span { font-size: 11px; color: #7b7b7b; font-family: var(--mono); }
.xree-cand-val { color: #e6b88a; font-weight: 600; font-variant-numeric: tabular-nums; }
.xree-cand-room { color: #8c8c8c; font-size: 11.5px; }
.xree-tag {
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 560;
  background: rgba(168, 195, 160, 0.14);
  color: #a8c3a0;
  white-space: nowrap;
}
.xree-tag.wait { background: rgba(230, 184, 138, 0.14); color: #e6b88a; }

/* ── View 3: 自动排活（1:1 还原 runtime-schedule-confirming.png 真实布局） ── */
.xree-sched-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.xree-page-head h4 { font-size: 19px; font-weight: 700; color: #ececec; }
.xree-page-head p { font-size: 12px; color: #7e7e7e; margin-top: 2px; }
.xree-setting-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-radius: 12px;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.xree-setting-card b { display: block; font-size: 13.5px; color: #ececec; }
.xree-setting-card span { font-size: 11.5px; color: #7c7c7c; }
.xree-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: #cfcfcf;
}
.xree-sched-list { display: flex; flex-direction: column; gap: 10px; }
.xree-sched-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 10px;
  background: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #22a7e5;
}
.xree-sched-time { font-family: var(--mono); font-size: 12px; color: #8c8c8c; }
.xree-sched-title { font-size: 13px; color: #e8e8e8; }
.xree-sched-title em { font-style: normal; color: #38bdf8; font-weight: 560; }
.xree-sched-sub { font-size: 11.5px; color: #7e7e7e; margin-top: 2px; }
.xree-sched-ops { display: inline-flex; gap: 6px; }
.xree-sched-ops span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #b8b8b8;
  display: grid;
  place-items: center;
  font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   真实产品界面 #2 · 钛金终端与 ID 群实时流
   ═══════════════════════════════════════════════════════════════════════════ */

.idq-phone {
  width: min(100%, 320px);
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(155deg, #2b2c32 0%, #15161a 48%, #222328 100%);
  box-shadow:
    0 46px 90px -28px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.idq-screen {
  position: relative;
  overflow: hidden;
  min-height: 492px;
  border-radius: 35px;
  background: #ececed;
  color: #1c1c1e;
  display: flex;
  flex-direction: column;
}
.hero-phone-float .idq-screen { min-height: 442px; }
.idq-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 88px;
  height: 24px;
  margin-left: -44px;
  border-radius: 20px;
  background: #0b0b0d;
  z-index: 3;
}
.idq-chat-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 14px 10px;
  background: rgba(246, 246, 247, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  text-align: center;
}
.idq-chat-head b { font-size: 13.5px; font-weight: 650; color: #161618; }
.idq-chat-head span { font-size: 11px; color: #7e7e85; margin-top: 1px; }
.idq-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  flex: 1 1 auto;
}
.msg { display: flex; align-items: flex-start; gap: 7px; transition: opacity 260ms ease, transform 260ms ease; }
.msg.is-filtered { display: none; }
.msg-av {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #141312;
  display: grid;
  place-items: center;
  padding: 6px;
}
.msg-av img { width: 100%; height: 100%; object-fit: contain; }
.msg-card {
  min-width: 0;
  flex: 1 1 auto;
  padding: 10px 11px;
  border-radius: 4px 13px 13px 13px;
  background: #ffffff;
  font-size: 11.5px;
  line-height: 1.5;
  color: #1c1c1e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.msg-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  font-weight: 650;
  font-size: 12px;
}
.msg-card-head img { width: 15px; height: 15px; border-radius: 4px; }
.msg-row { display: flex; justify-content: space-between; gap: 8px; }
.msg-row span:first-child { color: #82828a; }
.msg-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.msg-row .hot { color: #e2461b; }
.msg-time {
  align-self: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  color: #84848c;
  background: rgba(0, 0, 0, 0.05);
}
.msg-self { flex-direction: row-reverse; }
.msg-self .msg-card {
  flex: 0 1 auto;
  border-radius: 13px 4px 13px 13px;
  background: #95ec69;
  color: #14280c;
  font-weight: 500;
}

.feed-live .msg { opacity: 0; transform: translateY(8px); animation: arrive 650ms var(--ease) forwards; }
.feed-live .msg:nth-child(2) { animation-delay: 280ms; }
.feed-live .msg:nth-child(3) { animation-delay: 640ms; }
.feed-live .msg:nth-child(4) { animation-delay: 1040ms; }
.feed-live .msg:nth-child(5) { animation-delay: 1440ms; }
.feed-live .msg:nth-child(6) { animation-delay: 1840ms; }
@keyframes arrive { to { opacity: 1; transform: none; } }

/* ───────────────────────── 双产品画廊卡片（定制视觉艺术主导） ───────────────────────── */

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 580px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: transform 460ms var(--ease), box-shadow 460ms var(--ease);
}
.tile:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tile-copy { position: relative; z-index: 2; padding: 44px 44px 28px; }
.tile-copy .eyebrow { margin-bottom: 12px; }
.tile-copy .h3 { font-size: clamp(25px, 2.7vw, 35px); line-height: 1.16; letter-spacing: -0.025em; }
.tile-copy p { margin-top: 12px; color: var(--ink-2); max-width: 420px; font-size: 15.5px; }
.tile-copy .link-arrow { margin-top: 18px; }

.tile-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 340px;
  margin: 0 20px 20px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
}
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.tile-media-female img { object-position: center 22%; }
.tile-media-male img { object-position: 78% 22%; }
.tile-media-male::after {
  content: "";
  position: absolute;
  inset: 42% 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 7, 0.82) 100%);
  pointer-events: none;
}
.tile:hover .tile-media img { transform: scale(1.035); }

.tile-dark {
  background: var(--night);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--night-ink);
}
.tile-dark .tile-copy p { color: var(--night-ink-2); }
.tile-dark .tile-copy .eyebrow { color: var(--night-ink-3); }
.tile-dark .link-arrow { color: #ffab8c; }
.tile-dark .tile-media { background: #050507; border: 1px solid rgba(255, 255, 255, 0.08); }
.tile-signal-pills {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}
.signal-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 13px;
  background: rgba(15, 16, 20, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 12.5px;
  color: #ecebe7;
}
.signal-pill img { width: 20px; height: 20px; border-radius: 5px; flex: 0 0 auto; }
.signal-pill span { color: var(--night-ink-2); font-size: 12px; }
.signal-pill b { margin-left: auto; color: #ff9c78; font-variant-numeric: tabular-nums; font-weight: 640; }

/* ───────────────────────── Xree 客户端详述区 ───────────────────────── */

.client-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.client-art-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  background: var(--surface);
}
.client-art-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.client-art-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(20, 19, 18, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f3ef;
  font-size: 12.5px;
}
.client-art-badge img { width: 18px; height: 18px; object-fit: contain; aspect-ratio: auto; }
.client-art-badge span { color: rgba(244, 243, 239, 0.68); font-size: 11.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; margin-top: 72px; }
.features-4 { grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.feature { padding-top: 22px; border-top: 1px solid var(--line-2); }
.feature-k { font-family: var(--mono); font-size: 12px; color: var(--ember); margin-bottom: 12px; letter-spacing: 0.04em; }
.feature h3 { font-size: 18.5px; font-weight: 620; letter-spacing: -0.015em; }
.feature p { margin-top: 9px; font-size: 15px; color: var(--ink-2); line-height: 1.66; }

/* ───────────────────────── 黑夜舞台（ID 群 & 工程标准） ───────────────────────── */

.night {
  position: relative;
  background: var(--night);
  color: var(--night-ink);
  overflow: hidden;
}
.night .eyebrow { color: var(--night-ink-3); }
.night .lede { color: var(--night-ink-2); }
.night .feature { border-top-color: var(--night-line); }
.night .feature p { color: var(--night-ink-2); }
.night .feature-k { color: #ff9c78; }
.night .h2 .glow {
  background: linear-gradient(100deg, #ffffff 18%, #f4caa8 64%, #f26336 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.night-art-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.night-art-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 24%;
  opacity: 0.46;
}
.night-art-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #050507 0%, rgba(5, 5, 7, 0.9) 40%, rgba(5, 5, 7, 0.44) 72%, rgba(5, 5, 7, 0.72) 100%),
    linear-gradient(180deg, #050507 0%, transparent 16%, transparent 78%, #050507 100%);
}
.night > .wrap { position: relative; z-index: 2; }

.idq-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 64px; }
.idq-stage { position: relative; display: flex; flex-direction: column; align-items: center; }

.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--night-line-2);
  font-size: 13.5px;
  color: var(--night-ink);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.channel::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px rgba(74, 222, 128, 0.65); }
.channel.soon { color: var(--night-ink-2); }
.channel.soon::before { background: var(--night-ink-3); box-shadow: none; }
.channel small { font-size: 11px; color: var(--night-ink-3); }

/* ID 群交互式指令演练条 */
.cmd-deck {
  margin-top: 34px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(15, 16, 20, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--night-line);
}
.cmd-deck-label {
  font-size: 12px;
  color: var(--night-ink-3);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cmd-deck-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.cmd-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cmd-btn {
  padding: 7px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e6e4de;
  font-family: var(--mono);
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.cmd-btn:hover { border-color: rgba(242, 99, 54, 0.5); background: rgba(242, 99, 54, 0.12); color: #ffd4c4; }
.cmd-btn.is-active { border-color: var(--ember); background: rgba(242, 99, 54, 0.2); color: #fff; }
.cmd-btn:active { transform: scale(0.97); }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 84px; }
.rule {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(16, 17, 22, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--night-line);
}
.rule code {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 13px;
  color: #ffd0be;
  background: rgba(242, 99, 54, 0.12);
  border: 1px solid rgba(242, 99, 54, 0.24);
}
.rule h3 { margin-top: 16px; font-size: 18px; font-weight: 600; }
.rule p { margin-top: 8px; font-size: 14.5px; color: var(--night-ink-2); }

/* ───────────────────────── 支持平台 ───────────────────────── */

.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 190px)); justify-content: center; gap: 18px; margin-top: 52px; }
.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease), border-color 240ms ease;
}
.platform:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.platform img { width: 64px; height: 64px; border-radius: 17px; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.34); }
.platform b { font-size: 15.5px; font-weight: 620; }
.platform span { font-size: 12px; color: var(--ink-3); margin-top: -10px; }
.platform .plat-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(31, 157, 98, 0.09);
  color: #197c4d;
  font-size: 11.5px;
  font-weight: 560;
  margin-top: -4px;
}
.platform .plat-status.soon { background: var(--bg-2); color: var(--ink-3); }
.platform .more-glyph {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 17px;
  background: var(--bg-2);
  border: 1px dashed var(--line-2);
  color: var(--ink-3);
  font-size: 28px;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════════════════
   真实产品界面 #3 · Xree 代理门户（100% 还原 xree-portal 「夜航 Nocturne」）
   ═══════════════════════════════════════════════════════════════════════════ */

.agent-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 48px;
  padding: clamp(32px, 4.5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.agent-shell .lede { margin-top: 16px; font-size: 17px; }
.agent-shell .cta-row { margin-top: 30px; }
.agent-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

.nocturne {
  position: relative;
  border-radius: 20px;
  background: #0a0c12;
  color: #ede8de;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 36px 76px -28px rgba(6, 7, 11, 0.65);
  overflow: hidden;
  font-size: 12.5px;
}
/* 夜航极光雾 + 观星网格 */
.nocturne::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 42% at 14% 18%, rgba(69, 211, 199, 0.16), transparent 72%),
    radial-gradient(42% 40% at 86% 14%, rgba(144, 118, 255, 0.18), transparent 72%),
    radial-gradient(44% 40% at 72% 92%, rgba(227, 183, 102, 0.14), transparent 72%);
  pointer-events: none;
}
.nocturne::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 35%, transparent 100%);
  pointer-events: none;
}
.nocturne-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 410px;
}
.noc-side {
  padding: 18px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 12, 18, 0.68);
  display: flex;
  flex-direction: column;
}
.noc-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.noc-brand-ico {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f7dfaa, #b88a3c);
  color: #120f08;
  display: grid;
  place-items: center;
  padding: 4px;
}
.noc-brand-ico img { width: 100%; height: 100%; object-fit: contain; }
.noc-brand b { display: block; font-size: 12.5px; letter-spacing: 0.08em; color: #f5efe3; }
.noc-brand span { display: block; font-size: 9.5px; color: #8c8b94; letter-spacing: 0.06em; text-transform: uppercase; }
.noc-sec { margin: 12px 8px 4px; font-size: 10px; color: #6c6f7c; letter-spacing: 0.06em; }
.noc-link {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 29px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 12px;
  color: #a39f97;
}
.noc-link.is-on {
  background: rgba(227, 183, 102, 0.13);
  color: #f7dfaa;
  border: 1px solid rgba(227, 183, 102, 0.24);
  font-weight: 600;
}
.noc-user {
  margin-top: auto;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
}
.noc-user b { display: block; color: #ede8de; font-weight: 600; }
.noc-user span { color: #8c8b94; font-size: 10px; }

.noc-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.noc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.noc-head small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #e3b766; }
.noc-head h4 { font-size: 18px; font-weight: 620; color: #f6f2ea; margin-top: 2px; }
.noc-pill-gold {
  padding: 5px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3d28f, #c99844);
  color: #161106;
  font-size: 11.5px;
  font-weight: 700;
}

.noc-hero-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.noc-balance {
  padding: 16px;
  border-radius: 14px;
  background: rgba(20, 24, 36, 0.78);
  border: 1px solid rgba(227, 183, 102, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.noc-balance-lbl { font-size: 11px; color: #a39f97; }
.noc-balance-val {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: #f7dfaa;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.noc-balance-cap { margin-top: 6px; font-size: 10.5px; color: #7e8190; }

.noc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.noc-stat {
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(20, 24, 36, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.noc-stat span { display: block; font-size: 10.5px; color: #8c8f9c; }
.noc-stat b { display: block; margin-top: 2px; font-family: var(--serif); font-size: 19px; color: #f2ede3; font-variant-numeric: tabular-nums; }

.noc-table-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 24, 36, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.noc-table-title { font-size: 11.5px; font-weight: 600; color: #d8d3c9; margin-bottom: 8px; display: flex; justify-content: space-between; }
.noc-table-title span { color: #6c6f7c; font-weight: 400; font-size: 10.5px; }
.noc-row {
  display: grid;
  grid-template-columns: 22px 1.2fr 0.7fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
}
.noc-row img { width: 20px; height: 20px; border-radius: 5px; }
.noc-row em { display: block; font-style: normal; font-size: 10px; color: #7d808f; font-family: var(--mono); }
.noc-row .noc-qty { color: #a39f97; text-align: right; font-variant-numeric: tabular-nums; }
.noc-row .noc-amt { color: #e3b766; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* ───────────────────────── 企业合作预告（首页） ───────────────────────── */

.biz-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a1815;
  color: #f8f6f1;
  box-shadow: var(--shadow-2);
}
.biz-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}
.biz-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 15, 13, 0.9) 0%, rgba(16, 15, 13, 0.72) 55%, rgba(16, 15, 13, 0.36) 100%);
}
.biz-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  padding: clamp(40px, 5.5vw, 68px);
}
.biz-banner .eyebrow { color: rgba(248, 246, 241, 0.68); margin-bottom: 14px; }
.biz-banner .lede { color: rgba(248, 246, 241, 0.8); font-size: 17.5px; }
.biz-banner .btn-light { background: #fff; color: var(--ink); border-color: transparent; }
.biz-banner .link-arrow { color: #ffd4bd; }
.biz-banner .link-arrow:hover { color: #fff; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.offer {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.offer-k { font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 1; color: var(--bronze); }
.offer h3 { margin-top: 24px; font-size: 21px; font-weight: 620; letter-spacing: -0.02em; }
.offer p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.offer ul { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--ink-2); }
.offer li { display: flex; gap: 10px; }
.offer li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--bronze); }

/* ═══════════════════════════════════════════════════════════════════════════
   企业合作页专属（建筑光影首屏 + 真实 Hall-HR 人事后台 + 钛金核心工程区）
   ═══════════════════════════════════════════════════════════════════════════ */

.biz-hero {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(44px, 5vw, 72px);
}
.biz-hero-frame {
  position: relative;
  margin-top: clamp(40px, 5vw, 60px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 9;
  max-height: 580px;
  background: #1d1a18;
}
.biz-hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.biz-hero-strip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(20, 19, 18, 0.76);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f6f4ef;
  font-size: 13px;
}
.biz-hero-strip strong { color: #fff; font-weight: 600; }
.biz-hero-strip span { color: rgba(246, 244, 239, 0.72); }

/* 真实产品界面 #4 · Hall-HR 语音厅人事后台（100% 还原 hall-hr/styles.css 暖白体系） */
.case-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 52px;
  align-items: center;
}
.case-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.case-facts li { font-size: 14.5px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line-2); }
.case-facts b { display: block; color: var(--ink); font-weight: 620; font-size: 15px; margin-bottom: 2px; }

.hallhr {
  border-radius: 18px;
  background: #ffffff;
  color: #191917;
  border: 1px solid #e2dfd7;
  box-shadow: var(--shadow-3);
  overflow: hidden;
  font-size: 12.5px;
}
.hallhr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 16px;
  background: #f7f6f2;
  border-bottom: 1px solid #e8e5de;
}
.hallhr-crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: #6f6d66; }
.hallhr-crumbs b { color: #191917; font-weight: 600; }
.hallhr-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef7f0;
  border: 1px solid #c8e3cf;
  color: #2f6b45;
  font-size: 11px;
  font-weight: 560;
}
.hallhr-body { display: grid; grid-template-columns: 164px 1fr; min-height: 492px; }
.hallhr-side {
  background: #f7f6f2;
  border-right: 1px solid #e8e5de;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hallhr-side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px 12px;
  font-size: 12.5px;
  font-weight: 650;
  color: #191917;
  white-space: nowrap;
}
.hallhr-side-brand i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #191917;
  color: #faf9f5;
  display: grid;
  place-items: center;
  font-style: normal;
  font-family: var(--serif);
  font-size: 12px;
}
.hallhr-group { margin: 10px 8px 4px; font-size: 10px; letter-spacing: 0.08em; color: #8c8981; text-transform: uppercase; }
.hallhr-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
  color: #4d4b45;
}
/* 100% 还原 hall-hr/styles.css 侧栏选中项左侧 2px 赭橙线 */
.hallhr-item.is-on {
  background: #ece9e2;
  color: #191917;
  font-weight: 600;
  box-shadow: inset 2px 0 0 #c96442;
}
.hallhr-item-badge {
  padding: 0 6px;
  border-radius: 999px;
  background: #fdf3e6;
  color: #97601a;
  font-size: 10px;
  font-weight: 600;
}

.hallhr-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; background: #ffffff; }
.hallhr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hallhr-title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
  color: #191917;
}
.hallhr-sub { font-size: 11.5px; color: #6f6d66; margin-top: 3px; }
.hallhr-range-group {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: #f5f3ee;
  border: 1px solid #e8e5de;
}
.hallhr-range-btn {
  border: 0;
  background: transparent;
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #6f6d66;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 150ms ease, color 150ms ease;
}
.hallhr-range-btn.is-active { background: #ffffff; color: #191917; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }

.hallhr-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hallhr-stat {
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid #e8e5de;
  background: #ffffff;
}
.hallhr-stat span { display: block; font-size: 11px; color: #6f6d66; white-space: nowrap; }
.hallhr-stat b { display: block; margin-top: 4px; font-size: 18.5px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #191917; white-space: nowrap; }
.hallhr-stat small { display: block; margin-top: 3px; font-size: 10px; letter-spacing: 0.02em; color: #918e86; white-space: nowrap; }

/* 平滑矢量流水趋势图 */
.hallhr-chart-card {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid #e8e5de;
  background: #fdfcfa;
}
.hallhr-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hallhr-chart-head b { font-size: 12px; font-weight: 600; color: #191917; }
.hallhr-chart-sum { font-size: 12px; font-weight: 600; color: #c96442; font-variant-numeric: tabular-nums; }
.hallhr-svg-wrap { display: none; }
.hallhr-svg-wrap.is-active { display: block; }
.hallhr-svg-wrap svg { width: 100%; height: 92px; display: block; }

.hallhr-bottom-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 12px; }
.hallhr-card {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e8e5de;
  background: #ffffff;
}
.hallhr-tabs { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.hallhr-tab {
  border: 1px solid transparent;
  background: transparent;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  color: #6f6d66;
  cursor: pointer;
}
.hallhr-tab.is-active { background: #f4f1ea; border-color: #e4dfd4; color: #191917; font-weight: 600; }

.hallhr-rank-panel { display: none; flex-direction: column; gap: 7px; }
.hallhr-rank-panel.is-active { display: flex; }
.hallhr-rank-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid #f0ede6;
  font-size: 12px;
}
.hallhr-rank-row:first-child { border-top: 0; padding-top: 2px; }
.hallhr-rank-no { font-family: var(--mono); font-size: 11px; color: #9c988f; }
.hallhr-rank-no.top { color: #c96442; font-weight: 700; }
.hallhr-rank-row b { display: block; font-weight: 600; color: #191917; line-height: 1.25; }
.hallhr-rank-row small { display: block; color: #87847c; font-size: 10.5px; margin-top: 2px; white-space: nowrap; }
.hallhr-rank-val { font-variant-numeric: tabular-nums; font-weight: 600; color: #191917; white-space: nowrap; }

.hallhr-conflict-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.hallhr-conflict-head span { font-size: 10.5px; color: #8c8981; font-weight: 400; white-space: nowrap; flex-shrink: 0; }
.hallhr-conflict-item {
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid #ece8df;
  background: #faf9f6;
  margin-bottom: 8px;
}
.hallhr-conflict-item:last-child { margin-bottom: 0; }
.hallhr-conflict-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hallhr-conflict-top b { font-size: 12px; font-weight: 600; }
.hallhr-warn-tag {
  padding: 1px 7px;
  border-radius: 5px;
  background: #fdf3e6;
  border: 1px solid #efd9b7;
  color: #97601a;
  font-size: 10.5px;
  font-weight: 600;
}
.hallhr-conflict-sub { margin-top: 4px; font-size: 11px; color: #6f6d66; }

/* 工程标准：钛金精密核心舞台 */
.eng-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.eng-art-wrap {
  position: relative;
  overflow: hidden;
  background: transparent;
}
.eng-art-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 76% 78% at 50% 50%, #000 56%, transparent 98%);
  mask-image: radial-gradient(ellipse 76% 78% at 50% 50%, #000 56%, transparent 98%);
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-line);
  border: 1px solid var(--night-line);
}
.spec { padding: 30px 26px; background: rgba(10, 10, 14, 0.94); }
.spec-k { font-family: var(--mono); font-size: 11px; color: #ff9c78; letter-spacing: 0.08em; margin-bottom: 12px; }
.spec b { display: block; font-size: 24px; font-weight: 650; letter-spacing: -0.025em; }
.spec span { display: block; margin-top: 10px; font-size: 14px; color: var(--night-ink-2); line-height: 1.6; }

/* ───────────────────────── 合作流程 ───────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; counter-reset: step; border-top: 1px solid var(--line-2); }
.step { position: relative; padding: 30px 28px 0 0; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ember);
}
.step::after { content: ""; position: absolute; top: -4.5px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--bg); }
.step h3 { margin-top: 14px; font-size: 18.5px; font-weight: 620; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* ───────────────────────── 联系表单 ───────────────────────── */

.contact { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 60px; align-items: start; }
.contact-ways { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.contact-way { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-radius: 15px; background: var(--surface); border: 1px solid var(--line); }
.contact-way span { font-size: 12.5px; color: var(--ink-3); }
.contact-way b { font-size: 15.5px; font-weight: 600; font-family: var(--mono); }
.copy-btn { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; height: 30px; padding: 0 12px; font-size: 12px; cursor: pointer; color: var(--ink-2); }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.form { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0; }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.field textarea { min-height: 126px; resize: vertical; line-height: 1.6; }
.field input:not([type="radio"]):not([type="checkbox"]):focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(20, 19, 18, 0.06); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 160ms ease;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; }
.form-foot p { font-size: 12.5px; color: var(--ink-3); max-width: 360px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-size: 14px; display: none; }
.form-status.is-ok { display: block; background: rgba(31, 157, 98, 0.09); color: #146b43; }
.form-status.is-info { display: block; background: var(--bg-2); color: var(--ink-2); }
.form-status.is-err { display: block; background: rgba(226, 70, 27, 0.09); color: #b4381a; }

/* ───────────────────────── FAQ ───────────────────────── */

.faq { max-width: 820px; margin: 56px auto 0; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--ink-3); transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--ember); }
.faq details p { padding: 0 44px 26px 0; color: var(--ink-2); font-size: 15.5px; }

/* ───────────────────────── 收尾 CTA + 页脚 ───────────────────────── */

.finale { text-align: center; }
.finale .h2 { max-width: 760px; margin: 0 auto; }
.finale .cta-row { justify-content: center; margin-top: 36px; }

.footer { padding: 68px 0 40px; border-top: 1px solid var(--line); background: var(--bg); font-size: 13px; color: var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-size: 13px; font-weight: 620; color: var(--ink); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--ink-3); }
.footer a:hover { color: var(--ink); text-decoration: none; }
.footer-brand p { margin-top: 14px; max-width: 280px; line-height: 1.7; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ───────────────────────── 出现动效 ───────────────────────── */

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 820ms var(--ease), transform 820ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: 80ms; }
.js [data-reveal="3"] { transition-delay: 160ms; }
.js [data-reveal="4"] { transition-delay: 240ms; }
.js .hero-stage-wrap[data-reveal] { transform: translateY(42px) scale(0.985); transition-duration: 1100ms; }
.js .hero-stage-wrap[data-reveal].is-in { transform: none; }

/* ───────────────────────── 响应式适配 ───────────────────────── */

@media (max-width: 1120px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero-stage .hero-phone-float { display: none; }
  .client-split, .idq-grid, .agent-shell, .biz-banner-inner, .case-layout, .eng-grid, .contact {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .features-4, .specs { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(2, minmax(0, 220px)); }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open { height: auto; background: rgba(248, 246, 241, 0.98); border-bottom-color: var(--line); }
  .nav.is-open .nav-inner { flex-wrap: wrap; padding: 10px 0 20px; }
  .nav.is-open .nav-links, .nav.is-open .nav-actions { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 14px; margin: 12px 0 0; }
  .nav.is-open .nav-links a { font-size: 16px; }
  .nav-inner { min-height: 64px; }

  .tiles, .offer-grid, .rules, .features { grid-template-columns: 1fr; }
  .tile { min-height: 500px; }
  .tile-copy { padding: 34px 28px 22px; }
  .tile-media { margin: 0 14px 14px; min-height: 240px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }

  .xree-shell, .nocturne-grid, .hallhr-body { grid-template-columns: 1fr; }
  .xree-win-hint { display: none; }
  .xree-side { flex-direction: row; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 8px 10px; }
  .xree-nav-btn { width: auto; flex: 1 1 auto; justify-content: center; }
  .xree-side-sep, .xree-recent, .xree-side-foot { display: none; }
  .xree-canvas { border-radius: 0; border-left: 0; }
  .xree-pane { min-height: 440px; }
  .island-grid { grid-template-columns: 1fr; }

  .noc-side, .hallhr-side { display: none; }
  .noc-hero-row, .hallhr-bottom-grid { grid-template-columns: 1fr; }
  .hallhr-kpis { grid-template-columns: repeat(2, 1fr); }
  .biz-hero-frame { aspect-ratio: 16 / 10; }
  .case-facts, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .wrap, .wrap-wide { width: min(100% - 32px, var(--wrap)); }
  .features-4, .specs, .steps { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .xree-cand { grid-template-columns: 16px 1fr auto; }
  .xree-cand-room, .xree-cand-val { display: none; }
  .btn { height: 44px; padding: 0 20px; font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* 间距工具类（零内联 style，严格 CSP 兼容） */
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-56 { margin-top: 56px; }
