/* Normal document flow; no new scroll listeners or animated layers. */
.site-footer {
  position: relative;
  inset: auto;
  display: block;
  padding: 20px 6%;
  border-top: 1px solid #a8c9df16;
  background: #090f14;
  color: #91a4b0;
  font-size: 12px;
  letter-spacing: 0;
}
.site-footer-inner {
  width: min(100%,1100px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
}
.site-footer-identity { grid-column: 1; grid-row: 1 / span 2; display: flex; align-items: center; }
.site-footer .site-footer-brand {
  display: inline-flex;
  min-height: 44px;
  padding: 0;
  align-items: center;
}
.site-footer-brand img { display: block; width: 96px; height: auto; }
.site-footer-copyright { grid-column: 2; grid-row: 2; text-align: center; margin: 0; color: #84949f; font-size: 10px; line-height: 1.6; }
.site-footer-copyright span { padding-inline: 4px; }
.site-footer-copyright .copyright-label { padding: 0; }
.site-footer-links { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 20px; }
.site-footer .site-footer-link,
.site-footer .site-footer-social,
.site-footer .site-footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 4px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #a4b5c0;
  font: inherit;
  line-height: 1.5;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}
.site-footer-actions { grid-column: 3; grid-row: 1 / span 2; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.site-footer .site-footer-social,
.site-footer .site-footer-top { width: 44px; padding: 10px; }
.site-footer .site-footer-top { border: 1px solid #a8c9df20; color: #91a4b0; }
.site-footer :is(a,button):focus-visible { outline: 2px solid #26bbff; outline-offset: 4px; }
.site-footer :is(.site-footer-link,.site-footer-social,.site-footer-top):active { background: #26bbff12; color: #26bbff; }
@media (hover:hover) and (pointer:fine) {
  .site-footer :is(.site-footer-link,.site-footer-social,.site-footer-top):hover { color: #26bbff; }
  .site-footer :is(.site-footer-social,.site-footer-top):hover { background: #26bbff09; }
}
@media (max-width:760px) {
  .site-footer { padding: 20px 24px 18px; }
  .site-footer-inner { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .site-footer-identity { grid-column: 1; grid-row: 1; }
  .site-footer-actions { grid-column: 2; grid-row: 1; gap: 8px; }
  .site-footer-links { grid-column: 1 / -1; grid-row: 2; gap: 0 12px; }
  .site-footer .site-footer-link { font-size: 11px; }
  .site-footer-copyright { grid-column: 1 / -1; grid-row: 3; text-align: center; }
}
@media (prefers-reduced-motion:reduce) {
  .site-footer :is(a,button) { transition: none; }
}

/* The language menu floats above the footer without changing its height. */
.footer-language { position: relative; flex: 0 0 auto; }
.site-footer .language-trigger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 9px;
  border: 1px solid #a8c9df20; border-radius: 7px; background: transparent;
  color: #a4b5c0; font: inherit; font-size: 11px; font-weight: 500;
  letter-spacing: .04em; cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.language-trigger svg { flex: 0 0 auto; }
.language-flag { display: none; border-radius: 2px; }
.language-flag.is-active { display: block; }
.language-trigger[aria-expanded="true"] { color: #26bbff; border-color: #26bbff55; background: #26bbff09; }
.language-options {
  position: absolute; z-index: 20; right: 0; bottom: calc(100% + 10px);
  width: 164px; padding: 5px; border: 1px solid #a8c9df29; border-radius: 9px;
  background: #101920; box-shadow: 0 8px 24px #0005;
}
.language-options[hidden] { display: none; }
.site-footer .language-options button {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 5px;
  background: transparent; color: #b9c9d3; font: inherit; font-size: 12px;
  cursor: pointer; transition: color .18s ease, background-color .18s ease;
}
.language-options button svg { visibility: hidden; }
.site-footer .language-options button[aria-pressed="true"] { color: #26bbff; background: #26bbff0d; }
.language-options button[aria-pressed="true"] svg { visibility: visible; }
@media (hover:hover) and (pointer:fine) {
  .site-footer .language-trigger:hover { color: #26bbff; background: #26bbff09; border-color: #26bbff40; }
  .site-footer .language-options button:hover { color: #ecf6fc; background: #a8c9df12; }
}
@media (prefers-reduced-motion:reduce) {
  .site-footer .language-trigger, .site-footer .language-options button { transition: none; }
}
