:root{
--green:#00ff80;
--blue:#0000ff;
--ink:#000000;
--paper:#ffffff;
--line:3px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
margin:0;
background:var(--ink);
color:var(--paper);
font-family:Inter,system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
font-size:17px;
line-height:1.7;
overflow-x:hidden;
}
h1,h2,h3,h4{
font-family:"Playfair Display",Georgia,"Songti SC",serif;
font-weight:700;
line-height:1.06;
margin:0 0 .5em;
}
p{margin:0 0 1em}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
ul,ol{margin:0 0 1em;padding-left:1.3rem}
li{margin:.35rem 0}
li::marker{color:var(--green)}
::selection{background:var(--green);color:#000}
:focus-visible{outline:3px solid var(--green);outline-offset:2px}

/* ---------- 页头 ---------- */
.top{
position:sticky;
top:0;
z-index:30;
background:var(--ink);
border-bottom:var(--line) solid var(--green);
}
.nav-panel{
display:grid;
grid-template-columns:1fr auto 1fr auto;
align-items:center;
gap:.4rem;
padding:.45rem .8rem;
}
.nav ul{
display:flex;
flex-wrap:wrap;
gap:.1rem;
list-style:none;
margin:0;
padding:0;
}
.nav-l ul{justify-content:flex-end}
.nav a{
display:flex;
align-items:center;
gap:.45rem;
padding:.7rem .55rem;
font-size:1rem;
font-weight:600;
min-height:44px;
}
.nav a:hover,
.nav a:focus-visible{background:var(--green);color:#000}
.ico{
display:block;
flex:0 0 10px;
width:10px;
height:10px;
background:var(--green);
}
.nav a:hover .ico{background:#000}
.brand{
display:flex;
align-items:center;
gap:.5rem;
padding:.35rem .7rem;
font-family:"Playfair Display",Georgia,serif;
font-size:1.35rem;
font-weight:700;
color:var(--green);
border:2px solid var(--green);
white-space:nowrap;
}
.brand-mark{width:36px;height:36px;object-fit:cover;border:2px solid var(--green)}
.cta{
justify-self:end;
display:flex;
align-items:center;
min-height:44px;
padding:.7rem 1rem;
background:var(--green);
color:#000;
font-weight:700;
border:var(--line) solid var(--green);
}
.cta:hover,.cta:focus-visible{background:var(--blue);border-color:var(--blue);color:#fff}

/* ---------- 首屏 ---------- */
.hero{
position:relative;
overflow:hidden;
display:grid;
align-content:start;
min-height:calc(100svh - 210px);
padding:4.6rem 1rem 2rem;
background:#000;
border-bottom:var(--line) solid var(--blue);
}
.hero-img{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
filter:grayscale(1) contrast(1.15);
opacity:.42;
border:0;
margin:0;
}
.hero::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(165deg,rgba(0,0,0,.1),rgba(0,0,0,.92) 72%);
}
.ghost{
position:absolute;
top:.6rem;
left:-.04em;
z-index:1;
font-family:"Playfair Display",Georgia,serif;
font-weight:700;
font-size:3.1rem;
line-height:.85;
white-space:nowrap;
color:transparent;
-webkit-text-stroke:1px rgba(0,255,128,.55);
}
.hero-copy{
position:relative;
z-index:2;
justify-self:end;
text-align:right;
max-width:100%;
}
.hero-copy h1{
margin:0;
font-size:clamp(2.2rem,10vw,3.1rem);
color:#fff;
padding-right:.3em;
border-right:8px solid var(--green);
text-shadow:0 4px 0 rgba(0,0,0,.65);
}

/* ---------- 主体 ---------- */
main{display:block}
article{
display:grid;
grid-template-columns:minmax(0,1fr);
gap:1.4rem;
max-width:1280px;
margin:0 auto;
padding:1.4rem 1rem 3rem;
}

/* ---------- 侧栏 ---------- */
.rail{
align-self:start;
border:var(--line) solid var(--green);
background:#050505;
padding:1rem;
}
.rail-kicker{
margin:0 0 .7rem;
font-weight:700;
letter-spacing:.3em;
font-size:1rem;
color:var(--green);
}
.rail ul{list-style:none;margin:0;padding:0}
.rail li{margin:0;border-top:1px solid #1e1e1e}
.rail li:first-child{border-top:0}
.rail li a{
display:flex;
align-items:center;
gap:.6rem;
min-height:44px;
padding:.7rem .35rem;
font-weight:600;
}
.rail li a:hover,
.rail li a:focus-visible{background:var(--green);color:#000}
.rail li a:hover .ico{background:#000}
.to-top{
display:flex;
align-items:center;
justify-content:center;
min-height:44px;
margin-top:1rem;
padding:.7rem .5rem;
background:var(--blue);
border:var(--line) solid var(--blue);
color:#fff;
font-weight:700;
}
.to-top:hover,.to-top:focus-visible{background:var(--green);border-color:var(--green);color:#000}

/* ---------- 正文 ---------- */
.body{counter-reset:sec;min-width:0}
.lede{
padding:0 0 1.4rem;
border-bottom:var(--line) solid var(--green);
margin-bottom:.4rem;
}
.lede h2{
font-size:clamp(1.7rem,5vw,2.5rem);
color:var(--green);
margin:0 0 .5em;
}
.subtitle{
margin:0;
max-width:60ch;
padding-left:1rem;
border-left:6px solid var(--blue);
color:#c9c9c9;
}
.body > section{
counter-increment:sec;
padding:2rem 0;
border-top:var(--line) solid var(--blue);
scroll-margin-top:96px;
}
.body > section:first-of-type{border-top:0;padding-top:.4rem}
.body > section > h2{
display:flex;
align-items:baseline;
gap:.5rem;
flex-wrap:wrap;
font-size:clamp(1.6rem,4.4vw,2.5rem);
color:#fff;
}
.body > section > h2::before{
content:counter(sec,decimal-leading-zero);
font-size:.62em;
color:var(--green);
letter-spacing:.05em;
-webkit-text-stroke:0;
}
.body h3{
font-size:clamp(1.25rem,3vw,1.6rem);
color:var(--green);
margin-top:1.6em;
}
.body p{max-width:64ch;color:#dedede}
.body strong{color:var(--green)}
.body em{color:#fff;font-style:normal;border-bottom:2px dashed var(--green)}
.body a{
color:var(--green);
border-bottom:2px solid var(--green);
font-weight:600;
}
.body a:hover,.body a:focus-visible{background:var(--green);color:#000}
.body ul,.body ol{padding-left:1.25rem}
.body img{border:var(--line) solid var(--green);margin:1.2rem 0;width:auto}
.body figure{margin:1.4rem 0}
.body figcaption{font-size:1rem;color:#9d9d9d}
.body blockquote{
margin:1.6rem 0;
padding:1rem 1.2rem;
border-left:8px solid var(--green);
background:#0b0b0b;
color:#fff;
}
.body blockquote p:last-child{margin:0}
.body table{width:100%;border-collapse:collapse;margin:1.2rem 0;font-size:1rem}
.body th,.body td{border:2px solid #333;padding:.55rem .65rem;text-align:left}
.body th{background:#0d0d0d;color:var(--green)}
.body hr{border:0;border-top:var(--line) solid var(--blue);margin:2rem 0}
.body code{
font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
background:#101010;
border:1px solid #2a2a2a;
padding:.1em .35em;
color:var(--green);
}

/* ---------- 页脚 ---------- */
footer{
border-top:var(--line) solid var(--green);
padding:2rem 1rem;
text-align:center;
background:#000;
}
footer p{
margin:0 0 .4rem;
font-weight:700;
letter-spacing:.12em;
font-size:1rem;
}
footer small{display:block;font-size:1rem;color:#8d8d8d}

/* ---------- 动效 ---------- */
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.nav li,.rail li{animation:rise .3s steps(3,end) both}
.nav li:nth-child(2),.rail li:nth-child(2){animation-delay:.05s}
.nav li:nth-child(3),.rail li:nth-child(3){animation-delay:.1s}
.rail li:nth-child(4){animation-delay:.15s}
.rail li:nth-child(5){animation-delay:.2s}
.rail li:nth-child(6){animation-delay:.25s}
.rail li:nth-child(7){animation-delay:.3s}
.body > section{animation:rise .35s steps(3,end) both}
.body > section:nth-child(2){animation-delay:.06s}
.body > section:nth-child(3){animation-delay:.12s}
.body > section:nth-child(4){animation-delay:.18s}
.body > section:nth-child(5){animation-delay:.24s}
.body > section:nth-child(6){animation-delay:.3s}
.body > section:nth-child(7){animation-delay:.36s}
.body > section:nth-child(8){animation-delay:.42s}

@media (prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*{animation:none!important;transition:none!important}
}

/* ---------- 移动端 ---------- */
@media (max-width:900px){
.top{position:static}
.nav-panel{
grid-template-columns:1fr auto;
grid-template-areas:
"brand cta"
"navl navl"
"navr navr";
padding:.5rem .7rem;
gap:.3rem;
}
.brand{grid-area:brand;justify-self:start;font-size:1.1rem;padding:.3rem .5rem}
.cta{grid-area:cta;padding:.55rem .8rem}
.nav-l{grid-area:navl}
.nav-r{grid-area:navr}
.nav ul{display:grid;grid-template-columns:1fr 1fr;gap:0}
.nav-l ul{justify-content:start}
.nav a{border-top:1px solid #1c1c1c;padding:.6rem .4rem}
.hero{min-height:calc(100svh - 230px);padding:4.4rem .8rem 2rem}
.ghost{font-size:2.9rem}
.hero-copy h1{font-size:clamp(2rem,9vw,2.6rem)}
article{padding:1.2rem .8rem 2.5rem}
.body > section{padding:1.7rem 0;scroll-margin-top:16px}
}

@media (min-width:1000px){
.hero{
min-height:calc(100svh - 92px);
align-content:end;
padding:2rem 2rem 3.5rem;
}
.ghost{top:1rem;font-size:clamp(6rem,17vw,14rem)}
.hero-copy h1{font-size:clamp(3rem,7vw,5.6rem)}
article{
grid-template-columns:minmax(0,1fr) 300px;
gap:2.6rem;
padding:3rem 2rem 5rem;
}
.rail{grid-column:2;grid-row:1}
.body{grid-column:1;grid-row:1}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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