/* Language switcher + per-language typography. Loaded on every page. */
/* Urdu font, served from this site and cut down to the Urdu alphabet */
@font-face{font-family:"Noto Nastaliq Urdu";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/noto-nastaliq-urdu-1f3c26b5.woff2) format("woff2");unicode-range:U+0600-06FF,U+200C-200F,U+FDFA}
@font-face{font-family:"Noto Nastaliq Urdu";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/noto-nastaliq-latin-03e22abb.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Images carry width/height so the layout doesn't jump; :where keeps this weaker than any page rule */
:where(img[width][height]){height:auto}
/* Readable small text: 4.5:1 or better on the site's light backgrounds */
:root{--ink-3:#5f6871}
.eyebrow,.jtime{color:#1a5fd0}
.lang-switch{position:relative;display:inline-block}
.lang-switch__btn{display:inline-flex;align-items:center;gap:6px;border:1px solid #dbe3f0;background:#fff;color:#475069;font:600 14px/1 Inter,system-ui,sans-serif;padding:9px 12px;border-radius:12px;cursor:pointer;min-height:40px}
.lang-switch__btn:hover,.lang-switch.is-open .lang-switch__btn{border-color:#2c7efe;color:#2c7efe}
.lang-switch__btn::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-inline-start:2px}
.lang-switch__menu{position:absolute;top:calc(100% + 8px);inset-inline-end:0;min-width:160px;background:#fff;border:1px solid #e3eaf4;border-radius:14px;box-shadow:0 18px 40px -16px rgba(22,25,26,.25);padding:6px;display:none;z-index:80}
.lang-switch.is-open .lang-switch__menu{display:block}
.lang-switch__menu a{display:block;padding:10px 12px;border-radius:10px;color:#16191a;text-decoration:none;font-weight:600;font-size:15px}
.lang-switch__menu a:hover{background:#f0f6ff;color:#2c7efe}
.lang-switch__menu a[aria-current]{background:#eaf2ff;color:#1b62d6}
.lang-switch__menu a[lang=ur]{font-family:"Noto Nastaliq Urdu",serif;font-size:16px;line-height:1.9}

/* Scripts: Latin words (brand, prices, tech names) keep Inter/Manrope through the fallback order */
html[lang=bn] body{font-family:Inter,"Noto Sans Bengali",system-ui,sans-serif}
html[lang=bn] h1,html[lang=bn] h2,html[lang=bn] h3,html[lang=bn] h4{font-family:Manrope,"Noto Sans Bengali",Inter,sans-serif}
html[lang=hi] body{font-family:Inter,"Noto Sans Devanagari",system-ui,sans-serif}
html[lang=hi] h1,html[lang=hi] h2,html[lang=hi] h3,html[lang=hi] h4{font-family:Manrope,"Noto Sans Devanagari",Inter,sans-serif}
html[lang=bn] body,html[lang=hi] body{line-height:1.75}

/* Urdu: Nastaliq is tall, so give lines room; headings stay bold but not cramped */
html[lang=ur] body{font-family:"Noto Nastaliq Urdu",Inter,serif;line-height:2.05}
html[lang=ur] h1,html[lang=ur] h2,html[lang=ur] h3,html[lang=ur] h4,html[lang=ur] h5{font-family:"Noto Nastaliq Urdu",Manrope,serif;line-height:1.75;letter-spacing:0}
html[lang=ur] .btn,html[lang=ur] button,html[lang=ur] input,html[lang=ur] select,html[lang=ur] textarea{font-family:"Noto Nastaliq Urdu",Inter,serif;line-height:1.9}
html[lang=ur] .eyebrow,html[lang=ur] .lead,html[lang=ur] .sub-text{letter-spacing:0;text-transform:none}

/* Right-to-left: flex/grid mirror by themselves; fix things positioned with left/right */
[dir=rtl] body{text-align:right}
[dir=rtl] .head--center,[dir=rtl] .text-center{text-align:center}
[dir=rtl] .ticks li,[dir=rtl] ul,[dir=rtl] ol{padding-right:0}
[dir=rtl] .pz-off{right:auto;left:18px;direction:ltr;unicode-bidi:isolate}
[dir=rtl] .breadcrumb,[dir=rtl] .page-banner__btns,[dir=rtl] .cta__btns{direction:rtl}
[dir=rtl] .sub,[dir=rtl] .dropdown{right:auto;left:0}
[dir=rtl] .mig-arrow svg,[dir=rtl] .btn svg{transform:scaleX(-1)}
/* Prices, emails, domains and code read left-to-right inside Urdu text */
[dir=rtl] .pz-price b,[dir=rtl] .pz-price s,[dir=rtl] code,[dir=rtl] .domain__input,[dir=rtl] input[type=email],[dir=rtl] input[type=url],[dir=rtl] select#tld{direction:ltr;unicode-bidi:isolate}

@media (max-width:640px){.lang-switch__btn{padding:8px 10px;font-size:13px}}
/* The banner close mark is a symbol, not Urdu text */
html[lang=ur] .qila-bar button{font-family:Inter,system-ui,sans-serif}
/* Domain endings read left to right inside Urdu text */
[dir=rtl] .tld b,[dir=rtl] .tlds b{direction:ltr;unicode-bidi:isolate}
[dir=rtl] .page-banner__art{direction:ltr}
/* Phones: the header must fit the logo, language switch and menu button (QC-BUG-01).
   Below 601px the switch shows only the globe (the language name stays as its accessible name);
   below 480px "View Plans" leaves the header, as Pricing is in the menu and on every page. */
@media (max-width:600px){.header .lang-switch__btn{font-size:0;gap:4px;padding:8px 9px}.header .lang-switch__btn>span{font-size:17px;line-height:1}}
@media (max-width:479px){.header__actions .btn{display:none}}
/* Narrow laptops and tablets in landscape (901-1199px): the full English menu, the language switch and
   "View Plans" did not fit, so the button ran off the right edge. Same compact switch, smaller logo and gaps. */
@media (min-width:901px) and (max-width:1180px){.header__inner{gap:12px}.nav a{padding-inline:10px}.logo img{height:40px}.header .lang-switch__btn{font-size:0;gap:4px;padding:8px 9px}.header .lang-switch__btn>span{font-size:17px;line-height:1}}
@media (min-width:901px) and (max-width:950px){.nav a{padding-inline:6px}}
@media (min-width:1181px) and (max-width:1199px){.header .link-muted{display:none}}
/* Urdu header controls keep the English heights: Nastaliq's tall line box made them bigger */
html[lang=ur] .header .cur-switch button{font-family:Inter,system-ui,sans-serif;line-height:1}
html[lang=ur] .header .nav__link,html[lang=ur] .header .lang-switch__btn,html[lang=ur] .header__actions .btn{padding-block:0;line-height:1.9}
html[lang=ur] .header .nav__link{height:41px}
html[lang=ur] .header .lang-switch__btn{height:40px}
html[lang=ur] .header__actions .btn{height:45px}
