:root {
    --nj-primary: #283593;
    --nj-secondary: #E8EAF6;
    --nj-accent: #1A237E;
    --nj-text: #1A237E;
    --nj-text-light: #5C6BC0;
    --nj-bg: #F5F5FF;
    --nj-card-bg: #ffffff;
    --nj-border: #9FA8DA;
}

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

body {
    font-family: 'Roboto Slab', Georgia, serif;
    color: var(--nj-text);
    background-color: var(--nj-bg);
    line-height: 1.7;
}

.nj-pill-nav {
    background: var(--nj-accent);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nj-pill-nav a {
    color: #C5CAE9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    transition: all 0.2s;
}

.nj-pill-nav a:hover,
.nj-pill-nav a.nj-active {
    background: var(--nj-primary);
    color: #fff;
}

.nj-header {
    background: linear-gradient(135deg, var(--nj-primary), var(--nj-accent));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.nj-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.nj-header p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    color: #C5CAE9;
}

.nj-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .nj-layout { grid-template-columns: 1fr; }
}

.nj-content {
    min-width: 0;
}

.nj-sidebar {
    position: sticky;
    top: 1rem;
    align-self: start;
}

.nj-sidebar-box {
    background: var(--nj-card-bg);
    border: 2px solid var(--nj-border);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.nj-sidebar-box h3 {
    color: var(--nj-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--nj-secondary);
    padding-bottom: 0.4rem;
}

.nj-sidebar-box ul {
    list-style: none;
}

.nj-sidebar-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--nj-secondary);
    font-size: 0.9rem;
}

.nj-sidebar-box li:last-child { border-bottom: none; }
.nj-sidebar-box strong { color: var(--nj-primary); }

.nj-card {
    background-color: var(--nj-card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(26,35,126,0.06);
    margin-bottom: 2rem;
    border-left: 4px solid var(--nj-primary);
}

.nj-card h2 {
    color: var(--nj-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.nj-card h3 {
    color: var(--nj-accent);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.nj-card p {
    color: var(--nj-text);
    margin-bottom: 0.75rem;
}

.nj-card ul {
    list-style: none;
    margin: 0;
}

.nj-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.nj-card ul li::before {
    content: '\2713';
    color: var(--nj-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.nj-statute {
    background-color: var(--nj-secondary);
    border: 1px solid var(--nj-border);
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-style: italic;
    color: var(--nj-accent);
    font-size: 0.92rem;
}

h2 { color: var(--nj-primary); margin-bottom: 1rem; font-size: 1.5rem; }
p { margin-bottom: 0.75rem; }
a { color: var(--nj-primary); }
ul { margin-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: var(--nj-card-bg); border-radius: 8px; overflow: hidden; }
th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--nj-border); }
th { background: var(--nj-secondary); font-weight: 700; color: var(--nj-accent); }

.nj-footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--nj-accent);
    color: #9FA8DA;
    font-size: 0.9rem;
}

.nj-footer a { color: #C5CAE9; }
