/* Shared footer for the homepage and KI page. */
.global-footer {
  background: #000;
  color: #fff;
  padding: 0 32px 32px;
}
.global-footer__inner {
  width: min(1200px, 100%);
  margin-inline: auto;
  border-top: 1px solid #333;
}
.global-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-block: 44px;
}
.global-footer .wordmark { width: fit-content; font-size: 26px; }
.global-footer .wordmark > span:not(.brand-mark):not(.brand-dot) { font-weight: 500; }
.global-footer .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 50px;
  flex: 0 0 auto;
  margin-right: 10px;
  transform: none;
}
.global-footer .brand-mark > img { width: 100%; height: 100%; object-fit: contain; }
.global-footer__nav {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 6px 28px;
  font-size: 15px;
  line-height: 1.5;
}
.global-footer__nav a { padding-block: 5px; }
.global-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  gap: 6px;
  font-size: 15px;
  line-height: 1.5;
}
.global-footer__contact a { padding-block: 5px; }
.global-footer__contact a:first-child { color: var(--orange); }
.global-footer__contact p { margin-top: 8px; color: #bcbcbc; font-size: 14px; line-height: 1.6; }
.global-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid #333;
  color: #bcbcbc;
  font-size: 13px;
  line-height: 1.5;
}
.global-footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.global-footer__legal a { padding-block: 8px; }
.global-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.global-footer .wordmark:hover { text-decoration: none; }
.global-footer a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; border-radius: 3px; }
@media (max-width: 850px) {
  .global-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .global-footer .wordmark { grid-column: 1 / -1; }
  .global-footer__contact { justify-self: start; }
}
/* The added page link needs the compact navigation before tablet widths. */
@media (min-width: 901px) and (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; padding: 9px; background: none; border: 0; cursor: pointer; }
  .menu-toggle span { width: 25px; height: 2px; background: #000; transition: transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu:not([hidden]) { display: flex; position: fixed; top: 84px; left: 24px; right: 24px; z-index: 60; flex-direction: column; padding: 25px 28px; background: #fff; border-radius: 26px; box-shadow: 0 15px 40px rgba(0,0,0,.12); }
  .mobile-menu a { padding: 9px 0; font-size: 18px; }
}
@media (max-width: 600px) {
  .global-footer { padding-inline: 28px; padding-bottom: 24px; }
  .global-footer__top { grid-template-columns: 1fr; padding-block: 32px; }
  .global-footer__nav { gap: 8px 32px; }
  .global-footer__bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}
