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

:root{
  --ink:#172617;
  --deep:#0b140d;
  --neon:#69ff69;
  --cyan:#00ffff;
  --paper:#eaffef;
  --chrome:linear-gradient(180deg,#ffffff 0%,#dcf9e2 30%,#8fac98 52%,#e9fff1 74%,#9dbfa7 100%);
  --line:rgba(105,255,105,.28);
  --line-c:rgba(0,255,255,.26);
  --glow:0 0 12px rgba(105,255,105,.5),0 0 34px rgba(0,255,255,.2);
  --r:10px;
}

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

html{
  scroll-behavior:smooth;
  background:var(--deep);
  -webkit-text-size-adjust:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  width:100%;
  font-family:'Work Sans','Outfit',"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:17px;
  line-height:1.75;
  color:var(--paper);
  background:
    radial-gradient(900px 520px at 88% -8%,rgba(0,255,255,.16),transparent 62%),
    radial-gradient(760px 460px at 4% 6%,rgba(105,255,105,.16),transparent 60%),
    linear-gradient(180deg,#101d13,#0b140d 60%,#0a120c);
  background-attachment:fixed;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(105,255,105,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,255,255,.05) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(circle at 50% 0%,#000,transparent 78%);
  mask-image:radial-gradient(circle at 50% 0%,#000,transparent 78%);
}

img,svg,video{max-width:100%}

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

.shell{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 clamp(14px,4vw,30px);
}

/* 顶栏 */
.top{
  position:sticky;
  top:0;
  z-index:40;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  width:100%;
  max-width:100%;
  padding:8px 0;
  background:linear-gradient(180deg,rgba(11,20,13,.96),rgba(11,20,13,.74));
  border-bottom:1px solid var(--line);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}

.brand{
  display:inline-flex;
  text-decoration:none;
  flex:0 0 auto;
}

.brand-mark{
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:var(--chrome);
  box-shadow:var(--glow);
}

.brand-mark img{width:100%;height:100%;object-fit:cover}
.mark-dot{font-weight:700;font-size:20px;color:#0b140d;letter-spacing:0}

.cta{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid #eaffef;
  background:var(--chrome);
  color:#0b140d;
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  box-shadow:var(--glow);
  white-space:nowrap;
}

.cta:hover{filter:brightness(1.07)}

/* 导航：details > summary + menu */
.nav{
  order:3;
  flex:1 1 100%;
  width:100%;
  max-width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}

.nav > summary{
  list-style:none;
  display:none;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(105,255,105,.09);
  color:#ddffdd;
  font-size:16px;
  cursor:pointer;
}

.nav > summary::-webkit-details-marker{display:none}

.bars{
  display:block;
  width:16px;
  height:2px;
  background:var(--neon);
  box-shadow:0 5px 0 var(--neon),0 -5px 0 var(--neon);
}

.nav > menu{
  list-style:none;
  margin:0;
  padding:0 0 2px;
  flex:1 1 auto;
  width:100%;
  max-width:100%;
  min-width:0;
  display:flex;
  flex-wrap:nowrap;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}

.nav > menu::-webkit-scrollbar{height:4px}
.nav > menu::-webkit-scrollbar-thumb{background:rgba(0,255,255,.4);border-radius:4px}

.nav > menu > li{flex:0 0 auto}

.nav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(0,255,255,.3);
  background:rgba(0,255,255,.07);
  color:#dcffdf;
  font-size:16px;
  line-height:1.25;
  text-decoration:none;
  white-space:nowrap;
}

.nav a:hover,.nav a:focus-visible{
  color:#f6fff6;
  border-color:var(--neon);
  background:rgba(105,255,105,.2);
  box-shadow:var(--glow);
}

/* 主框架：移动端正文在前、侧栏在后 */
.frame{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:24px;
  width:100%;
  min-width:0;
  padding:18px 0 40px;
  align-items:start;
}

.frame > main{order:1;min-width:0;max-width:100%}
.frame > aside{order:2;min-width:0;max-width:100%}

/* 侧栏 */
.rail{
  border:1px solid var(--line-c);
  border-radius:16px;
  padding:16px;
  background:linear-gradient(160deg,rgba(0,255,255,.1),rgba(105,255,105,.05) 55%,rgba(11,20,13,.3));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
}

.rail-h{
  margin:0 0 10px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.16em;
  color:var(--cyan);
}

.rail-h::before{
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  margin-right:9px;
  vertical-align:2px;
  background:var(--neon);
  transform:rotate(45deg);
  box-shadow:var(--glow);
}

.rail-h > span{
  text-shadow:0 0 12px rgba(0,255,255,.5);
}

.rail-list{
  list-style:none;
  counter-reset:r;
  margin:0 0 20px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-width:0;
}

.rail-list li{counter-increment:r;min-width:0;max-width:100%}

.rail-list a{
  display:block;
  padding:8px 12px;
  min-height:40px;
  border-radius:999px;
  border:1px dashed rgba(105,255,105,.38);
  color:#cdf3d6;
  font-size:16px;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.rail-list a::before{
  content:counter(r,decimal-leading-zero) " ";
  color:var(--cyan);
  font-size:15px;
}

.rail-list a:hover{
  color:#fff;
  border-style:solid;
  background:rgba(105,255,105,.14);
}

.rail-top{margin:0}
.rail-top a{
  display:inline-block;
  min-height:40px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--line-c);
  color:#c9f7ff;
  font-size:16px;
  text-decoration:none;
  background:rgba(0,255,255,.07);
}
.rail-top a:hover{background:rgba(0,255,255,.18);color:#fff}

/* 正文 */
main{min-width:0;max-width:100%}
article{min-width:0;max-width:100%}

.hero{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:flex-start;
  gap:14px;
  min-height:0;
  width:100%;
  max-width:100%;
  padding:12px 0 22px;
  text-align:right;
  border-top:0;
}

.badge{
  margin:0;
  align-self:flex-end;
  max-width:100%;
  padding:6px 16px;
  border-radius:999px;
  border:1px solid var(--line-c);
  background:rgba(0,255,255,.09);
  color:#c9feff;
  font-size:16px;
  letter-spacing:.24em;
  box-shadow:0 0 20px rgba(0,255,255,.3);
  animation:float 6s ease-in-out infinite;
  overflow-wrap:anywhere;
}

@keyframes float{50%{transform:translateY(-9px)}}

h1{
  margin:0;
  max-width:18ch;
  font-family:'Outfit','Work Sans',system-ui,sans-serif;
  font-weight:700;
  font-size:clamp(29px,7vw,58px);
  line-height:1.14;
  letter-spacing:-.01em;
  background:linear-gradient(118deg,#ffffff,#d9ffe0 28%,#7dffb4 54%,#b9ffff 80%,#ffffff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 16px rgba(105,255,105,.45));
  overflow-wrap:anywhere;
}

.hero-art{
  margin:6px 0 0;
  width:100%;
  max-width:620px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.4);
  box-shadow:0 24px 52px rgba(0,0,0,.55),0 0 26px rgba(0,255,255,.28);
}

.hero-art:empty{display:none}
.hero-art img{display:block;width:100%;height:auto;will-change:transform}

article > div{
  position:relative;
  width:100%;
  min-width:0;
  max-width:100%;
  padding:28px 0;
  border-top:1px solid rgba(0,255,255,.16);
  scroll-margin-top:120px;
}

article h2{
  margin:.1em 0 .7em;
  font-family:'Outfit','Work Sans',system-ui,sans-serif;
  font-size:clamp(22px,3.6vw,30px);
  line-height:1.32;
  color:#f0fff2;
  overflow-wrap:anywhere;
}

article h2 > span{
  display:inline-block;
  color:var(--neon);
  text-shadow:0 0 16px rgba(105,255,105,.65);
}

article h3{
  margin:1.3em 0 .5em;
  font-size:20px;
  line-height:1.4;
  color:#d8ffdf;
  overflow-wrap:anywhere;
}

article h3 > span{
  display:inline-block;
  border-bottom:2px solid rgba(0,255,255,.55);
}

article p,article li{color:#d9f7de;max-width:70ch;overflow-wrap:anywhere}
article p{margin:0 0 1em}
article ul,article ol{padding-left:1.25em;margin:0 0 1em;max-width:100%}
article li{margin:.25em 0;max-width:100%}

article a{color:#9dffd2;text-decoration:underline;text-decoration-color:rgba(0,255,255,.55);text-underline-offset:3px;overflow-wrap:anywhere}
article a:hover{color:#fff;text-decoration-color:var(--neon)}

article img{height:auto;max-width:100%;border-radius:var(--r);border:1px solid rgba(255,255,255,.22)}

article blockquote{
  margin:1.2em 0;
  padding:12px 16px;
  max-width:100%;
  border-left:3px solid var(--cyan);
  border-radius:0 var(--r) var(--r) 0;
  background:rgba(0,255,255,.07);
}

article blockquote p:last-child{margin:0}

article code{
  font-size:16px;
  padding:1px 6px;
  border-radius:6px;
  background:rgba(105,255,105,.14);
  color:#eafff0;
  overflow-wrap:anywhere;
}

article pre{
  max-width:100%;
  overflow-x:auto;
  padding:12px 14px;
  border-radius:var(--r);
  background:rgba(11,20,13,.7);
  border:1px solid var(--line);
}

article pre code{padding:0;background:none}

article table{
  display:block;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  border-collapse:collapse;
}

/* 滚动出现 */
.reveal{opacity:0;transform:translateY(18px)}
.reveal.in{opacity:1;transform:none;transition:opacity .6s ease,transform .6s ease}

/* 页脚 */
.foot{
  position:relative;
  z-index:1;
  width:100%;
  max-width:100%;
  margin-top:14px;
  padding:30px 0 18px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(105,255,105,.08),rgba(11,20,13,.9));
}

.foot-top{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:16px;
  align-items:center;
  min-width:0;
}

.foot-brand{
  margin:0;
  font-family:'Outfit','Work Sans',system-ui,sans-serif;
  font-size:clamp(20px,3.4vw,26px);
  font-weight:700;
  color:#f4fff6;
  text-shadow:0 0 18px rgba(105,255,105,.55);
  overflow-wrap:anywhere;
}

.sub{display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}

.sub input{
  flex:1 1 140px;
  min-width:0;
  max-width:100%;
  min-height:44px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--line-c);
  background:rgba(0,255,255,.08);
  color:#eaffea;
  font-family:inherit;
  font-size:16px;
}

.sub input::placeholder{color:#9fc8ac}

.sub button{
  flex:0 0 auto;
  min-height:44px;
  padding:10px 22px;
  border-radius:999px;
  border:1px solid #eaffef;
  background:var(--chrome);
  color:#0b140d;
  font-family:inherit;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  box-shadow:var(--glow);
}

.sub button:hover{filter:brightness(1.07)}

.foot-cols{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:20px;
  margin:28px 0 0;
  align-items:start;
  min-width:0;
}

.foot-cols dl{margin:0;min-width:0;max-width:100%}
.foot-cols dt{
  font-size:16px;
  letter-spacing:.14em;
  color:var(--cyan);
  margin-bottom:6px;
  text-shadow:0 0 12px rgba(0,255,255,.45);
}

.foot-cols dd{
  margin:0;
  font-size:16px;
  color:#c9ecd0;
  overflow-wrap:anywhere;
}

.foot-cols a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  max-width:100%;
  padding:4px 0;
  color:#d8ffdf;
  text-decoration:none;
  font-size:16px;
  overflow-wrap:anywhere;
}

.foot-cols a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}

.foot-bot{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  margin-top:26px;
  padding-top:16px;
  border-top:1px dashed rgba(105,255,105,.32);
  text-align:center;
  font-size:16px;
  color:#a9cdb4;
  min-width:0;
}

.foot-bot p{margin:0;max-width:100%;overflow-wrap:anywhere}

.sr{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}

@media (min-width:640px){
  .foot-cols{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero{min-height:56vh;justify-content:center;padding:24px 0}
}

@media (min-width:760px){
  .foot-top{grid-template-columns:minmax(0,1fr) minmax(0,340px)}
}

@media (min-width:920px){
  .frame{grid-template-columns:206px minmax(0,1fr);gap:40px;padding-top:26px}
  .frame > aside{order:1}
  .frame > main{order:2}
  .rail{position:sticky;top:96px}
  .rail-list{flex-direction:column;flex-wrap:nowrap}
  .hero{min-height:64vh}
}

@media (min-width:1000px){
  .top{flex-wrap:nowrap;gap:14px}
  .nav{order:2;flex:1 1 auto;width:auto;justify-content:flex-end;margin-left:auto}
  .nav > menu{
    width:auto;
    flex:0 1 auto;
    overflow:visible;
    flex-wrap:wrap;
    justify-content:flex-end;
    padding:0;
  }
  .cta{order:3;margin-left:0}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  .reveal{opacity:1;transform:none}
}
</br>

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