.rc-topbar .rc-brand,
.topbar .brand {
  font-size: 31px;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.rc-topbar .rc-brand img,
.topbar .brand img { flex: 0 0 auto; width: 38px; height: 38px; }
.rc-footer.site-footer,
.footer.site-footer {
  display: grid;
  grid-template-columns: minmax(390px, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 32px;
  padding-top: 28px;
  padding-bottom: 32px;
  font-size: 14px;
  line-height: 1.5;
}
.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: #20242a;
  font-size: 52px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
  white-space: nowrap;
}
.site-footer .footer-brand img { display: block; flex: 0 0 auto; width: 65px; height: 65px; border-radius: 12px; }
.site-footer .footer-description {
  max-width: 260px;
  margin: 14px 0 0;
  color: #465263;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: normal;
}
.site-footer .footer-brand:hover { text-decoration: none; }
.site-footer .footer-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-content: start;
}
.site-footer .footer-group-title {
  margin: 0 0 12px;
  color: #124e57;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0; padding: 0; }
.site-footer li a { color: #465263; font-weight: 500; text-decoration: none; }
.site-footer a:hover { color: #124e57; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline: 2px solid #124e57; outline-offset: 4px; }
.site-footer [aria-current="page"] { color: #124e57; font-weight: 700; }
@media (max-width: 980px) {
  .rc-footer.site-footer, .footer.site-footer { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .site-footer .footer-brand { gap: 12px; font-size: 35px; }
  .site-footer .footer-brand img { width: 44px; height: 44px; border-radius: 10px; }
  .site-footer .footer-description { max-width: 290px; margin-top: 10px; }
  .site-footer .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .site-footer .footer-group:last-child { grid-column: 1 / -1; }
  .site-footer .footer-group:last-child ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }
}
