@font-face {
  font-family: "Sohne";
  src: url("/fonts/sohne-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("/fonts/sohne-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("/fonts/sohne-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.global-footer,
.global-footer * {
  box-sizing: border-box;
}

.global-footer {
  width: 100%;
  margin: 0;
  padding: 52px 0 34px;
  display: block;
  border: 0;
  border-radius: 0;
  background: #0e1116;
  color: #fafaf8;
  font-family: "Sohne", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.global-footer a {
  color: inherit;
  text-decoration: none;
}

.global-footer a:hover {
  color: #e8923a;
}

.global-footer__inner {
  width: min(100% - 48px, 1344px);
  margin: 0 auto;
}

.global-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 44px;
}

.global-footer__intro {
  max-width: 470px;
}

.global-footer__brand {
  display: inline-block;
  margin-bottom: 24px;
  color: #fafaf8;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.global-footer .global-footer__tagline {
  margin: 0 0 26px;
  color: rgba(250, 250, 248, 0.46);
  font-size: 16px;
  line-height: 1.55;
}

.global-footer__cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid #fafaf8;
  border-radius: 2px;
  background: #fafaf8;
  color: #0e1116 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
}

.global-footer__cta:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.global-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  color: rgba(250, 250, 248, 0.64);
  font-size: 14px;
  line-height: 1.5;
}

.global-footer__contact address {
  max-width: 360px;
  margin: 0;
  color: inherit;
  font: inherit;
}

.global-footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.global-footer__links > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.global-footer__links h2 {
  margin: 0 0 4px;
  color: rgba(250, 250, 248, 0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
}

.global-footer__links a {
  color: rgba(250, 250, 248, 0.66);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.global-footer__links .global-footer__social-link {
  width: 100%;
  padding: 7px 14px;
  border: 1px solid rgba(250, 250, 248, 0.3);
  border-radius: 999px;
  color: #fafaf8;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}

.global-footer__links .global-footer__social-link:hover {
  background: rgba(250, 250, 248, 0.08);
}

.global-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(250, 250, 248, 0.1);
  color: rgba(250, 250, 248, 0.28);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.global-footer__system {
  display: flex;
  align-items: center;
  gap: 32px;
}

.global-footer__system span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.global-footer__status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #68a67d;
}

.global-footer :focus-visible {
  outline: 2px solid #e8923a;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .global-footer__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .global-footer__intro {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .global-footer {
    padding: 42px 0 28px;
  }

  .global-footer__inner {
    width: calc(100% - 32px);
  }

  .global-footer__top {
    gap: 40px;
    padding-bottom: 36px;
  }

  .global-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .global-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .global-footer__system {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-footer * {
    scroll-behavior: auto;
  }
}
