body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.content-box {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    min-height: 500px;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.title-section {
    flex: 1;
}

h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #1e293b;
}

.subtitle {
    font-size: 1.1rem;
    margin: 0;
    color: #64748b;
}

.main-content {
    font-size: 1rem;
}

.contact-info {
    margin-top: auto;
    color: #64748b;
    font-size: 1.1rem;
    text-align: center;
}

.contact-info p {
    margin: 0.3rem 0;
}

.contact-info h2 {
    font-size: 1.2rem;
    margin: 0.5rem 0 0.2rem 0;
    color: #1e293b;
}

.contact-info a {
    color: #3b82f6;
    text-decoration: none;
}

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

footer {
    background-color: #ffffff;
    color: #64748b;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin: 2rem;
    padding: 1rem;
    font-size: 0.8rem;
}

footer p {
    margin: 0 0 0.5rem 0;
}

footer nav a {
    color: #64748b;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer nav a:hover {
    text-decoration: underline;
    color: #3b82f6;
}

.two-column {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.left-column, .right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.right-column {
    justify-content: flex-start;
    align-items: flex-end;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    .content-box {
        padding: 1.5rem;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    h1 {
        font-size: 2rem;
    }

    .contact-info {
        font-size: 1rem;
    }

    footer {
        font-size: 0.75rem;
    }

    .two-column {
        flex-direction: column;
        align-items: flex-start;
    }

    .right-column {
        align-items: flex-start;
        margin-top: 1rem;
    }
}

/* Styles for terms and privacy pages */
.max-w-screen-xl {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

.reset {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.reset h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.reset h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.reset h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.reset p, .reset ul, .reset ol {
    margin-bottom: 1rem;
}

.reset ul, .reset ol {
    padding-left: 2rem;
}

.reset li {
    margin-bottom: 0.5rem;
}

.reset a {
    color: #3b82f6;
    text-decoration: none;
}

.reset a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .max-w-screen-xl {
        padding: 1rem;
    }

    .reset {
        padding: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .reset h1 {
        font-size: 2rem;
    }

    .reset h2 {
        font-size: 1.75rem;
    }

    .reset h3 {
        font-size: 1.25rem;
    }
}
