:root{
  --neon:#87ff71;
  --cyan:#01cdfe;
  --ink:#192617;
  --pink:#ff71ce;
  --violet:#b967ff;
  --deep:#08120c;
  --text:#dff3e4;
  --dim:#a8c6b2;
  --line:rgba(135,255,113,.22);
  --soft:rgba(1,205,254,.26);
  --card:rgba(11,26,18,.76);
  --radius:18px;
  --rail:104px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:"EB Garamond","Crimson Text","Songti SC","Noto Serif SC",Georgia,serif;
  font-size:18px;
  line-height:1.7;
  color:var(--text);
  background:
    radial-gradient(1100px 560px at 82% -8%,rgba(1,205,254,.17),transparent 62%),
    radial-gradient(900px 520px at -5% 14%,rgba(255,113,206,.13),transparent 66%),
    linear-gradient(180deg,#08120c 0%,#0b1a12 42%,#0a1a13 100%);
  background-attachment:fixed;
  min-height:100vh;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:9;
  pointer-events:none;
  opacity:.42;
  mix-blend-mode:screen;
  background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 1px,transparent 1px 3px);
}
a{color:var(--cyan)}
.skip{
  position:absolute;
  left:12px;
  top:-64px;
  z-index:60;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 18px;
  border-radius:999px;
  background:var(--neon);
  color:#06130c;
  font-size:16px;
  text-decoration:none;
  transition:top .2s ease;
}
.skip:focus{top:12px}

/* ============ 左侧固定竖排主导航 ============ */
.rail{
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width:var(--rail);
  z-index:40;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  padding:18px 10px;
  border-right:1px solid var(--line);
  background:linear-gradient(180deg,rgba(9,22,15,.95),rgba(9,22,15,.8));
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.brand{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  flex:0 0 auto;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--card);
  overflow:hidden;
  text-decoration:none;
  transition:transform .25s ease,box-shadow .25s ease;
}
.brand:hover,.brand:focus-visible{
  transform:translateY(-2px) scale(1.04);
  box-shadow:0 0 0 2px rgba(135,255,113,.4),0 0 22px rgba(135,255,113,.42);
}
.brand img,.fcol-mark img{width:100%;height:100%;object-fit:cover;display:block;filter:hue-rotate(0deg);transition:filter .4s ease}
.brand:hover img{filter:hue-rotate(28deg)}
.mark-fallback{
  font-size:24px;
  font-weight:700;
  line-height:1;
  color:var(--neon);
  text-shadow:0 0 12px rgba(135,255,113,.75);
}
.pills{
  list-style:none;
  margin:6px 0 0;
  padding:0;
  width:100%;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.pill{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:8px 4px;
  border:1px solid var(--soft);
  border-radius:999px;
  background:rgba(1,205,254,.07);
  color:var(--text);
  font-size:16px;
  line-height:1.35;
  text-align:center;
  text-decoration:none;
  transition:color .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.pill:hover,.pill:focus-visible{
  color:#06130c;
  background:var(--neon);
  border-color:var(--neon);
  box-shadow:0 0 20px rgba(135,255,113,.55);
}
.rail-call{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--neon),var(--cyan));
  color:#06130c;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  letter-spacing:.08em;
  box-shadow:0 0 18px rgba(1,205,254,.35);
}
.rail-call:hover{filter:hue-rotate(-16deg) saturate(1.2)}

/* ============ 首屏 ============ */
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  place-items:center;
  min-height:70vh;
  padding:88px 22px 76px;
  text-align:center;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(70% 66% at 50% 112%,rgba(255,113,206,.4),transparent 72%),
    radial-gradient(52% 60% at 18% 8%,rgba(135,255,113,.2),transparent 70%),
    linear-gradient(180deg,#0e2138 0%,#26143a 44%,#3a1230 72%,#0a1a13 100%);
}
.hero::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:48%;
  z-index:-1;
  opacity:.55;
  transform:perspective(340px) rotateX(64deg);
  transform-origin:bottom center;
  background-image:
    linear-gradient(rgba(1,205,254,.5) 1px,transparent 1px),
    linear-gradient(90deg,rgba(1,205,254,.32) 1px,transparent 1px);
  background-size:100% 42px,56px 100%;
  -webkit-mask-image:linear-gradient(to top,rgba(0,0,0,.85),transparent 76%);
  mask-image:linear-gradient(to top,rgba(0,0,0,.85),transparent 76%);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(8,18,12,.16),rgba(8,18,12,.74));
}
.hero-media{position:absolute;inset:0;z-index:-2;opacity:.45}
.hero-media img{width:100%;height:100%;object-fit:cover;display:block;filter:grayscale(.35) contrast(1.05) saturate(1.25)}
.hero-big{
  position:absolute;
  left:50%;
  top:50%;
  z-index:0;
  transform:translate(-50%,-50%);
  max-width:100%;
  font-size:clamp(54px,13vw,180px);
  line-height:1;
  letter-spacing:.14em;
  white-space:nowrap;
  color:rgba(255,255,255,.06);
  -webkit-text-stroke:1px rgba(135,255,113,.28);
  pointer-events:none;
  user-select:none;
}
.hero-in{position:relative;z-index:1;max-width:800px}
.hero h1{
  margin:0 0 18px;
  font-size:clamp(30px,5vw,58px);
  line-height:1.24;
  letter-spacing:.02em;
  color:#f4fff6;
  text-shadow:0 0 22px rgba(1,205,254,.6),0 0 64px rgba(255,113,206,.42);
  animation:glow 5s ease-in-out infinite alternate;
}
.hero-lead{
  max-width:620px;
  margin:0 auto 28px;
  font-size:18px;
  color:#dbeef8;
  text-shadow:0 1px 12px rgba(0,0,0,.55);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 34px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--neon),var(--cyan) 70%);
  color:#06130c;
  font-size:17px;
  font-weight:700;
  letter-spacing:.14em;
  text-decoration:none;
  box-shadow:0 0 26px rgba(135,255,113,.42);
  transition:transform .2s ease,box-shadow .2s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 0 34px rgba(1,205,254,.6)}

/* ============ 正文区 ============ */
.wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:42px;
  max-width:1160px;
  margin:0 auto;
  padding:54px 22px 70px;
}
.col{min-width:0}
.prose{font-size:18px;overflow-wrap:break-word}
.prose>section{scroll-margin-top:96px}
.prose>section+section{
  margin-top:52px;
  padding-top:46px;
  border-top:1px dashed rgba(1,205,254,.3);
}
.prose small{
  display:block;
  margin-bottom:8px;
  font-size:16px;
  letter-spacing:.24em;
  color:var(--cyan);
  text-shadow:0 0 12px rgba(1,205,254,.45);
}
.prose h2{
  margin:0 0 16px;
  font-size:clamp(23px,2.7vw,32px);
  line-height:1.32;
  letter-spacing:.01em;
  color:#eefff3;
  text-shadow:0 0 18px rgba(1,205,254,.3);
}
.prose h3{margin:26px 0 10px;font-size:21px;color:#e2fff0}
.prose p{margin:0 0 16px}
.prose strong{color:var(--neon)}
.prose em{color:#ffe7f8}
.prose a{color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:var(--neon)}
.prose ul,.prose ol{margin:0 0 18px;padding-left:1.3em}
.prose li{margin:0 0 8px}
.prose li::marker{color:var(--cyan)}
.prose img{
  display:block;
  max-width:100%;
  height:auto;
  margin:18px 0;
  border:1px solid var(--line);
  border-radius:14px;
}
.prose blockquote{
  margin:22px 0;
  padding:14px 18px;
  border-left:3px solid var(--pink);
  border-radius:0 14px 14px 0;
  background:rgba(255,113,206,.08);
  color:#f4e8f8;
}
.prose blockquote p:last-child{margin:0}
.prose hr{margin:32px 0;border:0;border-top:1px dashed var(--line)}
.prose table{width:100%;margin:18px 0;border-collapse:collapse;font-size:17px}
.prose th,.prose td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left}
.prose th{color:var(--neon);font-weight:600}

/* ============ 右侧侧边 ============ */
.side{min-width:0}
.side-box{
  position:sticky;
  top:26px;
  padding:20px 18px 18px;
  border:1px solid var(--line);
  border-bottom:3px solid var(--neon);
  border-radius:var(--radius);
  background:var(--card);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  box-shadow:0 18px 40px rgba(0,0,0,.28);
}
.side-box small{
  display:block;
  margin-bottom:4px;
  font-size:16px;
  letter-spacing:.2em;
  color:var(--cyan);
}
.side-box h2{margin:0 0 14px;font-size:22px;color:#eefff3;letter-spacing:.06em}
.toc{list-style:none;margin:0;padding:0;display:grid;gap:4px;counter-reset:step}
.toc a{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-height:42px;
  padding:9px 10px;
  border-radius:10px;
  color:var(--text);
  font-size:16px;
  text-decoration:none;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.toc a span{font-size:15px;letter-spacing:.1em;color:var(--pink)}
.toc a:hover{background:rgba(135,255,113,.13);color:var(--neon);transform:translateX(3px)}

/* ============ 页脚 ============ */
.foot{
  margin-top:26px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(9,22,15,.35),rgba(6,14,10,.96));
}
.foot-cta{padding:0 22px}
.foot-cta a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  max-width:1120px;
  min-height:136px;
  margin:0 auto;
  border-bottom:1px dashed rgba(135,255,113,.32);
  color:var(--neon);
  font-size:clamp(24px,4.2vw,44px);
  letter-spacing:.18em;
  text-decoration:none;
  text-shadow:0 0 26px rgba(135,255,113,.55);
  transition:letter-spacing .3s ease,color .3s ease,text-shadow .3s ease;
}
.foot-cta a:hover{letter-spacing:.26em;color:#f2fff4;text-shadow:0 0 34px rgba(1,205,254,.7)}
.foot-cols{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  max-width:1120px;
  margin:0 auto;
  padding:36px 22px;
}
.fcol{
  min-width:0;
  padding:16px 16px 18px;
  border:1px solid var(--line);
  border-bottom:3px solid rgba(1,205,254,.55);
  border-radius:var(--radius);
  background:rgba(255,255,255,.025);
}
.fcol h3{
  margin:0 0 10px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.22em;
  color:var(--dim);
}
.fcol-mark{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  margin-bottom:12px;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  transition:box-shadow .25s ease;
}
.fcol-mark:hover{box-shadow:0 0 0 2px rgba(135,255,113,.4)}
.fcol address{font-style:normal;font-size:19px;color:var(--neon);letter-spacing:.06em;text-shadow:0 0 16px rgba(135,255,113,.4)}
.fcol-call{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin-top:8px;
  padding:0 18px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--neon),var(--cyan));
  color:#06130c;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
}
.fcol-nav dl{margin:0;display:grid;gap:2px}
.fcol-nav dt,.fcol-nav dd{margin:0}
.fcol-nav a,.fcol-list a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:2px 0;
  color:var(--text);
  font-size:16px;
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .2s ease,border-color .2s ease;
}
.fcol-nav a:hover,.fcol-list a:hover{color:var(--neon);border-bottom-color:var(--neon)}
.fcol-list ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.fcol-key p{margin:0;color:var(--text);font-size:17px;letter-spacing:.08em}
.base{
  max-width:1120px;
  margin:0 auto;
  padding:16px 22px 42px;
  border-top:1px dashed rgba(135,255,113,.2);
  text-align:center;
}
.base p{margin:0;font-size:16px;color:var(--dim)}

/* ============ 动效 ============ */
@keyframes glow{
  from{text-shadow:0 0 18px rgba(1,205,254,.45),0 0 50px rgba(255,113,206,.3)}
  to{text-shadow:0 0 30px rgba(1,205,254,.75),0 0 78px rgba(255,113,206,.55)}
}
@keyframes rise{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}
.pills li,.toc li,.fcol{animation:rise .5s ease both}
.pills li:nth-child(2),.toc li:nth-child(2),.fcol:nth-child(2){animation-delay:.06s}
.pills li:nth-child(3),.toc li:nth-child(3),.fcol:nth-child(3){animation-delay:.12s}
.pills li:nth-child(4),.toc li:nth-child(4),.fcol:nth-child(4){animation-delay:.18s}
.pills li:nth-child(5),.toc li:nth-child(5){animation-delay:.24s}
.pills li:nth-child(6),.toc li:nth-child(6){animation-delay:.3s}
.pills li:nth-child(7),.toc li:nth-child(7){animation-delay:.36s}

/* ============ 断点 ============ */
@media (min-width:900px){
  body{padding-left:var(--rail)}
}
@media (min-width:1040px){
  .wrap{grid-template-columns:minmax(0,1fr) 292px;gap:52px;padding-top:64px}
}
@media (min-width:760px){
  .foot-cols{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
}
@media (max-width:899px){
  .rail{
    position:sticky;
    top:0;
    left:auto;
    right:auto;
    bottom:auto;
    width:auto;
    flex-direction:row;
    align-items:center;
    gap:10px;
    padding:10px 14px;
    overflow-x:auto;
    overflow-y:hidden;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .brand{width:44px;height:44px}
  .pills{flex-direction:row;flex-wrap:nowrap;margin:0;gap:8px;width:auto;flex:0 0 auto}
  .pill{padding:8px 15px;white-space:nowrap;flex:0 0 auto}
  .rail-call{margin:0 0 0 auto;width:auto;padding:0 18px;flex:0 0 auto}
  .hero{min-height:60vh;padding:62px 18px 54px}
  .hero-big{font-size:clamp(42px,17vw,84px);opacity:.9}
  .wrap{padding:36px 18px 54px;gap:30px}
  .prose>section{scroll-margin-top:80px}
  .prose>section+section{margin-top:38px;padding-top:34px}
  .side-box{position:static}
  .foot-cta a{min-height:104px}
  .foot-cols{padding:28px 18px}
  .base{padding:14px 18px 34px}
}
@media (max-width:420px){
  .hero-lead{font-size:17px}
  .pill{padding:8px 12px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none !important;transition:none !important}
}

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