:root{
  --ink:#192617;
  --ink-d:#101a0d;
  --ink-l:#20321c;
  --green:#87ff71;
  --yellow:#ffce5c;
  --paper:#f2f7ef;
  --line:rgba(135,255,113,.26);
  --glass:rgba(255,255,255,.055);
  --rail:274px;
  --sans:"Epilogue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --display:"Anton","Epilogue","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.65;
  color:var(--paper);
  background-color:var(--ink);
  background-image:radial-gradient(rgba(255,206,92,.13) 1px,transparent 1px);
  background-size:22px 22px;
}
a{color:var(--green)}
img,svg{max-width:100%}
::selection{background:var(--yellow);color:var(--ink)}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}

.frame{display:grid;grid-template-columns:minmax(0,1fr);max-width:1500px;margin:0 auto}
@media (min-width:1024px){
  .frame{grid-template-columns:var(--rail) minmax(0,1fr)}
}

/* 左侧栏 */
.rail{
  position:relative;
  padding:14px 16px 22px;
  background:linear-gradient(180deg,var(--ink-l),var(--ink-d));
  border-bottom:3px dashed rgba(255,206,92,.45);
  display:block;
}
@media (min-width:1024px){
  .rail{
    position:sticky;
    top:0;
    height:100vh;
    overflow:auto;
    padding:24px 20px 34px;
    border-bottom:0;
    border-right:3px dashed rgba(255,206,92,.45);
    display:flex;
    flex-direction:column;
    gap:6px;
  }
}
.rail::before{
  content:"";
  position:absolute;
  right:16px;
  bottom:14px;
  width:26px;
  height:26px;
  background:var(--green);
  clip-path:polygon(50% 0,100% 100%,0 100%);
  transform:rotate(16deg);
  opacity:.65;
  pointer-events:none;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  justify-content:flex-start;
  text-decoration:none;
  color:var(--yellow);
  font-family:var(--display);
  font-size:21px;
  letter-spacing:.06em;
}
@media (min-width:1024px){
  .brand{justify-content:center;min-height:54px;padding-bottom:12px;border-bottom:2px dotted rgba(135,255,113,.4)}
}
.brand-t{line-height:1}
.mark{
  width:34px;
  height:34px;
  object-fit:cover;
  flex:0 0 auto;
  background:var(--green);
  border:2px solid var(--ink);
  transform:rotate(-6deg);
}
.mark--t{display:grid;place-items:center;font-family:var(--display);font-size:18px;color:var(--ink)}
.rail-h{
  margin:8px 0 0;
  font-family:var(--display);
  font-weight:400;
  font-size:13px;
  letter-spacing:.34em;
  color:var(--green);
}
.rail-h span{display:inline-block;padding-bottom:3px;border-bottom:2px dotted var(--yellow)}
.rail-nav{min-width:0;max-width:100%}
.rail-nav ul{
  list-style:none;
  margin:8px 0 0;
  padding:0 0 6px;
  display:flex;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:thin;
}
.rail-nav li{flex:0 0 auto}
@media (min-width:1024px){
  .rail-nav ul{flex-direction:column;overflow:visible;padding-bottom:0}
}
.rail-nav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:8px 13px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  color:var(--paper);
  background:var(--glass);
  border:2px solid transparent;
  white-space:nowrap;
  transition:background .18s,color .18s,transform .18s,box-shadow .18s;
}
.rail-nav a:hover,.rail-nav a.is-active{
  background:var(--green);
  color:var(--ink);
  border-color:var(--ink);
  transform:translate(-2px,-2px);
  box-shadow:4px 4px 0 var(--yellow);
}
.rail-c{margin:10px 0 0}
.rail-cta{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 16px;
  background:var(--yellow);
  color:var(--ink);
  font-weight:700;
  text-decoration:none;
  border:2px solid var(--ink);
  transform:rotate(-1.5deg);
  box-shadow:4px 4px 0 rgba(135,255,113,.8);
}

main{min-width:0}

/* 首屏 */
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  align-items:start;
  min-height:360px;
  padding:28px 16px 32px;
  background:var(--ink-d);
  border-bottom:6px solid var(--green);
}
@media (min-width:900px){
  .hero{min-height:45vh;align-items:end;padding:40px 40px 48px}
}
.hero::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:10px;
  z-index:2;
  background:repeating-linear-gradient(45deg,var(--yellow) 0 10px,transparent 10px 20px);
}
.hero-art{position:absolute;inset:0;margin:0;z-index:0}
.hero-img{width:100%;height:100%;object-fit:cover}
.hero-shapes{display:block;width:100%;height:100%}
.hero-mask{
  position:absolute;
  inset:0;
  background:linear-gradient(105deg,rgba(16,26,13,.93) 8%,rgba(25,38,23,.62) 58%,rgba(135,255,113,.32) 100%);
  mix-blend-mode:multiply;
}
.hero-copy{position:relative;z-index:1;max-width:780px}
@media (min-width:900px){
  .hero-copy{margin-left:auto;text-align:right}
}
.ticker{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;justify-content:flex-start}
@media (min-width:900px){
  .ticker{justify-content:flex-end}
}
.tick{
  font-size:16px;
  line-height:1.2;
  padding:5px 10px;
  border:2px solid rgba(135,255,113,.4);
  color:rgba(242,247,239,.62);
  background:rgba(16,26,13,.6);
  transition:background .3s,color .3s,transform .3s,border-color .3s;
}
.tick.is-on{color:var(--ink);background:var(--green);border-color:var(--yellow);transform:rotate(-2deg)}
.hero-h1{
  margin:0;
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(1.95rem,6.2vw,4.1rem);
  line-height:1.06;
  letter-spacing:.01em;
  color:#fff;
  text-shadow:4px 4px 0 rgba(16,26,13,.75);
}
.hero-h1::after{
  content:"";
  display:block;
  width:112px;
  height:10px;
  margin:14px 0 0;
  background:var(--yellow);
  clip-path:polygon(0 0,100% 0,92% 100%,0 100%);
}
@media (min-width:900px){
  .hero-h1::after{margin-left:auto}
}
.hero-lede{
  margin:16px 0 0;
  max-width:52ch;
  font-size:17px;
  line-height:1.78;
  color:rgba(242,247,239,.86);
}
@media (min-width:900px){
  .hero-lede{margin-left:auto}
}
.hero-act{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0 0}
@media (min-width:900px){
  .hero-act{justify-content:flex-end}
}
.btn{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:10px 22px;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  border:3px solid var(--ink);
  transition:transform .18s,box-shadow .18s,background .18s,color .18s;
}
.btn--solid{background:var(--green);color:var(--ink);box-shadow:5px 5px 0 var(--yellow)}
.btn--ghost{background:transparent;color:var(--paper);border-color:var(--paper)}
.btn:hover{transform:translate(-2px,-2px)}
.btn--solid:hover{box-shadow:7px 7px 0 var(--yellow)}
.btn--ghost:hover{background:var(--paper);color:var(--ink)}

/* 正文 */
.body{padding:26px 16px 56px}
@media (min-width:900px){
  .body{padding:38px 40px 84px}
}
.prose{max-width:860px;counter-reset:sec;overflow-wrap:break-word}
.prose>*+*{margin-top:20px}
.prose>section{
  position:relative;
  counter-increment:sec;
  padding:22px 18px;
  background:var(--glass);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  border:2px solid var(--line);
  border-left:7px solid var(--green);
  scroll-margin-top:20px;
}
.prose>section:nth-of-type(even){border-left-color:var(--yellow)}
.prose>section::before{
  content:counter(sec,decimal-leading-zero);
  position:absolute;
  top:2px;
  right:10px;
  font-family:var(--display);
  font-size:2.1rem;
  line-height:1;
  color:rgba(135,255,113,.22);
  pointer-events:none;
}
.prose h2{
  margin:0 0 12px;
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(1.35rem,3.2vw,1.9rem);
  line-height:1.28;
  color:var(--yellow);
}
.prose h2 span{display:inline-block;padding-bottom:3px;border-bottom:4px solid var(--green)}
.prose h3{margin:18px 0 8px;font-size:1.14rem;line-height:1.4;color:var(--green)}
.prose p{margin:0;color:#e6efe0;line-height:1.85}
.prose ul,.prose ol{margin:0;padding-left:1.25em;line-height:1.85;color:#e6efe0}
.prose li+li{margin-top:6px}
.prose a{color:var(--green);text-underline-offset:3px}
.prose img{width:100%;height:auto;border:2px solid var(--line)}
.prose blockquote{margin:0;padding:10px 0 10px 16px;border-left:4px dotted var(--yellow);color:rgba(242,247,239,.86)}
.prose table{width:100%;border-collapse:collapse}
.prose th,.prose td{border:1px solid var(--line);padding:8px 10px;text-align:left}

/* 页脚 */
.foot{
  display:grid;
  gap:12px;
  padding:34px 18px 40px;
  background:var(--yellow);
  color:var(--ink);
  border-top:6px solid var(--green);
}
.foot-mark{
  margin:0;
  font-family:var(--display);
  font-size:clamp(2.4rem,13vw,5.4rem);
  line-height:.94;
  letter-spacing:.02em;
}
.foot-line{margin:0;font-size:16px;font-weight:600;line-height:1.7;opacity:.78}
.foot-c{font-size:15px;opacity:.82}
@media (min-width:900px){
  .foot{grid-template-columns:1.6fr 1fr auto;align-items:end;padding:44px 40px 48px;gap:20px}
}

/* 动效 */
.will{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease}
.will.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .will{opacity:1;transform:none;transition:none}
  .tick{transition:none}
}

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