.header .nav-wrap{gap:22px}
.header .desktop-nav{margin-left:0}
.header .nav-actions{gap:12px}
.language-picker{position:relative;flex-shrink:0;color:#000d6d;font-size:.875rem;line-height:1.5}
.language-picker>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 8px;border:1px solid #e6e7f0;border-radius:12px;background:#fff;cursor:pointer;list-style:none;font-weight:600;transition:background .18s,color .18s,border-color .18s}
.language-picker>summary::-webkit-details-marker{display:none}
.language-picker>summary::marker{content:""}
.language-globe{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.language-chevron{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.language-picker>summary:hover,.language-picker[open]>summary{background:#ffeaef;color:#aa213e;border-color:#ffdae3}
.language-picker>summary:focus-visible{outline:3px solid #ff315d;outline-offset:3px}
.language-options{position:absolute;right:0;top:calc(100% + 10px);z-index:45;min-width:175px;padding:8px;border:1px solid #e6e7f0;border-radius:16px;background:#fff;box-shadow:0 12px 35px rgba(0,13,109,.12)}
.language-options a{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:10px 12px;border-radius:10px;color:#000d6d;font-size:.875rem;text-decoration:none;white-space:nowrap;transition:background .18s,color .18s}
.language-options a:hover,.language-options a:focus-visible{background:#ffeaef;color:#aa213e}
.language-options a[aria-current=true]{font-weight:700;color:#aa213e;background:#fff4f6}
.language-check{font-size:.875rem}
.source-language{font-size:.75rem;font-weight:400;white-space:nowrap}
.text-link>.source-language{font-size:.75rem;line-height:1.5}
html[lang=en] .text-link{flex-wrap:wrap}


html[lang=en] .solution-tab-label{white-space:nowrap}
@media(min-width:1051px) and (max-width:1300px){.header .residents-link{display:none}}
@media(min-width:1051px) and (max-width:1150px){.header .nav-wrap{gap:14px}.header .desktop-nav>a,.header .nav-dropdown-trigger{padding-inline:10px}}
@media(max-width:1050px){.header .nav-wrap{gap:8px}.header .nav-actions{gap:8px}}
@media(max-width:640px){.language-globe{display:none}.language-picker>summary{min-width:52px;padding-inline:8px}.language-options{min-width:170px}}
@media(max-width:520px){.header .desktop-cta-label{display:none}.header .mobile-cta-label{display:inline}.header .nav-actions .button{padding-inline:12px;gap:8px}.header .nav-actions{gap:6px}}
@media(max-width:360px){.header .brand img{width:92px;height:26px}.header .menu-toggle{width:36px;padding-inline:6px}.header .nav-actions .button{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.language-picker>summary,.language-options a{transition:none}}

/* French copy has longer words; keep links and headings within their existing columns. */
html[lang=fr] .text-link{flex-wrap:wrap}
html[lang=fr] main .button{max-width:100%;text-align:center}
html[lang=fr] main h1,html[lang=fr] main h2{overflow-wrap:break-word;hyphens:auto}

html[lang=fr] .solution-tab-label{white-space:nowrap}
html[lang=fr] .hero-copy,html[lang=fr] .solution-copy{min-width:0}

/* German compounds and longer labels retain room at narrow widths. */
html[lang=de] .text-link{flex-wrap:wrap}
html[lang=de] main .button{max-width:100%;text-align:center}
html[lang=de] main h1,html[lang=de] main h2,html[lang=de] main h3{overflow-wrap:break-word;hyphens:auto}

html[lang=de] .solution-tab-label{white-space:nowrap}
html[lang=de] .hero-copy,html[lang=de] .solution-copy{min-width:0}

/* Spanish headings wrap between whole words; longer action labels can wrap. */
html[lang=es] .text-link{flex-wrap:wrap;white-space:normal;line-height:1.5}
html[lang=es] main .button{max-width:100%;white-space:normal;text-align:center;line-height:1.45}
html[lang=es] main h1{overflow-wrap:normal;word-break:normal;hyphens:none}
html[lang=es] .solution-tab-label{white-space:nowrap}
html[lang=es] .hero-copy,html[lang=es] .solution-copy{min-width:0}

/* Swedish copy keeps complete words and readable action labels. */
html[lang=sv] .text-link{flex-wrap:wrap;white-space:normal;line-height:1.5}
html[lang=sv] main .button{max-width:100%;white-space:normal;text-align:center;line-height:1.45}
html[lang=sv] main h1{overflow-wrap:normal;word-break:normal;hyphens:none}
html[lang=sv] .solution-tab-label{white-space:normal;line-height:1.25}
html[lang=sv] .hero-copy,html[lang=sv] .solution-copy{min-width:0}
html[lang=sv] .app-video-language{margin:0;padding:0 20px 12px;font-size:.875rem;color:inherit}
