/* 1. Page Base */
body.legal-page {
    background-color: #fafafa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* REMOVED: .top-nav, .nav-content, .nav-logo-img, and .nav-links a 
   These are now handled entirely by style.css to ensure 100% alignment.
*/

/* 2. Layout Container */
.simple-container {
    max-width: 1000px; /* Aligns with index.html's container width */
    margin: 0 auto;
    padding: 160px 5% 100px; /* High top padding to clear the fixed nav */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3. Contact Hero Section */
.contact-hero {
    text-align: center;
    margin-bottom: 60px;
}

.detail-label {
    display: inline-block;
    color: #5170ff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* 4. Contact Cards (Bento Style) */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.contact-card {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 30px 40px 50px;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    background: #ffffff;
    border-color: #e5e5e7;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1d1d1f;
}

.contact-card p {
    color: #86868b;
    line-height: 1.5;
    margin-bottom: 25px;
}

.contact-link {
    color: #5170ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}

.contact-link:hover {
    opacity: 0.7;
}

/* 5. Clean Footer */
.simple-footer {
    width: 100%;
    padding: 60px 0 40px; 
    background: transparent;
}

.footer-container {
    max-width: 1000px; 
    width: 90%;          
    margin: 0 auto;    
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

.copyright {
    color: #86868b;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: #86868b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #5170ff;
}

/* 6. Mobile Responsive */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .contact-methods {
        grid-template-columns: 1fr;
    }
}