.site-header { grid-template-columns: auto minmax(0, 1fr) auto auto !important; gap: 14px !important; }
.language-picker { position: relative; justify-self: end; color: #eeeef2; font-size: 12px; }
.language-picker > summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 77px; min-height: 42px; padding: 9px; border: 1px solid #34343b; border-radius: 999px; background: #101013; cursor: pointer; list-style: none; }
.language-picker > summary::-webkit-details-marker { display: none; }
.language-picker > summary b { font-size: 11px; font-weight: 600; letter-spacing: .4px; }
.language-picker > summary > svg { flex-shrink: 0; color: #9e9eac; transition: transform .2s; }
.language-picker[open] > summary { border-color: #7294c7; background: #17171c; }
.language-picker[open] > summary > svg { transform: rotate(180deg); }
.language-flag { display: block; flex-shrink: 0; width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px #ffffff20; }
.language-panel { position: absolute; top: calc(100% + 12px); right: 0; z-index: 120; width: 286px; max-width: calc(100vw - 40px); max-height: min(75vh, 620px); overflow: auto; padding: 8px; border: 1px solid #34343d; border-radius: 18px; background: #0d0d11; box-shadow: 0 20px 65px #000a; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #454553 #0d0d11; }
.language-panel > p { margin: 10px 10px 12px; color: #aeafbd; font-size: 11px; line-height: 1.6; letter-spacing: .3px; }
.language-panel ul { padding: 0; margin: 0; list-style: none; }
.language-panel li > a { display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 8px 11px; border-radius: 10px; color: #e7e7ef; text-decoration: none; }
.language-panel li > a:hover, .language-panel li > a:focus-visible { background: #1a1b24; }
.language-panel li > a[aria-current] { background: #192235; }
.language-panel a > span:not(.language-check) { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.3; }
.language-panel a small { color: #a6a8ba; font-size: 10px; font-weight: 400; }
.language-check { margin-left: auto; color: #a9c7ff; font-size: 15px; }
.legal-header { position: relative; }
.legal-header .language-picker { margin-left: auto; }
.legal-main { overflow-wrap: anywhere; }
.legal-main h1 { hyphens: auto; }
@media (max-width: 1050px) and (min-width: 901px) {
  .site-header nav a { padding: 9px 7px !important; font-size: 11px !important; }
  .site-header .brand-logo { width: 140px !important; min-width: 140px !important; }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto auto !important; gap: 10px !important; }
  .language-picker { position: static; }
  .language-panel { top: calc(100% + 5px); right: 0; max-height: min(75vh, 620px); }
}
@media (max-width: 620px) {
  .site-header { grid-template-columns: 1fr auto auto !important; }
  .site-header .nav-cta { display: none !important; }
  .language-picker > summary { min-width: 73px; min-height: 36px; padding: 7px 9px; }
  .legal-header { flex-wrap: wrap; gap: 10px 18px; }
  .legal-header > a:last-child { flex-basis: 100%; padding: 7px 0; }
}
html:not([lang="pl"]) .hero h1 { font-size: clamp(43px, 5.8vw, 88px) !important; letter-spacing: -.045em !important; overflow-wrap: anywhere; }
html:not([lang="pl"]) .section h2, html:not([lang="pl"]) .contact h2 { overflow-wrap: anywhere; }
html:not([lang="pl"]) .proof-line { flex-wrap: wrap; }
@media (max-width: 560px) {
  html:not([lang="pl"]) .hero h1 { font-size: clamp(34px, 9vw, 48px) !important; }
  html:not([lang="pl"]) .section h2, html:not([lang="pl"]) .contact h2 { font-size: clamp(32px, 9vw, 48px) !important; letter-spacing: -.035em !important; }
}
