/* Nywhash Research Premium Documentation Design */
:root {
    --nyw-primary: #ac1c43;
    --nyw-primary-light: rgba(172, 28, 67, 0.1);
    --nyw-text-main: #161616;
    --nyw-text-muted: #525252;
    --nyw-border: #e0e0e0;
    --nyw-bg: #ffffff;
    --nyw-font: 'Epilogue', sans-serif;
}

body {
    font-family: var(--nyw-font);
    background-color: var(--nyw-bg);
    color: var(--nyw-text-main);
    margin: 0;
    line-height: 1.6;
}

.nyw_docs_container {
    width: 100%;
    min-height: 100vh;
}

.nyw_docs_wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 60px 24px;
}

/* Sidebar & TOC */
.nyw_docs_sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.nyw_docs_toc {
    background: #fff;
    border: 1px solid var(--nyw-border);
    border-radius: 8px;
    padding: 24px;
}

.nyw_docs_toc_title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nyw-text-main);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--nyw-primary);
    display: inline-block;
    padding-bottom: 4px;
}

.nyw_docs_toc_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nyw_docs_toc_link {
    display: block;
    padding: 8px 0;
    color: var(--nyw-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.nyw_docs_toc_link:hover,
.nyw_docs_toc_link.active {
    color: var(--nyw-primary);
    padding-left: 8px;
}

/* Main Content */
.nyw_docs_main {
    flex: 1;
    min-width: 0;
}

.nyw_docs_article {
    max-width: 900px;
}

.nyw_docs_header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--nyw-border);
    padding-bottom: 32px;
}

.nyw_docs_title {
    font-size: 42px;
    font-weight: 800;
    color: var(--nyw-text-main);
    margin-bottom: 12px;
    line-height: 1.2;
}

.nyw_docs_meta {
    font-size: 13px;
    color: var(--nyw-text-muted);
    font-weight: 500;
}

.nyw_docs_content {
    font-size: 18px;
    color: #333;
}

.nyw_docs_section {
    margin-bottom: 48px;
    scroll-margin-top: 120px;
}

.nyw_docs_section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--nyw-text-main);
}

.nyw_docs_section p {
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .nyw_docs_wrapper {
        flex-direction: column;
    }
    .nyw_docs_sidebar {
        width: 100%;
        position: static;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .nyw_docs_title {
        font-size: 32px;
    }
}
