/* Naharland v1.0.276 — public homepage/login typography polish
   One small public-only typography layer. Does not touch admin runtime or heavy operational pages.
   Font choice: Vazirmatn as main Persian/UI typeface with safe system fallbacks.
*/
:root{
  --nl-public-font:"Vazirmatn","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
  --nl-public-heading-weight:900;
  --nl-public-body-weight:500;
  --nl-public-lead-weight:650;
}
html,body{
  font-family:var(--nl-public-font)!important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.nl-login-v276,
body.nl-public-home-v276,
body.nh210-gateway-page{
  font-family:var(--nl-public-font)!important;
  font-weight:var(--nl-public-body-weight);
  letter-spacing:0!important;
}
body.nl-login-v276 *,
body.nl-public-home-v276 *,
body.nh210-gateway-page *{
  font-family:inherit;
}
body.nl-login-v276 :is(h1,h2,h3,h4,.brand-name strong,.mobile-brand strong,.form-head h2),
body.nl-public-home-v276 :is(h1,h2,h3,h4,.brand-title b,.hero-card h1,.login-panel h2,.hotline a),
body.nh210-gateway-page :is(h1,h2,h3,.nh210-panel-card strong,.nh210-kicker){
  font-family:var(--nl-public-font)!important;
  font-weight:var(--nl-public-heading-weight)!important;
  letter-spacing:0!important;
  line-height:1.42;
}
body.nl-login-v276 :is(p,.hero p,.form-head p,.brand-stat span,.brand-foot,.mini-footer,.forgot-note,label),
body.nl-public-home-v276 :is(p,.lead,.sub,.card p,.login-panel p,.hotline span,.trust-text span,label),
body.nh210-gateway-page :is(.nh210-lead,.nh210-panel-card small,.nh210-note){
  font-family:var(--nl-public-font)!important;
  letter-spacing:0!important;
  line-height:1.95;
}
body.nl-login-v276 input,
body.nl-login-v276 button,
body.nl-public-home-v276 input,
body.nl-public-home-v276 textarea,
body.nl-public-home-v276 button,
body.nl-public-home-v276 .btn,
body.nh210-gateway-page a,
body.nh210-gateway-page button{
  font-family:var(--nl-public-font)!important;
  letter-spacing:0!important;
}
/* Login page: more formal, still warm. */
body.nl-login-v276 .hero h1{
  font-size:clamp(36px,5.1vw,60px)!important;
  line-height:1.34!important;
}
body.nl-login-v276 .hero p{
  font-size:17px!important;
  font-weight:650!important;
}
body.nl-login-v276 .form-head h2{
  font-size:clamp(26px,3vw,34px)!important;
}
body.nl-login-v276 .input-wrap input{
  font-weight:750!important;
}
body.nl-login-v276 .submit{
  font-weight:900!important;
}
/* Public homepage: corporate landing style. */
body.nl-public-home-v276 .brand-title b{
  font-size:19px!important;
}
body.nl-public-home-v276 .hero-card h1,
body.nl-public-home-v276 h1{
  line-height:1.38!important;
}
body.nl-public-home-v276 .lead{
  font-weight:650!important;
}
body.nl-public-home-v276 .card h3,
body.nl-public-home-v276 form h3{
  font-weight:900!important;
}
body.nl-public-home-v276 .btn{
  font-weight:900!important;
}
/* Entry gateway: replace older Tahoma look with the same public typography. */
body.nh210-gateway-page .nh210-brand-row h1{
  line-height:1.35!important;
}
body.nh210-gateway-page .nh210-panel-card strong{
  line-height:1.45!important;
}
@media(max-width:640px){
  body.nl-login-v276 .hero h1,
  body.nl-public-home-v276 h1,
  body.nh210-gateway-page .nh210-brand-row h1{line-height:1.48!important;}
  body.nl-login-v276 .form-head h2{font-size:24px!important;line-height:1.55!important;}
}
