/* =============================================================
   Cogitator Docs Pages
   Lightweight styles for documentation content
   ============================================================= */

/* Docs header */
.docs-header {
    padding: 7rem 2rem 2rem;
    text-align: center;
}

.docs-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.docs-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 520px;
    margin: 1rem auto 0;
}

/* Docs content sections */
.docs-section {
    margin-bottom: 3rem;
}

.docs-section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 1rem;
}

.docs-section p {
    margin-bottom: 0.85rem;
    line-height: 1.7;
}

.docs-section a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-border);
    transition: border-color 0.15s;
}

.docs-section a:hover {
    border-color: var(--accent);
}

/* Code blocks */
pre {
    background: #1a1917;
    color: #e8e6e1;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.7;
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

/* Inline code */
code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: var(--bg-alt);
    padding: 0.15em 0.4em;
    border-radius: 3px;
    color: var(--text);
}

pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    color: inherit;
    font-size: inherit;
}

/* Step numbering for docs */
.docs-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.docs-step-num {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    opacity: 0.7;
    padding-top: 0.25rem;
}

.docs-step-content p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .docs-header {
        padding: 7rem 1.25rem 2rem;
    }
}
