/* Footer, every page: © line, then the small About link. The home has the footer in its HTML; js/foot.js adds it
   to the app pages, plus the About balloon. Text comes from Admin > Site settings (/content/settings.json). */
.foot { padding: 0 16px 40px; background: #efefef; text-align: center; font: 17px/1 var(--font-lcd); color: #636363; }
body > .foot { padding-top: 28px; }
.foot__top { margin: 0 0 14px; }
.foot__top[hidden] { display: none; }
.foot__top .foot__link { font-size: 17px; }
.foot__desk { margin: 6px 0 0; }
.foot__desk + .foot__about { margin-top: 2px; }
.foot__about { position: relative; display: inline-block; margin-top: 6px; }
.foot__link {
  padding: 2px 4px; border: 0; background: none; color: #636363; cursor: pointer;
  font: 15px/1 var(--font-lcd); text-decoration: underline; text-underline-offset: 2px;
}
.foot__link:hover, .foot__link[aria-expanded="true"] { color: var(--ink, #101010); }
.about-pop {
  position: absolute; z-index: 60; left: 50%; bottom: calc(100% + 14px);
  width: min(340px, calc(100vw - 32px)); padding: 12px 14px;
  background: #fff; color: var(--ink, #101010); text-align: left;
  border: 1.5px solid var(--ink, #101010); border-radius: 12px;
  font: 14px/1.45 var(--font-body, system-ui, sans-serif);
  transform: translateX(-50%);
  animation: about-in .24s cubic-bezier(.2, 1.7, .4, 1);
}
.foot__about[hidden], .about-pop[hidden] { display: none; }
.about-pop::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px;
  background: #fff; border-right: 1.5px solid var(--ink, #101010); border-bottom: 1.5px solid var(--ink, #101010);
  transform: rotate(45deg);
}
.about-pop p { margin: 0 0 .8em; }
.about-pop p:last-child { margin-bottom: 0; }
@keyframes about-in { from { opacity: 0; transform: translate(-50%, 6px) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .about-pop { animation: none; } }
