@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

:root{
  --mint:#87ff71;
  --cyan:#01cdfe;
  --ink:#192617;
  --pink:#ff71ce;
  --violet:#b967ff;
  --txt:#e3f7e6;
  --dim:#a6c6b0;
  --glass:rgba(255,255,255,.055);
  --line:rgba(135,255,113,.24);
  --radius:28px;
  --glow:0 0 24px rgba(1,205,254,.45);
}

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

html{
  scroll-behavior:smooth;
  background:var(--ink);
  -webkit-text-size-adjust:100%;
  overflow-x:hidden;
  max-width:100%;
}

body{
  margin:0;
  font-family:'Lato',"Helvetica Neue",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:17px;
  line-height:1.78;
  color:var(--txt);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(255,113,206,.20), transparent 62%),
    radial-gradient(900px 520px at 4% 2%, rgba(1,205,254,.20), transparent 60%),
    linear-gradient(180deg,#1b2a19 0%,#192617 44%,#14200f 100%);
  background-attachment:fixed;
  padding-bottom:calc(98px + env(safe-area-inset-bottom));
  overflow-x:clip;
  max-width:100%;
  position:relative;
}

a{color:var(--mint)}
a:focus-visible,
button:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:8px}

img{max-width:100%}

.scan{
  position:fixed;
  inset:0;
  z-index:70;
  pointer-events:none;
  background-image:repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, rgba(0,0,0,0) 1px 3px);
  mix-blend-mode:screen;
  opacity:.55;
}

/* 角落品牌图标 */
.mark{
  position:fixed;
  top:14px;
  left:14px;
  z-index:90;
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(25,38,23,.62);
  backdrop-filter:blur(10px);
  color:var(--mint);
  text-decoration:none;
  font-family:'EB Garamond',Georgia,serif;
  font-size:26px;
  line-height:1;
  text-shadow:0 0 16px rgba(135,255,113,.85);
  box-shadow:0 0 26px -8px rgba(1,205,254,.6);
}
.mark-glyph{transform:translateY(-1px)}
.mark-img{width:32px;height:32px;object-fit:contain;display:block}

main{
  display:block;
  max-width:1140px;
  margin:0 auto;
  padding:0 clamp(16px,4vw,40px);
  width:100%;
  min-width:0;
}

/* 首屏 */
.hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  gap:20px;
  padding:clamp(86px,13vh,132px) 0 34px;
  overflow:hidden;
  width:100%;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-6% -12% auto -12%;
  height:70vh;
  background:linear-gradient(180deg, rgba(255,113,206,.30), rgba(185,103,255,.14) 45%, rgba(1,205,254,.05) 70%, transparent 92%);
  filter:blur(6px);
  pointer-events:none;
}
.hero>*{position:relative}

.grid{
  position:absolute;
  left:-4%;
  right:-4%;
  bottom:0;
  height:38vh;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(1,205,254,.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135,255,113,.30) 1px, transparent 1px);
  background-size:46px 46px;
  transform:perspective(320px) rotateX(70deg);
  transform-origin:bottom center;
  -webkit-mask-image:linear-gradient(to top, #000 4%, rgba(0,0,0,.25) 58%, transparent 88%);
  mask-image:linear-gradient(to top, #000 4%, rgba(0,0,0,.25) 58%, transparent 88%);
  opacity:.6;
  z-index:0;
}

.badge{
  align-self:flex-start;
  margin:0;
  max-width:100%;
  padding:8px 18px;
  border-radius:999px;
  font-size:16px;
  letter-spacing:.16em;
  color:var(--cyan);
  border:1px solid rgba(1,205,254,.5);
  background:rgba(1,205,254,.09);
  box-shadow:inset 0 0 22px rgba(1,205,254,.28);
  animation:bob 7s ease-in-out infinite;
}

.hero-h1{
  margin:0;
  font-family:'EB Garamond',Georgia,serif;
  font-weight:600;
  font-size:clamp(2.1rem,6.6vw,4.3rem);
  line-height:1.12;
  letter-spacing:.01em;
  color:#f4fff6;
  overflow-wrap:break-word;
  text-shadow:
    0 0 18px rgba(1,205,254,.75),
    0 0 46px rgba(255,113,206,.45),
    0 0 90px rgba(135,255,113,.25);
}

.lede{
  margin:0;
  max-width:60ch;
  color:var(--dim);
  font-size:clamp(16px,1.6vw,19px);
  overflow-wrap:break-word;
}

.hero-fig{
  flex:1 1 auto;
  margin:6px 0 0;
  min-height:230px;
  width:100%;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 0 70px -18px rgba(255,113,206,.55), inset 0 0 0 1px rgba(255,255,255,.05);
  background:rgba(255,255,255,.04);
}
.hero-fig--empty{
  background:
    linear-gradient(180deg, rgba(255,113,206,.42), rgba(1,205,254,.30) 55%, rgba(135,255,113,.20));
}
.hero-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.12) contrast(1.03);
}

/* 正文舞台 + 右侧栏 */
.stage{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:24px;
  padding-top:clamp(28px,5vw,48px);
  align-items:start;
  min-width:0;
}

.stream{min-width:0;max-width:100%}

.stream div{
  position:relative;
  margin:0 0 clamp(18px,2.6vw,28px);
  padding:clamp(20px,3.6vw,40px);
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--glass);
  backdrop-filter:blur(14px);
  box-shadow:0 24px 60px -40px rgba(1,205,254,.9), inset 0 1px 0 rgba(255,255,255,.06);
  scroll-margin-top:24px;
  min-width:0;
  overflow-wrap:break-word;
  overflow:hidden;
}
.stream div::after{
  content:"";
  position:absolute;
  left:clamp(20px,3.6vw,40px);
  right:clamp(20px,3.6vw,40px);
  top:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(1,205,254,.75), rgba(255,113,206,.55), transparent);
}

.stream h2,
.stream h3{
  font-family:'EB Garamond',Georgia,serif;
  font-weight:600;
  line-height:1.3;
  color:#f2fff4;
  overflow-wrap:break-word;
  text-shadow:0 0 20px rgba(1,205,254,.42);
}
.stream h2{font-size:clamp(1.5rem,3.3vw,2rem);margin:0 0 .55em}
.stream h3{font-size:clamp(1.18rem,2.3vw,1.38rem);margin:1.5em 0 .45em}

.stream h2>span,
.stream h3>span,
.rail-h>span,
.foot-h>span{
  position:relative;
  display:inline-block;
  padding-bottom:.18em;
}
.stream h2>span::after,
.rail-h>span::after,
.foot-h>span::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg, var(--mint), var(--cyan), transparent);
  box-shadow:0 0 12px rgba(1,205,254,.8);
}
.stream h3>span::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg, rgba(255,113,206,.9), transparent);
}

.stream p{margin:0 0 1em}
.stream p:last-child{margin-bottom:0}
.stream ul,
.stream ol{padding-left:1.3em;margin:0 0 1em}
.stream li{margin:.32em 0}
.stream strong{color:#f6fff7}
.stream a{
  color:var(--mint);
  text-decoration-color:rgba(135,255,113,.55);
  text-underline-offset:3px;
  overflow-wrap:break-word;
}
.stream a:hover{color:var(--cyan)}
.stream blockquote{
  margin:1.3em 0;
  padding:.85em 1.15em;
  border-left:3px solid var(--cyan);
  border-radius:0 18px 18px 0;
  background:rgba(1,205,254,.08);
  color:#d7efdf;
}
.stream img{
  display:block;
  max-width:100%;
  height:auto;
  margin:1.2em auto;
  border-radius:18px;
  border:1px solid var(--line);
}
.stream table{
  display:block;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  border-collapse:collapse;
  font-size:16px;
  margin:1.2em 0;
}
.stream th,
.stream td{
  border:1px solid var(--line);
  padding:.55em .75em;
  text-align:left;
}
.stream th{background:rgba(135,255,113,.08)}
.stream pre{
  max-width:100%;
  overflow-x:auto;
  margin:1.2em 0;
  padding:.85em 1em;
  border-radius:18px;
  background:rgba(1,205,254,.1);
  border:1px solid var(--line);
  font-size:16px;
}
.stream hr{
  border:0;
  height:1px;
  margin:1.8em 0;
  background:linear-gradient(90deg, transparent, var(--line), transparent);
}
.stream code{
  font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;
  font-size:.92em;
  padding:.1em .42em;
  border-radius:6px;
  background:rgba(1,205,254,.14);
  overflow-wrap:break-word;
}
.stream figcaption{
  font-size:16px;
  color:var(--dim);
  text-align:center;
}

/* 右侧栏 */
.rail{
  order:0;
  min-width:0;
  max-width:100%;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(25,38,23,.55);
  backdrop-filter:blur(14px);
  padding:18px 16px 20px;
  box-shadow:0 20px 50px -38px rgba(1,205,254,.9);
}
.rail-h{
  margin:0 0 14px;
  font-family:'EB Garamond',Georgia,serif;
  font-size:20px;
  font-weight:600;
  color:#eafff0;
  letter-spacing:.1em;
}
.rail-list{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:rail;
}
.rail-list li{counter-increment:rail}
.rail-list li a{
  display:flex;
  align-items:center;
  gap:.6em;
  min-height:44px;
  padding:6px 8px;
  border-radius:12px;
  color:var(--dim);
  text-decoration:none;
  font-size:16px;
  line-height:1.4;
  border:1px solid transparent;
  overflow-wrap:break-word;
  transition:color .25s, background .25s, border-color .25s;
}
.rail-list li a::before{
  content:counter(rail, decimal-leading-zero);
  flex:0 0 auto;
  font-size:13px;
  letter-spacing:.08em;
  color:rgba(135,255,113,.75);
  font-family:'EB Garamond',Georgia,serif;
}
.rail-list li a:hover,
.rail-list li a:focus-visible{
  color:#0c1509;
  background:linear-gradient(135deg, var(--mint), var(--cyan));
  border-color:transparent;
}
.rail-list li a:hover::before{color:rgba(12,21,9,.7)}

/* 页脚 */
.foot{
  max-width:1140px;
  margin:clamp(40px,7vw,72px) auto 0;
  padding:0 clamp(16px,4vw,40px) 18px;
  border-top:1px solid var(--line);
  min-width:0;
}
.foot-cta{
  margin:clamp(30px,5vw,52px) 0;
  padding:clamp(26px,5vw,52px) clamp(18px,4vw,40px);
  border-radius:var(--radius);
  border:1px solid var(--line);
  text-align:center;
  background:
    linear-gradient(158deg, rgba(255,113,206,.20), rgba(185,103,255,.14) 45%, rgba(1,205,254,.18) 72%, rgba(135,255,113,.16));
  box-shadow:0 0 70px -26px rgba(1,205,254,.85), inset 0 1px 0 rgba(255,255,255,.07);
}
.foot-h{
  margin:0 0 18px;
  font-family:'EB Garamond',Georgia,serif;
  font-weight:600;
  font-size:clamp(1.55rem,4.2vw,2.5rem);
  line-height:1.24;
  color:#f6fff8;
  text-shadow:0 0 24px rgba(1,205,254,.6);
}
.foot-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 34px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--mint), var(--cyan));
  color:#0b1408;
  font-weight:700;
  letter-spacing:.06em;
  text-decoration:none;
  box-shadow:0 0 30px rgba(1,205,254,.5);
}
.foot-btn:hover{filter:hue-rotate(-18deg) brightness(1.05)}

.foot-base{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 24px;
  padding:16px 0;
  border-top:1px solid rgba(135,255,113,.14);
  border-bottom:1px solid rgba(135,255,113,.14);
}
.foot-base address{
  font-style:normal;
  font-family:'EB Garamond',Georgia,serif;
  font-size:21px;
  letter-spacing:.1em;
  color:var(--mint);
  text-shadow:0 0 18px rgba(135,255,113,.7);
}
.foot-links{
  display:flex;
  flex-wrap:wrap;
  gap:2px 6px;
  list-style:none;
  margin:0;
  padding:0;
  min-width:0;
}
.foot-links li{margin:0}
.foot-links a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 10px;
  border-radius:10px;
  color:var(--dim);
  text-decoration:none;
  font-size:16px;
}
.foot-links a:hover{color:var(--mint);background:rgba(135,255,113,.08)}
.foot-copy{
  margin:16px 0 0;
  text-align:center;
  font-size:16px;
  letter-spacing:.12em;
  color:var(--dim);
}

/* 底部固定导航 */
.dock{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:80;
  display:flex;
  align-items:center;
  gap:10px;
  max-width:100%;
  padding:10px clamp(10px,3vw,22px) calc(10px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg, rgba(25,38,23,.58), rgba(18,28,15,.96));
  backdrop-filter:blur(16px);
  border-top:1px solid var(--line);
  box-shadow:0 -18px 44px -30px rgba(1,205,254,.9);
}
.dock-nav{
  flex:1 1 auto;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.dock-nav::-webkit-scrollbar{display:none}
.dock ol{
  display:flex;
  align-items:center;
  gap:4px;
  list-style:none;
  margin:0;
  padding:0;
  width:max-content;
}
.dock ol li{animation:dockIn .5s ease-out both}
.dock ol li:nth-child(1){animation-delay:.02s}
.dock ol li:nth-child(2){animation-delay:.06s}
.dock ol li:nth-child(3){animation-delay:.1s}
.dock ol li:nth-child(4){animation-delay:.14s}
.dock ol li:nth-child(5){animation-delay:.18s}
.dock ol li:nth-child(6){animation-delay:.22s}
.dock ol li:nth-child(7){animation-delay:.26s}
.dock ol li a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--txt);
  text-decoration:none;
  font-size:16px;
  white-space:nowrap;
  transition:color .22s, background .22s;
}
.dock ol li a:hover,
.dock ol li a:focus-visible{
  color:#0c1509;
  background:var(--mint);
}
.dock-cta{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 20px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--mint), var(--cyan));
  color:#0b1408;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 0 26px rgba(1,205,254,.5);
}

/* 动效 */
@keyframes dockIn{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:none}
}
@keyframes bob{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}

.rv .rv-el{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .6s ease, transform .65s cubic-bezier(.2,.7,.3,1);
}
.rv .rv-el.in{opacity:1;transform:none}

/* 桌面 */
@media (min-width:900px){
  .stage{
    grid-template-columns:minmax(0,1fr) 268px;
    gap:clamp(24px,3vw,40px);
  }
  .rail{position:sticky;top:28px}
  .dock{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    bottom:16px;
    width:min(1060px, calc(100% - 32px));
    border-radius:999px;
    border:1px solid var(--line);
    padding:8px 10px 8px 16px;
  }
  .dock-nav{overflow:visible}
  .dock ol{width:auto}
  body{padding-bottom:110px}
  .hero{padding-top:clamp(96px,16vh,150px)}
  .hero::before{inset:-10% -40% auto -40%}
  .grid{left:-10%;right:-10%}
}

@media (max-width:560px){
  .foot-base{flex-direction:column;align-items:flex-start}
  .foot-copy{text-align:left}
  .dock{gap:6px}
  .dock-cta{padding:0 14px;font-size:16px}
  .badge{font-size:16px;letter-spacing:.12em;padding:8px 14px}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .badge,
  .dock ol li{animation:none}
  .rv .rv-el{opacity:1;transform:none;transition:none}
  .grid{transform:none;opacity:.35}
}

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