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

:root{
  --g:#87ff71;
  --y:#ffce5c;
  --ink:#192617;
  --cream:#e9ffdf;
  --muted:#a7c39d;
  --panel:#1e2d1c;
  --line:#2f4629;
  --rail:236px;
  --bar:34px;
}

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

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

body{
  margin:0;
  padding:var(--bar) 0 0 var(--rail);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI','Noto Sans SC',sans-serif;
  font-size:17px;
  line-height:1.7;
  color:var(--cream);
  background:var(--ink);
  overflow-x:hidden;
}

img{display:block;max-width:100%}
a{color:var(--y)}
h1,h2,h3{line-height:1.15;letter-spacing:-.02em;margin:0}

/* 顶部细条 */
.ticker{
  position:fixed;
  top:0;left:0;right:0;
  height:var(--bar);
  z-index:70;
  display:flex;
  align-items:center;
  gap:16px;
  padding:0 14px;
  background:var(--y);
  color:var(--ink);
  font-weight:800;
  font-size:16px;
  letter-spacing:.08em;
  white-space:nowrap;
  overflow:hidden;
  border-bottom:3px solid var(--g);
}
.ticker .dot{
  flex:0 0 auto;
  width:7px;height:7px;
  background:var(--ink);
  transform:rotate(45deg);
}

/* 左侧竖排导航 */
.rail{
  position:fixed;
  top:var(--bar);left:0;bottom:0;
  width:var(--rail);
  z-index:60;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:22px 16px 26px;
  background-color:var(--ink);
  background-image:radial-gradient(rgba(135,255,113,.18) 1px,transparent 1px);
  background-size:14px 14px;
  border-right:3px dashed var(--g);
  overflow-y:auto;
}

.mark{
  position:relative;
  display:grid;
  place-items:center;
  width:54px;height:54px;
  flex:0 0 auto;
  background:var(--g);
  clip-path:polygon(0 0,100% 0,100% 68%,50% 100%,0 68%);
  text-decoration:none;
}
.mark-shape{position:absolute;inset:0;background:var(--g)}
.mark img{position:relative;z-index:1;width:30px;height:30px;object-fit:contain}

.brand-name{
  font-weight:800;
  font-size:16px;
  line-height:1.3;
  letter-spacing:.02em;
  color:var(--cream);
  margin-bottom:6px;
}

.nav{margin:0}
.nav p{margin:0;display:flex;flex-direction:column;gap:9px}
.nav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:10px 15px;
  border:2px solid var(--g);
  border-radius:999px;
  color:var(--cream);
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.nav a:hover,.nav a:focus-visible{background:var(--g);color:var(--ink);transform:translateX(3px)}
.nav a.is-active{background:var(--y);border-color:var(--y);color:var(--ink)}

/* 首屏 */
.hero{
  position:relative;
  display:grid;
  grid-template-columns:1.06fr .94fr;
  align-items:center;
  min-height:calc(100vh - var(--bar));
  border-bottom:4px solid var(--g);
  overflow:hidden;
  background:var(--ink);
}
.hero::before{
  content:"";
  position:absolute;
  left:-50px;top:13%;
  width:170px;height:170px;
  background:var(--y);
  clip-path:polygon(50% 0,100% 100%,0 100%);
  transform:rotate(-14deg);
  mix-blend-mode:screen;
  opacity:.85;
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  right:27%;bottom:7%;
  width:110px;height:110px;
  border:6px dotted var(--g);
  transform:rotate(18deg);
  opacity:.65;
  pointer-events:none;
}

.hero-copy{
  position:relative;
  z-index:2;
  text-align:center;
  padding:56px clamp(20px,4vw,60px);
}
.hero-copy h1{
  font-size:clamp(32px,4.6vw,60px);
  font-weight:800;
  color:var(--cream);
  letter-spacing:-.03em;
}
.hero-copy h1::after{
  content:"";
  display:block;
  width:96px;height:10px;
  margin:18px auto 0;
  background:var(--y);
  clip-path:polygon(0 0,100% 0,86% 100%,0 100%);
}
.hero-lead{
  max-width:44ch;
  margin:18px auto 26px;
  color:var(--muted);
  font-size:17px;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 26px;
  margin:0 5px;
  background:var(--g);
  color:var(--ink);
  font-weight:800;
  font-size:16px;
  text-decoration:none;
  border:2px solid var(--ink);
  clip-path:polygon(0 0,100% 0,96% 100%,0 100%);
}
.cta.ghost{
  background:transparent;
  color:var(--y);
  border:2px dashed var(--y);
  clip-path:none;
}

.hero-art{
  position:relative;
  overflow:hidden;
  align-self:stretch;
  min-height:320px;
  border-left:4px solid var(--y);
}
.hero-art img{
  position:absolute;
  inset:0;
  width:100%;height:100%;
  object-fit:cover;
  filter:saturate(1.1) contrast(1.03);
}
.hero-ph{
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(135deg,var(--g) 0 16px,var(--ink) 16px 32px);
}

/* 正文 */
.wrap{max-width:1240px;margin:0 auto;padding:0 clamp(16px,3vw,34px)}

.content-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:34px;
  padding:44px 0 56px;
  align-items:start;
}

article{
  min-width:0;
  background:var(--panel);
  border:2px solid var(--line);
  border-top:8px solid var(--g);
  padding:26px clamp(18px,2.6vw,34px) 34px;
}
article div{scroll-margin-top:calc(var(--bar) + 26px)}
article div + div{
  margin-top:34px;
  padding-top:26px;
  border-top:2px dotted var(--line);
}

article h2{
  position:relative;
  font-size:clamp(23px,2.5vw,31px);
  font-weight:800;
  color:var(--cream);
  margin:26px 0 8px;
  padding-left:17px;
}
article h2::before{
  content:"";
  position:absolute;
  left:0;top:.2em;
  width:8px;height:.9em;
  background:var(--y);
  clip-path:polygon(0 0,100% 0,58% 100%,0 100%);
}
article div > h2:first-child{margin-top:6px}
article h3{font-size:20px;color:var(--g);margin:22px 0 6px}

article h2 + hr{
  height:7px;
  width:120px;
  border:0;
  margin:6px 0 16px;
  background:repeating-linear-gradient(90deg,var(--g) 0 10px,transparent 10px 17px);
}
article hr{height:3px;border:0;background:var(--y);margin:28px 0}

article p{margin:0 0 16px;color:#dcf0d4}
article ul,article ol{margin:0 0 18px;padding-left:1.35em}
article li{margin:6px 0;color:#dcf0d4}
article li::marker{color:var(--g);font-weight:800}
article a{color:var(--y);text-decoration-thickness:2px;text-underline-offset:3px}
article strong{color:var(--g)}
article blockquote{
  margin:20px 0;
  padding:14px 18px;
  border-left:6px solid var(--y);
  background:#22321f;
  color:var(--cream);
}
article img{margin:18px 0;border:2px solid var(--line)}
article table{width:100%;border-collapse:collapse;font-size:16px;margin:16px 0}
article th,article td{border:2px solid var(--line);padding:8px 10px;text-align:left}
article th{background:#26361f;color:var(--g)}

/* 右侧栏 */
aside{position:sticky;top:calc(var(--bar) + 18px)}
.aside-card{
  position:relative;
  background:#1b2a19;
  border:2px solid var(--y);
  padding:18px 16px 10px;
}
.aside-card::before{
  content:"";
  position:absolute;
  top:-11px;right:-10px;
  width:22px;height:22px;
  background:var(--g);
  clip-path:polygon(50% 0,100% 100%,0 100%);
  transform:rotate(14deg);
}
.aside-card h2{font-size:19px;font-weight:800;color:var(--y)}
.aside-card hr{
  height:5px;
  width:70px;
  border:0;
  margin:8px 0 12px;
  background:repeating-linear-gradient(90deg,var(--y) 0 6px,transparent 6px 12px);
}
.aside-card ul{list-style:none;margin:0;padding:0}
.aside-card li + li{margin-top:2px}
.aside-card a{
  display:block;
  min-height:42px;
  padding:10px 2px;
  border-bottom:1px dotted #3d5636;
  color:var(--cream);
  font-size:16px;
  text-decoration:none;
}
.aside-card a:hover{color:var(--g)}

/* 页脚 */
footer{
  background:#13200f;
  border-top:4px solid var(--y);
  padding:34px clamp(16px,3vw,34px) 18px;
}
.foot-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr .8fr;
  gap:26px;
  max-width:1240px;
  margin:0 auto;
}
.foot-brand{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--cream)}
.foot-brand .mark{width:42px;height:42px}
.foot-brand .mark img{width:24px;height:24px}
footer address{font-style:normal;color:var(--muted);font-weight:700}
footer ul{list-style:none;margin:0;padding:0}
footer li a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:6px 0;
  color:var(--cream);
  font-size:16px;
  text-decoration:none;
  border-bottom:1px dotted #34502c;
}
footer li a:hover{color:var(--g)}
.foot-shape{
  width:100%;
  max-width:130px;
  height:88px;
  justify-self:end;
  border:2px solid var(--y);
  background:repeating-linear-gradient(45deg,var(--y) 0 8px,transparent 8px 16px);
}
.foot-bar{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  max-width:1240px;
  margin:26px auto 0;
  padding-top:14px;
  border-top:2px solid #26361f;
  font-size:16px;
  color:var(--muted);
}
.foot-bar p{margin:0}
.foot-bar a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--y);
  font-weight:700;
  text-decoration:none;
}

/* 入场 */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease}
.reveal.in{opacity:1;transform:none}

@media (max-width:1080px){
  .content-shell{grid-template-columns:minmax(0,1fr) 258px;gap:24px}
}

@media (max-width:900px){
  body{padding-left:0}
  .rail{
    position:static;
    width:auto;
    bottom:auto;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    border-right:0;
    border-bottom:3px dashed var(--g);
    overflow:visible;
  }
  .brand-name{margin:0}
  .nav{flex:1 1 100%}
  .nav p{flex-direction:row;gap:8px;overflow-x:auto;padding-bottom:4px}
  .nav a{white-space:nowrap;min-height:44px;padding:10px 16px}
  .hero{grid-template-columns:1fr;min-height:0}
  .hero-copy{padding:32px 18px 26px}
  .hero-art{min-height:220px;border-left:0;border-top:4px solid var(--y)}
  .hero::after{right:8%;bottom:34%}
  .content-shell{grid-template-columns:1fr;gap:24px;padding:26px 0 36px}
  aside{position:static}
  .foot-grid{grid-template-columns:1fr 1fr;gap:18px}
  .foot-shape{justify-self:start}
}

@media (max-width:520px){
  .foot-grid{grid-template-columns:1fr}
  .cta{display:flex;width:100%;margin:0 0 10px}
  .hero-copy h1::after{margin-left:auto;margin-right:auto}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
}

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