/* bycong.com — 苹果风基线复用自 boyangcong.com,按中文排版调整:
   PingFang 字族提前、正文行高加大、标题不用负字距 */
:root{
  --canvas:#ffffff;
  --alt:#f5f5f7;
  --footer-bg:#ececf0;
  --footer-text:#59595f;
  --text:#1d1d1f;
  --text-2:#6e6e73;
  --hairline:#d2d2d7;
  --field-border:#86868b;
  --accent:#0071e3;
  --button-text:#ffffff;
  --focus-ring:rgba(0,113,227,.22);
  --error:#c72c1c;
  --error-ring:rgba(199,44,28,.16);
  --card:#ffffff;
  --card-shadow:0 4px 24px rgba(0,0,0,.06);
  --nav-bg:rgba(255,255,255,.72);
  --grad-a:#0A84FF;
  --grad-b:#5E5CE6;
  --maxw:980px;
}
@media (prefers-color-scheme:dark){
  :root{
    --canvas:#000000;
    --alt:#1d1d1f;
    --footer-bg:#111112;
    --footer-text:#a1a1a6;
    --text:#f5f5f7;
    --text-2:#86868b;
    --hairline:#424245;
    --field-border:#6e6e73;
    --accent:#2997ff;
    --button-text:#000000;
    --focus-ring:rgba(41,151,255,.34);
    --error:#ff8173;
    --error-ring:rgba(255,129,115,.22);
    --card:#161617;
    --card-shadow:0 4px 24px rgba(0,0,0,.5);
    --nav-bg:rgba(22,22,23,.72);
  }
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"PingFang SC",-apple-system,BlinkMacSystemFont,"Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--canvas);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,summary:focus-visible{
  outline:3px solid var(--accent);outline-offset:3px;
}
.skip-link{
  position:fixed;z-index:1000;top:8px;left:8px;
  padding:9px 14px;border-radius:10px;
  background:var(--text);color:var(--canvas);font-size:14px;font-weight:600;
  transform:translateY(calc(-100% - 14px));transition:transform .16s ease;
}
.skip-link:focus{transform:none;text-decoration:none}
main:focus{outline:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .skip-link{transition:none}
}

/* ---- hero 背景虚化装饰环(远景,不参与碰撞) ---- */
@keyframes orbit{to{transform:rotate(360deg)}}
.orbit-lg{transform-box:view-box;transform-origin:100px 100px;animation:orbit 22s linear infinite}
@media (prefers-reduced-motion:reduce){.orbit-lg{animation:none}}
.hero-ring{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  /* hero 由 500px 加高到 600px 后等比放大(460→552,64vw→72vw),保持原有占屏观感 */
  width:min(552px,72vw);color:var(--accent);opacity:.18;filter:blur(5.3px);
}
/* ---- hero 品牌字母漂浮层(中景,清晰) ---- */
.hero-letters{position:absolute;inset:0}
.hero-letters img{position:absolute;top:0;left:0;will-change:transform;user-select:none;-webkit-user-drag:none}
@media(max-width:600px){.hero-ring{display:none}}

/* ---- nav ---- */
header.nav{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  background:var(--nav-bg);
  border-bottom:1px solid var(--hairline);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:70px}
.brand{display:flex;align-items:center}
.brand img{display:block;height:34px;width:auto}
.nav-links{display:flex;gap:24px;font-size:15px;white-space:nowrap}
.nav-links a{color:var(--text-2)}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"]{color:var(--accent);text-decoration:none}
@media(max-width:560px){
  .nav-inner{height:auto;min-height:70px;flex-wrap:wrap;padding:6px 22px 8px;row-gap:2px}
  .brand{width:auto;min-height:40px;justify-content:center;margin:0 auto}
  .brand img{height:28px}
  .nav-links{width:100%;flex-basis:100%;justify-content:space-between;gap:6px;font-size:13px}
  .nav-links a{display:flex;align-items:center;min-height:40px}
}

/* ---- hero ---- */
.hero{height:600px;display:flex;align-items:center;justify-content:center;text-align:center;position:relative;overflow:hidden}
.hero .wrap{position:relative;z-index:1}
.hero-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.blob{position:absolute;border-radius:50%;filter:blur(72px)}
.blob-a{width:420px;height:420px;background:var(--grad-a);opacity:.42;top:-150px;left:-90px}
.blob-b{width:460px;height:460px;background:var(--grad-b);opacity:.38;bottom:-190px;right:-110px}
@media (prefers-color-scheme:dark){.blob-a{opacity:.30}.blob-b{opacity:.28}}
@media(max-width:600px){.hero-letters{display:none}}
.eyebrow{font-size:15px;color:var(--text-2);letter-spacing:.06em;margin-bottom:18px}
.hero h1{
  font-size:clamp(34px,6.4vw,60px);
  line-height:1.2;
  font-weight:600;
  letter-spacing:.01em;
  margin-bottom:22px;
}
/* 唯一的局部微动:× 只保留渐变缓慢流动,自身不再旋转。
   用两条几何线段绘制,避免 Android/iOS/桌面字体度量差异让字形旋转时上下漂移。 */
.grad{
  position:relative;display:inline-block;
  width:.7em;height:.7em;margin:0 .2em;line-height:0;vertical-align:.34em;
  color:transparent;-webkit-text-fill-color:transparent;
}
.grad::before,.grad::after{
  content:"";position:absolute;left:50%;top:50%;
  width:.72em;height:.105em;border-radius:999px;
  background:linear-gradient(120deg,var(--grad-a),var(--grad-b),var(--grad-a));
  background-size:300% 100%;
  animation:grad-flow 12s linear infinite;
}
.grad::before{transform:translate(-50%,-50%) rotate(45deg)}
.grad::after{transform:translate(-50%,-50%) rotate(-45deg)}
/* 150% = 300%/(300%-100%),恰好平移一个渐变周期,循环无缝 */
@keyframes grad-flow{to{background-position:150% 0}}
@media (prefers-reduced-motion:reduce){.grad::before,.grad::after{animation:none}}
.hero p.lede{
  font-size:clamp(17px,2.2vw,21px);
  color:var(--text-2);
  max-width:640px;margin:0 auto;
  line-height:1.9;
}
/* hero 入场:一次性淡入上浮,错峰 80ms,之后完全静止(标题保持视觉锚点) */
@keyframes hero-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hero .eyebrow{animation:hero-in .55s cubic-bezier(.22,.61,.36,1) both}
.hero h1{animation:hero-in .55s cubic-bezier(.22,.61,.36,1) .08s both}
.hero p.lede{animation:hero-in .55s cubic-bezier(.22,.61,.36,1) .16s both}
@media (prefers-reduced-motion:reduce){
  .hero .eyebrow,.hero h1,.hero p.lede{animation:none}
}

/* ---- page hero(内页小标题区) ---- */
.page-hero{padding:72px 22px 40px;text-align:center}
.page-hero h1{font-size:clamp(28px,4.6vw,44px);font-weight:600;letter-spacing:.01em}
.page-hero p{color:var(--text-2);margin-top:14px;font-size:17px;max-width:640px;margin-left:auto;margin-right:auto}

/* ---- sections ---- */
section{padding:80px 0}
section.alt{background:var(--alt)}
.section-head{text-align:center;margin-bottom:52px}
.section-head h2{font-size:clamp(26px,3.8vw,38px);font-weight:600;letter-spacing:.01em}
.section-head p{color:var(--text-2);margin-top:12px;font-size:17px}

/* ---- pillars ---- */
.pillars{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media(max-width:720px){.pillars{grid-template-columns:1fr}}
.pillar{
  background:var(--card);border:1px solid var(--hairline);border-radius:18px;
  padding:30px 28px;
}
.pillar h3{font-size:20px;font-weight:600;margin-bottom:12px;display:flex;align-items:center;gap:10px}
.pillar-lede{min-height:3.8em;margin-bottom:15px;color:var(--text-2);font-size:15px;line-height:1.9}
.pillar ul{list-style:none;color:var(--text-2);font-size:15.5px}
.pillar li{padding:8px 0;border-bottom:1px solid var(--hairline)}
.pillar li:last-child{border-bottom:0}
.dot{width:9px;height:9px;border-radius:50%;background:linear-gradient(120deg,var(--grad-a),var(--grad-b));display:inline-block;flex:none}

/* ---- products ---- */
.products{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media(max-width:720px){.products{grid-template-columns:1fr}}
.product{
  position:relative;background:var(--card);border:1px solid var(--hairline);
  border-radius:20px;padding:34px 32px;box-shadow:var(--card-shadow);
  display:flex;flex-direction:column;min-height:220px;
  transition:transform .25s ease,box-shadow .25s ease;
}
.product:hover{transform:translateY(-4px);box-shadow:0 12px 36px rgba(0,0,0,.12)}
.product:focus-within{box-shadow:0 0 0 3px var(--focus-ring),var(--card-shadow)}
.product h3{font-size:23px;font-weight:600}
.product .cat{font-size:13px;color:var(--text-2);margin:4px 0 16px}
.product p{color:var(--text-2);font-size:15.5px;flex:1;line-height:1.9}
.product .cta{margin-top:20px;font-size:15px;font-weight:500}
.badge{
  align-self:flex-start;margin-top:20px;font-size:12.5px;font-weight:600;
  color:var(--accent);border:1px solid var(--accent);border-radius:980px;
  padding:5px 13px;letter-spacing:.04em;
}
/* ---- product media(产品卡片配图) ---- */
.product-media{
  position:relative;margin:-34px -32px 22px;aspect-ratio:2/1;overflow:hidden;
  border-radius:19px 19px 0 0;background:var(--alt);
  border-bottom:1px solid var(--hairline);
}
.product-media img{width:100%;height:100%;object-fit:cover;display:block}
/* 图片来源标注:贴照片右下角(与右上角的「修复前」角标错开,互不遮挡) */
.media-tag{
  position:absolute;right:10px;bottom:10px;
  background:rgba(0,0,0,.55);color:#fff;font-size:12px;line-height:1;
  padding:6px 14px;border-radius:980px;white-space:nowrap;
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
/* 修复前后对比:拖动分割线,左侧修复后、右侧修复前。
   只是图片查看控件 —— 不上传照片、不调用修复引擎、无服务端请求,
   故不属于产品展示边界禁止的「可运行的产品交互(demo/试用/在线体验)」。
   无自动动画,因此不计入站点动效预算。 */
.product-media.compare{--pos:50%;cursor:ew-resize;touch-action:pan-y}
.product-media.compare img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  user-select:none;-webkit-user-select:none;-webkit-user-drag:none;
}
/* 底图是「修复后」,上层盖着「修复前」并从分割线处裁掉右侧之外的部分。
   这样分割线从左往右划过时,划过的地方露出修复后的画面 —— 是「带出效果」,
   而不是反过来把效果擦掉。 */
.product-media.compare .cmp-top{clip-path:inset(0 0 0 var(--pos))}
.cmp-line{
  position:absolute;top:0;bottom:0;left:var(--pos);width:2px;margin-left:-1px;z-index:3;
  background:rgba(255,255,255,.92);box-shadow:0 0 0 1px rgba(0,0,0,.28);
}
.cmp-line:focus-visible{outline:none}
.cmp-grip{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,.95);box-shadow:0 2px 10px rgba(0,0,0,.3);
}
.cmp-line:focus-visible .cmp-grip,
.product-media.compare.is-dragging .cmp-grip{
  box-shadow:0 0 0 3px var(--accent),0 3px 12px rgba(0,0,0,.32);
}
/* 手柄上的左右小箭头 */
.cmp-grip::before,.cmp-grip::after{
  content:"";position:absolute;top:50%;margin-top:-5px;
  border:5px solid transparent;
}
.cmp-grip::before{left:8px;border-right-color:#1d1d1f}
.cmp-grip::after{right:8px;border-left-color:#1d1d1f}
.cmp-tag{
  position:absolute;top:10px;z-index:2;
  background:rgba(0,0,0,.55);color:#fff;font-size:12px;line-height:1;
  padding:5px 11px;border-radius:980px;letter-spacing:.04em;
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
.cmp-tag-left{left:10px}
.cmp-tag-right{right:10px}
.product-head{display:flex;align-items:center;gap:12px}
.product-icon{width:40px;height:40px;border-radius:10px;flex:none;display:block}
/* 备案承诺书原话,必须可见 —— 但不需要一个灰底卡片的重量,降为一行注记 */
.overseas-note{margin-top:26px;color:var(--text-2);font-size:13px;line-height:1.9;text-align:center}

/* ---- scope ---- */
.scope{font-size:17px;line-height:2;max-width:760px;margin:0 auto;text-align:center}
.scope-note{text-align:center;color:var(--text-2);font-size:13px;margin-top:22px}

/* ---- CTA banner ---- */
.cta-banner{text-align:center}
.cta-banner p{color:var(--text-2);margin-bottom:26px;font-size:17px}
.btn{
  display:inline-block;background:var(--accent);color:var(--button-text);border-radius:980px;
  padding:12px 30px;font-size:16px;font-weight:500;
}
.btn:hover{text-decoration:none;opacity:.9}

/* ---- prose(条款/说明类正文) ---- */
.prose{max-width:760px;margin:0 auto;padding:56px 0 88px}
.prose h2{font-size:21px;font-weight:600;margin:40px 0 14px}
.prose h2:first-child{margin-top:0}
.prose p{color:var(--text-2);font-size:15.5px;line-height:2;margin-bottom:14px}
.prose ul,.prose ol{color:var(--text-2);font-size:15.5px;line-height:2;padding-left:1.4em;margin-bottom:14px}
.prose li{margin-bottom:6px}
.prose strong{color:var(--text);font-weight:600}
.notice-card{
  background:var(--card);border:1px solid var(--hairline);border-radius:16px;
  padding:26px 28px;box-shadow:var(--card-shadow);margin:22px 0;
}
.notice-card h3{font-size:17px;font-weight:600;margin-bottom:10px}
.notice-card p,.notice-card ul{color:var(--text-2);font-size:14.5px;line-height:1.9}
.notice-card ul{list-style:none;padding-left:0}
.notice-card li{padding:5px 0}
.contact-lines{font-size:17px;line-height:2.2}
.contact-lines strong{font-weight:600}
.contact-hero{padding-bottom:20px}
.contact-hero + .form-wrap{padding-top:24px}
.contact-notice{
  margin:0 0 30px;padding:15px 18px;background:var(--alt);
  border-left:3px solid var(--accent);border-radius:0 12px 12px 0;
}
.contact-notice p{color:var(--text-2);font-size:13.5px;line-height:1.85}

/* ---- form ---- */
.form-wrap{max-width:640px;margin:0 auto;padding:40px 0 88px}
.field{margin-bottom:22px}
.field label{display:block;font-size:14.5px;font-weight:500;margin-bottom:8px}
.field label .opt{color:var(--text-2);font-weight:400;font-size:13px}
.field label .req,.contact-fields legend .req{color:var(--error);font-weight:500;font-size:13px}
.field input,.field textarea{
  width:100%;font:inherit;font-size:15.5px;color:var(--text);
  background:var(--card);border:1px solid var(--field-border);border-radius:12px;
  padding:12px 14px;outline:none;
}
.field input:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{
  border-color:var(--error);box-shadow:0 0 0 3px var(--error-ring);
}
.field textarea{min-height:140px;resize:vertical}
.form-hint{font-size:13px;color:var(--text-2);margin-top:6px}
.field-error{display:none;font-size:13px;color:var(--error);margin-top:6px}
.field-error.show{display:block}
.contact-fields{border:0;min-width:0}
.contact-fields legend{font-size:14.5px;font-weight:500;margin-bottom:2px}
.contact-choice{font-size:13px;color:var(--text-2);margin-bottom:18px}
.form-privacy{font-size:13px;color:var(--text-2);margin-top:16px}
/* honeypot:仅供反滥用,真人不可见不可达 */
.hp-field{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.form-actions{margin-top:30px}
.form-msg{margin-top:18px;font-size:15px;display:none}
.form-msg.ok{display:block;color:var(--accent)}
.form-msg.err{display:block;color:var(--error)}
button.btn{border:0;cursor:pointer;font-family:inherit}
button.btn:disabled{opacity:.5;cursor:default}

/* ---- footer ---- */
footer{background:var(--footer-bg);border-top:1px solid var(--hairline);padding:56px 0;font-size:14px;color:var(--footer-text)}
.foot-brand{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:20px}
.foot-brand img{display:block;height:26px;width:auto}
.foot-slogan{font-size:13px;color:var(--footer-text);letter-spacing:.04em}
/* 备案信息一行小字:公司全称 / 信用代码 / 注册地址 / 举报电话与专用邮箱。
   这几项由「备案信息页脚」requirement 与备案承诺书要求展示 —— 信息不减,只压版面重量。 */
.foot-info{font-size:12.5px;line-height:2;color:var(--footer-text);max-width:880px}
.foot-info a{color:var(--footer-text)}
.foot-info a:hover{color:var(--text)}
.foot-links{margin-top:26px;display:flex;flex-wrap:wrap;gap:8px 22px;font-size:13.5px}
.foot-links a{color:var(--footer-text)}
.foot-links a:hover{color:var(--text)}
.foot-links a[aria-current="page"]{color:var(--text);font-weight:500}
.beian{margin-top:18px;font-size:13px;display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center}
.beian a{color:var(--footer-text)}
.beian img{height:16px;width:auto;vertical-align:-3px;margin-right:4px}
.copyright{margin-top:22px;padding-top:22px;border-top:1px solid var(--hairline);font-size:12.5px}

/* ---- 外链图标(mask 上色,故跟随 currentColor,深色模式自适应) ---- */
.gh-icon{
  display:inline-block;width:15px;height:15px;vertical-align:-2px;margin-right:6px;
  background-color:currentColor;
  -webkit-mask:url(/assets/github.svg) center/contain no-repeat;
          mask:url(/assets/github.svg) center/contain no-repeat;
}
.ext-links{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:14.5px}
.product .ext-links{margin-top:20px;font-size:15px;font-weight:500}
/* 产品官网以纯文本呈现:保留可核验性,但不主动把境内访客送出站 */
.ext-plain{color:var(--text-2);font-weight:400}

/* ---- /about:洋葱剖面分层 ---- */
.layer-head{display:flex;align-items:center;gap:18px;margin-bottom:26px}
.layer-mark{width:46px;height:46px;flex:none;color:var(--accent)}
@media(max-width:600px){.layer-mark{display:none}}
.layer-no{font-size:12.5px;color:var(--text-2);letter-spacing:.14em;margin-bottom:2px}
.layer-head h2{font-size:clamp(23px,3.4vw,33px);font-weight:600;letter-spacing:.01em;line-height:1.35}
.layer-claim{font-size:clamp(19px,2.6vw,26px);font-weight:600;line-height:1.6;margin-bottom:18px}
.layer-lede{color:var(--text-2);font-size:16.5px;line-height:2;max-width:720px;margin-bottom:28px}
/* 环形描边:pathLength=1 让 dasharray 与字号无关;进入视口时画出。
   不支持 animation-timeline 的浏览器直接显示完整环(默认态即完整)。 */
.layer-mark circle{fill:none;stroke:currentColor;stroke-width:1.5;opacity:.3}
.layer-mark .accent{opacity:1;stroke-width:2.2}
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .layer-mark .accent{
      stroke-dasharray:1;stroke-dashoffset:1;
      animation:ring-draw linear both;
      animation-timeline:view();
      animation-range:entry 8% cover 30%;
    }
  }
}
@keyframes ring-draw{to{stroke-dashoffset:0}}
/* 三块并列:做什么 / 不做什么 / 承诺什么;为谁做的三个维度 */
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:720px){.trio{grid-template-columns:1fr}}
.trio-item{
  background:var(--card);border:1px solid var(--hairline);border-radius:16px;
  padding:26px 24px;
}
.trio-item h3{font-size:16px;font-weight:600;margin-bottom:12px;display:flex;align-items:center;gap:9px}
.trio-item ul{list-style:none;color:var(--text-2);font-size:15px}
.trio-item li{padding:7px 0;border-bottom:1px solid var(--hairline);line-height:1.8}
.trio-item li:last-child{border-bottom:0}
.trio-item p{color:var(--text-2);font-size:15px;line-height:1.9}
/* 可核验事实 */
.facts{list-style:none;max-width:760px;margin-bottom:22px}
.facts li{display:flex;flex-wrap:wrap;gap:2px 16px;padding:12px 0;border-bottom:1px solid var(--hairline);font-size:15.5px}
.facts li:last-child{border-bottom:0}
.facts .k{color:var(--text-2);min-width:9.5em}
.facts .v{color:var(--text)}
.layer-foot{color:var(--text-2);font-size:15px;line-height:1.95;max-width:720px;margin-top:22px}
/* 芯 */
.core{text-align:center}
.core-mark{width:78px;height:78px;color:var(--accent);margin:0 auto 28px;display:block}
@media(max-width:600px){.core-mark{width:62px;height:62px}}
.core p{color:var(--text-2);font-size:16.5px;line-height:2;max-width:660px;margin:0 auto 24px}
.core-slogan{font-size:clamp(22px,3.6vw,33px);font-weight:600;color:var(--text);letter-spacing:.01em;line-height:1.5}
/* 收尾只留指向 /report 的入口(spec 要求的是入口,不是重复电话邮箱 —— 那些在页脚) */
.core-report{margin-top:30px;color:var(--text-2);font-size:15px}

/* ---- /notes:可持续扩展的索引与文章详情 ---- */
.notes-hero{padding-bottom:16px}
.notes-hero h1 + p{max-width:700px;line-height:1.9}
.notes-index{max-width:900px;padding-top:16px;padding-bottom:96px}
.note-group + .note-group{margin-top:72px}
.note-group-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
  margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--hairline);
}
.note-group-head h2{font-size:clamp(23px,3vw,29px);font-weight:600;line-height:1.35}
.note-group-head p{margin-top:4px;color:var(--text-2);font-size:13.5px}
.note-project-source{
  display:inline-flex;align-items:center;min-height:44px;flex:none;
  font-size:14px;font-weight:500;
}
.note-list{list-style:none;display:grid;gap:14px}
.note-card{
  background:var(--card);border:1px solid var(--hairline);border-radius:18px;
  overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.035);
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.note-card:hover{
  border-color:var(--accent);transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.note-card > a{display:block;padding:26px 28px;color:var(--text)}
.note-card > a:hover{text-decoration:none}
.note-card > a:focus-visible{outline-offset:-4px}
.note-card-meta{display:flex;flex-wrap:wrap;gap:4px 8px;color:var(--text-2);font-size:13px}
.note-card h3{margin-top:8px;font-size:clamp(19px,2.6vw,23px);font-weight:600;line-height:1.5}
.note-card p{max-width:720px;margin-top:10px;color:var(--text-2);font-size:15px;line-height:1.85}
.note-card-more{display:inline-flex;align-items:center;min-height:40px;margin-top:13px;color:var(--accent);font-size:14px;font-weight:500}

.note-detail{max-width:804px;padding-top:38px;padding-bottom:104px}
.note-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px}
.note-article{margin-top:28px}
.note-article-head{padding-bottom:32px;border-bottom:1px solid var(--hairline)}
.note-kicker{color:var(--accent);font-size:13px;font-weight:600;letter-spacing:.08em}
.note-article-head h1{
  max-width:780px;margin-top:10px;font-size:clamp(30px,5.5vw,46px);
  font-weight:600;line-height:1.3;letter-spacing:.01em;
}
.note-summary{max-width:720px;margin-top:18px;color:var(--text-2);font-size:17px;line-height:1.9}
.note-meta{display:flex;flex-wrap:wrap;gap:4px 9px;margin-top:18px;color:var(--text-2);font-size:13.5px}
.article-toc{
  margin:28px 0 42px;padding:20px 22px;background:var(--alt);
  border:1px solid var(--hairline);border-radius:14px;
}
.article-toc > p{font-size:13px;font-weight:600}
.article-toc ol{display:flex;flex-wrap:wrap;gap:4px 24px;margin-top:8px;list-style-position:inside}
.article-toc li{color:var(--text-2);font-size:14px}
.article-toc a{display:inline-flex;align-items:center;min-height:36px}
.note-content{font-size:16px}
.note-content > .note-lede{font-size:17px;color:var(--text);line-height:2}
.note-content section{padding:0;margin-top:42px;scroll-margin-top:104px}
.note-content h2{margin-bottom:15px;font-size:23px;font-weight:600;line-height:1.45}
.note-content p{margin-bottom:16px;color:var(--text-2);line-height:2.05}
.note-content ul{margin-bottom:16px;padding-left:1.25em;color:var(--text-2)}
.note-content li{padding:5px 0 5px 4px;line-height:2}
.note-content strong{color:var(--text);font-weight:600}
.note-content code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.9em;background:var(--alt);border:1px solid var(--hairline);
  border-radius:6px;padding:1px 5px;overflow-wrap:anywhere;
}
.note-content .takeaway{
  margin-top:46px;padding:24px 26px;background:var(--alt);
  border-left:3px solid var(--accent);border-radius:0 14px 14px 0;
}
.note-content .takeaway h2{font-size:15px;color:var(--accent);letter-spacing:.06em}
.note-content .takeaway p{margin:0;color:var(--text);font-size:15.5px;line-height:2}
.note-end-nav{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin-top:54px;padding-top:22px;border-top:1px solid var(--hairline);
  color:var(--text-2);font-size:14px;
}
.note-end-nav a{display:inline-flex;align-items:center;min-height:44px;font-weight:500}

/* ---- 页内目录与错误页 ---- */
.page-toc{border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline)}
.page-toc .wrap{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 24px;padding-top:11px;padding-bottom:11px}
.page-toc a{display:inline-flex;align-items:center;min-height:34px;color:var(--text-2);font-size:14px}
.page-toc a:hover{color:var(--accent);text-decoration:none}
.page-toc-label{width:100%;text-align:center;color:var(--text);font-size:13px;font-weight:600;margin-bottom:2px}
section[id],.prose h2[id]{scroll-margin-top:104px}
.products-section{padding-top:32px}
#about,#products{padding-top:72px;padding-bottom:72px}
#about .section-head,#products .section-head{margin-bottom:44px}
#what,#how,#for-whom,#core{padding-top:72px;padding-bottom:72px}
.cta-banner{padding-top:68px;padding-bottom:68px}
.error-page{min-height:560px;display:flex;align-items:center;text-align:center;padding:72px 0}
.error-code{color:var(--accent);font-size:15px;font-weight:600;letter-spacing:.12em;margin-bottom:12px}
.error-page h1{font-size:clamp(32px,5vw,48px);font-weight:600;line-height:1.3}
.error-page .lede{max-width:560px;margin:18px auto 30px;color:var(--text-2);font-size:17px}
.error-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 22px;align-items:center}
.text-link{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
@media(max-width:600px){
  .hero{height:460px}
  .hero .wrap{width:100%}
  .hero h1{
    display:flex;align-items:center;justify-content:center;white-space:nowrap;
    font-size:clamp(29px,9vw,34px);
  }
  .hero h1 .grad{flex:none;margin:0 .16em;vertical-align:0}
  .hero p.lede{max-width:340px;font-size:16.5px;line-height:1.85}
  .page-hero{padding:56px 22px 32px}
  section{padding:64px 0}
  .section-head{margin-bottom:40px}
  .form-wrap{padding:32px 22px 64px}
  .contact-hero{padding-bottom:18px}
  .contact-hero + .form-wrap{padding-top:20px}
  .contact-notice{margin-bottom:26px;padding:14px 15px}
  .products-section{padding-top:24px}
  #about,#products,#what,#how,#for-whom,#core{padding-top:56px;padding-bottom:56px}
  #about .section-head,#products .section-head{margin-bottom:34px}
  .cta-banner{padding-top:56px;padding-bottom:56px}
  .pillar-lede{min-height:0}
  .prose{padding:44px 22px 64px}
  .notes-hero{padding-bottom:12px}
  .notes-index{padding-top:16px;padding-bottom:68px}
  .note-group-head{display:block;margin-bottom:14px;padding-bottom:12px}
  .note-project-source{margin-top:7px}
  .note-card > a{padding:22px 20px}
  .note-detail{padding-top:22px;padding-bottom:72px}
  .note-article{margin-top:20px}
  .note-article-head{padding-bottom:26px}
  .note-summary{font-size:16px}
  .article-toc{margin:22px 0 34px;padding:17px 18px}
  .article-toc ol{display:block;padding-left:0;list-style-position:inside}
  .article-toc li + li{margin-top:2px}
  .article-toc a{min-height:40px}
  .note-content{font-size:15.5px}
  .note-content > .note-lede{font-size:16px}
  .note-content section{margin-top:36px}
  .note-content h2{font-size:21px}
  .note-content .takeaway{padding:21px 20px}
  .note-end-nav{align-items:flex-start;flex-direction:column;gap:4px;margin-top:44px}
  .foot-info a,.foot-links a,.beian a{display:inline-flex;align-items:center;min-height:40px}
  footer{padding:48px 0}
  .error-page{min-height:480px;padding:56px 0}
}
