/* The navigation portal (restyled 2026-10-28): the home page's chrome and
   tokens (public/home.css, book.css), sections of plain link tiles. */

.pc-nav-main .prose-head { margin-bottom: 44px; }
.pc-nav-main .prose-summary { max-width: 70ch; }

.nav-sections { display: flex; flex-direction: column; gap: 44px; }

.nav-section h2 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 650;
    letter-spacing: -0.005em;
}
.nav-section .section-description {
    margin: 0 0 18px;
    max-width: 72ch;
    color: var(--text-dim);
    font-size: 0.96rem;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}
.nav-link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.nav-link:hover {
    border-color: rgba(53,232,224,.42);
    background: var(--bg-raise);
    transform: translateY(-2px);
}
.nav-link .link-text { color: var(--text); font-weight: 600; font-size: 0.98rem; }
.nav-link:hover .link-text { color: var(--phase-1); }
.nav-link .link-path {
    font-family: ui-monospace, SFMono-Regular, Menlo, "PC Glyphs", monospace;
    font-size: 0.78rem;
    color: var(--text-mute);
    overflow-wrap: anywhere;
}

.nav-footer {
    margin-top: 56px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    color: var(--text-dim);
    font-size: 0.95rem;
}
.nav-footer p { margin: 0 0 14px; }
.nav-footer a:not(.btn) { color: var(--phase-1); }
.nav-footer .btn { margin: 4px 0 18px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--text-mute); }
