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

:root{
  --lime:#80ff00;
  --neon:#00ff00;
  --ink:#1f2617;
  --deep:#0b0f07;
  --paper:#151c12;
  --txt:#eafcd9;
  --hh:56px;
}

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

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

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

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:3;
  pointer-events:none;
  opacity:.13;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

a{color:var(--lime)}
img{max-width:100%}

:where(section[id]){scroll-margin-top:calc(var(--hh) + 14px)}

/* 跑马灯 */
.ticker{
  background:var(--lime);
  color:var(--ink);
  border-bottom:3px solid var(--deep);
  overflow:hidden;
  filter:saturate(150%);
}
.ticker-in{
  display:flex;
  gap:26px;
  align-items:center;
  white-space:nowrap;
  padding:6px 0;
  font-family:Outfit,sans-serif;
  font-weight:700;
  font-size:16px;
  letter-spacing:.05em;
  animation:marq 32s linear infinite;
}
.ticker-in .tk::after{content:"✦";margin-left:26px;font-size:13px;opacity:.75}
@keyframes marq{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* 顶栏 */
.top{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  height:var(--hh);
  padding:0 12px;
  background:rgba(12,17,9,.97);
  border-bottom:2px solid var(--lime);
  backdrop-filter:blur(6px);
}

.brand{
  display:flex;
  align-items:center;
  min-height:44px;
  text-decoration:none;
  transform:rotate(-2deg);
  flex:0 1 auto;
  min-width:0;
}
.brand-txt{
  display:block;
  font-family:Outfit,sans-serif;
  font-weight:700;
  font-size:16px;
  line-height:1.2;
  padding:5px 8px;
  background:var(--lime);
  color:var(--ink);
  border:2px solid var(--deep);
  border-radius:4px;
  box-shadow:4px 4px 0 rgba(0,0,0,.55);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:46vw;
}
.brand-img{
  display:block;
  width:44px;
  height:44px;
  object-fit:contain;
  background:var(--lime);
  padding:4px;
  border:2px solid var(--deep);
  border-radius:6px;
}

.menu{position:relative;margin-left:auto}
.menu-sum{
  list-style:none;
  display:flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  padding:0 12px;
  border:2px solid var(--lime);
  border-radius:4px;
  color:var(--lime);
  font-weight:700;
  font-size:16px;
  cursor:pointer;
  user-select:none;
}
.menu-sum::-webkit-details-marker{display:none}
.menu-sum::marker{content:""}
.menu[open] .menu-sum{background:var(--lime);color:var(--ink)}
.burger{
  width:16px;
  height:10px;
  display:block;
  border-top:2px solid currentColor;
  border-bottom:2px solid currentColor;
  position:relative;
}
.burger::after{
  content:"";
  position:absolute;
  left:0;right:0;top:3px;
  border-top:2px solid currentColor;
}
.menu-list{
  position:absolute;
  right:0;
  top:calc(100% + 9px);
  z-index:60;
  margin:0;
  padding:8px;
  min-width:238px;
  list-style:none;
  background:#141b11;
  border:3px solid var(--lime);
  border-radius:4px;
  box-shadow:10px 10px 0 rgba(0,0,0,.6);
}
.menu-list a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:6px 10px;
  color:#e6ffcd;
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  border-bottom:1px dashed #33421f;
  transform:rotate(-.6deg);
}
.menu-list li:last-child a{border-bottom:0}
.menu-list a:hover,.menu-list a:focus-visible{background:var(--lime);color:var(--ink);transform:rotate(.8deg)}

.call{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  border-radius:4px;
  background:var(--neon);
  color:var(--ink);
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  transform:rotate(1.5deg);
  border:2px solid var(--deep);
}

/* 二级锚点条 */
.rail{
  background:#101610;
  border-bottom:2px solid rgba(128,255,0,.55);
  overflow-x:auto;
  scrollbar-width:none;
  z-index:40;
}
.rail::-webkit-scrollbar{display:none}
.rail-in{
  display:flex;
  min-width:max-content;
  padding:0 8px;
}
.rail a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 13px;
  color:#cdf2a6;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
  white-space:nowrap;
  border-right:1px solid #2b3a20;
  border-bottom:3px solid transparent;
}
.rail a:hover,.rail a:focus-visible{color:var(--neon);border-bottom-color:var(--neon);background:#18220f}

/* 首屏 */
.hero{
  position:relative;
  display:grid;
  gap:16px;
  padding:26px 16px 0;
  min-height:42vh;
  isolation:isolate;
}
.hero-copy{display:grid;gap:12px}
.hero h1{
  margin:0;
  max-width:15ch;
  font-family:Outfit,sans-serif;
  font-weight:700;
  font-size:clamp(30px,9vw,58px);
  line-height:1.02;
  letter-spacing:-.025em;
  color:var(--lime);
  text-shadow:3px 3px 0 #000,-1px -1px 0 rgba(0,255,0,.35);
  transform:rotate(-1.4deg);
  filter:saturate(150%);
}
.hero .lead{
  margin:0;
  max-width:56ch;
  color:#cfeeb6;
  font-size:17px;
}
.sticker{
  position:absolute;
  right:14px;
  top:8px;
  z-index:4;
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:50%;
  background:var(--neon);
  color:var(--ink);
  border:3px solid var(--deep);
  font-size:22px;
  font-weight:700;
  box-shadow:4px 4px 0 rgba(0,0,0,.55);
  transform:rotate(12deg);
  animation:jitter 2.6s steps(2,end) infinite;
  mix-blend-mode:screen;
}
@keyframes jitter{
  0%,100%{transform:rotate(12deg) translate(0,0)}
  50%{transform:rotate(4deg) translate(3px,-4px)}
}
.hero-fig{
  margin:0;
  overflow:hidden;
  border:3px solid var(--lime);
  border-radius:4px;
  background:#0f1509;
  box-shadow:9px 9px 0 rgba(0,0,0,.6);
  transform:rotate(1deg);
}
.hero-img{
  display:block;
  width:100%;
  max-height:36vh;
  object-fit:cover;
  filter:saturate(155%) contrast(108%);
}
.fig-ph{
  display:grid;
  place-items:center;
  min-height:132px;
  padding:16px;
  background:repeating-linear-gradient(45deg,var(--lime) 0 18px,#6fe000 18px 36px);
  color:var(--deep);
  font-family:Outfit,sans-serif;
  font-weight:700;
  font-size:22px;
  text-align:center;
  letter-spacing:-.01em;
}

/* 主体 */
.split{display:block;padding:26px 16px 44px}

.side{
  margin:0 0 28px;
  padding:16px;
  border:2px dashed rgba(128,255,0,.5);
  border-radius:4px;
  background:#131a10;
  transform:rotate(-.5deg);
}
.side h2{
  margin:0;
  font-family:Outfit,sans-serif;
  font-size:21px;
  line-height:1.2;
  color:var(--lime);
  letter-spacing:-.01em;
  transform:rotate(-1deg);
}
.side .subtitle{
  margin:7px 0 14px;
  font-size:16px;
  line-height:1.5;
  color:#a9c98c;
}
.side-list{list-style:none;margin:0;padding:0}
.side-list a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:8px 9px;
  color:#ddf7c2;
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  border-bottom:1px solid #2b3a20;
}
.side-list li:last-child a{border-bottom:0}
.side-list a:hover,.side-list a:focus-visible{background:var(--lime);color:var(--ink)}

.prose{max-width:76ch}
.prose > section{
  position:relative;
  margin-top:34px;
  padding:30px 0 6px;
  border-top:2px dashed rgba(128,255,0,.3);
}
.prose > section:first-child{margin-top:0;padding-top:2px;border-top:0}
.prose h2{
  margin:0 0 12px;
  font-family:Outfit,sans-serif;
  font-weight:700;
  font-size:clamp(22px,5.6vw,33px);
  line-height:1.15;
  letter-spacing:-.02em;
  color:var(--lime);
  text-shadow:2px 2px 0 rgba(0,0,0,.75);
}
.prose h3{
  margin:24px 0 8px;
  font-size:20px;
  line-height:1.35;
  color:var(--neon);
}
.prose p{margin:0 0 15px}
.prose a{color:var(--neon);text-decoration-thickness:2px;text-underline-offset:3px}
.prose strong{color:#f2ffe2}
.prose ul,.prose ol{margin:0 0 16px;padding-left:24px}
.prose li{margin:7px 0}
.prose img{
  max-width:100%;
  height:auto;
  border:2px solid var(--lime);
  border-radius:4px;
  filter:saturate(140%);
}
.prose figure{margin:16px 0}
.prose figcaption{font-size:16px;color:#a9c98c;margin-top:6px}
.prose blockquote{
  margin:18px 0;
  padding:12px 16px;
  background:#131a10;
  border-left:6px solid var(--lime);
  border-radius:0 4px 4px 0;
  color:#dff7c6;
}
.prose blockquote p:last-child{margin-bottom:0}
.prose p.subtitle,.prose .subtitle{
  color:#a9c98c;
  font-size:16px;
  line-height:1.5;
  margin-bottom:16px;
}
.prose table{width:100%;border-collapse:collapse;margin:16px 0;font-size:16px}
.prose th,.prose td{border:1px solid #33421f;padding:8px 10px;text-align:left}
.prose th{background:#1b2414;color:var(--lime)}
.prose hr{border:0;border-top:2px dashed rgba(128,255,0,.3);margin:22px 0}
.prose code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:16px;
  background:#0e1408;
  border:1px solid #33421f;
  border-radius:4px;
  padding:1px 5px;
}

/* 页脚 */
.foot{
  margin-top:44px;
  border-top:3px solid var(--lime);
  background:#0b0f07;
}
.cta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding:24px 16px;
  background:var(--lime);
  color:var(--ink);
  filter:saturate(150%);
}
.cta-word{
  margin:0;
  font-family:Outfit,sans-serif;
  font-weight:700;
  font-size:clamp(20px,5.4vw,30px);
  line-height:1.08;
  letter-spacing:-.02em;
  transform:rotate(-1.2deg);
}
.cta-btn{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:0 22px;
  background:var(--ink);
  color:var(--lime);
  text-decoration:none;
  font-weight:700;
  font-size:16px;
  border:3px solid var(--ink);
  border-radius:4px;
  box-shadow:5px 5px 0 rgba(0,0,0,.4);
}
.cta-btn:hover,.cta-btn:focus-visible{background:var(--neon);color:var(--ink)}

.foot-cols{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  padding:24px 16px 10px;
}
.foot-cols dl{margin:0}
.foot-cols dt{
  font-size:16px;
  font-weight:700;
  color:var(--lime);
  letter-spacing:.06em;
  margin-bottom:4px;
  border-bottom:2px solid rgba(128,255,0,.35);
  padding-bottom:5px;
}
.foot-cols dd{margin:0}
.foot-cols dd a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:6px 0;
  color:#c6e4aa;
  text-decoration:none;
  font-size:16px;
}
.foot-cols dd a:hover,.foot-cols dd a:focus-visible{color:var(--neon)}
.foot-bar{
  padding:16px;
  text-align:center;
  border-top:1px solid #27331e;
}
.foot-bar p{margin:0;font-size:16px;color:#9ab882}

/* 滚动出现 */
.js .prose > section{
  opacity:.001;
  transform:translateY(16px);
  transition:opacity .55s ease,transform .55s ease;
}
.js .prose > section.in{opacity:1;transform:none}

@media (min-width:600px){
  .foot-cols{grid-template-columns:repeat(3,1fr)}
  .hero{padding-left:24px;padding-right:24px}
  .split{padding-left:24px;padding-right:24px}
}

@media (min-width:900px){
  :root{--hh:66px}
  .top{padding:0 24px}
  .rail{position:sticky;top:var(--hh)}
  .rail-in{padding:0 16px}
  .hero{
    grid-template-columns:1fr;
    min-height:45vh;
    padding:40px 32px 0;
    max-width:1220px;
    margin:0 auto;
  }
  .hero h1{max-width:22ch}
  .sticker{right:40px;top:26px;width:62px;height:62px;font-size:26px}
  .hero-fig{margin:6px 0 0;max-width:100%}
  .hero-img{max-height:38vh}
  .fig-ph{min-height:190px;font-size:28px}
  .split{
    display:grid;
    grid-template-columns:272px minmax(0,1fr);
    gap:44px;
    align-items:start;
    max-width:1220px;
    margin:0 auto;
    padding:40px 32px 64px;
  }
  .side{
    position:sticky;
    top:calc(var(--hh) + 62px);
    margin:0;
    align-self:start;
  }
  .foot-cols{padding-left:32px;padding-right:32px;gap:32px}
  .cta{padding:32px}
}

@media (min-width:1180px){
  .hero h1{font-size:64px}
  .prose{max-width:74ch}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
  .js .prose > section{opacity:1;transform:none}
}

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