/* ==========================================================================
   亿德中文官网 · 共享样式表  /assets/site.css
   结构：设计变量 / reset / 中文排版 / 通用组件 / 页头 / 页脚 / 响应式
   ========================================================================== */

/* --- 1. 设计变量 ------------------------------------------------------- */
:root{
  /* 色彩 */
  --yd-snow:#F7FAF9;
  --yd-pine:#16463A;
  --yd-pine-2:#1F6A55;
  --yd-pine-3:#DCEAE3;
  --yd-orange:#C94E17;
  --yd-orange-deep:#A33D0F;
  --yd-orange-2:#FBE7DC;
  --yd-ice:#3E7C9B;
  --yd-ice-2:#E3EFF5;
  --yd-ink:#1B2622;
  --yd-muted:#5A6F67;
  --yd-white:#FFFFFF;

  /* 线条与深底文字 */
  --yd-line:rgba(22,70,58,.16);
  --yd-line-soft:rgba(22,70,58,.09);
  --yd-on-dark:rgba(247,250,249,.84);
  --yd-on-dark-soft:rgba(247,250,249,.54);
  --yd-on-dark-line:rgba(247,250,249,.16);

  /* 字体 */
  --yd-font-title:"Noto Sans SC","Source Han Sans CN","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --yd-font-body:"Source Han Sans CN","Noto Sans SC","PingFang SC","Hiragino Sans GB","Source Han Serif SC","Songti SC",system-ui,serif;

  /* 尺度 */
  --yd-fs-base:17px;
  --yd-lh-body:1.85;
  --yd-lh-card:1.6;
  --yd-lh-title:1.25;

  --yd-w-page:1160px;
  --yd-w-wide:1340px;
  --yd-gutter:clamp(18px,4vw,44px);
  --yd-flow:clamp(48px,7vw,96px);

  --yd-radius-sm:12px;
  --yd-radius-card:20px;
  --yd-radius-lg:28px;
  --yd-radius-pill:999px;

  --yd-shadow-1:0 2px 8px -5px rgba(22,70,58,.4);
  --yd-shadow-2:0 18px 42px -26px rgba(22,70,58,.55);
  --yd-shadow-3:0 26px 60px -32px rgba(22,70,58,.62);

  --yd-t:180ms;
  --yd-t-slow:220ms;
}

/* --- 2. Reset ---------------------------------------------------------- */
*,
*::before,
*::after{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  background-color:var(--yd-snow);
  background-image:linear-gradient(180deg,#EDF4F1 0%,rgba(247,250,249,0) 520px);
  background-repeat:no-repeat;
  background-size:100% 520px;
  color:var(--yd-ink);
  font-family:var(--yd-font-body);
  font-size:var(--yd-fs-base);
  font-weight:400;
  line-height:var(--yd-lh-body);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img,svg,video,picture{ max-width:100%; display:block; }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ background:none; border:0; padding:0; cursor:pointer; }
ul,ol{ margin:0; }
hr{ border:0; border-top:1px solid var(--yd-line-soft); margin:0; }

::selection{ background:var(--yd-orange-2); color:var(--yd-pine); }

:focus-visible{
  outline:2px solid var(--yd-orange);
  outline-offset:2px;
}

#main-content{
  display:block;
  scroll-margin-top:104px;
}

/* --- 3. 中文排版 ------------------------------------------------------- */
h1,h2,h3,h4,h5,h6{
  margin:0 0 .7em;
  font-family:var(--yd-font-title);
  font-weight:900;
  line-height:var(--yd-lh-title);
  letter-spacing:-.012em;
  color:var(--yd-pine);
}
h1{ font-size:clamp(32px,4.4vw,46px); }
h2{ font-size:clamp(24px,2.9vw,32px); }
h3{ font-size:clamp(19px,2.1vw,23px); }
h4{ font-size:18px; }

p{ margin:0 0 1.15em; }
p:last-child{ margin-bottom:0; }

a{
  color:var(--yd-pine-2);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
a:hover{ color:var(--yd-orange); }

strong,b{ font-weight:800; color:var(--yd-pine); }
small{ font-size:14.5px; color:var(--yd-muted); }

/* --- 4. 通用容器与网格 ------------------------------------------------- */
.yd-container{
  width:min(var(--yd-w-page), calc(100% - var(--yd-gutter) * 2));
  margin-inline:auto;
}
.yd-container--wide{
  width:min(var(--yd-w-wide), calc(100% - var(--yd-gutter) * 2));
  margin-inline:auto;
}

.yd-band{ padding-block:clamp(40px,5vw,72px); }

.yd-prose{
  max-width:68ch;
  font-size:18px;
}
.yd-prose > p{ line-height:1.9; margin-bottom:1.4em; }
.yd-prose h2{ margin-top:2.1em; }
.yd-prose h3{ margin-top:1.7em; }
.yd-prose ul,
.yd-prose ol{ padding-left:1.4em; margin-bottom:1.4em; }
.yd-prose li{ margin-bottom:.5em; }

.yd-split{
  display:grid;
  grid-template-columns:minmax(220px,3fr) minmax(0,7fr);
  gap:clamp(28px,4vw,64px);
  align-items:start;
}
.yd-split--43{ grid-template-columns:minmax(0,4fr) minmax(0,6fr); }
.yd-split--73{ grid-template-columns:minmax(0,7fr) minmax(220px,3fr); }

.yd-grid{
  display:grid;
  gap:clamp(18px,2.4vw,28px);
}
.yd-grid--2{ grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); }
.yd-grid--3{ grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); }

/* --- 5. 通用组件 ------------------------------------------------------- */
.yd-skip{
  position:fixed;
  top:0;
  left:var(--yd-gutter);
  z-index:200;
  transform:translateY(-130%);
  padding:12px 22px;
  border-radius:0 0 16px 16px;
  background:var(--yd-pine);
  color:var(--yd-snow);
  font-family:var(--yd-font-title);
  font-size:15px;
  font-weight:800;
  text-decoration:none;
  transition:transform var(--yd-t) ease;
}
.yd-skip:focus{
  transform:translateY(0);
  color:var(--yd-snow);
}

.yd-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 22px;
  border:1.5px solid transparent;
  border-radius:var(--yd-radius-pill);
  font-family:var(--yd-font-title);
  font-size:15.5px;
  font-weight:800;
  letter-spacing:.01em;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:background-color var(--yd-t) ease,color var(--yd-t) ease,
             border-color var(--yd-t) ease,transform var(--yd-t) ease;
}
.yd-btn--primary{
  background:var(--yd-orange);
  border-color:var(--yd-orange);
  color:#fff;
}
.yd-btn--primary:hover{
  background:var(--yd-orange-deep);
  border-color:var(--yd-orange-deep);
  color:#fff;
  transform:translateY(-2px);
}
.yd-btn--quiet{
  background:var(--yd-white);
  border-color:var(--yd-pine-3);
  color:var(--yd-pine);
}
.yd-btn--quiet:hover{
  background:var(--yd-pine-3);
  border-color:var(--yd-pine-3);
  color:var(--yd-pine);
}
.yd-btn--ghost{
  background:transparent;
  border-color:var(--yd-line);
  color:var(--yd-pine);
}
.yd-btn--ghost:hover{
  border-color:var(--yd-pine-2);
  color:var(--yd-pine-2);
}
.yd-btn--sm{ min-height:40px; padding:0 16px; font-size:14.5px; }
.yd-btn--block{ width:100%; }

.yd-frame{
  position:relative;
  padding:clamp(24px,3.4vw,48px);
  border:1px solid var(--yd-line-soft);
  border-radius:var(--yd-radius-lg);
  background:var(--yd-white);
}
.yd-frame::before,
.yd-frame::after{
  content:"";
  position:absolute;
  width:18px;
  height:18px;
  border:2px solid var(--yd-pine-2);
  opacity:.45;
  pointer-events:none;
}
.yd-frame::before{
  top:14px;
  left:14px;
  border-right:0;
  border-bottom:0;
  border-radius:8px 0 0 0;
}
.yd-frame::after{
  right:14px;
  bottom:14px;
  border-top:0;
  border-left:0;
  border-radius:0 0 8px 0;
}

.yd-card{
  position:relative;
  padding:clamp(22px,2.6vw,32px);
  border:1px solid var(--yd-line-soft);
  border-radius:var(--yd-radius-card);
  background:var(--yd-white);
  box-shadow:var(--yd-shadow-1);
  transition:transform var(--yd-t) ease,box-shadow var(--yd-t) ease,border-color var(--yd-t) ease;
}
.yd-card:hover,
.yd-card:focus-within{
  transform:translateY(-2px);
  box-shadow:var(--yd-shadow-2);
  border-color:var(--yd-line);
}
.yd-card--pine{ background:var(--yd-pine-3); border-color:transparent; }
.yd-card--ice{ background:var(--yd-ice-2); border-color:transparent; }
.yd-card--tint{ background:var(--yd-orange-2); border-color:transparent; }

.yd-panel{
  padding:clamp(24px,3vw,40px);
  border:1px solid var(--yd-line-soft);
  border-radius:var(--yd-radius-lg);
  background:var(--yd-white);
}
.yd-panel--ice{ background:var(--yd-ice-2); border-color:transparent; }
.yd-panel--pine{ background:var(--yd-pine-3); border-color:transparent; }

.yd-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 12px;
  border-radius:var(--yd-radius-pill);
  background:var(--yd-pine-3);
  color:var(--yd-pine);
  font-family:var(--yd-font-title);
  font-size:13.5px;
  font-weight:700;
  line-height:1.4;
  transition:background-color var(--yd-t) ease,color var(--yd-t) ease;
}
.yd-tag--ice{ background:var(--yd-ice-2); color:var(--yd-ice); }
.yd-tag--orange{ background:var(--yd-orange-2); color:var(--yd-orange); }
.yd-tag--solid{ background:var(--yd-orange); color:#fff; }
.yd-tag--outline{ background:transparent; border:1px solid var(--yd-line); color:var(--yd-pine-2); }

.yd-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:var(--yd-ice);
  font-family:var(--yd-font-title);
  font-size:13px;
  font-weight:800;
  letter-spacing:.16em;
}
.yd-eyebrow::before{
  content:"";
  width:26px;
  height:1px;
  background:currentColor;
  opacity:.6;
}

.yd-ruler{
  height:10px;
  background-image:repeating-linear-gradient(90deg,var(--yd-line) 0 1px,transparent 1px 12px);
  background-repeat:repeat-x;
  background-size:12px 4px;
  background-position:0 100%;
}

.yd-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.yd-list__item{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:16px 18px;
  border-radius:var(--yd-radius-sm);
  background:var(--yd-pine-3);
  line-height:var(--yd-lh-card);
}

.yd-timeline{
  list-style:none;
  margin:0;
  padding:0;
}
.yd-timeline__item{
  position:relative;
  padding:0 0 28px 30px;
  border-left:1px solid var(--yd-line);
}
.yd-timeline__item:last-child{
  padding-bottom:0;
  border-left-color:transparent;
}
.yd-timeline__item::before{
  content:"";
  position:absolute;
  top:8px;
  left:-5px;
  width:10px;
  height:10px;
  border:2px solid var(--yd-pine-2);
  border-radius:50%;
  background:var(--yd-snow);
}

.yd-figure{
  margin:0;
  display:grid;
  gap:12px;
}
.yd-figure__media{
  position:relative;
  display:grid;
  place-items:center;
  aspect-ratio:16 / 10;
  overflow:hidden;
  border-radius:var(--yd-radius-card);
  background-image:linear-gradient(150deg,var(--yd-pine-3) 0%,var(--yd-ice-2) 100%);
}
.yd-figure__media > img,
.yd-figure__media > svg,
.yd-figure__media > picture{
  width:100%;
  height:100%;
  object-fit:cover;
}
.yd-figure__caption{
  color:var(--yd-muted);
  font-size:14.5px;
  line-height:1.7;
}

.yd-crumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 24px;
  padding:0;
  list-style:none;
  color:var(--yd-muted);
  font-family:var(--yd-font-title);
  font-size:13.5px;
  font-weight:600;
}
.yd-crumbs li{ display:flex; align-items:center; gap:8px; }
.yd-crumbs li + li::before{
  content:"／";
  color:var(--yd-line);
  font-weight:400;
}
.yd-crumbs a{
  color:var(--yd-muted);
  text-decoration:none;
}
.yd-crumbs a:hover{ color:var(--yd-orange); }
.yd-crumbs [aria-current="page"]{ color:var(--yd-pine-2); }

.yd-senior{
  font-size:calc(var(--yd-fs-base) * 1.15);
}
.yd-senior p,
.yd-senior li{ line-height:2; }
.yd-senior .yd-btn{ min-height:54px; padding-inline:26px; font-size:17px; }
.yd-senior .yd-tag{ padding:7px 14px; font-size:15px; }

/* 显现（由 site.js 写入 data-revealed） */
[data-js="true"] [data-reveal]{
  opacity:0;
  transform:translateY(14px);
  transition:opacity 420ms ease,transform 420ms ease;
}
[data-js="true"] [data-reveal][data-revealed="true"]{
  opacity:1;
  transform:none;
}

/* --- 6. 页头 ----------------------------------------------------------- */
.yd-header{
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(247,250,249,.92);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--yd-line-soft);
  transition:box-shadow var(--yd-t) ease,background-color var(--yd-t) ease;
}
.yd-header::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  height:4px;
  background-image:repeating-linear-gradient(90deg,var(--yd-line) 0 1px,transparent 1px 16px);
  opacity:.5;
  pointer-events:none;
}
.yd-header[data-condensed="true"]{
  box-shadow:0 14px 34px -26px rgba(22,70,58,.7);
}

.yd-header__inner{
  position:relative;
  display:flex;
  align-items:center;
  gap:clamp(14px,2vw,30px);
  width:min(var(--yd-w-wide), calc(100% - var(--yd-gutter) * 2));
  min-height:78px;
  margin-inline:auto;
  padding-block:14px;
  transition:min-height var(--yd-t) ease,padding var(--yd-t) ease;
}
.yd-header[data-condensed="true"] .yd-header__inner{
  min-height:60px;
  padding-block:8px;
}

.yd-header__brandline{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:14px;
  min-width:0;
}

.yd-brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:var(--yd-pine);
  text-decoration:none;
}
.yd-brand:hover{ color:var(--yd-pine); }

.yd-brand__mark{
  display:grid;
  flex:0 0 auto;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px;
  background:var(--yd-pine);
  color:var(--yd-snow);
  font-family:var(--yd-font-title);
  font-size:20px;
  font-weight:900;
  box-shadow:0 8px 20px -14px rgba(22,70,58,.9);
  transition:transform var(--yd-t) ease,border-radius var(--yd-t) ease,
             width var(--yd-t) ease,height var(--yd-t) ease,font-size var(--yd-t) ease;
}
.yd-brand:hover .yd-brand__mark{
  transform:translateY(-2px);
  border-radius:20px 14px 20px 14px;
}
.yd-header[data-condensed="true"] .yd-brand__mark{
  width:36px;
  height:36px;
  border-radius:12px;
  font-size:17px;
}

.yd-brand__text{
  display:flex;
  flex-direction:column;
  min-width:0;
  line-height:1.2;
}
.yd-brand__name{
  color:var(--yd-pine);
  font-family:var(--yd-font-title);
  font-size:19px;
  font-weight:900;
  letter-spacing:-.01em;
  white-space:nowrap;
  transition:font-size var(--yd-t) ease;
}
.yd-brand__tag{
  max-height:20px;
  overflow:hidden;
  color:var(--yd-muted);
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.16em;
  white-space:nowrap;
  transition:max-height var(--yd-t) ease,opacity var(--yd-t) ease;
}
.yd-header[data-condensed="true"] .yd-brand__name{ font-size:17.5px; }
.yd-header[data-condensed="true"] .yd-brand__tag{
  max-height:0;
  opacity:0;
}

.yd-tick{
  flex:0 0 auto;
  width:1px;
  height:26px;
  background:var(--yd-line);
}
.yd-header__current{
  padding:5px 12px;
  border-radius:var(--yd-radius-pill);
  background:var(--yd-pine-3);
  color:var(--yd-pine-2);
  font-family:var(--yd-font-title);
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
  white-space:nowrap;
}
.yd-header__current[hidden]{ display:none; }

.yd-navtoggle{
  display:none;
  align-items:center;
  gap:10px;
  min-height:48px;
  margin-left:auto;
  padding:0 16px;
  border:1.5px solid var(--yd-pine-3);
  border-radius:var(--yd-radius-pill);
  background:var(--yd-snow);
  color:var(--yd-pine);
  font-family:var(--yd-font-title);
  font-size:15px;
  font-weight:800;
  transition:background-color var(--yd-t) ease,border-color var(--yd-t) ease;
}
.yd-navtoggle:hover{ background:var(--yd-pine-3); }
.yd-navtoggle__bars{
  display:grid;
  gap:4px;
  width:18px;
}
.yd-navtoggle__bars span{
  height:2px;
  border-radius:2px;
  background:currentColor;
  transition:transform var(--yd-t) ease,opacity var(--yd-t) ease;
}
.yd-navtoggle[aria-expanded="true"] .yd-navtoggle__bars span:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}
.yd-navtoggle[aria-expanded="true"] .yd-navtoggle__bars span:nth-child(2){ opacity:0; }
.yd-navtoggle[aria-expanded="true"] .yd-navtoggle__bars span:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}

.yd-nav{
  display:flex;
  align-items:center;
  gap:clamp(8px,1.4vw,18px);
  margin-left:auto;
}
.yd-nav__list{
  display:flex;
  align-items:center;
  gap:2px;
  list-style:none;
  margin:0;
  padding:0;
}
.yd-nav__link{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  padding:10px 14px;
  border-radius:var(--yd-radius-pill);
  color:var(--yd-pine);
  font-family:var(--yd-font-title);
  font-size:15.5px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  transition:background-color var(--yd-t) ease,color var(--yd-t) ease;
}
.yd-nav__link:hover{ background:var(--yd-pine-3); color:var(--yd-pine); }
.yd-nav__link[aria-current="page"]{
  background:var(--yd-pine);
  color:var(--yd-snow);
}
.yd-nav__link[aria-current="page"]:hover{ color:var(--yd-snow); }
.yd-nav__idx{
  color:var(--yd-muted);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}
.yd-nav__link[aria-current="page"] .yd-nav__idx{ color:rgba(247,250,249,.7); }

.yd-nav__actions{
  display:flex;
  align-items:center;
  gap:8px;
  padding-left:clamp(8px,1.4vw,16px);
  border-left:1px solid var(--yd-line);
}
.yd-nav__actions .yd-btn{ min-height:44px; }

/* --- 7. 页脚 ----------------------------------------------------------- */
.yd-footer{
  position:relative;
  margin-top:clamp(80px,10vw,140px);
  overflow:hidden;
  background:var(--yd-pine);
  color:var(--yd-on-dark);
}
.yd-footer::before{
  content:"";
  position:absolute;
  top:-30%;
  right:-10%;
  left:-10%;
  height:80%;
  background-image:
    radial-gradient(58% 100% at 18% 0%,rgba(220,234,227,.16) 0%,rgba(22,70,58,0) 72%),
    radial-gradient(48% 100% at 86% 6%,rgba(62,124,155,.3) 0%,rgba(22,70,58,0) 74%);
  pointer-events:none;
}

.yd-footer__inner{
  position:relative;
  z-index:1;
  width:min(var(--yd-w-wide), calc(100% - var(--yd-gutter) * 2));
  margin-inline:auto;
  padding-block:clamp(44px,5.5vw,72px) 32px;
}
.yd-footer__inner::before{
  content:"";
  display:block;
  height:6px;
  margin-bottom:clamp(28px,3vw,44px);
  background-image:repeating-linear-gradient(90deg,var(--yd-on-dark-line) 0 1px,transparent 1px 18px);
  background-repeat:repeat-x;
  background-size:18px 5px;
  background-position:0 50%;
}

.yd-footer__top{
  display:grid;
  grid-template-columns:minmax(260px,1.05fr) minmax(0,2fr);
  gap:clamp(36px,5vw,80px);
  padding-bottom:clamp(32px,4vw,52px);
  border-bottom:1px solid var(--yd-on-dark-line);
}

.yd-footer__brand{
  display:grid;
  gap:18px;
  justify-items:start;
  align-content:start;
}
.yd-brand--footer{ color:var(--yd-snow); }
.yd-brand--footer:hover{ color:var(--yd-snow); }
.yd-brand--footer .yd-brand__mark{
  background:var(--yd-pine-3);
  color:var(--yd-pine);
  box-shadow:none;
}
.yd-brand--footer .yd-brand__name{ color:var(--yd-snow); }
.yd-brand--footer .yd-brand__tag{ color:var(--yd-on-dark-soft); }
.yd-brand--footer .yd-brand__tag{ max-height:none; opacity:1; }

.yd-footer__note{
  max-width:36ch;
  margin:0;
  color:var(--yd-on-dark);
  font-size:16px;
  line-height:1.85;
}

.yd-footer__cols{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(20px,3vw,40px);
}
.yd-footer__col{ min-width:0; }
.yd-footer__heading{
  margin:0 0 16px;
  color:var(--yd-on-dark-soft);
  font-family:var(--yd-font-title);
  font-size:13.5px;
  font-weight:800;
  letter-spacing:.14em;
}
.yd-footer__list{
  display:grid;
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
}
.yd-footer__list a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:32px;
  color:var(--yd-snow);
  font-size:16px;
  text-decoration:none;
  transition:color var(--yd-t) ease;
}
.yd-footer__list a::before{
  content:"";
  flex:0 0 auto;
  width:12px;
  height:1px;
  background:var(--yd-on-dark-line);
  transition:width var(--yd-t) ease,background-color var(--yd-t) ease;
}
.yd-footer__list a:hover{ color:var(--yd-pine-3); }
.yd-footer__list a:hover::before{
  width:20px;
  background:var(--yd-pine-3);
}

.yd-footer__contact{
  display:grid;
  gap:8px;
  padding-block:clamp(26px,3vw,38px);
  border-bottom:1px solid var(--yd-on-dark-line);
}
.yd-footer__line{
  margin:0;
  color:var(--yd-on-dark);
  font-size:16px;
  line-height:1.9;
}
.yd-footer__line--soft{ color:var(--yd-on-dark-soft); font-size:15px; }
.yd-footer__label{
  display:inline-block;
  min-width:78px;
  color:var(--yd-on-dark-soft);
  font-family:var(--yd-font-title);
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
}

.yd-footer__bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:12px 32px;
  padding-top:24px;
}
.yd-footer__legal{
  margin:0;
  color:var(--yd-on-dark-soft);
  font-family:var(--yd-font-title);
  font-size:14.5px;
  font-weight:600;
}
.yd-footer__icp{ color:var(--yd-on-dark); }
.yd-footer__footnote{
  max-width:70ch;
  margin:0;
  color:var(--yd-on-dark-soft);
  font-size:14px;
  line-height:1.85;
}

/* --- 8. 响应式 --------------------------------------------------------- */
@media (max-width:1180px){
  .yd-nav__link{ padding:9px 10px; font-size:14.5px; }
  .yd-nav__idx{ font-size:10px; }
  .yd-btn--sm{ padding:0 14px; }
}

@media (max-width:1023.98px){
  .yd-tick,
  .yd-header__current{ display:none; }

  .yd-navtoggle{ display:inline-flex; }

  .yd-nav{
    position:absolute;
    top:calc(100% + 10px);
    right:var(--yd-gutter);
    left:var(--yd-gutter);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    max-height:calc(100vh - 140px);
    margin-left:0;
    padding:16px;
    overflow-y:auto;
    border:1px solid var(--yd-line);
    border-radius:var(--yd-radius-lg);
    background:var(--yd-white);
    box-shadow:var(--yd-shadow-3);
  }
  .yd-nav[data-open="true"]{ display:flex; }

  .yd-nav__list{
    flex-direction:column;
    align-items:stretch;
    gap:4px;
  }
  .yd-nav__link{
    justify-content:flex-start;
    padding:14px 16px;
    border-radius:14px;
    font-size:17px;
  }
  .yd-nav__idx{ font-size:12px; }

  .yd-nav__actions{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    margin-left:0;
    padding:14px 0 0;
    border-top:1px solid var(--yd-line-soft);
    border-left:0;
  }
  .yd-nav__actions .yd-btn{
    width:100%;
    min-height:50px;
    font-size:16px;
  }

  .yd-split,
  .yd-split--43,
  .yd-split--73{ grid-template-columns:minmax(0,1fr); }
}

@media (max-width:900px){
  .yd-footer__top{ grid-template-columns:minmax(0,1fr); }
  .yd-footer__cols{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
  .yd-footer__bottom{ flex-direction:column; align-items:flex-start; }
}

@media (max-width:560px){
  .yd-header__inner{ min-height:64px; padding-block:10px; }
  .yd-brand__mark{ width:38px; height:38px; border-radius:12px; font-size:18px; }
  .yd-brand__name{ font-size:17px; }
  .yd-brand__tag{ letter-spacing:.1em; }
  .yd-brand__text{ max-width:150px; }
  .yd-brand__name,
  .yd-brand__tag{ overflow:hidden; text-overflow:ellipsis; }
  .yd-footer__cols{ grid-template-columns:minmax(0,1fr); gap:24px; }
  .yd-footer__label{ min-width:0; margin-right:8px; }
  .yd-prose{ font-size:17px; }
}

/* --- 9. 动效降级 ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }

  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }

  [data-js="true"] [data-reveal]{
    opacity:1;
    transform:none;
  }
  .yd-card:hover,
  .yd-card:focus-within,
  .yd-btn--primary:hover,
  .yd-brand:hover .yd-brand__mark{
    transform:none;
  }
}
