:root {
  --ink: #0e1713;
  --muted: #66736c;
  --paper: #f4f7f5;
  --white: #ffffff;
  --line: #d7dfda;
  --night: #08140f;
  --night-soft: #10221a;
  --green: #12b76a;
  --green-dark: #087443;
  --green-soft: #dff8ea;
  --coral: #f26b4f;
  --lilac: #8d76e8;
  --sky: #d9eefb;
  --max: 1240px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--green); color: white; }

.shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 20, 15, 0.96);
  color: white;
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 18px;
}

.xpert-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font: 700 12px/1 var(--mono);
}

.xpert-link span { color: #72e2aa; font-size: 15px; }

.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.product-brand img { width: 38px; height: 38px; border-radius: 8px; }
.product-brand > span { display: flex; align-items: baseline; gap: 7px; }
.product-brand b { font-size: 17px; }
.product-brand small { color: #98a79f; font-size: 12px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: #b7c3bc;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a { transition: color 160ms ease; }
.nav-links a:hover,
.nav-links a:focus-visible { color: white; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #10221a;
}

.lang-switch button {
  min-width: 38px;
  min-height: 30px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #a4b1aa;
  font: 700 12px/1 var(--mono);
}

.lang-switch button.active { background: var(--green-soft); color: #064d2d; }

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  padding: 9px 15px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #062617;
  font-size: 14px;
  font-weight: 800;
}

.menu-button {
  display: none;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: transparent;
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--night);
  color: white;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18, 183, 106, 0.1), transparent 44%), linear-gradient(300deg, rgba(141, 118, 232, 0.08), transparent 38%);
  content: '';
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 760px;
  align-items: center;
  padding-block: 72px;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 60px;
}

.hero-copy { max-width: 630px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #9de9bf;
  font: 750 12px/1.2 var(--mono);
}

.eyebrow > span:first-child { width: 28px; height: 1px; background: var(--green); }

.hero h1 {
  margin: 26px 0 0;
  font-size: 76px;
  font-weight: 720;
  line-height: 0.98;
}

.hero h1 em { color: #9de9bf; font-style: normal; font-weight: 520; }

.hero-line {
  margin: 30px 0 0;
  color: #f5faf7;
  font-size: 25px;
  font-weight: 650;
  line-height: 1.35;
}

.hero-description {
  max-width: 600px;
  margin: 18px 0 0;
  color: #aabbb1;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions,
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 780;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #062617; }
.button-primary:hover { background: #2dd77f; }
.button-secondary { border-color: rgba(255, 255, 255, 0.25); color: white; }
.button-secondary:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.07); }
.button-dark { background: var(--night); color: white; }

.hero-facts { display: flex; gap: 30px; margin-top: 38px; }
.hero-facts span { display: flex; min-width: 92px; flex-direction: column; gap: 2px; }
.hero-facts b { color: white; font-size: 24px; line-height: 1; }
.hero-facts small { color: #8ea096; font-size: 12px; }

.hero-visual {
  position: relative;
  min-height: 580px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-visual::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(157, 233, 191, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(18, 183, 106, 0.025), 0 0 0 124px rgba(141, 118, 232, 0.015);
  content: '';
  transform: translate(-50%, -50%);
}

.agent-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 280px;
  overflow: hidden;
  border: 1px solid rgba(157, 233, 191, 0.35);
  border-radius: 8px;
  background: rgba(12, 30, 22, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  transform: translate(-50%, -50%);
}

.core-top,
.core-foot { display: flex; min-height: 44px; align-items: center; padding: 0 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.core-top b { margin-left: 8px; font: 700 12px/1 var(--mono); }
.core-top small { margin-left: auto; color: #74dea5; font: 700 12px/1 var(--mono); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.13); }
.core-body { padding: 30px 24px; text-align: center; }
.agent-mark { display: grid; width: 58px; height: 58px; margin: 0 auto; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 8px; background: linear-gradient(145deg, #172b22, #0b1913); color: #9de9bf; place-items: center; font-size: 28px; font-weight: 800; }
.core-body p { margin: 18px 0 0; color: #c9d5ce; font-size: 14px; line-height: 1.6; }
.thinking-lines { display: grid; gap: 7px; margin-top: 20px; }
.thinking-lines span { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green), rgba(18, 183, 106, 0.08)); }
.thinking-lines span:nth-child(2) { width: 72%; }
.thinking-lines span:nth-child(3) { width: 45%; }
.core-foot { border-top: 1px solid rgba(255, 255, 255, 0.09); border-bottom: 0; color: #8fa096; font-size: 12px; }
.core-foot b { margin-left: auto; color: white; font: 700 12px/1 var(--mono); }

.signal-card {
  position: absolute;
  z-index: 5;
  display: flex;
  width: 230px;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(16, 34, 26, 0.97);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.signal-card img { width: 40px; height: 40px; }
.signal-card > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.signal-card b { font-size: 14px; }
.signal-card small { margin-top: 2px; overflow: hidden; color: #91a399; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.signal-wechat { top: 44px; left: 26px; }
.signal-reply { right: 12px; bottom: 40px; }
.reply-check { display: grid; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: var(--green); color: #062617; place-items: center; font-size: 20px; font-weight: 900; }

.loop-track { position: absolute; z-index: 2; height: 1px; background: rgba(157, 233, 191, 0.32); transform-origin: left center; }
.loop-track i { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: travel 2.3s linear infinite; }
.loop-track span { position: absolute; top: -25px; color: #7f9589; font: 700 12px/1 var(--mono); white-space: nowrap; }
.loop-in { top: 174px; left: 186px; width: 188px; transform: rotate(23deg); }
.loop-in span { left: 42px; }
.loop-out { right: 125px; bottom: 168px; width: 205px; transform: rotate(27deg); }
.loop-out span { right: 34px; }
.loop-out i { animation-delay: -1.1s; }

.hero-pulse { position: absolute; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 20px var(--coral); }
.pulse-one { top: 20%; right: 13%; }
.pulse-two { bottom: 17%; left: 12%; background: var(--lilac); box-shadow: 0 0 20px var(--lilac); }

@keyframes travel { from { left: 0; } to { left: calc(100% - 7px); } }

.signal-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.signal-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-inner p { display: grid; min-height: 112px; align-content: center; margin: 0; padding: 18px 22px; border-right: 1px solid var(--line); grid-template-columns: 30px 1fr; }
.signal-inner p:first-child { border-left: 1px solid var(--line); }
.signal-inner p > span { color: var(--green-dark); font: 750 12px/1 var(--mono); grid-row: 1 / 3; }
.signal-inner b { font-size: 16px; }
.signal-inner small { margin-top: 4px; color: var(--muted); font-size: 12px; }

.section { padding-block: 112px; }
.section-heading { display: grid; margin-bottom: 56px; grid-template-columns: 0.42fr 1.1fr; gap: 40px; }
.section-index { margin: 9px 0 0; color: var(--green-dark); font: 750 12px/1 var(--mono); }
.section-heading h2 { max-width: 850px; margin: 0; font-size: 48px; font-weight: 650; line-height: 1.12; }
.section-heading > div > p { max-width: 750px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.section-heading.light h2 { color: white; }
.section-heading.light .section-index { color: #78e4aa; }
.section-heading.light > div > p { color: #98aaa0; }

.conversation-demo { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 28px 80px rgba(23, 48, 36, 0.09); }
.conversation-meta { display: flex; min-height: 54px; align-items: center; gap: 18px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.conversation-meta > b { margin-left: auto; font: 700 12px/1 var(--mono); }
.live-badge { display: inline-flex; min-height: 26px; align-items: center; gap: 8px; padding: 0 10px; border-radius: 999px; background: var(--green-soft); color: #075e37; font: 750 12px/1 var(--mono); }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.conversation-body { display: grid; min-height: 560px; grid-template-columns: 1.15fr 0.85fr; }
.chat-column { padding: 30px 34px; border-right: 1px solid var(--line); background: #f8faf9; }
.chat-title { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.chat-title img { width: 42px; height: 42px; border-radius: 8px; }
.chat-title > span { display: flex; flex-direction: column; }
.chat-title b { font-size: 15px; }
.chat-title small { color: var(--muted); font-size: 12px; }
.message { max-width: 76%; margin-top: 28px; }
.message > small { display: block; margin-bottom: 8px; color: #7d8982; font-size: 12px; }
.message > p { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px 8px 8px; background: white; font-size: 14px; line-height: 1.65; }
.message.outgoing { margin-left: auto; }
.message.outgoing > small { text-align: right; }
.message.outgoing > p { border-color: #a9dfc0; border-radius: 8px 4px 8px 8px; background: var(--green-soft); }
.image-attachment { display: flex; margin-top: 8px; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.attachment-visual { display: grid; width: 70px; height: 52px; flex: 0 0 auto; border-radius: 4px; background: linear-gradient(135deg, #192d24, #316b50); color: #9de9bf; place-items: center; font: 800 13px/1 var(--mono); }
.image-attachment > span:last-child { display: flex; flex-direction: column; overflow: hidden; }
.image-attachment b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; }
.image-attachment small { color: var(--muted); font-size: 12px; }
.agent-typing { display: flex; width: max-content; margin: 22px auto 0; align-items: center; gap: 5px; color: var(--muted); }
.agent-typing > span { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: blink 1.2s ease-in-out infinite; }
.agent-typing > span:nth-child(2) { animation-delay: 0.15s; }
.agent-typing > span:nth-child(3) { animation-delay: 0.3s; }
.agent-typing small { margin-left: 5px; font-size: 12px; }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.message-control { padding: 38px; }
.control-label { margin: 0; color: var(--green-dark); font: 750 12px/1 var(--mono); }
.format-tabs { display: grid; margin-top: 22px; border: 1px solid var(--line); border-radius: 6px; grid-template-columns: repeat(4, 1fr); }
.format-tabs button { display: flex; min-width: 0; min-height: 78px; align-items: center; justify-content: center; gap: 5px; padding: 9px 5px; border: 0; border-right: 1px solid var(--line); background: transparent; flex-direction: column; }
.format-tabs button:last-child { border-right: 0; }
.format-tabs button span { color: #65736b; font: 700 16px/1 var(--mono); }
.format-tabs button b { font-size: 12px; }
.format-tabs button.active { background: var(--night); color: white; }
.format-tabs button.active span { color: #7ae3aa; }
.format-detail { display: grid; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); grid-template-columns: 46px 1fr; gap: 16px; }
.format-detail > span { color: var(--green); font: 800 24px/1 var(--mono); }
.format-detail h3 { margin: 0; font-size: 22px; }
.format-detail p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.message-control dl { margin: 30px 0 0; border-top: 1px solid var(--line); }
.message-control dl > div { display: grid; padding: 13px 0; border-bottom: 1px solid var(--line); grid-template-columns: 80px 1fr; gap: 14px; }
.message-control dt { color: var(--muted); font: 700 12px/1.5 var(--mono); }
.message-control dd { margin: 0; font-size: 13px; line-height: 1.5; }

.workbench-band { background: var(--night); color: white; }
.workbench-window { overflow: hidden; border: 1px solid #30443a; border-radius: 8px; background: #eaf0ec; box-shadow: 0 36px 100px rgba(0, 0, 0, 0.35); color: var(--ink); }
.window-bar { display: flex; min-height: 48px; align-items: center; padding: 0 16px; border-bottom: 1px solid #263b31; background: #10221a; color: #cbd8d0; }
.window-bar > span { display: flex; gap: 7px; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #527062; }
.window-bar i:first-child { background: var(--coral); }
.window-bar i:nth-child(2) { background: #e7bf52; }
.window-bar i:last-child { background: var(--green); }
.window-bar b { margin-left: 18px; font: 700 12px/1 var(--mono); }
.window-bar small { margin-left: auto; color: #7fe0aa; font-size: 12px; }
.workbench-layout { display: grid; min-height: 560px; grid-template-columns: 190px 1fr; }
.workbench-side { display: flex; padding: 22px 14px; background: #0d1b15; color: #aebdb4; flex-direction: column; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 0 7px 18px; border-bottom: 1px solid #273a31; color: white; }
.side-brand img { width: 34px; height: 34px; }
.side-brand b { font-size: 15px; }
.workbench-side nav { display: grid; gap: 4px; margin-top: 18px; }
.workbench-side nav span { display: flex; min-height: 40px; align-items: center; gap: 10px; padding: 0 10px; border-radius: 5px; font-size: 13px; }
.workbench-side nav span.active { background: #19392a; color: #87e5b0; }
.workbench-side nav b { font-size: 13px; font-weight: 600; }
.side-status { display: flex; margin-top: auto; align-items: center; gap: 10px; padding: 13px 10px; border: 1px solid #2d4539; border-radius: 6px; }
.side-status > i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.13); }
.side-status span { display: flex; flex-direction: column; }
.side-status b { color: white; font-size: 12px; }
.side-status small { color: #82968b; font-size: 12px; }
.workbench-main { min-width: 0; padding: 28px; }
.workbench-head { display: flex; align-items: center; justify-content: space-between; }
.workbench-head small { color: var(--green-dark); font: 750 12px/1 var(--mono); }
.workbench-head h3 { margin: 8px 0 0; font-size: 24px; }
.workbench-head button { display: grid; width: 38px; height: 38px; border: 1px solid #cdd8d1; border-radius: 5px; background: white; color: #47564e; place-items: center; font-size: 18px; }
.metric-row { display: grid; margin-top: 24px; border: 1px solid #ced9d2; border-radius: 6px; background: white; grid-template-columns: repeat(3, 1fr); }
.metric-row article { position: relative; min-height: 116px; padding: 20px; border-right: 1px solid #d7e0da; }
.metric-row article:last-child { border-right: 0; }
.metric-row small { display: block; color: #77847d; font: 750 12px/1 var(--mono); }
.metric-row b { display: block; margin-top: 12px; font-size: 28px; line-height: 1; }
.metric-row span { position: absolute; right: 18px; bottom: 18px; color: #7b8780; font-size: 12px; }
.metric-row span.up { color: var(--green-dark); }
.operations-grid { display: grid; margin-top: 18px; grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.75fr); gap: 18px; }
.activity-panel,
.health-panel { min-width: 0; border: 1px solid #ced9d2; border-radius: 6px; background: white; }
.panel-title { display: flex; min-height: 52px; align-items: center; padding: 0 16px; border-bottom: 1px solid #dce4df; }
.panel-title b { font-size: 14px; }
.panel-title small { margin-left: auto; color: var(--green-dark); font-size: 12px; }
.activity-row { display: grid; min-height: 72px; align-items: center; padding: 9px 16px; border-bottom: 1px solid #e4e9e6; grid-template-columns: 38px 1fr auto; gap: 11px; }
.activity-row:last-child { border-bottom: 0; }
.activity-row .type { display: grid; width: 34px; height: 34px; border-radius: 5px; background: var(--green-soft); color: var(--green-dark); place-items: center; font: 750 12px/1 var(--mono); }
.activity-row .image { background: var(--sky); color: #23678c; }
.activity-row .voice { background: #f2eefd; color: #654cc5; }
.activity-row .file { background: #fff0eb; color: #a64935; }
.activity-row div { display: flex; min-width: 0; flex-direction: column; }
.activity-row b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.activity-row small,
.activity-row time { color: #7d8982; font-size: 12px; }
.health-ring { display: grid; width: 132px; height: 132px; margin: 24px auto 12px; border-radius: 50%; background: conic-gradient(var(--green) 0 99.8%, #e2e9e5 99.8%); place-items: center; }
.health-ring::before { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: white; content: ''; }
.health-ring > div { z-index: 1; display: flex; flex-direction: column; text-align: center; }
.health-ring b { font-size: 22px; }
.health-ring small { color: #718078; font: 700 12px/1.4 var(--mono); }
.health-panel ul { margin: 0; padding: 8px 16px 14px; list-style: none; }
.health-panel li { display: grid; min-height: 40px; align-items: center; border-top: 1px solid #e4e9e6; grid-template-columns: 16px 1fr auto; }
.health-panel li > span { display: flex; }
.healthy { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.health-panel li b { font-size: 12px; }
.health-panel li small { color: #76847c; font-size: 12px; }
.workbench-notes { display: grid; margin-top: 30px; border-top: 1px solid #2b3b33; grid-template-columns: repeat(3, 1fr); }
.workbench-notes p { display: grid; min-height: 126px; align-content: center; margin: 0; padding: 18px 24px; border-right: 1px solid #2b3b33; grid-template-columns: 32px 1fr; }
.workbench-notes p:last-child { border-right: 0; }
.workbench-notes p > span { color: #76e2a7; font: 750 12px/1 var(--mono); grid-row: 1 / 3; }
.workbench-notes b { font-size: 15px; }
.workbench-notes small { margin-top: 6px; color: #8fa096; font-size: 12px; line-height: 1.55; }

.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.role-card { display: flex; min-height: 530px; padding: 34px; border: 1px solid #afd9c0; border-radius: 8px; background: #e7f8ee; flex-direction: column; }
.role-card.admin { border-color: #c9c1ed; background: #f0edfb; }
.role-index { display: flex; align-items: flex-start; justify-content: space-between; }
.role-index > span { color: var(--green-dark); font: 750 12px/1 var(--mono); }
.role-card.admin .role-index > span { color: #654cc5; }
.role-index i { display: grid; width: 58px; height: 58px; border-radius: 8px; background: var(--green); color: #06341e; place-items: center; font: 800 18px/1 var(--mono); }
.role-index .admin-icon { background: var(--lilac); color: white; font-size: 24px; }
.role-label { margin: 44px 0 0; color: var(--green-dark); font: 750 12px/1 var(--mono); }
.role-card.admin .role-label { color: #6049bc; }
.role-card h3 { margin: 16px 0 0; font-size: 34px; line-height: 1.15; }
.role-card > p:not(.role-label) { margin: 18px 0 0; color: #53645a; font-size: 15px; line-height: 1.7; }
.role-card ul { display: grid; gap: 10px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(14, 23, 19, 0.15); list-style: none; }
.role-card li { position: relative; padding-left: 22px; font-size: 13px; }
.role-card li::before { position: absolute; top: 8px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); content: ''; }
.role-card.admin li::before { background: var(--lilac); }
.role-card > a { display: flex; min-height: 48px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(14, 23, 19, 0.15); font-size: 14px; font-weight: 750; }

.deployment-band { overflow: hidden; background: #15231d; color: white; }
.connection-map { position: relative; display: grid; min-height: 310px; align-items: center; border-block: 1px solid #32443b; grid-template-columns: 1fr 240px 1fr; }
.map-center { position: relative; z-index: 3; display: flex; width: 180px; height: 180px; align-items: center; justify-content: center; justify-self: center; border: 1px solid #5d7d6d; border-radius: 50%; background: #0b1812; flex-direction: column; box-shadow: 0 0 0 28px rgba(18, 183, 106, 0.04); }
.center-mark { display: grid; width: 48px; height: 48px; border-radius: 7px; background: var(--green); color: #072819; place-items: center; font-size: 24px; font-weight: 850; }
.map-center b { margin-top: 13px; font: 750 12px/1 var(--mono); }
.map-center small { margin-top: 5px; color: #82968b; font-size: 12px; }
.connection-route { display: grid; min-height: 112px; align-items: center; padding: 18px; border: 1px solid #3a5045; border-radius: 6px; background: #1b2c24; }
.connection-route.direct { grid-template-columns: 34px 1fr 28px 58px; }
.connection-route.tunnel { grid-template-columns: 58px 28px 1fr 34px; }
.connection-route > span { color: #72e2aa; font: 750 12px/1 var(--mono); }
.connection-route div { display: flex; flex-direction: column; }
.connection-route b { font-size: 15px; }
.connection-route small { margin-top: 5px; color: #8fa096; font-size: 12px; }
.connection-route i { color: var(--green); font-size: 22px; font-style: normal; text-align: center; }
.connection-route strong { display: grid; min-height: 34px; border: 1px solid #506b5e; border-radius: 4px; color: #a3eac2; place-items: center; font: 750 12px/1 var(--mono); }
.deployment-facts { display: grid; margin-top: 38px; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.deployment-facts p { margin: 0; }
.deployment-facts b,
.deployment-facts small { display: block; }
.deployment-facts b { font-size: 15px; }
.deployment-facts small { margin-top: 7px; color: #8fa096; font-size: 12px; line-height: 1.6; }

.final-cta { padding-block: 100px; background: #dff8ea; }
.final-inner { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 40px; }
.final-inner .eyebrow { color: var(--green-dark); }
.final-inner h2 { max-width: 850px; margin: 0; font-size: 48px; line-height: 1.12; }
.final-actions { grid-column: 2; }

.site-footer { border-top: 1px solid #26382f; background: var(--night); color: white; }
.footer-inner { display: grid; min-height: 108px; align-items: center; grid-template-columns: 1fr 1fr auto; gap: 30px; }
.footer-inner p { margin: 0; color: #8fa096; font-size: 12px; }
.footer-links { display: flex; gap: 22px; color: #bdc9c2; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; top: 72px; right: 24px; left: 24px; padding: 18px; border: 1px solid #30443a; border-radius: 6px; background: #0d1b15; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .menu-button { display: block; margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero h1 { font-size: 64px; }
  .hero-visual { min-height: 540px; }
  .signal-card { width: 200px; }
  .signal-wechat { left: 5px; }
  .signal-reply { right: 0; }
  .loop-in { left: 130px; }
  .loop-out { right: 90px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading h2,
  .final-inner h2 { font-size: 42px; }
  .workbench-layout { grid-template-columns: 160px 1fr; }
  .operations-grid { grid-template-columns: 1fr; }
  .health-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .health-panel .panel-title { grid-column: 1 / -1; }
  .connection-map { grid-template-columns: 1fr 170px 1fr; }
}

@media (max-width: 820px) {
  .site-header .product-brand small { display: none; }
  .nav-cta { display: none; }
  .hero-inner { min-height: auto; padding-block: 78px 64px; grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: 64px; }
  .hero-visual { min-height: 500px; border-top: 1px solid rgba(255, 255, 255, 0.1); border-left: 0; }
  .signal-inner { grid-template-columns: repeat(2, 1fr); }
  .signal-inner p:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .conversation-body { grid-template-columns: 1fr; }
  .chat-column { border-right: 0; border-bottom: 1px solid var(--line); }
  .workbench-window { overflow-x: auto; }
  .workbench-layout { min-width: 900px; }
  .workbench-notes { grid-template-columns: 1fr; }
  .workbench-notes p { border-right: 0; border-bottom: 1px solid #2b3b33; }
  .workbench-notes p:last-child { border-bottom: 0; }
  .role-grid { grid-template-columns: 1fr; }
  .connection-map { display: grid; padding-block: 30px; grid-template-columns: 1fr; gap: 28px; }
  .connection-route { width: 100%; }
  .connection-route.direct { grid-row: 1; }
  .map-center { grid-row: 2; }
  .connection-route.tunnel { grid-row: 3; }
  .deployment-facts { grid-template-columns: 1fr; }
  .deployment-facts p { padding-top: 20px; border-top: 1px solid #32443b; }
  .final-inner { grid-template-columns: 1fr; }
  .final-actions { grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; padding-bottom: 22px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 30px, var(--max)); }
  .nav { min-height: 64px; gap: 10px; }
  .xpert-link b { display: none; }
  .xpert-link { width: 38px; justify-content: center; padding: 0; }
  .site-header .product-brand img { width: 34px; height: 34px; }
  .site-header .product-brand b { font-size: 15px; }
  .lang-switch button { min-width: 34px; padding-inline: 6px; }
  .nav-links { top: 64px; right: 15px; left: 15px; }
  .hero-inner { padding-block: 64px 52px; }
  .hero h1 { font-size: 51px; }
  .hero-line { font-size: 22px; }
  .hero-description { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .button-secondary { display: none; }
  .hero-facts { gap: 12px; }
  .hero-facts span { min-width: 0; flex: 1; }
  .hero-facts b { font-size: 20px; }
  .hero-visual { min-height: 480px; }
  .agent-core { width: 245px; }
  .signal-card { width: 190px; min-height: 68px; }
  .signal-wechat { top: 24px; left: 0; }
  .signal-reply { right: 0; bottom: 25px; }
  .loop-in { top: 138px; left: 90px; width: 150px; }
  .loop-out { right: 65px; bottom: 140px; width: 160px; }
  .loop-track span { display: none; }
  .hero-visual::before { width: 260px; height: 260px; }
  .signal-inner { grid-template-columns: 1fr; }
  .signal-inner p,
  .signal-inner p:first-child { min-height: 88px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
  .signal-inner p:last-child { border-bottom: 0; }
  .section { padding-block: 86px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2,
  .final-inner h2 { font-size: 36px; }
  .section-heading > div > p { font-size: 15px; }
  .conversation-meta > span:nth-child(2) { display: none; }
  .chat-column { padding: 24px 18px; }
  .message { max-width: 90%; }
  .message-control { padding: 28px 18px; }
  .format-tabs button { min-height: 72px; }
  .format-detail { grid-template-columns: 38px 1fr; }
  .format-detail h3 { font-size: 20px; }
  .window-bar small { display: none; }
  .workbench-layout { min-width: 820px; }
  .workbench-notes p { padding-inline: 10px; }
  .role-card { min-height: 500px; padding: 26px 22px; }
  .role-card h3 { font-size: 30px; }
  .connection-route { padding: 14px 10px; }
  .connection-route.direct { grid-template-columns: 26px 1fr 22px 50px; }
  .connection-route.tunnel { grid-template-columns: 50px 22px 1fr 26px; }
  .connection-route small { max-width: 180px; }
  .final-cta { padding-block: 82px; }
  .final-actions .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; padding-block: 24px; }
  .footer-links { grid-row: auto; gap: 18px; }
  .footer-inner p { grid-row: auto; grid-column: auto; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
