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

:root{
  --ice:#c8e0f4;
  --ice-deep:#b3d3ee;
  --rose:#f5e0e8;
  --ink:#171f26;
  --base:#e8eff5;
  --base-2:#dde8f1;
  --light:rgba(255,255,255,.92);
  --dark:rgba(23,31,38,.16);
  --r-lg:18px;
  --r-md:14px;
  --pill:999px;
  --rail:184px;
  --font:"Plus Jakarta Sans","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;
}

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

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

body{
  margin:0;
  padding-left:calc(var(--rail) + 44px);
  font-family:var(--font);
  font-size:16.5px;
  line-height:1.72;
  color:var(--ink);
  background:linear-gradient(145deg,var(--base) 0%,#eef4f9 46%,var(--base-2) 100%);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
}

img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid #6f9cc4;outline-offset:3px;border-radius:8px}

/* ---------- 左侧固定竖排胶囊导航 ---------- */
.masthead{
  position:fixed;
  inset:20px auto 20px 20px;
  width:var(--rail);
  display:flex;
  flex-direction:column;
  gap:18px;
  z-index:30;
  overflow-y:auto;
  scrollbar-width:none;
}
.masthead::-webkit-scrollbar{display:none}

.brand{
  flex:0 0 auto;
  width:56px;
  height:56px;
  min-height:44px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:linear-gradient(145deg,#f0f6fb,#dbe7f1);
  box-shadow:-4px -4px 10px var(--light),5px 5px 14px var(--dark);
  transition:transform .15s ease,box-shadow .15s ease;
}
.brand:hover{transform:translateY(-1px)}
.brand:active{
  transform:scale(.96);
  box-shadow:inset -3px -3px 8px var(--light),inset 4px 4px 10px var(--dark);
}
.brand-mark{width:34px;height:34px;object-fit:contain}
.brand-letter{font-size:22px;font-weight:700;letter-spacing:.02em}

.jump p{margin:0;display:flex;flex-direction:column;gap:9px}
.jump a{
  position:relative;
  display:flex;
  align-items:center;
  min-height:44px;
  padding:11px 16px 13px;
  border-radius:var(--pill);
  font-size:16px;
  line-height:1.3;
  background:linear-gradient(145deg,#eef5fa,#dde8f1);
  box-shadow:-3px -3px 8px var(--light),4px 4px 11px var(--dark);
  transition:transform .15s ease,box-shadow .15s ease,color .15s ease;
}
.jump a::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:8px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--ice),var(--rose));
  opacity:0;
  transition:opacity .15s ease;
}
.jump a:hover{transform:translateY(-1px)}
.jump a:hover::after,.jump a:focus-visible::after{opacity:1}
.jump a:active{
  transform:scale(.97);
  box-shadow:inset -2px -2px 6px var(--light),inset 3px 3px 9px var(--dark);
}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  gap:26px;
  padding:104px 40px 40px;
}
.hero-badge{
  position:absolute;
  top:24px;
  right:40px;
  padding:8px 18px;
  border-radius:var(--pill);
  font-size:15.5px;
  letter-spacing:.03em;
  color:#22303b;
  background:linear-gradient(145deg,var(--ice),var(--ice-deep));
  box-shadow:-3px -3px 8px var(--light),4px 4px 12px rgba(23,31,38,.2);
}
.hero-top{
  margin-left:auto;
  max-width:min(760px,100%);
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:18px;
  text-align:right;
}
.hero-title{
  margin:0;
  font-size:clamp(34px,5.2vw,62px);
  line-height:1.12;
  letter-spacing:-.02em;
  font-weight:700;
  text-shadow:1px 1px 0 rgba(255,255,255,.7);
}
.hero-lede{
  margin:0;
  max-width:52ch;
  font-size:17px;
  color:rgba(23,31,38,.72);
}
.hero-media{
  margin:auto 0 0;
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:-8px -8px 22px var(--light),10px 10px 26px var(--dark);
}
.hero-pic{width:100%;max-height:44svh;object-fit:cover}

/* ---------- 正文骨架 ---------- */
.wrap{
  max-width:1120px;
  margin:0 auto;
  padding:8px 40px 80px;
}
.stage{
  display:grid;
  grid-template-columns:minmax(0,1fr) 268px;
  gap:34px;
  align-items:start;
}

.prose{min-width:0}
.prose > section{
  position:relative;
  margin:0 0 30px;
  padding:30px 30px 36px;
  border-radius:var(--r-lg);
  background:linear-gradient(145deg,#eff5fa,#e2ecf4);
  box-shadow:-6px -6px 16px var(--light),7px 7px 19px var(--dark);
  scroll-margin-top:24px;
}
.prose > section::after{
  content:"";
  position:absolute;
  left:30px;
  bottom:14px;
  width:78px;
  height:3px;
  border-radius:3px;
  background:linear-gradient(90deg,var(--ice),var(--rose));
}
.prose [id]{scroll-margin-top:24px}

.prose h2{
  margin:0 0 14px;
  font-size:clamp(22px,2.4vw,28px);
  line-height:1.3;
  letter-spacing:-.01em;
}
.prose h3{
  margin:22px 0 10px;
  font-size:19px;
  line-height:1.4;
}
.prose h2 > span,.prose h3 > span,.rail-h span,.cta-h span{
  background-image:linear-gradient(transparent 70%,rgba(200,224,244,.9) 70%);
  padding-bottom:2px;
}
.prose p{margin:0 0 14px}
.prose p:last-child{margin-bottom:0}
.prose ul,.prose ol{margin:0 0 14px;padding-left:1.3em}
.prose li{margin:0 0 8px}
.prose li::marker{color:#6f9cc4}
.prose a{
  text-decoration:underline;
  text-decoration-color:rgba(23,31,38,.28);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.prose a:hover{text-decoration-color:var(--ink)}
.prose img{
  border-radius:var(--r-md);
  margin:14px 0;
  box-shadow:-4px -4px 12px var(--light),5px 5px 14px var(--dark);
}
.prose strong{font-weight:700}
.prose blockquote{
  margin:0 0 14px;
  padding:14px 18px;
  border-radius:var(--r-md);
  background:linear-gradient(145deg,var(--rose),#f7e9ef);
  box-shadow:inset -3px -3px 8px rgba(255,255,255,.85),inset 3px 3px 9px rgba(23,31,38,.09);
}
.prose blockquote p:last-child{margin-bottom:0}

/* ---------- 右侧栏 ---------- */
.rail{
  position:sticky;
  top:24px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.rail-card{
  padding:16px;
  border-radius:var(--r-md);
  background:linear-gradient(145deg,#eff5fa,#e1ebf4);
  box-shadow:-5px -5px 13px var(--light),6px 6px 16px var(--dark);
}
.rail-h{
  margin:0 0 10px;
  font-size:16px;
  letter-spacing:.08em;
  font-weight:700;
}
.rail-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.rail-list a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:6px 10px;
  border-radius:10px;
  font-size:16px;
  transition:background .15s ease,box-shadow .15s ease,transform .15s ease;
}
.rail-list a:hover{
  background:rgba(255,255,255,.62);
  box-shadow:inset 2px 2px 6px rgba(23,31,38,.09),inset -2px -2px 6px rgba(255,255,255,.9);
  transform:translateX(2px);
}
.top-btn{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:9px 18px;
  border-radius:var(--pill);
  font-size:16px;
  background:linear-gradient(145deg,#eef5fa,#dde8f1);
  box-shadow:-3px -3px 8px var(--light),4px 4px 11px var(--dark);
  transition:transform .15s ease,box-shadow .15s ease;
}
.top-btn:active{
  transform:scale(.97);
  box-shadow:inset -2px -2px 6px var(--light),inset 3px 3px 9px var(--dark);
}

/* ---------- 页脚 ---------- */
.colophon{
  max-width:1120px;
  margin:40px auto 0;
  padding:0 40px 44px;
}
.cta{
  padding:40px 30px;
  border-radius:24px;
  text-align:center;
  background:linear-gradient(145deg,var(--ice),var(--ice-deep));
  box-shadow:-8px -8px 20px var(--light),10px 10px 24px rgba(23,31,38,.22);
}
.cta-h{margin:0;font-size:clamp(24px,3vw,34px)}
.cta-h span{background-image:linear-gradient(transparent 72%,rgba(255,255,255,.75) 72%)}
.cta-h a{
  display:inline-flex;
  align-items:center;
  min-height:56px;
  padding:10px 32px;
  border-radius:var(--pill);
  background:linear-gradient(145deg,#f9fcfe,#dfeaf3);
  box-shadow:-4px -4px 10px rgba(255,255,255,.9),5px 5px 14px rgba(23,31,38,.2);
  transition:transform .15s ease,box-shadow .15s ease;
}
.cta-h a:hover{transform:translateY(-2px)}
.cta-h a:active{
  transform:scale(.97);
  box-shadow:inset -3px -3px 8px rgba(255,255,255,.9),inset 4px 4px 10px rgba(23,31,38,.2);
}

.cols{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
  margin:38px 0 26px;
}
.cols dl{
  margin:0;
  padding:20px;
  border-radius:var(--r-md);
  background:linear-gradient(145deg,#eff5fa,#e2ecf4);
  box-shadow:-4px -4px 12px var(--light),5px 5px 15px var(--dark);
}
.cols dt{
  margin-bottom:10px;
  font-size:16px;
  letter-spacing:.1em;
  color:rgba(23,31,38,.62);
}
.cols dd{
  margin:0;
  display:flex;
  flex-direction:column;
  font-size:16px;
}
.cols dd a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:4px 0;
  border-bottom:1px solid rgba(255,255,255,.75);
}
.cols dd a:last-child{border-bottom:0}
.cols dd a:hover{color:#0b1218}
.copy{
  margin:0;
  text-align:center;
  font-size:16px;
  color:rgba(23,31,38,.6);
}

/* ---------- 动效 ---------- */
@keyframes rise{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
.jump a{animation:rise .45s ease-out both}
.jump a:nth-child(1){animation-delay:.02s}
.jump a:nth-child(2){animation-delay:.06s}
.jump a:nth-child(3){animation-delay:.1s}
.jump a:nth-child(4){animation-delay:.14s}
.jump a:nth-child(5){animation-delay:.18s}
.jump a:nth-child(6){animation-delay:.22s}
.jump a:nth-child(7){animation-delay:.26s}
.rail-list li{animation:rise .4s ease-out both}
.rail-list li:nth-child(1){animation-delay:.05s}
.rail-list li:nth-child(2){animation-delay:.09s}
.rail-list li:nth-child(3){animation-delay:.13s}
.rail-list li:nth-child(4){animation-delay:.17s}
.rail-list li:nth-child(5){animation-delay:.21s}
.rail-list li:nth-child(6){animation-delay:.25s}
.rail-list li:nth-child(7){animation-delay:.29s}
.hero-top,.hero-badge{animation:rise .6s ease-out both}

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

/* ---------- 窄屏 ---------- */
@media (max-width:900px){
  body{padding-left:0}

  .masthead{
    position:sticky;
    inset:auto;
    top:0;
    width:auto;
    flex-direction:row;
    align-items:center;
    gap:12px;
    padding:10px 14px;
    overflow:visible;
    background:rgba(232,239,245,.94);
    box-shadow:0 6px 18px rgba(23,31,38,.12);
  }
  .brand{width:44px;height:44px;border-radius:14px}
  .brand-letter{font-size:18px}
  .brand-mark{width:26px;height:26px}
  .jump{flex:1 1 auto;min-width:0}
  .jump p{
    flex-direction:row;
    gap:8px;
    overflow-x:auto;
    padding:2px;
    scrollbar-width:none;
  }
  .jump p::-webkit-scrollbar{display:none}
  .jump a{flex:0 0 auto;white-space:nowrap;padding:11px 15px}

  .hero{
    min-height:88svh;
    padding:76px 20px 26px;
    gap:20px;
  }
  .hero-badge{top:16px;right:18px;font-size:15px;padding:7px 14px}
  .hero-lede{font-size:16.5px}

  .wrap{padding:18px 18px 56px}
  .stage{grid-template-columns:minmax(0,1fr);gap:26px}
  .prose > section{padding:22px 18px 32px;scroll-margin-top:96px}
  .prose > section::after{left:18px}
  .prose [id]{scroll-margin-top:96px}

  .rail{position:static}
  .rail-list a{min-height:44px}

  .colophon{padding:0 18px 40px}
  .cta{padding:30px 20px}
  .cols{grid-template-columns:minmax(0,1fr);gap:16px;margin:26px 0 20px}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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