/* Shared chrome for the standalone pages (dashboards, explainers,
   methodology notes) so they match the Tailwind pages: same background,
   type, header and footer. The Tailwind pages (index, projects, articles,
   about, book) get the same look from their utility classes.

   A page sets --site-width to its own content width so the header lines up
   with its column. */

:root {
    --site-bg: #ffffff;
    --site-text: #111827;      /* gray-900 */
    --site-muted: #6b7280;     /* gray-500 */
    --site-faint: #9ca3af;     /* gray-400 */
    --site-border: #e5e7eb;    /* gray-200 */
    --site-rule: #f3f4f6;      /* gray-100 */
    --site-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.site-nav,
.site-footer {
    box-sizing: border-box;
    max-width: var(--site-width, 48rem);
    margin: 0 auto;
    font-family: var(--site-font);
    color: var(--site-text);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0 2.5rem;
    line-height: 1.5;
}

.site-nav a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.site-nav a:hover {
    color: #4b5563;            /* gray-600 */
}

.site-nav__name {
    font-size: 1.125rem;
    font-weight: 500;
}

.site-nav__links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.site-nav__links a[aria-current="page"] {
    font-weight: 500;
}

.site-footer {
    margin-top: 4rem;
    padding: 2rem 0 0;
    border-top: 1px solid var(--site-rule);
    font-size: 0.875rem;
    color: var(--site-faint);
}
