:root {
  /* 白天（默认）；系统深色时由 media 覆盖 */
  --bg: #f3f6fa;
  --bg-elev: #ffffff;
  --ink: #071526;
  --muted: #5b6b7c;
  --line: rgba(18, 48, 86, 0.12);
  --accent: #f97316;
  --accent-2: #ea580c;
  --warm: #c2410c;
  --ok: #0d9488;
  --danger-mute: #64748b;
  --nav-bg: rgba(243, 246, 250, 0.82);
  --nav-bg-solid: rgba(255, 255, 255, 0.92);
  --band-bg: linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
  --panel-bg: rgba(255, 255, 255, 0.9);
  --product-hover: rgba(249, 115, 22, 0.06);
  --ghost-hover-bg: rgba(249, 115, 22, 0.08);
  --footer-bg: #ffffff;
  --input-bg: #f8fafc;
  --err: #dc2626;
  --hero-lane-0: #e8eef6;
  --hero-lane-1: #f3f6fa;
  --hero-lane-2: #ffffff;
  --hero-grid: #c5d0de;
  --hero-mist: #f97316;
  --hero-scrim-a: rgba(243, 246, 250, 0.96);
  --hero-scrim-b: rgba(243, 246, 250, 0.78);
  --hero-scrim-c: rgba(243, 246, 250, 0.35);
  --hero-scrim-d: rgba(243, 246, 250, 0.98);
  --hero-scrim-e: rgba(243, 246, 250, 0.45);
  --body-glow-1: rgba(249, 115, 22, 0.12);
  --body-glow-2: rgba(234, 88, 12, 0.08);
  --body-glow-3: rgba(18, 48, 86, 0.06);
  --body-grid: rgba(18, 48, 86, 0.045);
  --max: 1120px;
  --font-display: "Syne", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-body: "Manrope", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1018;
    --bg-elev: #121a26;
    --ink: #e8eef6;
    --muted: #8b9bb0;
    --line: rgba(232, 238, 246, 0.12);
    --accent: #f97316;
    --accent-2: #fb923c;
    --warm: #fdba74;
    --ok: #6dbf9c;
    --danger-mute: #9aa3b2;
    --nav-bg: rgba(12, 17, 24, 0.72);
    --nav-bg-solid: rgba(12, 17, 24, 0.92);
    --band-bg: linear-gradient(180deg, rgba(18, 28, 42, 0.72), rgba(10, 16, 24, 0.25));
    --panel-bg: rgba(20, 27, 38, 0.45);
    --product-hover: rgba(249, 115, 22, 0.04);
    --ghost-hover-bg: rgba(249, 115, 22, 0.08);
    --footer-bg: transparent;
    --input-bg: rgba(10, 16, 24, 0.85);
    --err: #f0a0a0;
    --hero-lane-0: #152238;
    --hero-lane-1: #101a2a;
    --hero-lane-2: #0a1018;
    --hero-grid: #2c4060;
    --hero-mist: #f97316;
    --hero-scrim-a: rgba(10, 16, 24, 0.94);
    --hero-scrim-b: rgba(10, 16, 24, 0.68);
    --hero-scrim-c: rgba(10, 16, 24, 0.28);
    --hero-scrim-d: rgba(10, 16, 24, 0.97);
    --hero-scrim-e: rgba(10, 16, 24, 0.2);
    --body-glow-1: rgba(249, 115, 22, 0.18);
    --body-glow-2: rgba(234, 88, 12, 0.12);
    --body-glow-3: rgba(30, 50, 80, 0.35);
    --body-grid: transparent;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 520px at 12% -8%, var(--body-glow-1), transparent 58%),
    radial-gradient(ellipse 720px 480px at 92% 18%, var(--body-glow-2), transparent 55%),
    radial-gradient(ellipse 600px 400px at 50% 110%, var(--body-glow-3), transparent 60%),
    linear-gradient(var(--body-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--body-grid) 1px, transparent 1px);
  background-size: auto, auto, auto, 28px 28px, 28px 28px;
  background-attachment: fixed;
  line-height: 1.55;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav.is-solid {
  border-bottom-color: var(--line);
  background: var(--nav-bg-solid);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-links .emp {
  color: var(--danger-mute);
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 6.5rem 0 4rem;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-visual svg,
.hero-map {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-china {
  fill: color-mix(in srgb, var(--accent) 28%, var(--hero-grid)) !important;
  fill-opacity: 0.85 !important;
  stroke: var(--accent) !important;
  stroke-opacity: 0.55 !important;
  stroke-width: 1.2 !important;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, var(--hero-scrim-b), transparent 70%),
    linear-gradient(to top, var(--hero-scrim-d) 0%, transparent 38%),
    linear-gradient(to bottom, var(--hero-scrim-a) 0%, transparent 28%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.6rem, 15vw, 8rem);
  letter-spacing: 0.06em;
  line-height: 0.86;
  animation: rise 0.9s ease both;
}

.hero-line {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--ink);
  animation: rise 0.9s ease 0.1s both;
}

.hero-actions {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  animation: rise 0.9s ease 0.2s both;
}

.hero-actions .btn {
  min-width: 8.5rem;
  padding: 1rem 1.35rem;
  font-size: 1rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.85rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #0a0f16;
}

.btn-primary:hover {
  background: var(--accent-2);
  color: #fff;
}

@media (prefers-color-scheme: light) {
  .btn-primary:hover {
    color: #fff;
  }
}

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

.btn-ghost:hover {
  border-color: rgba(249, 115, 22, 0.45);
  background: var(--ghost-hover-bg);
}

.btn-warm {
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: var(--warm);
  background: rgba(249, 115, 22, 0.1);
}

.btn-warm:hover {
  background: rgba(249, 115, 22, 0.18);
}

.btn-muted {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-weight: 500;
}

/* —— Sections —— */
section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-kicker {
  color: var(--accent-2);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.section-title {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
}

.section-desc {
  margin-top: 0.65rem;
  color: var(--muted);
}

.band {
  border-block: 1px solid var(--line);
  background: var(--band-bg);
}

/* —— Products —— */
.product-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.product {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 2rem;
  align-items: center;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s ease;
}

.product:hover {
  background: var(--product-hover);
}

.product.is-placeholder {
  cursor: default;
}

.product.is-placeholder:hover {
  background: transparent;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.product-meta {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

.product-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.product-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.2rem 0.45rem;
}

.product-tag.is-live {
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 35%, transparent);
}

.product-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.cap {
  padding: 0.35rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
}

.cap-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.cap-desc {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Supply-chain flow diagram —— */
.flow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0 0.5rem;
  overflow: hidden;
}

.flow-svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--ink);
}

.flow-path {
  stroke: url(#flowStroke);
  stroke-width: 2.5;
  stroke-dasharray: 10 14;
  animation: flow-dash 18s linear infinite;
}

.flow-path-soft {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 4 10;
  opacity: 0.9;
  animation: flow-dash 28s linear infinite reverse;
}

.flow-orbit {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.18;
  stroke-width: 1;
  stroke-dasharray: 3 8;
  animation: flow-spin 24s linear infinite;
  transform-origin: 560px 210px;
}

.flow-orbit-2 {
  stroke-opacity: 0.1;
  animation-duration: 36s;
  animation-direction: reverse;
}

.flow-spokes path {
  stroke: var(--accent);
  stroke-opacity: 0.22;
  stroke-width: 1;
  stroke-dasharray: 2 6;
  animation: flow-dash 12s linear infinite;
}

.flow-packet {
  fill: var(--accent);
}

.flow-packet-dim {
  fill: var(--accent-2);
  opacity: 0.55;
}

.flow-node-disk {
  fill: var(--bg-elev);
  stroke: var(--line);
  stroke-width: 1.5;
}

.flow-node-ring {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.35;
  stroke-width: 1;
}

.flow-node text {
  fill: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
}

.flow-node-core .flow-node-disk {
  fill: color-mix(in srgb, var(--accent) 14%, var(--bg-elev));
  stroke: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.flow-core-title {
  font-size: 15px !important;
}

.flow-core-sub {
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  fill: var(--muted) !important;
}

.flow-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.55;
  animation: flow-pulse 2.8s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -240;
  }
}

@keyframes flow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes flow-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-path,
  .flow-path-soft,
  .flow-orbit,
  .flow-spokes path,
  .flow-pulse {
    animation: none !important;
  }
}

.industry-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.industry-list li {
  border: 1px solid var(--line);
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  color: var(--ink);
}

/* —— PPT-style capability deck —— */
.deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.slide {
  border: 1px solid var(--line);
  background: var(--panel-bg);
  padding: 1.35rem 1.25rem 1.45rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.slide-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.slide-no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
}

.slide-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.slide-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.slide-lead {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.slide-points {
  list-style: none;
  margin-top: 1.1rem;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}

.slide-points li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
}

.slide-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent);
}

.deck-cta {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), transparent 60%);
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.25rem;
  align-items: center;
}

.deck-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.deck-cta-desc {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.deck-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

/* —— Partner —— */
.partner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
}

.partner-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 600;
}

.partner-title {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.partner-desc {
  margin-top: 0.4rem;
  color: var(--muted);
  max-width: 34rem;
}

/* —— About / Contact —— */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.about-body {
  color: var(--muted);
  display: grid;
  gap: 0.9rem;
}

.contact-box {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.contact-row {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
}

.contact-row dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-row dd {
  font-size: 1.05rem;
}

.contact-row a {
  color: var(--accent-2);
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

/* —— Employee —— */
.employee {
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
  background: var(--panel-bg);
}

.employee summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--muted);
}

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

.employee[open] summary {
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.employee-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* —— Footer —— */
.footer {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--footer-bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 155, 176, 0.35);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* —— Staff page helpers —— */
.staff-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
}

.staff-card .field input {
  background: var(--input-bg);
  color: var(--ink);
  border: 1px solid var(--line);
}

.staff-card .err {
  color: var(--err);
}

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

@media (max-width: 980px) {
  .deck {
    grid-template-columns: 1fr;
  }

  .deck-cta {
    grid-template-columns: 1fr;
  }

  .deck-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .split,
  .partner,
  .product {
    grid-template-columns: 1fr;
  }

  .product-side {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--nav-bg-solid);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
  }
}
