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

:root{
  --lime:#80ff00;
  --green:#00ff00;
  --ink:#1f2617;
  --line:rgba(128,255,0,.36);
  --cream:#eaffcf;
  --hdr:132px;
  --font:'Archivo','Space Grotesk',system-ui,-apple-system,'Segoe UI','Microsoft YaHei',sans-serif;
  --sans:'Space Grotesk','Archivo',system-ui,-apple-system,'Microsoft YaHei',sans-serif;
}

*{box-sizing:border-box}

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

body{
  margin:0;
  overflow-x:hidden;
  font-family:var(--font);
  font-size:17px;
  line-height:1.78;
  color:#e6f5d3;
  filter:saturate(140%);
  background:
    radial-gradient(circle at 18% -4%, #2f3d22 0, rgba(47,61,34,0) 55%),
    radial-gradient(circle at 88% 12%, #37491f 0, rgba(55,73,31,0) 52%),
    var(--ink);
  background-attachment:fixed;
}

img{max-width:100%}

/* ---------- 顶部两行 ---------- */
.top{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(31,38,23,.9);
  backdrop-filter:blur(10px);
  border-bottom:2px dashed var(--line);
}

.topline{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:10px 18px 2px;
}

.tape{
  flex:1 1 auto;
  height:10px;
  min-width:40px;
  border-radius:2px;
  background:repeating-linear-gradient(90deg,var(--lime) 0 10px,transparent 10px 18px);
  opacity:.45;
  transform:rotate(-.8deg);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  text-decoration:none;
  color:var(--cream);
  font-family:var(--sans);
  font-weight:700;
  font-size:19px;
  letter-spacing:.02em;
}

.brand:hover .brand-txt{color:var(--lime)}

.mark{
  display:inline-block;
  flex:0 0 auto;
  width:30px;
  height:30px;
  border-radius:4px;
  border:2px solid var(--ink);
  object-fit:cover;
  background:linear-gradient(135deg,var(--lime),var(--green));
  box-shadow:2px 2px 0 var(--green);
}

.navbar{
  display:flex;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:10px;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:2px 18px 10px;
}

.menu{flex:1 1 240px;min-width:0}

.menu > summary{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 14px;
  cursor:pointer;
  list-style:none;
  border:1px dashed var(--line);
  border-radius:4px;
  color:var(--lime);
  font-size:16px;
  letter-spacing:.16em;
}

.menu > summary::-webkit-details-marker{display:none}
.menu[open] > summary{background:rgba(128,255,0,.13)}

.pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 0;
  padding:0;
  list-style:none;
}

.pills a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(128,255,0,.09);
  backdrop-filter:blur(6px);
  color:var(--cream);
  font-size:16px;
  text-decoration:none;
  transition:transform .16s ease, background .16s ease, color .16s ease;
}

.pills a:hover,
.pills a:focus-visible{
  background:var(--lime);
  color:var(--ink);
  transform:rotate(-2deg) translateY(-2px);
}

.cta{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 20px;
  border-radius:999px;
  border:2px solid var(--ink);
  background:var(--lime);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  transform:rotate(-1.6deg);
  box-shadow:3px 3px 0 var(--green);
  transition:transform .18s ease, background .18s ease;
}

.cta:hover,
.cta:focus-visible{background:var(--green);transform:rotate(1deg) translateY(-2px)}

/* ---------- 跑马灯 ---------- */
.marquee{
  overflow:hidden;
  margin:8px 0 0;
  background:var(--lime);
  color:var(--ink);
  border-bottom:2px solid var(--ink);
  transform:rotate(-.7deg) scale(1.03);
}

.mq-track{
  display:flex;
  align-items:center;
  gap:16px;
  width:max-content;
  padding:5px 0;
  font-family:var(--sans);
  font-size:14px;
  font-weight:700;
  letter-spacing:.18em;
  white-space:nowrap;
  animation:mq 26s linear infinite;
}

.mq-track i{font-style:normal;font-size:12px}

@keyframes mq{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  display:grid;
  place-content:center;
  min-height:45vh;
  padding:40px 18px 46px;
  overflow:hidden;
  text-align:center;
  background-image:radial-gradient(rgba(128,255,0,.22) 1.4px, rgba(0,0,0,0) 1.4px);
  background-size:22px 22px;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 50% 32%, rgba(128,255,0,.18), transparent 62%);
}

.hero h1{
  position:relative;
  z-index:3;
  margin:0;
  max-width:17em;
  font-family:var(--sans);
  font-size:clamp(29px,7.4vw,62px);
  line-height:1.08;
  letter-spacing:-.02em;
  color:var(--lime);
  text-shadow:3px 3px 0 rgba(0,255,0,.3);
}

.sticker{
  position:absolute;
  z-index:2;
  mix-blend-mode:screen;
  pointer-events:none;
}

.sticker.star{
  width:82px;
  left:4%;
  top:16%;
  fill:var(--green);
  transform:rotate(-14deg);
  animation:jit-a 5.5s ease-in-out infinite;
}

.sticker.blob{
  width:64px;
  right:6%;
  bottom:14%;
  fill:var(--lime);
  opacity:.85;
  transform:rotate(12deg);
  animation:jit-b 6.5s ease-in-out infinite;
}

.sticker.blob .hole{fill:var(--ink)}

@keyframes jit-a{
  0%,100%{transform:rotate(-14deg) translate(0,0)}
  50%{transform:rotate(-8deg) translate(4px,-6px) scale(1.06)}
}

@keyframes jit-b{
  0%,100%{transform:rotate(12deg) translate(0,0)}
  50%{transform:rotate(18deg) translate(-5px,5px) scale(1.05)}
}

/* ---------- 主体网格 ---------- */
.wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 292px;
  align-items:start;
  gap:32px;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:34px 18px 62px;
}

.deck{min-width:0}

/* ---------- 正文 ---------- */
.prose{
  counter-reset:sec;
  padding:24px 20px 28px;
  border:1px solid rgba(128,255,0,.26);
  border-radius:4px;
  background:linear-gradient(180deg, rgba(128,255,0,.075), rgba(128,255,0,.015));
  backdrop-filter:blur(9px);
  box-shadow:0 0 0 1px rgba(0,255,0,.07), 6px 6px 0 rgba(0,255,0,.08);
}

.prose section{
  position:relative;
  counter-increment:sec;
  padding:4px 0 26px;
  border-bottom:1px dashed rgba(128,255,0,.26);
  scroll-margin-top:150px;
}

.prose section:last-child{border-bottom:0;padding-bottom:6px}

.prose section::before{
  content:counter(sec, decimal-leading-zero);
  display:block;
  margin-bottom:4px;
  font-family:var(--sans);
  font-size:13px;
  letter-spacing:.24em;
  color:var(--green);
  opacity:.9;
}

.prose h2{
  margin:.5em 0 .45em;
  font-family:var(--sans);
  font-size:clamp(23px,3.6vw,32px);
  line-height:1.18;
  letter-spacing:-.01em;
  color:#f4ffe4;
}

.prose h2 + p{
  margin-top:0;
  padding:8px 12px;
  border-left:3px solid var(--lime);
  border-radius:0 4px 4px 0;
  background:rgba(0,255,0,.07);
  color:#dfefca;
}

.prose h3{
  margin:1.3em 0 .35em;
  font-family:var(--sans);
  font-size:19px;
  color:var(--green);
  letter-spacing:.01em;
}

.prose p{margin:.72em 0}
.prose strong{color:var(--lime)}
.prose ul,.prose ol{pargin-left:0;padding-left:1.25em}
.prose li{margin:.36em 0}

.prose a{
  color:var(--lime);
  text-decoration:underline;
  text-decoration-color:var(--green);
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}

.prose a:hover{background:var(--lime);color:var(--ink);text-decoration-color:var(--ink)}

.prose blockquote{
  margin:1.1em 0;
  padding:12px 16px;
  border-left:4px solid var(--green);
  border-radius:0 4px 4px 0;
  background:rgba(0,255,0,.07);
  color:#dcecca;
}

.prose img{
  height:auto;
  border-radius:4px;
  border:2px solid rgba(128,255,0,.38);
}

.prose hr{
  border:0;
  border-top:2px dashed var(--line);
  margin:1.4em 0;
}

/* ---------- 右侧便签 ---------- */
.rail{
  position:sticky;
  top:calc(var(--hdr) + 12px);
  padding:18px 16px 16px;
  border:1px solid var(--line);
  border-radius:4px;
  background:rgba(128,255,0,.1);
  backdrop-filter:blur(11px);
  transform:rotate(-1deg);
  box-shadow:4px 4px 0 rgba(0,255,0,.18);
}

.rail-h{
  margin:0;
  font-family:var(--sans);
  font-size:20px;
  line-height:1.25;
  color:var(--lime);
  letter-spacing:.01em;
}

.rail .subtitle{
  margin:.4em 0 1em;
  padding-bottom:.8em;
  border-bottom:1px dashed rgba(128,255,0,.3);
  font-size:16px;
  line-height:1.62;
  color:#d8ecc0;
}

.rail-list{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}

.rail-list a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 11px;
  border:1px dashed rgba(128,255,0,.32);
  border-radius:4px;
  color:var(--cream);
  font-size:16px;
  text-decoration:none;
  transition:background .15s ease, color .15s ease, transform .15s ease;
}

.rail-list a:hover,
.rail-list a:focus-visible{
  background:var(--lime);
  color:var(--ink);
  border-style:solid;
  transform:translateX(-3px);
}

.rail-sticker{
  display:block;
  width:64px;
  height:16px;
  margin:14px auto 0;
  border-radius:2px;
  background:repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px);
  transform:rotate(-3deg);
  opacity:.6;
}

/* ---------- 页脚 ---------- */
.foot{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px 30px;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:26px 18px 44px;
  border-top:2px dashed var(--line);
}

.f-brand{flex:1 1 250px;min-width:0}

.f-note{
  margin:.5em 0 0;
  max-width:34em;
  font-size:16px;
  line-height:1.65;
  color:#cbe0b2;
}

.f-nav{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  flex:0 1 auto;
}

.f-nav a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 13px;
  border:1px solid rgba(128,255,0,.3);
  border-radius:999px;
  color:var(--cream);
  font-size:16px;
  text-decoration:none;
}

.f-nav a:hover,
.f-nav a:focus-visible{background:var(--lime);color:var(--ink)}

.copy{
  flex:1 1 100%;
  margin:0;
  font-size:16px;
  letter-spacing:.08em;
  color:#a6bb8d;
}

/* ---------- 滚动出现 ---------- */
.rv{opacity:0;transform:translateY(20px) rotate(-.5deg)}

.rv.in{
  opacity:1;
  transform:none;
  transition:opacity .55s ease, transform .6s cubic-bezier(.2,.7,.3,1);
}

/* ---------- 断点 ---------- */
@media (max-width:900px){
  .wrap{grid-template-columns:1fr;gap:26px;padding-top:26px}
  .rail{position:static;transform:rotate(0);order:2}
  .prose section{scroll-margin-top:110px}
}

@media (max-width:760px){
  .top{position:static}
  .navbar{padding-bottom:8px}
  .cta{order:-1;margin-left:auto}
  .prose{padding:20px 15px 22px}
  .hero{min-height:42vh;padding:30px 16px 34px}
  .sticker.star{width:58px;left:2%;top:10%}
  .sticker.blob{width:46px;right:3%;bottom:8%}
}

@media (max-width:420px){
  .pills a{padding:0 12px}
  .rail-list a{font-size:16px}
  .foot{gap:16px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .mq-track,.sticker{animation:none}
  .rv{opacity:1;transform:none}
  .prose section, .rail, .deck{transition:none}
  .pills a:hover,.cta:hover,.rail-list a:hover{transform:none}
}

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