/* Language control: a quiet globe, with native language names. */
.language-switcher{position:fixed;top:25px;right:24px;z-index:1100;direction:ltr;font-family:var(--f-sans)}
.language-switcher__button{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:7px;border:1px solid #83b5ff55;border-radius:50%;color:#a9d5ff;background:radial-gradient(circle at 35% 25%,#173a66,#071326 75%);box-shadow:inset 0 1px 1px #ffffff18,0 0 14px #2182ff16;cursor:pointer;transition:color .25s,box-shadow .3s,transform .3s}
.language-switcher__button:before{content:"";position:absolute;inset:-4px;border:1px solid #55a2ff30;border-radius:50%;opacity:.3;animation:languageHalo 7s ease-in-out infinite;pointer-events:none}
.language-switcher__button:hover,.language-switcher__button[aria-expanded=true]{color:#fff;box-shadow:inset 0 1px 1px #ffffff30,0 0 24px #338cff50;transform:translateY(-1px)}
.language-switcher__button svg{width:28px;height:28px;overflow:visible}.language-switcher__meridians{transform-origin:16px 16px;animation:languageGlobe 16s linear infinite}
.language-switcher__dot{position:absolute;right:1px;bottom:2px;width:6px;height:6px;border-radius:50%;background:#5aabff;box-shadow:0 0 8px #258aff}
.language-switcher__panel{position:absolute;right:0;top:58px;width:224px;max-width:calc(100vw - 32px);padding:14px;border:1px solid #7aabeb3d;border-radius:16px;background:rgba(5,11,27,.98);backdrop-filter:blur(12px);box-shadow:0 18px 60px #0008,inset 0 1px 0 #ffffff0b;animation:languageOpen .22s ease both}
.language-switcher__panel[hidden]{display:none}.language-switcher__heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 12px;color:#c4d9f3;font-size:13px;font-weight:600}
.language-switcher__close{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:#ffffff08;color:#c7d6ea;font-size:22px;cursor:pointer}
.language-switcher__options{display:grid;grid-template-columns:1fr;gap:5px;max-height:min(57vh,430px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#42699d transparent}
.language-switcher__options button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#b5c5db;font:inherit;font-size:14px;font-weight:500;line-height:1.5;text-align:start;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.language-switcher__options button:hover{color:white;background:#8bb9ff12}.language-switcher__options button[aria-checked=true]{color:#f1f7ff;background:#2976dc28;border-color:#6cacff55}.language-switcher__check{opacity:0;color:#8dccff}.language-switcher__options button[aria-checked=true] .language-switcher__check{opacity:1}
.language-switcher button:focus-visible{outline:2px solid #93caff;outline-offset:2px}.language-switcher__status:empty{display:none}.language-switcher__status{margin:10px 4px 0;font-size:12px;line-height:1.5;color:#bdd9ff}
@keyframes languageGlobe{to{transform:rotateY(360deg)}}@keyframes languageHalo{50%{opacity:.8;transform:scale(1.05)}}@keyframes languageOpen{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:1200px){.language-switcher{top:94px;right:18px}}@media(max-width:640px){.language-switcher{top:88px;right:16px}.language-switcher__button{width:40px;height:40px}.language-switcher__panel{top:51px}.language-switcher__options{max-height:calc(100dvh - 220px)}}
html.is-translated .nav__link{white-space:normal}html.is-translated .h-display,html.is-translated .h2{line-height:1.18}html.is-translated .quote-layout h1{max-width:none}html.is-translated .q-rail__i em{letter-spacing:0}html[lang=hi] .h-display,html[lang=hi] .h2{letter-spacing:0;line-height:1.35}
@media(prefers-reduced-motion:reduce){.language-switcher__meridians,.language-switcher__button:before,.language-switcher__panel{animation:none}.language-switcher *{transition:none!important}}

body:is(.is-locked,.chat-is-modal) .language-switcher{visibility:hidden;pointer-events:none}

/* Match the English hierarchy while allowing each script room to breathe. */
html[lang=hi]{--f-sans:"Karla","Nirmala UI","Noto Sans Devanagari",sans-serif;--f-serif:"Montserrat","Nirmala UI","Noto Sans Devanagari",sans-serif}
html[lang=ar]{--f-sans:"Karla","Segoe UI","Noto Sans Arabic",sans-serif;--f-serif:"Montserrat","Segoe UI","Noto Sans Arabic",sans-serif}
html[lang=zh-TW]{--f-sans:"Karla","Microsoft JhengHei","PingFang TC",sans-serif;--f-serif:"Montserrat","Microsoft JhengHei","PingFang TC",sans-serif}
html.is-translated :is(h1,h2,h3,h4){font-family:var(--f-serif);overflow-wrap:break-word}
html:is([lang=hi],[lang=ar],[lang=zh-TW]) :is(h1,h2,h3,h4,.mono,.eyebrow,.stat__l){letter-spacing:normal}
html:is([lang=hi],[lang=ar],[lang=zh-TW]) .serif{font-style:normal}
html:is([lang=hi],[lang=ar]) .h-display{font-size:clamp(2.5rem,6.5vw,5.5rem);line-height:1.22}
html[lang=zh-TW] .h-display{font-size:clamp(2.5rem,6.5vw,5.5rem);line-height:1.15}
html.is-translated .split .ln{overflow:visible}
html.is-translated .split .ln > i{transform:none}
html[lang=ar] .h2{line-height:1.25}
.language-switcher__options [lang=hi]{font-family:var(--f-sans),"Nirmala UI",sans-serif}
.language-switcher__options [lang=zh-TW]{font-family:var(--f-sans),"Microsoft JhengHei","PingFang TC",sans-serif}
.language-switcher__options [lang=ar]{font-family:var(--f-sans),"Segoe UI",sans-serif}

/* Text direction must not mirror the composition or reorder figures. */
html[lang=ar] body{direction:ltr}
html[lang=ar] :is(h1,h2,h3,h4,p,blockquote,.lede,.stat__l,.feat__text,.client-story__quote){direction:rtl;unicode-bidi:plaintext}
html[lang=ar] .hero__top{direction:ltr;text-align:left}
html[lang=ar] .hero__top :is(h1,p){text-align:left}
html[lang=ar] .stat__n{direction:ltr;unicode-bidi:isolate}
html[lang=ar] :is(.brand,.nav,.hero__actions,.hero__foot,.svc__title h2,.svc__title h3,.control-key){direction:ltr;unicode-bidi:isolate}
html[lang=ja]{--f-sans:"Karla","Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;--f-serif:"Montserrat","Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif}
html[lang=ja] :is(h1,h2,h3,h4,.mono,.serif){letter-spacing:normal;font-style:normal}
html[lang=ja] .h-display{font-size:clamp(2.5rem,6.5vw,5.5rem);line-height:1.2}
