/* Urdu only: the Arabic-script subset leaves Latin names/numbers in the UI font. */
@font-face {
  font-family: "Noto Nastaliq Urdu";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/noto-nastaliq-urdu/arabic-v23.woff2?v=23") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
html[lang="ur"] body {
  font-family: "Noto Nastaliq Urdu", "Segoe UI Variable", "Segoe UI", sans-serif;
  line-height: 2.2;
  font-synthesis: none;
}
html[lang="ur"] :is(h1, h2, h3, p, a, button, label, input, select, textarea) {
  letter-spacing: normal;
}
html[lang="ur"] :is(h1, h2, h3) { line-height: 1.9; }
/* Slightly smaller display text; keep paragraph sizes and Nastaliq leading. */
html[lang="ur"] h1 { font-size: clamp(30px, 4.25vw, 52px); }
html[lang="ur"] :is(.dashboard-heading, .page-heading) h1 { font-size: clamp(29px, 3.4vw, 41px); }
html[lang="ur"] .screen-home .dashboard-heading h1 { font-size: clamp(26px, 2.75vw, 36px); }
html[lang="ur"] .screen-home .storage-card h2 { font-size: clamp(26px, 3vw, 37px); }
html[lang="ur"] .screen-home .quick-upload h2 { font-size: 20px; }
html[lang="ur"] .section-row h2 { font-size: 23px; }
html[lang="ur"] .footer-app-copy h2 { font-size: clamp(23px, 2.6vw, 29px); }
html[lang="ur"] :is(.button, .main-nav a, .user-button, .field input, .field select) {
  line-height: 2.2;
  font-size: 16px;
}
html[lang="ur"] :is(.button, .main-nav a, .user-button) { font-size: 15px; }
html[lang="ur"] :is(.eyebrow, .field-error, .field-hint) { line-height: 2.2; }
html[lang="ur"] :is(input[type="email"], .otp-input, #accountEmail, #verifyEmailLabel) {
  font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
}
