:root {
  color-scheme: dark;
  --ink: #061421;
  --ink-soft: #0b2030;
  --card: rgba(10, 31, 45, .76);
  --line: rgba(137, 211, 213, .18);
  --cyan: #3de4d0;
  --cyan-soft: #7ee9dc;
  --gold: #eabf72;
  --blue: #79a8ff;
  --white: #f2fbfa;
  --muted: #9bb5bd;
  --shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 0%, rgba(31, 120, 127, .18), transparent 31rem),
    radial-gradient(circle at 90% 35%, rgba(38, 82, 131, .15), transparent 34rem),
    var(--ink);
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  --pointer-x: 0;
  --pointer-y: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); opacity: .4; animation: drift 12s ease-in-out infinite; }
.ambient span:nth-child(1) { left: 8%; top: 18%; }
.ambient span:nth-child(2) { left: 74%; top: 12%; animation-delay: -3s; }
.ambient span:nth-child(3) { left: 91%; top: 55%; animation-delay: -6s; }
.ambient span:nth-child(4) { left: 38%; top: 78%; animation-delay: -8s; }
.ambient span:nth-child(5) { left: 58%; top: 42%; animation-delay: -10s; }
@keyframes drift { 50% { transform: translate3d(18px, -28px, 0); opacity: .9; } }

.light-field { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.light-beam { position: absolute; left: -45%; width: 190%; height: 1px; background: linear-gradient(90deg, transparent 0 12%, rgba(61,228,208,.08) 30%, rgba(126,233,220,.8) 48%, rgba(121,168,255,.24) 62%, transparent 82%); filter: drop-shadow(0 0 8px rgba(61,228,208,.48)); opacity: .52; transform: translate3d(calc(var(--pointer-x) * 12px), calc(var(--pointer-y) * 9px), 0) rotate(-8deg); animation: beam-travel 9s linear infinite; }
.light-beam-one { top: 23%; }
.light-beam-two { top: 52%; animation-duration: 13s; animation-delay: -6s; opacity: .32; transform: translate3d(calc(var(--pointer-x) * -9px), calc(var(--pointer-y) * 6px), 0) rotate(5deg); }
.light-beam-three { top: 77%; animation-duration: 17s; animation-delay: -11s; opacity: .2; }
.light-scan { position: absolute; inset: -40% -20%; background: linear-gradient(108deg, transparent 40%, rgba(61,228,208,.055) 48%, rgba(121,168,255,.12) 50%, rgba(61,228,208,.04) 52%, transparent 60%); transform: translate3d(calc(var(--pointer-x) * 18px), calc(var(--pointer-y) * 12px), 0); animation: scan-field 11s linear infinite; }
@keyframes beam-travel { from { translate: -18% 0; } to { translate: 18% 0; } }
@keyframes scan-field { from { translate: -28% 0; } to { translate: 28% 0; } }

.hero { position: relative; min-height: 760px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 82%); opacity: .28; }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid rgba(61,228,208,.18); border-radius: 50%; top: 108px; right: max(-120px, calc((100vw - 1400px) / 2)); box-shadow: inset 0 0 100px rgba(61,228,208,.06), 0 0 120px rgba(61,228,208,.04); }
.nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 650; letter-spacing: .08em; }
.brand-mark { position: relative; display: inline-block; width: 34px; height: 30px; }
.brand-mark i { position: absolute; bottom: 3px; width: 2px; background: var(--cyan); transform-origin: bottom; box-shadow: 0 0 10px rgba(61,228,208,.6); }
.brand-mark i:nth-child(1) { height: 18px; left: 7px; transform: rotate(34deg); }
.brand-mark i:nth-child(2) { height: 26px; left: 17px; }
.brand-mark i:nth-child(3) { height: 16px; left: 27px; transform: rotate(-36deg); }
.nav-link { color: var(--muted); font-size: 14px; transition: color .2s ease; }
.nav-link:hover { color: var(--cyan-soft); }
.hero-content { position: relative; z-index: 2; padding-top: 106px; }
.eyebrow, .kicker { color: var(--cyan-soft); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 34px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
h1 { max-width: 820px; margin: 28px 0 24px; font-size: clamp(52px, 7.5vw, 98px); font-weight: 300; line-height: .98; letter-spacing: -.065em; }
h1 em { color: var(--cyan-soft); font-style: normal; font-weight: 620; }
.hero-lead { max-width: 560px; margin: 0; color: #b3c8ce; font-size: clamp(16px, 2vw, 20px); line-height: 1.8; }
.hero-meta { display: flex; gap: 0; margin-top: 58px; }
.hero-meta div { display: grid; gap: 6px; min-width: 148px; padding: 0 28px; border-left: 1px solid var(--line); }
.hero-meta div:first-child { padding-left: 0; border-left: 0; }
.hero-meta strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--white); font-size: 28px; font-weight: 500; }
.hero-meta span { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.landscape { position: absolute; z-index: 1; right: -4%; bottom: -1px; width: 80%; height: 360px; opacity: .68; }
.landscape path:first-child { fill: rgba(11, 45, 57, .62); stroke: rgba(61, 228, 208, .26); stroke-width: 2; }
.landscape path:last-child { fill: none; stroke: rgba(121, 168, 255, .19); stroke-width: 1; }

.graph-section { padding-block: 112px 124px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-head h2, .closing h2 { margin: 13px 0 12px; font-size: clamp(34px, 4.5vw, 56px); font-weight: 400; letter-spacing: -.045em; }
.section-head p:not(.kicker) { max-width: 580px; margin: 0; color: var(--muted); line-height: 1.75; }
.reset-button { flex: none; padding: 12px 18px; color: var(--cyan-soft); background: rgba(61,228,208,.05); border: 1px solid rgba(61,228,208,.32); border-radius: 999px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.reset-button:hover { background: rgba(61,228,208,.12); transform: translateY(-1px); }
.reset-button:focus-visible, .nav-link:focus-visible, .brand:focus-visible, .graph-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.legend-dot.core { color: var(--cyan); background: var(--cyan); }
.legend-dot.external { color: var(--gold); background: var(--gold); }
.legend-dot.shenzhou { color: var(--blue); background: var(--blue); }
.graph-card { position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(13, 40, 54, .88), rgba(5, 21, 32, .8)); border: 1px solid rgba(126,233,220,.18); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.light-frame::before { content: ""; position: absolute; z-index: 4; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(105deg, transparent 16%, rgba(61,228,208,.8) 36%, rgba(121,168,255,.42) 48%, transparent 67%); background-size: 240% 100%; animation: frame-light 8s linear infinite; pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@keyframes frame-light { from { background-position: 150% 0; } to { background-position: -90% 0; } }
.graph-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.pulse { display: inline-flex; align-items: center; gap: 9px; color: #c2d8dc; }
.pulse i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(61,228,208,.09), 0 0 16px var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(61,228,208,0), 0 0 20px var(--cyan); } }
.graph-scroll { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: rgba(61,228,208,.28) transparent; }
.equity-graph { display: block; width: 100%; min-width: 1040px; height: auto; }
.graph-grid line { stroke: rgba(126,233,220,.055); stroke-width: 1; }
.graph-cluster { fill: rgba(255,255,255,.012); stroke: rgba(126,233,220,.12); stroke-width: 1; stroke-dasharray: 5 9; }
.cluster-label { fill: rgba(155,181,189,.74); font-size: 11px; letter-spacing: .14em; }
.edge-path { fill: none; stroke: rgba(126,233,220,.5); stroke-width: 2; marker-end: url(#arrow-core); transition: opacity .25s ease, stroke .25s ease; }
.edge-path.external { stroke: rgba(234,191,114,.6); marker-end: url(#arrow-external); }
.edge-path.shenzhou { stroke: rgba(121,168,255,.56); marker-end: url(#arrow-shenzhou); }
.edge-hit { fill: none; stroke: transparent; stroke-width: 18; }
.edge-label-bg { fill: #0a2230; stroke: rgba(126,233,220,.22); stroke-width: 1; }
.edge-label-text { fill: #dffdfa; font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; text-anchor: middle; dominant-baseline: central; }
.edge { transition: opacity .25s ease; }
.edge.dimmed { opacity: .11; }
.edge.connected .edge-path { stroke: var(--white); stroke-width: 3; filter: drop-shadow(0 0 7px rgba(61,228,208,.7)); }
.company-node { cursor: pointer; outline: none; transition: opacity .25s ease; }
.company-node .node-halo { fill: transparent; stroke: transparent; stroke-width: 1; }
.company-node .node-card { fill: rgba(11, 34, 47, .96); stroke: rgba(126,233,220,.34); stroke-width: 1.2; }
.company-node.external .node-card { stroke: rgba(234,191,114,.58); }
.company-node.shenzhou .node-card { stroke: rgba(121,168,255,.48); }
.company-node .node-accent { fill: var(--cyan); }
.company-node.external .node-accent { fill: var(--gold); }
.company-node.shenzhou .node-accent { fill: var(--blue); }
.company-node .node-title { fill: var(--white); font-size: 14px; font-weight: 650; text-anchor: middle; }
.company-node .node-subtitle { fill: var(--muted); font-size: 10px; text-anchor: middle; }
.company-node.dimmed { opacity: .22; }
.company-node.connected .node-card, .company-node.selected .node-card { stroke: var(--cyan-soft); stroke-width: 2; filter: drop-shadow(0 0 12px rgba(61,228,208,.25)); }
.company-node.selected .node-halo { fill: rgba(61,228,208,.05); stroke: rgba(61,228,208,.22); }
.company-node:focus-visible .node-card { stroke: var(--gold); stroke-width: 3; }

.relations-section { padding-block: 112px; background: rgba(2, 13, 21, .44); border-block: 1px solid var(--line); }
.compact { margin-bottom: 42px; }
.relationship-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.relation-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; min-height: 126px; padding: 22px 24px; background: rgba(12,34,47,.58); border: 1px solid var(--line); border-radius: 14px; transition: opacity .25s ease, border-color .25s ease, transform .25s ease; }
.relation-item::before { content: attr(data-index); position: absolute; top: 10px; right: 12px; color: rgba(155,181,189,.28); font: 11px ui-monospace, monospace; }
.relation-party { min-width: 0; }
.relation-party small { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.relation-party strong { display: block; font-size: 13px; font-weight: 520; line-height: 1.55; }
.relation-arrow { display: grid; justify-items: center; gap: 5px; color: var(--cyan); }
.relation-arrow b { font: 700 15px ui-monospace, monospace; }
.relation-arrow i { width: 34px; height: 1px; background: currentColor; position: relative; }
.relation-arrow i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.relation-item.dimmed { opacity: .2; }
.relation-item.connected { border-color: rgba(61,228,208,.55); transform: translateY(-2px); }
.relation-item.external .relation-arrow { color: var(--gold); }
.relation-item.shenzhou .relation-arrow { color: var(--blue); }

.closing { position: relative; padding-block: 118px; overflow: hidden; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; min-height: 260px; }
.closing h2 { max-width: 720px; font-size: clamp(42px, 6vw, 76px); line-height: 1.12; }
.orb { position: relative; flex: none; width: 240px; height: 240px; border: 1px solid rgba(61,228,208,.25); border-radius: 50%; box-shadow: inset 0 0 70px rgba(61,228,208,.05), 0 0 80px rgba(61,228,208,.05); }
.orb span { position: absolute; inset: 24%; border: 1px solid rgba(121,168,255,.3); border-radius: 50%; animation: orbit 12s linear infinite; }
.orb span::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; top: -4px; left: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.orb span:nth-child(2) { inset: 10%; animation-direction: reverse; animation-duration: 17s; transform: rotate(58deg); }
.orb span:nth-child(3) { inset: 38%; animation-duration: 8s; }
@keyframes orbit { to { transform: rotate(360deg); } }
.footer { padding-block: 28px; border-top: 1px solid var(--line); color: #78949c; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer p { margin: 0; }

@media (max-width: 900px) {
  .hero { min-height: 700px; }
  .landscape { width: 120%; }
  .relationship-list { grid-template-columns: 1fr; }
  .closing-inner { align-items: flex-end; }
  .orb { width: 170px; height: 170px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  .hero { min-height: 720px; }
  .nav { height: 72px; }
  .nav-link { font-size: 12px; }
  .hero-content { padding-top: 78px; }
  h1 { margin-top: 22px; font-size: clamp(46px, 14vw, 64px); line-height: 1.03; }
  .hero-lead { max-width: 90%; font-size: 15px; }
  .hero-meta { margin-top: 46px; }
  .hero-meta div { min-width: 0; flex: 1; padding-inline: 13px; }
  .hero-meta strong { font-size: 23px; }
  .landscape { left: -24%; right: auto; width: 170%; height: 300px; }
  .graph-section, .relations-section { padding-block: 78px; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-head h2 { font-size: 36px; }
  .reset-button { margin-top: 24px; }
  .graph-toolbar { padding: 14px 16px; }
  .graph-tip { display: none; }
  .equity-graph { min-width: 940px; }
  .relation-item { grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); gap: 8px; padding: 20px 14px; }
  .relation-party strong { font-size: 12px; }
  .relation-arrow b { font-size: 13px; }
  .closing { padding-block: 80px; }
  .closing-inner { min-height: 300px; }
  .closing h2 { font-size: 44px; }
  .orb { position: absolute; width: 170px; height: 170px; right: -50px; bottom: 20px; opacity: .55; }
  .footer-inner { display: grid; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .light-field, .light-frame::before { display: none; }
}
