/**
 * Legal Pages Stylesheet
 * Used by: /legal/purchase-terms, /legal/subscription-terms
 */

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

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

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

.back-link {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

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

.back-link svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.updated {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 32px;
}

.section {
    margin-bottom: 28px;
}

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

h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

p, li {
    color: #4b5563;
    margin-bottom: 8px;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 6px;
}

/* Yellow highlight box - warnings/important notes */
.highlight {
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}

.highlight p {
    margin: 0;
    color: #92400e;
}

/* Contact info box */
.contact-box {
    background: #f3f4f6;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.contact-box p {
    margin-bottom: 4px;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box a {
    color: #7c3aed;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }
    .card {
        padding: 24px 20px;
    }
}
