
        /* CSS Variables for consistent theming */
        :root {
            --ndl-tos-color-bg: #f9fafb;
            --ndl-tos-color-text-primary: #1f2937;
            --ndl-tos-color-text-secondary: #4b5563;
            --ndl-tos-color-text-heading: #111827;
            --ndl-tos-color-accent: #4f46e5;
            --ndl-tos-color-accent-hover: #3730a3;
            --ndl-tos-color-accent-light: #eef2ff;
            --ndl-tos-color-border: #e5e7eb;
            --ndl-tos-color-white: #ffffff;
            --ndl-tos-font-sans: 'Inter', sans-serif;
        }

        /* General Styles scoped to the wrapper class */
        .ndl-tos-wrapper {
            font-family: var(--ndl-tos-font-sans);
            background-color: var(--ndl-tos-color-bg);
            color: var(--ndl-tos-color-text-primary);
            margin: 0;
            line-height: 1.6;
        }
        
        .ndl-tos-wrapper html {
            scroll-behavior: smooth;
        }

        /* Container and Layout */
        .ndl-tos-container {
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            padding: 2rem 1rem; /* Adjusted for better mobile padding */
        }

        .ndl-tos-layout-wrapper {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        /* Header */
        .ndl-tos-page-header {
            text-align: center;
            margin-bottom: 2rem; /* Adjusted for mobile */
        }

        .ndl-tos-page-header h1 {
            font-size: 2rem; /* Adjusted for mobile */
            font-weight: 700;
            color: var(--ndl-tos-color-text-heading);
            letter-spacing: -0.025em;
            margin: 0;
        }

        .ndl-tos-page-header .ndl-tos-subtitle {
            margin-top: 1rem;
            font-size: 1.125rem;
            color: var(--ndl-tos-color-text-secondary);
        }

        .ndl-tos-page-header .ndl-tos-last-updated {
            margin-top: 0.5rem;
            font-size: 0.875rem;
            color: #6b7280; /* gray-500 */
        }

        /* Sidebar Navigation */
        .ndl-tos-sidebar {
            align-self: flex-start;
            width: 100%; /* Full width on mobile */
        }

        .ndl-tos-sidebar-nav {
            background-color: var(--ndl-tos-color-white);
            padding: 1rem;
            border-radius: 0.5rem;
            border: 1px solid var(--ndl-tos-color-border);
        }

        .ndl-tos-sidebar-nav h3 {
            font-weight: 600;
            color: var(--ndl-tos-color-text-heading);
            margin: 0 0 0.75rem 0;
            font-size: 1rem;
        }

        .ndl-tos-sidebar-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .ndl-tos-sidebar-nav ul li + li {
            margin-top: 0.5rem;
        }

        .ndl-tos-sidebar-nav a {
            display: block;
            padding: 0.5rem;
            border-radius: 0.375rem;
            color: var(--ndl-tos-color-text-secondary);
            text-decoration: none;
            font-size: 0.875rem;
            transition: background-color 0.2s, color 0.2s;
        }

        .ndl-tos-sidebar-nav a:hover {
            background-color: #f3f4f6; /* gray-100 */
        }

        .ndl-tos-sidebar-nav .ndl-tos-active-link {
            background-color: var(--ndl-tos-color-accent-light);
            color: var(--ndl-tos-color-accent);
            font-weight: 600;
        }

        /* Main Content Article */
        .ndl-tos-content-article {
            background-color: var(--ndl-tos-color-white);
            padding: 1.5rem; /* Adjusted for mobile */
            border-radius: 0.5rem;
            border: 1px solid var(--ndl-tos-color-border);
        }

        .ndl-tos-content-section h2 {
            font-size: 1.75rem; /* Adjusted for mobile */
            font-weight: 700;
            margin-bottom: 30px;
            padding-top: 4.5rem; /* For anchor link offset */
            margin-top: 0; /* Negative margin to compensate */
            color: var(--ndl-tos-color-text-heading);
        }
        
        .ndl-tos-content-section h3 {
            font-size: 1.125rem; /* Adjusted for mobile */
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 0.75rem;
            color: var(--ndl-tos-color-text-heading);
        }

        .ndl-tos-content-section p, .ndl-tos-content-section ul {
            margin-bottom: 1rem;
            line-height: 1.75;
            color: var(--ndl-tos-color-text-secondary);
        }

        .ndl-tos-content-section ul {
            list-style-position: inside;
            padding-left: 1rem;
        }

        .ndl-tos-content-section li::marker {
            color: var(--ndl-tos-color-accent);
        }

        .ndl-tos-content-section a {
            color: var(--ndl-tos-color-accent);
            text-decoration: underline;
            font-weight: 500;
        }

        .ndl-tos-content-section a:hover {
            color: var(--ndl-tos-color-accent-hover);
        }
        
        hr.ndl-tos-section-divider {
            margin: 3rem 0;
            border: 0;
            border-top: 1px solid var(--ndl-tos-color-border);
        }

        /* Responsive Styles for Tablets and larger devices */
        @media (min-width: 768px) {
            .ndl-tos-container {
                padding-top: 5rem;
                padding-bottom: 5rem;
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
            .ndl-tos-page-header {
                margin-bottom: 4rem;
            }
            .ndl-tos-page-header h1 {
                font-size: 3rem;
            }
            .ndl-tos-layout-wrapper {
                flex-direction: row;
                gap: 2rem;
            }
            .ndl-tos-sidebar {
                width: 25%;
                position: sticky;
                top: 2rem;
            }
            .ndl-tos-main-content {
                width: 75%;
            }
            .ndl-tos-content-article {
                padding: 3rem;
            }
            .ndl-tos-content-section h2 {
                font-size: 1.875rem;
            }
            .ndl-tos-content-section h3 {
                font-size: 1.25rem;
            }
        }

        /* Responsive Styles for Desktops */
        @media (min-width: 1024px) {
            .ndl-tos-layout-wrapper {
                gap: 3rem;
            }
            .ndl-tos-sidebar {
                width: 20%;
            }
            .ndl-tos-main-content {
                width: 80%;
            }
        }
    