:root {
  --intro-night: #06150f;
  --intro-night-soft: #0a2018;
  --intro-paper: #f2f5f1;
  --intro-ink: #10201a;
  --intro-signal: #c8ee88;
  --intro-red: #c44d3f;
  --intro-line: rgba(200, 238, 136, 0.16);
  --intro-muted: rgba(235, 244, 238, 0.58);
  --intro-display: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", serif;
  --intro-sans: "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --intro-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", monospace;
  color-scheme: dark;
  font-family: var(--intro-sans);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--intro-night);
}

body.intro-page {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--intro-night);
  color: var(--intro-paper);
  font-family: var(--intro-sans);
  text-rendering: optimizeLegibility;
}

.intro-page a {
  color: inherit;
  text-decoration: none;
}

.intro-page button {
  font: inherit;
}

.intro-page ::selection {
  background: var(--intro-signal);
  color: var(--intro-night);
}

.intro-page :focus-visible {
  outline: 3px solid var(--intro-signal);
  outline-offset: 4px;
}

.intro-skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  background: var(--intro-signal);
  color: var(--intro-night) !important;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.intro-skip:focus {
  transform: translateY(0);
}

.intro-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  background: var(--intro-night);
}

.intro-stage::before {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 78% 42%, rgba(53, 105, 67, 0.2), transparent 32rem),
    radial-gradient(circle at 46% 106%, rgba(196, 77, 63, 0.08), transparent 30rem);
  content: "";
}

.intro-stage::after {
  position: absolute;
  inset: 0;
  z-index: 10;
  border: 1px solid rgba(222, 241, 229, 0.08);
  pointer-events: none;
  content: "";
}

.intro-network {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.2s ease 120ms, transform 1.8s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.is-ready .intro-network {
  opacity: 0.94;
  transform: scale(1);
}

.intro-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(200, 238, 136, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 238, 136, 0.045) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.52), #000 68%, rgba(0, 0, 0, 0.62));
}

.intro-orbits {
  position: absolute;
  top: 50%;
  right: -10rem;
  z-index: -1;
  width: min(60rem, 68vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.intro-orbits span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 238, 136, 0.1);
  border-radius: 50%;
}

.intro-orbits span:nth-child(2) {
  inset: 17%;
  border-color: rgba(200, 238, 136, 0.14);
  animation: orbitBreath 6s ease-in-out infinite;
}

.intro-orbits span:nth-child(3) {
  inset: 36%;
  border-color: rgba(196, 77, 63, 0.22);
  animation: orbitBreath 6s ease-in-out 1.3s infinite reverse;
}

.intro-scanline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 35%;
  z-index: 1;
  width: 1px;
  background: linear-gradient(transparent, rgba(200, 238, 136, 0.56), transparent);
  opacity: 0.24;
  animation: scanField 9s linear infinite;
  pointer-events: none;
}

.intro-header {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 5.25rem;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(200, 238, 136, 0.12);
}

.intro-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.intro-brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 3px;
  background: var(--intro-red);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  font-family: var(--intro-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.intro-brand > span:last-child {
  display: grid;
  gap: 0.18rem;
}

.intro-brand strong {
  font-family: var(--intro-display);
  font-size: 1rem;
}

.intro-brand small,
.intro-live,
.intro-nav,
.intro-kicker,
.intro-enter small,
.intro-ledger-head span,
.intro-footer,
.motion-toggle {
  font-family: var(--intro-mono);
  text-transform: uppercase;
}

.intro-brand small {
  color: rgba(235, 244, 238, 0.43);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.intro-nav {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  color: rgba(235, 244, 238, 0.52);
  font-size: 0.65rem;
}

.intro-nav a {
  position: relative;
  padding: 0.7rem 0;
}

.intro-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 1px;
  background: var(--intro-signal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.intro-nav a:hover::after {
  transform: scaleX(1);
}

.intro-live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(235, 244, 238, 0.58);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
}

.intro-live i {
  width: 0.43rem;
  height: 0.43rem;
  border-radius: 50%;
  background: var(--intro-signal);
  box-shadow: 0 0 0 0 rgba(200, 238, 136, 0.5);
  animation: liveSignal 2.1s ease-out infinite;
}

.intro-main {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 25rem);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  width: min(90rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.25rem 0;
}

.intro-copy {
  max-width: 55rem;
}

.intro-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  color: rgba(235, 244, 238, 0.54);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(1rem);
}

.intro-kicker span {
  color: var(--intro-red);
}

.intro-kicker::after {
  width: 4rem;
  height: 1px;
  background: rgba(200, 238, 136, 0.5);
  content: "";
}

.intro-copy h1 {
  display: grid;
  margin: 0;
  font-family: var(--intro-display);
  font-size: 5.7rem;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-copy h1 span {
  display: block;
  opacity: 0;
  transform: translateY(2.4rem);
}

.intro-title-accent {
  color: var(--intro-signal);
}

.intro-lede {
  max-width: 42rem;
  margin: 1.7rem 0 0;
  color: var(--intro-muted);
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0;
  transform: translateY(1.4rem);
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-top: 2.1rem;
  opacity: 0;
  transform: translateY(1.4rem);
}

.intro-enter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  min-width: 19.5rem;
  min-height: 4.7rem;
  padding: 0.7rem 0.8rem 0.7rem 1.15rem;
  border: 1px solid rgba(200, 238, 136, 0.38);
  border-radius: 4px;
  background: rgba(242, 245, 241, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  font-family: var(--intro-display);
  font-size: 1.18rem;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.intro-enter > span {
  display: grid;
  gap: 0.22rem;
}

.intro-enter small {
  color: rgba(235, 244, 238, 0.42);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.intro-enter i {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--intro-signal);
  color: var(--intro-night);
  font-family: var(--intro-sans);
  font-size: 1.25rem;
  font-style: normal;
  transition: transform 180ms ease;
}

.intro-enter:hover {
  border-color: var(--intro-signal);
  background: rgba(200, 238, 136, 0.1);
  transform: translateY(-2px);
}

.intro-enter:hover i {
  transform: translateX(3px);
}

.intro-direct {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(235, 244, 238, 0.32);
  color: rgba(235, 244, 238, 0.68) !important;
  font-size: 0.78rem;
  transition: border-color 160ms ease, color 160ms ease;
}

.intro-direct:hover {
  border-color: var(--intro-signal);
  color: var(--intro-signal) !important;
}

.intro-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(39rem, 100%);
  margin: 2.8rem 0 0;
  border-top: 1px solid rgba(200, 238, 136, 0.15);
  opacity: 0;
  transform: translateY(1rem);
}

.intro-metrics div {
  padding: 1rem 1rem 0 0;
  border-right: 1px solid rgba(200, 238, 136, 0.13);
}

.intro-metrics div:not(:first-child) {
  padding-left: 1.2rem;
}

.intro-metrics div:last-child {
  border-right: 0;
}

.intro-metrics dt {
  font-family: var(--intro-display);
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.intro-metrics dd {
  margin: 0.26rem 0 0;
  color: rgba(235, 244, 238, 0.45);
  font-size: 0.7rem;
}

.intro-ledger {
  position: relative;
  align-self: center;
  border: 1px solid rgba(200, 238, 136, 0.22);
  border-radius: 4px;
  background: rgba(5, 25, 17, 0.78);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateX(2rem);
  overflow: hidden;
}

.intro-ledger::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--intro-signal);
  content: "";
  opacity: 0.82;
}

.intro-ledger-head {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.3rem;
  border-bottom: 1px solid rgba(200, 238, 136, 0.15);
}

.intro-ledger-head span {
  color: var(--intro-red);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.intro-ledger-head strong {
  font-family: var(--intro-display);
  font-size: 1.32rem;
}

.intro-ledger-head i {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(196, 77, 63, 0.65);
  border-radius: 50%;
  color: var(--intro-red);
  font-family: var(--intro-display);
  font-style: normal;
  transform: translateY(-50%) rotate(-9deg);
}

.intro-ledger dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.intro-ledger dl div {
  min-height: 6.6rem;
  padding: 1.1rem 1.25rem;
  border-right: 1px solid rgba(200, 238, 136, 0.13);
  border-bottom: 1px solid rgba(200, 238, 136, 0.13);
}

.intro-ledger dl div:nth-child(2n) {
  border-right: 0;
}

.intro-ledger dl div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.intro-ledger dt {
  color: rgba(235, 244, 238, 0.42);
  font-size: 0.68rem;
}

.intro-ledger dd {
  margin: 0.55rem 0 0;
  font-family: var(--intro-display);
  font-size: 1.45rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.intro-ledger > p {
  margin: 0;
  padding: 1rem 1.25rem 1.15rem;
  border-top: 1px solid rgba(200, 238, 136, 0.13);
  color: rgba(235, 244, 238, 0.38);
  font-size: 0.68rem;
  line-height: 1.7;
}

.intro-place-labels span {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(235, 244, 238, 0.4);
  font-family: var(--intro-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  opacity: 0;
}

.intro-place-labels i {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--intro-signal);
  box-shadow: 0 0 0 4px rgba(200, 238, 136, 0.09);
}

.label-beijing {
  top: 24%;
  right: 22%;
}

.label-shanghai {
  top: 51%;
  right: 8%;
}

.label-chengdu {
  top: 56%;
  right: 35%;
}

.label-shenzhen {
  right: 18%;
  bottom: 21%;
}

.intro-footer {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 2rem;
  min-height: 4rem;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  border-top: 1px solid rgba(200, 238, 136, 0.12);
  color: rgba(235, 244, 238, 0.36);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
}

.intro-footer p {
  margin: 0;
}

.intro-footer p span {
  margin-right: 0.65rem;
  color: var(--intro-red);
}

.motion-toggle {
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 1px solid rgba(235, 244, 238, 0.25);
  background: transparent;
  color: rgba(235, 244, 238, 0.46);
  cursor: pointer;
  font-size: 0.55rem;
  letter-spacing: 0.07em;
}

.motion-toggle:hover {
  border-color: var(--intro-signal);
  color: var(--intro-signal);
}

.is-ready .intro-kicker {
  animation: revealUp 620ms ease 120ms forwards;
}

.is-ready .intro-copy h1 span:first-child {
  animation: titleReveal 900ms cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
}

.is-ready .intro-copy h1 span:last-child {
  animation: titleReveal 900ms cubic-bezier(0.16, 1, 0.3, 1) 300ms forwards;
}

.is-ready .intro-lede {
  animation: revealUp 700ms ease 480ms forwards;
}

.is-ready .intro-actions {
  animation: revealUp 700ms ease 610ms forwards;
}

.is-ready .intro-metrics {
  animation: revealUp 700ms ease 730ms forwards;
}

.is-ready .intro-ledger {
  animation: revealSide 900ms cubic-bezier(0.16, 1, 0.3, 1) 520ms forwards;
}

.is-ready .intro-place-labels span {
  animation: labelReveal 500ms ease 1.05s forwards;
}

.intro-transition {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--intro-paper);
  color: var(--intro-ink);
  font-family: var(--intro-display);
  font-size: 1rem;
  font-weight: 700;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 620ms cubic-bezier(0.76, 0, 0.24, 1);
}

.intro-transition span {
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 220ms ease 360ms, transform 220ms ease 360ms;
}

.is-leaving .intro-stage {
  transform: scale(1.025);
  transition: transform 700ms cubic-bezier(0.76, 0, 0.24, 1);
}

.is-leaving .intro-transition {
  transform: scaleX(1);
}

.is-leaving .intro-transition span {
  opacity: 1;
  transform: translateY(0);
}

.intro-noscript {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 120;
  padding: 1rem;
  border-radius: 4px;
  background: var(--intro-signal);
  color: var(--intro-night);
  text-align: center;
  font-weight: 800;
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealSide {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes titleReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes labelReveal {
  to { opacity: 1; }
}

@keyframes liveSignal {
  70%, 100% { box-shadow: 0 0 0 0.55rem rgba(200, 238, 136, 0); }
}

@keyframes orbitBreath {
  0%, 100% { transform: scale(0.985); opacity: 0.55; }
  50% { transform: scale(1.02); opacity: 1; }
}

@keyframes scanField {
  0% { transform: translateX(-20vw); opacity: 0; }
  10%, 84% { opacity: 0.24; }
  100% { transform: translateX(76vw); opacity: 0; }
}

@media (max-width: 1120px) {
  .intro-copy h1 {
    font-size: 4.55rem;
  }

  .intro-main {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .intro-header {
    grid-template-columns: auto 1fr;
  }

  .intro-nav {
    display: none;
  }

  .intro-live {
    justify-self: end;
  }

  .intro-main {
    grid-template-columns: minmax(0, 1fr);
    width: min(46rem, calc(100% - 2.5rem));
    padding: 3rem 0;
  }

  .intro-copy {
    max-width: 46rem;
  }

  .intro-ledger {
    display: none;
  }

  .intro-orbits {
    right: -20rem;
    width: 58rem;
    opacity: 0.66;
  }

  .intro-place-labels {
    opacity: 0.6;
  }
}

@media (max-width: 650px) {
  .intro-stage {
    min-height: 100svh;
  }

  .intro-header {
    min-height: 4.5rem;
    padding: 0 1rem;
  }

  .intro-brand-mark {
    width: 2.15rem;
    height: 2.15rem;
  }

  .intro-brand strong {
    font-size: 0.88rem;
  }

  .intro-brand small,
  .intro-live {
    display: none;
  }

  .intro-main {
    align-content: center;
    width: calc(100% - 2rem);
    padding: 2rem 0;
  }

  .intro-kicker {
    margin-bottom: 1rem;
    font-size: 0.58rem;
  }

  .intro-copy h1 {
    font-size: 3.25rem;
    line-height: 1.04;
  }

  .intro-lede {
    margin-top: 1.15rem;
    font-size: 0.88rem;
    line-height: 1.75;
  }

  .intro-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.4rem;
  }

  .intro-enter {
    min-width: 0;
    width: 100%;
    min-height: 4.3rem;
  }

  .intro-direct {
    align-self: flex-start;
  }

  .intro-metrics {
    margin-top: 1.8rem;
  }

  .intro-metrics dt {
    font-size: 1.45rem;
  }

  .intro-metrics dd {
    font-size: 0.62rem;
  }

  .intro-footer {
    grid-template-columns: 1fr auto;
    gap: 1rem;
    min-height: 3.5rem;
    padding: 0 1rem;
  }

  .intro-footer > p:first-child,
  .intro-coordinate {
    display: none;
  }

  .motion-toggle {
    grid-column: 2;
  }

  .intro-place-labels span {
    display: none;
  }
}

@media (max-width: 420px) {
  .intro-copy h1 {
    font-size: 2.65rem;
  }

  .intro-metrics div {
    padding-right: 0.55rem;
  }

  .intro-metrics div:not(:first-child) {
    padding-left: 0.7rem;
  }

  .intro-enter {
    gap: 1rem;
  }
}

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

  .intro-network,
  .intro-kicker,
  .intro-copy h1 span,
  .intro-lede,
  .intro-actions,
  .intro-metrics,
  .intro-ledger,
  .intro-place-labels span {
    opacity: 1;
    transform: none;
  }
}
