html, body { height: auto; overflow: auto; }

#legal-header {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #21262d;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 3px;
    flex-shrink: 0;
    position: relative;
}

#legal-lang {
    position: absolute;
    right: 12px;
    display: flex;
    gap: 4px;
}

#legal-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.legal-page-title {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f0a500;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid #30363d;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-section-title {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f0a500;
    border-bottom: 1px solid #30363d;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #cdd5df;
}

.legal-section a {
    color: #58a6ff;
    text-decoration: none;
}
.legal-section a:hover { text-decoration: underline; }

.legal-entity {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e6edf3;
    margin-bottom: 6px;
}

.legal-note {
    font-size: 0.75rem;
    color: #8b949e;
    border-left: 2px solid #30363d;
    padding-left: 10px;
    margin-top: 8px;
}

.legal-divider {
    border: none;
    border-top: 1px solid #21262d;
    margin: 36px 0;
}
