body {
    font-family: 'Inter', sans-serif;
    color: #111;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

:root {
    --brand-blue: #7ac0e4;
}

.page-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    backdrop-filter: saturate(160%) blur(8px);
}

.brand-home-link {
    padding: 0;
    border-radius: 0;
    transition: opacity 0.2s ease;
}

.brand-home-link:hover {
    opacity: 0.9;
}

.brand-logo {
    height: 34px !important;
    width: auto;
    display: block;
    filter: none;
}

.brand-wordmark {
    letter-spacing: -0.6px;
}

.page-content {
    flex: 1;
    padding: 5rem 1rem;
}

.document-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.03);
}

.document-title {
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.25rem;
    color: #6c757d;
    font-weight: 500;
}

.document-body h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.document-body h3 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.document-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.2rem;
}

.document-body ul, .document-body ol {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}

.document-body li {
    margin-bottom: 0.5rem;
}

/* Custom HR */
.document-body hr {
    margin: 2.5rem 0;
    border: 0;
    height: 1px;
    background: rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .document-container {
        padding: 2rem;
        border-radius: 16px;
    }
    .document-title {
        font-size: 2rem;
    }
    .page-content {
        padding: 3rem 1rem;
    }

    .brand-logo {
        height: 30px !important;
    }

    .brand-wordmark {
        font-size: 1.45rem !important;
    }
}

/* Footer Styles (match login footer design) */
.footer-link {
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--brand-blue) !important;
    transform: translateX(4px);
}

.social-icon-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background-color: #e9ecef;
}

.social-icon-link svg {
    width: 22px;
    height: 22px;
}

.social-icon-link img,
.social-icon-link svg {
    transition: opacity 0.2s;
}

.social-icon-link:hover img,
.social-icon-link:hover svg {
    opacity: 1 !important;
    color: var(--brand-blue);
}

.social-bg-brand {
    background-color: #6f42c1 !important;
}

.social-bg-brand:hover {
    background-color: #59339d !important;
}

.social-bg-brand img {
    width: 24px !important;
    height: 24px !important;
    filter: brightness(0) invert(1);
    opacity: 1 !important;
}

.social-bg-dark {
    background-color: #111 !important;
}

.social-bg-dark:hover {
    background-color: #333 !important;
}

.social-bg-dark svg {
    color: #fff !important;
    opacity: 1 !important;
}
