@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&family=Crimson+Pro:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
  --mint: #99ffcc;
  --fluoro: #00ff41;
  --ink: #001e3c;
  --ink-soft: #06294b;
  --ink-deep: #001024;
  --fog: #d3ebe0;
  --line: rgba(153, 255, 204, 0.22);
  --shadow: 0 22px 46px -26px rgba(0, 9, 22, 0.95);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Atkinson Hyperlegible', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: var(--fog);
  background:
    radial-gradient(880px 520px at 112% -8%, rgba(0, 255, 65, 0.16), transparent 70%),
    radial-gradient(660px 420px at -12% 34%, rgba(153, 255, 204, 0.12), transparent 66%),
    var(--ink);
}

h1, h2, h3 {
  font-family: 'Crimson Pro', 'Songti SC', 'Source Han Serif SC', Georgia, serif;
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: 0.008em;
  color: #ffffff;
}

a { color: var(--fluoro); }

:focus-visible {
  outline: 2px solid var(--fluoro);
  outline-offset: 3px;
}

.skin { position: relative; overflow-x: clip; }

/* ── 顶部细条 ────────────────────────────── */
.ticker {
  position: fixed;
  inset: 0 0 auto 0;
  height: 28px;
  z-index: 72;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--fluoro);
  color: var(--ink-deep);
  font-size: 13px;
  letter-spacing: 0.34em;
  white-space: nowrap;
}
.ticker span {
  padding-left: 16px;
  animation: drift 22s linear infinite;
}

/* ── 顶栏 ────────────────────────────────── */
.top {
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(14px, 4vw, 32px);
  background: linear-gradient(180deg, rgba(0, 30, 60, 0.94), rgba(0, 30, 60, 0.46));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.marklink { display: block; line-height: 0; }

.mark {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
  background: var(--ink-soft);
  border: 1px solid var(--fluoro);
  border-radius: 54% 46% 42% 58% / 46% 54% 46% 54%;
  animation: breathe 7.5s ease-in-out infinite;
}
.mark--seed {
  background:
    radial-gradient(circle at 34% 32%, var(--fluoro), rgba(153, 255, 204, 0.35) 58%, transparent 74%),
    var(--ink-soft);
}

.burger {
  min-height: 44px;
  padding: 0 20px;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--mint);
  background: transparent;
  border: 1px solid var(--fluoro);
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.28s ease, color 0.28s ease;
}
.burger:hover { background: var(--fluoro); color: var(--ink-deep); }

/* ── 全屏遮罩菜单 ────────────────────────── */
.veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-content: center;
  padding: 92px clamp(20px, 6vw, 68px) 48px;
  background:
    radial-gradient(720px 520px at 84% 12%, rgba(0, 255, 65, 0.22), transparent 70%),
    rgba(0, 16, 36, 0.97);
  backdrop-filter: blur(6px);
  transform: translateY(-102%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.veil.is-open { transform: none; }

.veil-close {
  position: fixed;
  top: 44px;
  right: clamp(14px, 4vw, 32px);
  z-index: 92;
  min-height: 44px;
  padding: 0 20px;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--ink-deep);
  background: var(--fluoro);
  border: 1px solid var(--fluoro);
  cursor: pointer;
}

.veil-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  max-width: 720px;
}
.veil-nav li { counter-increment: step; }
.veil-nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 8px 2px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Crimson Pro', 'Songti SC', Georgia, serif;
  font-size: clamp(1.24rem, 3.4vw, 2rem);
  border-bottom: 1px solid rgba(153, 255, 204, 0.18);
  transition: color 0.24s ease, padding-left 0.24s ease;
}
.veil-nav a::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--fluoro);
}
.veil-nav a:hover { color: var(--fluoro); padding-left: 14px; }

/* ── 首屏 ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 64px) clamp(88px, 13vh, 150px);
  clip-path: ellipse(152% 100% at 50% 0%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(153, 255, 204, 0.34) 1px, transparent 1.7px);
  background-size: 20px 20px;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), #000 58%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), #000 58%);
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: -8vw;
  top: 9vh;
  width: min(58vw, 520px);
  aspect-ratio: 1;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  background: radial-gradient(circle at 32% 30%, rgba(0, 255, 65, 0.44), rgba(153, 255, 204, 0.1) 58%, transparent 72%);
  filter: blur(7px);
  animation: breathe 9.5s ease-in-out infinite;
}

.hero-fig {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-words {
  position: relative;
  z-index: 3;
  text-align: right;
  max-width: 22ch;
}
.hero-words h1 {
  margin: 0;
  padding-right: clamp(14px, 2vw, 28px);
  border-right: 4px solid var(--fluoro);
  font-size: clamp(2.05rem, 6.6vw, 4.5rem);
  text-shadow: 0 12px 42px rgba(0, 12, 28, 0.92);
}

/* ── 主体膜层 ────────────────────────────── */
.membrane {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 40px) clamp(24px, 5vw, 56px);
}

.rail {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 4px 0 4px 16px;
  border-left: 1px solid var(--line);
}
.rail-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--fluoro);
}
.rail h2 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  color: var(--mint);
}
.rail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.rail a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  font-size: 15px;
  color: var(--fog);
  text-decoration: none;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}
.rail a:hover {
  background: rgba(0, 255, 65, 0.12);
  color: var(--mint);
  transform: translateX(3px);
}

.lumen {
  min-width: 0;
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}
.lumen > article {
  padding: clamp(20px, 3.4vw, 40px) clamp(18px, 3.4vw, 38px);
  background: linear-gradient(180deg, rgba(6, 41, 75, 0.94), rgba(0, 16, 36, 0.94));
  border-left: 3px solid rgba(0, 255, 65, 0.55);
  box-shadow: var(--shadow);
  scroll-margin-top: 112px;
  overflow-wrap: break-word;
}

.lumen h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
}
.lumen h3 {
  margin: 26px 0 10px;
  font-size: 1.18rem;
  color: var(--mint);
}
.lumen p { margin: 0 0 1em; }
.lumen p:last-child { margin-bottom: 0; }
.lumen ul, .lumen ol { padding-left: 1.35em; }
.lumen li { margin: 0.3em 0; }
.lumen a { text-underline-offset: 3px; }
.lumen img { max-width: 100%; height: auto; }

/* ── 页脚 ────────────────────────────────── */
.base {
  margin-top: clamp(36px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 16, 36, 0.35), rgba(0, 9, 20, 1));
}

.cta { padding: clamp(36px, 7vw, 78px) clamp(20px, 5vw, 64px); }
.cta a {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding: 14px 32px;
  font-family: 'Crimson Pro', 'Songti SC', Georgia, serif;
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  color: var(--ink-deep);
  background: var(--fluoro);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: background 0.3s ease, transform 0.3s ease;
}
.cta a:hover { background: var(--mint); transform: translateY(-3px); }

.cols {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  padding: clamp(26px, 5vw, 54px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.base address {
  font-style: normal;
  font-family: 'Crimson Pro', 'Songti SC', Georgia, serif;
  font-size: 1.5rem;
  color: #ffffff;
}

.quick {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quick a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--mint);
  text-decoration: none;
  border: 1px solid var(--line);
  transition: border-color 0.24s ease, background 0.24s ease;
}
.quick a:hover { border-color: var(--fluoro); background: rgba(0, 255, 65, 0.12); }

.base dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 24px;
  margin: 0;
}
.base dt, .base dd { margin: 0; }
.base dl a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid rgba(153, 255, 204, 0.13);
  transition: color 0.24s ease;
}
.base dl a:hover { color: var(--fluoro); }

.beneath {
  padding: 22px clamp(20px, 5vw, 64px) 32px;
  text-align: center;
  font-size: 14px;
  color: rgba(211, 235, 224, 0.62);
  border-top: 1px solid var(--line);
}
.beneath p { margin: 0; }

/* ── 动效 ────────────────────────────────── */
@keyframes breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.075) rotate(3deg); }
}
@keyframes drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-24px); }
}

/* ── 窄屏 ────────────────────────────────── */
@media (max-width: 900px) {
  .membrane { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .rail {
    position: static;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .rail ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .rail a {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    background: rgba(153, 255, 204, 0.09);
  }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero { clip-path: ellipse(190% 100% at 50% 0%); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .base dl { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .hero-words { max-width: 100%; }
  .lumen > article { padding: 18px 16px; }
}

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

button[aria-expanded]{min-width:44px;min-height:44px}
