/* =========================================================================
   font-comfort 2026-11-18 —— 外语站字体观感优化（对齐 rapiddirect 舒适排版）
   仅作用于 www.zcjtech.com 外语站；中文站不引用本文件。
   字体：Manrope（几何 grotesque，近似 NEUE HASS，支持拉丁/西里尔/希腊/越南）
   ========================================================================= */

/* 0) 覆盖各页面 CSS 末尾的 *{font-family:'Inter',...!important} 通配锁死规则。
      本文件在所有页面 CSS 之后加载，后出现的 !important 胜出。
      保留原中/日回退字体链，仅把西文主字体换成 Manrope。 */
*{font-family:'Manrope','Inter','Noto Sans SC','PingFang SC','Microsoft YaHei','Segoe UI',Arial,sans-serif !important;}
html[lang='ja'] *{font-family:'Manrope','Inter','Hiragino Kaku Gothic ProN','Yu Gothic','Meiryo','Noto Sans JP',sans-serif !important;}

/* 1) 正文：行高从 1.7 收到 1.55（英文更紧凑易读），全站正字距 +0.2px（替代负字距的挤压感） */
body{
  line-height:1.55 !important;
  letter-spacing:.2px;
}

/* 2) 段落略加重到 500、行高舒适（rapiddirect 正文段落为 500 字重） */
p{
  font-weight:500;
  line-height:1.62;
}

/* 3) 标题：字重统一 600（覆盖 base.css 的 700/800 !important），字距改正值 */
h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,
.h1-like,.page-h1 h1,.page-banner h1,.hero-content h2,
.nn-hero-title,.solution-head h2,.grid-title,.ip-title h2{
  font-weight:600 !important;
  letter-spacing:.2px !important;
}

/* 4) 首页主视觉大标题：56 → 48px，负字距 → 正字距，行高收紧到 1.18 */
.nn-hero-title{
  font-size:48px !important;
  line-height:1.18 !important;
  letter-spacing:.2px !important;
}

/* 5) 内页头图标题：去掉 4px 大字距造成的松散，收为 0.6px */
.page-banner h1{
  font-size:44px !important;
  line-height:1.2 !important;
  letter-spacing:.6px !important;
}

/* 6) 导航与按钮文字轻微正字距，整体更透气 */
.nav-main > li > a,
.nn-tab,
button,.btn{
  letter-spacing:.2px;
}

/* 7) 移动端保持字号收敛 */
@media (max-width:768px){
  .nn-hero-title{font-size:34px !important;line-height:1.2 !important;}
  .page-banner h1{font-size:30px !important;letter-spacing:.4px !important;}
}
