﻿.legal-page {
    margin-top: 40px;
    padding-bottom: 100px;
}

.legal-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: var(--radius-xl);
    padding: 50px;
    background: var(--bg-section-darker);
}

.legal-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.2;
}

.legal-date {
    font-size: 14px;
    color: var(--text-muted);
}

.legal-content {
    border-radius: var(--radius-xl);
    padding: 50px;
    background: var(--bg-section-darker);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.legal-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
}

.legal-section-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 20px;
}

.legal-list li {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-link {
    color: var(--color-green);
    transition: color var(--transition) ease;
}

.legal-link:hover {
    color: var(--text-white);
}

.legal-link--button {
    display: inline;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
    text-align: inherit;
}

@media (max-width: 1440px) { .legal-title { font-size: 44px; } }
@media (max-width: 1200px) { .legal-title { font-size: 38px; } }
@media (max-width: 1024px) { .legal-header, .legal-content { padding: 40px; } }

@media (max-width: 768px) {
    .legal-header, .legal-content { padding: 28px; }
    .legal-title { font-size: 30px; }
    .legal-section-title { font-size: 18px; }
    .legal-section-text, .legal-list li { font-size: 15px; }
}

@media (max-width: 480px) {
    .legal-header, .legal-content { padding: 20px; }
    .legal-title { font-size: 24px; }
    .legal-section-title { font-size: 16px; }
}

@media (max-width: 375px) { .legal-title { font-size: 22px; } }
@media (max-width: 320px) { .legal-title { font-size: 20px; } .legal-header, .legal-content { padding: 16px; } }