/* Footer: sits under the page and is revealed as the last section scrolls away. */
.foot {
  position: sticky;
  bottom: 0;
  z-index: 0;
  box-sizing: border-box;
  margin-left: calc(-1 * var(--side));
  margin-right: calc(-1 * var(--side-r));
  padding: 50px max(var(--side), calc((100vw - 1240px) / 2))
    calc(50px + env(safe-area-inset-bottom, 0px));
  background: #262626;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-utility);
  font-size: 14px;
  line-height: 1.4;
}

.foot-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 46px;
  align-items: start;
}

.foot-mark svg {
  display: block;
  width: 100px;
  height: auto;
  fill: #fff;
  shape-rendering: crispEdges;
}

.foot-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-meta p {
  margin: 0;
  overflow-wrap: anywhere;
}

.foot-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-position: from-font;
}

@media (max-width: 800px) {
  .foot {
    padding-top: 40px;
  }

  .foot-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .foot {
    position: static;
  }
}
