/* ============================================================
   UED·中国 — 共享样式 /assets/site.css
   蓝图坐标 · 清透渐变 · 前强后稳
   ============================================================ */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body,h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd,ul,ol{margin:0}
ul[class],ol[class]{list-style:none;padding:0}
img,svg,video{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}
a{color:inherit}
table{border-collapse:collapse;width:100%}

:root{
  --ued-blue:#0057B8;
  --ued-navy:#003E85;
  --ued-blue-light:#4A9BFF;
  --ued-mist:#E6EDF5;
  --ued-paper:#F7F9FC;
  --ued-orange:#FF6B35;
  --ued-orange-soft:#FFB27A;
  --ued-ink:#0E1B2A;
  --ued-gray:#5A6B7C;
  --ued-ok:#12B886;
  --ued-amber:#FFC53D;
  --ued-white:#FFFFFF;

  --ued-font:"Noto Sans SC","Source Han Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --ued-font-mono:ui-monospace,"SFMono-Regular","SF Mono",Menlo,Consolas,"Liberation Mono",monospace;

  --ued-header-h:84px;
  --ued-header-h-mobile:64px;
  --ued-radius:18px;
  --ued-radius-sm:10px;
  --ued-ease:cubic-bezier(.2,.7,.3,1);
  --ued-line:rgba(0,87,184,.16);
  --ued-line-soft:rgba(0,87,184,.08);
  --ued-shadow:0 24px 60px -32px rgba(14,27,42,.35);
}

/* ---------- 基准排版 ---------- */
body{
  font-family:var(--ued-font);
  font-size:16px;
  line-height:1.75;
  color:var(--ued-ink);
  background-color:var(--ued-paper);
  background-image:
    linear-gradient(rgba(0,87,184,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,87,184,.045) 1px,transparent 1px);
  background-size:96px 96px;
  background-position:center top;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-weight:800;letter-spacing:-.01em;line-height:1.2;color:var(--ued-navy)}
h1{font-size:clamp(34px,5.6vw,72px)}
h2{font-size:clamp(24px,3.4vw,40px)}
h3{font-size:clamp(19px,2vw,24px)}
h4{font-size:17px}
p{line-height:1.75}
strong{font-weight:700}
.mono,.ued-kpi,.ued-index,.ued-eyebrow,.ued-footer__title,.ued-footer__meta,.ued-footer__legal,.ued-footer__year,.ued-crumbs,.ued-phone{font-family:var(--ued-font-mono)}

a{text-decoration:none}
:focus-visible{outline:2px solid var(--ued-orange);outline-offset:3px;border-radius:4px}

#main-content{scroll-margin-top:96px}
@media (max-width:1120px){#main-content{scroll-margin-top:78px}}

/* ---------- 布局容器 ---------- */
.ued-container{width:100%;max-width:1200px;margin:0 auto;padding:0 clamp(18px,4vw,40px)}
.ued-container--narrow{max-width:860px}
.ued-container--wide{max-width:1360px}

.ued-section{padding:clamp(48px,7vw,104px) 0;position:relative}
.ued-section--tight{padding-top:clamp(24px,3vw,40px)}
.ued-section__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:14px 22px;margin-bottom:clamp(24px,3vw,44px)}

/* ---------- 坐标轴与注释 ---------- */
.ued-rail{position:relative;padding-left:clamp(0px,2.6vw,44px)}
.ued-rail::before{
  content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;
  background:linear-gradient(180deg,rgba(0,87,184,.05),rgba(0,87,184,.32) 22%,rgba(0,87,184,.12) 78%,rgba(255,107,53,.30));
}
.ued-index{font-size:12px;letter-spacing:.18em;color:var(--ued-gray);display:inline-block}
.ued-note{
  font-size:12px;letter-spacing:.2em;color:var(--ued-gray);
  writing-mode:vertical-rl;text-orientation:mixed;line-height:1.9;
}
.ued-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  color:var(--ued-blue);
}
.ued-eyebrow::before{content:"";width:22px;height:1px;background:var(--ued-orange);flex:none}
.ued-rule{height:1px;border:0;margin:0;background:linear-gradient(90deg,rgba(0,87,184,.28),rgba(0,87,184,.04))}

/* ---------- 栅格 ---------- */
.ued-grid{display:grid;gap:clamp(20px,2.6vw,34px);grid-template-columns:repeat(12,minmax(0,1fr))}
.ued-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ued-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ued-span-4{grid-column:span 4}
.ued-span-6{grid-column:span 6}
.ued-span-8{grid-column:span 8}
.ued-span-12{grid-column:span 12}
.ued-offset-2{margin-left:calc(16.666% + 12px)}
@media (max-width:900px){
  .ued-grid--2,.ued-grid--3{grid-template-columns:minmax(0,1fr)}
  .ued-span-4,.ued-span-6,.ued-span-8{grid-column:span 12}
  .ued-offset-2{margin-left:0}
}

/* ---------- 文本组件 ---------- */
.ued-lede{font-size:clamp(17px,1.5vw,21px);line-height:1.7;color:var(--ued-gray);max-width:62ch}
.ued-quiet{font-size:14px;color:var(--ued-gray)}
.ued-kpi{font-size:clamp(30px,4vw,52px);font-weight:700;font-variant-numeric:tabular-nums;color:var(--ued-navy);letter-spacing:-.02em;line-height:1.05}

/* ---------- 按钮 ---------- */
.ued-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 22px;border-radius:999px;border:1px solid transparent;
  font-size:15px;font-weight:700;line-height:1.2;white-space:nowrap;
  cursor:pointer;text-decoration:none;
  transition:transform .2s var(--ued-ease),background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.ued-btn:hover{transform:translateY(-1px)}
.ued-btn:active{transform:translateY(0)}
.ued-btn--primary{background:var(--ued-blue);color:#fff;box-shadow:0 10px 24px -12px rgba(0,87,184,.75)}
.ued-btn--primary:hover{background:var(--ued-navy)}
.ued-btn--accent{background:var(--ued-orange);color:#fff;box-shadow:0 10px 24px -12px rgba(255,107,53,.8)}
.ued-btn--accent:hover{background:#E85A26}
.ued-btn--ghost{background:#fff;color:var(--ued-navy);border-color:rgba(0,87,184,.3)}
.ued-btn--ghost:hover{border-color:var(--ued-blue);background:rgba(0,87,184,.06)}
.ued-btn--sm{padding:9px 16px;font-size:13.5px}

/* ---------- 徽标与状态 ---------- */
.ued-badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:4px 11px;border-radius:999px;border:1px solid transparent;
  font-size:12px;font-weight:600;letter-spacing:.06em;white-space:nowrap;
}
.ued-badge--new{background:rgba(18,184,134,.12);color:#0B7A58;border-color:rgba(18,184,134,.38)}
.ued-badge--archived{background:var(--ued-mist);color:var(--ued-gray);border-color:rgba(90,107,124,.28)}
.ued-badge--warn{background:rgba(255,197,61,.18);color:#8A6400;border-color:rgba(255,197,61,.55)}
.ued-badge--accent{background:rgba(255,107,53,.12);color:#C8451A;border-color:rgba(255,107,53,.42)}

/* ---------- 卡片与面板 ---------- */
.ued-card{
  position:relative;background:#fff;border:1px solid var(--ued-line);
  border-radius:var(--ued-radius);padding:clamp(20px,2.4vw,30px);
}
.ued-card--mist{background:var(--ued-mist);border-color:transparent}
.ued-card--ink{background:var(--ued-ink);border-color:transparent;color:rgba(255,255,255,.84)}
.ued-card--ink h2,.ued-card--ink h3,.ued-card--ink h4{color:#fff}
.ued-card__head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:14px}
.ued-card__title{font-size:18px;font-weight:700;color:inherit;letter-spacing:-.01em}

/* ---------- 图片容器 ---------- */
.ued-media{
  position:relative;display:block;width:100%;aspect-ratio:16/9;
  border-radius:var(--ued-radius);overflow:hidden;
  background:linear-gradient(140deg,var(--ued-mist),#fff 72%);
}
.ued-media img{width:100%;height:100%;object-fit:cover}
.ued-media--4x3{aspect-ratio:4/3}
.ued-media--1x1{aspect-ratio:1/1}
.ued-media--3x4{aspect-ratio:3/4}
.ued-media--wide{aspect-ratio:21/9}
.ued-media__frame{position:absolute;inset:0;border:1px solid rgba(0,87,184,.18);border-radius:inherit;pointer-events:none}
.ued-media--placeholder::before{
  content:"";position:absolute;inset:0;
  background-image:
    linear-gradient(90deg,rgba(0,87,184,.14) 1px,transparent 1px),
    linear-gradient(rgba(0,87,184,.14) 1px,transparent 1px);
  background-size:32px 32px;opacity:.65;
}
.ued-media__caption{margin-top:10px;font-size:12.5px;letter-spacing:.04em;color:var(--ued-gray)}

/* ---------- 面包屑 ---------- */
.ued-crumbs{
  display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;
  font-size:13px;letter-spacing:.04em;color:var(--ued-gray);
}
.ued-crumbs li{display:flex;align-items:center;gap:8px}
.ued-crumbs li+li::before{content:"/";color:rgba(90,107,124,.5)}
.ued-crumbs a{color:var(--ued-gray);border-bottom:1px solid transparent;transition:color .2s ease,border-color .2s ease}
.ued-crumbs a:hover{color:var(--ued-blue);border-bottom-color:var(--ued-blue)}

/* ---------- 长文正文 ---------- */
.ued-prose{font-size:17px;line-height:1.8;color:var(--ued-ink);max-width:74ch}
.ued-prose h2{font-size:clamp(23px,2.8vw,32px);margin:1.8em 0 .6em;padding-bottom:.35em;border-bottom:1px solid var(--ued-line)}
.ued-prose h3{font-size:20px;margin:1.5em 0 .45em}
.ued-prose p{margin:0 0 1.1em}
.ued-prose ul,.ued-prose ol{margin:0 0 1.2em;padding-left:1.35em}
.ued-prose li{margin-bottom:.5em}
.ued-prose a{color:var(--ued-blue);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ued-prose a:hover{text-decoration-color:var(--ued-orange)}
.ued-prose code{font-family:var(--ued-font-mono);font-size:.92em;background:var(--ued-mist);padding:2px 6px;border-radius:4px}
.ued-prose blockquote{margin:0 0 1.2em;padding:14px 20px;border-left:3px solid var(--ued-orange);background:var(--ued-mist);border-radius:0 var(--ued-radius-sm) var(--ued-radius-sm) 0}

/* ---------- 跳转链接 ---------- */
.ued-skip{
  position:absolute;left:16px;top:-64px;z-index:200;
  padding:10px 18px;border-radius:0 0 10px 10px;
  background:var(--ued-navy);color:#fff;font-size:14px;font-weight:700;
  transition:top .2s var(--ued-ease);
}
.ued-skip:focus{top:0}

/* ============================================================
   头部
   ============================================================ */
.ued-header{
  position:sticky;top:0;z-index:80;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--ued-line);
}
.ued-header__inner{
  max-width:1360px;margin:0 auto;
  padding:0 clamp(16px,3vw,34px);
  min-height:var(--ued-header-h);
  display:grid;
  grid-template-columns:auto minmax(40px,1fr) auto auto;
  align-items:center;
  gap:clamp(12px,1.8vw,26px);
}

/* 品牌 */
.ued-brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:none}
.ued-brand__glyph{
  width:44px;height:44px;flex:none;
  display:grid;place-items:center;
  border-radius:13px;
  background:linear-gradient(145deg,var(--ued-blue-light),var(--ued-blue) 42%,var(--ued-navy));
  color:#fff;font-family:var(--ued-font-mono);font-size:12px;font-weight:700;letter-spacing:.08em;
  box-shadow:0 10px 22px -14px rgba(0,87,184,.9);
}
.ued-brand__text{display:flex;flex-direction:column;line-height:1.25}
.ued-brand__line{font-size:17px;font-weight:800;letter-spacing:-.01em;color:var(--ued-navy)}
.ued-brand__tagline{font-size:11.5px;letter-spacing:.14em;color:var(--ued-gray)}

/* 中间坐标轴 */
.ued-axis{display:flex;align-items:center;gap:14px;min-width:0;overflow:hidden}
.ued-axis__line{
  flex:1 1 auto;height:1px;min-width:14px;
  background-image:repeating-linear-gradient(90deg,rgba(0,87,184,.4) 0 4px,transparent 4px 10px);
}
.ued-batch{
  display:inline-flex;align-items:center;gap:8px;flex:none;
  padding:5px 13px;border-radius:999px;
  border:1px solid rgba(18,184,134,.38);
  background:rgba(18,184,134,.09);
  color:#0B7A58;font-size:12px;font-weight:600;letter-spacing:.06em;white-space:nowrap;
}
.ued-batch__dot{width:6px;height:6px;border-radius:50%;background:var(--ued-ok);box-shadow:0 0 0 3px rgba(18,184,134,.18);flex:none}

/* 导航 */
.ued-nav{display:flex;align-items:center}
.ued-nav__list{display:flex;align-items:center;gap:2px;margin:0;padding:0;list-style:none}
.ued-nav__item{list-style:none}
.ued-nav__link{
  position:relative;display:inline-block;
  padding:9px 12px;border-radius:8px;
  font-size:14.5px;font-weight:600;color:var(--ued-ink);
  text-decoration:none;white-space:nowrap;
  transition:color .2s ease,background-color .2s ease;
}
.ued-nav__link::after{
  content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;
  background:var(--ued-orange);border-radius:2px;
  transform:scaleX(0);transform-origin:left;
  transition:transform .24s var(--ued-ease);
}
.ued-nav__link:hover{color:var(--ued-blue);background:rgba(0,87,184,.06)}
.ued-nav__link:hover::after{transform:scaleX(1)}
.ued-nav__link[aria-current="page"]{color:var(--ued-navy);background:rgba(0,87,184,.1)}
.ued-nav__link[aria-current="page"]::after{transform:scaleX(1);background:var(--ued-blue)}
.ued-nav__quick{display:none}

/* 工具区 */
.ued-header__utility{display:flex;align-items:center;gap:clamp(10px,1.4vw,18px);flex:none}
.ued-phone{
  font-size:12.5px;font-weight:600;letter-spacing:.02em;color:var(--ued-navy);
  padding:6px 12px;border-radius:999px;border:1px dashed var(--ued-line);white-space:nowrap;
}
.ued-chip{
  display:inline-flex;align-items:center;
  padding:9px 15px;border-radius:999px;
  background:rgba(0,87,184,.07);color:var(--ued-navy);
  font-size:14px;font-weight:600;text-decoration:none;
  border:1px solid transparent;
  transition:background-color .2s ease,border-color .2s ease;
}
.ued-chip:hover{background:rgba(0,87,184,.13);border-color:rgba(0,87,184,.28)}

/* 移动端汉堡按钮 */
.ued-nav__toggle{
  display:none;position:relative;
  width:44px;height:44px;flex:none;padding:0;
  border:1px solid rgba(0,87,184,.26);border-radius:12px;
  background:#fff;cursor:pointer;
}
.ued-nav__toggle-bars{
  position:absolute;inset:0;margin:auto;width:20px;height:14px;display:block;
}
.ued-nav__toggle-bars span{
  position:absolute;left:0;right:0;height:2px;border-radius:2px;
  background:var(--ued-navy);
  transition:transform .24s var(--ued-ease),opacity .18s ease;
}
.ued-nav__toggle-bars span:nth-child(1){top:0}
.ued-nav__toggle-bars span:nth-child(2){top:6px}
.ued-nav__toggle-bars span:nth-child(3){top:12px}
.ued-nav__toggle[aria-expanded="true"] .ued-nav__toggle-bars span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.ued-nav__toggle[aria-expanded="true"] .ued-nav__toggle-bars span:nth-child(2){opacity:0}
.ued-nav__toggle[aria-expanded="true"] .ued-nav__toggle-bars span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* 阅读进度 */
.ued-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;overflow:hidden;pointer-events:none}
.ued-progress__bar{
  display:block;height:100%;width:0;
  background:linear-gradient(90deg,var(--ued-blue),var(--ued-blue-light) 52%,var(--ued-orange));
}

/* ---------- 头部 · 平板与手机 ---------- */
@media (max-width:1120px){
  .ued-header__inner{
    grid-template-columns:minmax(0,1fr) auto;
    min-height:var(--ued-header-h-mobile);
    gap:12px;
  }
  .ued-axis{display:none}
  .ued-phone{display:none}
  .ued-nav__toggle{display:block}
  .ued-nav{
    position:fixed;top:var(--ued-header-h-mobile);left:0;right:0;
    display:block;
    max-height:calc(100dvh - var(--ued-header-h-mobile));
    overflow-y:auto;
    padding:16px clamp(16px,4vw,28px) 30px;
    background:#fff;
    border-bottom:1px solid var(--ued-line);
    box-shadow:0 30px 60px -30px rgba(14,27,42,.35);
    transform:translateY(-14px);
    opacity:0;visibility:hidden;pointer-events:none;
    transition:transform .24s var(--ued-ease),opacity .2s ease,visibility .24s linear;
  }
  .ued-nav[data-open]{
    transform:translateY(0);
    opacity:1;visibility:visible;pointer-events:auto;
  }
  .ued-nav__list{flex-direction:column;align-items:stretch;gap:0}
  .ued-nav__link{
    display:block;padding:15px 4px;border-radius:0;
    font-size:17px;border-bottom:1px solid var(--ued-line-soft);
  }
  .ued-nav__link::after{left:4px;right:auto;width:26px;bottom:8px}
  .ued-nav__quick{display:block;margin-top:22px}
  .ued-nav__quick-label{
    font-family:var(--ued-font-mono);
    font-size:11.5px;letter-spacing:.2em;color:var(--ued-gray);
    text-transform:uppercase;margin-bottom:12px;
  }
  .ued-nav__quick-links{display:flex;flex-wrap:wrap;gap:10px}
}
@media (max-width:560px){
  .ued-brand__tagline{display:none}
  .ued-brand__glyph{width:38px;height:38px;border-radius:11px}
  .ued-header__utility .ued-btn{padding:9px 14px;font-size:13px}
}

/* ============================================================
   页脚
   ============================================================ */
.ued-footer{
  position:relative;
  margin-top:clamp(64px,9vw,128px);
  color:rgba(255,255,255,.78);
  background:
    radial-gradient(1100px 420px at 10% -12%,rgba(74,155,255,.30),transparent 62%),
    radial-gradient(880px 380px at 96% 2%,rgba(255,178,122,.20),transparent 60%),
    linear-gradient(168deg,#00346F 0%,#0E1B2A 58%,#0B1521 100%);
}
.ued-footer__rule{
  height:2px;
  background:linear-gradient(90deg,var(--ued-blue) 0%,var(--ued-blue-light) 30%,var(--ued-orange-soft) 68%,var(--ued-orange) 100%);
  opacity:.92;
}
.ued-footer__inner{padding:clamp(40px,5vw,68px) clamp(18px,4vw,40px) clamp(28px,3vw,42px)}
.ued-footer__grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.35fr;
  gap:clamp(24px,3vw,48px);
}
.ued-footer__col{min-width:0}
.ued-footer__col--brand{max-width:34ch}
.ued-footer__mark{font-size:22px;font-weight:800;color:#fff;letter-spacing:-.01em;line-height:1.3}
.ued-footer__slogan{margin-top:8px;font-size:14px;letter-spacing:.06em;color:rgba(255,255,255,.72)}
.ued-footer__meta{margin-top:10px;font-size:12.5px;letter-spacing:.02em;color:rgba(255,255,255,.5)}
.ued-footer__title{
  font-size:11.5px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(255,255,255,.52);margin-bottom:16px;
}
.ued-footer__list{display:grid;gap:11px;margin:0;padding:0;list-style:none}
.ued-footer__list a{
  font-size:14.5px;color:rgba(255,255,255,.84);
  border-bottom:1px solid transparent;
  transition:color .2s ease,border-color .2s ease;
}
.ued-footer__list a:hover{color:#fff;border-bottom-color:var(--ued-orange)}
.ued-footer__key{
  display:block;font-family:var(--ued-font-mono);font-size:11.5px;
  letter-spacing:.16em;color:rgba(255,255,255,.44);margin-bottom:2px;
}
.ued-footer__val{display:block;font-size:14.5px;line-height:1.6;color:rgba(255,255,255,.86);word-break:break-word}

.ued-footer__cta{
  margin-top:clamp(32px,4vw,54px);
  padding:clamp(20px,2.6vw,30px);
  border-radius:var(--ued-radius);
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(120deg,rgba(74,155,255,.20),rgba(255,107,53,.10));
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;
}
.ued-footer__cta-text{font-size:15.5px;color:rgba(255,255,255,.9);max-width:52ch;margin:0}

.ued-footer__bottom{
  margin-top:clamp(26px,3vw,40px);
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.14);
  display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 28px;
  font-size:12.5px;color:rgba(255,255,255,.5);
}
.ued-footer__legal{letter-spacing:.04em;white-space:nowrap}
.ued-footer__note{flex:1 1 340px;line-height:1.7}
.ued-footer__year{white-space:nowrap}

@media (max-width:1024px){
  .ued-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .ued-footer__grid{grid-template-columns:minmax(0,1fr)}
  .ued-footer__cta{flex-direction:column;align-items:flex-start}
}

/* ============================================================
   动效
   ============================================================ */
.ued-reveal{transition:opacity .28s ease,transform .28s var(--ued-ease)}
.ued-reveal.ued-enter{opacity:0;transform:translateY(14px)}
.ued-reveal.is-visible{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    transition-delay:0ms !important;
  }
  .ued-reveal.ued-enter{opacity:1 !important;transform:none !important}
  .ued-btn:hover{transform:none}
}
