footer.site-footer {
  display: block;
  max-width: 1440px;
  margin: 32px auto 0;
  padding: 28px 40px 18px;
  border-top: 1px solid var(--line);
  color: var(--white);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
}
.site-footer .footer-identity {
  gap: 8px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  font-size: 15px;
}
.footer-about > p:first-of-type {
  font-size: 14px;
  margin: 12px 0 6px;
}
.site-footer .footer-description,
.footer-column p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
  max-width: 300px;
}
.site-footer .footer-project-tag {
  display: inline-block;
  color: var(--lime);
  font-size: 9px;
  letter-spacing: 1.6px;
  margin-top: 12px;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: start;
  min-width: 0;
}
.footer-column h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 2px 0 6px;
  line-height: 1.5;
}
.site-footer a {
  text-decoration: none;
}
.footer-column a,
.site-footer .footer-bottom a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.site-footer a:hover {
  color: var(--lime);
}
.site-footer a:focus-visible,
.footer-data-notes summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
  border-radius: 2px;
}
.footer-data-notes {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.footer-data-notes summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  list-style: none;
}
.footer-data-notes summary::-webkit-details-marker {
  display: none;
}
.footer-data-notes summary span {
  color: var(--lime);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s;
}
.footer-data-notes[open] summary span {
  transform: rotate(45deg);
}
.footer-methodology {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  padding-bottom: 22px;
}
.footer-methodology p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 14px;
}
.footer-methodology strong {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-top: 16px;
}
.footer-bottom p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.site-footer .footer-bottom a {
  font-size: 10px;
}
.site-footer .footer-bottom .footer-author {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  footer.site-footer {
    margin-top: 24px;
    padding: 24px 16px 18px;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .footer-column:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
  }
  .footer-column:last-child h2,
  .footer-column:last-child p {
    grid-column: 1 / -1;
  }
  .footer-column p {
    max-width: none;
  }
  .footer-column h2 {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 4px;
    overflow-wrap: anywhere;
  }
  .footer-methodology {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-bottom {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .footer-bottom p {
    font-size: 11px;
    max-width: 100%;
    text-wrap: pretty;
  }
  .site-footer .footer-bottom .footer-author {
    font-size: inherit;
    white-space: nowrap;
  }
  .site-footer .footer-description {
    max-width: 100%;
  }
  .footer-data-notes {
    margin-top: 18px;
  }
  .site-footer .footer-identity {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-data-notes summary span {
    transition: none;
  }
}

.footer-column a {
  padding: 0;
}
@media (max-width: 600px) {
  .footer-column {
    gap: 4px;
  }
  .footer-column a {
    min-height: 36px;
    display: flex;
    align-items: center;
  }
}
