#site-footer {
  --footer-bg: #090c17;
  --footer-surface: rgba(255, 255, 255, .035);
  --footer-line: rgba(255, 255, 255, .1);
  --footer-text: #f5f6fa;
  --footer-muted: #a6adbd;
  --footer-accent: #ffad32;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-block-start: 64px;
  padding: 0 clamp(20px, 5vw, 72px);
  border: 0;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-text);
  background:
    radial-gradient(ellipse at 86% 0, rgba(255, 157, 0, .12), transparent 38%),
    linear-gradient(145deg, #101526 0%, var(--footer-bg) 58%);
  font: inherit;
  text-align: start;
}

#site-footer *,
#site-footer *::before,
#site-footer *::after {
  box-sizing: border-box;
}

#site-footer .site-footer__inner {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(28px, 5vw, 68px);
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-block: 62px 52px;
}

#site-footer .site-footer__brand {
  max-width: 330px;
}

#site-footer .site-footer__logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-block-end: 18px;
}

#site-footer .site-footer__logo img {
  display: block;
  width: 176px;
  max-height: 48px;
  object-fit: contain;
}

#site-footer .site-footer__brand p {
  max-width: 34ch;
  margin: 0;
  color: var(--footer-muted);
  font-size: .94rem;
  line-height: 1.9;
}

#site-footer .site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-block-start: 22px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 173, 50, .4);
  border-radius: 10px;
  color: #ffd18a;
  background: rgba(255, 173, 50, .08);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

#site-footer .site-footer__cta:hover {
  transform: translateY(-2px);
  border-color: var(--footer-accent);
  background: rgba(255, 173, 50, .15);
}

#site-footer .site-footer__group h2 {
  margin: 0 0 18px;
  color: var(--footer-text);
  font-size: .96rem;
  font-weight: 800;
}

#site-footer .site-footer__group ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#site-footer .site-footer__group a,
#site-footer .site-footer__bottom a {
  color: var(--footer-muted);
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s ease;
}

#site-footer .site-footer__group a:hover,
#site-footer .site-footer__bottom a:hover {
  color: var(--footer-accent);
}

#site-footer a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 4px;
  border-radius: 3px;
}

#site-footer .site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1240px);
  min-height: 68px;
  margin-inline: auto;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font-size: .82rem;
}

@media (max-width: 900px) {
  #site-footer .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }
}

@media (max-width: 560px) {
  #site-footer {
    margin-block-start: 40px;
    padding-inline: 22px;
  }

  #site-footer .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 34px 20px;
    padding-block: 42px 36px;
  }

  #site-footer .site-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  #site-footer .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-block: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-footer *,
  #site-footer *::before,
  #site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
