:root{
  --lime:#80ff00;
  --neon:#00ff00;
  --ink:#1f2617;
  --paper:#0b0f06;
  --txt:#e8ffd6;
  --dim:rgba(232,255,214,.66);
  --line:rgba(128,255,0,.32);
  --glass:rgba(255,255,255,.07);
  --r:18px;
}
*,*::before,*::after{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  overflow-x:hidden;
  overflow-x:clip;
}
body{
  margin:0;
  min-height:100vh;
  width:100%;
  background:radial-gradient(125% 85% at 50% -5%,#2a3a1d 0%,var(--ink) 45%,var(--paper) 100%) fixed;
  color:var(--txt);
  font-family:"DM Sans",system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:17px;
  line-height:1.68;
  overflow-x:hidden;
  overflow-x:clip;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:9;
  pointer-events:none;
  opacity:.075;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
a{color:var(--lime)}
img{display:block;max-width:100%;height:auto}
main{display:block;max-width:100%}

/* 顶栏 */
.site-head{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  max-width:100%;
  background:rgba(11,15,6,.74);
  -webkit-backdrop-filter:blur(14px) saturate(170%);
  backdrop-filter:blur(14px) saturate(170%);
  border-bottom:2px solid var(--lime);
}
.brand-dot{
  flex:0 0 auto;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--lime);
  color:var(--ink);
  font-weight:700;
  font-size:20px;
  text-decoration:none;
  box-shadow:4px 4px 0 var(--neon);
}
.brand-dot img{width:26px;height:26px;object-fit:contain}
.head-nav{
  flex:1 1 0;
  min-width:0;
  display:flex;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.head-nav::-webkit-scrollbar{display:none}
.head-nav a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:44px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--txt);
  font-size:16px;
  text-decoration:none;
  white-space:nowrap;
}
.head-nav a:hover,.head-nav a:focus-visible{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.ico{font-size:13px;line-height:1;color:var(--lime)}
.head-nav a:hover .ico{color:var(--ink)}
.head-cta{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  border-radius:999px;
  background:var(--neon);
  color:var(--ink);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  transform:rotate(-3deg);
  box-shadow:3px 3px 0 rgba(0,0,0,.35);
}
.head-cta:hover{transform:rotate(2deg)}

/* 首屏 */
.hero{
  position:relative;
  box-sizing:border-box;
  width:100%;
  min-height:70vh;
  display:grid;
  place-items:center;
  padding:88px 20px;
  overflow:hidden;
  border-bottom:2px solid var(--line);
  isolation:isolate;
}
.hero-ghost{
  position:absolute;
  inset:0;
  z-index:0;
  margin:0;
  display:grid;
  place-items:center;
  font-size:clamp(4.4rem,22vw,18rem);
  font-weight:700;
  line-height:.85;
  letter-spacing:-.05em;
  color:transparent;
  -webkit-text-stroke:2px rgba(128,255,0,.22);
  filter:saturate(160%);
  pointer-events:none;
  user-select:none;
  word-break:break-all;
  overflow:hidden;
}
.hero-h1{
  position:relative;
  z-index:3;
  margin:0;
  max-width:24ch;
  font-size:clamp(2.05rem,8.6vw,5.2rem);
  line-height:1.04;
  letter-spacing:-.04em;
  font-weight:700;
  color:#f4ffe8;
  text-align:center;
  text-wrap:balance;
  overflow-wrap:break-word;
  text-shadow:4px 4px 0 rgba(0,255,0,.3),-3px -3px 0 rgba(0,0,0,.35);
}
.sticker{
  --rot:-9deg;
  position:absolute;
  z-index:4;
  margin:0;
  padding:10px 16px;
  border-radius:var(--r);
  background:var(--lime);
  color:var(--ink);
  font-size:16px;
  font-weight:700;
  line-height:1.3;
  transform:rotate(var(--rot));
  box-shadow:6px 6px 0 rgba(0,255,0,.45);
  animation:jitter 5.5s ease-in-out infinite;
}
.sticker figcaption{margin:0}
.sticker-a{left:14px;bottom:16px}
.sticker-b{right:12px;top:16px;--rot:7deg;background:var(--neon);animation-delay:.9s}
@keyframes jitter{
  0%,100%{transform:rotate(var(--rot)) translate(0,0)}
  33%{transform:rotate(calc(var(--rot) + 3deg)) translate(3px,-3px)}
  66%{transform:rotate(calc(var(--rot) - 3deg)) translate(-3px,2px)}
}

/* 跑马灯 */
.tape{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  overflow:hidden;
  background:var(--lime);
  color:var(--ink);
  border-bottom:2px solid var(--neon);
  padding:9px 0;
  margin:6px 0 2px;
}
.tape-track{
  display:flex;
  gap:26px;
  width:max-content;
  font-size:17px;
  font-weight:700;
  letter-spacing:.02em;
  animation:slide 26s linear infinite;
}
@keyframes slide{to{transform:translateX(-50%)}}

/* 主体 */
.stage{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
  max-width:1180px;
  margin:0 auto;
  padding:26px 16px 44px;
}
@media (min-width:900px){
  .stage{grid-template-columns:262px minmax(0,1fr);gap:30px;padding:44px 24px 72px}
}

.rail{
  min-width:0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--glass);
  -webkit-backdrop-filter:blur(14px) saturate(150%);
  backdrop-filter:blur(14px) saturate(150%);
  box-shadow:0 10px 30px rgba(0,0,0,.28);
  transform:rotate(-.6deg);
}
@media (min-width:900px){
  .rail{position:sticky;top:84px;align-self:start}
}
.rail-h{
  margin:0 0 12px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.16em;
  color:var(--lime);
}
.rail-h>span{border-bottom:2px solid var(--neon);padding-bottom:2px}
.rail-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:none;
}
.rail-list::-webkit-scrollbar{display:none}
.rail-list a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 12px;
  border:1px solid transparent;
  border-radius:999px;
  background:rgba(128,255,0,.1);
  color:var(--txt);
  font-size:16px;
  text-decoration:none;
  white-space:nowrap;
}
.rail-list a:hover,.rail-list a:focus-visible{background:var(--lime);color:var(--ink)}
@media (min-width:900px){
  .rail-list{flex-direction:column;gap:2px;overflow:visible}
  .rail-list a{min-height:42px;padding:0 10px;border-radius:10px;background:none;white-space:normal}
}

/* 正文 */
.prose{min-width:0;max-width:74ch;overflow-wrap:break-word}
.prose>section{
  position:relative;
  padding:26px 0 30px;
  border-top:2px dashed rgba(128,255,0,.22);
  scroll-margin-top:98px;
}
.prose>section:first-child{border-top:0;padding-top:6px}
.prose h2{
  margin:0 0 .55em;
  font-size:clamp(1.5rem,4.2vw,2.25rem);
  line-height:1.14;
  letter-spacing:-.02em;
  transform:rotate(-.5deg);
  transform-origin:left center;
}
.prose h2>span,.rail-h>span,.foot-cta h2>span{
  background-image:linear-gradient(transparent 62%,rgba(128,255,0,.42) 62%);
  padding:0 .06em;
}
.prose section:target h2>span{background-image:linear-gradient(transparent 34%,rgba(0,255,0,.55) 34%)}
.prose h3{
  margin:1.5em 0 .5em;
  font-size:1.24rem;
  line-height:1.34;
  color:var(--lime);
}
.prose p{margin:0 0 1.05em}
.prose ul,.prose ol{margin:0 0 1.1em;padding-left:1.4em}
.prose li{margin:.32em 0}
.prose li::marker{color:var(--lime)}
.prose a{color:var(--lime);text-underline-offset:3px}
.prose strong{color:#f6ffe9}
.prose blockquote{
  margin:0 0 1.2em;
  padding:14px 18px;
  border-left:4px solid var(--neon);
  border-radius:0 var(--r) var(--r) 0;
  background:var(--glass);
}
.prose blockquote p:last-child{margin:0}
.prose img{border:1px solid var(--line);border-radius:var(--r)}
.prose figure{margin:0 0 1.2em}
.prose figcaption{margin-top:8px;font-size:16px;color:var(--dim)}
.prose table{width:100%;border-collapse:collapse;font-size:16px}
.prose th,.prose td{padding:10px;text-align:left;border-bottom:1px solid var(--line)}
.prose hr{border:0;border-top:2px dashed var(--line);margin:1.6em 0}

/* 页脚 */
.site-foot{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  max-width:100%;
  background:rgba(8,12,4,.92);
  border-top:3px solid var(--lime);
}
.site-foot>section{
  min-width:0;
  padding:26px 20px;
  border-bottom:1px solid rgba(128,255,0,.18);
}
.foot-cta{background:linear-gradient(150deg,rgba(128,255,0,.18),rgba(0,255,0,.05))}
.foot-cta h2{
  margin:0 0 18px;
  font-size:clamp(1.8rem,6.6vw,3rem);
  line-height:1.06;
  letter-spacing:-.03em;
}
.pill{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 20px;
  border-radius:999px;
  background:var(--neon);
  color:var(--ink);
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  transform:rotate(-2deg);
  box-shadow:5px 5px 0 rgba(128,255,0,.5);
  transition:transform .18s ease;
}
.pill:hover,.pill:focus-visible{transform:rotate(1deg) translateY(-2px)}
.foot-map dl{margin:0;display:flex;flex-wrap:wrap;gap:8px}
.foot-map dt,.foot-map dd{margin:0}
.foot-map a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--txt);
  font-size:16px;
  text-decoration:none;
}
.foot-map a:hover,.foot-map a:focus-visible{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.foot-mark{display:flex;flex-direction:column;justify-content:space-between;gap:14px}
.foot-brand{
  margin:0;
  font-size:clamp(1.5rem,5.6vw,2.1rem);
  font-weight:700;
  line-height:1.1;
  color:var(--lime);
  transform:rotate(-4deg);
  transform-origin:left center;
}
.copy{margin:0;font-size:16px;color:var(--dim)}
@media (min-width:860px){
  .site-foot{grid-template-columns:1.5fr 1fr .9fr;align-items:stretch}
  .site-foot>section{padding:40px 24px;border-bottom:0;border-right:1px solid rgba(128,255,0,.18)}
  .site-foot>section:last-child{border-right:0}
}

/* 滚动显现 */
.js .prose>section,
.js .site-foot>section,
.js .rail{opacity:0;transform:translateY(18px)}
.js .prose>section.in,
.js .site-foot>section.in,
.js .rail.in{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease}
.js .rail.in{transform:rotate(-.6deg)}

@media (max-width:520px){
  .sticker{padding:8px 12px;font-size:15px;box-shadow:4px 4px 0 rgba(0,255,0,.45)}
  .sticker-b{top:10px;right:8px}
  .sticker-a{bottom:10px;left:8px}
  .hero{padding:74px 16px}
  .site-head{gap:6px;padding:8px 10px}
  .head-nav a{padding:0 10px}
  .head-cta{padding:0 12px}
  .stage{padding:22px 14px 40px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
  .js .prose>section,.js .site-foot>section,.js .rail{opacity:1;transform:none}
}

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