:root {
    --orange-glow: #F97316;
    --orange-text: #EA580C;
    --orange-light-bg: #FFF7ED;

    --slate-900: #0F172A;
    --slate-700: #334155;
    --slate-500: #64748B;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;

    --page-bg: #F8FAFC;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--page-bg);
    color: var(--slate-700);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar */
.sidebar {
    width: 300px;
    flex-shrink: 0;
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--slate-200);
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--slate-900);
    text-decoration: none;
}

.logo .highlight {
    color: var(--orange-text);
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--slate-500);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.nav-link:hover {
    background-color: var(--orange-light-bg);
    color: var(--orange-text);
    font-weight: 600;
}

/* Main content */
.main-content {
    flex-grow: 1;
    padding: 4rem 5rem;
}

.main-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--slate-500);
    margin-bottom: 4rem;
}

.main-content section {
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.main-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--slate-200);
}

.main-content p {
    margin-bottom: 1rem;
}

.main-content ul {
    list-style: none;
    padding-left: 0.5rem;
}

.main-content li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.main-content li::before {
    content: '✓';
    font-weight: 600;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--orange-glow);
}

.main-content a {
    color: var(--orange-text);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.main-content a:hover {
    border-bottom-color: var(--orange-text);
}

/* Responsive */
@media (max-width: 1024px) {
    .page-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-right: none;
        border-bottom: 1px solid var(--slate-200);
    }

    .sidebar-nav {
        display: none;
    }

    .main-content {
        padding: 2.5rem 1.5rem;
    }

    .main-content h1 {
        font-size: 2.5rem;
    }

    .main-content h2 {
        font-size: 1.5rem;
    }
}
