/* Cofibit legal and public informational pages.
   Light cafe-SaaS identity replaces the inherited dark navy appearance. */
html[data-bs-theme="light"] { color-scheme: light; }
html[data-bs-theme="light"] body {
    background: #F7F4F9 !important;
    background-image: none !important;
    color: #352842 !important;
    font-family: "Cairo", "Segoe UI", sans-serif;
    min-height: 100vh;
}
html[data-bs-theme="light"] body::before,
html[data-bs-theme="light"] body::after {
    background-image: none !important;
    box-shadow: none !important;
}
html[data-bs-theme="light"] :is(.container,.container-fluid) { max-width: 1240px; }
html[data-bs-theme="light"] .site-page-shell {
    max-width: 1050px !important;
    background: #FFF !important;
    background-image: none !important;
    border: 1px solid #E5DAEC !important;
    border-radius: 25px !important;
    box-shadow: 0 16px 45px rgba(66,47,90,.065) !important;
    padding: clamp(20px,4vw,46px) !important;
    color: #352842 !important;
    backdrop-filter: none !important;
}
html[data-bs-theme="light"] :is(.site-page-shell::before,.site-page-shell::after,
.site-page-content::before,.site-page-content::after) {
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}
html[data-bs-theme="light"] :is(.site-page-title,.site-page-shell h1,.site-page-shell h2,.site-page-shell h3,
.site-page-shell h4,.site-page-shell strong) {
    color: #422F5A !important;
    text-shadow: none !important;
}
html[data-bs-theme="light"] :is(.site-page-lead,.site-page-shell p,.site-page-shell li,.site-page-shell td,
.site-page-shell span,.site-page-shell .text-secondary,.site-page-shell .text-muted) {
    color: #66576F !important;
    text-shadow: none !important;
}
html[data-bs-theme="light"] .site-page-shell :is(.site-page-content,.highlight-box,.terms-card,
.feature-card,.pricing-card,.card,.bg-dark,.bg-black,.bg-white,.accordion-item) {
    background: #FCFAFD !important;
    background-image: none !important;
    border: 1px solid #EBE3F0 !important;
    box-shadow: 0 6px 20px rgba(66,47,90,.04) !important;
    color: #352842 !important;
    border-radius: 17px !important;
    backdrop-filter: none !important;
}
html[data-bs-theme="light"] .site-page-shell .highlight-box {
    border-inline-start: 4px solid #9D7DAE !important;
    padding: clamp(16px,2vw,25px);
}
html[data-bs-theme="light"] .site-page-shell :is(.btn-primary,.btn-outline-primary,.btn-main) {
    border-color: #422F5A !important;
    color: #422F5A !important;
    background: #FFF !important;
    box-shadow: none !important;
    transition: background .25s ease,color .25s ease !important;
}
html[data-bs-theme="light"] .site-page-shell :is(.btn-primary,.btn-outline-primary,.btn-main):hover {
    background: #422F5A !important;
    color: #FFF !important;
}
html[data-bs-theme="light"] .site-page-shell a:not(.btn) { color: #705184; }
html[data-bs-theme="light"] .site-page-shell a:not(.btn):hover { color: #422F5A; }
html[data-bs-theme="light"] .site-page-shell :is(.text-white,.text-light) {
    color: #422F5A !important;
}
html[data-bs-theme="light"] .site-page-shell :is(.badge,.updated-badge) {
    background: #F0EBF3 !important;
    color: #422F5A !important;
    border: 1px solid #D8CEE0 !important;
}
html[data-bs-theme="light"] .site-page-shell :is(.feature-icon,.terms-card i,.fas,.far) {
    color: #8B69A3;
}
html[data-bs-theme="light"] .site-page-shell .text-center.small,
html[data-bs-theme="light"] .site-page-shell footer {
    color: #66576F !important;
}
html[data-bs-theme="light"] .site-page-shell :is(input,textarea,select) {
    background: #FFF !important;
    color: #352842 !important;
    border: 1px solid #D8CEE0 !important;
}
html[data-bs-theme="light"] .site-page-shell :is(input,textarea,select):focus {
    border-color: #9D7DAE !important;
    box-shadow: 0 0 0 .2rem rgba(157,125,174,.15) !important;
}
@media (max-width: 575.98px) {
    html[data-bs-theme="light"] .site-page-shell { padding: 19px !important; border-radius: 17px !important; }
    html[data-bs-theme="light"] .site-page-shell h1 { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    html[data-bs-theme="light"] .site-page-shell * { animation: none !important; transition: none !important; }
}

/* October 2026: definitive, high-contrast Cofibit appearance for ALL public
   information/legal pages. Loaded last, after page-specific legacy CSS. */
html[data-bs-theme="light"] body {
    background: #f7f4f9 !important;
    background-image: none !important;
    color: #392b48 !important;
    min-height: 100vh;
}
html[data-bs-theme="light"] body > main.container {
    max-width: 1210px !important;
    padding-top: clamp(24px, 4vw, 52px) !important;
    padding-bottom: clamp(24px, 4vw, 52px) !important;
}
html[data-bs-theme="light"] body .site-page-shell {
    width: 100%;
    max-width: 1130px !important;
    border: 1px solid #e6dcec !important;
    border-radius: 25px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: 0 22px 65px rgba(66,46,89,.09) !important;
    color: #392b48 !important;
}
html[data-bs-theme="light"] body .site-page-shell .site-page-title {
    color: #422e59 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #422e59 !important;
    text-shadow: none !important;
    line-height: 1.4;
    font-weight: 800;
}
html[data-bs-theme="light"] body .site-page-shell .site-page-lead {
    color: #74657d !important;
    -webkit-text-fill-color: currentColor !important;
    line-height: 1.85;
    margin-bottom: 22px;
}
html[data-bs-theme="light"] body .site-page-shell .site-page-content {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 4px 0 8px !important;
    color: #392b48 !important;
}
html[data-bs-theme="light"] body .site-page-shell .site-page-content :is(h2,h3,h4,h5,strong) {
    color: #422e59 !important;
    text-shadow: none !important;
}
html[data-bs-theme="light"] body .site-page-shell .site-page-content :is(p,li,td,.accordion-body) {
    color: #665773 !important;
    line-height: 1.95 !important;
}
html[data-bs-theme="light"] body .site-page-shell .section-title,
html[data-bs-theme="light"] body .site-page-shell .site-page-content > h2 {
    color: #422e59 !important;
    border: 0 !important;
    border-inline-start: 3px solid #9874ab !important;
    padding-inline-start: 12px !important;
    padding-inline-end: 0 !important;
    margin-block: 30px 14px;
}
/* The six blue feature blocks and related legacy tiles become neutral,
   with depth derived only from brand-purple shadows. */
html[data-bs-theme="light"] body .site-page-shell :is(
    .feature-box,.site-info-card,.feature-card,.feature-icon,.terms-card,
    .highlight-box,.policy-section,.package-card,.pricing-card,
    .plan-discount,.accordion-item,.accordion-button,.accordion-body,
    .contact-form,.contact-success-content,.refund-card,.section-label
) {
    background: #fbf9fc !important;
    background-image: none !important;
    border-color: #e9dfed !important;
    color: #473650 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
}
html[data-bs-theme="light"] body .site-page-shell .feature-box,
html[data-bs-theme="light"] body .site-page-shell .site-info-card,
html[data-bs-theme="light"] body .site-page-shell .terms-card,
html[data-bs-theme="light"] body .site-page-shell .feature-card {
    border: 1px solid #e9dfed !important;
    border-radius: 15px !important;
    padding: clamp(14px,2vw,22px) !important;
}
html[data-bs-theme="light"] body .site-page-shell :is(.feature-box,.site-info-card,.feature-card,.terms-card,.package-card,.pricing-card) {
    transition: transform .38s cubic-bezier(.22,.75,.24,1),
                border-color .34s ease, box-shadow .38s ease,
                background-color .34s ease !important;
    transform: translate3d(0,0,0) !important;
}
html[data-bs-theme="light"] body .site-page-shell :is(.feature-box,.site-info-card,.feature-card,.terms-card,.package-card,.pricing-card):hover {
    background: #fff !important;
    border-color: #d3c1df !important;
    box-shadow: 0 11px 27px rgba(66,46,89,.085) !important;
    transform: translate3d(0,-2px,0) !important;
}
html[data-bs-theme="light"] body .site-page-shell :is(
    .feature-box i,.site-info-card i,.feature-icon i,.terms-card i,
    .section-title i,.accordion-button i,.contact-success-icon
) {
    color: #816298 !important;
    -webkit-text-fill-color: #816298 !important;
}
html[data-bs-theme="light"] body .site-page-shell .feature-box i {
    display: inline-flex;
    margin-inline-end: 9px;
    margin-inline-start: 0;
    vertical-align: middle;
}
html[data-bs-theme="light"] body .site-page-shell .site-page-content :is(.accordion-item,.accordion-button) {
    background: #fff !important;
    color: #422e59 !important;
}
html[data-bs-theme="light"] body .site-page-shell .accordion-item {
    border: 1px solid #e8deeb !important;
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 12px;
}
html[data-bs-theme="light"] body .site-page-shell .accordion-button:not(.collapsed) {
    background: #f5f0f8 !important;
    box-shadow: none !important;
    color: #422e59 !important;
}
html[data-bs-theme="light"] body .site-page-shell .accordion-button::after { filter: none; }
html[data-bs-theme="light"] body .site-page-shell :is(.btn,.contact-form button) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px !important;
    border: 1px solid #8d71a4 !important;
    background: #fff !important;
    background-image: none !important;
    color: #422e59 !important;
    box-shadow: none !important;
    transform: translate3d(0,0,0) !important;
    transition: background-color .34s ease,border-color .34s ease,
                color .34s ease,transform .38s cubic-bezier(.22,.75,.24,1),
                box-shadow .38s ease !important;
}
html[data-bs-theme="light"] body .site-page-shell :is(.btn,.contact-form button):hover,
html[data-bs-theme="light"] body .site-page-shell :is(.btn,.contact-form button):focus-visible {
    display: inline-flex !important;
    background: #422e59 !important;
    color: #fff !important;
    border-color: #422e59 !important;
    transform: translate3d(0,-2px,0) !important;
    box-shadow: 0 9px 22px rgba(66,46,89,.14) !important;
}
html[data-bs-theme="light"] body .site-page-shell :is(input,textarea,select) {
    background: #fff !important;
    color: #392b48 !important;
    border-color: #d8cce1 !important;
}
html[data-bs-theme="light"] body .site-page-shell :is(input,textarea,select):focus {
    border-color: #9d7dae !important;
    box-shadow: 0 0 0 .2rem rgba(157,125,174,.14) !important;
}
/* Legacy global footer.css hard-coded a navy block; neutralize it here.
   Handles pages with the footer both inside and after <main>. */
html[data-bs-theme="light"] body footer:not(.site-footer) {
    background: transparent !important;
    background-image: none !important;
    color: #796783 !important;
    border-top: 1px solid #e9dfed !important;
    box-shadow: none !important;
    margin: 24px auto 0 !important;
    padding: 24px 12px !important;
    text-align: center !important;
    min-height: 0;
}
html[data-bs-theme="light"] body footer:not(.site-footer) :is(p,span,a,.small) {
    color: #796783 !important;
    -webkit-text-fill-color: currentColor !important;
}
html[data-bs-theme="light"] body footer:not(.site-footer) a {
    display: inline-flex !important;
    transform: none !important;
    transition: color .3s ease !important;
}
html[data-bs-theme="light"] body footer:not(.site-footer) a:hover {
    transform: none !important;
    color: #422e59 !important;
}
@media (max-width: 767.98px) {
    html[data-bs-theme="light"] body .site-page-shell {
        padding: 20px 15px !important;
        border-radius: 18px !important;
    }
    html[data-bs-theme="light"] body .site-page-shell .site-page-title {
        font-size: clamp(1.55rem,6vw,2.1rem) !important;
    }
    html[data-bs-theme="light"] body .site-page-shell :is(.feature-box,.feature-card) {
        padding: 15px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    html[data-bs-theme="light"] body .site-page-shell *,
    html[data-bs-theme="light"] body .site-page-shell *::before,
    html[data-bs-theme="light"] body .site-page-shell *::after {
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Dedicated overrides for About feature-box cards: no indigo/blue fallback. */
html[data-bs-theme="light"] body main.container .site-page-shell .site-page-content .feature-box {
    background: #fbf9fc !important;
    background-color: #fbf9fc !important;
    background-image: none !important;
    border: 1px solid #e9dfed !important;
    box-shadow: none !important;
    color: #493754 !important;
    border-radius: 15px !important;
    transition: background-color .34s ease,border-color .34s ease,
                box-shadow .38s ease,transform .38s cubic-bezier(.22,.75,.24,1) !important;
}
html[data-bs-theme="light"] body main.container .site-page-shell .site-page-content .feature-box:hover {
    background: #fff !important;
    border-color: #d3c1df !important;
    box-shadow: 0 12px 27px rgba(66,46,89,.09) !important;
}
html[data-bs-theme="light"] body main.container .site-page-shell .site-page-content .feature-box i {
    color: #816298 !important;
}
