/* GitBook-style Whitepaper CSS */

/* --- General Body & Layout --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    display: flex;
}

.whitepaper-container {
    display: flex;
    width: 100%;
}

/* --- Sidebar Navigation --- */
.whitepaper-sidebar {
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: #f5f7f9;
    border-right: 1px solid #e6e9ed;
    padding: 2rem 0;
    overflow-y: auto;
    font-size: 15px;
}

.whitepaper-sidebar h1 {
    font-size: 24px;
    padding: 0 1.5rem;
    margin: 0 0 1.5rem 0;
    color: #000;
}

.whitepaper-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whitepaper-sidebar nav li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border-left: 3px solid transparent;
}

.whitepaper-sidebar nav li a:hover {
    background-color: #e6e9ed;
    color: #000;
}

.whitepaper-sidebar nav li a.active {
    color: #0d6efd;
    background-color: #e7f1ff;
    border-left-color: #0d6efd;
    font-weight: 600;
}


/* --- Main Content Area --- */
.whitepaper-content {
    margin-left: 280px;
    padding: 3rem 4rem;
    width: calc(100% - 280px);
    max-width: 960px;
}

.whitepaper-content section {
    margin-bottom: 4rem;
}

.whitepaper-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    border-bottom: 1px solid #e6e9ed;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 0;
}

.whitepaper-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.whitepaper-content p {
    font-size: 16px;
    margin-bottom: 1.5rem;
}

.whitepaper-content ul {
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.whitepaper-content li {
    margin-bottom: 0.75rem;
}

/* --- Table Styles --- */
.whitepaper-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 14px;
}

.whitepaper-content th,
.whitepaper-content td {
    padding: 0.75rem 1rem;
    border: 1px solid #e6e9ed;
    text-align: left;
}

.whitepaper-content th {
    background-color: #f5f7f9;
    font-weight: 600;
}

.whitepaper-content tr:nth-child(even) {
    background-color: #fcfcfd;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .whitepaper-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e6e9ed;
    }

    .whitepaper-content {
        margin-left: 0;
        width: 100%;
        padding: 2rem;
    }
} 