/**
 * Text & surface tokens for background #F5F6F8 (cool gray).
 * Loaded after compressed.css — does not target dark showcase/footer blocks.
 */

:root {
    --page-bg: #f5f6f8;
    --text-primary: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --link: #2563eb;
    --link-hover: #1d4ed8;
}

html,
body {
    background-color: var(--page-bg) !important;
}

#rt-page-surround {
    background-color: var(--page-bg);
}

/* ——— Main content (light areas only) ——— */
#rt-main-surround,
#rt-drawer {
    color: var(--text-body);
}

#rt-main-surround h1,
#rt-main-surround h2,
#rt-main-surround h3,
#rt-main-surround h4,
#rt-main-surround .module-title .title,
#rt-main-surround .home-section-title,
#rt-main-surround .home-subsection-title,
#rt-main-surround .download-h2-subtitle {
    color: var(--text-primary) !important;
}

#rt-main-surround p,
#rt-main-surround li,
#rt-main-surround .home-text-justify,
#rt-main-surround .home-intro-text,
#rt-main-surround .home-content-wrapper {
    color: var(--text-body) !important;
}

#rt-main-surround ul.home-features-list li,
#rt-main-surround ul.home-steps-list li {
    color: var(--text-body) !important;
}

#rt-main-surround strong,
#rt-main-surround b {
    color: var(--text-primary) !important;
    font-weight: 600;
}

#rt-main-surround a:not(.download-btn):not(.readon):not(.readon2):not(.social-button):not([class*="rt-social"]) {
    color: var(--link);
}

#rt-main-surround a:not(.download-btn):not(.readon):not(.readon2):not(.social-button):not([class*="rt-social"]):hover {
    color: var(--link-hover);
}

/* ——— Header / nav (light header) ——— */
#rt-header-surround #rt-header.rt-overlay-light,
#rt-header-surround .gf-menu a.item {
    color: var(--text-primary);
}

#rt-header-surround .gf-menu a.item:hover {
    color: var(--link);
}

#rt-header-surround .language-selector {
    color: var(--text-body);
}

/* Contact form partial (home + contact pages) */
.contact-form-partial {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
