/* ==========================================================================
   pages.css — Standalone page styles (markdown pages, landing page)
   ========================================================================== */

/* ── Markdown page ── */
.md-page {
    max-width: 720px; width: 100%; position: relative; z-index: 1;
}
.md-page h1 { font-size: 1.2rem; font-weight: 600; color: var(--text-bright); margin-bottom: 0.5em; text-shadow: 0 0 10px rgba(232,148,60,0.2); }
.md-page h2 { font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-top: 2em; margin-bottom: 0.6em; }
.md-page h2::before { content: '# '; color: var(--text-muted); }
.md-page p, .md-page li { font-size: 0.82rem; font-weight: 300; color: var(--text-dim); line-height: 1.7; margin-bottom: 0.6em; }
.md-page em { color: var(--text-muted); }
.md-page strong { color: var(--text); font-weight: 500; }
.md-page ul { list-style: none; padding-left: 0; margin-bottom: 0.8em; }
.md-page li::before { content: '- '; color: var(--text-muted); }
.md-page a { color: var(--text); }
.md-page a:hover { color: var(--text-glow); }
.md-page hr { border: none; border-top: 1px solid var(--border); margin: 1.5em 0; }
.md-page code { background: rgba(200,120,48,0.1); padding: 0.15em 0.4em; border-radius: 2px; font-size: 0.8rem; }
.md-page .back-link { display: inline-block; margin-bottom: 1.5em; font-size: 0.8rem; color: var(--text-muted); }
.md-page .back-link::before { content: '< '; }
.md-page .back-link:hover { color: var(--text); }

/* ── Landing / welcome page ── */
.landing-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-bright);
    margin-bottom: 0.3em;
    text-shadow: 0 0 20px rgba(232,148,60,0.3), 0 0 40px rgba(232,148,60,0.1);
}
.landing-title .dot, .dot {
    color: var(--text-glow);
    text-shadow: 0 0 15px rgba(255,168,84,0.5);
}
.landing-section-label,
.welcome-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 2.5em;
    margin-bottom: 0.8em;
    font-weight: 400;
}
.landing-section-label::before,
.welcome-section-label::before {
    content: '# ';
    color: var(--text-faint);
}
.links {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}
.link-item {
    position: relative;
}
.link-item a {
    display: inline-block;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.35em 0;
    transition: all 0.2s ease;
    text-shadow: 0 0 10px rgba(200,120,48,0.15);
}
.link-item a::before {
    content: '> ';
    color: var(--text-faint);
    transition: color 0.2s ease;
}
.link-item a:hover {
    color: var(--text-glow);
    text-shadow: 0 0 15px rgba(255,168,84,0.3), 0 0 30px rgba(255,168,84,0.1);
}
.link-item a:hover::before {
    color: var(--text-bright);
}
.link-lock {
    font-size: 0.75em;
    opacity: 0.4;
    vertical-align: middle;
}
.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    background: var(--bg-raised);
    color: var(--text-dim);
    font-size: 0.72rem;
    font-weight: 300;
    line-height: 1.5;
    padding: 0.7em 1em;
    border-left: 2px solid rgba(200,120,48,0.3);
    max-width: 380px;
    white-space: normal;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}
.link-item:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* ── Landing columns ── */
.landing-columns {
    display: flex;
    gap: 3em;
    align-items: flex-start;
    margin-top: 1em;
}
.landing-col {
    flex: 1;
    min-width: 200px;
}
@media (max-width: 768px) {
    .landing-columns { flex-direction: column; gap: 0; }
}

/* ── Welcome page footer ── */
.welcome-footer {
    margin-top: 2.5em;
    font-size: 0.7rem;
}
.welcome-footer a {
    color: var(--text-muted);
}
.welcome-footer a:hover {
    color: var(--text-bright);
}
