/* ═══════════════════════════════════════
   LEGAL HERO
   ═══════════════════════════════════════ */
.legal-hero {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--midnight);
}
.legal-hero .section-title {
    margin-bottom: var(--space-sm);
}
.legal-hero p {
    font-size: 1rem;
    color: var(--soft-blue);
    max-width: 500px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   LEGAL CONTENT
   ═══════════════════════════════════════ */
.legal-content {
    max-width: 800px;
    padding-bottom: var(--space-xl);
}

.legal-content h2 {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: var(--golden);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--light-blue);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-sm);
}

.legal-content ul li {
    font-size: 0.95rem;
    color: var(--light-blue);
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--golden);
}

.legal-content strong {
    color: var(--off-white);
    font-weight: 700;
}

.legal-content a {
    color: var(--golden);
    transition: opacity 0.3s;
}
.legal-content a:hover {
    opacity: 0.7;
}

/* ═══════════════════════════════════════
   TABLES (same style as blog articles)
   ═══════════════════════════════════════ */
.legal-content .table-wrapper {
    overflow-x: auto;
    margin: var(--space-md) 0;
    -webkit-overflow-scrolling: touch;
}
.legal-content table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.legal-content thead {
    background: rgba(27, 73, 101, 0.15);
}
.legal-content th {
    text-align: left;
    font-weight: 700;
    color: var(--golden);
    padding: 0.75rem 1rem;
    border-bottom: 2px solid rgba(249, 220, 92, 0.2);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.legal-content td {
    padding: 0.75rem 1rem;
    color: var(--light-blue);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
}
.legal-content tbody tr:hover {
    background: rgba(27, 73, 101, 0.08);
}
.legal-content code {
    font-size: 0.82rem;
    color: var(--off-white);
    background: rgba(27, 73, 101, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* ═══════════════════════════════════════
   COOKIE TOGGLES
   ═══════════════════════════════════════ */
.cc-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}
.cc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cc-slider {
    position: absolute;
    inset: 0;
    background: rgba(124, 152, 179, 0.2);
    border-radius: 24px;
    transition: background 0.3s;
}
.cc-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--soft-blue, #7C98B3);
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
}
.cc-toggle input:checked + .cc-slider {
    background: rgba(249, 220, 92, 0.2);
}
.cc-toggle input:checked + .cc-slider::before {
    transform: translateX(20px);
    background: var(--golden, #F9DC5C);
}
