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

:root {
    --primary-blue: #1DA1F2;
    --primary-darker: #0d8ed8;
    --white: #FFFFFF;
    --text-dark: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #6c6c7c;
    --border-light: #e5e5e5;
    --bg-light: #f8f9fa;
    --bg-white: #FFFFFF;
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.12);
}

html {
    background: #f8f9fa;
    min-height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.legal-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}

.back-link {
    display: inline-block;
    color: var(--primary-blue);
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 14px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary-darker);
}

.header-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.legal-meta {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

.summary-box {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-subtle);
}

.summary-box p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-secondary);
}

.summary-box p:not(:last-child) {
    margin-bottom: 12px;
}

.summary-box strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-content {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content section:last-child {
    margin-bottom: 0;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-top: 10px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-content li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-content a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: var(--primary-darker);
    text-decoration: underline;
}

.disclaimer {
    background: var(--bg-light);
    padding: 16px;
    border-left: 4px solid var(--primary-blue);
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

.disclaimer strong {
    color: var(--text-dark);
    font-weight: 600;
}

address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.7;
}

address strong {
    color: var(--text-dark);
}

.legal-footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.legal-footer p {
    margin-bottom: 8px;
}

.legal-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-footer a:hover {
    color: var(--primary-darker);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header-content h1 {
        font-size: 28px;
    }
    
    .legal-content {
        padding: 24px 20px;
    }
    
    .legal-content h2 {
        font-size: 20px;
    }
    
    .legal-content h3 {
        font-size: 16px;
    }
    
    .summary-box {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 24px;
    }
    
    .legal-content {
        padding: 20px 16px;
    }
    
    .legal-content ul {
        margin-left: 20px;
    }
}