:root{
  --night:#081826;
  --ice:#0E2A44;
  --frost:#F2F7FB;
  --mist:#9DB7CE;
  --gold:#D6A24C;
  --gold-soft:#E4B264;
  --green:#3BCB7B;
  --teal:#2E7D8F;
  --slate:#66788A;
  --ink:#050D16;
  --glow:#DCEAF5;
  --body-text:#1D3145;
  --line:rgba(102,120,138,.28);
  --line-ice:rgba(157,183,206,.28);
  --sans:"Noto Sans SC","Source Han Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono","IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,"Noto Sans SC",monospace;
  --shell:1180px;
  --header-h:76px;
}

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

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 16px);
}

body{
  margin:0;
  font-family:var(--sans);
  font-size:16px;
  line-height:1.75;
  color:var(--body-text);
  background:var(--frost);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

h1,h2,h3,h4,h5{
  margin:0;
  font-weight:800;
  line-height:1.16;
  letter-spacing:-.012em;
  color:inherit;
  text-wrap:balance;
}

p{margin:0}
ul,ol{margin:0}
img,svg,video{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
main{display:block}
#main-content{scroll-margin-top:calc(var(--header-h) + 16px)}

:focus-visible{
  outline:2px solid var(--green);
  outline-offset:3px;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  margin:-1px;padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}

.skip-link{
  position:fixed;
  left:1rem;
  top:-6rem;
  z-index:200;
  display:inline-block;
  padding:.62rem 1.1rem;
  background:var(--gold);
  color:var(--ink);
  font-weight:700;
  font-size:.9rem;
  letter-spacing:.02em;
  transition:top .2s ease;
}
.skip-link:focus{top:.9rem}

/* ---------- 头部框架 ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:60;
  background:var(--night);
  color:var(--frost);
  border-bottom:1px solid rgba(157,183,206,.22);
}

.header-progress{
  position:absolute;
  left:0;right:0;bottom:-1px;
  height:2px;
  background:rgba(157,183,206,.14);
  overflow:hidden;
}
.header-progress__fill{
  display:block;
  height:100%;
  width:100%;
  transform:scaleX(0);
  transform-origin:left center;
  background:linear-gradient(90deg,var(--gold) 0%,var(--gold) 45%,var(--green) 100%);
  transition:transform .12s linear;
}

.header-frame{
  display:flex;
  align-items:stretch;
  width:min(1400px,100%);
  margin-inline:auto;
}

.header-coords{
  flex:0 0 76px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:.9rem .4rem;
  border-right:1px solid rgba(157,183,206,.18);
  background:linear-gradient(180deg,rgba(14,42,68,.9),rgba(8,24,38,.9));
}
.coord-mark{
  font-family:var(--mono);
  font-size:.55rem;
  letter-spacing:.08em;
  color:var(--mist);
  white-space:nowrap;
}
.coord-rail{
  position:relative;
  flex:1 1 auto;
  width:1px;
  min-height:22px;
  background:rgba(157,183,206,.45);
}
.coord-rail::after{
  content:"";
  position:absolute;
  top:0;left:-2px;
  width:5px;height:5px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 3px rgba(59,203,123,.18);
}

.header-main{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  gap:clamp(.8rem,2.4vw,2.2rem);
  padding:.7rem clamp(1rem,2.6vw,2rem);
}

.brand{
  display:flex;
  flex-direction:column;
  gap:.12rem;
  flex:0 1 auto;
  min-width:0;
}
.brand-mark{
  font-family:var(--mono);
  font-size:.6rem;
  letter-spacing:.2em;
  color:var(--gold);
  text-transform:uppercase;
}
.brand-name{
  font-size:1.06rem;
  font-weight:800;
  letter-spacing:.01em;
  color:var(--frost);
  white-space:nowrap;
}
.brand-tagline{
  font-size:.72rem;
  color:var(--mist);
  letter-spacing:.02em;
  white-space:nowrap;
}

.site-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
}

.nav-list{
  counter-reset:nav;
  display:flex;
  align-items:center;
  gap:.1rem;
  list-style:none;
  padding:0;
}
.nav-item{counter-increment:nav}

.nav-link{
  position:relative;
  display:inline-flex;
  align-items:baseline;
  gap:.38rem;
  padding:.5rem .58rem;
  font-size:.86rem;
  font-weight:500;
  color:var(--glow);
  white-space:nowrap;
  transition:color .18s ease;
}
.nav-link::before{
  content:"0" counter(nav);
  font-family:var(--mono);
  font-size:.6rem;
  color:var(--mist);
  opacity:.8;
  transition:color .18s ease,opacity .18s ease;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:.58rem;right:.58rem;bottom:.12rem;
  height:2px;
  background:var(--gold);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .22s ease;
}
.nav-link:hover{color:var(--gold)}
.nav-link:hover::before{color:var(--gold);opacity:1}
.nav-link:hover::after{transform:scaleX(1)}
.nav-link[aria-current="page"]{color:var(--gold)}
.nav-link[aria-current="page"]::before{color:var(--gold);opacity:1}
.nav-link[aria-current="page"]::after{transform:scaleX(1)}

.nav-tail{display:none}

.header-actions{
  display:flex;
  align-items:center;
  gap:.7rem;
  flex:0 0 auto;
}

.nav-toggle{
  display:none;
  align-items:center;
  gap:.5rem;
  padding:.5rem .7rem;
  border:1px solid rgba(157,183,206,.42);
  background:transparent;
  color:var(--frost);
  cursor:pointer;
}
.nav-toggle__bars{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  width:16px;
  height:14px;
}
.nav-toggle__bars span{
  display:block;
  height:2px;
  width:100%;
  background:var(--gold);
  transition:transform .2s ease,opacity .2s ease;
}
.nav-toggle__label{
  font-family:var(--mono);
  font-size:.66rem;
  letter-spacing:.14em;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.72rem 1.15rem;
  border:1px solid transparent;
  background:transparent;
  font-size:.88rem;
  font-weight:600;
  letter-spacing:.02em;
  cursor:pointer;
  text-align:center;
  transition:transform .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease;
}
.btn--gold{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--ink);
}
.btn--gold:hover{background:var(--gold-soft);border-color:var(--gold-soft);transform:translateY(-2px)}
.btn--ghost{
  border-color:rgba(157,183,206,.5);
  color:var(--frost);
}
.btn--ghost:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-2px)}
.btn--line{
  border-color:var(--ink);
  color:var(--ink);
}
.btn--line:hover{background:var(--ink);color:var(--frost);transform:translateY(-2px)}

/* ---------- 页脚 ---------- */
.site-footer{
  position:relative;
  overflow:hidden;
  background:var(--ink);
  color:var(--frost);
  padding-block:clamp(2.75rem,6vw,4.5rem) 0;
}
.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(157,183,206,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(157,183,206,.07) 1px,transparent 1px);
  background-size:72px 72px;
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.85),transparent 72%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,.85),transparent 72%);
  pointer-events:none;
}
.footer-frame{
  position:relative;
  z-index:1;
  width:min(var(--shell),100% - 2.5rem);
  margin-inline:auto;
}

.footer-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:1.25rem 2.5rem;
  padding-bottom:1.9rem;
  border-bottom:1px solid rgba(157,183,206,.18);
}
.footer-brand{display:flex;flex-direction:column;gap:.35rem}
.footer-brand__mark{
  font-family:var(--mono);
  font-size:.66rem;
  letter-spacing:.22em;
  color:var(--gold);
  text-transform:uppercase;
}
.footer-brand__name{
  font-size:clamp(1.55rem,3.6vw,2.3rem);
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.1;
}
.footer-summary{
  max-width:46ch;
  font-size:.92rem;
  line-height:1.8;
  color:var(--mist);
}

.footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,1fr));
  gap:clamp(1.5rem,3.5vw,2.75rem);
  padding-block:clamp(1.9rem,4vw,2.75rem);
}

.footer-heading{
  display:flex;
  align-items:center;
  gap:.55rem;
  margin-bottom:1rem;
  font-family:var(--mono);
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--mist);
}
.footer-heading::before{
  content:"";
  width:7px;
  height:7px;
  background:var(--teal);
  transform:rotate(45deg);
}

.contact-list{
  list-style:none;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:.85rem;
}
.contact-list__row{display:flex;flex-direction:column;gap:.15rem}
.contact-list__label{
  font-family:var(--mono);
  font-size:.62rem;
  letter-spacing:.16em;
  color:var(--slate);
  text-transform:uppercase;
}
.contact-list__value{
  font-size:.92rem;
  color:var(--glow);
  line-height:1.6;
  word-break:break-word;
}
.copy-btn{
  align-self:flex-start;
  margin-top:.3rem;
  padding:.14rem .55rem;
  border:1px solid rgba(214,162,76,.55);
  background:transparent;
  color:var(--gold);
  font-family:var(--mono);
  font-size:.66rem;
  letter-spacing:.1em;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.copy-btn:hover{background:rgba(214,162,76,.16)}
.copy-btn.is-copied{
  background:var(--green);
  border-color:var(--green);
  color:var(--ink);
}

.footer-link-list{
  list-style:none;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:.5rem;
}
.footer-link{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size:.9rem;
  color:var(--glow);
  transition:color .18s ease,transform .18s ease;
}
.footer-link::before{
  content:"";
  width:5px;height:5px;
  border-radius:50%;
  background:var(--teal);
  flex:0 0 auto;
}
.footer-link:hover{color:var(--gold);transform:translateX(3px)}

.footer-legal{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.5rem 1.5rem;
  padding-block:1.15rem 1.4rem;
  border-top:1px solid rgba(157,183,206,.18);
  font-family:var(--mono);
  font-size:.68rem;
  letter-spacing:.08em;
  color:var(--slate);
}
.footer-copy{margin:0}
.footer-icp{margin:0}
.footer-coord{margin:0;color:var(--teal)}

/* ---------- 通用排版与布局 ---------- */
.container{
  width:min(var(--shell),100% - 2.5rem);
  margin-inline:auto;
}

.section{padding-block:clamp(2.75rem,7vw,5rem)}
.section--frost{background:var(--frost);color:var(--body-text)}
.section--ice{background:var(--ice);color:var(--frost)}
.section--night{background:var(--night);color:var(--frost)}
.section--ice .eyebrow,.section--night .eyebrow{color:var(--mist)}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  font-family:var(--mono);
  font-size:.7rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--slate);
}
.eyebrow::before{
  content:"";
  width:26px;
  height:1px;
  background:currentColor;
}

.index-num{
  font-family:var(--mono);
  font-size:.72rem;
  letter-spacing:.16em;
  color:var(--gold);
}

.divider{
  height:1px;
  border:0;
  margin-block:clamp(1.5rem,3vw,2.5rem);
  background:var(--line);
}
.section--ice .divider,.section--night .divider{background:var(--line-ice)}

.prose{
  max-width:68ch;
  font-size:1rem;
  line-height:1.8;
  color:var(--body-text);
}
.prose p{margin:0 0 1em}
.prose p:last-child{margin-bottom:0}
.prose h2{margin:2em 0 .6em;font-size:1.5rem;font-weight:800}
.prose h3{margin:1.6em 0 .5em;font-size:1.16rem;font-weight:700}
.prose ul,.prose ol{padding-left:1.25em;margin:0 0 1em}
.prose li{margin-bottom:.4em}
.prose strong{font-weight:700;color:var(--ink)}
.section--ice .prose,.section--night .prose{color:var(--glow)}
.section--ice .prose strong,.section--night .prose strong{color:#fff}

.stack{display:flex;flex-direction:column;gap:1rem}
.stack--lg{gap:clamp(1.5rem,3vw,2.5rem)}

.grid{display:grid;gap:clamp(1rem,2.5vw,2rem)}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}

.panel{
  position:relative;
  padding:clamp(1.1rem,2.4vw,1.7rem);
  background:#fff;
  border:1px solid var(--line);
}
.panel--cut{
  clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,0 100%);
  border-color:rgba(102,120,138,.32);
}
.panel--ice{
  background:var(--ice);
  border-color:var(--line-ice);
  color:var(--frost);
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:.38rem;
  padding:.2rem .55rem;
  border:1px solid rgba(46,125,143,.45);
  background:rgba(46,125,143,.08);
  color:var(--teal);
  font-family:var(--mono);
  font-size:.68rem;
  letter-spacing:.1em;
  line-height:1.6;
}
.tag::before{
  content:"";
  width:6px;height:6px;
  border-radius:50%;
  background:currentColor;
  flex:0 0 auto;
}
.tag--gold{
  border-color:rgba(214,162,76,.5);
  background:rgba(214,162,76,.1);
  color:#8A5F16;
}
.tag--green{
  border-color:rgba(59,203,123,.45);
  background:rgba(59,203,123,.1);
  color:#1F7A49;
}
.section--ice .tag,.section--night .tag{color:var(--glow)}
.section--ice .tag--gold,.section--night .tag--gold{color:var(--gold)}
.section--ice .tag--green,.section--night .tag--green{color:var(--green)}

/* ---------- 图片容器基础规则（页面阶段填充） ---------- */
.figure{
  position:relative;
  margin:0;
  overflow:hidden;
  background:linear-gradient(135deg,var(--ice) 0%,#14395A 55%,var(--night) 100%);
  border:1px solid var(--line-ice);
}
.figure__img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio:16/10;
}
.figure--wide .figure__img{aspect-ratio:21/9}
.figure--tall .figure__img{aspect-ratio:4/5}
.figure--square .figure__img{aspect-ratio:1/1}
.figure__caption{
  position:absolute;
  left:0;bottom:0;
  max-width:100%;
  padding:.45rem .75rem;
  background:rgba(5,13,22,.84);
  color:var(--glow);
  font-family:var(--mono);
  font-size:.66rem;
  letter-spacing:.1em;
  line-height:1.6;
}

/* ---------- 显现动效协议 ---------- */
[data-reveal]{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .5s ease,transform .5s ease;
}
[data-reveal].is-revealed{
  opacity:1;
  transform:none;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs{padding-block:1rem 0}
.breadcrumbs ol{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.4rem;
  list-style:none;
  padding:0;
  font-family:var(--mono);
  font-size:.7rem;
  letter-spacing:.08em;
  color:var(--slate);
}
.breadcrumbs li{display:inline-flex;align-items:center;gap:.4rem}
.breadcrumbs li+li::before{content:"/";color:var(--mist)}
.breadcrumbs a{color:var(--slate);transition:color .18s ease}
.breadcrumbs a:hover{color:var(--teal)}
.breadcrumbs [aria-current="page"]{color:var(--ink)}

/* ---------- 响应式 ---------- */
@media (max-width:1079px){
  .header-coords{display:none}
  .header-main{padding-block:.75rem}
}

@media (max-width:960px){
  :root{--header-h:66px}
  .brand-tagline{display:none}
  .header-cta{display:none}
  .nav-toggle{display:inline-flex}

  .site-nav{
    position:fixed;
    left:0;right:0;bottom:0;
    z-index:90;
    display:block;
    max-height:82vh;
    overflow-y:auto;
    margin:0;
    padding:1.2rem clamp(1rem,4vw,1.75rem) calc(1.3rem + env(safe-area-inset-bottom,0px));
    background:linear-gradient(180deg,rgba(14,42,68,.99) 0%,rgba(5,13,22,.99) 100%);
    border-top:1px solid rgba(214,162,76,.45);
    box-shadow:0 -22px 60px rgba(5,13,22,.65);
    transform:translateY(105%);
    visibility:hidden;
    transition:transform .3s cubic-bezier(.22,.61,.36,1),visibility .3s ease;
  }
  .site-nav[data-open]{
    transform:translateY(0);
    visibility:visible;
  }

  .nav-list{
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }
  .nav-link{
    justify-content:flex-start;
    padding:.82rem .25rem;
    font-size:1.02rem;
    font-weight:600;
    border-bottom:1px solid rgba(157,183,206,.16);
  }
  .nav-link::before{font-size:.66rem}
  .nav-link::after{display:none}
  .nav-link[aria-current="page"]{color:var(--gold);background:rgba(214,162,76,.08)}

  .nav-tail{
    display:flex;
    flex-direction:column;
    gap:.7rem;
    margin-top:1.1rem;
  }
  .nav-tail__note{
    font-family:var(--mono);
    font-size:.68rem;
    letter-spacing:.12em;
    color:var(--mist);
  }
  .nav-tail__cta{width:100%}

  body.nav-open{overflow:hidden}

  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-head{align-items:flex-start}
}

@media (max-width:560px){
  .header-main{gap:.55rem;padding-inline:.9rem}
  .brand-name{font-size:.98rem}
  .brand-mark{font-size:.54rem;letter-spacing:.16em}
  .nav-toggle__label{display:none}

  .container,.footer-frame{width:calc(100% - 1.9rem)}
  .footer-grid{grid-template-columns:minmax(0,1fr)}
  .footer-legal{justify-content:flex-start;gap:.35rem 1rem}
  .figure__img{aspect-ratio:4/3}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  [data-reveal]{opacity:1;transform:none}
  .header-progress__fill{transition:none}
}
