.cc-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #050506;
  color: #f5f5f7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cc-footer-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 64px 0 28px;
}

.cc-footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.7fr);
  gap: clamp(56px, 9vw, 130px);
  padding-bottom: 58px;
}

.cc-footer-brand {
  align-self: start;
}

.cc-footer-brand > a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #f5f5f7;
  text-decoration: none;
}

.cc-footer-brand > a span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.cc-footer-brand > a b {
  font-size: 15px;
  font-weight: 720;
}

.cc-footer-brand p {
  max-width: 330px;
  margin: 22px 0 0;
  color: #8e8e93;
  font-size: 13px;
  line-height: 1.65;
}

.cc-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.cc-footer-links > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.cc-footer-links strong {
  margin-bottom: 5px;
  color: #818188;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cc-footer-links a,
.cc-footer-bottom a {
  color: #c7c7cc;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease;
}

.cc-footer-links a:hover,
.cc-footer-bottom a:hover {
  color: #fff;
}

.cc-footer-bottom {
  min-height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  color: #818188;
  font-size: 12px;
}

.cc-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.cc-footer-legal a {
  color: #8e8e93;
  font-size: 12px;
}

@media (max-width: 800px) {
  .cc-footer-inner {
    width: min(100% - 30px, 1180px);
    padding-top: 48px;
  }

  .cc-footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 44px;
  }

  .cc-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .cc-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .cc-footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .cc-footer-links {
    grid-template-columns: 1fr;
  }
}
