:root {
  --mint: #99ffcc;
  --lime: #00ff41;
  --ink: #001e3c;
  --ink-deep: #000d1a;
  --txt: #d6f7ea;
  --dim: #9cc7bb;
  --glass: rgba(153, 255, 204, 0.06);
  --line: rgba(153, 255, 204, 0.18);
  --rail: 78px;
}

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

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

body {
  margin: 0;
  font-family: 'Rubik', 'Outfit', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--txt);
  background-color: #001225;
  background-image:
    radial-gradient(900px 720px at 88% 6%, rgba(0, 255, 65, 0.17), transparent 70%),
    radial-gradient(760px 620px at 4% 94%, rgba(153, 255, 204, 0.13), transparent 72%),
    linear-gradient(180deg, #001e3c 0%, #00152b 55%, #000d1a 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

.skip {
  position: fixed;
  left: 10px;
  top: -70px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--lime);
  color: #001e3c;
  font-size: 15px;
  transition: top 0.22s ease;
}
.skip:focus { top: 10px; }

/* 顶部细条 */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  z-index: 70;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #ccffe6;
  background: rgba(0, 255, 65, 0.12);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.ticker span {
  padding: 0 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 左侧竖条 */
.rail {
  position: fixed;
  left: 0;
  top: 34px;
  bottom: 0;
  width: var(--rail);
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0 18px;
  background: rgba(0, 30, 60, 0.72);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.burger {
  appearance: none;
  width: 48px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 255, 65, 0.05);
  color: var(--mint);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.burger:hover { background: rgba(0, 255, 65, 0.18); border-color: var(--lime); }
.burger-bars {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.burger-txt { display: none; font-size: 11px; letter-spacing: 0.2em; }

.brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.36em;
  color: var(--mint);
}
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
  animation: breathe 6s ease-in-out infinite;
}

/* 全屏遮罩菜单 */
.menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding-left: var(--rail);
  overflow: auto;
  background:
    radial-gradient(620px 520px at 82% 12%, rgba(0, 255, 65, 0.24), transparent 70%),
    radial-gradient(520px 460px at 10% 84%, rgba(153, 255, 204, 0.18), transparent 72%),
    linear-gradient(160deg, #00294a 0%, #00111f 58%, #002b1c 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-4%);
  transition: opacity 0.36s ease, transform 0.5s cubic-bezier(0.2, 0.85, 0.2, 1), visibility 0.36s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }

.menu ul {
  list-style: none;
  margin: 0;
  padding: 70px 20px;
  display: grid;
  gap: 4px;
  counter-reset: n;
}
.menu li { counter-increment: n; }
.menu a {
  display: block;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(21px, 3.6vw, 31px);
  font-weight: 600;
  color: #e8fff5;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.menu a::before {
  content: counter(n, decimal-leading-zero);
  display: block;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--lime);
  font-weight: 500;
}
.menu a:hover { color: var(--lime); background: rgba(0, 255, 65, 0.1); transform: translateX(6px); }

/* 版心 */
.page { padding-left: var(--rail); }

/* 首屏 */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: calc(34px + 8vh) clamp(20px, 5vw, 84px) 10vh;
}
.hero-copy { animation: rise 0.9s ease both; }
.hero h1 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5.1vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #eefff7;
  text-shadow: 0 0 46px rgba(0, 255, 65, 0.28);
}
.hero-rule {
  margin-top: 28px;
  height: 14px;
  width: min(360px, 74%);
  background: linear-gradient(90deg, var(--lime), var(--mint) 62%, rgba(153, 255, 204, 0));
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
  animation: breathe 7s ease-in-out infinite;
  transform-origin: left center;
}

.hero-art {
  position: relative;
  width: 100%;
  max-height: 68vh;
  aspect-ratio: 1 / 1;
  justify-self: end;
  animation: rise 1.1s 0.16s ease both;
}
.cell {
  position: absolute;
  filter: blur(3px);
  mix-blend-mode: screen;
  animation: breathe 9s ease-in-out infinite;
}
.c1 {
  width: 72%;
  height: 72%;
  right: -4%;
  top: 2%;
  border-radius: 48% 52% 61% 39% / 44% 55% 45% 56%;
  background: radial-gradient(circle at 32% 30%, rgba(0, 255, 65, 0.55), rgba(0, 255, 65, 0) 68%);
}
.c2 {
  width: 54%;
  height: 54%;
  left: 0;
  bottom: 4%;
  border-radius: 60% 40% 45% 55% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 62% 42%, rgba(153, 255, 204, 0.55), rgba(153, 255, 204, 0) 70%);
  animation-delay: -3.5s;
}
.c3 {
  width: 30%;
  height: 30%;
  right: 16%;
  bottom: 12%;
  border-radius: 55% 45% 40% 60% / 45% 60% 40% 55%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 65, 0.42), rgba(0, 255, 65, 0) 72%);
  animation-delay: -6s;
}
.hero-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  animation: blob 16s ease-in-out infinite;
}

/* 正文区块 */
main { display: block; }
div { display: block; }

div > section {
  position: relative;
  max-width: 900px;
  margin: 0 auto 22px;
  padding: clamp(22px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  scroll-margin-top: 28px;
}
div > section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(0, 255, 65, 0.05) 60%, transparent);
}
div > section:first-of-type { margin-top: 0; }

div h2 {
  margin: 0 0 14px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2.9vw, 30px);
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: #f4fffb;
}
div h3 {
  margin: 22px 0 10px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.35;
  color: var(--mint);
}
div p { margin: 0 0 14px; }
div p:last-child { margin-bottom: 0; }
div small {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--lime);
}
div ul,
div ol { margin: 0 0 16px; padding-left: 1.25em; }
div li { margin-bottom: 8px; }
div a { border-bottom: 1px solid rgba(153, 255, 204, 0.42); }
div a:hover { color: var(--lime); border-bottom-color: var(--lime); }
div blockquote {
  margin: 0 0 16px;
  padding: 12px 18px;
  border-left: 3px solid var(--lime);
  background: rgba(0, 255, 65, 0.06);
  border-radius: 0 10px 10px 0;
  color: #e6fff4;
}
div strong { color: #f0fff9; }
div code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 15px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(153, 255, 204, 0.12);
}
div table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 16px; }
div th,
div td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* 页脚 */
footer {
  margin-top: 44px;
  padding: clamp(30px, 6vw, 72px) clamp(16px, 5vw, 60px) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 30, 60, 0), rgba(0, 255, 65, 0.06));
}
footer > section {
  max-width: 960px;
  margin: 0 auto 30px;
}
.f-cta {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--glass);
  backdrop-filter: blur(10px);
}
.f-cta small {
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--lime);
}
.f-cta h2 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.16;
  color: #eefff7;
}
.f-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--mint);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.f-top:hover { background: rgba(0, 255, 65, 0.16); border-color: var(--lime); color: #f2fffa; }

.f-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
}
.f-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--dim);
  transition: color 0.25s ease, background 0.25s ease;
}
.f-nav a:hover { color: var(--lime); background: rgba(153, 255, 204, 0.1); }

.f-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 16px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--dim);
}
.f-base .copy { margin: 0; }
.f-base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--dim);
}
.f-base a:hover { color: var(--lime); }

/* 动效 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@keyframes blob {
  0%, 100% { border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; transform: translateY(0); }
  50% { border-radius: 58% 42% 44% 56% / 42% 58% 42% 58%; transform: translateY(-10px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* 窄屏 */
@media (max-width: 900px) {
  :root { --rail: 0px; }

  .ticker { height: 32px; font-size: 12px; }

  .rail {
    top: 32px;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .burger { width: 54px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .burger-txt { display: block; margin-top: 3px; }
  .brand {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    font-size: 14px;
    letter-spacing: 0.2em;
    padding: 8px 4px;
  }
  .menu { padding-left: 0; }
  .menu ul { padding: 96px 16px 48px; }

  .page { padding-left: 0; padding-top: 92px; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 22px 18px 34px;
  }
  .hero-art { max-height: none; aspect-ratio: 4 / 3; margin-top: 26px; justify-self: stretch; }

  div > section { padding: 22px 16px; }
  footer { padding: 26px 16px 0; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

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