:root {
    --toc-top-offset: 7.75rem;
}

* {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

pre,
pre *,
code,
code * {
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    min-height: 100vh;
    color: #333;
}

p,
li,
th,
td {
    line-height: 1.6;
}

/* Global Links */
a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.nav-link:hover {
    text-decoration: none;
}

.cta-button:hover {
    text-decoration: none;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand a:hover {
    background: linear-gradient(135deg, #5568d3 0%, #654094 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
}

.navbar-menu li {
    margin: 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
    width: 0;
}

.nav-link:hover {
    color: #667eea;
    text-decoration: none !important;
}

.nav-link:hover::after {
    width: calc(100% - 2rem);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.25rem;
    z-index: 1001;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
}

.navbar-toggle span:nth-child(1) {
    top: 10px;
}

.navbar-toggle span:nth-child(2) {
    top: 18.5px;
}

.navbar-toggle span:nth-child(3) {
    top: 27px;
}

.navbar-toggle:hover span {
    background: #667eea;
}

.navbar-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
    top: 18.5px;
}

.navbar-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
    top: 18.5px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1.5rem;
    }

    .navbar-toggle {
        display: flex;
        position: fixed;
        top: 1rem;
        right: 1.5rem;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 0;
        z-index: 1000;
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu li {
        width: 100%;
        border-bottom: 1px solid #e9ecef;
    }

    .navbar-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-toggle[aria-expanded="true"]+.navbar-menu {
        right: 0;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: white;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 2.5rem 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form .form-group-full {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-form label.required::after {
    content: " *";
    color: #dc3545;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.contact-form input.touched:valid:not(:focus),
.contact-form textarea.touched:valid:not(:focus) {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-form input.required.touched:invalid:not(:focus),
.contact-form textarea.required.touched:invalid:not(:focus) {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .submit-button {
    grid-column: 1 / -1;
    padding: 0.875rem 2rem;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .submit-button:hover {
    background-color: #357abd;
}

.contact-form .submit-button:active {
    transform: translateY(1px);
}

@media (max-width: 600px) {
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .form-group-full {
        grid-column: 1;
    }
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.cta-button.secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #654094 100%);
    color: white;
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #333;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-section {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* Footer */
.footer {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: white;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: white;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #667eea;
    text-decoration: none;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.social-links a:hover {
    color: #667eea;
    text-decoration: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-links {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* Company Details Section */
.company-details-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.company-details-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.company-details-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.company-details-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    color: #333;
    text-align: center;
    letter-spacing: -0.01em;
}

.company-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.detail-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.detail-item:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.detail-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.copy-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
}

.copy-button:hover {
    background-color: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.copy-button:active {
    transform: translateY(0);
}

.copy-button.copied {
    background-color: #10b981;
}

.copy-button.copied:hover {
    background-color: #059669;
}

.copy-button svg {
    flex-shrink: 0;
    stroke-width: 1.5;
}

.copy-text {
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 600px) {
    .company-details-section {
        margin: 3rem auto;
        padding: 0 1.5rem;
    }

    .company-details-card {
        padding: 2rem 1.5rem;
    }

    .company-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .company-details-card h3 {
        font-size: 1.5rem;
    }
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

/* Section Container - visual container with border/background */
.section-container {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-container h1,
.content-container h1 {
    font-size: 2.25rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    color: #333;
    letter-spacing: -0.01em;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    scroll-margin-top: 80px;
}

.section-container h2,
.content-container h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem 0;
    color: #333;
    letter-spacing: -0.01em;
    scroll-margin-top: 80px;
}

.section-container h3,
.content-container h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #444;
    scroll-margin-top: 80px;
}

.section-container p,
.content-container p {
    font-size: 1.05rem;
    color: #555;
    margin: 0 0 1.5rem 0;
}

.section-container p:last-child,
.content-container p:last-child {
    margin-bottom: 0;
}

.section-container ul,
.section-container ol,
.content-container ul,
.content-container ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: #555;
}

.section-container ul li,
.section-container ol li,
.content-container ul li,
.content-container ol li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.section-container a,
.content-container a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.section-container a:hover,
.content-container a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
    text-decoration: none;
}

.section-container strong,
.content-container strong {
    color: #333;
    font-weight: 600;
}

/*
.section-container code,
.content-container code {
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #667eea;
}
*/

.section-container blockquote,
.content-container blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* Markdown Content Styles */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    scroll-margin-top: 80px;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.markdown-content thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.markdown-content th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.markdown-content tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.markdown-content tbody tr:last-child {
    border-bottom: none;
}

.markdown-content tbody tr:hover {
    background-color: #f8f9fa;
}

.markdown-content tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.markdown-content tbody tr:nth-child(even):hover {
    background-color: #f1f3f5;
}

.markdown-content td {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #555;
    vertical-align: top;
}

.markdown-content tbody td {
    border-top: 1px solid #e9ecef;
}

.markdown-content hr {
    border: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .content-container {
        margin: 2rem auto;
    }

    .section-container {
        padding: 2rem;
        border-radius: 12px;
    }

    .section-container h1,
    .content-container h1 {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
    }

    .section-container h2,
    .content-container h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .section-container h3,
    .content-container h3 {
        font-size: 1.125rem;
    }

    .section-container p,
    .content-container p {
        font-size: 1rem;
    }

    .markdown-content table {
        font-size: 0.9rem;
    }

    .markdown-content th,
    .markdown-content td {
        padding: 0.75rem 1rem;
    }

    .markdown-content hr {
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .content-container {
        margin: 1.5rem auto;
    }

    .section-container {
        padding: 2rem;
    }

    .section-container h1,
    .content-container h1 {
        font-size: 1.625rem;
    }

    .section-container h2,
    .content-container h2 {
        font-size: 1.375rem;
    }

    .section-container h3,
    .content-container h3 {
        font-size: 1.0625rem;
    }

    .markdown-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .markdown-content th,
    .markdown-content td {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }

    .markdown-content hr {
        margin: 1.5rem 0;
    }
}

/* Flexbox layout for pages with TOC */
.page-with-toc {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Main content area - takes remaining space on the left */
.page-with-toc .main-content {
    flex: 1;
    min-width: 0;
}

/* TOC container - sticky sidebar on the right */
.toc-container {
    flex: 0 0 280px;
    position: sticky;
    top: var(--toc-top-offset);
    max-height: calc(100vh - var(--toc-top-offset) - 2rem);
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    order: 1;
    /* Place TOC on the right */
}

.toc-container nav {
    font-size: 0.9rem;
}

/* TOC headings - same size as normal text */
.toc-container h1,
.toc-container h2,
.toc-container h3,
.toc-container h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

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

.toc-container li {
    margin-bottom: 0.5rem;
}

.toc-container li ul {
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(102, 126, 234, 0.3);
}

.toc-container a {
    color: #555;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0.5rem;
    margin: 0 -0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    border-bottom: none !important;
    font-size: 0.9rem;
}

.toc-container li li a {
    font-size: 0.85rem;
}

.toc-container li li li a {
    font-size: 0.8rem;
}

.toc-container a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.toc-container a.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
}

/* Responsive: stack TOC above content on smaller screens */
@media (max-width: 1200px) {
    .page-with-toc {
        flex-direction: column;
    }

    .toc-container {
        position: static;
        flex: none;
        width: 100%;
        max-height: none;
        order: -1;
        /* Move TOC above content on mobile */
    }
}

/* Legacy .toc class support */
body:has(.toc) .content-container {
    margin-right: calc(280px + 2rem + 2rem);
    /* TOC width (280px) + TOC right position (2rem) + gap (2rem) */
    margin-left: auto;
}

@media (max-width: 1200px) {
    .toc {
        position: static;
        width: 100%;
        max-width: 800px;
        max-height: none;
        margin: 2rem auto;
        padding: 1.5rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    body:has(.toc) .content-container {
        margin-right: auto;
    }
}

/* Responsive styles for section-container */
@media (max-width: 768px) {
    .section-container {
        padding: 2rem;
    }
}
