:root{--page-title-display:none;}/* Start custom CSS */.tos-wrapper * {
    box-sizing: border-box;
}

.tos-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.tos-wrapper .container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

/* Table of Contents - Sticky Sidebar */
.tos-wrapper .toc-sidebar {
    width: 300px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    padding: 2rem 1.5rem;
}

.tos-wrapper .toc-sidebar h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.tos-wrapper .toc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tos-wrapper .toc-sidebar li {
    margin-bottom: 0.5rem;
}

.tos-wrapper .toc-sidebar a {
    color: #495057;
    text-decoration: none;
    display: block;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.tos-wrapper .toc-sidebar a:hover {
    background: #e9ecef;
    color: #007bff;
}

.tos-wrapper .toc-sidebar a.active {
    background: #007bff;
    color: white;
}

/* Main Content */
.tos-wrapper .content {
    flex: 1;
    padding: 3rem;
    max-width: 900px;
    padding-top: 150px;
    margin-top: -120px;
}

.tos-wrapper .content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.tos-wrapper .content .subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

.tos-wrapper .section {
    margin-bottom: 3rem;
    padding-top: 120px;
    margin-top: -120px;
}

.tos-wrapper .section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.tos-wrapper .section h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #495057;
}

.tos-wrapper .section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.tos-wrapper .section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.tos-wrapper .section li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .tos-wrapper .container {
        flex-direction: column;
    }
    
    .tos-wrapper .toc-sidebar {
        display: none;
    }
    
    .tos-wrapper .content {
        padding: 2rem 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}/* End custom CSS */