/* Shared styles for legal pages (Privacy Policy and Terms of Service) */

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #eff6ff, #ffffff, rgba(0, 119, 182, 0.1));
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 1rem 1.5rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
}

.logo-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0077B6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-container img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

header h1 {
    margin-left: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0077B6;
}

nav {
    display: none;
}

@media (min-width: 900px) {
    header {
        padding: 1rem 3rem;
    }
    nav {
        display: flex;
        gap: 2rem;
    }
}

nav a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #0077B6;
}

main {
    flex: 1;
    padding: 4rem 1rem;
    background: linear-gradient(to bottom right, #eff6ff, #ffffff, rgba(0, 119, 182, 0.1));
}

@media (min-width: 900px) {
    main {
        padding: 4rem 3rem;
    }
}

.container {
    max-width: 768px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 119, 182, 0.1), 0 8px 10px -6px rgba(0, 119, 182, 0.1);
    border: 1px solid rgba(0, 119, 182, 0.1);
}

@media (min-width: 900px) {
    .container {
        padding: 3.5rem;
    }
}

.title-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.title-icon {
    width: 32px;
    height: 32px;
    color: #0077B6;
}

.title-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0077B6;
    letter-spacing: -0.025em;
}

@media (min-width: 900px) {
    .title-section h2 {
        font-size: 2.5rem;
    }
}

.last-updated {
    display: inline-block;
    background: rgba(0, 119, 182, 0.1);
    color: #0077B6;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 2.5rem;
}

/* Content styles - works for both #privacy-content and #terms-content */
#privacy-content,
#terms-content {
    font-size: 1.08rem;
    line-height: 1.75;
}

#privacy-content h1,
#privacy-content h2,
#privacy-content h3,
#terms-content h1,
#terms-content h2,
#terms-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: #0077B6;
}

#privacy-content h1:first-child,
#privacy-content h2:first-child,
#privacy-content h3:first-child,
#terms-content h1:first-child,
#terms-content h2:first-child,
#terms-content h3:first-child {
    margin-top: 0;
}

#privacy-content h1,
#terms-content h1 {
    font-size: 1.5rem;
}

@media (min-width: 900px) {
    #privacy-content h1,
    #terms-content h1 {
        font-size: 1.875rem;
    }
}

#privacy-content h2,
#terms-content h2 {
    font-size: 1.25rem;
    font-weight: bold;
}

@media (min-width: 900px) {
    #privacy-content h2,
    #terms-content h2 {
        font-size: 1.5rem;
    }
}

#privacy-content h3,
#terms-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

@media (min-width: 900px) {
    #privacy-content h3,
    #terms-content h3 {
        font-size: 1.25rem;
    }
}

#privacy-content p,
#terms-content p {
    margin-bottom: 1.2rem;
    font-size: 1.12rem;
    line-height: 1.75;
}

#privacy-content ul,
#privacy-content ol,
#terms-content ul,
#terms-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

#privacy-content li,
#terms-content li {
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
    line-height: 1.75;
}

#privacy-content hr,
#terms-content hr {
    margin: 2.5rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

#privacy-content blockquote,
#terms-content blockquote {
    margin: 2rem 0;
    padding: 1.2rem 2rem;
    border-left: 4px solid #0077B6;
    background: rgba(0, 119, 182, 0.05);
    border-radius: 0.75rem;
    color: rgba(0, 119, 182, 0.9);
    font-weight: 500;
}

#privacy-content blockquote p,
#terms-content blockquote p {
    margin-bottom: 0;
}

#privacy-content a,
#terms-content a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

#privacy-content a:hover,
#terms-content a:hover {
    color: #1d4ed8;
}

#privacy-content strong,
#terms-content strong {
    color: #0077B6;
    font-weight: 600;
}

#privacy-content em,
#terms-content em {
    font-style: italic;
}

footer {
    background: #0077B6;
    color: white;
    padding: 2.5rem 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 900px) {
    footer {
        padding: 2.5rem 3rem;
    }
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

