/* ============================================================
   站点平台 · 设计规范 v1 站点层
   在原有站点样式之后加载，统一品牌、字体、容器和组件尺寸
   ============================================================ */
:root{
  --ds-brand:#003399; --ds-brand-700:#00297a; --ds-brand-900:#00143d;
  --ds-bg:#fbfcfe; --ds-surface:#fff; --ds-ink:#0e1116;
  --ds-ink-2:#4c5563; --ds-ink-3:#5f6a7a; --ds-line:#dfe4ec;
  --ds-font:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",system-ui,sans-serif;
  --ds-mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
  --ds-r-sm:6px; --ds-r-md:10px; --ds-r-lg:16px;
  --ds-max:1200px;
  /* 覆盖旧站点主色 */
  --pri:#003399; --pri-2:#00297a; --pri-3:#00143d;
  --primary:#003399; --primary-dark:#00297a; --primary-deep:#00143d;
  --brand:#003399; --brand-700:#00297a;
}
html{text-size-adjust:100%}
body{
  font-family:var(--ds-font)!important;
  color:var(--ds-ink)!important;
  background:var(--ds-bg)!important;
  font-size:16px!important;
  line-height:1.75!important;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6{font-family:var(--ds-font)!important;letter-spacing:-.02em}
h1{line-height:1.15!important}
h2{line-height:1.22!important}
p{color:var(--ds-ink-2)}
a{color:var(--ds-brand)}
img{max-width:100%;height:auto}
.container,.wrap{
  width:min(var(--ds-max),calc(100% - 48px))!important;
  max-width:var(--ds-max)!important;
  margin-inline:auto!important;
}
@media (min-width:1500px){
  :root{--ds-max:min(80vw,2400px)}
}
/* 统一按钮：v1 高度 38 / 小号 30 / 圆角 6 / 主色白字 */
.btn,.btn-pri,.btn-primary,.btn-white,.btn-light,.btn-line,.btn-ghost,.btn-outline,.btn-glass,.btn-block,.hero-act a,.cta a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 16px!important;
  border-radius:var(--ds-r-sm)!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:0!important;
}
.btn.btn-sm,.btn-sm{
  height:30px!important;
  min-height:30px!important;
  padding:0 11px!important;
  font-size:12.5px!important;
}
.btn.btn-lg,.btn-lg{
  height:38px!important;
  min-height:38px!important;
  padding:0 16px!important;
  font-size:14px!important;
}
.btn-pri,.btn-primary{
  background:var(--ds-brand)!important;
  border-color:var(--ds-brand)!important;
  color:#fff!important;
}
.btn-pri:hover,.btn-primary:hover{background:var(--ds-brand-700)!important}
.btn-white,.btn-light{
  background:#fff!important;
  border-color:#fff!important;
  color:var(--ds-brand-900)!important;
}
.btn-line,.btn-glass{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.42)!important;
  color:#fff!important;
}
.btn-outline{
  background:transparent!important;
  border-color:var(--ds-brand)!important;
  color:var(--ds-brand)!important;
}
.btn-block{width:100%!important}
.lang-btn{height:38px!important;border-radius:6px!important}
@media (max-width:640px){
  .btn,.btn-pri,.btn-primary,.btn-white,.btn-light,.btn-line,.btn-ghost,.btn-outline,.btn-glass,.btn-block,.hero-act a,.cta a{height:44px!important;min-height:44px!important;flex:none!important}
  .btn.btn-sm,.btn-sm,.btn.btn-lg,.btn-lg,.lang-btn{height:44px!important;min-height:44px!important;flex:none!important}
  .hero-act,.cta-act,.hd-act,.hero-actions,.cta-actions{height:auto!important;min-height:44px!important}
}
/* 区块节奏 */
.sec,.section{padding-top:88px!important;padding-bottom:88px!important}
@media (max-width:640px){
  .sec,.section{padding-top:56px!important;padding-bottom:56px!important}
}
/* 卡片统一圆角 */
.card,[class*="card"],[class*="feature"]{border-radius:var(--ds-r-lg)}
/* 页头统一 */
.site-header,.hd{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid var(--ds-line)!important;
  color:var(--ds-ink)!important;
}
.site-header .nav a,.hd .nav a{color:var(--ds-ink-2)}
.site-header .nav a:hover,.hd .nav a:hover{color:var(--ds-brand)}
/* 焦点 */
:focus-visible{outline:2px solid #5a7ed1!important;outline-offset:2px}
