@import url('https://fonts.googleapis.com/css2?family=Anton&family=Epilogue:wght@400;500;600;700&display=swap');

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

:root {
  --ink: #001e3c;
  --deep: #001227;
  --mint: #99ffcc;
  --acid: #00ff41;
  --paper: #e9fff5;
  --dim: #93b8c8;
  --edge: rgba(153, 255, 204, 0.26);
  --r: 4px;
  --max: 1160px;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Epilogue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(153, 255, 204, 0.2) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.55;
  pointer-events: none;
}

h1, h2, h3 {
  font-family: 'Anton', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 30;
  padding: 0.65rem 1.1rem;
  background: var(--acid);
  color: var(--ink);
  text-decoration: none;
  border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

/* 顶栏 */
.bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--edge);
  border-radius: 50%;
  color: var(--mint);
  text-decoration: none;
  flex: 0 0 auto;
}
.mark-img { width: 28px; height: 28px; object-fit: contain; display: block; }
.mark-dot {
  width: 14px;
  height: 14px;
  display: block;
  background: var(--acid);
  border-radius: 62% 38% 46% 54% / 48% 42% 58% 52%;
  animation: breathe 6s ease-in-out infinite;
}

.bar-nav { flex: 1 1 260px; min-width: 0; }

.pills, .tick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.pills::-webkit-scrollbar, .tick::-webkit-scrollbar { display: none; }

.pills a, .tick a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(0, 255, 65, 0.05);
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pills a:hover, .pills a:focus-visible,
.tick a:hover, .tick a:focus-visible {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
}

.sticky-bar {
  position: sticky;
  top: 0;
  z-index: 8;
  padding: 0.5rem 1.2rem;
  background: rgba(0, 18, 39, 0.92);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(10px);
}
.tick { max-width: var(--max); margin: 0 auto; }

/* 首屏 */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.2rem 4rem;
  min-height: calc(100svh - 138px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.32rem 0.95rem;
  border: 1px solid var(--acid);
  border-radius: 999px;
  color: var(--acid);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 6.2vw, 4.4rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 38px rgba(0, 255, 65, 0.22);
}

.lede {
  margin: 0 0 1.7rem;
  max-width: 34em;
  color: var(--dim);
  font-size: 17px;
}

.hero-acts { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1.45rem;
  border: 1px solid var(--acid);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.cta-solid { background: var(--acid); color: var(--ink); }
.cta-solid:hover { background: var(--mint); border-color: var(--mint); }
.cta-line { color: var(--acid); }
.cta-line:hover { background: rgba(0, 255, 65, 0.16); }

.hero-art {
  margin: 0;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  justify-self: end;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--edge);
  border-radius: 54% 46% 42% 58% / 46% 52% 48% 54%;
  filter: saturate(1.1) contrast(1.04);
}

.cells { position: relative; width: 100%; height: 100%; min-height: 250px; }
.cell {
  position: absolute;
  filter: blur(1.5px);
  border-radius: 64% 36% 44% 56% / 48% 42% 58% 52%;
  background: radial-gradient(circle at 34% 30%, rgba(0, 255, 65, 0.6), rgba(153, 255, 204, 0.16) 58%, rgba(0, 30, 60, 0) 76%);
  animation: breathe 9s ease-in-out infinite;
}
.c1 { width: 56%; height: 56%; left: 3%; top: 5%; }
.c2 { width: 40%; height: 40%; right: 2%; top: 20%; animation-delay: -2.4s; border-radius: 52% 48% 62% 38% / 58% 44% 56% 42%; }
.c3 { width: 46%; height: 46%; left: 24%; bottom: 3%; animation-delay: -4.6s; }
.c4 { width: 26%; height: 26%; right: 22%; bottom: 18%; animation-delay: -6.2s; }

/* 主体 + 右侧栏 */
.board {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.2rem 4rem;
  display: flex;
  align-items: flex-start;
  gap: 2.4rem;
}

.board-main { flex: 1 1 auto; min-width: 0; }

.board-main > article {
  padding: 2.6rem 0;
  border-top: 1px solid var(--edge);
  scroll-margin-top: 96px;
}
.board-main > article:first-child { border-top: 0; padding-top: 0.6rem; }

.board-main h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.16;
  color: var(--mint);
}

.board-main hr {
  border: 0;
  height: 2px;
  margin: 0 0 1.3rem;
  background: linear-gradient(90deg, var(--acid), rgba(0, 255, 65, 0) 72%);
}

.board-main h3 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.25rem;
  color: var(--paper);
}

.board-main p { margin: 0 0 1.05rem; }
.board-main ul, .board-main ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.board-main li { margin: 0.35rem 0; }

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

.board-main blockquote {
  margin: 1.3rem 0;
  padding: 0.6rem 1.1rem;
  border-left: 3px solid var(--acid);
  border-radius: 0 var(--r) var(--r) 0;
  background: rgba(0, 255, 65, 0.06);
  color: var(--mint);
}

.board-main img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--edge);
  border-radius: var(--r);
}
.board-main figure { margin: 1.4rem 0; }
.board-main figcaption { color: var(--dim); font-size: 16px; margin-top: 0.5rem; }

.side {
  flex: 0 0 236px;
  position: sticky;
  top: 86px;
  align-self: flex-start;
  border: 1px solid var(--edge);
  border-radius: var(--r);
  padding: 1rem;
  background: rgba(0, 18, 39, 0.6);
  backdrop-filter: blur(4px);
}

.side-label {
  margin: 0 0 0.7rem;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--acid);
}

.side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-list li + li { border-top: 1px dashed rgba(153, 255, 204, 0.16); }
.side-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.2rem;
  font-size: 16px;
  color: var(--paper);
  text-decoration: none;
}
.side-list a:hover { color: var(--acid); }

/* 页脚 */
.foot {
  margin-top: 3.5rem;
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(0, 255, 65, 0.08), rgba(0, 30, 60, 0) 68%);
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem max(1.2rem, calc((100% - 1160px) / 2)) 1.2rem;
}

.foot-brand h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: 1.04;
  color: var(--mint);
}
.foot-brand hr {
  border: 0;
  height: 2px;
  width: 68px;
  margin: 0;
  background: var(--acid);
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: var(--dim);
  text-decoration: none;
}
.foot-col a:hover { color: var(--mint); }

.foot-base {
  grid-column: 1 / -1;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  color: var(--dim);
  font-size: 16px;
}
.foot-base p { margin: 0; }

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  color: var(--mint);
  text-decoration: none;
}
.to-top:hover { background: rgba(0, 255, 65, 0.14); }

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.js .board-main > article {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .board-main > article.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 1rem 1.2rem 2.6rem;
    gap: 1.6rem;
  }
  .hero-art { max-width: 330px; justify-self: start; }
  .board { flex-direction: column; gap: 1.8rem; }
  .side { position: static; flex: 1 1 auto; width: 100%; }
  .side-list { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
  .side-list li + li { border-top: 0; }
  .side-list a { padding: 0 0.8rem; border: 1px solid var(--edge); border-radius: 999px; }
  .board-main > article { scroll-margin-top: 74px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar { padding: 0.6rem 0.9rem; }
  .sticky-bar { padding: 0.45rem 0.9rem; }
  .hero { padding: 0.8rem 0.9rem 2.2rem; }
  .board { padding: 0 0.9rem 3rem; }
  .foot { grid-template-columns: 1fr; padding-inline: 0.9rem; }
  .foot-base { grid-column: 1 / -1; }
  .lede { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .board-main > article { opacity: 1; transform: none; }
}

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