:root {
    --primary: #005bd3;
    --primary-dark: #00439e;
    --bg-light: #f4f6f8;
    --text-main: #202223;
    --text-muted: #6d7175;
    --white: #ffffff;
    --border: #dfe3e8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--bg-light);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; padding: 15px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header-logo { height: 40px; width: auto; }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: color 0.2s; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.btn-primary { background: var(--primary); color: var(--white) !important; padding: 10px 20px; border-radius: 6px; font-weight: 600; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--primary-dark); }

/* Hero Section */
.hero-section { background: var(--white); padding: 80px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.hero-section h1 { font-size: 3rem; margin-bottom: 20px; color: #111; }
.hero-section p { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 30px; }

/* Content Sections */
.section { padding: 80px 0; }
.bg-white { background: var(--white); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.card h3 { margin-top: 0; color: var(--primary); }

/* Legal & Document Pages */
.doc-header { background: var(--white); padding: 60px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.doc-content { background: var(--white); padding: 60px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin: 40px auto; max-width: 900px; }
.doc-content h2 { margin-top: 40px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }

/* Footer */
.site-footer { background: #111; color: #fff; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-nav h4 { color: #fff; margin-bottom: 20px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav a { color: #aaa; text-decoration: none; line-height: 2; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; color: #777; font-size: 0.9rem; }

/* =========================================
   Mobile Hamburger Menu (Appended)
   ========================================= */

/* Hide toggle checkbox and label on desktop */
.nav-toggle { 
    display: none; 
}
.nav-toggle-label { 
    display: none; 
    cursor: pointer; 
    padding: 10px; 
}

/* Create the hamburger lines */
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--text-main);
    height: 2px;
    width: 25px;
    position: relative;
    border-radius: 2px;
    transition: all 0.2s ease-in-out;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}
.nav-toggle-label span::before { top: -8px; }
.nav-toggle-label span::after { bottom: -8px; }

/* Mobile View Adjustments */
@media (max-width: 900px) {
    .nav-toggle-label { 
        display: block; 
    }

    .site-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; /* Drops exactly below the header */
        left: 0;
        width: 100%;
        background: var(--white);
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        gap: 20px;
    }

    /* Show menu when checkbox is checked */
    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    /* Optional: Animate the hamburger into an 'X' when open */
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Make the button look nice on mobile */
    .site-nav .btn-primary {
        display: inline-block;
        margin: 10px auto 0;
        width: 80%;
        max-width: 300px;
    }
}