:root {
  --bg-primary: #f8f7f3;
  --bg-secondary: #f2f5fa;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-warm: #f5f1e9;
  --text-primary: #171a21;
  --text-secondary: #616a78;
  --text-tertiary: #8992a0;
  --accent: #0878f9;
  --accent-hover: #006bdc;
  --accent-soft: #eaf3ff;
  --gold: #d4af37;
  --success: #1f9668;
  --warning: #a66c11;
  --danger: #c94d59;
  --border: rgba(25, 34, 48, .11);
  --border-strong: rgba(25, 34, 48, .17);
  --shadow-sm: 0 8px 28px rgba(33, 44, 64, .07);
  --shadow-md: 0 18px 54px rgba(33, 44, 64, .10);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --container: 1200px;
  --article: 780px;
  --section-space: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-primary); }
body {
  margin: 0;
  min-width: 0;
  background: linear-gradient(180deg, #fbfaf7 0%, var(--bg-primary) 38%, #f6f7fa 100%);
  color: var(--text-primary);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -.008em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang^="zh"] body { letter-spacing: 0; line-height: 1.78; }

main, section, article, aside, nav, header, footer, div { min-width: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(8, 120, 249, .28);
  outline-offset: 3px;
}
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, input, textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  appearance: none;
  -webkit-appearance: none;
}
button { cursor: pointer; }
input, select, textarea { min-height: 44px; padding: 10px 12px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 18px; padding: 0; }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--accent); box-shadow: inset 0 0 0 4px #fff; }

h1, h2, h3, h4, p, ul, ol, blockquote, figure, pre { margin-top: 0; }
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 760;
  letter-spacing: -.038em;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3, html[lang^="zh"] h4 {
  letter-spacing: -.022em;
  line-break: strict;
}
p, li, dd, small { overflow-wrap: break-word; word-break: normal; }
p { color: var(--text-secondary); text-wrap: pretty; }

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

/* Header / shared navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, .92);
  border-bottom: 1px solid rgba(25, 34, 48, .08);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
}
.nav {
  position: relative;
  min-height: 70px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 17px;
  font-weight: 820;
  letter-spacing: -.018em;
  white-space: nowrap;
}
.brand-mark {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  background: url('/brand/kingai-mark.svg') center / contain no-repeat;
}
.navlinks {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.7vw, 28px);
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  font-weight: 620;
  color: #4e5867;
}
.navlinks a { position: relative; padding: 28px 0 25px; }
.navlinks a:hover, .navlinks a.active { color: var(--text-primary); }
.navlinks a.active::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 17px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.lang, .nav-download, .menu, .btn {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(255, 255, 255, .84);
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 720;
  box-shadow: 0 5px 18px rgba(33, 44, 64, .045);
}
.lang { border-color: transparent; background: transparent; box-shadow: none; padding-inline: 8px; }
.nav-download, .btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 120, 249, .18);
}
.nav-download:hover, .btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.menu { display: none; width: 44px; padding: 0; border-radius: 14px; font-size: 0; position: relative; }
.menu::before, .menu::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1.7px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s ease, box-shadow .18s ease;
}
.menu::before { transform: translateY(-6px); box-shadow: 0 6px 0 currentColor; }
.menu::after { transform: translateY(6px); }
.menu[aria-expanded="true"]::before { transform: rotate(45deg); box-shadow: none; }
.menu[aria-expanded="true"]::after { transform: rotate(-45deg); }

/* Buttons */
.btn { min-height: 48px; padding-inline: 20px; border-radius: 14px; font-size: 14px; }
.btn.secondary { background: transparent; color: var(--accent); border-color: var(--accent); box-shadow: none; }
.btn.secondary:hover { background: var(--accent-soft); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--accent); box-shadow: none; padding-inline: 8px; }
.btn.disabled { opacity: .48; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.learn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--accent); font-size: 13px; font-weight: 760; }

/* Hero */
.hero {
  position: relative;
  padding: 70px 0 62px;
  background: linear-gradient(180deg, #fcfbf8 0%, #f7f5ef 100%);
  border-bottom: 1px solid rgba(25, 34, 48, .055);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 42%, rgba(212, 175, 55, .10), transparent 32%),
    radial-gradient(circle at 82% 48%, rgba(8, 120, 249, .10), transparent 36%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(42px, 5vw, 70px);
}
.eyebrow, .kicker {
  color: #536172;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 780;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.hero h1, .page-hero h1 {
  max-width: 15ch;
  margin: 14px 0 19px;
  font-size: clamp(46px, 4.75vw, 66px);
  line-height: 1.035;
  letter-spacing: -.048em;
}
html[lang^="zh"] .hero h1, html[lang^="zh"] .page-hero h1 { max-width: 13em; line-height: 1.14; letter-spacing: -.032em; }
.hero p, .page-hero p { max-width: 66ch; margin: 0; font-size: 17px; line-height: 1.72; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 25px; color: var(--text-secondary); font-size: 14px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.trust-row i {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0;
  font-style: normal;
}
.trust-row span:nth-child(1) i::before {
  content: ""; position: absolute; width: 7px; height: 4px; left: 6px; top: 6px;
  border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(-45deg);
}
.trust-row span:nth-child(2) i::before {
  content: ""; position: absolute; width: 9px; height: 11px; left: 5.5px; top: 4px;
  background: currentColor; clip-path: polygon(50% 0, 92% 18%, 82% 74%, 50% 100%, 18% 74%, 8% 18%);
}
.trust-row span:nth-child(2) i::after {
  content: ""; position: absolute; width: 4px; height: 5px; left: 8px; top: 7px; background: var(--accent-soft);
  clip-path: polygon(50% 0, 100% 28%, 84% 82%, 50% 100%, 16% 82%, 0 28%);
}
.trust-row span:nth-child(3) i::before {
  content: ""; position: absolute; inset: 5px; border: 1.7px solid currentColor; border-left-color: transparent; border-radius: 50%;
}
.trust-row span:nth-child(3) i::after {
  content: ""; position: absolute; left: 4px; top: 5px; width: 5px; height: 5px; border-top: 1.7px solid currentColor; border-left: 1.7px solid currentColor; transform: rotate(-14deg);
}

/* Hero mock device */
.hero-device { position: relative; }
.laptop { position: relative; padding: 14px 14px 8px; border-radius: 24px 24px 16px 16px; background: linear-gradient(155deg, #242831, #0a0c10); box-shadow: 0 28px 58px rgba(31, 42, 65, .18); }
.laptop::before { content: ""; position: absolute; top: 14px; left: 50%; width: 88px; height: 12px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #0b0d12; z-index: 2; }
.screen { aspect-ratio: 16/10; overflow: hidden; border: 1px solid rgba(0,0,0,.35); border-radius: 13px; background: linear-gradient(155deg, #f4f7ff, #e3ecff 58%, #edeaff); }
.laptop-base { height: 14px; margin: 0 -28px; border-radius: 0 0 44px 44px; background: linear-gradient(180deg, #d1d3d7, #969ba2 56%, #dfe1e4); }
.os-ui { height: 100%; display: grid; grid-template-columns: 112px 1fr 145px; background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(226,234,255,.90)); color: #374055; font-size: 10px; }
.os-side, .os-right { padding: 23px 10px 12px; background: rgba(255,255,255,.6); }
.os-side { border-right: 1px solid rgba(48,63,91,.1); }
.os-right { border-left: 1px solid rgba(48,63,91,.1); }
.os-side b { display: block; margin-bottom: 12px; color: #151c29; font-size: 11px; }
.os-side span, .os-right span { display: block; padding: 7px 8px; border-radius: 7px; }
.os-side span.active { background: #dce8ff; color: #145ed3; font-weight: 700; }
.os-main { position: relative; padding: 26px 18px 54px; }
.os-main h4 { margin: 0 0 2px; color: #182031; font-size: 15px; }
.os-main p { margin: 0 0 14px; color: #7f8898; font-size: 9px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric, .chart { padding: 10px; border: 1px solid rgba(61,74,101,.09); border-radius: 10px; background: rgba(255,255,255,.78); }
.metric small { display: block; color: #7e8798; }.metric b { color: #182031; font-size: 17px; }
.chart { position: relative; height: 108px; margin-top: 8px; overflow: hidden; }
.chart::before, .chart::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 99px; transform-origin: left center; }
.chart::before { top: 61%; background: linear-gradient(90deg,#4f7df6,#7aa1ff 68%,#7dd7b1); transform: rotate(-4deg); }
.chart::after { top: 74%; background: linear-gradient(90deg,#9d8cff,#6f8cff); opacity: .65; transform: rotate(-2deg); }
.dock, .flow-dock, .shot-dock { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.82); border-radius: 12px; background: rgba(255,255,255,.74); box-shadow: 0 8px 24px rgba(44,57,83,.10); }
.dock i, .flow-dock i, .shot-dock i { width: 21px; height: 21px; border-radius: 6px; background: linear-gradient(135deg,#5d7fff,#9c7df3); }
.dock i:nth-child(2), .flow-dock i:nth-child(2) { background: linear-gradient(135deg,#252b36,#59616e); }
.dock i:nth-child(3), .flow-dock i:nth-child(3) { background: linear-gradient(135deg,#62b5ff,#287bf4); }
.dock i:nth-child(4), .flow-dock i:nth-child(4) { background: linear-gradient(135deg,#70d6b0,#3aa77c); }
.dock i:nth-child(5), .flow-dock i:nth-child(5) { background: linear-gradient(135deg,#ffd884,#ef9c5c); }

/* Sections / cards */
.section { padding: var(--section-space) 0; }
.section.alt { background: linear-gradient(180deg, rgba(242,245,250,.70), rgba(255,255,255,.45)); border-block: 1px solid rgba(25,34,48,.055); }
.section-head { max-width: 820px; margin: 0 0 28px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2, .page-section h2, .commercial h2, .sales-band h2 {
  max-width: 22ch;
  margin: 10px 0 14px;
  font-size: clamp(31px, 3.35vw, 46px);
  line-height: 1.11;
}
html[lang^="zh"] .section h2, html[lang^="zh"] .page-section h2, html[lang^="zh"] .commercial h2, html[lang^="zh"] .sales-band h2 { max-width: 18em; line-height: 1.22; }
.section-copy, .section-head p { max-width: 68ch; margin-bottom: 0; font-size: 16.5px; line-height: 1.75; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.card {
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: 10px 0 8px; font-size: 20px; line-height: 1.28; letter-spacing: -.026em; }
.card p { margin-bottom: 0; font-size: 15px; line-height: 1.72; }
@media (hover:hover) { .card:hover, .path-card:hover, .edition-card:hover { border-color: rgba(8,120,249,.18); box-shadow: var(--shadow-md); } }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid rgba(31,150,104,.16); border-radius: 999px; background: #edf8f2; color: var(--success); font-size: 10px; font-weight: 800; letter-spacing: 0; }
.status-pill.preview { border-color: rgba(8,120,249,.16); background: var(--accent-soft); color: #2367b6; }
.status-pill.warm { border-color: rgba(166,108,17,.16); background: #fff6e7; color: var(--warning); }

.icon, .value-icon {
  width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto;
  border: 1px solid rgba(8,120,249,.12); border-radius: 13px; background: var(--accent-soft); color: #196cc7;
  font-size: 13px; font-weight: 820; letter-spacing: -.02em;
}
.icon.icon-check, .icon.icon-download, .icon.icon-lock, .icon.icon-spark, .icon.icon-model, .icon.icon-plus, .icon.icon-grid { font-size: 0; position: relative; }
.icon.icon-check::before { content:""; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.icon.icon-download::before { content:""; width: 2px; height: 13px; background: currentColor; border-radius: 2px; }
.icon.icon-download::after { content:""; position:absolute; width: 8px; height: 8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); top:18px; }
.icon.icon-lock::before { content:""; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 3px; }
.icon.icon-lock::after { content:""; position:absolute; width: 8px; height: 7px; border: 2px solid currentColor; border-bottom:0; border-radius: 7px 7px 0 0; top:9px; }
.icon.icon-spark::before { content:""; width: 15px; height: 15px; background: currentColor; clip-path: polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%); }
.icon.icon-model::before { content:""; width: 15px; height: 15px; border:2px solid currentColor; border-radius:50%; box-shadow: inset 0 0 0 3px var(--accent-soft); }
.icon.icon-plus::before { content:""; width: 14px; height: 2px; background: currentColor; border-radius:2px; box-shadow: 0 0 0 currentColor; }
.icon.icon-plus::after { content:""; position:absolute; width:2px; height:14px; background:currentColor; border-radius:2px; }
.icon.icon-grid::before { content:""; width:14px; height:14px; background:linear-gradient(currentColor 0 0) 0 0/6px 6px no-repeat,linear-gradient(currentColor 0 0) 100% 0/6px 6px no-repeat,linear-gradient(currentColor 0 0) 0 100%/6px 6px no-repeat,linear-gradient(currentColor 0 0) 100% 100%/6px 6px no-repeat; }

/* Product cards / architecture */
.edition-card { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 18px; align-items: center; padding: 17px; }
.edition-visual { height: 104px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(25,34,48,.08); border-radius: 16px; background: linear-gradient(145deg,#fbfbf8,#eef3ff); }
.edition-copy h3 { margin: 0 0 6px; }.edition-copy p { font-size: 14px; }
.server-illo { width: 88px; display: grid; gap: 5px; }
.server-illo i { position: relative; height: 24px; border: 1px solid #cad6ee; border-radius: 6px; background: linear-gradient(180deg,#fff,#e3eaf7); box-shadow: 0 6px 12px rgba(72,90,124,.08); }
.server-illo i::after { content:""; position:absolute; width:7px; height:7px; right:9px; top:8px; border-radius:50%; background:#4d89ff; }
.edge-illo { position:relative; width:86px; height:58px; border:1px solid #d4d8dd; border-radius:14px; background:linear-gradient(160deg,#fff,#e6e9ec); box-shadow:0 10px 20px rgba(75,83,98,.10); }
.edge-illo::before { content:""; position:absolute; left:12px; right:12px; top:14px; height:3px; border-radius:3px; background:#6aa0ff; }
.edge-illo::after { content:""; position:absolute; right:12px; bottom:10px; width:8px; height:8px; border-radius:50%; background:#4c8bff; box-shadow:0 0 0 5px #eaf1ff; }
.desktop-illo { width:86px; }.desktop-illo .mini-screen { height:54px; border:5px solid #262b36; border-radius:8px; background:linear-gradient(145deg,#1d2340,#6385ff 65%,#b999ff); }.desktop-illo .mini-base { height:5px; margin:0 -7px; border-radius:0 0 10px 10px; background:#aeb4bd; }
.fabric { display:grid; grid-template-columns:minmax(200px,1fr) minmax(170px,.7fr) minmax(200px,1fr); gap:22px; align-items:center; padding:28px; border:1px solid var(--border); border-radius:var(--radius-lg); background:rgba(255,255,255,.82); box-shadow:var(--shadow-sm); }
.fabric-side { display:grid; gap:10px; }
.fabric-node { display:grid; gap:3px; padding:13px 14px; border:1px solid var(--border); border-radius:14px; background:var(--surface); box-shadow:0 6px 18px rgba(33,44,64,.05); }
.fabric-node b { display:block; margin:0; color:var(--text-primary); font-size:14px; line-height:1.28; }
.fabric-node small { display:block; margin:0; color:var(--text-secondary); font-size:12.5px; line-height:1.45; }
.fabric-core { position:relative; min-height:240px; display:grid; place-items:center; }
.fabric-core::before { content:""; position:absolute; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle,#fff 0 25%,#edf3ff 26% 40%,#e3ebff 41% 48%,transparent 49%); box-shadow:0 0 54px rgba(8,120,249,.10); }
.core-orb { position:relative; z-index:2; width:94px; height:94px; border-radius:50%; background:linear-gradient(145deg,#9bc0ff,#3f78ef 58%,#315bd5); box-shadow:0 17px 42px rgba(46,94,221,.25), inset 0 0 0 10px rgba(255,255,255,.13); }
.core-orb::before { content:""; position:absolute; inset:30px; background:url('/brand/kingai-mark.svg') center/contain no-repeat; filter:brightness(0) invert(1); opacity:.94; }
.controlled-card { padding:22px; border:1px solid var(--border); border-radius:var(--radius-md); background:linear-gradient(145deg,#fff,#f3f6fb); text-align:center; box-shadow:var(--shadow-sm); }
.controlled-card .shield { position:relative; width:54px; height:54px; margin:0 auto 11px; border-radius:16px; background:var(--accent-soft); }
.controlled-card .shield::before { content:""; position:absolute; width:22px; height:27px; left:16px; top:12px; background:var(--accent); clip-path:polygon(50% 0,92% 18%,82% 74%,50% 100%,18% 74%,8% 18%); }
.controlled-card b { display:block; margin-bottom:7px; font-size:17px; }.controlled-card p { margin:0; }

/* Internal pages */
.page-hero { max-width: 920px; padding: 64px 0 34px; }
.page-hero h1 { max-width: 16ch; }
.breadcrumb { margin-bottom: 16px; color: var(--text-tertiary); font-size: 13px; line-height:1.4; }
.page-section { padding: 36px 0 62px; }
.page-section.alt { margin-block: 18px; padding: 32px; border:1px solid var(--border); border-radius:var(--radius-lg); background:rgba(242,245,250,.72); }
.product-band { display:grid; grid-template-columns:.9fr 1.1fr; gap:30px; align-items:center; padding:28px; border:1px solid var(--border); border-radius:var(--radius-lg); background:rgba(255,255,255,.82); box-shadow:var(--shadow-sm); }
.notice { padding:16px 18px; border:1px solid #dfe7fb; border-radius:14px; background:#f7f9ff; color:#657188; font-size:14px; line-height:1.65; }
.feature-list { list-style:none; padding:0; margin:15px 0 0; }
.feature-list li { padding:9px 0; border-top:1px solid rgba(25,34,48,.08); color:var(--text-secondary); font-size:14px; }

/* Article typography */
.prose, .article-container { font-size:18px; line-height:1.78; }
.prose p, .article-container p { margin:0 0 1.25em; color:var(--text-secondary); }
.prose h1, .article-container h1 { margin:0 0 .6em; font-size:clamp(38px,5vw,58px); line-height:1.08; }
.prose h2, .article-container h2 { margin:2em 0 .65em; font-size:clamp(28px,3vw,36px); line-height:1.18; }
.prose h3, .article-container h3 { margin:1.7em 0 .55em; font-size:22px; line-height:1.3; }
.prose ul, .prose ol, .article-container ul, .article-container ol { margin:0 0 1.35em; padding-left:1.35em; color:var(--text-secondary); }
.prose li + li, .article-container li + li { margin-top:.42em; }
.prose blockquote, .article-container blockquote { margin:1.5em 0; padding:16px 20px; border-left:3px solid var(--accent); background:var(--surface-soft); color:var(--text-secondary); }
.prose code, .article-container code { padding:.16em .38em; border:1px solid var(--border); border-radius:6px; background:#f2f4f8; font: .88em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.prose pre, .article-container pre { overflow:auto; padding:18px; border:1px solid var(--border); border-radius:14px; background:#111827; color:#e8edf5; }
.prose pre code, .article-container pre code { padding:0; border:0; background:transparent; color:inherit; }
.prose figure, .article-container figure { margin:2em 0; }.prose figcaption, .article-container figcaption { margin-top:8px; color:var(--text-tertiary); font-size:14px; text-align:center; }

/* Steps / tables / health */
.steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--border); border-radius:16px; background:rgba(255,255,255,.82); }
.step { position:relative; padding:17px 19px; }
.step + .step { border-left:1px solid var(--border); }
.step:not(:last-child)::after { content:""; position:absolute; z-index:2; right:-5px; top:50%; width:8px; height:8px; border-top:1.7px solid var(--text-tertiary); border-right:1.7px solid var(--text-tertiary); background:var(--surface); transform:translateY(-50%) rotate(45deg); }
.step b { display:block; margin-bottom:3px; font-size:14px; }.step small { display:block; color:var(--text-tertiary); font-size:12px; line-height:1.45; }.step.active { background:#f5f9ff; box-shadow:inset 0 0 0 2px rgba(8,120,249,.55); }
.download-grid { display:grid; grid-template-columns:1.05fr .95fr .95fr; gap:14px; }
.download-card { min-width:0; padding:18px; }.download-card .edition-visual { height:90px; margin-bottom:12px; }.download-card h3 { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; align-items:center; }.download-card .actions { margin-top:16px; }
.download-meta { display:grid; margin-top:14px; border-top:1px solid rgba(25,34,48,.08); }
.download-meta div { display:grid; grid-template-columns:105px minmax(0,1fr); gap:12px; padding:8px 0; border-bottom:1px solid rgba(25,34,48,.07); font-size:12px; }
.download-meta dt { font-weight:760; }.download-meta dd { margin:0; color:var(--text-secondary); overflow-wrap:anywhere; }
.verify-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }.verify-card { padding:18px; }.verify-card h3 { font-size:16px; }.verify-card p { font-size:13.5px; }
.table-wrap { width:100%; max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; border:1px solid var(--border); border-radius:16px; background:rgba(255,255,255,.82); -webkit-overflow-scrolling:touch; }
.table { width:100%; min-width:720px; border-collapse:collapse; }.table th,.table td { padding:12px 13px; border-bottom:1px solid rgba(25,34,48,.08); text-align:left; font-size:13px; }.table th { background:#f7f9fc; color:#495568; }.table td { color:var(--text-secondary); }.table a { color:var(--accent); font-weight:700; }
.health-grid { display:grid; grid-template-columns:.78fr 1.22fr; gap:16px; }.health-panel { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }.health-card { padding:18px; border:1px solid var(--border); border-radius:16px; background:var(--surface); }.health-card b.big { font-size:34px; }.good { color:var(--success); }
.evolution { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }.evo-step { text-align:center; color:var(--text-secondary); font-size:12px; }.evo-step i { width:38px; height:38px; margin:0 auto 8px; display:grid; place-items:center; border:1px solid var(--border); border-radius:50%; background:var(--surface); color:var(--accent); font-style:normal; font-weight:800; }

/* Desktop page mockups */
.desktop-trio { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }.desktop-card { min-width:0; }.desktop-title { display:flex; align-items:center; gap:8px; margin-bottom:10px; font-size:15px; font-weight:800; }.desktop-title i { width:24px; height:24px; border-radius:8px; background:linear-gradient(145deg,#567cff,#8b72f2); }
.desktop-shot { position:relative; height:290px; overflow:hidden; border:1px solid var(--border); border-radius:16px; background:#eef3ff; box-shadow:var(--shadow-sm); }.intel-shot { display:grid; grid-template-columns:90px 1fr; background:linear-gradient(155deg,#f8fbff,#e4ecff); }.shot-side { padding:14px 8px; border-right:1px solid rgba(47,60,82,.08); background:rgba(255,255,255,.62); font-size:9px; }.shot-side b { display:block; margin-bottom:9px; }.shot-side span { display:block; padding:6px; border-radius:6px; }.shot-side span:first-of-type { background:#dce7ff; color:#2f63d6; }.shot-main { position:relative; padding:16px; }.shot-main h4 { margin:0 0 8px; font-size:13px; }.shot-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }.shot-metrics div { padding:8px; border-radius:9px; background:rgba(255,255,255,.75); font-size:8px; }.shot-metrics b { display:block; font-size:14px; }.shot-chart { position:relative; height:98px; margin-top:7px; border-radius:10px; background:rgba(255,255,255,.7); }.shot-chart::after { content:""; position:absolute; left:9px; right:10px; top:58px; height:2px; background:linear-gradient(90deg,#5b78f8,#8ea9ff); transform:rotate(-5deg); }
.flow-shot { display:grid; place-items:center; text-align:center; background:radial-gradient(circle at 40% 46%,rgba(255,255,255,.96),transparent 17%),linear-gradient(145deg,#dbe6ff,#f1efff 54%,#d9e5ff); }.flow-center { position:relative; z-index:2; }.flow-center h3 { margin:0; font-size:18px; }.flow-center p { font-size:10px; }.flow-search { width:190px; margin-top:13px; padding:9px 12px; border:1px solid rgba(73,87,114,.09); border-radius:12px; background:rgba(255,255,255,.68); color:#7e8798; font-size:9px; }
.classic-shot { position:relative; background:linear-gradient(180deg,#8aa8dc,#385b8b 55%,#14273e); }.classic-shot::before { content:""; position:absolute; left:0; right:0; bottom:32px; height:54%; background:linear-gradient(165deg,transparent 28%,#8299b5 29% 40%,transparent 41%),linear-gradient(195deg,transparent 35%,#b8c3d1 36% 45%,transparent 46%); }.classic-menu { position:absolute; z-index:2; left:8px; top:8px; width:104px; padding:8px; border-radius:8px; background:rgba(255,255,255,.9); box-shadow:0 12px 24px rgba(23,39,62,.14); font-size:8px; }.classic-menu span { display:block; padding:4px 2px; }.classic-taskbar { position:absolute; z-index:2; left:0; right:0; bottom:0; height:32px; display:flex; align-items:center; gap:7px; padding:0 8px; background:rgba(15,27,43,.9); }.classic-start,.classic-app { width:17px; height:17px; border-radius:4px; background:#4485f8; }.classic-search { width:82px; height:19px; border-radius:7px; background:#f7f8fb; }.classic-time { margin-left:auto; color:#fff; font-size:7px; }

/* Home commercial / fact modules */
.commercial { padding: 68px 0; }
.commercial + .commercial { padding-top: 12px; }
.commercial-head { display:grid; grid-template-columns:minmax(0,.9fr) minmax(280px,1.1fr); align-items:end; gap:clamp(28px,5vw,64px); margin-bottom:24px; }
.commercial-head h2 { margin-bottom:0; }.commercial-head p { margin:0; font-size:16.5px; line-height:1.72; }
.value-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }.value-card { padding:20px; border:1px solid var(--border); border-radius:var(--radius-md); background:rgba(255,255,255,.82); box-shadow:var(--shadow-sm); }.value-card b { display:block; margin:15px 0 6px; font-size:16px; }.value-card p { margin:0; font-size:14px; line-height:1.65; }
.path-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }.path-card { padding:21px; border:1px solid var(--border); border-radius:var(--radius-md); background:rgba(255,255,255,.84); box-shadow:var(--shadow-sm); }.path-card h3 { margin:16px 0 7px; font-size:18px; }.path-card p { margin:0; font-size:14px; line-height:1.65; }
.source-strip { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }.source-strip a { padding:8px 11px; border:1px solid var(--border); border-radius:999px; background:rgba(255,255,255,.72); color:var(--text-secondary); font-size:12px; font-weight:700; }
.live-facts { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; }.live-fact { padding:9px 12px; border:1px solid var(--border); border-radius:999px; background:rgba(255,255,255,.68); color:var(--text-secondary); font-size:13px; }.live-fact strong { color:var(--text-primary); }
.sales-band { display:grid; grid-template-columns:1fr auto; align-items:center; gap:24px; padding:30px 32px; border:1px solid var(--border); border-radius:var(--radius-lg); background:linear-gradient(125deg,#f4f8ff,#fff 58%,#f7f1e7); box-shadow:var(--shadow-sm); }.sales-band h2 { max-width:22ch; margin:0 0 9px; font-size:clamp(28px,3vw,40px); }.sales-band p { margin:0; }.sales-actions { display:flex; gap:10px; flex-wrap:wrap; }.sales-actions .btn:first-child { border-color:var(--accent); background:var(--accent); color:#fff; }

/* CTA / footer */
.cta-band { display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; padding:30px 32px; border:1px solid rgba(8,120,249,.17); border-radius:var(--radius-lg); background:linear-gradient(120deg,#0d72e7,#2e7ff0 62%,#517fe2); color:#fff; box-shadow:0 20px 45px rgba(20,90,190,.18); }
.cta-band h3 { margin:0 0 6px; color:#fff; font-size:clamp(24px,2.4vw,30px); line-height:1.2; }.cta-band p { margin:0; color:rgba(255,255,255,.84); font-size:14.5px; }.cta-band .btn { position:relative; z-index:1; border-color:#fff; background:#fff; color:#1656ad; }
.footer { margin-top:48px; padding:48px 0 34px; border-top:1px solid rgba(25,34,48,.08); background:rgba(251,250,247,.78); color:var(--text-tertiary); font-size:13px; }
.footer-grid { display:grid; grid-template-columns:minmax(230px,1.35fr) repeat(4,minmax(110px,.72fr)); gap:30px; }.footer-grid > div { min-width:0; }.footer-grid > div:not(:first-child) { display:grid; align-content:start; gap:8px; }.footer .brand { color:var(--text-primary); }.footer h4 { margin:0 0 4px; color:var(--text-primary); font-size:13px; }.footer a,.footer span { display:block; line-height:1.5; }.footer a:hover { color:var(--text-primary); }.footer p { max-width:310px; margin:12px 0 0; font-size:13px; line-height:1.65; }

/* Assistant */
.kingai-guide-button { position:fixed; z-index:120; right:20px; bottom:20px; min-height:48px; padding:0 18px; border:0; border-radius:999px; background:var(--accent); color:#fff; font-weight:800; box-shadow:0 15px 34px rgba(8,92,198,.24); }
.kingai-guide { position:fixed; z-index:121; right:20px; bottom:78px; width:min(390px,calc(100vw - 28px)); max-height:min(620px,72vh); display:none; overflow:hidden; border:1px solid var(--border); border-radius:22px; background:rgba(255,255,255,.97); box-shadow:0 28px 80px rgba(32,48,78,.20); backdrop-filter:blur(22px); }.kingai-guide.open { display:block; }.guide-head { padding:18px 18px 14px; border-bottom:1px solid var(--border); }.guide-head b { display:block; font-size:18px; }.guide-head span { display:block; margin-top:2px; color:var(--text-tertiary); font-size:12px; }.guide-body { max-height:480px; overflow:auto; padding:14px; }.guide-msg { margin:7px 0; padding:11px 13px; border-radius:14px; font-size:13px; line-height:1.55; }.guide-msg.user { margin-left:46px; background:var(--accent); color:#fff; }.guide-msg.bot { margin-right:24px; border:1px solid var(--border); background:#f4f6f9; color:#273247; }.guide-msg a { color:var(--accent); font-weight:800; }.guide-form { display:grid; grid-template-columns:1fr auto; gap:8px; padding:12px; border-top:1px solid var(--border); }.guide-input { min-width:0; }.guide-send { min-height:44px; padding:0 14px; border:0; border-radius:12px; background:var(--accent); color:#fff; font-weight:800; }.guide-disclaimer { padding:0 14px 12px; color:var(--text-tertiary); font-size:10px; }

/* Responsive */
@media (max-width: 1120px) {
  .nav { grid-template-columns:auto 1fr auto; }
  .navlinks { position:absolute; left:0; right:0; top:calc(100% + 10px); z-index:110; display:none; padding:10px; border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.985); box-shadow:var(--shadow-md); white-space:normal; }
  .navlinks.open { display:grid; grid-template-columns:1fr 1fr; gap:2px; }
  .navlinks a { display:block; padding:12px 13px; border-radius:10px; font-size:14px; line-height:1.35; }
  .navlinks a:hover,.navlinks a.active { background:var(--surface-soft); }
  .navlinks a.active::after { display:none; }
  .nav-download { display:none; }
  .menu { display:inline-flex; }
  .hero-grid { grid-template-columns:minmax(0,.98fr) minmax(420px,1.02fr); gap:36px; }
  .grid-5,.verify-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .desktop-trio { grid-template-columns:1fr; }.desktop-shot { height:360px; }
  .download-grid { grid-template-columns:1fr 1fr; }.download-card:first-child { grid-column:1/-1; }
  .health-grid { grid-template-columns:1fr; }
  .value-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.path-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns:1.4fr 1fr 1fr; }.footer-grid > div:first-child { grid-column:1/-1; }
}

@media (max-width: 820px) {
  :root { --section-space: 56px; }
  .shell { width:min(calc(100% - 34px),var(--container)); }
  .nav { min-height:64px; gap:10px; }.brand { font-size:16px; }.brand-mark { width:29px; height:29px; }.lang { min-height:44px; padding-inline:7px; font-size:12.5px; }.menu { min-height:44px; }
  .navlinks.open { grid-template-columns:1fr; }
  .hero { padding:44px 0 38px; }.hero-grid { grid-template-columns:1fr; gap:24px; }.hero-device { display:none; }
  .hero h1,.page-hero h1 { max-width:none; margin:12px 0 16px; font-size:clamp(36px,10.5vw,44px); line-height:1.075; letter-spacing:-.044em; }
  html[lang^="zh"] .hero h1,html[lang^="zh"] .page-hero h1 { max-width:none; font-size:clamp(34px,9.6vw,41px); line-height:1.18; letter-spacing:-.026em; }
  .hero p,.page-hero p { font-size:17px; line-height:1.7; }
  .eyebrow,.kicker { font-size:11px; letter-spacing:.075em; }
  .actions { display:grid; grid-template-columns:1fr; gap:9px; margin-top:22px; }.actions .btn { width:100%; }
  .trust-row { display:grid; grid-template-columns:1fr; gap:9px; margin-top:22px; }
  .page-hero { padding:42px 0 24px; }.page-section { padding:28px 0 50px; }.page-section.alt { margin-block:10px; padding:22px; }
  .section h2,.page-section h2,.commercial h2,.sales-band h2 { max-width:none; font-size:clamp(29px,8vw,35px); line-height:1.17; }.section-copy,.section-head p { font-size:16px; }
  .grid-2,.grid-3,.grid-4,.grid-5,.verify-grid,.download-grid,.health-panel { grid-template-columns:1fr; }.download-card:first-child { grid-column:auto; }
  .card { padding:20px; }.card h3 { font-size:19px; }.card p { font-size:15.5px; }
  .edition-card { grid-template-columns:88px minmax(0,1fr); gap:14px; padding:15px; }.edition-visual { height:82px; }
  .fabric { grid-template-columns:1fr; gap:12px; padding:19px; }.fabric-core { display:none; }.fabric-side { gap:9px; }.fabric-node { padding:14px; }.fabric-node b { font-size:15px; }.fabric-node small { font-size:13.5px; }
  .controlled-card { margin-top:12px; }
  .product-band { grid-template-columns:1fr; padding:21px; }
  .steps { grid-template-columns:1fr; }.step + .step { border-left:0; border-top:1px solid var(--border); }.step:not(:last-child)::after { right:auto; left:50%; top:auto; bottom:-5px; transform:translateX(-50%) rotate(135deg); }.step { padding:16px 18px; }
  .download-meta div { grid-template-columns:minmax(84px,.75fr) minmax(0,1.25fr); }.download-card .btn { white-space:normal; text-align:center; line-height:1.3; padding-block:10px; }
  .evolution { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px 8px; }
  .commercial { padding:52px 0; }.commercial + .commercial { padding-top:0; }.commercial-head { grid-template-columns:1fr; gap:10px; margin-bottom:20px; }.value-grid,.path-grid { grid-template-columns:1fr; }.value-card,.path-card { padding:19px; }
  .sales-band,.cta-band { grid-template-columns:1fr; gap:18px; padding:24px; }.sales-actions { display:grid; grid-template-columns:1fr; }.sales-actions .btn { width:100%; }
  .footer { margin-top:30px; padding:42px 0 52px; }.footer-grid { grid-template-columns:1fr 1fr; gap:26px 18px; }.footer-grid > div:first-child { grid-column:1/-1; }
  .kingai-guide-button { right:14px; bottom:14px; min-height:46px; padding-inline:16px; }.kingai-guide { right:14px; bottom:70px; max-height:76vh; }
  .article-container,.prose { font-size:17.5px; line-height:1.78; }
}

@media (max-width: 430px) {
  .shell { width:calc(100% - 30px); }
  .nav { grid-template-columns:minmax(0,1fr) auto; }.nav-actions { gap:4px; }.brand { font-size:15.5px; gap:8px; }.brand-mark { width:28px; height:28px; }.lang { padding-inline:5px; font-size:12px; }
  .hero h1,.page-hero h1 { font-size:clamp(35px,10.3vw,42px); }
  html[lang^="zh"] .hero h1,html[lang^="zh"] .page-hero h1 { font-size:clamp(33px,9.4vw,39px); }
  .live-facts { display:grid; grid-template-columns:1fr; gap:8px; }.live-fact { width:max-content; max-width:100%; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 370px) {
  .shell { width:calc(100% - 24px); }
  .brand { font-size:15px; }.lang { font-size:11.5px; }.hero h1,.page-hero h1 { font-size:34px; }.footer-grid { grid-template-columns:1fr; }.footer-grid > div:first-child { grid-column:auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation:none !important; transition:none !important; }
}
