.legal-container {
    margin: 160px 15vw 100px; /* Space for navbar */
    background: #000;
    color: #fff;
}

.legal-header {
    margin-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-left: 15vw;
    margin-right: 15vw;
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
}

.legal-wrapper {
    max-width: 1000px; /* Wide but readable */
    margin: auto;
}

.legal-section {
    position: relative;
    margin-bottom: 100px;
    padding-left: 60px; /* Space for the number indicator */
}

/* The neon number indicator */
.section-indicator {
    position: absolute;
    left: 0;
    top: 5px;
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 900;
}

.legal-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* --- FIXED HEADINGS LOGIC --- */

/* Target headings inside the legal section wrapper */
.legal-section h2,
.legal-section h3 {
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-family: var(--font-heading);
    display: block; /* Ensures they sit on their own line */
}

/* Specific color for H2 (The Sections) */
.legal-section h2 {
    color: var(--primary-green) !important; /* Force the brand green */
    font-size: 1.8rem;
}

/* Specific color for H3 (The Sub-sections) */
.legal-section h3 {
    color: #fff !important;
    font-size: 1.3rem;
}

/* Industrial Divider line */
.legal-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, var(--primary-green), transparent);
    margin: 80px 0;
    opacity: 0.3;
}

/* Strong formatting for important terms */
.legal-text strong {
    color: var(--volt-yellow);
    font-weight: 700;
}
