/* New Nordic language menu and language-aware sizing; the existing EU design stays in place. */
.language-menu{position:relative;flex-shrink:0;color:var(--raised);font-family:var(--body)}
.language-menu>summary{display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;cursor:pointer;min-height:42px;padding:9px 10px;border:1px solid #b4c7d341;border-radius:4px;font-size:12px;font-weight:700;background:#ffffff06;line-height:1.3}
.language-menu>summary::-webkit-details-marker{display:none}
.language-menu>summary:hover,.language-menu[open]>summary{background:#ffffff15;border-color:#d7c08a}
.language-menu>summary>svg:last-child{transition:transform .15s}
.language-menu[open]>summary>svg:last-child{transform:rotate(180deg)}
.language-flag{width:16px;height:12px;flex-shrink:0;box-shadow:0 0 0 1px #8495a040}
.language-links{position:absolute;right:0;top:calc(100% + 10px);width:208px;padding:7px;background:var(--raised);border:1px solid var(--line);border-radius:6px;box-shadow:0 14px 38px #091d333b;color:var(--ink);z-index:50}
.language-links a{display:flex;align-items:center;gap:11px;padding:12px 11px;border-radius:3px;font-size:14px;line-height:1.4;min-height:43px}
.language-links a:hover{background:#e9e5d8;color:var(--navy)}
.language-links a[aria-current=page]{background:var(--navy);color:var(--raised)}
.language-code{margin-left:auto;font:500 10px var(--mono);opacity:.78}
.language-menu>summary:focus-visible,.language-links a:focus-visible{outline:3px solid #ca8657;outline-offset:3px}
.eu-edition .header-inner{gap:16px}
.eu-edition .primary-nav{gap:17px}
.eu-edition .header-actions{gap:12px;margin-left:6px}
.eu-edition .primary-nav a{font-size:13px}
.eu-edition .hero-copy,.eu-edition .hero-visual,.eu-edition .setup-card,.eu-edition .feature-item>div,.eu-edition .shop-copy,.eu-edition .pricing-copy,.eu-edition .price-box,.eu-edition .faq-intro{min-width:0}
html:not([lang=en]) .hero h1{font-size:clamp(57px,5.7vw,82px);line-height:1.06;letter-spacing:-1.5px}
html:not([lang=en]) .hero h1 .script-word{font-size:.98em;letter-spacing:-3px}
html:not([lang=en]) .annotation{font-size:18px;white-space:normal;text-align:center;max-width:90%;right:20px;top:-36px}
.eu-edition h1,.eu-edition h2,.eu-edition h3{overflow-wrap:anywhere;hyphens:auto}
.eu-edition .button{overflow-wrap:anywhere}
.eu-edition .demo-tabs button{min-width:0;white-space:normal;line-height:1.45;min-height:48px}
.eu-edition .chat-context{flex-wrap:wrap;column-gap:12px;row-gap:5px}
.eu-edition .source-chip{overflow-wrap:anywhere}
.eu-edition .chat-footer>span{min-width:0;flex:1;line-height:1.6}
.eu-edition .chat-handoff-link{white-space:normal;text-align:right;max-width:43%}
.eu-edition .eu-stack article>div{min-width:0}
.eu-edition .eu-stack article h3{line-height:1.5}
.eu-edition .eu-location{margin-left:0}
html:not([lang=en]) .pricing-copy .script-word{font-size:.76em;line-height:1.35}
html:not([lang=en]) .final-inner .script-word{font-size:.77em;line-height:1.35}
.eu-edition .price{flex-wrap:wrap}
.eu-edition .footer-bottom{flex-wrap:wrap}
@media(min-width:1181px){
 .eu-edition .header-inner{width:min(1280px,calc(100% - 48px))}
 .eu-edition .brand{font-size:25px;gap:8px}
 .eu-edition .brand img{width:33px;height:33px}
 .eu-edition .primary-nav{gap:15px}
 .eu-edition .primary-nav a{font-size:12px}
 .eu-edition .header-actions>.button{font-size:13px;padding-inline:15px}
 .eu-edition .sign-in{font-size:13px}
}
@media(max-width:1180px){
 .eu-edition .primary-nav{display:none}
 .eu-edition .menu-toggle{display:flex}
 .eu-edition .header-actions{margin-left:auto}
 .eu-edition .header-actions>.sign-in{display:none}
 html:not(.js-ready) .eu-edition .header-inner{flex-wrap:wrap;padding-top:13px}
 html:not(.js-ready) .eu-edition .primary-nav{display:flex;order:3;flex-basis:100%;justify-content:center;flex-wrap:wrap;padding:0 0 13px;gap:12px 20px;margin:0}
}
@media(max-width:900px){
 html:not([lang=en]) .hero h1{font-size:clamp(57px,10vw,82px)}
 .eu-edition .header-inner{min-height:70px}
 .eu-edition .hero-signoff p{overflow-wrap:anywhere}
}
@media(max-width:640px){
 .eu-edition .header-actions>.button{display:none}
 .eu-edition .header-inner{width:calc(100% - 32px);min-height:66px;gap:8px}
 .eu-edition .header-actions{gap:9px}
 .language-menu>summary{font-size:11px;gap:6px;padding:8px;min-height:38px}
 /* New: compensate for the hamburger only when JavaScript makes it visible. */
 .language-links{right:0;max-width:calc(100vw - 30px)}
 html.js-ready .language-links{right:-47px}
 .eu-edition .hero-copy>.eyebrow{flex-wrap:wrap;font-size:9px;letter-spacing:.6px}
 .eu-edition .hero-copy>.eyebrow img{flex-shrink:0}
 html:not([lang=en]) .hero h1{font-size:clamp(45px,11.5vw,68px);line-height:1.08}
 html:not([lang=en]) .hero h1 .script-word{letter-spacing:-2px}
 .eu-edition .hero-actions{flex-wrap:wrap}
 .eu-edition .hero-actions>.button{max-width:100%}
 .eu-edition .demo-tabs button{font-size:12px;padding:10px 5px;gap:4px}
 .eu-edition .demo-tabs button>.icon{display:none}
 .eu-edition .chat-context{font-size:11px}
 .eu-edition .example-tag{white-space:normal;line-height:1.6}
 .eu-edition .chat-footer{align-items:center}
 .eu-edition .eu-demo-note{font-size:11px}
 .eu-edition .flow-row>div{min-width:0}
 .eu-edition .flow-row strong{overflow-wrap:anywhere}
 .eu-edition .pricing-includes{grid-template-columns:1fr;gap:10px}
 .eu-edition .product-cards{gap:9px}
 .eu-edition .product-card{min-width:0}
 .eu-edition .product-card>strong{overflow-wrap:anywhere}
 .eu-edition .product-meta{flex-wrap:wrap;gap:3px 7px}
 .eu-edition .final-actions>.button{min-width:0;max-width:100%}
 .eu-edition .final-actions>span{font-size:11px;text-align:center}
}
@media(max-width:370px){
 .eu-edition .brand{font-size:23px;gap:6px}
 .eu-edition .brand img{width:29px;height:29px}
 .eu-edition .header-actions{gap:7px}
 .language-menu>summary{padding-inline:7px;gap:5px}
 html:not([lang=en]) .hero h1{font-size:44px}
 .eu-edition .source-chip{font-size:11px}
 .eu-edition .prompt-buttons button{font-size:12px}
 .eu-edition .chat-footer>span{max-width:60%}
 .eu-edition .chat-handoff-link{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.language-menu>summary>svg:last-child{transition:none}}
@media print{.language-menu{display:none}}
