/* Shared layout safeguards for manually authored Medical localizations. */
.locale-navigation{margin-top:32px;border-top:1px solid var(--line);padding-block:20px}
.locale-navigation summary{padding:12px 35px 12px 0;font-size:17px;max-width:400px}
.locale-navigation summary:after{top:10px}
.locale-navigation details>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 22px;padding-block:16px}
.locale-navigation a{padding-block:8px;font-size:17px;text-decoration:none}
.locale-navigation a[aria-current]{font-weight:700;text-decoration:underline}
html:not([lang=en]) h1,html:not([lang=en]) h2{overflow-wrap:anywhere;hyphens:auto}
html:not([lang=en]) .nav{gap:20px}
html:not([lang=en]) .nav nav{gap:20px}
html:not([lang=en]) .hero{gap:40px}
html:not([lang=en]) .hero h1{font-size:clamp(49px,4.8vw,72px)}
html:not([lang=en]) .trust{flex-wrap:wrap}
html:not([lang=en]) .trust>div{flex-wrap:wrap;gap:15px 28px}
html:not([lang=en]) .visual-top{flex-wrap:wrap}
html:not([lang=en]) .button{overflow-wrap:anywhere}
html:not([lang=en]) .price-card,html:not([lang=en]) .feature,html:not([lang=en]) .hero-copy{min-width:0}
html:not([lang=en]) .vocabulary>div span{min-width:0;overflow-wrap:anywhere}
html:not([lang=en]) .df-chat-header>div{min-width:0}
html:not([lang=en]) .df-chat-title{overflow-wrap:anywhere}
html:not([lang=en]) .df-chat-new{white-space:normal;max-width:100px}
html:not([lang=en]) .df-chat-close{flex-shrink:0}
html:not([lang=en]) .df-chat-input{min-width:0}
html:not([lang=en]) .df-chat-send{max-width:110px;overflow-wrap:anywhere}
html:not([lang=en]) .contact-email{flex-wrap:wrap}
:lang(ja),:lang(zh),:lang(ko),:lang(hi),:lang(ar),:lang(fa){font-family:DM,system-ui,sans-serif}
:lang(ja) h1,:lang(ja) h2,:lang(zh) h1,:lang(zh) h2,:lang(ko) h1,:lang(ko) h2,:lang(hi) h1,:lang(hi) h2,:lang(ar) h1,:lang(ar) h2,:lang(fa) h1,:lang(fa) h2{font-family:system-ui,sans-serif;font-weight:500;letter-spacing:0;line-height:1.3}
:lang(ja) .eyebrow,:lang(zh) .eyebrow,:lang(ko) .eyebrow,:lang(hi) .eyebrow,:lang(ar) .eyebrow,:lang(fa) .eyebrow{letter-spacing:.3px}
:lang(ar) em,:lang(fa) em,:lang(hi) em{font-style:normal}
[dir=rtl] .nav nav{margin-left:0;margin-right:auto}
[dir=rtl] .dot,[dir=rtl] .note-icon,[dir=rtl] .check{margin-right:0;margin-left:8px}
[dir=rtl] .download-grid a>span:last-child{margin-left:0;margin-right:auto}
[dir=rtl] summary{padding-left:35px;padding-right:0}
[dir=rtl] summary:after{right:auto;left:4px}
[dir=rtl] .contact-close{right:auto;left:15px}
[dir=rtl] .price,[dir=rtl] .contact-email a{direction:ltr;unicode-bidi:isolate}
[dir=rtl] .df-chat-form{direction:rtl}
@media(max-width:1100px){html:not([lang=en]) .nav{flex-wrap:wrap;justify-content:space-between;padding-block:15px}html:not([lang=en]) .nav nav{margin:0}html:not([lang=en]) .nav-download{margin:0}html:not([lang=en]) .hero{gap:30px}html:not([lang=en]) .feature-grid{grid-template-columns:1fr}html:not([lang=en]) .feature.large{display:block}html:not([lang=en]) .vocabulary{margin-bottom:22px}}
@media(max-width:800px){html:not([lang=en]) .nav{flex-wrap:nowrap;padding-block:0;gap:10px}html:not([lang=en]) .nav-download{margin-inline-start:auto}html:not([lang=en]) .hero h1{font-size:clamp(43px,8vw,65px)}html:not([lang=en]) .mobile-bar{gap:10px;padding-inline:14px}html:not([lang=en]) .mobile-bar>a:last-child{white-space:normal;max-width:88px;line-height:1.3}html:not([lang=en]) .mobile-bar .button{min-width:0;font-size:15px}html:not([lang=en]) .df-chat-root{bottom:calc(112px + env(safe-area-inset-bottom))}html:not([lang=en]) .df-chat-panel{bottom:calc(112px + env(safe-area-inset-bottom));max-height:calc(100dvh - 132px - env(safe-area-inset-bottom))}html:not([lang=en]) footer{padding-bottom:135px}}
@media(max-width:520px){html:not([lang=en]) .hero h1{font-size:clamp(40px,10.5vw,54px)}html:not([lang=en]) .visual-foot{flex-wrap:wrap}html:not([lang=en]) .note-top{gap:10px;flex-wrap:wrap}html:not([lang=en]) h2{font-size:42px}html:not([lang=en]) .footer-links{grid-template-columns:1fr 1fr;gap:25px}html:not([lang=en]) .footer-links a{overflow-wrap:anywhere}}
/* Keep words whole in headlines; use natural script typography rather than synthetic italics. */
html:not([lang=en]) h1,html:not([lang=en]) h2{hyphens:none}
:lang(ja) em,:lang(zh) em,:lang(ko) em{font-style:normal}
@media(max-width:800px){[dir=rtl] .menu{margin-right:auto;margin-left:0}}
[dir=rtl] .price{text-align:right}
[dir=rtl] .price span{direction:rtl;unicode-bidi:isolate}
[dir=rtl] .checks li{padding-left:0;padding-right:29px}
[dir=rtl] .checks li:before{left:auto;right:0}
