/* Shared language navigation for home, privacy and support pages. */
.language-picker { position:relative; flex:none; font-size:14px; line-height:1.4; z-index:30; }
.language-picker summary { display:flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:8px 10px; border-radius:8px; cursor:pointer; list-style:none; color:inherit; white-space:nowrap; }
.language-picker summary::-webkit-details-marker { display:none; }
.language-picker summary svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.5; }
.language-picker summary:hover { background:light-dark(#edf0f4,#2d3239); }
.language-picker summary:focus-visible, .language-picker a:focus-visible { outline:2px solid light-dark(#1268e8,#91bcff); outline-offset:2px; }
.language-picker nav { position:absolute; right:0; top:calc(100% + 6px); display:flex !important; flex-direction:column; gap:2px; min-width:156px; padding:6px; margin:0; border-radius:12px; background:light-dark(#fff,#2d3239); box-shadow:0 4px 16px #00000024; }
.language-picker:not([open]) nav { display:none !important; }
.language-picker nav a { display:block; padding:10px 12px; border-radius:6px; text-decoration:none; color:inherit; white-space:nowrap; font-size:14px; }
.language-picker nav a:hover { background:light-dark(#edf0f4,#41464f); }
.language-picker nav a[aria-current] { color:light-dark(#1268e8,#91bcff); font-weight:600; }
.site-header .header-controls { gap:20px; }
:lang(en) .hero-copy h1 { font-size:clamp(40px,4.2vw,64px); }
:lang(en) .writing-content h2 { text-wrap:balance; }
@media(max-width:900px) { .site-header .header-controls { gap:10px; } }
@media(max-width:760px) {
  .site-header .header-controls { gap:4px; }
  .site-header .language-picker summary { padding-inline:8px; }
  :lang(en) .hero-copy h1 { font-size:clamp(36px,8.5vw,58px); }
}
@media(max-width:560px) {
  body > header:not(.site-header) { flex-direction:row; align-items:center; }
}
