/* Google Fonts' Noto Sans Tamil, bundled under the included SIL OFL license.
   Only Tamil glyphs use this face; Latin/French keep the normal UI font. */
@font-face{font-family:'Noto Sans Tamil';font-style:normal;font-weight:100 900;font-stretch:62.5% 100%;font-display:swap;src:url('/public/fonts/NotoSansTamil.ttf') format('truetype');unicode-range:U+0B80-0BFF,U+200C-200D,U+25CC,U+11FC0-11FFF;}
html:lang(ta){--font:'Noto Sans Tamil',Inter,system-ui,sans-serif;}
html:lang(ta) body,html:lang(ta) :where(button,input,textarea,select,option,h1,h2,h3,h4,h5,h6,p,a,label,small,strong,summary,span,li,td,th,div){font-family:'Noto Sans Tamil',Inter,system-ui,sans-serif;letter-spacing:normal;}
html:lang(ta) body{--font:'Noto Sans Tamil',Inter,system-ui,sans-serif;font-size:13px;line-height:1.75;}
/* Preserve icon fonts and code. No page zoom or compounded nested text scaling. */
html:lang(ta) :is(.fa,.fas,.far,.fab,.fa-solid,.fa-regular,.fa-brands){font-family:var(--fa-style-family,'Font Awesome 6 Free');}
html:lang(ta) .fa-brands{font-family:'Font Awesome 6 Brands';}
html:lang(ta) :is(code,pre,.font-mono){font-family:ui-monospace,SFMono-Regular,Consolas,monospace;}
html:lang(ta) :is(p,.tool-page-heading p,.login-subtitle,.tool-link-hint,.form-group label,.login-card label,.fh-nav-link,.btn,.login-submit,.tool-tabs button,.signup-step-title){font-size:13px;line-height:1.75;}
html:lang(ta) :is(.tool-page-heading h1,.page-hero h1,.auth-box h1,.login-title,.profile-heading h1){font-size:clamp(23px,2.6vw,26px);line-height:1.5;letter-spacing:normal;}
html:lang(ta) :is(.fh-learning-hero h2,.joy-journey-heading h1){font-size:clamp(23px,2.8vw,31px);line-height:1.5;letter-spacing:normal;}
html:lang(ta) :is(.hero h1){font-size:clamp(30px,4.4vw,54px);line-height:1.4;letter-spacing:normal;}
html:lang(ta) :is(.section-head h2,.activity-heading h2){font-size:clamp(23px,3vw,35px);line-height:1.5;letter-spacing:normal;}
html:lang(ta) .activity-copy h3{font-size:15px;line-height:1.65;}
html:lang(ta) .activity-copy p{font-size:12px;line-height:1.8;}
html:lang(ta) :is(.eyebrow,.activity-controls button,.login-methods button,.fh-mobile-nav span,.tool-tabs button,.tool-starter,.fh-nav-link){font-size:12px;line-height:1.7;}
html:lang(ta) :is(.login-language,.login-signup,.login-link-hint,.activity-caption,.login-password-label a){font-size:12px;line-height:1.8;}
html:lang(ta) :is(button,.btn,.tool-tabs button,.fh-nav-link){white-space:normal;}
/* Form text stays comfortably readable and avoids iOS focus zoom. */
html:lang(ta) :is(input,textarea,select){font-size:15px;line-height:1.7;}
@media(max-width:600px){html:lang(ta) :is(input,textarea,select){font-size:16px!important;}html:lang(ta) .hero h1{font-size:30px;}html:lang(ta) .login-title{font-size:25px;}html:lang(ta) .head-actions .btn{font-size:12px;padding:10px;}}
