body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #0d0f12;
    color: #e5e7eb;
    margin: 0;
    line-height: 1.6;
}

a {
    color: #38bdf8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    font-family: "JetBrains Mono", Menlo, Consolas, monospace;
    color: #93c5fd;
}

pre {
    background: #1a1d22;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #2a2f36;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #0b0d10;
    border-right: 1px solid #1f2933;
    padding: 20px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar h2 {
    font-size: 1rem;
    margin: 0 0 12px 0;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar .nav-section {
    margin-bottom: 20px;
}

.sidebar .nav-item {
    display: block;
    padding: 4px 0;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.sidebar .nav-item.active {
    color: #38bdf8;
    font-weight: 600;
}

.sidebar .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px 0;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.sidebar .section-header span {
    pointer-events: none;
}

.sidebar .section-arrow {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
    color: #9ca3af;
}

.sidebar .section-arrow.expanded {
    transform: rotate(90deg);
}

.sidebar .section-children {
    margin-left: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
}

.sidebar .section-children.expanded {
    max-height: 1000px;
}

.main {
    flex: 1;
    padding: 32px;
    box-sizing: border-box;
}

.header {
    margin-bottom: 24px;
}

.header h1 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
}

.header p {
    color: #9ca3af;
    margin: 0;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid #1f2933;
    background: #050608;
}

.top-nav-left a {
    margin-right: 16px;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.top-nav-right button {
    background: none;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.top-nav-right button:hover {
    border-color: #38bdf8;
}

.mobile-sidebar {
    display: none;
}

@media (max-width: 900px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        display: none;
    }

    .mobile-sidebar {
        position: fixed;
        top: 48px;
        right: -280px;
        width: 260px;
        height: calc(100vh - 48px);
        background: #0b0d10;
        border-left: 1px solid #1f2933;
        padding: 20px;
        box-sizing: border-box;
        overflow-y: auto;
        transition: right 0.25s ease;
        z-index: 50;
    }

    .mobile-sidebar.open {
        right: 0;
    }

    .main {
        padding: 20px;
    }
}

/* Shared documentation utility classes */

  .callout {
    background: #1a1d22;
    border-left: 4px solid #06b6d4;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 24px 0;
  }

  .divider {
    height: 1px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #10b981);
    opacity: 0.3;
    margin: 40px 0;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
  }

  .card {
    background: #1a1d22;
    border: 1px solid #2a2f36;
    padding: 20px;
    border-radius: 10px;
  }

  .card h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }