:root {
    --legal-bg: #0c0c0c;
    --legal-border: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --brand-teal: #00bfa5;
    --brand-teal-dim: rgba(0, 191, 165, 0.1);
    --font-head: 'Lexend', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.legal-body {
    background-color: var(--legal-bg) !important;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.75;
    margin: 0;
    padding: 0;
}

/* Force Teal on all links in legal-body */
.legal-body a {
    color: var(--brand-teal) !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-body a:hover {
    opacity: 0.7;
}

.legal-navbar {
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 12, 12, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--legal-border);
}

.navbar-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.legal-logo {
    height: 44px;
    width: auto;
    display: block;
}

.logo-text {
    color: var(--brand-teal) !important;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.back-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 40px 160px;
}

.legal-header {
    margin-bottom: 80px;
    text-align: left;
}

.legal-header h1 {
    font-size: 56px;
    font-family: var(--font-head);
    margin: 0 0 20px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Content Hierarchy */
.section-item {
    margin-bottom: 100px;
}

.section-title {
    font-family: var(--font-head);
    font-size: 28px;
    margin: 0 0 32px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-content {
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 400;
    max-width: 720px;
}

.section-content p {
    margin: 0 0 1.8em;
}

.section-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.section-content ul,
.section-content ol {
    padding-left: 24px;
    margin-bottom: 1.8em;
    border-left: 1px solid var(--legal-border);
}

.section-content a {
    border-bottom: 1px solid var(--brand-teal-dim);
}

.section-content a:hover {
    background: var(--brand-teal-dim);
    border-bottom-color: var(--brand-teal);
}

.shimmer-block {
    height: 24px;
    background: #0a0a0a;
    border-radius: 2px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.shimmer-block::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}