/* Language navigation shares the KEDR paper, ink and green tokens. */
.language-picker{position:relative;flex:0 0 auto;font-family:var(--sans);font-size:14px;line-height:1.4;letter-spacing:0;text-transform:none;color:var(--ink)}
.language-picker summary{display:flex;align-items:center;justify-content:center;gap:8px;min-width:78px;min-height:44px;padding:8px 10px;border:1px solid var(--rl);list-style:none;cursor:pointer;background:transparent;font-weight:500;transition:background .15s,color .15s}
.language-picker summary::-webkit-details-marker{display:none}
.language-picker summary::marker{content:''}
.language-picker summary svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.language-picker .language-chevron{width:12px;height:12px;transition:transform .15s}
.language-picker[open] summary{background:var(--green);border-color:var(--green);color:var(--cream)}
.language-picker[open] .language-chevron{transform:rotate(180deg)}
.language-options{position:absolute;right:0;top:calc(100% + 8px);z-index:70;width:212px;padding:6px;background:var(--white);color:var(--ink);border:1px solid var(--ink);box-shadow:5px 5px 0 rgba(15,31,26,.12)}
.language-options a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:10px 12px;border:1px solid transparent;text-decoration:none;line-height:1.5}
.language-options a[aria-current]{background:var(--green);color:var(--cream)}
.language-options a span:last-child{font-size:12px;opacity:.8;font-family:var(--mono)}
.language-picker :focus-visible{outline:2px solid var(--red);outline-offset:3px}
.nav>.language-picker{order:3;margin-left:auto}
.nav>.burger{order:4;flex-shrink:0}
.nav>.btn{order:2;white-space:nowrap}
.nav .nav-links{gap:clamp(12px,1.8vw,26px)}
.nav .brand{flex-shrink:0}
.language-picker--footer{margin-left:auto}
.language-picker--footer summary{min-width:160px;justify-content:space-between;border-color:currentColor;color:inherit}
.language-picker--footer .language-options{top:auto;bottom:calc(100% + 8px)}
.contact-footer .language-picker{color:var(--cream)}
.contact-footer{flex-wrap:wrap;gap:16px}
.content-footer .language-picker{color:var(--green)}
html[lang=si]{--sans:'Noto Sans Sinhala','Golos Text',system-ui,sans-serif;--display:'Noto Sans Sinhala',system-ui,sans-serif;--mono:'Noto Sans Sinhala',system-ui,sans-serif}
@font-face{font-family:'Noto Sans Sinhala';src:url('/fonts/noto-sans-sinhala.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
html[lang=si] .d{line-height:1.45;letter-spacing:-.025em}
html[lang=si] .hero h1{font-size:clamp(32px,5.7vw,76px);white-space:normal;padding-block:24px}
html[lang=si] .hero h1 em{-webkit-text-stroke:0;color:var(--cream)}
html[lang=si] .hero .ln{overflow:visible}
html[lang=si] .h2,html[lang=si] .cta h2,html[lang=si] .result-copy h2{font-size:clamp(28px,3.5vw,52px);line-height:1.5}
html[lang=si] .sol-head h2 .ln>span,html[lang=si] .cta h2 .ln>span{white-space:normal}
html[lang=si] .panel h3{font-size:clamp(24px,2.8vw,40px)}
html[lang=si] .article-head h1,html[lang=si] .page-head h1,html[lang=si] .content-main h1,html[lang=si] .blog-main h1{font-family:var(--sans);font-size:clamp(30px,4vw,58px);line-height:1.5;letter-spacing:-.025em}
html[lang=si] .mono{text-transform:none;letter-spacing:0;line-height:1.65}
html[lang=si] .strip{font-size:11px}
html[lang=si] .menu a{font-family:var(--sans);font-size:clamp(22px,4vw,38px);line-height:1.5}
html[lang=si] .nb{white-space:normal}
html[lang=si] .language-picker,html[lang=si] .language-options{font-family:'Noto Sans Sinhala',system-ui,sans-serif}
html:not([lang=ru]) .hero h1{white-space:normal}
html:not([lang=ru]) .nav-links{font-size:10px}
html:not([lang=ru]) .brand .logo{max-width:125px}
html:not([lang=ru]) .d{overflow-wrap:break-word}
@media (hover:hover){.language-picker summary:hover{background:var(--paper-2)}.language-picker[open] summary:hover{background:var(--green)}.language-options a:not([aria-current]):hover{background:var(--paper-2)}}
@media (min-width:900px) and (max-width:1199px){.nav .nav-links{gap:12px;font-size:9px}.nav{gap:10px}.nav>.btn{padding-right:8px;font-size:12px}.nav .brand .logo{height:23px}}
@media (max-width:999px){.content-page .nav>.language-picker{display:block}}
@media (max-width:899px){.nav{gap:8px}.nav>.language-picker{margin-left:auto}.language-picker summary{min-width:76px}.language-picker--footer{margin-left:0}.contact-footer>span{width:100%}.language-picker--footer .language-options{left:0;right:auto}html[lang=si] .hero h1{font-size:clamp(27px,7vw,48px)}html[lang=si] .hero-top{padding-top:12px}}
@media (max-width:420px){.nav .brand .logo{height:23px}.nav{padding-left:10px}.language-picker summary{gap:6px;padding-inline:8px;min-width:74px}.language-options{width:200px}html[lang=si] .strip>span:nth-child(2){display:none}}
@media (prefers-reduced-motion:reduce){.language-picker *{transition:none!important}}

html:not([lang=ru]) .clock{display:none!important}
html[lang=si] .content-page h2{font-size:clamp(24px,3vw,40px);line-height:1.5}
html[lang=si] .content-page h3{font-size:clamp(20px,2.5vw,32px);line-height:1.5}
html[lang=en] .hero h1{font-size:clamp(42px,10vw,138px)}
@media(min-width:900px){.nav>.language-picker{margin-left:0}.nav>.nav-links{margin-inline:auto}}

html[lang=en] .hero h1 em{margin-right:.08em}
