/* Legal & static pages — extends style.css */

.legal-container {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 24px;
    background: var(--color-bg-page);
}

.legal-card {
    width: 100%;
    max-width: 720px;
    padding: 40px 36px;
}

/* Content typography */
.legal-content {
    text-align: left;
    margin-top: 8px;
}

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

.legal-content h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--label);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.legal-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--label);
    margin-bottom: 8px;
    margin-top: 16px;
}

.legal-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--label-secondary);
    margin-bottom: 10px;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.legal-content ul li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--label-secondary);
    margin-bottom: 6px;
}

.legal-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-500);
    opacity: 0.6;
}

.legal-content ul li strong {
    color: var(--label);
    font-weight: 500;
}

.legal-content a {
    color: var(--accent-500);
    text-decoration: none;
    transition: color 0.15s;
}

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

.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 16px 20px;
    margin-top: 8px;
}

/* Contact / Feedback card grid */
.contact-card-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.contact-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 87, 245, 0.1);
    border-radius: 10px;
    color: var(--accent-500);
    margin-bottom: 14px;
}

.contact-item h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--label);
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--label-tertiary);
    margin-bottom: 10px;
}

.contact-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-500);
    text-decoration: none;
    transition: color 0.15s;
}

.contact-link:hover {
    color: var(--accent-400);
    text-decoration: underline;
}

.contact-detail {
    font-size: 13px;
    color: var(--label-tertiary);
}

/* Footer */
.legal-footer {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.legal-footer p {
    font-size: 12px;
    color: var(--label-tertiary);
    margin-bottom: 2px;
}

/* Responsive */
@media (max-width: 480px) {
    .legal-container {
        padding: 24px 12px;
    }
    .legal-card {
        padding: 28px 20px;
    }
}
