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

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

:root {
  color-scheme: dark;
  --ink: #000000;
  --panel: #121212;
  --panel-2: #171717;
  --line: #262626;
  --txt: #ededed;
  --soft: #cfcfcf;
  --dim: #9a9a9a;
  --neon: #c8ff3e;
  --mid: #0e1b32;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font-family: system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--txt);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

a:hover {
  color: var(--neon);
}

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

h1,
h2,
h3,
.dock-brand,
.copy {
  font-family: "Space Grotesk", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  letter-spacing: -.022em;
}

/* ---------- 底部固定条 ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, .94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.dock-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 1.02rem;
  color: #ffffff;
}

.dock-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.dock-list {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.dock-list::-webkit-scrollbar {
  display: none;
}

.dock-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 16px;
  color: #bdbdbd;
  white-space: nowrap;
}

.dock-list a:hover {
  background: var(--panel-2);
  color: var(--neon);
}

.dock-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 16px;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.dock-top:hover {
  border-color: var(--neon);
}

/* ---------- 主区 ---------- */

.stage {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 76px 0 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  left: -16%;
  right: -16%;
  bottom: 13%;
  height: 108px;
  z-index: 0;
  transform: skewY(-4deg);
  background: linear-gradient(100deg, var(--mid) 0%, #01040a 62%, #000000 100%);
  border-top: 1px solid rgba(200, 255, 62, .3);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 6.1vw, 3.45rem);
  line-height: 1.04;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(200, 255, 62, .18);
}

.lede {
  margin: 0;
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #c7c7c7;
}

.sticker {
  position: relative;
  z-index: 1;
  width: clamp(112px, 21vw, 178px);
  aspect-ratio: 1;
  margin: 0;
  display: grid;
  place-items: center;
}

.sticker-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--neon);
  border-radius: 50%;
  opacity: .6;
  animation: spin 22s linear infinite;
}

.sticker-core {
  width: 44%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--neon);
  transform: rotate(-12deg);
  box-shadow: 0 0 26px rgba(200, 255, 62, .35);
}

.mark-img {
  position: relative;
  width: 56%;
  border-radius: 10px;
  box-shadow: 0 0 26px rgba(200, 255, 62, .2);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 38px;
  align-items: start;
  padding-top: 56px;
}

/* ---------- 正文 ---------- */

.body {
  min-width: 0;
  overflow-wrap: break-word;
}

.body > article {
  padding-bottom: 42px;
  scroll-margin-top: 28px;
  scroll-margin-bottom: 104px;
}

.body > article + article {
  margin-top: 6px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.body > article:last-child {
  padding-bottom: 8px;
}

.body h2 {
  margin: 0 0 .72em;
  padding-left: 14px;
  border-left: 4px solid var(--neon);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.28;
  color: #ffffff;
}

.body h3 {
  margin: 1.5em 0 .5em;
  font-size: 1.18rem;
  line-height: 1.4;
  color: #ffffff;
}

.body p {
  margin: 0 0 1.1em;
  max-width: 64ch;
  color: #d4d4d4;
}

.body ul,
.body ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  max-width: 62ch;
}

.body li {
  margin: .38em 0;
}

.body a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.body strong {
  color: #ffffff;
}

.body blockquote {
  margin: 0 0 1.2em;
  padding: 14px 18px;
  background: var(--panel);
  border-left: 3px solid #2a4a7a;
  border-radius: 10px;
  color: #dcdcdc;
}

.body blockquote p:last-child {
  margin-bottom: 0;
}

.body figure {
  margin: 0 0 1.2em;
}

.body figcaption {
  margin-top: .5em;
  font-size: 16px;
  color: var(--dim);
}

/* ---------- 侧栏 ---------- */

.rail {
  position: sticky;
  top: 24px;
  padding: 20px 18px 22px;
  background: var(--panel);
  border-radius: 10px;
  border-bottom: 3px solid var(--neon);
}

.rail h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: #ffffff;
}

.rail .subtitle {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dim);
}

.rail-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 2px 9px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--soft);
}

.rail-list a:hover {
  background: var(--panel-2);
  color: var(--neon);
}

/* ---------- 页脚 ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 24px 20px 116px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--dim);
}

.foot address {
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
}

.foot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 9px;
  border-radius: 8px;
  color: var(--soft);
}

.copy {
  margin: 0 0 0 auto;
  font-size: 16px;
  color: #7f7f7f;
}

/* ---------- 断点 ---------- */

@media (max-width: 900px) {
  .sheet {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .rail {
    position: static;
  }

  .rail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16.5px;
  }

  .stage {
    padding: 0 16px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-height: 64vh;
    padding: 56px 0 44px;
  }

  .sticker {
    width: 96px;
    justify-self: start;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .foot {
    padding: 20px 16px 112px;
  }

  .copy {
    margin-left: 0;
    flex-basis: 100%;
  }
}

@media (max-width: 420px) {
  .dock {
    gap: 6px;
    padding: 8px 10px;
  }

  .dock-top {
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sticker-ring {
    animation: none;
  }

  a {
    transition: none;
  }
}

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