:root {
  --go-header-height: 90px;
  --go-menu-width: 260px;
  --go-text: #000;
  --go-muted: #3a3a3a;
  --go-border: #e7e7e7;
}

.go-site-header,
.go-site-footer {
  box-sizing: border-box;
  font-family: Roboto, Arial, sans-serif;
}

.go-site-header *,
.go-site-footer * {
  box-sizing: border-box;
}

.go-site-header {
  background: #fff;
  color: var(--go-text);
  min-height: var(--go-header-height);
  position: relative;
  z-index: 1000;
}

.go-site-header__bar {
  align-items: center;
  background: #fff;
  display: flex;
  height: var(--go-header-height);
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.go-site-header__logo-link {
  display: inline-flex;
  line-height: 0;
}

.go-site-header__logo {
  display: block;
  height: auto;
  max-width: 200px;
  width: 200px;
}

.go-site-header__menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.go-site-header__menu-icon {
  display: block;
  height: auto;
  width: 35px;
}

.go-site-menu[hidden] {
  display: none;
}

.go-site-menu {
  inset: 0;
  position: fixed;
  z-index: 2000;
}

.go-site-menu__overlay {
  background: rgba(232, 232, 232, 0.6);
  inset: 0;
  position: absolute;
}

.go-site-menu__panel {
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  color: var(--go-text);
  height: 100%;
  max-width: var(--go-menu-width);
  padding: 54px 30px 32px;
  position: relative;
  width: var(--go-menu-width);
}

.go-site-menu__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 34px;
  padding: 0;
  position: absolute;
  right: 22px;
  top: 18px;
  width: 34px;
}

.go-site-menu__close::before,
.go-site-menu__close::after {
  background: #111;
  content: "";
  height: 2px;
  left: 6px;
  position: absolute;
  top: 16px;
  width: 22px;
}

.go-site-menu__close::before {
  transform: rotate(45deg);
}

.go-site-menu__close::after {
  transform: rotate(-45deg);
}

.go-site-menu__list {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.go-site-menu__list a {
  color: var(--go-text);
  display: inline-block;
  font-size: 20px;
  line-height: 1.25;
  text-decoration: none;
}

.go-site-menu__list a:hover,
.go-site-menu__list a:focus-visible {
  text-decoration: underline;
}

.go-site-menu__title {
  color: var(--go-muted);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 36px;
}

body.go-menu-open {
  overflow: hidden;
}

body.go-modal-open {
  overflow: hidden;
}

.go-site-footer {
  background: #fff;
  color: var(--go-text);
  padding: 90px 20px 30px;
  text-align: center;
}

.go-site-footer__brand {
  margin: 0 auto;
  max-width: 920px;
}

.go-site-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.go-site-footer__logo {
  display: block;
  height: auto;
  max-width: 250px;
  width: 250px;
}

.go-site-footer__text {
  color: var(--go-text);
  font-size: 14px;
  line-height: 18px;
  margin: 18px auto 0;
  max-width: 820px;
}

.go-site-footer__text a {
  color: inherit;
  text-decoration: underline;
}

.go-site-footer__support {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(5, minmax(88px, 1fr));
  margin: 30px auto 0;
  max-width: 980px;
}

.go-site-footer__support-link {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 72px;
}

.go-site-footer__support img {
  display: block;
  height: auto;
  max-width: 100%;
  width: min(100%, 170px);
}

.go-footer-modal[hidden] {
  display: none;
}

.go-footer-modal {
  inset: 0;
  position: fixed;
  z-index: 2200;
}

.go-footer-modal__overlay {
  background: rgba(0, 0, 0, 0.35);
  inset: 0;
  position: absolute;
}

.go-footer-modal__panel {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  color: #000;
  left: 50%;
  max-width: min(440px, calc(100vw - 32px));
  padding: 32px 28px 28px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.go-footer-modal__panel h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 16px;
}

.go-footer-modal__panel p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.go-footer-modal__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 34px;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
}

.go-footer-modal__close::before,
.go-footer-modal__close::after {
  background: #111;
  content: "";
  height: 2px;
  left: 6px;
  position: absolute;
  top: 16px;
  width: 22px;
}

.go-footer-modal__close::before {
  transform: rotate(45deg);
}

.go-footer-modal__close::after {
  transform: rotate(-45deg);
}

.go-footer-modal__links {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.go-footer-modal__links a {
  color: #000;
  font-size: 16px;
  text-decoration: none;
}

.go-footer-modal__links a:hover,
.go-footer-modal__links a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 639px) {
  .go-site-header__bar {
    padding: 0 12px;
  }

  .go-site-header__logo {
    width: 200px;
  }

  .go-site-menu__panel {
    max-width: min(260px, 86vw);
    width: min(260px, 86vw);
  }

  .go-site-footer {
    padding: 64px 16px 26px;
  }

  .go-site-footer__logo {
    width: 230px;
  }

  .go-site-footer__support {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
  }
}
