/* Last item in the footer Menu column; native details also works without JavaScript. */
.site-languages { position: relative; margin-top: 8px; max-width: 100%; pointer-events: auto; z-index: 5; font-size: 14px; }
.site-languages summary { display: flex; align-items: center; gap: 8px; padding: 8px 0; list-style: none; cursor: pointer; color: inherit; width: fit-content; max-width: 100%; }
.site-languages summary::-webkit-details-marker { display: none; }
.site-languages summary > span { overflow-wrap: normal; }
.site-language-flag { display: block; width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }
.site-language-chevron { flex: 0 0 auto; transition: transform .15s ease; }
.site-languages[open] .site-language-chevron { transform: rotate(180deg); }
.site-language-list { position: absolute; inset-inline-start: 0; bottom: calc(100% + 8px); width: min(280px, calc(100vw - 40px)); max-height: 280px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #dedee4; border-radius: 14px; background: #fff; color: #1d1d1f; box-shadow: 0 8px 32px #0002; }
.footer-col .site-language-list a, .site-language-unavailable { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 2px 10px; padding: 8px 10px; border-radius: 8px; white-space: normal; text-decoration: none; overflow-wrap: normal; }
.footer-col .site-language-list a:hover, .site-language-list a[aria-current="page"] { background: #f1f1f5; color: #111; }
.site-language-list a[aria-current="page"] { font-weight: 600; }
.site-language-unavailable { color: #73737c; }
.site-language-unavailable small { grid-column: 2; font-size: 11px; }
.site-languages :is(summary, a):focus-visible { outline: 2px solid #3579f6; outline-offset: 2px; }
.site-languages .site-language-preferred { text-decoration: underline; text-underline-offset: 3px; }
/* Wrap at word boundaries. Never synthesize hyphens or split words to fit a box. */
html:not(:lang(en)) { hyphens: none; -webkit-hyphens: none; word-break: normal; overflow-wrap: normal; }
html:not(:lang(en)) :is(h1, h2, h3, h4, p, a, button, summary, .lm-card__subtitle) {
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
html:not(:lang(en)) .lm-feature-tile { min-width: 0; }
html:not(:lang(en)) .lm-features-grid.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
html:not(:lang(en)) .footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
@media (max-width: 640px) {
  html:not(:lang(en)) :is(.section-title, .pricing-hero__title, .press-assets-hero h1, .support-hero h1) { font-size: clamp(30px, 8vw, 48px); }
  html:not(:lang(en)) .support-hero ~ .features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
}
/* Desktop footer keeps Menu, Navigation and Social on the same row in every locale. */
@media (min-width: 761px) {
  html:not(:lang(en)) .footer-top { gap: 28px; }
  html:not(:lang(en)) .footer-brand { flex: 0 1 40%; min-width: 0; }
  html:not(:lang(en)) .footer-links {
    flex: 1 1 0;
    min-width: 0;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr) minmax(0, .95fr);
    column-gap: 18px;
    row-gap: 0;
  }
  html:not(:lang(en)) .footer-cta { max-width: 100%; white-space: normal; }
}

/* Non-blocking language suggestion (English pages only, added by JS). */
.site-language-suggestion { position: fixed; top: 64px; left: 0; right: 0; width: 100%; box-sizing: border-box; margin: 0; z-index: 49; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 16px; background: rgba(20, 30, 45, 0.96); color: #e6f1fa; font-size: 14px; line-height: 1.3; text-align: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-language-suggestion a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.site-language-suggestion button { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.site-language-suggestion button:focus-visible, .site-language-suggestion a:focus-visible { outline: 2px solid #8fc7ff; outline-offset: 2px; }

.site-language-suggestion .site-language-suggestion__accept { background: #2f9e5b; color: #fff; font-size: 15px; }

/* Hover / press feedback for the suggestion buttons. */
.site-language-suggestion button { transition: background-color .18s ease, transform .12s ease, box-shadow .18s ease; }
.site-language-suggestion button:hover { transform: scale(1.1); }
.site-language-suggestion button:active { transform: scale(.92); }
.site-language-suggestion .site-language-suggestion__accept:hover { background: #3cbf73; box-shadow: 0 0 0 4px rgba(60, 191, 115, .28); }
.site-language-suggestion .site-language-suggestion__accept:active { background: #1f7a45; box-shadow: 0 0 0 2px rgba(60, 191, 115, .4); }
.site-language-suggestion button:not(.site-language-suggestion__accept):hover { background: rgba(255, 99, 99, .85); box-shadow: 0 0 0 4px rgba(255, 99, 99, .25); }
.site-language-suggestion button:not(.site-language-suggestion__accept):active { background: rgba(200, 55, 55, .95); box-shadow: 0 0 0 2px rgba(255, 99, 99, .35); }
@media (prefers-reduced-motion: reduce) { .site-language-suggestion button { transition: none; } .site-language-suggestion button:hover, .site-language-suggestion button:active { transform: none; } }

/* Inside the header: same width as the header, under its edge, follows its hide/show transform. */
.site-language-suggestion.site-language-suggestion--in-header { position: absolute; top: 100%; left: 0; right: 0; width: auto; z-index: auto; pointer-events: auto; }
