@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --mint: #87ff71;
  --cyan: #01cdfe;
  --ink: #192617;
  --rose: #ff71ce;
  --violet: #b967ff;
  --txt: #d9f6d3;
  --dim: #8fb490;
  --line: rgba(135, 255, 113, 0.22);
  --card: rgba(1, 205, 254, 0.055);
  --r: 28px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Space Grotesk', 'Inter', -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: var(--txt);
  background:
    radial-gradient(90vw 55vh at 82% -12%, rgba(1, 205, 254, 0.17), transparent 70%),
    radial-gradient(75vw 55vh at -8% 6%, rgba(255, 113, 206, 0.13), transparent 72%),
    #0e1710;
}

body.locked { overflow: hidden; }

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
  mix-blend-mode: screen;
  opacity: 0.5;
}

img { max-width: 100%; height: auto; }

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

/* ---------- 底部固定条 ---------- */
.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.45rem 0.8rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  background: rgba(9, 17, 10, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.55rem;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid transparent;
}

.mark-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  filter: drop-shadow(0 0 6px rgba(135, 255, 113, 0.7));
}

.mark-txt {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--mint);
  font-size: 1.05rem;
  text-shadow: 0 0 12px rgba(135, 255, 113, 0.85), 0 0 28px rgba(1, 205, 254, 0.5);
}

.burger {
  min-height: 44px;
  padding: 0.4rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--mint);
  background: rgba(135, 255, 113, 0.1);
  color: var(--mint);
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(135, 255, 113, 0.22);
}

.burger:hover { background: rgba(135, 255, 113, 0.2); }

/* ---------- 全屏遮罩菜单（左侧滑入） ---------- */
.dock {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 1.25rem 6rem;
  background:
    linear-gradient(150deg, rgba(255, 113, 206, 0.16), rgba(1, 205, 254, 0.12) 46%, rgba(9, 17, 10, 0.98)),
    #0b140c;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.42s;
  overflow-y: auto;
}

.dock.is-open {
  transform: none;
  visibility: visible;
}

.dock-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 34rem;
}

.dock-nav li + li { margin-top: 0.15rem; }

.dock-nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.5rem 0.3rem;
  color: #effff0;
  text-decoration: none;
  font-size: clamp(1.1rem, 4.2vw, 1.45rem);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}

.dock-nav a::after {
  content: '↘';
  margin-left: auto;
  color: var(--cyan);
  font-size: 0.9rem;
  opacity: 0.75;
}

.dock-nav a:hover,
.dock-nav a:focus-visible {
  color: var(--mint);
  text-shadow: 0 0 14px rgba(135, 255, 113, 0.8);
}

/* ---------- 主体 ---------- */
.main {
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 3vw, 1.5rem) 2rem;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 45vh;
  margin-top: 0.85rem;
  overflow: hidden;
  border-radius: var(--r);
  background: linear-gradient(158deg, var(--rose), var(--cyan) 52%, var(--ink));
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.hero-art {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) hue-rotate(-10deg) contrast(1.04);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(202deg, rgba(255, 113, 206, 0.45), rgba(1, 205, 254, 0.3) 44%, rgba(14, 23, 16, 0.94));
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.15rem 2.9rem;
  text-align: right;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 8.5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #f2fff4;
  text-shadow: 0 0 16px rgba(135, 255, 113, 0.8), 0 0 44px rgba(1, 205, 254, 0.6);
  animation: glitch 6s steps(1, end) infinite;
}

@keyframes glitch {
  0%, 92%, 100% { text-shadow: 0 0 16px rgba(135, 255, 113, 0.8), 0 0 44px rgba(1, 205, 254, 0.55); }
  93% { text-shadow: -2px 0 var(--rose), 2px 0 var(--cyan), 0 0 26px rgba(255, 113, 206, 0.8); }
  95% { text-shadow: 2px 0 var(--rose), -2px 0 var(--mint), 0 0 30px rgba(1, 205, 254, 0.9); }
  97% { text-shadow: 0 0 16px rgba(135, 255, 113, 0.8), 0 0 44px rgba(1, 205, 254, 0.55); }
}

/* ---------- 引言 + 左侧栏 ---------- */
.lede {
  display: grid;
  grid-template-columns: minmax(140px, 185px) 1fr;
  gap: 0.35rem 1.75rem;
  align-items: start;
  margin-top: 2.1rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.lede > small,
.lede > h2,
.lede > p { grid-column: 2; }

.lede > small {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-transform: uppercase;
}

.lede > h2 {
  margin: 0.15rem 0 0.6rem;
  font-size: clamp(1.5rem, 4.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: #eefff2;
}

.lede-desc {
  margin: 0;
  color: var(--dim);
  max-width: 46ch;
}

.side {
  grid-column: 1;
  grid-row: 1 / -1;
  position: sticky;
  top: 1rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.jump {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jump a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0.25rem 0.45rem;
  font-size: 0.86rem;
  color: var(--dim);
  text-decoration: none;
  border-radius: 10px;
  line-height: 1.35;
}

.jump a:hover,
.jump a:focus-visible {
  color: var(--mint);
  background: rgba(135, 255, 113, 0.09);
}

/* ---------- 正文区块 ---------- */
.main > div:not(.hero):not(.lede) {
  position: relative;
  margin: 2.4rem 0;
  padding: 1.6rem clamp(1rem, 3.2vw, 2rem) 2rem;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--cyan);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--card), rgba(135, 255, 113, 0.035));
  scroll-margin-top: 1rem;
}

.main > div:not(.hero):not(.lede)::before {
  content: '';
  position: absolute;
  left: clamp(1rem, 3.2vw, 2rem);
  right: clamp(1rem, 3.2vw, 2rem);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 113, 206, 0.6), transparent);
}

.main > div > h2,
.main > div > h3 {
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: #effff3;
}

.main > div > h2 {
  margin: 0.1rem 0 0.9rem;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
}

.main > div > h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: clamp(1.1rem, 3.2vw, 1.3rem);
  color: var(--mint);
}

.main > div > small {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.main p { margin: 0 0 1rem; }
.main p:last-child { margin-bottom: 0; }

.main ul,
.main ol { padding-left: 1.35rem; margin: 0 0 1rem; }

.main li { margin-bottom: 0.4rem; }

.main li::marker { color: var(--cyan); }

.main a {
  color: var(--mint);
  text-underline-offset: 3px;
}

.main blockquote {
  margin: 1.2rem 0;
  padding: 0.6rem 1rem;
  border-left: 3px solid var(--rose);
  background: rgba(255, 113, 206, 0.07);
  color: #e9ffe9;
}

.main figure { margin: 1.2rem 0; }

.main figure img { border-radius: 18px; }

.main figcaption {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--dim);
}

.main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.main th,
.main td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.main th { color: var(--cyan); }

/* ---------- 页脚 ---------- */
.base {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(25, 38, 23, 0.4), #09110a 72%);
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

.base::before {
  content: '';
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 190px;
  background-image:
    linear-gradient(rgba(1, 205, 254, 0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 205, 254, 0.36) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(300px) rotateX(64deg);
  transform-origin: bottom center;
  opacity: 0.42;
  pointer-events: none;
}

.base div {
  position: relative;
  z-index: 1;
  max-width: 66rem;
  margin: 0 auto;
  padding: 1rem clamp(0.9rem, 3vw, 1.5rem);
}

.base-form { padding-top: 2.4rem; }

.sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.sub-label {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--cyan);
}

.sub-in {
  flex: 1 1 11rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--txt);
  font: inherit;
  font-size: 1rem;
}

.sub-in::placeholder { color: var(--dim); }

.sub-in:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }

.sub-btn {
  min-height: 44px;
  padding: 0.45rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--mint);
  background: rgba(135, 255, 113, 0.14);
  color: var(--mint);
  font: inherit;
  cursor: pointer;
}

.sub-btn:hover { background: rgba(135, 255, 113, 0.26); }

.base-mark { text-align: center; }

.base-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--mint);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(135, 255, 113, 0.8), 0 0 34px rgba(1, 205, 254, 0.6);
}

.base-legal { text-align: center; }

.base-legal p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* ---------- 滚动出现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 { animation: none; }
  .dock { transition: none; }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }

  .lede {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    margin-top: 1.7rem;
  }

  .lede > small,
  .lede > h2,
  .lede > p { grid-column: 1; }

  .side {
    grid-column: 1;
    grid-row: auto;
    position: static;
    order: 3;
    margin-top: 0.9rem;
    padding: 0.45rem;
  }

  .jump { display: flex; flex-wrap: wrap; gap: 0.2rem; }

  .jump li { flex: 1 1 auto; }

  .jump a {
    min-height: 40px;
    font-size: 0.82rem;
    border: 1px solid var(--line);
  }

  .hero { min-height: 45vh; }

  .hero-copy { padding: 1rem 1rem 2.6rem; }

  .main > div:not(.hero):not(.lede) {
    padding: 1.35rem 1.05rem 1.6rem;
    border-radius: 22px;
  }

  .main > div:not(.hero):not(.lede)::before {
    left: 1.05rem;
    right: 1.05rem;
  }
}

@media (min-width: 900px) {
  .dock { padding-left: 3rem; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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