:root {
  --bg: #071018;
  --bg-soft: #0c1722;
  --panel: #10202c;
  --card: #132433;
  --line: #1d4a58;
  --node: #2ec4b6;
  --node-ink: #04221f;
  --ink: #e8f3f4;
  --muted: #8aa4ae;
  --warn: #e8c07a;
  --focus: #7dd3fc;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(46, 196, 182, 0.12), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(125, 211, 252, 0.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--node);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--node);
  color: var(--node-ink);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 16, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 196, 182, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: #08141c;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

nav[aria-label="主导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav[aria-label="主导航"] a {
  color: var(--muted);
  font-weight: 650;
  padding: 6px 2px;
}

nav[aria-label="主导航"] a[aria-current="page"],
nav[aria-label="主导航"] a:hover {
  color: var(--ink);
  text-decoration: none;
}

.hero,
.page-hero,
section {
  padding: 56px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.eyebrow,
.tag {
  display: inline-block;
  color: var(--node);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h1 em {
  font-style: normal;
  color: var(--node);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 58ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.button-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button {
  background: var(--node);
  color: var(--node-ink);
}

.button-alt {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button:hover,
.button-alt:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat {
  background: rgba(19, 36, 51, 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.stat b {
  display: block;
  font-size: 1.15rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-art {
  position: relative;
}

.hero-art img,
.detail img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.node-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(7, 16, 24, 0.88);
  border: 1px solid var(--node);
  color: var(--node);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.flow {
  --cols: 5;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--node), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.node {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  min-height: 100%;
}

.node-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: -40px auto 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--node);
  color: var(--node);
  font-weight: 800;
  text-decoration: none;
}

.node.is-current,
.node:target {
  border-color: var(--node);
  box-shadow: 0 0 0 1px var(--node), var(--shadow);
}

.node.is-current .node-dot,
.node:target .node-dot {
  background: var(--node);
  color: var(--node-ink);
}

.node h3 {
  font-size: 1.05rem;
}

.node p,
.card p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.platform,
.topic {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.topic {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.topic:hover {
  border-color: var(--node);
  text-decoration: none;
}

.topic small,
.num {
  color: var(--node);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--node);
  font-weight: 800;
}

.detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.checklist {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px dashed var(--line);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--node);
  border-radius: 50%;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
  padding: 12px 0;
}

.faq p {
  color: var(--muted);
  margin: 0 0 14px;
}

.note,
.warning {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.warning {
  border-color: var(--warn);
  color: var(--warn);
}

.breadcrumb {
  color: var(--muted);
  margin-bottom: 10px;
}

footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

footer h3 {
  font-size: 0.95rem;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li + li,
footer .stack a {
  margin-top: 8px;
}

footer p,
.legal {
  color: var(--muted);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.logo-block img {
  width: 48px;
  height: 48px;
}

@media (max-width: 980px) {
  .hero,
  .detail,
  .footer-grid,
  .flow,
  .grid,
  .grid.three,
  .grid.two,
  .stats {
    grid-template-columns: 1fr;
  }

  .flow::before {
    left: 22px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--node), transparent);
  }

  .node-dot {
    margin: 0 0 12px;
  }

  .section-head,
  .nav {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .node.is-current {
    box-shadow: none;
  }
}
