.site-footer {
  background: #131814;
  border-top: 1px solid #2d382e;
  color: #b8c1b5;
}

.foot-content {
  width: calc(100% - 100px);
  max-width: 1216px;
  margin-inline: auto;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(13rem, 1.7fr) repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 26px;
  padding-block: 35px 31px;
}

.foot-identity {
  min-width: 0;
}

.foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  font-size: 1.27rem;
  font-weight: 800;
  letter-spacing: -.066em;
  line-height: 1;
}

.foot-logo img {
  width: 27px;
  height: 27px;
}

.foot-identity p {
  margin: 12px 0 11px;
  max-width: 16rem;
  color: #aab5a7;
  font-size: .82rem;
  line-height: 1.55;
}

.foot-identity .mail-link,
.foot-col a,
.foot-col button,
.foot-base a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 26px;
  gap: 8px;
  color: #bec8bb;
  font-size: .82rem;
  font-weight: 570;
  line-height: 1.4;
  text-align: left;
  transition: color .16s;
}

.foot-identity .mail-link {
  overflow-wrap: anywhere;
  color: #d0ddcb;
  font-weight: 650;
}

.foot-col {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 3px;
  min-width: 0;
}

.foot-col h2 {
  margin: 3px 0 7px;
  color: #e9efe6;
  font-size: .83rem;
  font-weight: 770;
  line-height: 1.35;
}

.foot-col button {
  padding: 0;
}

.site-footer :is(a, button):hover {
  color: var(--lime);
}

.site-footer .ico {
  width: 15px;
  height: 15px;
  color: #9bac96;
  stroke-width: 1.6;
}

.site-footer a:hover .ico {
  color: inherit;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 57px;
  padding-block: 9px;
  gap: 5px 18px;
  border-top: 1px solid #2b362d;
  color: #a2ada0;
  font-size: .76rem;
  font-weight: 560;
}

.foot-base > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
}

.foot-base a {
  font-size: .76rem;
}

.foot-base .ico {
  width: 12px;
  height: 12px;
}

@media (max-width: 1050px) {
  .foot-content {
    width: calc(100% - 60px);
  }
}

@media (max-width: 760px) {
  .foot-content {
    width: calc(100% - 36px);
  }
  .foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-block: 26px;
  }
  .foot-identity {
    grid-column: 1 / -1;
    padding-bottom: 11px;
    border-bottom: 1px solid #2b362d;
  }
}

@media (max-width: 560px) {
  .foot-content {
    width: calc(100% - 28px);
  }
}

@media (max-width: 430px) {
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .foot-social {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px 8px;
  }
  .foot-social h2 {
    grid-column: 1 / -1;
  }
  .foot-social a {
    gap: 5px;
  }
  .foot-social .ico {
    width: 13px;
    height: 13px;
  }
}

.community-page .community-skip {
  position: absolute;
  z-index: 2;
  inset: .8rem auto auto .8rem;
  transform: translateY(-200%);
  border-radius: .5rem;
  background: var(--lime);
  color: #1a2b13;
  padding: .6rem .8rem;
  font-weight: 750;
}

.community-page .community-skip:focus {
  transform: none;
}

.community-page .community-header {
  justify-content: space-between;
  gap: 16px;
}

.community-page .community-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #425043;
  border-radius: 8px;
  color: #d7e0d3;
  font-size: .81rem;
  font-weight: 720;
}

.community-page .community-home:hover {
  border-color: #6f895f;
  color: var(--lime);
}

.community-page .community-content {
  width: min(100% - 36px, 760px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  padding-block: clamp(38px, 7vw, 75px);
}

.community-page .community-channels {
  display: flex;
  align-items: center;
  gap: 5px;
  align-self: center;
  max-width: 100%;
  padding: 4px;
  border: 1px solid #303b31;
  border-radius: 10px;
  background: #181e19;
}

.community-page .community-channels a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 35px;
  padding: 5px 12px;
  border-radius: 6px;
  color: #bbc7b8;
  font-size: .84rem;
  font-weight: 700;
}

.community-page .community-channels .ico {
  width: 14px;
  height: 14px;
}

.community-page .community-channels a:hover,
.community-page .community-channels [aria-current='page'] {
  background: #303c2e;
  color: #d7f6c0;
}

.community-page .community-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(27px, 5.9vw, 66px) clamp(18px, 6vw, 64px);
  border: 1px solid #3b4a3c;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 0%, #2b3c28 0%, #1c271e 42%, #171d18 77%);
  box-shadow: 0 22px 55px #090f0a72;
  text-align: center;
}

.community-page .community-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  mask-image: linear-gradient(#0008, transparent 73%);
  background-image: linear-gradient(#acd99123 1px, transparent 1px),
    linear-gradient(90deg, #acd99123 1px, transparent 1px);
  background-position: center top;
  background-size: 23px 23px;
  content: '';
  pointer-events: none;
}

.community-page .community-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border: 1px solid #6f9a5c;
  border-radius: 16px;
  background: #283c27;
  box-shadow: 0 0 28px #a7e77b25, inset 0 0 14px #b1f37c17;
  color: #d1f7af;
}

.community-page .community-mark .ico {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.community-page .community-mark img {
  width: 30px;
  height: 30px;
}

.community-page h1 {
  margin: 0;
  color: #f0f6ef;
  font-size: clamp(2.32rem, 5.3vw, 4rem);
  font-weight: 710;
  letter-spacing: -.081em;
  line-height: 1.075;
}

.community-page .community-description {
  max-width: 29rem;
  margin: 13px auto 0;
  color: #c0cdbd;
  font-size: clamp(.91rem, 1.7vw, 1.02rem);
  line-height: 1.6;
}

.community-page .community-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  margin-top: 24px;
  padding: 8px 15px;
  border: 1px solid #b8ec86;
  border-radius: 9px;
  background: #c3fa82;
  color: #22351a;
  font-size: .87rem;
  font-weight: 800;
}

.community-page .community-contact:hover {
  background: #d4ffa8;
}

.community-page .community-footer .foot-base {
  border-top: 0;
}

@media (max-width: 560px) {
  .community-page .community-header {
    min-height: 64px;
    padding-block: 10px;
  }
}

@media (max-width: 430px) {
  .community-page .community-content {
    width: calc(100% - 28px);
  }
  .community-page .community-channels a {
    padding-inline: 8px;
  }
  .community-page .community-home {
    padding-inline: 8px;
    white-space: nowrap;
  }
}
