/* Terms of Use Page Styles */

/* Override any default fonts with Inter */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

/* Ensure header doesn't interfere with content */
.header {
    position: relative;
    z-index: 10;
}

/* Custom header section styles - ensure it doesn't overlap */
.terms-header-section {
    padding: 3rem 0;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.terms-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    color: #3f3f3f;
}

.terms-last-updated {
    font-size: 1.1rem;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
    color: #3f3f3f;
    margin: 0;
}

.brand {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.text_secondary {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Main content spacing - add much more margin to clear the header */
main {
    margin-top: 8rem;
    position: relative;
    z-index: 1;
}

main .section {
    padding-top: 4rem;
    position: relative;
    z-index: 2;
}

/* Terms content styles - completely clean */
.terms-content {
    padding-top: 3rem;
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

/* Terms content styles */
.terms-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.terms-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.terms-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.terms-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.terms-note {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-top: 2rem;
    font-family: 'Inter', sans-serif;
}

.loading-message {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

.alert {
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}