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

:root{
  --neon:#87ff71;
  --sun:#ffce5c;
  --ink:#192617;
  --paper:#fbf8ec;
  --card:#fffdf4;
  --r:10px;
}

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

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

body{
  margin:0;
  padding-bottom:104px;
  font-family:'Raleway',system-ui,-apple-system,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.82;
  color:var(--ink);
  background-color:var(--paper);
  background-image:radial-gradient(rgba(25,38,23,.11) 1.4px,transparent 1.5px);
  background-size:32px 32px;
  overflow-x:hidden;
}

h1,h2,h3,h4{font-family:'Lora',Georgia,serif;line-height:1.3;margin:0;font-weight:700}
p{margin:0 0 1em}
img{max-width:100%}
a{color:inherit}
menu{margin:0;padding:0;list-style:none}

:focus-visible{outline:3px solid var(--sun);outline-offset:2px}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* ---------- 首屏 ---------- */
.stage{display:block}
.hero{
  position:relative;
  display:flex;
  align-items:center;
  min-height:100vh;
  min-height:100svh;
  padding:104px 22px 134px;
  overflow:hidden;
}
.hero-art{position:absolute;inset:0;z-index:1}
.shape{position:absolute;display:block}
.tri{
  width:126px;height:112px;top:8%;left:6%;
  background:var(--sun);
  clip-path:polygon(50% 0,100% 100%,0 100%);
  transform:rotate(-9deg);
}
.wave{
  width:216px;height:26px;bottom:16%;left:5%;
  background:var(--ink);
  opacity:.75;
  transform:rotate(-4deg);
  clip-path:polygon(0 100%,7% 0,14% 100%,21% 0,28% 100%,35% 0,42% 100%,49% 0,56% 100%,63% 0,70% 100%,77% 0,84% 100%,91% 0,98% 100%,100% 0,100% 100%);
}
.ring{
  width:112px;height:112px;top:14%;right:8%;
  border:14px solid var(--neon);
  border-radius:50%;
  mix-blend-mode:multiply;
}
.bar{
  width:190px;height:14px;bottom:10%;right:12%;
  background:var(--sun);
  transform:rotate(7deg);
  border-radius:8px;
}
.plate{
  position:absolute;
  width:34vw;
  max-width:280px;
  margin:0;
  padding:0;
  overflow:hidden;
  border-radius:var(--r);
  background:var(--sun);
  box-shadow:0 16px 30px rgba(25,38,23,.28);
  z-index:2;
}
.plate-1{top:13%;left:4%;transform:rotate(-7deg)}
.plate-2{top:46%;left:24%;transform:rotate(6deg)}
.plate-img{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:cover}

.hero-copy{
  position:relative;
  z-index:3;
  width:100%;
  max-width:660px;
  margin-left:auto;
  text-align:right;
}
.hero h1{
  display:inline;
  font-size:clamp(2.1rem,6.2vw,3.9rem);
  letter-spacing:-.015em;
  background:linear-gradient(transparent 60%,var(--neon) 60% 94%,transparent 94%);
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.hero-lede{
  margin:20px 0 0 auto;
  max-width:46ch;
  font-size:1.02rem;
  color:#2b3a26;
}
.hero-jump{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin-top:24px;
  padding:10px 22px;
  border-radius:999px;
  background:var(--ink);
  color:var(--neon);
  font-weight:700;
  letter-spacing:.08em;
  text-decoration:none;
}

/* ---------- 正文 + 右侧栏 ---------- */
.body-wrap{
  max-width:1120px;
  margin:0 auto;
  padding:26px 20px 64px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:36px;
  align-items:start;
  position:relative;
  z-index:4;
}

.prose{min-width:0}

.prose > article{
  --tilt:.3deg;
  position:relative;
  background:var(--card);
  border:1px solid rgba(25,38,23,.14);
  border-radius:var(--r);
  box-shadow:0 12px 26px rgba(25,38,23,.12);
  padding:26px 22px;
  margin:0 0 30px;
  transform:rotate(var(--tilt));
  scroll-margin-top:20px;
  scroll-margin-bottom:120px;
}
.prose > article:nth-child(even){--tilt:-.35deg}

.prose h2{
  font-size:1.5rem;
  margin:0 0 .6em;
  letter-spacing:-.01em;
}
.prose h2::after{
  content:"";
  display:block;
  width:62px;
  height:9px;
  margin-top:10px;
  border-radius:6px;
  background:var(--neon);
}
.prose h3{
  font-size:1.16rem;
  margin:1.3em 0 .45em;
  padding-left:16px;
  position:relative;
}
.prose h3::before{
  content:"";
  position:absolute;
  left:0;top:.45em;
  width:9px;height:9px;
  background:var(--sun);
  transform:rotate(45deg);
}
.prose p{font-size:1.02rem}
.prose ul,.prose ol{padding-left:1.25em;margin:0 0 1em}
.prose li{margin:.4em 0}
.prose li::marker{color:#3f7a2c}
.prose a{
  color:#144d2b;
  text-decoration:underline;
  text-decoration-color:var(--neon);
  text-decoration-thickness:3px;
  text-underline-offset:3px;
}
.prose blockquote{
  margin:1.2em 0;
  padding:12px 18px;
  border-left:8px solid var(--sun);
  background:rgba(255,206,92,.2);
  border-radius:0 8px 8px 0;
}
.prose blockquote p:last-child{margin-bottom:0}
.prose figure{margin:1.2em 0}
.prose figure img{border-radius:8px;display:block}
.prose figcaption{font-size:.88rem;color:#4a5842;margin-top:6px}
.prose code{
  font-family:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;
  font-size:.94em;
  background:rgba(25,38,23,.09);
  padding:1px 5px;
  border-radius:4px;
}
.prose hr{border:0;border-top:2px dashed rgba(25,38,23,.32);margin:1.6em 0}
.prose table{
  width:100%;
  border-collapse:collapse;
  font-size:.98rem;
  display:block;
  overflow-x:auto;
}
.prose th,.prose td{
  border:1px solid rgba(25,38,23,.2);
  padding:8px 10px;
  text-align:left;
}

/* ---------- 侧栏 ---------- */
.rail{
  position:sticky;
  top:24px;
  background:rgba(255,206,92,.42);
  border:2px dashed var(--ink);
  border-radius:var(--r);
  padding:20px 16px 18px;
  transform:rotate(1.1deg);
}
.rail-small{
  display:inline-block;
  font-size:.76rem;
  letter-spacing:.24em;
  background:var(--ink);
  color:var(--neon);
  padding:3px 8px;
  border-radius:4px;
}
.rail-h{font-size:1.12rem;margin:10px 0 12px}
.rail-list{list-style:none}
.rail-list a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:8px 2px;
  font-size:.95rem;
  font-weight:600;
  text-decoration:none;
  color:var(--ink);
  border-bottom:1px dotted rgba(25,38,23,.45);
}
.rail-list li:last-child a{border-bottom:0}
.rail-list a::before{
  content:"";
  width:8px;height:8px;
  margin-right:9px;
  background:var(--ink);
  transform:rotate(45deg);
  flex:0 0 auto;
}
.rail-list a:hover{color:#0d5327}
.rail-back{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  margin-top:12px;
  font-size:.9rem;
  font-weight:600;
  color:var(--ink);
}

/* ---------- 页脚 ---------- */
.foot{
  background:var(--ink);
  color:#f4f7ee;
  border-top:8px solid var(--sun);
  padding:46px max(20px,calc((100% - 1120px)/2)) 40px;
  display:grid;
  grid-template-columns:1fr 1.25fr 1fr;
  gap:30px;
  align-items:start;
}
.foot-col{min-width:0}
.foot-logo{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  font-family:'Lora',Georgia,serif;
  font-size:1.28rem;
  font-weight:700;
  color:var(--neon);
  text-decoration:none;
}
.foot-small{
  display:inline-block;
  font-size:.74rem;
  letter-spacing:.24em;
  color:var(--ink);
  background:var(--neon);
  padding:2px 8px;
  border-radius:4px;
}
.foot-h{font-size:1.1rem;margin:9px 0 12px;color:#fffdf4}
.sub-form{display:flex;gap:8px;flex-wrap:wrap}
.sub-form input{
  flex:1 1 130px;
  min-width:0;
  min-height:46px;
  padding:10px 12px;
  font:inherit;
  font-size:.98rem;
  color:#fffdf4;
  background:transparent;
  border:2px solid var(--neon);
  border-radius:8px;
}
.sub-form input::placeholder{color:rgba(255,253,244,.7)}
.sub-form button{
  min-height:46px;
  padding:10px 20px;
  font:inherit;
  font-weight:700;
  color:var(--ink);
  background:var(--neon);
  border:2px solid var(--neon);
  border-radius:8px;
  cursor:pointer;
}
.sub-form button:hover{background:var(--sun);border-color:var(--sun)}
.foot-legal{text-align:center;font-size:.92rem;color:#cfd8c8}
.foot-legal p{margin:0 0 .4em}

/* ---------- 底部固定条 ---------- */
.dock{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:90;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  background:var(--ink);
  border-top:4px solid var(--neon);
}
.dock-menu{justify-self:start;position:relative}
.dock-menu summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:46px;
  padding:8px 12px;
  border-radius:8px;
  color:#fffdf4;
  font-weight:600;
  cursor:pointer;
  position:relative;
  z-index:3;
}
.dock-menu summary::-webkit-details-marker{display:none}
.burger{
  width:20px;height:3px;border-radius:2px;
  background:var(--neon);
  box-shadow:0 6px 0 var(--neon),0 -6px 0 var(--neon);
  flex:0 0 auto;
}
.dock-word{font-size:.98rem}
.dock-brand{
  justify-self:center;
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:8px 10px;
  font-family:'Lora',Georgia,serif;
  font-size:1rem;
  font-weight:700;
  color:var(--neon);
  text-decoration:none;
  white-space:nowrap;
  max-width:44vw;
  overflow:hidden;
  text-overflow:ellipsis;
}
.dock-contact{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:8px 14px;
  border-radius:999px;
  background:var(--sun);
  color:var(--ink);
  font-size:.95rem;
  font-weight:700;
  text-decoration:none;
}

.sheet{
  position:fixed;
  inset:0;
  z-index:2;
  padding:92px 20px 120px;
  overflow:auto;
  background:var(--ink);
  background-image:
    radial-gradient(var(--neon) 1.5px,transparent 1.6px),
    radial-gradient(var(--sun) 1.5px,transparent 1.6px);
  background-size:52px 52px,52px 52px;
  background-position:0 0,26px 26px;
  display:grid;
  grid-template-columns:1fr;
  gap:2px;
  align-content:start;
  list-style:none;
}
.sheet li a{
  display:flex;
  align-items:center;
  min-height:52px;
  padding:12px 10px;
  color:#fffdf4;
  font-family:'Lora',Georgia,serif;
  font-size:1.1rem;
  text-decoration:none;
  border-bottom:1px dashed rgba(255,253,244,.28);
}
.sheet li a::before{
  content:"";
  width:10px;height:10px;
  margin-right:12px;
  background:var(--neon);
  transform:rotate(45deg);
  flex:0 0 auto;
}
.sheet li a:hover{color:var(--sun)}

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion:no-preference){
  .js .reveal{
    opacity:0;
    transform:translateY(18px) rotate(var(--tilt,0deg));
    transition:opacity .6s ease,transform .6s ease;
  }
  .js .reveal.in{
    opacity:1;
    transform:translateY(0) rotate(var(--tilt,0deg));
  }
}

/* ---------- 响应式 ---------- */
@media (max-width:980px){
  .body-wrap{grid-template-columns:minmax(0,1fr) 250px;gap:26px}
}

@media (max-width:760px){
  body{font-size:16.5px}
  .hero{
    display:block;
    min-height:0;
    padding:100px 18px 118px;
  }
  .hero-art{position:relative;inset:auto;height:236px;margin:0 0 26px}
  .plate{width:45%;max-width:190px}
  .plate-1{top:0;left:0;transform:rotate(-6deg)}
  .plate-2{top:64px;left:40%;transform:rotate(5deg)}
  .tri{width:84px;height:74px;top:6%;right:2%;left:auto}
  .ring{width:72px;height:72px;border-width:10px;top:auto;bottom:0;right:4%}
  .wave{width:150px;bottom:6%;left:2%;height:20px}
  .bar{display:none}
  .hero h1{font-size:clamp(1.9rem,8.6vw,2.7rem)}
  .hero-lede{font-size:1rem}
  .body-wrap{
    grid-template-columns:minmax(0,1fr);
    padding:14px 16px 48px;
    gap:24px;
  }
  .prose > article{padding:22px 16px;margin-bottom:24px}
  .rail{position:static;transform:none;order:2}
  .prose h2{font-size:1.32rem}
  .foot{
    grid-template-columns:minmax(0,1fr);
    gap:24px;
    padding:38px 18px 34px;
    text-align:center;
  }
  .foot-logo{justify-content:center}
  .sub-form{justify-content:center}
  .foot-legal{text-align:center}
  .dock{gap:6px;padding:8px 10px}
  .dock-brand{font-size:.94rem;max-width:38vw}
  .dock-contact{padding:8px 12px}
}

@media (max-width:380px){
  .dock-word{display:none}
  .hero{padding-top:92px}
}

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