@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root{
  --ink:#000000;
  --face:#121212;
  --face-2:#1a1a1a;
  --line:#242424;
  --line-hi:#4d4d4d;
  --txt:#f4f4f4;
  --txt-2:#c9c9c9;
  --txt-3:#9b9b9b;
  --mid:#101a2c;
  --neon:#59f2c0;
  --neon-2:#63b6ff;
  --r:10px;
  --wide:1180px;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--ink);scroll-behavior:smooth}
body{
  margin:0;
  background:var(--ink);
  color:var(--txt);
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--neon);text-decoration:none}
a:hover{color:#fff}
a:focus-visible,summary:focus-visible{outline:2px solid var(--neon);outline-offset:3px;border-radius:4px}
p{margin:0 0 16px}
div{scroll-margin-top:158px}
.skip{position:absolute;left:-9999px;top:0;background:var(--neon);color:#000;font-weight:700;padding:10px 16px;z-index:99;border-radius:0 0 var(--r) 0}
.skip:focus{left:0;top:0}

/* 顶部两行：品牌行在上，菜单行在下 */
.top{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(0,0,0,.92);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.brandline{max-width:var(--wide);margin:0 auto;padding:12px 20px 0}
.brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  min-height:44px;
  color:var(--txt);
  font-weight:800;
  font-size:18px;
  letter-spacing:.01em;
}
.brand:hover{color:var(--neon)}
.brand .mark{width:30px;height:30px;border-radius:8px;border:1px solid var(--line-hi);object-fit:cover}
.menu-wrap{max-width:var(--wide);margin:0 auto;padding:0 20px}
.menu-wrap > summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:6px 0 10px;
  color:var(--txt-2);
  font-size:16px;
  letter-spacing:.04em;
  user-select:none;
}
.menu-wrap > summary::-webkit-details-marker{display:none}
.menu-wrap > summary::after{
  content:"";
  width:8px;height:8px;
  border-right:2px solid var(--neon);
  border-bottom:2px solid var(--neon);
  transform:rotate(45deg) translateY(-2px);
  transition:transform .2s ease;
}
.menu-wrap[open] > summary::after{transform:rotate(-135deg) translateY(-2px)}
.menu-wrap[open] > summary{color:#fff}
.menu-wrap > menu{
  margin:0;
  padding:0 0 14px;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.menu-wrap > menu > li > a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:var(--r);
  color:var(--txt-2);
  font-size:16px;
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}
.menu-wrap > menu > li > a:hover,
.menu-wrap > menu > li > a:focus-visible{
  border-color:var(--neon);
  color:#fff;
  background:var(--face);
}

/* 首屏 */
.hero{
  position:relative;
  min-height:70vh;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  padding:clamp(24px,5vw,64px) clamp(20px,5vw,64px);
  overflow:hidden;
  border-bottom:1px solid var(--line);
  background:radial-gradient(130% 110% at 72% 10%,var(--mid) 0%,#000 68%);
}
.hero-figure{position:absolute;left:0;right:0;top:-8%;height:116%;margin:0;z-index:0}
.hero-figure .slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  filter:brightness(.6) saturate(1.05);
  will-change:opacity;
}
.hero-figure .slide:first-child{opacity:1}
.hero-figure::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(255deg,rgba(0,0,0,.92) 6%,rgba(0,0,0,.32) 54%,rgba(0,0,0,.74) 100%);
}
.multi .slide{animation:cyc 18s linear infinite}
.multi .slide:nth-child(2){animation-delay:6s}
.multi .slide:nth-child(3){animation-delay:12s}
@keyframes cyc{
  0%{opacity:1}
  30%{opacity:1}
  34%{opacity:0}
  100%{opacity:0}
}
.hero-copy{position:relative;z-index:1;text-align:right;max-width:660px}
.hero-copy h1{
  margin:0 0 14px;
  font-size:clamp(30px,6.2vw,58px);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.015em;
  text-shadow:0 0 20px rgba(89,242,192,.26);
}
.hero-copy .lede{
  margin:0 0 0 auto;
  max-width:520px;
  color:var(--txt-2);
  font-size:clamp(16px,2vw,19px);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* 正文 + 右侧栏 */
.stage{
  max-width:var(--wide);
  margin:0 auto;
  padding:clamp(28px,5vw,64px) 20px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 272px;
  gap:clamp(24px,4vw,56px);
  align-items:start;
}
.flow{min-width:0}
.flow h2{
  margin:46px 0 14px;
  font-size:clamp(21px,2.6vw,28px);
  line-height:1.25;
  font-weight:800;
  letter-spacing:-.01em;
}
.flow h2:first-child{margin-top:0}
.flow h2 > span{position:relative;display:inline-block;padding-bottom:9px}
.flow h2 > span::after{
  content:"";
  position:absolute;
  left:0;bottom:0;
  width:44px;height:2px;
  background:var(--neon);
  box-shadow:0 0 10px var(--neon);
}
.flow h3{margin:32px 0 10px;font-size:19px;line-height:1.4;font-weight:700}
.flow p{color:var(--txt-2)}
.flow ul,.flow ol{padding-left:22px;color:var(--txt-2)}
.flow li{margin:7px 0}
.flow strong{color:#fff}
.flow figure{
  margin:24px 0;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--face);
  overflow:hidden;
}
.flow figcaption{padding:10px 14px;font-size:14px;color:var(--txt-3);line-height:1.6}
.flow blockquote{
  margin:24px 0;
  padding:14px 18px;
  border-left:2px solid var(--neon);
  background:var(--face);
  border-radius:0 var(--r) var(--r) 0;
  color:var(--txt-2);
}
.flow blockquote p:last-child{margin-bottom:0}
.flow table{display:block;width:100%;overflow-x:auto;border-collapse:collapse;font-size:16px}
.flow th,.flow td{border-bottom:1px solid var(--line);padding:10px 12px;text-align:left}
.flow th{color:var(--neon);font-weight:700}
.flow code{background:var(--face);padding:2px 6px;border-radius:6px;font-size:15px}
.flow hr{border:0;border-top:1px solid var(--line);margin:32px 0}

.rail{
  position:sticky;
  top:140px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--face);
  padding:16px 16px 18px;
}
.rail h2{
  margin:0 0 10px;
  font-size:16px;
  font-weight:700;
  color:var(--txt);
  line-height:1.4;
}
.rail h2 > span{display:inline-block;padding-bottom:6px;border-bottom:1px solid var(--line-hi)}
.rail h2 a{display:inline-flex;align-items:center;min-height:40px;color:var(--neon);font-size:16px}
.rail ol{list-style:none;counter-reset:r;margin:0 0 18px;padding:0;display:grid;gap:2px}
.rail li{counter-increment:r}
.rail li a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:6px 6px;
  border-radius:8px;
  color:var(--txt-2);
  font-size:16px;
}
.rail li a::before{
  content:counter(r,decimal-leading-zero);
  font-size:13px;
  letter-spacing:.08em;
  color:var(--neon);
  opacity:.8;
}
.rail li a:hover,.rail li a:focus-visible{background:var(--face-2);color:#fff}

/* 页脚 */
.foot{border-top:1px solid var(--line);margin-top:24px;padding:clamp(28px,5vw,56px) 20px 26px}
.cta,.foot-grid,.copy{max-width:var(--wide);margin-left:auto;margin-right:auto}
.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  border:1px solid var(--line-hi);
  border-radius:var(--r);
  background:linear-gradient(120deg,var(--mid) 0%,#000 78%);
  padding:clamp(22px,4vw,44px);
}
.cta-line{margin:0}
.cta-brand{
  font-size:clamp(22px,4vw,34px);
  font-weight:800;
  letter-spacing:-.01em;
  text-shadow:0 0 18px rgba(99,182,255,.25);
}
.cta-btn{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:12px 22px;
  border-radius:var(--r);
  background:var(--neon);
  color:#000;
  font-weight:700;
  font-size:16px;
}
.cta-btn:hover{background:#fff;color:#000}
.foot-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:26px;
  margin-top:clamp(28px,4vw,44px);
}
.foot-grid dl{margin:0}
.foot-grid dt{
  font-size:14px;
  letter-spacing:.08em;
  color:var(--neon);
  padding-bottom:8px;
  border-bottom:1px solid var(--line);
}
.foot-grid dd{margin:8px 0 0}
.foot-grid dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--txt-2);
  font-size:16px;
}
.foot-grid dd a:hover{color:#fff}
.foot-brand .brand{font-size:17px}
.kw{color:var(--txt-2)}
.copy{
  margin-top:26px;
  padding-top:16px;
  border-top:1px solid var(--line);
  color:var(--txt-3);
  font-size:14px;
}

@media (max-width:880px){
  div{scroll-margin-top:126px}
  .stage{grid-template-columns:1fr}
  .rail{position:static;order:2}
  .rail ol{grid-template-columns:1fr 1fr;display:grid}
  .foot-grid{grid-template-columns:1fr 1fr}
  .hero{min-height:62vh}
  .menu-wrap > menu{display:grid;grid-template-columns:1fr 1fr}
  .menu-wrap > menu > li > a{justify-content:center}
  .hero-copy{max-width:100%}
}
@media (max-width:560px){
  body{font-size:16px}
  .foot-grid{grid-template-columns:1fr}
  .rail ol{grid-template-columns:1fr}
  .cta{flex-direction:column;align-items:flex-start}
  .cta-btn{width:100%;justify-content:center}
  .hero-copy .lede{-webkit-line-clamp:4}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .multi .slide{animation:none}
  .multi .slide:not(:first-child){display:none}
}

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