/* Base Variables & Reset */
:root {
    --primary-color: #0f172a;   /* Dark slate */
    --sidebar-bg: #f8fafc;      /* Very light gray */
    --text-color: #334155;      /* Slate text */
    --bg-color: #ffffff;
    --accent: #2563eb;          /* Professional blue */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid #e2e8f0;
    padding: 2.5rem 1.5rem;
    position: fixed;
    height: 100vh;
}

.brand h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.menu a:hover {
    background-color: #e2e8f0;
    color: var(--accent);
}

/* Main Content Styles */
.content {
    margin-left: 250px; /* Matches sidebar width */
    padding: 5rem 4rem;
    max-width: 900px;
}

section {
    margin-bottom: 4rem;
    scroll-margin-top: 2rem; /* Adds breathing room when clicking menu links */
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sidebar-bg);
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Specific Footer/Company Info Tweaks */
.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.legal-links {
    margin-top: 2rem;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.legal-links a {
    margin-right: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 1.5rem;
    }
    .menu {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .brand h2 {
        margin-bottom: 1rem;
    }
    .content {
        margin-left: 0;
        padding: 2rem 1.5rem;
    }
}
