@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root{
  --g:#87ff71;
  --y:#ffce5c;
  --ink:#192617;
  --paper:#f4f3e6;
  --paper2:#e7f6df;
  --line:rgba(25,38,23,.2);
  --rail:250px;
}

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

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

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

img{display:block;max-width:100%;height:auto}
menu{margin:0;padding:0;list-style:none}
p{margin:0}
h1,h2,h3{margin:0;line-height:1.25;font-weight:700;letter-spacing:.01em}
a{color:inherit}

.skip{
  position:absolute;
  left:-9999px;
  top:0;
  z-index:99;
  background:var(--y);
  border:3px solid var(--ink);
  padding:12px 18px;
  font-weight:700;
}
.skip:focus{left:8px;top:8px}

/* ---------- 头部 ---------- */
.mast{background:var(--ink);color:var(--paper)}

.ticker{
  display:flex;
  align-items:center;
  gap:14px;
  padding:6px 14px;
  background:var(--g);
  color:var(--ink);
  font-size:13px;
  font-weight:700;
  letter-spacing:.22em;
  white-space:nowrap;
  overflow:hidden;
  border-bottom:3px solid var(--ink);
}
.ticker .dot{
  flex:none;
  width:9px;height:9px;
  background:var(--ink);
  border-radius:50%;
}

.bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 18px 10px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  text-decoration:none;
}
.brand .mark{
  width:44px;height:44px;
  object-fit:cover;
  background:var(--g);
  clip-path:polygon(0 0,100% 0,100% 68%,68% 100%,0 100%);
}
.bname{font-size:22px;font-weight:700;letter-spacing:.08em}

.stamp{display:flex;gap:7px}
.stamp .tri{
  width:15px;height:15px;
  background:var(--y);
  clip-path:polygon(50% 0,100% 100%,0 100%);
}
.stamp .tri:nth-child(2){background:var(--g);transform:rotate(20deg)}
.stamp .tri:nth-child(3){background:var(--paper)}

.navline{padding:0 18px 14px;position:relative}

.dd{display:inline-block;position:relative}
.dd summary{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:10px 18px;
  font-size:16px;
  font-weight:700;
  background:var(--y);
  color:var(--ink);
  border:3px solid var(--ink);
  user-select:none;
}
.dd summary::-webkit-details-marker{display:none}
.burger{
  width:18px;height:12px;
  background:
    linear-gradient(var(--ink),var(--ink)) 0 0/18px 3px no-repeat,
    linear-gradient(var(--ink),var(--ink)) 0 5px/18px 3px no-repeat,
    linear-gradient(var(--ink),var(--ink)) 0 10px/18px 3px no-repeat;
}
.dd[open] summary{background:var(--g)}

.dd-menu{
  position:absolute;
  left:0;
  top:calc(100% + 10px);
  z-index:40;
  width:min(78vw,340px);
  max-height:66vh;
  overflow:auto;
  padding:10px;
  background:var(--paper);
  border:3px solid var(--ink);
  box-shadow:8px 8px 0 var(--g);
}
.dd-menu li a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:10px 12px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  border-bottom:1px dotted var(--line);
}
.dd-menu li:last-child a{border-bottom:0}
.dd-menu li a:hover,
.dd-menu li a:focus{background:var(--y)}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  display:grid;
  place-items:center;
  min-height:70vh;
  padding:56px 20px 104px;
  text-align:center;
  background:var(--ink);
  color:var(--paper);
  overflow:hidden;
  clip-path:polygon(0 0,100% 0,100% 88%,0 100%);
}
.hero-media{position:absolute;inset:0}
.hero-media .hero-img{
  width:100%;height:100%;
  object-fit:cover;
  opacity:.42;
  filter:saturate(1.3) contrast(1.05);
}
.hero-shapes .s{position:absolute;display:block;pointer-events:none}
.s1{
  width:190px;height:190px;
  top:-26px;left:-46px;
  background:var(--g);
  clip-path:polygon(50% 0,100% 100%,0 100%);
  transform:rotate(-9deg);
  opacity:.85;
}
.s2{
  width:132px;height:132px;
  top:44px;right:22px;
  border:7px solid var(--y);
  border-radius:50%;
}
.s3{
  width:230px;height:24px;
  bottom:96px;left:4%;
  background:repeating-linear-gradient(90deg,var(--y) 0 14px,transparent 14px 30px);
  transform:rotate(-4deg);
}
.s4{
  width:126px;height:126px;
  right:9%;bottom:24px;
  background:var(--g);
  clip-path:polygon(0 0,100% 42%,38% 100%);
  opacity:.7;
}
.hero-in{
  position:relative;
  z-index:2;
  max-width:800px;
  transform:translateY(var(--py,0px));
}
.kick{
  margin:0 0 12px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.34em;
  color:var(--g);
}
.hero h1{
  font-size:clamp(30px,6.4vw,56px);
  letter-spacing:.02em;
}
.hero h1::after{
  content:"";
  display:block;
  width:92px;height:9px;
  margin:20px auto 0;
  background:var(--y);
}
.lede{
  margin:20px auto 0;
  max-width:56ch;
  font-size:16px;
  line-height:1.7;
  color:#e6f0e1;
}
.hero-slant{
  position:absolute;
  left:0;right:0;bottom:0;
  height:16px;
  background:repeating-linear-gradient(90deg,var(--g) 0 22px,var(--y) 22px 44px);
  z-index:3;
}

/* ---------- 主体框架 ---------- */
.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:22px 18px 0;
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}
@media (min-width:900px){
  .wrap{
    grid-template-columns:var(--rail) minmax(0,1fr);
    gap:38px;
    padding:34px 24px 0;
  }
}

.rail{display:flex;flex-direction:column;gap:14px}
@media (min-width:900px){
  .rail{
    position:sticky;
    top:20px;
    align-self:start;
    max-height:calc(100vh - 40px);
    overflow:auto;
  }
}

.rail-t{
  font-size:18px;
  padding-bottom:10px;
  border-bottom:6px solid var(--g);
}
.zig{
  display:block;
  width:78px;height:9px;
  margin-top:9px;
  background:repeating-linear-gradient(90deg,var(--ink) 0 6px,transparent 6px 13px);
}

.rail-menu{display:grid;grid-template-columns:1fr}
@media (max-width:899px){
  .rail-menu{grid-template-columns:1fr 1fr;gap:0 14px}
}
.rail-menu li{animation:rise .45s ease both;animation-delay:calc(var(--i) * 55ms)}
.rail-menu a{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:9px 6px;
  font-size:16px;
  font-weight:500;
  text-decoration:none;
  border-bottom:1px dashed var(--line);
}
.rail-menu a::before{
  content:"";
  flex:none;
  width:9px;height:9px;
  background:var(--y);
}
.rail-menu a:hover,
.rail-menu a:focus{background:var(--paper2)}

.rail-f{margin-top:6px;padding-top:14px;border-top:3px dotted var(--line)}
.rail-s{font-size:16px}
.jump{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin-top:10px;
  padding:8px 16px;
  font-weight:600;
  text-decoration:none;
  background:var(--ink);
  color:var(--paper);
  border:3px solid var(--ink);
}
.jump:hover,
.jump:focus{background:var(--g);color:var(--ink)}

/* ---------- 正文 ---------- */
.body{min-width:0;padding-bottom:44px}

section > article{
  position:relative;
  padding:32px 0 38px;
  border-bottom:3px dashed var(--line);
  scroll-margin-top:24px;
}
section > article:first-child{padding-top:8px}
section > article:nth-child(even){
  background:linear-gradient(180deg,var(--paper2),rgba(231,246,223,0) 70%);
  padding-left:14px;
  padding-right:14px;
  margin-left:-14px;
  margin-right:-14px;
}
section > article:nth-child(even)::before{
  content:"";
  position:absolute;
  top:0;right:0;
  width:58px;height:58px;
  background:var(--g);
  clip-path:polygon(100% 0,100% 100%,0 0);
  opacity:.5;
}

section h2{
  font-size:clamp(23px,3.4vw,31px);
  margin:0 0 14px;
  padding-left:15px;
  border-left:11px solid var(--y);
}
section h3{
  font-size:20px;
  margin:26px 0 10px;
}
section h3 span{border-bottom:4px solid var(--g)}
section p{margin:0 0 16px}
section ul,section ol{margin:0 0 16px;padding-left:24px}
section li{margin:7px 0}
section li::marker{color:#2f7a3f}
section a{
  color:#1c5c2b;
  text-decoration:none;
  border-bottom:2px solid var(--g);
}
section a:hover{border-bottom-color:var(--ink)}
section strong{background:var(--y);padding:0 3px}
section blockquote{
  margin:22px 0;
  padding:14px 18px;
  border-left:9px solid var(--g);
  background:var(--paper2);
  font-weight:500;
}
section blockquote p:last-child{margin-bottom:0}
section img{
  width:100%;
  margin:18px 0;
  border:3px solid var(--ink);
}
section hr{
  border:0;
  height:4px;
  margin:26px 0;
  background:repeating-linear-gradient(90deg,var(--ink) 0 10px,transparent 10px 22px);
}
section figure{margin:20px 0}
section figcaption{font-size:14px;margin-top:6px}
section table{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:16px}
section th,section td{border:2px solid var(--line);padding:9px 10px;text-align:left}
section th{background:var(--paper2)}
section code{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  background:var(--paper2);
  padding:1px 5px;
}

/* ---------- 页脚 ---------- */
.foot{
  margin-top:26px;
  padding:34px 18px 42px;
  text-align:center;
  background:var(--ink);
  color:var(--paper);
  border-top:12px solid var(--g);
}
.foot p{
  font-size:18px;
  font-weight:700;
  letter-spacing:.1em;
  margin-bottom:8px;
}
.foot small{font-size:14px;color:#b6c6ae}

/* ---------- 动效 ---------- */
@keyframes rise{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:none}
}
.rv{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease}
.rv.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .hero-in{transform:none}
  .rv{opacity:1;transform:none}
}

@media (max-width:420px){
  body{font-size:16px}
  .hero{padding:44px 16px 92px;min-height:64vh}
  .bname{font-size:20px}
  .s1{width:140px;height:140px}
  .s2{width:96px;height:96px;top:18px}
}

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