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

:root {
    --bg-primary: #08080e;
    --bg-secondary: #12121a;
    --text-primary: #f0f0f5;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-primary: #4a90c2;
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(8, 8, 14, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.legal-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.05rem;
}

.legal-nav__logo img {
    height: 32px;
    width: auto;
}

.legal-nav__back {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.legal-nav__back:hover {
    color: var(--text-primary);
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.legal-page {
    flex: 1;
    padding: 48px 0 80px;
}

.legal-page__title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #f5a623, #e8852a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page__date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.legal-page__content h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

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

.legal-page__content h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 20px 0 8px;
}

.legal-page__content p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 14px;
}

.legal-page__content ul {
    padding-left: 24px;
    margin: 8px 0 16px;
}

.legal-page__content li {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.legal-page__content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.legal-page__content a:hover {
    text-decoration: underline;
}

.legal-page__content strong {
    color: rgba(255, 255, 255, 0.8);
}

.legal-page__content .info-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
}

.legal-page__content .info-block p {
    margin: 4px 0;
    font-size: 0.82rem;
}

.legal-footer {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.legal-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-bottom: 12px;
}

.legal-footer__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.legal-footer__links a:hover {
    color: var(--text-primary);
}

.legal-footer__copy {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
}

.legal-footer__company {
    margin-top: 12px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .legal-page__title {
        font-size: 1.4rem;
    }

    .container {
        padding: 0 18px;
    }
}