@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root{
  --bg:#0B0F14;
  --cy:#00E5FF;
  --or:#FF6A3D;
  --ink:#E9F5F8;
  --body:#BCCBD2;
  --dim:#7C9099;
  --line:rgba(0,229,255,.16);
  --line-soft:rgba(0,229,255,.08);
  --panel:rgba(0,229,255,.045);
  --mono:'Fira Code','Share Tech Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --wide:1160px;
}

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

html{
  scroll-behavior:smooth;
  background:var(--bg);
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--body);
  font-family:var(--mono);
  font-size:17px;
  line-height:1.75;
  letter-spacing:.01em;
  overflow-x:hidden;
}

img{max-width:100%;display:block}
a{color:var(--cy);text-decoration:none}
a:hover{color:#7DF2FF}

h1,h2,h3{color:var(--ink);font-weight:600;letter-spacing:.01em;margin:0}

main [id]{scroll-margin-top:96px}

/* ---------- 顶栏 ---------- */
.topbar{
  position:sticky;
  top:0;
  z-index:60;
  display:flex;
  align-items:center;
  gap:14px;
  padding:8px clamp(12px,3vw,28px);
  background:rgba(11,15,20,.86);
  border-bottom:1px solid var(--line-soft);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:0 8px;
  color:var(--ink);
  font-size:16px;
  letter-spacing:.16em;
  white-space:nowrap;
}
.brand:hover{color:var(--ink)}
.brand-mark{
  width:11px;height:11px;border-radius:3px;
  background:var(--cy);
  box-shadow:0 0 0 3px rgba(0,229,255,.12),0 0 16px rgba(0,229,255,.8);
}

.nav{flex:1 1 auto;min-width:0}
.nav ol{
  display:flex;
  justify-content:flex-end;
  gap:2px;
  margin:0;
  padding:0;
  list-style:none;
  overflow-x:auto;
  scrollbar-width:none;
}
.nav ol::-webkit-scrollbar{display:none}
.nav a{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  padding:0 10px;
  font-size:16px;
  line-height:1.2;
  color:var(--dim);
  white-space:nowrap;
  border-bottom:2px solid transparent;
}
.nav a:hover{color:var(--ink);border-bottom-color:var(--cy)}
.ico{
  width:6px;height:6px;
  border:1px solid currentColor;
  border-radius:1px;
  flex:0 0 auto;
  opacity:.75;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border:1px solid var(--cy);
  border-radius:999px;
  color:var(--cy);
  font-size:16px;
  letter-spacing:.14em;
  white-space:nowrap;
  box-shadow:inset 0 0 18px rgba(0,229,255,.10);
}
.cta:hover{background:var(--cy);color:#04141A;box-shadow:0 0 22px rgba(0,229,255,.45)}

.track{
  position:fixed;
  top:0;left:0;right:0;
  height:2px;
  z-index:80;
  pointer-events:none;
  background:rgba(0,229,255,.08);
}
.track span{
  display:block;
  height:100%;
  width:100%;
  transform:scaleX(0);
  transform-origin:0 50%;
  background:linear-gradient(90deg,var(--cy),var(--or));
}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  display:flex;
  align-items:center;
  min-height:100vh;
  min-height:100svh;
  padding:clamp(72px,10vh,120px) clamp(16px,5vw,64px) clamp(56px,9vh,96px);
  overflow:hidden;
  border-bottom:1px solid var(--line-soft);
  isolation:isolate;
}
.hero-layer{
  position:absolute;
  inset:-12% -6%;
  pointer-events:none;
  will-change:transform;
}
.hero-grid{
  background-image:radial-gradient(circle,rgba(0,229,255,.20) 1px,transparent 1px);
  background-size:28px 28px;
  -webkit-mask-image:radial-gradient(120% 90% at 20% 30%,#000 10%,transparent 78%);
  mask-image:radial-gradient(120% 90% at 20% 30%,#000 10%,transparent 78%);
  opacity:.75;
}
.hero-glow-a,.hero-glow-b{inset:auto;filter:blur(2px)}
.hero-glow-a{
  width:62vw;height:62vw;
  left:-16vw;bottom:-22vw;
  background:radial-gradient(closest-side,rgba(0,229,255,.22),transparent 72%);
}
.hero-glow-b{
  width:48vw;height:48vw;
  right:-12vw;top:-16vw;
  background:radial-gradient(closest-side,rgba(255,106,61,.20),transparent 72%);
}
.hero-media{
  inset:0;
  opacity:.30;
  -webkit-mask-image:linear-gradient(to bottom,#000 30%,rgba(0,0,0,.15) 92%,transparent);
  mask-image:linear-gradient(to bottom,#000 30%,rgba(0,0,0,.15) 92%,transparent);
}
.hero-shot{width:100%;height:100%;object-fit:cover;filter:grayscale(.25) contrast(1.08)}

.hero-body{position:relative;z-index:2;width:100%;max-width:var(--wide);margin:0 auto}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 26px;
  font-size:16px;
  letter-spacing:.34em;
  color:var(--cy);
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--cy);
  box-shadow:0 0 12px var(--cy);
  animation:pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}

.hero h1{
  margin:0;
  max-width:16em;
  font-size:clamp(2.1rem,6.4vw,4.9rem);
  line-height:1.08;
  letter-spacing:-.015em;
  text-shadow:0 0 34px rgba(0,229,255,.28),0 0 90px rgba(255,106,61,.16);
}

.cue{margin:44px 0 0}
.cue a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 4px 0 16px;
  border-left:2px solid var(--or);
  font-size:16px;
  letter-spacing:.24em;
  color:var(--dim);
}
.cue a:hover{color:var(--ink);border-left-color:var(--cy)}

/* ---------- 正文 ---------- */
.story{
  position:relative;
  max-width:var(--wide);
  margin:0 auto;
  padding:clamp(56px,9vw,116px) clamp(16px,4vw,40px) clamp(64px,9vw,110px);
}

.story-h2{
  font-size:clamp(1.55rem,3.6vw,2.5rem);
  line-height:1.24;
  max-width:24em;
}

.subtitle{
  margin:16px 0 0;
  padding-left:14px;
  border-left:2px solid var(--line);
  color:var(--dim);
  font-size:16px;
  max-width:56ch;
}

.plate{
  position:relative;
  margin:clamp(30px,5vw,52px) 0 clamp(40px,6vw,64px);
  aspect-ratio:16/7;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#080C10;
}
.plate::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:3px;
  background:linear-gradient(90deg,var(--or),transparent 62%);
}
.plate-art{
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle at 22% 30%,rgba(0,229,255,.22),transparent 58%),
    radial-gradient(circle at 82% 74%,rgba(255,106,61,.22),transparent 56%),
    radial-gradient(circle,rgba(255,255,255,.10) 1px,transparent 1px);
  background-size:auto,auto,22px 22px;
}
.plate-shot{
  position:absolute;
  inset:0;
  width:100%;height:100%;
  object-fit:cover;
  opacity:.85;
}

.story-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 296px;
  gap:clamp(32px,5vw,60px);
  align-items:start;
}

.story-body{min-width:0}
.story-body section{
  padding:clamp(26px,4vw,44px) 0;
  border-top:1px solid var(--line-soft);
}
.story-body section:first-child{border-top:0;padding-top:0}

.story-body h2{
  font-size:clamp(1.25rem,2.4vw,1.66rem);
  line-height:1.35;
  letter-spacing:.005em;
}
.story-body h2::before{
  content:"";
  display:inline-block;
  width:9px;height:9px;
  margin-right:12px;
  border:1px solid var(--or);
  transform:translateY(-2px) rotate(45deg);
}
.story-body h3{
  margin-top:30px;
  font-size:1.08rem;
  color:#DDF2F7;
}
.story-body p{margin:16px 0;color:var(--body);max-width:74ch}
.story-body ul,.story-body ol{margin:16px 0;padding-left:1.35em;color:var(--body)}
.story-body li{margin:8px 0}
.story-body li::marker{color:var(--cy)}
.story-body strong{color:var(--ink)}
.story-body a{border-bottom:1px solid rgba(0,229,255,.45)}
.story-body a:hover{border-bottom-color:var(--or)}
.story-body blockquote{
  margin:24px 0;
  padding:14px 18px;
  border-left:3px solid var(--or);
  border-radius:0 12px 12px 0;
  background:rgba(255,106,61,.06);
  color:#DCE9EE;
}
.story-body blockquote p{margin:6px 0}
.story-body figure{margin:24px 0}
.story-body figcaption{font-size:16px;color:var(--dim);margin-top:8px}
.story-body table{width:100%;border-collapse:collapse;margin:22px 0;font-size:16px}
.story-body th,.story-body td{border:1px solid var(--line-soft);padding:10px 12px;text-align:left}
.story-body th{color:var(--ink);background:var(--panel)}
.story-body code{
  font-size:.94em;
  padding:2px 6px;
  border-radius:6px;
  background:rgba(0,229,255,.10);
  color:#B8F6FF;
}

/* ---------- 侧栏 ---------- */
.rail{
  position:sticky;
  top:96px;
  padding:20px 18px 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel);
  box-shadow:inset 0 0 40px rgba(0,229,255,.05);
  border-bottom:3px solid var(--cy);
}
.rail h2{font-size:1.02rem;letter-spacing:.24em;color:var(--cy)}
.rail .subtitle{
  margin:10px 0 16px;
  padding-left:0;
  border-left:0;
  font-size:16px;
  color:var(--dim);
}
.rail-list{
  counter-reset:rail;
  margin:0;
  padding:0;
  list-style:none;
  border-top:1px solid var(--line-soft);
}
.rail-list li{border-bottom:1px solid var(--line-soft)}
.rail-list a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:4px 0;
  font-size:16px;
  line-height:1.35;
  color:var(--body);
}
.rail-list a::before{
  counter-increment:rail;
  content:counter(rail,decimal-leading-zero);
  font-size:13px;
  color:var(--or);
  letter-spacing:.06em;
  flex:0 0 auto;
}
.rail-list a:hover{color:var(--cy)}
.rail-foot{margin:16px 0 0}
.rail-foot a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  font-size:16px;
  color:var(--dim);
  letter-spacing:.14em;
}
.rail-foot a::before{content:"↑";margin-right:8px;color:var(--cy)}
.rail-foot a:hover{color:var(--cy)}

/* ---------- 页脚 ---------- */
footer{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:34px 18px 44px;
  border-top:1px solid var(--line-soft);
  background:linear-gradient(180deg,rgba(0,229,255,.04),transparent);
  text-align:center;
}
footer p{
  margin:0;
  font-size:16px;
  letter-spacing:.22em;
  color:var(--ink);
}
footer small{
  font-size:16px;
  line-height:1.7;
  color:var(--dim);
  max-width:60ch;
}

/* ---------- 揭示动画 ---------- */
.js .reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .75s ease,transform .75s cubic-bezier(.2,.72,.2,1);
  will-change:opacity,transform;
}
.js .reveal.is-in{opacity:1;transform:none}
.js .story-body section.reveal{transform:translateY(20px)}

/* ---------- 响应式 ---------- */
@media (max-width:960px){
  .story-grid{grid-template-columns:minmax(0,1fr)}
  .rail{position:static;order:2;margin-top:12px}
}

@media (max-width:900px){
  .topbar{flex-wrap:wrap;padding-bottom:6px}
  .nav{order:3;flex:0 0 100%;width:100%}
  .nav ol{justify-content:flex-start padding}
  .nav ol{justify-content:flex-start}
  .cta{margin-left:auto}
  .brand{margin-right:auto}
  .hero{padding-top:clamp(56px,12vh,90px)}
  main [id]{scroll-margin-top:132px}
}

@media (max-width:600px){
  body{font-size:16px}
  .hero{min-height:92svh}
  .eyebrow{letter-spacing:.26em}
  .plate{aspect-ratio:4/3;border-radius:14px}
  .story-h2{font-size:1.5rem}
  .rail{border-radius:14px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .dot{animation:none}
  .js .reveal{opacity:1;transform:none;transition:none}
  .hero-layer{will-change:auto}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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