/* ==========================================================================
   云枢 · 工程智慧决策系统 — 官网
   平面 / 黑白 / 工程蓝；无外部字体与 CDN
   ========================================================================== */

:root {
  --ink: #111111;
  --ink-2: #3d3d3a;
  --muted: #6b6b66;
  --bg: #ffffff;
  --paper: #f6f6f3;
  --paper-2: #efefea;
  --line: #e3e3dd;
  --line-strong: #111111;
  --blue: #0a4bd6;
  --blue-deep: #0047bb;
  --blue-soft: #eaf0ff;
  --green: #0a7a55;
  --amber: #9a5b00;
  --red: #c8102e;
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1240px;
  --font: "Helvetica Neue", Helvetica, Arial, "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2em;
}

::selection {
  background: #d7e3ff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

/* ------------------------------- header ------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  white-space: nowrap;
}

.nav a:hover {
  background: var(--paper);
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle span {
  margin: 4px 0;
}

/* ------------------------------- buttons ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.btn:hover {
  background: var(--paper-2);
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--blue);
  color: #fff;
}

.btn.primary:hover {
  background: var(--blue-deep);
}

.btn.dark {
  background: var(--ink);
  color: #fff;
}

.btn.dark:hover {
  background: #000;
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
}

.btn.ghost:hover {
  background: var(--paper);
}

.btn.sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.btn.lg {
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
}

.btn .arrow {
  font-size: 15px;
  line-height: 1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-deep);
  font-size: 13.5px;
  font-weight: 500;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* ------------------------------- type ------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue);
  flex: none;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.55);
}

.eyebrow.light::before {
  background: #6ea8ff;
}

.display {
  margin-top: 22px;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.display .accent {
  color: var(--blue);
}

.display .thin {
  color: #b9b9b2;
}

.h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.lead {
  margin-top: 20px;
  max-width: 720px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--muted);
}

.small {
  font-size: 13px;
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.accent {
  color: var(--blue);
}

.dark .lead,
.dark .muted {
  color: rgba(255, 255, 255, 0.58);
}

/* ------------------------------- hero ------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(246, 246, 243, 0.55), rgba(255, 255, 255, 0) 62%),
    #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

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

.hero .display {
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.06;
}

.hero .display .accent {
  white-space: nowrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 11.5px;
  color: var(--ink-2);
}

.badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

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

.hero-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.browser {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.12);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfcfc8;
}

.browser-bar span {
  margin-left: 8px;
  flex: 1;
  max-width: 320px;
  height: 18px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 9px;
  line-height: 16px;
  padding: 0 8px;
  color: #999;
  overflow: hidden;
  white-space: nowrap;
}

.browser img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.hero-visual .float {
  position: absolute;
  left: -26px;
  bottom: 34px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.float .k {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.float .v {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
}

.float .v small {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 4px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  padding: 18px 22px 0 0;
  border-right: 1px solid var(--line);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat .n {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.hero-stat .t {
  margin-top: 7px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ------------------------------- sections ------------------------------- */

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section.tight {
  padding: 64px 0;
}

.section.dark {
  background: #111;
  color: #fff;
  border-bottom-color: #222;
}

.section.paper {
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.section-head .copy {
  max-width: 900px;
}

.section-head .aside {
  margin-left: auto;
  max-width: 340px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

.section-head.center {
  display: block;
  text-align: center;
}

.section-head.center .copy {
  margin: 0 auto;
}

.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  min-width: 0;
}

.card.paper {
  background: var(--paper);
  border-color: transparent;
}

.card.dark {
  background: #181818;
  border-color: #292929;
  color: #fff;
}

.card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.card h3 {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.card ul {
  margin-top: 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--line-strong);
}

.card.dark li {
  color: rgba(255, 255, 255, 0.72);
}

.card.dark li::before {
  background: #6ea8ff;
}

.card.dark p {
  color: rgba(255, 255, 255, 0.58);
}

.card .top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card .tag {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}

.card.dark .tag {
  border-color: #333;
  color: rgba(255, 255, 255, 0.5);
}

/* stage map */
.stage-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.stage {
  padding: 24px 22px 26px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.stage:last-child {
  border-right: 0;
}

.stage .idx {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.stage h3 {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
}

.stage p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.stage .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.stage .tags span {
  font-size: 10px;
  color: var(--ink-2);
  background: var(--paper);
  border-radius: 999px;
  padding: 3px 8px;
}

/* split feature */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.split.sticky .left {
  position: sticky;
  top: 96px;
}

.split .right {
  min-width: 0;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.feature-item .fi {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 600;
}

.feature-item p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-item .out {
  margin-top: 8px;
  font-size: 11px;
  color: var(--blue-deep);
}

/* table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

table.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 680px;
}

.table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  white-space: nowrap;
}

.table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.65;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table td.id {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.table .p0,
.table .p1,
.table .p2 {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}

.table .p0 {
  background: #fdecef;
  color: var(--red);
}

.table .p1 {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.table .p2 {
  background: var(--paper-2);
  color: var(--ink-2);
}

/* metrics */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.metric {
  padding: 24px 24px 0 0;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric .n {
  font-family: var(--mono);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric .n small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

.metric .t {
  margin-top: 9px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* roles */
.role-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.role-row {
  display: grid;
  grid-template-columns: 210px 1fr 260px;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.role-row .r {
  font-size: 15px;
  font-weight: 600;
}

.role-row .r small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.role-row p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

.role-row .out {
  font-size: 12px;
  color: var(--blue-deep);
}

.role-row .out span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

/* steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.step h3 {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
}

.step p {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.step .time {
  margin-top: 10px;
  font-size: 11px;
  color: var(--blue-deep);
}

/* dark band */
.band {
  background: #111;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 54px;
  position: relative;
  overflow: hidden;
}

.band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 108, 224, 0.35), transparent 65%);
  pointer-events: none;
}

.band .h2 {
  position: relative;
}

.band .lead {
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.band .btn {
  position: relative;
}

.band-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  position: relative;
}

/* quote / principle */
.principle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle .q {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.principle .a {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  margin-left: auto;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary .plus {
  transform: rotate(45deg);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.faq-answer {
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs span {
  color: #b5b5ae;
}

/* page hero */
.page-hero {
  padding: 38px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero .display {
  font-size: clamp(34px, 4.2vw, 54px);
  max-width: 1120px;
}

.page-hero .lead {
  max-width: 760px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  font-size: 11.5px;
  color: var(--muted);
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
}

/* anchor nav */
.anchor-nav {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.anchor-nav .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 10px;
  padding-bottom: 10px;
}

.anchor-nav .wrap::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid transparent;
}

.anchor-nav a:hover {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

/* prose */
.prose {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
}

.prose h2 {
  margin: 44px 0 14px;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  color: var(--ink);
}

.prose p {
  margin: 12px 0;
}

.prose ul,
.prose ol {
  margin: 12px 0;
  padding-left: 1.4em;
}

.prose li {
  margin: 6px 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13px;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--paper);
  font-weight: 600;
}

.prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 2px solid var(--blue);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 13.5px;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--paper);
  padding: 2px 5px;
  border-radius: 4px;
}

/* callout */
.callout {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
}

.callout strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.callout .ico {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

/* download */
.download {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.download .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  flex: none;
}

.download .meta {
  flex: 1;
  min-width: 0;
}

.download .meta strong {
  display: block;
  font-size: 14px;
}

.download .meta span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 11.5px;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 11px 12px;
  font-size: 13px;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}

.form-status {
  font-size: 12px;
  color: var(--blue-deep);
  min-height: 18px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  background: var(--paper);
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 600;
}

.contact-card .item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.contact-card .item:last-child {
  border-bottom: 0;
}

.contact-card .k {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.contact-card .v {
  margin-top: 3px;
  word-break: break-all;
}

.contact-card .v a {
  color: var(--blue-deep);
}

/* footer */
.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.62);
  padding: 54px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-bottom .right {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

/* page-specific helpers */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 11.5px;
  color: var(--ink-2);
}

.dark .chip {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.two-col-list .item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}

.two-col-list .item .k {
  flex: none;
  width: 20px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  padding-top: 3px;
}

.visual-full {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}

.visual-full img {
  width: 100%;
}

.caption {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

/* reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* responsive */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 760px;
  }
  .float {
    display: none;
  }
  .grid.four,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .stage-map {
    grid-template-columns: 1fr;
  }
  .stage {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stage:last-child {
    border-bottom: 0;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .split.sticky .left {
    position: static;
  }
  .role-row {
    grid-template-columns: 180px 1fr;
  }
  .role-row .out {
    grid-column: 2;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .wrap {
    padding: 0 20px;
  }
  .nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    flex-direction: column;
  }
  .site-header.open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .site-header.open .nav a {
    padding: 11px 12px;
    border-radius: 8px;
  }
  .header-actions .btn.ghost {
    display: none;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stat:nth-child(2) {
    border-right: 0;
  }
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .grid.three,
  .grid.five,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .role-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .role-row .out {
    grid-column: auto;
  }
  .section {
    padding: 62px 0;
  }
  .section-head {
    gap: 18px;
  }
  .section-head .aside {
    margin-left: 0;
  }
  .band {
    padding: 34px 24px;
    border-radius: 20px;
  }
  .two-col-list {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero {
    padding: 26px 0 40px;
  }
}

@media (max-width: 560px) {
  .brand-text small {
    display: none;
  }
  .brand-text strong {
    font-size: 13.5px;
  }
  .display {
    font-size: 36px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .grid.two,
  .grid.three,
  .grid.four,
  .grid.five,
  .steps,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .metric {
    padding: 18px 0 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }
  .metric:last-child {
    border-bottom: 0;
  }
  .hero-stat {
    padding-right: 0;
  }
  .hero-stat:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 14px;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
  .download {
    flex-wrap: wrap;
  }
  .download .btn {
    width: 100%;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom .right {
    margin-left: 0;
  }
  .faq-item summary {
    font-size: 14.5px;
  }
  .faq-answer {
    padding-right: 0;
  }
}

/* print (用于导出产品需求说明书 PDF) */
@media print {
  :root {
    --line: #d8d8d8;
  }
  html {
    scroll-padding-top: 0;
  }
  body {
    font-size: 11pt;
    line-height: 1.6;
  }
  .site-header,
  .site-footer,
  .breadcrumbs,
  .anchor-nav,
  .page-hero .btn,
  .cta-band,
  .site-cta,
  .download,
  .no-print,
  .skip-link {
    display: none !important;
  }
  .page-hero {
    padding: 0 0 18px;
    background: #fff;
    border-bottom: 2px solid #111;
  }
  .section {
    padding: 22px 0;
    border-bottom: 0;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .display {
    font-size: 24pt;
  }
  .h2 {
    font-size: 16pt;
  }
  .card,
  .table-wrap,
  .callout {
    break-inside: avoid;
  }
  .table {
    font-size: 9pt;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  a[href^="http"]::after {
    content: none;
  }
}

/* 架构图 */
.arch {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.arch-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  border-bottom: 1px solid var(--line);
}
.arch-row:last-child { border-bottom: 0; }
.arch-row .label {
  padding: 18px 16px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.arch-row .body {
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.arch-row .body span {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 9px;
  background: #fff;
}
.arch-row.ai .body span { border-color: #c9d8ff; background: var(--blue-soft); color: var(--blue-deep); }
.arch-row.data .body span { background: var(--paper); }

/* 定义卡 */
.definition {
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 20px;
}
.definition p { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; letter-spacing: -.015em; }
.definition small { display: block; margin-top: 12px; font-size: 11px; color: var(--muted); }

/* 事实列表 */
.facts { display: flex; flex-direction: column; }
.fact {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}
.fact:first-child { border-top: 1px solid var(--line); }
.fact .k { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .08em; padding-top: 2px; }
.fact .v { color: var(--ink-2); }

/* 需求表辅助 */
.req-legend { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; font-size: 11px; color: var(--muted); }
.req-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.dot.p0 { background: var(--red); }
.dot.p1 { background: var(--blue); }
.dot.p2 { background: #a8a8a0; }

/* 风险列表 */
.risk-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.risk {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}
.risk b { display: block; font-size: 13px; }
.risk span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.65; }

/* 截图墙 */
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shot { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); }
.shot img { width: 100%; display: block; }
.shot figcaption { padding: 12px 14px; font-size: 11px; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .risk-list, .shot-grid { grid-template-columns: 1fr; }
  .arch-row { grid-template-columns: 84px 1fr; }
  .arch-row .label { padding: 14px 10px; }
  .arch-row .body { padding: 14px; }
  .definition p { font-size: 20px; }
  .fact { grid-template-columns: 70px 1fr; }
}

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }
