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

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

body{
  margin:0;
  background-color:#171f26;
  background-image:
    radial-gradient(880px 520px at 8% -8%, rgba(200,224,244,.11), transparent 62%),
    radial-gradient(760px 480px at 96% 2%, rgba(245,224,232,.09), transparent 60%),
    radial-gradient(700px 600px at 50% 108%, rgba(200,224,244,.07), transparent 65%);
  background-attachment:fixed;
  color:#e6edf4;
  font-family:Cabin,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:17px;
  line-height:1.72;
}

img{max-width:100%}

a{color:#c8e0f4}

:focus-visible{outline:2px solid #c8e0f4;outline-offset:3px;border-radius:8px}

/* 顶部 */
.top{
  max-width:1180px;
  margin:0 auto;
  padding:14px 20px 6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.mark{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:6px 16px 6px 8px;
  border-radius:999px;
  text-decoration:none;
  color:#c8e0f4;
  font-weight:600;
  letter-spacing:.02em;
  background:linear-gradient(145deg,#1f2a34,#141c23);
  box-shadow:-4px -4px 10px rgba(255,255,255,.055),5px 5px 14px rgba(0,0,0,.52);
  transition:transform .15s ease;
}

.mark img{width:30px;height:30px;border-radius:50%;object-fit:cover;display:block}

.mark:active{transform:scale(.97)}

.contact{color:#f5e0e8}

/* 胶囊按钮 */
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 20px;
  border-radius:999px;
  font-size:16px;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
  color:#dbe7f1;
  background:linear-gradient(145deg,#212c37,#141c23);
  box-shadow:-4px -4px 10px rgba(255,255,255,.06),5px 5px 12px rgba(0,0,0,.5);
  transition:transform .15s ease,box-shadow .15s ease,color .15s ease;
}

.pill:hover{color:#ffffff;transform:translateY(-2px)}

.pill:active{
  transform:scale(.97);
  box-shadow:inset 3px 3px 8px rgba(0,0,0,.6),inset -3px -3px 8px rgba(255,255,255,.05);
}

.pill--solid{
  color:#16202a;
  font-weight:700;
  background:linear-gradient(145deg,#dcefff,#b5d3ec);
  box-shadow:-4px -4px 10px rgba(255,255,255,.10),5px 5px 14px rgba(0,0,0,.5);
}

.pill--ghost{color:#f5e0e8}

/* 粘性锚点条 */
.anchors{
  position:sticky;
  top:0;
  z-index:40;
  padding:8px 0;
  background:rgba(23,31,38,.94);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.anchors ul{
  display:flex;
  gap:8px;
  margin:0 auto;
  padding:4px 20px;
  max-width:1180px;
  list-style:none;
  overflow-x:auto;
  scrollbar-width:none;
}

.anchors ul::-webkit-scrollbar{display:none}

.anchors li{flex:0 0 auto}

/* 版式骨架 */
.shell{
  max-width:1180px;
  margin:0 auto;
  padding:26px 20px 0;
  display:grid;
  grid-template-columns:212px minmax(0,1fr);
  gap:26px;
  align-items:start;
}

.rail{
  position:sticky;
  top:86px;
  padding:18px 16px;
  border-radius:16px;
  background:linear-gradient(145deg,#1c2630,#131b21);
  box-shadow:-5px -5px 14px rgba(255,255,255,.045),7px 7px 18px rgba(0,0,0,.52);
}

.rail h2{
  margin:0 0 12px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.12em;
  color:#8fa6b8;
  display:flex;
  align-items:center;
  gap:9px;
}

.rail h2::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#c8e0f4;
  box-shadow:0 0 10px rgba(200,224,244,.9);
}

.rail ol{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:5px;
  counter-reset:r;
}

.rail ol li{counter-increment:r}

.rail a{
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 10px;
  border-radius:10px;
  font-size:16px;
  line-height:1.35;
  color:#a9bccd;
  text-decoration:none;
  transition:background .15s ease,color .15s ease;
}

.rail a::before{
  content:"0" counter(r);
  font-size:14px;
  letter-spacing:.04em;
  color:#6f8798;
}

.rail a:hover,
.rail a.on{color:#ffffff;background:rgba(200,224,244,.10)}

.rail a.on::before{color:#c8e0f4}

main,.wrap{min-width:0}

.paper{
  padding:26px 26px 34px;
  border-radius:16px;
  background:linear-gradient(145deg,#1b242d,#141c22);
  box-shadow:-6px -6px 16px rgba(255,255,255,.04),10px 10px 26px rgba(0,0,0,.5);
  overflow:hidden;
}

/* 首屏 */
.hero{
  display:grid;
  grid-template-columns:1.06fr .94fr;
  gap:26px;
  align-items:center;
  min-height:min(700px,calc(100svh - 118px));
  padding:6px 0 30px;
}

.herotext{text-align:center}

.badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  margin:0;
  padding:6px 16px;
  border-radius:999px;
  font-size:15px;
  letter-spacing:.08em;
  color:#c8e0f4;
  background:linear-gradient(145deg,#1e2a34,#151d24);
  box-shadow:inset 2px 2px 6px rgba(0,0,0,.55),inset -2px -2px 6px rgba(255,255,255,.05);
}

h1{
  margin:16px 0 12px;
  font-family:"Amatic SC",Cabin,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:clamp(34px,5.4vw,56px);
  font-weight:700;
  line-height:1.22;
  letter-spacing:.03em;
  color:#f3f8fc;
  text-shadow:0 2px 18px rgba(200,224,244,.22);
}

.lede{
  max-width:36ch;
  margin:0 auto 22px;
  font-size:16px;
  color:#a9bccd;
}

.herobtns{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin:0;
}

.heroart{
  position:relative;
  min-height:240px;
  align-self:stretch;
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(145deg,#1f2b36,#131a21);
  box-shadow:inset 5px 5px 14px rgba(0,0,0,.6),inset -5px -5px 14px rgba(255,255,255,.05);
}

.heroimg{
  display:block;
  width:100%;
  height:114%;
  margin-top:-7%;
  object-fit:cover;
  transform:translate3d(0,var(--py,0px),0);
  will-change:transform;
}

.blob{
  position:absolute;
  inset:16% 14%;
  border-radius:46% 54% 58% 42%/50% 44% 56% 50%;
  background:linear-gradient(145deg,#c8e0f4,#f5e0e8);
  opacity:.72;
  filter:blur(1px);
}

/* 正文 */
.paper article[id]{
  padding:32px 0 12px;
  border-top:1px solid rgba(255,255,255,.07);
  scroll-margin-top:88px;
}

.paper article[id]:first-of-type{padding-top:26px}

.paper h2,
.paper h3{
  font-family:"Amatic SC",Cabin,"PingFang SC","Microsoft YaHei",sans-serif;
  line-height:1.3;
  letter-spacing:.02em;
}

.paper h2{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin:0 0 16px;
  font-size:clamp(24px,3.4vw,31px);
  color:#f0f6fb;
}

.paper h2::before{
  content:"";
  width:10px;
  height:26px;
  border-radius:6px;
  background:linear-gradient(180deg,#c8e0f4,#f5e0e8);
  box-shadow:0 0 12px rgba(200,224,244,.45);
}

.paper h2 span{color:#f6e6ee}

.paper h3{
  margin:26px 0 10px;
  font-size:22px;
  color:#e8dbe3;
}

.paper h3 span{
  display:inline-block;
  padding:2px 0;
  border-bottom:2px solid rgba(200,224,244,.4);
}

.paper p{margin:0 0 15px;color:#cddae5}

.paper ul,
.paper ol{margin:0 0 16px;padding-left:22px;color:#cddae5}

.paper li{margin:0 0 7px}

.paper a{color:#c8e0f4;text-underline-offset:3px}

.paper a:hover{color:#ffffff}

.paper strong{color:#f4f9fd}

.paper img{border-radius:12px;display:block;height:auto;margin:16px 0}

.paper blockquote{
  margin:18px 0;
  padding:14px 18px;
  border-radius:12px;
  color:#dbe7f1;
  background:linear-gradient(145deg,#1d2832,#151d24);
  box-shadow:inset 3px 3px 9px rgba(0,0,0,.55),inset -3px -3px 9px rgba(255,255,255,.04);
}

.paper blockquote p:last-child{margin:0}

.paper table{
  width:100%;
  border-collapse:collapse;
  margin:16px 0;
  font-size:16px;
}

.paper th,
.paper td{
  padding:10px 12px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.paper th{color:#f5e0e8;font-weight:600}

.paper code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:15px;
  padding:1px 6px;
  border-radius:8px;
  background:rgba(255,255,255,.07);
}

/* 页脚 */
.foot{
  max-width:1180px;
  margin:34px auto 0;
  padding:0 20px 44px;
}

.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
  padding:26px 28px;
  border-radius:16px;
  background:linear-gradient(145deg,#23313c,#151d24);
  box-shadow:-6px -6px 18px rgba(255,255,255,.05),10px 10px 26px rgba(0,0,0,.55);
}

.ctatitle{
  margin:0;
  font-family:"Amatic SC",Cabin,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:clamp(24px,4vw,34px);
  letter-spacing:.03em;
  color:#f3f8fc;
}

.ctatitle span{
  display:inline-block;
  padding-bottom:4px;
  border-bottom:3px solid rgba(245,224,232,.55);
}

.fgrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
  padding:28px 6px 0;
}

address{
  font-style:normal;
  font-weight:600;
  letter-spacing:.04em;
  color:#c8e0f4;
}

.flinks{
  list-style:none;
  margin:10px 0 0;
  padding:0;
  display:grid;
}

.flinks a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#a9bccd;
  text-decoration:none;
}

.flinks a:hover{color:#ffffff}

.fnav dl{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:4px 14px;
  margin:0;
}

.fnav dt{
  font-size:15px;
  color:#7f95a7;
  padding:10px 0;
}

.fnav dd{margin:0}

.fnav dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:#cddae5;
  text-decoration:none;
}

.fnav dd a:hover{color:#ffffff}

.copy{
  margin:22px 0 0;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.07);
  text-align:center;
  font-size:15px;
  color:#8298a9;
}

/* 移动端 */
@media (max-width:860px){
  .shell{
    grid-template-columns:minmax(0,1fr);
    padding:18px 14px 0;
  }

  .rail{position:static;order:2;margin-top:22px}

  .rail ol{grid-template-columns:repeat(2,minmax(0,1fr))}

  .hero{
    grid-template-columns:minmax(0,1fr);
    min-height:0;
    padding-top:0;
    gap:18px;
  }

  .herotext{order:1}

  .heroart{order:2;min-height:210px}

  .paper{padding:18px 16px 26px}

  .paper article[id]{padding:26px 0 10px;scroll-margin-top:78px}

  .fgrid{grid-template-columns:minmax(0,1fr);gap:18px;padding-inline:0}

  .anchors ul{padding-inline:14px}

  .top{padding:12px 14px 4px}

  .cta{padding:22px 18px}

  .foot{padding:0 14px 40px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}

  *,*::before,*::after{
    animation-duration:.001ms !important;
    transition-duration:.001ms !important;
  }

  .heroimg{transform:none}
}

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