/* Vervly site footer: one quiet row. Lockup on the left, contact links
   and the year on the right, a hairline above. Tokens from styles.css. */

.site-foot {
  margin: var(--s-12) calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))) 0;
  padding: var(--s-6) max(var(--gutter), env(safe-area-inset-left, 0px)) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--fg-3);
  font-family: var(--sans);
  position: relative;
  font-size: var(--t-1);
  line-height: 1.5;
}
/* the horizon again, in reverse: the footer's hairline runs gold to blue */
.site-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(to right, var(--accent-line), var(--blue-line) 30%, var(--line) 70%, transparent);
}
.site-foot-row {
  /* one centred stack: lockup, the links, the fine print. A left lockup with a
     right-hand link block read as off-centre once the disclaimer wrapped. */
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--s-4);
  max-width: var(--page-max); margin: 0 auto;
}
.site-foot-lockup {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: var(--fg-2); text-decoration: none;
}
.site-foot-lockup svg { display: block; flex: none; }
.site-foot-lockup:hover { color: var(--fg); }
.site-foot-name { font-weight: 500; }
.site-foot-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.site-foot-links a { color: var(--fg-2); text-decoration: none; }
.site-foot-links a:hover { color: var(--accent); }
.site-foot-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r); }
.site-foot-fine, .site-foot-hint { color: var(--fg-3); font-family: var(--mono); font-size: var(--t-0); }
.site-foot-disclaim { font-family: var(--sans); flex-basis: 100%; max-width: 72ch; margin-top: var(--s-1); }
@media (max-width: 600px) {
  .site-foot-hint { display: none; }
  .site-foot-links { gap: var(--s-2) var(--s-4); }
}
