/* ============================================================
   山东裂变网络科技 · FDE 前线交付
   设计系统：数字蓝图 / Front-line Deployment Blueprint
   视觉语言：工程图纸的坐标网格、十字准星、尺寸标注、琥珀高亮
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --bp-950: #061426;
  --bp-900: #0a1f38;
  --bp-800: #0e2c52;
  --bp-750: #113158;
  --bp-700: #14385f;
  --bp-600: #16466e;
  --bp-500: #1e5a8c;
  --bp-400: #2a6da3;

  --paper: #f3f6f9;
  --paper-2: #eef2f6;
  --white: #ffffff;

  --ink: #0f2238;
  --ink-2: #45596e;
  --ink-3: #5c7083;

  --line: #d9e2ea;
  --line-2: #e6edf3;

  --cyan: #8fc1e8;
  --cyan-2: #bfd9f0;
  --cyan-dim: rgba(143, 193, 232, 0.16);
  --cyan-dim-2: rgba(143, 193, 232, 0.32);

  --amber: #e8912a;
  --amber-deep: #96520d;
  --amber-soft: #f8ead2;

  --green: #1e9e6b;
  --green-soft: #dff0e8;

  --font-sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Microsoft YaHei",
    "Hiragino Sans GB", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 8px;
  --radius-card: 16px;
  --shadow-card: 0 0 0 1px rgba(15, 34, 56, 0.07), 0 2px 4px rgba(15, 34, 56, 0.03), 0 12px 28px -16px rgba(15, 34, 56, 0.16);
  --shadow-lg: 0 24px 60px -28px rgba(6, 20, 38, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--bp-950);
  padding: 10px 16px;
  font-weight: 600;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}

h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  position: relative;
  padding: clamp(64px, 7.5vw, 104px) 0;
}
.section--paper {
  background: var(--paper);
}
.section--white {
  background: var(--white);
}
.section--blueprint {
  background-color: var(--bp-800);
  color: var(--cyan-2);
}
.section--deep {
  background-color: var(--bp-900);
  color: var(--cyan-2);
}

/* Blueprint grid texture */
.grid-paper {
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
}
.grid-blueprint {
  background-image: linear-gradient(rgba(143, 193, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 193, 232, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- Typography ---------- */
.h-display {
  font-size: clamp(2.8rem, 5.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.h-section {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-2);
}
.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- Section header (sheet head) ---------- */
.sheet-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 20px;
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sheet-head__mark {
  width: 30px;
  height: 30px;
  color: var(--amber);
  margin-top: 2px;
}
.sheet-head__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--amber-deep);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sheet-head__index::after {
  content: "";
  height: 1px;
  width: 34px;
  background: var(--amber);
}
.sheet-head__title {
  margin-top: 10px;
}
.sheet-head__body {
  grid-column: 1 / -1;
  max-width: 68ch;
}
.sheet-head--inverse .sheet-head__title {
  color: #fff;
}
.sheet-head--inverse .sheet-head__body {
  color: var(--cyan-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: var(--radius);
  min-height: 48px;
  justify-content: center;
  transition: scale 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out,
    border-color 150ms ease-out;
  white-space: nowrap;
}
.btn__arrow { width: 20px; height: 20px; flex: none; }
.btn:has(.btn__arrow) { padding-right: 22px; }
.btn:active:not([data-static]) { scale: 0.96; }
.btn--amber {
  background: var(--amber);
  color: #1a1206;
}
.btn--amber:hover {
  background: #f09a35;
}
.btn--ghost-light {
  color: var(--cyan-2);
  border: 1px solid var(--cyan-dim-2);
}
.btn--ghost-light:hover {
  border-color: var(--cyan);
  color: #fff;
}
.btn--ghost-dark {
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost-dark:hover {
  border-color: var(--bp-500);
  color: var(--bp-600);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 31, 56, 0.94);
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(243, 246, 249, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .nav__link {
  color: var(--ink);
}
.site-header.is-scrolled .brand__name {
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s;
  letter-spacing: 0.01em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--cyan-2);
  transition: color 150ms ease-out;
  position: relative;
}
.nav__link:hover {
  color: #fff;
}
.nav__cta {
  padding: 9px 18px;
  font-size: 0.92rem;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: currentColor;
  transition: transform 150ms ease-out, opacity 150ms ease-out;
}
.nav__toggle span:nth-child(1) {
  top: 13px;
}
.nav__toggle span:nth-child(2) {
  top: 19px;
}
.nav__toggle span:nth-child(3) {
  top: 25px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(140px, 18vh, 180px) 0 clamp(60px, 7vw, 96px);
  background-color: var(--bp-800);
  color: var(--cyan-2);
  overflow: hidden;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 90% at 78% 12%,
      rgba(143, 193, 232, 0.14),
      transparent 46%
    ),
    radial-gradient(90% 70% at 10% 100%, rgba(6, 20, 38, 0.65), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 26px;
}
.hero__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(232, 145, 42, 0.12);
}
.hero__title {
  color: #fff;
  max-width: 14ch;
}
.hero__title .accent-amber {
  color: var(--amber);
}
.hero__lead {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.9;
  color: var(--cyan-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero__meta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
}
.hero__meta .sep {
  width: 26px;
  height: 1px;
  background: var(--cyan-dim-2);
}

/* Hero flow strip (诊断 → 验证 → 固化) */
.hero__flow {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.flow-node {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flow-node__dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--cyan);
  background: transparent;
  transform: rotate(45deg);
  position: relative;
}
.flow-node__dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--cyan);
}
.flow-node__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--cyan-2);
}
.flow-node--active .flow-node__dot {
  border-color: var(--amber);
}
.flow-node--active .flow-node__dot::after {
  background: var(--amber);
}
.flow-node--active .flow-node__label {
  color: #fff;
}
.flow-link {
  width: clamp(24px, 4vw, 48px);
  height: 1px;
  background: var(--cyan-dim-2);
  margin: 0 14px;
  position: relative;
}
.flow-link::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--cyan-dim-2);
}

/* Hero instrument panel (right) */
.hero__panel {
  position: relative;
}
.panel-card {
  position: relative;
  border-radius: 32px;
  box-shadow: 0 0 0 1px var(--cyan-dim-2), 0 24px 64px -32px rgba(0, 0, 0, 0.6);
  background: rgba(6, 20, 38, 0.72);
  padding: 24px;
}
.panel-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cyan-dim);
  margin-bottom: 18px;
}
.panel-card__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-transform: uppercase;
}
.panel-card__id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
}
.panel-card__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--cyan-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.panel-card__foot::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(232, 145, 42, 0.1);
}
/* Hero crosshair decoration */
.hero__crosshair {
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  opacity: 0.35;
  pointer-events: none;
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--bp-900);
  color: var(--cyan-2);
  border-top: 1px solid var(--cyan-dim);
  border-bottom: 1px solid var(--cyan-dim);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(28px, 3.5vw, 46px) clamp(20px, 2.5vw, 40px);
  border-right: 1px solid var(--cyan-dim);
}
.stat:last-child {
  border-right: none;
}
.stat__num {
  font-family: "Space Grotesk", var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat__num .unit {
  font-size: 0.4em;
  color: var(--amber);
  font-weight: 500;
  margin-left: 2px;
}
.stat__label {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--cyan-2);
}
.stat__note {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.03em;
}

/* ---------- Pain points (grid cells) ---------- */
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pain {
  padding: 30px 28px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--white);
  transition: background-color 150ms ease-out;
}
.pain:hover {
  background: var(--paper);
}
.pain__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.pain__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.pain__tick {
  color: var(--amber);
  width: 16px;
  height: 16px;
  opacity: 0.85;
}
.pain__title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}
.pain__text {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ---------- Comparison table ---------- */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-2);
}
.compare thead th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-transform: uppercase;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-top: 18px;
  padding-bottom: 18px;
}
.compare thead th:first-child {
  color: var(--ink-3);
  font-weight: 400;
}
.compare tbody th {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 0.92rem;
  width: 22%;
  background: var(--paper);
}
.compare td {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.compare th.col-fde {
  background: var(--bp-700);
  color: #fff;
  border-bottom-color: var(--cyan-dim-2);
}
.compare td.col-fde {
  background: var(--bp-800);
  color: var(--cyan-2);
  border-bottom-color: rgba(143, 193, 232, 0.16);
}
.compare td.col-fde:first-of-type {
  background: var(--bp-700);
  color: #fff;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Service spec sheets ---------- */
.specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.spec {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: var(--white);
  position: relative;
}
.spec summary {
  list-style: none;
  cursor: pointer;
}
.spec summary::-webkit-details-marker {
  display: none;
}
.spec summary:hover .spec__title {
  color: var(--bp-600);
}
.spec__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
}
.spec__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  flex: none;
}
.spec__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  transition: color 150ms ease-out;
}
.spec__tag {
  margin-left: auto;
  flex: none;
}
.spec__toggle {
  width: 24px;
  height: 24px;
  color: var(--ink-3);
  flex: none;
}
.spec[open] .spec__toggle {
  transform: rotate(180deg);
  color: var(--bp-600);
}
.spec__body {
  padding: 0 28px 30px;
  border-top: 1px solid var(--line-2);
}
.spec__lead {
  font-size: 1.02rem;
  color: var(--ink-2);
  padding-top: 20px;
  margin-bottom: 4px;
  max-width: 62ch;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1.4;
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
}
.tag--live {
  color: #12734d;
  background: var(--green-soft);
}
.tag--dev {
  color: var(--amber-deep);
  background: var(--amber-soft);
}
.tag--ondemand {
  color: var(--ink-2);
  background: var(--paper-2);
}

/* Service detail blocks */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding-top: 26px;
}
.detail-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bp-600);
  margin-bottom: 16px;
  font-weight: 500;
}
.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--bp-500);
  transform: rotate(45deg);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 4px;
  height: 4px;
  background: var(--amber);
}

/* Flow (horizontal steps) */
.steps {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}
.step {
  flex: 1 1 150px;
  min-width: 140px;
  position: relative;
  padding: 18px 16px;
  border: 1px solid var(--line);
  margin-right: -1px;
  background: var(--white);
}
.step__n {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--amber-deep);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.step__name {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.step__desc {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.step__arrow {
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* Use-case mini cards */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.use-case {
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--paper);
}
.use-case__t {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.use-case__d {
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* Workflow vs Agent mini compare */
.wf-agent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wf-agent__col {
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--paper);
}
.wf-agent__col--agent {
  border-color: var(--bp-500);
  background: var(--white);
}
.wf-agent__h {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.wf-agent__sub {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.chain .chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 5px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.chain .chip--hot {
  border-color: var(--amber);
  color: var(--amber-deep);
  background: var(--amber-soft);
}
.chain .arrow {
  color: var(--ink-3);
  font-size: 0.8rem;
}

/* ---------- Delivery stages ---------- */
.delivery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.delivery__stage {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 34px 30px 38px;
  position: relative;
}
.delivery__stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.delivery__stage-n {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber);
  letter-spacing: 0.06em;
}
.delivery__stage-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.delivery__stage-sub {
  font-size: 0.85rem;
  color: var(--ink-3);
  font-family: var(--font-mono);
  margin-bottom: 18px;
}
.delivery__stage ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.delivery__stage ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--bp-500);
  transform: rotate(45deg);
}

/* ---------- Security ---------- */
.secure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.secure {
  border: 1px solid var(--cyan-dim-2);
  background: rgba(10, 31, 56, 0.4);
  padding: 28px;
}
.secure__n {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}
.secure__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.secure__text {
  font-size: 0.95rem;
  color: var(--cyan-2);
  line-height: 1.6;
}
.callout {
  margin-top: 28px;
  border-left: 3px solid var(--amber);
  background: rgba(143, 193, 232, 0.06);
  padding: 20px 24px;
  font-size: 0.98rem;
  color: var(--cyan-2);
}
.callout strong {
  color: #fff;
}

/* ---------- Track record table ---------- */
.record-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}
.record {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.record th,
.record td {
  text-align: left;
  vertical-align: top;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-2);
}
.record thead th {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.record tbody tr:last-child th,
.record tbody tr:last-child td {
  border-bottom: none;
}
.record td:first-child {
  font-weight: 600;
  color: var(--ink);
}
.record td {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.record .tag {
  margin-top: 0;
}

/* ---------- Cooperation ---------- */
.coop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.coop__list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-2);
}
.coop__list li:first-child {
  padding-top: 0;
}
.coop__list li:last-child {
  border-bottom: none;
}
.coop__list .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber);
  padding-top: 3px;
  flex: none;
}
.coop__card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: var(--white);
  padding: 34px;
}
.coop__card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.coop__card > p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}
.method {
  border: 1px solid var(--line);
  padding: 16px;
}
.method__t {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.method__d {
  font-size: 0.84rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.pricing {
  border-top: 1px dashed var(--line);
  padding-top: 20px;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.7;
}
.pricing strong {
  color: var(--ink);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.contact__info {
  display: grid;
  gap: 26px;
}
.contact__item {
  display: flex;
  gap: 16px;
}
.contact__item .ico {
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--cyan-dim-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}
.contact__item .ico svg {
  width: 18px;
  height: 18px;
}
.contact__item h4 {
  font-size: 0.85rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-weight: 500;
}
.contact__item p {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.5;
}
.contact__item p.mono {
  letter-spacing: 0.02em;
}
/* ---------- Footer ---------- */
.site-footer {
  background: var(--bp-950);
  color: var(--cyan-2);
  padding: 48px 0 36px;
  border-top: 1px solid var(--cyan-dim);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__brand .brand__name {
  color: #fff;
}
.footer__meta {
  font-size: 0.82rem;
  color: var(--cyan);
  line-height: 1.7;
}
.footer__bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--cyan-dim);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--cyan);
}
.footer__bottom .mono {
  letter-spacing: 0.04em;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 8px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-def__k,
.about-side__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bp-600);
  margin-bottom: 12px;
}
.about-side__k {
  color: var(--ink-3);
}
.about-def__v {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
  max-width: 46ch;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--bp-600);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 14px;
  border-radius: 4px;
}
.goal {
  margin-top: 36px;
  border-left: 3px solid var(--amber);
  background: var(--white);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
}
.goal p {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

/* ---------- Closing lines ---------- */
.pain-close {
  margin-top: 36px;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 68ch;
}
.pain-close strong {
  color: var(--ink);
}
.mode-close {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 1.04rem;
  color: var(--ink-2);
}
.mode-close .mono {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ---------- Detail note / wf-agent note / coop label ---------- */
.detail-note {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--amber);
  background: var(--paper);
}
.wf-agent__note {
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: 14px;
}
.coop__h {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--bp-600);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- Surface hierarchy and interaction states ---------- */
.site-header.is-scrolled .brand__sub { color: var(--amber-deep); }
.nav__toggle { color: white; flex: none; }
.site-header.is-scrolled .nav__toggle { color: var(--ink); }
.site-header.menu-open { background: var(--bp-900); backdrop-filter: none; }
.site-header.menu-open .brand__name,
.site-header.menu-open .nav__toggle,
.site-header.menu-open .nav__link { color: white; }
.site-header.menu-open .brand__sub { color: var(--amber); }
.nav__link:hover, .nav__link[aria-current="location"] { background: rgba(143, 193, 232, 0.12); }
.nav__link[aria-current="location"]::after {
  content: ""; position: absolute; bottom: 4px; left: calc(50% - 8px);
  width: 16px; height: 2px; background: var(--amber); border-radius: 1px;
}
.site-header.is-scrolled .nav__link:hover { color: var(--bp-500); }
.brand__mark { color: var(--cyan); }
.site-header.is-scrolled .brand__mark { color: var(--bp-500); }
.sheet-head--inverse .sheet-head__index { color: var(--amber); }
.panel-map { display: grid; gap: 0; }
.panel-map__node {
  padding: 14px 16px; border: 1px solid var(--cyan-dim); border-radius: 8px;
  background: rgba(143, 193, 232, 0.04);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px;
}
.panel-map__node > span { font-size: 0.65rem; letter-spacing: 0.06em; color: var(--cyan); }
.panel-map__node strong { grid-row: 1 / 3; grid-column: 2; color: white; font-size: 1rem; font-weight: 600; }
.panel-map__node small { font-size: 0.78rem; color: var(--cyan-2); }
.panel-map__node--final { border-color: rgba(232, 145, 42, 0.45); background: rgba(232, 145, 42, 0.06); }
.panel-map__node--final strong { color: #f6b65f; }
.panel-map__link { height: 16px; width: 1px; background: var(--cyan-dim-2); margin-left: 24px; }
.panel-metrics { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.panel-metrics strong { font-size: 2.7rem; line-height: 1; font-weight: 500; letter-spacing: -0.05em; color: white; }
.panel-metrics strong span { font-size: 1.1rem; color: var(--cyan); margin-left: 8px; letter-spacing: 0; }
.panel-metrics p { font-size: 0.75rem; margin-top: 8px; }
.panel-metrics__note { font-size: 0.75rem; line-height: 1.9; text-align: right; color: var(--cyan); }
.pains, .delivery, .compare-wrap, .record-wrap { border-radius: var(--radius-card); overflow: hidden; }
.compare-wrap, .record-wrap { overflow-x: auto; scrollbar-color: var(--bp-400) var(--paper-2); }
.table-hint { display: none; }
.spec__head { border-radius: var(--radius-card); transition: background-color 150ms ease-out; }
.spec__head:hover { background: var(--paper); }
.spec[open] .spec__head { background: var(--paper); border-radius: var(--radius-card) var(--radius-card) 0 0; }
.spec[open] { box-shadow: var(--shadow-card), inset 3px 0 var(--amber); }
.use-case, .wf-agent__col, .method, .secure, .contact__item .ico { border-radius: var(--radius); }
.delivery__stage-n, .coop__list .num { color: var(--amber-deep); }
.delivery__stage-head .delivery__stage-sub { margin-bottom: 0; }
.delivery__stage-name { margin-bottom: 18px; font-size: 1.6rem; }
.goal { box-shadow: var(--shadow-card); border-radius: 0 var(--radius) var(--radius) 0; }
.mode-close .mono { color: var(--amber-deep); }
.contact__item > div { min-width: 0; }
.contact-card { padding: 32px; border-radius: var(--radius-card); background: rgba(143, 193, 232, 0.05); box-shadow: 0 0 0 1px var(--cyan-dim-2); }
.contact-card__eyebrow { color: var(--amber); font-size: 0.68rem; letter-spacing: 0.08em; }
.contact-card h3 { margin-top: 16px; color: white; font-size: 1.55rem; }
.contact-card > p { margin-top: 12px; font-size: 0.95rem; }
.contact-card .btn { margin-top: 26px; }
.contact-card .contact-card__note { font-size: 0.78rem; color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { gap: 32px; }
  .hero__crosshair {
    display: none;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--cyan-dim);
  }
  .pains {
    grid-template-columns: repeat(2, 1fr);
  }
  .delivery {
    grid-template-columns: 1fr;
  }
  .contact,
  .coop {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 96px;
  }
  .nav__links {
    position: fixed;
    inset: 80px 0 0;
    height: calc(100dvh - 80px);
    background: var(--bp-900);
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 150ms ease-out, transform 150ms ease-out, visibility 150ms;
  }
  .nav__links.is-open {
    transition-property: opacity, transform;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .nav__link {
    width: min(100%, 360px);
    min-height: 48px;
    font-size: 1.25rem;
  }
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
  .nav__toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .pains {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .secure-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .use-cases {
    grid-template-columns: 1fr;
  }
  .wf-agent {
    grid-template-columns: 1fr;
  }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 24px 14px; }
  .stat:nth-child(3) { border-right: 1px solid var(--cyan-dim); }
  .stat:last-child {
    border-bottom: none;
  }
  .spec__head {
    padding: 18px;
    gap: 12px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
  }
  .spec__title {
    font-size: 1.15rem;
    flex: 1 1 auto;
  }
  .spec__tag {
    margin-left: 0;
    grid-column: 2;
    justify-self: start;
  }
  .spec__toggle { grid-column: 3; grid-row: 1 / 3; }
  .spec__body {
    padding: 0 18px 24px;
  }
  .methods {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .nav { gap: 12px; }
  .nav__links { gap: 0; }
  .nav__link { padding: 0 8px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 12px 16px; font-size: 0.9rem; }
}
@media (min-width: 1025px) {
  #about .sheet-head { grid-template-columns: 30px 1fr 1fr; }
  #about .sheet-head__body { grid-column: 3; padding-left: 32px; }
}
@media (max-width: 800px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-top: 128px; }
  .hero__title { font-size: clamp(2.8rem, 8vw, 4rem); }
  .hero__panel { width: 100%; max-width: 560px; }
  .hero__meta { flex-wrap: wrap; gap: 8px 12px; font-size: 0.65rem; }
  .hero__flow { margin-top: 24px; }
  .hero__kicker { font-size: 0.7rem; }
  .sheet-head { gap: 12px; }
  .sheet-head__mark { width: 24px; height: 24px; }
  .sheet-head__title { margin-top: 12px; }
  .table-hint { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 0.8rem; margin: -12px 0 12px; }
  .compare th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 var(--line); }
  .compare th, .compare td { padding: 16px; }
  .stat__note { font-size: 0.66rem; letter-spacing: 0; }
  .stat__num { font-size: 2.5rem; }
  .contact-card, .coop__card { padding: 24px; border-radius: 32px; }
  .footer__bottom { color: var(--cyan); font-size: 0.72rem; }
}
@media (max-width: 420px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__meta .sep { display: none; }
  .hero__meta > span:first-child { flex-basis: 100%; }
  .panel-card { padding: 20px; border-radius: 28px; }
  .panel-card__title { letter-spacing: 0; }
  .panel-map__node { padding: 12px; }
  .brand__name { font-size: 0.9rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:active:not([data-static]) { scale: 1; }
}

/* ---------- Bilingual navigation and content ---------- */
.nav__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.language-toggle {
  min-width: 72px; min-height: 44px; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; border-radius: 6px; font-size: 0.8rem;
  color: var(--cyan); transition: background-color 150ms ease-out;
}
.language-toggle:hover { background: var(--cyan-dim); }
.language-toggle__divider { opacity: 0.55; }
html[lang="en"] .language-toggle [lang="en"],
html[lang="zh-CN"] .language-toggle [lang="zh-CN"] { color: white; font-weight: 700; }
.site-header.is-scrolled .language-toggle { color: var(--ink-2); }
html[lang="en"] .site-header.is-scrolled .language-toggle [lang="en"],
html[lang="zh-CN"] .site-header.is-scrolled .language-toggle [lang="zh-CN"] { color: var(--ink); }
.contact__email a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--cyan-dim-2); }
.contact__email a:hover { color: var(--amber); }
.footer__meta a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer__meta { min-width: 0; }
html[lang="en"] .hero__title { font-size: clamp(2.8rem, 5vw, 4.25rem); line-height: 1.08; letter-spacing: -0.055em; max-width: none; }
html[lang="en"] .hero__title .accent-amber { display: inline-block; text-wrap: balance; }
html[lang="en"] .brand__name { letter-spacing: 0.14em; font-size: 1.1rem; }
html[lang="en"] .brand__sub { font-size: 0.56rem; letter-spacing: 0.08em; margin-top: 5px; }
html[lang="en"] .hero__actions .btn { font-size: 0.9rem; padding: 13px 18px; }
html[lang="en"] .panel-map__node strong { font-size: 0.95rem; }
html[lang="en"] .panel-map__node small { font-size: 0.7rem; }
html[lang="en"] .panel-card__title { font-size: 0.66rem; letter-spacing: 0; }
html[lang="en"] .h-section { letter-spacing: -0.035em; }
html[lang="en"] .spec__title { font-size: 1.22rem; }
html[lang="en"] .stat__num .unit { font-size: 0.28em; margin-left: 6px; }
html[lang="en"] .footer__brand .brand__name { font-size: 0.9rem; letter-spacing: 0; }
.hero__crosshair { color: var(--cyan); }
@media (min-width: 801px) and (max-width: 1100px) {
  .nav__actions { gap: 8px; }
  .nav__link { font-size: 0.8rem; padding: 0 6px; }
  .nav__cta { padding: 10px 12px; }
}
@media (max-width: 800px) {
  .nav { gap: 10px; }
  .nav__actions { margin-left: auto; }
  .nav__links { justify-content: safe center; }
  .nav__link { flex-shrink: 0; }
  .language-toggle { min-width: 62px; }
  html[lang="en"] .nav__link { font-size: 1.25rem; }
  html[lang="en"] .hero__title { font-size: clamp(2.7rem, 8.8vw, 4rem); }
  html[lang="en"] .spec__title { font-size: 1.05rem; }
  .contact__email { font-size: 0.95rem; }
  .panel-card__head { gap: 12px; }
  .panel-card__id { flex: none; }
  .panel-map__node { grid-template-columns: minmax(0, 1fr) auto; }
  .contact-card .btn { max-width: 100%; white-space: normal; text-align: center; }
}
@media (max-width: 360px) {
  .brand { gap: 8px; }
  .brand__mark { width: 24px; height: 24px; }
  .brand__name { font-size: 0.8rem; }
  .brand__sub { font-size: 0.52rem; }
  .nav { gap: 4px; }
  .language-toggle { min-width: 54px; }
  .panel-map__node { padding: 12px 10px; gap: 4px 8px; }
  html[lang="en"] .panel-map__node small { font-size: 0.65rem; }
}
