@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700&family=Rubik:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #0d0d0d;
  --ink-2: #12101a;
  --violet: #8000ff;
  --magenta: #ff00ff;
  --paper: #ece9f5;
  --muted: #a89fbc;
  --line: rgba(128, 0, 255, 0.34);
  --line-soft: rgba(128, 0, 255, 0.16);
  --radius: 18px;
  --rail: 240px;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
}

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

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

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--paper);
  font-family: "Rubik", "Nunito Sans", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  background-image:
    linear-gradient(rgba(128, 0, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 0, 255, 0.065) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 3px);
}

a { color: #dbc9ff; text-decoration: none; }
a:hover { color: #fff; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 18px;
  background: var(--violet);
  color: #fff;
  border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* 侧栏 */
.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 14px 24px;
  border-right: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(128, 0, 255, 0.13), rgba(13, 13, 13, 0.94) 42%, rgba(13, 13, 13, 0.97));
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}
.brand-txt {
  background: linear-gradient(90deg, #ffffff, #ffb6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(255, 0, 255, 0.35);
}
.brand-mark { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--magenta); }
.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--magenta);
  box-shadow: 0 0 14px var(--magenta);
  flex: 0 0 auto;
}

.tower { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.tower-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tower-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.35;
  color: #cdc4e0;
  border: 1px solid transparent;
  border-radius: 12px;
}
.tower-list a:hover {
  color: #fff;
  border-color: var(--line);
  background: rgba(128, 0, 255, 0.13);
}
.tower-list a[aria-current="true"] {
  color: #fff;
  border-color: var(--magenta);
  background: rgba(255, 0, 255, 0.09);
  box-shadow: 0 0 18px -5px var(--magenta);
}
.idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #b57bff;
  text-shadow: 0 0 8px rgba(128, 0, 255, 0.9);
}

/* 主体 */
.stage { margin-left: var(--rail); min-width: 0; }
main { display: block; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 30px;
  min-height: 45vh;
  padding: 46px clamp(20px, 4vw, 56px) 42px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-ghost {
  position: absolute;
  left: clamp(6px, 2vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(70px, 12.5vw, 186px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 0, 255, 0.2);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero h1 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(29px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 0 18px rgba(128, 0, 255, 0.8), 0 0 44px rgba(255, 0, 255, 0.32);
}
.hero h1::before,
.hero h1::after {
  content: attr(data-glitch);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0.72;
}
.hero h1::before {
  color: var(--magenta);
  clip-path: inset(0 0 62% 0);
  animation: glitch-a 5.5s steps(2, end) infinite;
}
.hero h1::after {
  color: #b57bff;
  clip-path: inset(58% 0 0 0);
  animation: glitch-b 6.8s steps(2, end) infinite;
}
@keyframes glitch-a {
  0%, 90%, 100% { transform: translate(0, 0); }
  92% { transform: translate(-3px, -2px); }
  95% { transform: translate(2px, 1px) skewX(-3deg); }
  98% { transform: translate(-1px, 2px); }
}
@keyframes glitch-b {
  0%, 88%, 100% { transform: translate(0, 0); }
  91% { transform: translate(3px, 1px); }
  94% { transform: translate(-2px, -1px) skewX(3deg); }
  97% { transform: translate(1px, -2px); }
}

.hero-desc { margin: 0 0 22px; max-width: 46ch; color: #cfc7e2; font-size: 17px; }

.hero-cta,
.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 24px;
  border: 1px solid var(--magenta);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 0, 255, 0.12);
  box-shadow: 0 0 22px -7px var(--magenta);
}
.hero-cta:hover,
.cta-btn:hover {
  background: var(--magenta);
  color: #17001f;
  box-shadow: 0 0 26px -2px var(--magenta);
}

.hero-fig {
  margin: 0;
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 28% 18%, rgba(128, 0, 255, 0.4), rgba(13, 13, 13, 0.92) 72%);
}
.hero-fig img { width: 100%; height: 100%; object-fit: cover; }

/* 正文骨架 */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px clamp(16px, 3vw, 40px) 64px;
}
.hull {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.side {
  position: sticky;
  top: 18px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(128, 0, 255, 0.07);
}
.side-head {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #ff9bff;
}
.side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.side a {
  display: block;
  min-height: 40px;
  padding: 9px;
  font-size: 16px;
  line-height: 1.35;
  color: #c0b7d4;
  border: 1px solid transparent;
  border-radius: 10px;
}
.side a:hover { color: #fff; border-color: var(--line); background: rgba(255, 0, 255, 0.09); }

.doc { min-width: 0; }
.doc > div,
.doc > article {
  scroll-margin-top: 26px;
  margin-bottom: 24px;
  padding: 26px clamp(16px, 2.4vw, 30px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(128, 0, 255, 0.1), rgba(18, 16, 26, 0.78) 62%);
}
.doc > div[id]:target {
  border-color: var(--magenta);
  box-shadow: 0 0 0 1px rgba(255, 0, 255, 0.32), 0 0 30px -12px var(--magenta);
}
.doc p { margin: 0 0 14px; }
.doc p:last-child { margin-bottom: 0; }
.doc h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.32;
  color: #fff;
  text-shadow: 0 0 16px rgba(128, 0, 255, 0.62);
}
.doc h3 {
  margin: 22px 0 10px;
  font-size: 20px;
  line-height: 1.4;
  color: #ffd7ff;
}
.doc hr {
  height: 1px;
  border: 0;
  margin: 22px 0;
  background: var(--line-soft);
}
.doc h2 + hr,
.doc h3 + hr {
  width: 64px;
  height: 2px;
  margin: 0 0 16px;
  background: linear-gradient(90deg, var(--magenta), rgba(255, 0, 255, 0));
  box-shadow: 0 0 12px var(--magenta);
}
.doc ul,
.doc ol { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 0 0 8px; }
.doc strong { color: #fff; }
.doc blockquote {
  margin: 0 0 14px;
  padding: 12px 18px;
  border-left: 2px solid var(--magenta);
  background: rgba(255, 0, 255, 0.06);
  color: #e2d9f5;
}
.doc figure { margin: 0 0 16px; }
.doc figure img { border: 1px solid var(--line); border-radius: 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc th,
.doc td { padding: 9px 10px; border: 1px solid var(--line-soft); text-align: left; }

/* 页脚 */
.foot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(128, 0, 255, 0.11), rgba(13, 13, 13, 0.99) 46%);
  padding: 44px clamp(18px, 4vw, 54px) 26px;
}
.foot-cta,
.foot-cols,
.foot-base { max-width: 1160px; margin-left: auto; margin-right: auto; }

.foot-cta h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 0, 255, 0.45), 0 0 46px rgba(128, 0, 255, 0.5);
}
.foot-cta hr {
  width: 92px;
  height: 2px;
  border: 0;
  margin: 14px 0 16px;
  background: linear-gradient(90deg, var(--magenta), rgba(128, 0, 255, 0));
  box-shadow: 0 0 12px var(--magenta);
}
.foot-cta p { margin: 0 0 20px; max-width: 56ch; color: #c8c0da; }

.foot-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-soft);
}
.foot-addr {
  display: flex;
  align-items: center;
  gap: 9px;
  font-style: normal;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.foot-addr .dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
  flex: 0 0 auto;
}
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-list a {
  display: block;
  min-height: 40px;
  padding: 8px 0;
  font-size: 16px;
  color: var(--muted);
}
.foot-list a:hover { color: #ff9bff; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 16px;
  color: var(--muted);
}
.foot-base .copy { margin: 0; }
.foot-end { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.foot-end a { display: block; min-height: 40px; padding: 8px 0; color: var(--muted); }
.foot-end a:hover { color: #ff9bff; }

/* 动效 */
.reveal { transition: opacity 0.5s ease, transform 0.5s ease; }
html.reveal-ready .reveal:not(.in) { opacity: 0; transform: translateY(16px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
  html.reveal-ready .reveal:not(.in) { opacity: 1; transform: none; }
  .hero h1::before,
  .hero h1::after { animation: none; }
}

@media (max-width: 1080px) {
  .hull { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .side { position: static; }
  .side ul { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .side a { padding: 8px 11px; }
}

@media (max-width: 900px) {
  .rail {
    position: sticky;
    top: 0;
    bottom: auto;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(13, 13, 13, 0.96);
  }
  .brand { font-size: 17px; padding: 4px 2px; flex: 0 0 auto; }
  .tower { flex: 1 1 auto; overflow-x: auto; overflow-y: hidden; }
  .tower-list { flex-direction: row; gap: 6px; }
  .tower-list li { flex: 0 0 auto; }
  .tower-list a { padding: 10px 12px; white-space: nowrap; }
  .stage { margin-left: 0; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 22px;
    padding: 28px 18px 30px;
  }
  .hero-ghost { font-size: clamp(56px, 17vw, 110px); top: 32%; opacity: 0.8; }
  .hero-fig { aspect-ratio: 16 / 9; }
  .foot { padding: 34px 18px 22px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 18px 22px; }
  .foot-addr { grid-column: 1 / -1; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .foot-cols { grid-template-columns: 1fr; }
  .hero-cta,
  .cta-btn { width: 100%; justify-content: center; }
  .doc > div,
  .doc > article { padding: 20px 14px; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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