:root{
  --g:#2FBF71;
  --k:#111111;
  --p:#F5F5F0;
  --deep:#0B5C36;
  --bar:112px;
}

*{box-sizing:border-box}

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

body{
  margin:0;
  padding-bottom:var(--bar);
  background:var(--p);
  color:var(--k);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","PingFang SC","Noto Sans SC",sans-serif;
  font-size:17px;
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
}

img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
p{margin:0 0 14px}

h1,h2,h3{font-weight:800;line-height:1.18;letter-spacing:-.015em;margin:0 0 12px}

article[id],section article[id],#top{
  scroll-margin-top:24px;
  scroll-margin-bottom:calc(var(--bar) + 24px);
}

a:focus-visible,button:focus-visible,input:focus-visible{
  outline:3px solid var(--g);
  outline-offset:2px;
}

/* ---------- 底部固定条 ---------- */
.bar{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:50;
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  background:var(--k);
  color:var(--p);
  border-top:3px solid var(--g);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  padding:8px 6px;
  min-height:44px;
  color:var(--g);
  font-size:15px;
  font-weight:800;
  letter-spacing:-.01em;
  white-space:nowrap;
}

.dot{
  width:11px;height:11px;
  background:var(--g);
}

.nav{
  display:flex;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.nav::-webkit-scrollbar{display:none}

.nav p{
  display:flex;
  gap:3px;
  margin:0;
}

.nav-a{flex:1 1 0;justify-content:flex-end}
.nav-b{flex:1 1 0;justify-content:flex-start}

.nav a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-height:44px;
  padding:5px 9px;
  border-radius:4px;
  font-size:13px;
  font-weight:700;
  line-height:1.14;
  white-space:nowrap;
  transition:color .15s ease,background-color .15s ease;
}
.nav a:hover{color:var(--k);background:var(--g)}
.nav svg{width:17px;height:17px;display:block}

.find{
  display:flex;
  align-items:center;
  gap:2px;
  flex:0 0 auto;
  padding:2px;
  background:#1C1C1C;
  border:1px solid #383838;
  border-radius:4px;
}
.find input{
  width:104px;
  height:42px;
  padding:4px 8px;
  border:0;
  background:transparent;
  color:var(--p);
  font:inherit;
  font-size:13px;
}
.find input::placeholder{color:#9A9A92}
.find button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  flex:0 0 auto;
  border:0;
  border-radius:3px;
  background:var(--g);
  color:var(--k);
  cursor:pointer;
  transition:background-color .15s ease,color .15s ease;
}
.find button:hover{background:var(--p);color:var(--k)}
.find button svg{width:16px;height:16px}

/* ---------- Hero ---------- */
.hero{
  display:grid;
  grid-template-columns:1.06fr .94fr;
  min-height:70vh;
  background:var(--k);
  color:var(--p);
  border-bottom:7px solid var(--g);
}

.hero-media{
  position:relative;
  overflow:hidden;
  background:var(--g);
  min-height:240px;
}
.hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.92) contrast(1.02);
}

.hero-copy{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:56px 34px;
  text-align:center;
}

.badge{
  margin:0;
  padding:5px 14px;
  background:var(--g);
  color:var(--k);
  font-size:13px;
  font-weight:800;
  letter-spacing:.13em;
  border-radius:2px;
}

.hero h1{
  margin:0;
  font-size:clamp(30px,5.2vw,58px);
  max-width:16ch;
}

.lede{
  margin:0;
  max-width:36ch;
  color:#D6D6CD;
  font-size:16px;
}

/* ---------- 主体 ---------- */
.wrap{
  max-width:1120px;
  margin:0 auto;
  padding:44px 20px 24px;
}

.cols{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:40px;
  align-items:start;
}

.body{
  min-width:0;
}

.body article{
  background:#FFFFFF;
  border:2px solid var(--k);
  border-radius:28px;
  padding:32px 30px;
  margin:0 0 26px;
}

.body article:last-child{margin-bottom:0}
.body article > *:first-child{margin-top:0}
.body article > *:last-child{margin-bottom:0}

.body h2{
  font-size:clamp(21px,2.5vw,28px);
}
.body h2 > span{
  display:inline-block;
  padding-bottom:3px;
  border-bottom:5px solid var(--g);
}
.body h3{font-size:19px}

.body p{margin:0 0 15px}
.body ul,.body ol{margin:0 0 15px;padding-left:22px}
.body li{margin:0 0 8px}
.body a{
  color:var(--deep);
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
.body a:hover{background:var(--g);color:var(--k);text-decoration:none}
.body blockquote{
  margin:0 0 16px;
  padding:12px 18px;
  border-left:6px solid var(--g);
  background:#F2F8F4;
}
.body table{width:100%;border-collapse:collapse;font-size:15px}
.body th,.body td{border:1px solid #D5D5CB;padding:9px 11px;text-align:left}

/* ---------- 侧栏 ---------- */
.side{
  position:sticky;
  top:24px;
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:20px 16px;
  background:rgba(47,191,113,.16);
  border:2px solid var(--k);
  border-radius:28px;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.side-h{
  margin:0;
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  color:var(--deep);
  line-height:1.5;
}
.side-h > span{
  display:inline-block;
  border-bottom:3px solid var(--g);
}

.side-list{
  display:flex;
  flex-direction:column;
  margin:0;
}

.side-list a{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:0 6px;
  font-size:15px;
  font-weight:600;
  border-bottom:1px solid rgba(17,17,17,.14);
  border-radius:3px;
  transition:background-color .15s ease,color .15s ease;
}
.side-list a::before{
  content:"";
  flex:0 0 auto;
  width:6px;height:6px;
  background:var(--k);
}
.side-list a:hover{background:var(--g);color:var(--k)}

.side-h a{
  display:block;
  min-height:44px;
  padding:11px 0;
  color:var(--deep);
  border-radius:3px;
}
.side-h a:hover{color:var(--k);background:var(--g)}

/* ---------- 页脚 ---------- */
.foot{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:12px 18px;
  margin-top:26px;
  padding:26px 20px;
  background:var(--k);
  color:var(--p);
}
.foot p{margin:0}
.cr{font-weight:800;font-size:15px;letter-spacing:.02em}
.fk{display:flex;flex-wrap:wrap;gap:8px}
.fk a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  border:1px solid #3C3C3C;
  border-radius:3px;
  font-size:15px;
  font-weight:600;
  transition:background-color .15s ease,color .15s ease,border-color .15s ease;
}
.fk a:hover{background:var(--g);color:var(--k);border-color:var(--g)}
.tm{grid-column:1/-1;color:#8E8E85;font-size:13px;letter-spacing:.06em}

/* ---------- 滚动显现 ---------- */
.rv{opacity:0;transform:translateY(16px);transition:opacity .45s ease,transform .45s ease}
.rv.in{opacity:1;transform:none}

/* ---------- 窄屏 ---------- */
@media (max-width:900px){
  :root{--bar:132px}

  .bar{flex-wrap:wrap;gap:6px;padding:8px 10px}
  .brand{order:1;flex:1 1 auto;min-height:44px;font-size:14px;padding:6px 4px}
  .find{order:2;margin-left:0}
  .find input{width:82px}
  .nav-a{order:3;flex:1 1 0}
  .nav-b{order:4;flex:1 1 0}
  .nav a{font-size:12.5px;padding:5px 7px}

  .hero{grid-template-columns:1fr;min-height:0}
  .hero-media{height:30vh;min-height:168px}
  .hero-copy{padding:26px 20px 34px;gap:12px}
  .hero h1{font-size:clamp(26px,7.6vw,38px);max-width:20ch}
  .lede{font-size:15.5px}

  .wrap{padding:26px 14px 18px}
  .cols{grid-template-columns:minmax(0,1fr);gap:22px}
  .body article{padding:22px 17px;border-radius:20px;margin-bottom:18px}
  .side{position:static;border-radius:20px}
  .foot{padding:22px 16px}
  .fk a{padding:0 12px}
}

@media (min-width:901px){
  .bar{padding:10px 18px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rv{opacity:1;transform:none;transition:none}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}

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