.site-footer {
  --footer-shell: min(1240px, calc(100% - 64px));
  position: relative;
  padding-top: 66px;
  background: #2a2341;
  color: #faf9ff;
  font: 400 16px/1.65 'Spline Sans', system-ui, sans-serif;
  text-align: start;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.site-footer__top,
.site-footer__links,
.site-footer__bottom {
  width: var(--footer-shell);
  margin-inline: auto;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: end;
  gap: 90px;
  padding-bottom: 58px;
}
.footer-logo { display: block; width: 136px; height: auto; filter: brightness(0) invert(1); }
.footer-statement {
  max-width: 680px;
  margin: 32px 0 0;
  font: 600 clamp(48px, 5vw, 72px)/.98 Newsreader, serif;
  letter-spacing: -.045em;
}
.footer-contact h2 {
  max-width: 410px;
  margin: 0 0 28px;
  color: inherit;
  font: 600 44px/1.02 Newsreader, serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.footer-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #2a2341;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
}
.footer-contact__button:hover, .footer-contact__button:focus-visible { background: #eee9ff; color: #2a2341; }
.site-footer a:focus-visible { outline: 3px solid #efacd1; outline-offset: 3px; }
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  gap: 110px;
  padding-block: 44px;
  border-top: 1px solid rgb(255 255 255 / 14%);
}
.footer-link-group { display: grid; align-content: start; justify-items: start; gap: 9px; }
.footer-link-group p {
  margin: 0 0 10px;
  color: #aaa0f6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-link-group a { color: rgb(255 255 255 / 78%); font-size: 14px; text-decoration: none; }
.footer-link-group a:hover { color: #fff; }
.social-links { display: flex; align-items: center; gap: 10px; }
.social-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
}
.social-link:hover { border-color: rgb(255 255 255 / 55%); background: rgb(255 255 255 / 8%); }
.social-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-link__dot { fill: currentColor; stroke: none; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 55%);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .site-footer { --footer-shell: min(760px, calc(100% - 40px)); }
  .site-footer__top { grid-template-columns: 1fr; gap: 48px; }
  .site-footer__links { gap: 70px; }
}
@media (max-width: 640px) {
  .site-footer { --footer-shell: calc(100% - 32px); padding-top: 54px; }
  .site-footer__top { gap: 34px; padding-bottom: 45px; }
  .footer-logo { width: 110px; }
  .footer-statement { margin-top: 22px; font-size: 39px; }
  .footer-contact h2 { font-size: 32px; }
  .site-footer__links { grid-template-columns: 1fr 1fr; gap: 37px 24px; padding-block: 42px; }
  .footer-link-group--social { grid-column: 1/-1; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media print {
  .site-footer { display: none; }
}
