        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
            min-height: 100vh;
            color: #e5e7eb;
            -webkit-font-smoothing: antialiased;
        }

        /* Nav */
        .topnav {
            position: sticky; top: 0; z-index: 100;
            background: rgba(15, 12, 41, 0.85);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            padding: 0 1.5rem;
            display: flex; align-items: center; justify-content: space-between;
            height: 60px;
        }
        .topnav-logo {
            display: flex; align-items: center; gap: 0.625rem;
            text-decoration: none;
        }
        .topnav-logo-icon {
            width: 34px; height: 34px;
            background: linear-gradient(135deg, #7c3aed, #a855f7);
            border-radius: 9px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1rem; font-weight: 800; color: white;
            box-shadow: 0 4px 12px rgba(124,58,237,0.4);
        }
        .topnav-logo-text { font-size: 1rem; font-weight: 700; color: white; }
        .topnav-links { display: flex; align-items: center; gap: 0.25rem; }
        .topnav-links a {
            padding: 0.4rem 0.875rem;
            border-radius: 8px;
            font-size: 0.8125rem; font-weight: 500;
            color: rgba(255,255,255,0.6);
            text-decoration: none;
            transition: background 0.2s, color 0.2s;
        }
        .topnav-links a:hover { background: rgba(255,255,255,0.08); color: white; }
        .topnav-links a.active {
            background: rgba(139,92,246,0.2);
            color: #c4b5fd;
            border: 1px solid rgba(139,92,246,0.3);
        }

        /* Hero */
        .hero {
            padding: 4rem 1.5rem 3rem;
            text-align: center;
            position: relative; overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute; top: -80px; left: 50%;
            transform: translateX(-50%);
            width: 700px; height: 500px;
            background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
            pointer-events: none;
        }
        .hero-tag {
            display: inline-flex; align-items: center; gap: 0.4rem;
            padding: 0.35rem 0.875rem;
            border-radius: 100px;
            background: rgba(139,92,246,0.15);
            border: 1px solid rgba(139,92,246,0.3);
            color: #c4b5fd; font-size: 0.8rem; font-weight: 600;
            margin-bottom: 1.25rem;
        }
        .hero h1 {
            font-size: clamp(1.75rem, 4vw, 2.75rem);
            font-weight: 800; color: white;
            line-height: 1.2; letter-spacing: -0.03em;
            margin-bottom: 0.75rem;
        }
        .hero h1 span {
            background: linear-gradient(135deg, #a855f7, #ec4899);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-sub {
            font-size: 0.95rem; color: rgba(255,255,255,0.55);
            max-width: 480px; margin: 0 auto;
        }
        .hero-meta {
            display: inline-flex; align-items: center; gap: 0.4rem;
            margin-top: 1rem;
            font-size: 0.8rem; color: rgba(255,255,255,0.35);
        }

        /* Layout */
        .page-layout {
            max-width: 900px; margin: 0 auto;
            padding: 0 1.5rem 6rem;
            display: grid;
            grid-template-columns: 220px 1fr;
            gap: 2rem;
            align-items: start;
        }
        @media (max-width: 768px) {
            .page-layout { grid-template-columns: 1fr; }
            .toc { display: none; }
        }

        /* Table of Contents */
        .toc {
            position: sticky; top: 80px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 16px;
            padding: 1.25rem;
            backdrop-filter: blur(12px);
        }
        .toc-title {
            font-size: 0.7rem; font-weight: 700;
            color: rgba(255,255,255,0.4);
            text-transform: uppercase; letter-spacing: 0.08em;
            margin-bottom: 0.875rem;
        }
        .toc a {
            display: flex; align-items: center; gap: 0.5rem;
            padding: 0.45rem 0.625rem;
            border-radius: 8px;
            font-size: 0.8rem; color: rgba(255,255,255,0.5);
            text-decoration: none;
            transition: background 0.2s, color 0.2s;
            margin-bottom: 0.125rem;
        }
        .toc a:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.85); }
        .toc a .toc-num {
            width: 18px; height: 18px;
            border-radius: 5px;
            background: rgba(139,92,246,0.15);
            display: flex; align-items: center; justify-content: center;
            font-size: 0.65rem; font-weight: 700; color: #a78bfa;
            flex-shrink: 0;
        }

        /* Content Card */
        .content-card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.09);
            border-radius: 20px;
            padding: 2.5rem;
            backdrop-filter: blur(12px);
        }
        @media (max-width: 600px) { .content-card { padding: 1.5rem; } }

        .section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
        .section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

        .section-header {
            display: flex; align-items: center; gap: 0.75rem;
            margin-bottom: 1rem;
        }
        .section-num {
            width: 30px; height: 30px;
            border-radius: 8px;
            background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(168,85,247,0.3));
            border: 1px solid rgba(139,92,246,0.35);
            display: flex; align-items: center; justify-content: center;
            font-size: 0.75rem; font-weight: 800; color: #c4b5fd;
            flex-shrink: 0;
        }
        .section h2 {
            font-size: 1.05rem; font-weight: 700; color: white;
        }
        .section p, .section li {
            font-size: 0.9rem; color: rgba(255,255,255,0.6);
            line-height: 1.75;
        }
        .section p { margin-bottom: 0.75rem; }
        .section p:last-child { margin-bottom: 0; }
        .section ul, .section ol {
            padding-left: 0; list-style: none;
            display: flex; flex-direction: column; gap: 0.5rem;
        }
        .section li {
            display: flex; align-items: flex-start; gap: 0.625rem;
            padding: 0.5rem 0.75rem;
            background: rgba(255,255,255,0.03);
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .section li::before {
            content: '';
            width: 6px; height: 6px;
            border-radius: 50%;
            background: #7c3aed;
            flex-shrink: 0; margin-top: 0.55rem;
        }
        .section a { color: #a78bfa; text-decoration: none; }
        .section a:hover { text-decoration: underline; }
        strong { color: rgba(255,255,255,0.85); font-weight: 600; }
        code {
            background: rgba(139,92,246,0.15);
            border: 1px solid rgba(139,92,246,0.2);
            padding: 0.1rem 0.4rem;
            border-radius: 5px;
            font-size: 0.82rem; color: #c4b5fd;
            font-family: 'JetBrains Mono', monospace;
        }

        /* Contact card */
        .contact-card {
            background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(168,85,247,0.1));
            border: 1px solid rgba(139,92,246,0.25);
            border-radius: 14px;
            padding: 1.25rem 1.5rem;
            display: flex; flex-direction: column; gap: 0.4rem;
        }
        .contact-card span { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
        .contact-card a { color: #a78bfa; font-weight: 600; text-decoration: none; }
        .contact-card a:hover { text-decoration: underline; }

        /* Footer */
        .page-footer {
            border-top: 1px solid rgba(255,255,255,0.06);
            padding: 2rem 1.5rem;
            text-align: center;
            font-size: 0.8125rem;
            color: rgba(255,255,255,0.3);
        }
        .page-footer a { color: rgba(255,255,255,0.45); text-decoration: none; margin: 0 0.5rem; }
        .page-footer a:hover { color: #a78bfa; }
