/* The site's header and footer, shared by the landing page (/) and the live page (/live/). Each page
   defines the palette (--bg, --ink, --text, --muted, --rule, --red, --yellow, --blue, --sans,
   --mono) in its own style. */

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 22px; }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--ink); }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.top nav .org { padding-left: 22px; border-left: 1px solid var(--rule-strong); }

footer.site { margin-top: 24px; padding-block: 36px 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
footer.site .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; max-width: 860px; }
footer.site h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
footer.site h2 i { display: inline-block; width: 8px; height: 8px; background: var(--c); }
footer.site h2 i.circle { border-radius: 50%; }
footer.site h2 i.triangle { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
footer.site .cols a { display: block; padding: 3px 0; color: var(--text); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .fine { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); }
footer.site .fine a { color: var(--text); }

@media (max-width: 640px) {
  .top { padding-block: 16px; }
  .top nav { gap: 6px 16px; }
  .top nav .org { padding-left: 0; border-left: 0; }
  footer.site .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
