:root {
    --bg: #04040a;
    --surface: #0f0f17;
    --card: #161622;
    --primary: #7c3aed;
    --text: #f9fafb;
    --muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
    color: #fff;
}

/* Navigation */
.pol-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(4, 4, 10, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    color: #fff;
}

.logo-q {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Container */
.pol-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.pol-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pol-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.pol-header h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

.pol-sub {
    color: var(--muted);
    font-size: 0.95rem;
}

.pol-jurisdiction {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
}

/* TOC */
.pol-toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 4rem;
}

.pol-toc strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pol-toc ol {
    margin-left: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}

.pol-toc li a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.pol-toc li a:hover {
    color: var(--primary);
}

/* Sections */
section {
    margin-bottom: 3.5rem;
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

section p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

section li {
    margin-bottom: 0.5rem;
}

.pol-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.pol-table th,
.pol-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.pol-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.contact-block {
    background: rgba(124, 58, 237, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 4px 12px 12px 4px;
    margin: 1.5rem 0;
}

.contact-block p {
    margin-bottom: 0.5rem;
}

.contact-block a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
.pol-footer {
    padding: 4rem 2rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pol-footer-links {
    display: flex;
    gap: 2rem;
}

.pol-footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.pol-footer p {
    color: var(--muted);
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .pol-toc ol {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .pol-header h1 {
        font-size: 2rem;
    }
}