/* Shared chrome for the pieces js/site.js renders on every page: the
 * "keep exploring" strip and the footer atlas. Written against the site's
 * common tokens with fallbacks, so it sits quietly under any page's own
 * inline styles and never fights them. */

nav.main { overflow-x: auto; scrollbar-width: none; }
nav.main::-webkit-scrollbar { display: none; }
nav.main a[aria-current="page"] { color: var(--text, #09090b); font-weight: 700; }

.site-next { max-width: 1100px; margin: 56px auto 0; padding: 0 20px; }
.site-next h2 {
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--text-muted, #71717a); margin: 0 0 14px;
}
.site-next-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.site-next-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e4e4e7);
  border-radius: 18px; padding: 18px 20px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.site-next-card:hover { border-color: var(--brand, #2563eb); transform: translateY(-1px); }
.site-next-card strong { color: var(--text, #09090b); font-size: 15px; }
.site-next-card span { color: var(--text-secondary, #52525b); font-size: 13.5px; line-height: 1.45; }

.site-atlas {
  margin-top: 56px;
  border-top: 1px solid var(--border, #e4e4e7);
  background: var(--bg-alt, var(--surface, #fff));
}
.site-atlas-inner {
  max-width: 1100px; margin: 0 auto; padding: 36px 20px 44px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px;
}
.site-atlas-col { display: flex; flex-direction: column; gap: 8px; }
.site-atlas-col h3 {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted, #71717a); margin: 0 0 4px;
}
.site-atlas-col a {
  color: var(--text-secondary, #52525b); text-decoration: none; font-size: 13.5px;
}
.site-atlas-col a:hover { color: var(--brand, #2563eb); }
.site-atlas-col a[aria-current="page"] { color: var(--text, #09090b); font-weight: 600; }
.site-colophon {
  grid-column: 1 / -1; margin: 12px 0 0; padding-top: 18px;
  border-top: 1px solid var(--border, #e4e4e7);
  font-size: 12.5px; color: var(--text-muted, #71717a);
}
.site-colophon a { color: inherit; font-weight: 600; text-decoration: none; }
.site-colophon a:hover { color: var(--brand, #2563eb); }
