/* Legal Pages Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #fafafa;
    color: #1a1a1a;
    line-height: 1.6;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 24px;
    min-height: 100vh;
    background: white;
    box-shadow: 0 0 0 1px #e5e5e5;
}

.legal-nav {
    margin-bottom: 32px;
}

.back-link {
    color: #D32F2F;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: #B71C1C;
}

.legal-header {
    margin-bottom: 48px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 32px;
}

.legal-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.last-updated {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.legal-content {
    margin-bottom: 48px;
}

.intro {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
    text-align: center;
    padding: 24px;
    background-color: #f8f8f8;
    border-radius: 12px;
    border-left: 4px solid #D32F2F;
    line-height: 1.7;
}

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    margin-top: 24px;
}

section p {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 16px;
}

section ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

section li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 16px;
}

code {
    background-color: #f0f0f0;
    color: #D32F2F;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 14px;
}

a {
    color: #D32F2F;
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: #B71C1C;
}

/* Special styles for disclaimer page */
.warning-banner {
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    color: white;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 32px;
    text-align: center;
}

.warning-banner h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.warning-banner p {
    color: white;
    opacity: 0.95;
    font-size: 16px;
}

.safety-list,
.temperature-list,
.warning-list,
.equipment-list {
    background-color: #f8f8f8;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #D32F2F;
    margin-bottom: 24px;
}

.temperature-list li {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    background-color: white;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    font-weight: 500;
}

.disclaimer-footer {
    background-color: #f8f8f8;
    padding: 32px;
    border-radius: 12px;
    border: 2px solid #D32F2F;
    text-align: center;
    margin-top: 32px;
}

.disclaimer-footer p {
    color: #1a1a1a;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 500;
}

.cook-safely {
    color: #D32F2F !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* Special styles for support page */
.contact-list,
.support-info-list {
    background-color: #f8f8f8;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #D32F2F;
    margin-bottom: 24px;
}

.contact-list li strong,
.support-info-list li {
    color: #1a1a1a;
    font-weight: 500;
}

.support-footer {
    background-color: #f8f8f8;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin-top: 32px;
}

.support-footer p {
    color: #666;
    font-style: italic;
    font-size: 16px;
}

.legal-footer {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 24px 16px;
        box-shadow: none;
    }
    
    .legal-header h1 {
        font-size: 28px;
    }
    
    section h2 {
        font-size: 20px;
    }
    
    .warning-banner {
        padding: 24px;
    }
    
    .warning-banner h2 {
        font-size: 20px;
    }
    
    .intro {
        padding: 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 24px;
    }
    
    .intro {
        padding: 16px;
    }
    
    .safety-list,
    .temperature-list,
    .warning-list,
    .equipment-list,
    .contact-list,
    .support-info-list {
        padding: 16px;
    }
    
    .warning-banner,
    .disclaimer-footer,
    .support-footer {
        padding: 20px;
    }
}