* {
    color: #6c757d;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #212529;
}
body {
    background-color: #ffffff !important;
}
.brand-logo {
    height: 100%;
    display: flex;
    align-items: center;
}
.brand-logo img {
    width: 240px;
    max-width: 60vw;
    max-height: 100%;
}
.website-body #kt_app_header,
.website-body #kt_app_wrapper {
    left: 0 !important;
    margin-left: 0 !important;
}
.features-section {
    background: #f5f8fa;
}
.content-item:nth-child(even) {
    flex-direction: row-reverse;
}
.content-item img {
    max-width: 100%;
}
.banner-section .banner-item img {
    width: 100%;
}
.feature-item .image img {
    border: 2px solid #dddddd;
    border-radius: 30px;
    padding: 10px;
}
.content-item {
    margin-top: 70px;
}
.app-footer {
    padding: 20px 0;
}
@media (max-width: 991px) {
    .feature-item {
        text-align: center;
    }
    .feature-item .image {
        margin-bottom: 20px;
    }
    .content-item-image {
        margin: 30px;
    }
}
@media (max-width: 767.98px) {
    .feature-item {
        text-align: center;
        margin-bottom: 50px;
    }
    .feature-item img {
        margin-bottom: 15px;
    }
    .feature-item .content {
        padding: 0 45px;
    }
    .content-item:not(:last-child) {
        margin-bottom: 50px;
    }
    .content-item {
        flex-direction: row-reverse !important;
    }
}

/* =====================================================================
   Reset Core Inc. public website (homepage, header, footer, legal pages)
   ===================================================================== */
:root {
    --rc-black: #0b0b0d;
    --rc-ink: #15161a;
    --rc-ink-2: #1d1f25;
    --rc-gold: #c9a24a;
    --rc-gold-light: #e8c97a;
    --rc-gold-dark: #9c7a2c;
    --rc-silver: #c4c8d0;
    --rc-text: #3d414c;
    --rc-muted: #6b7080;
    --rc-bg-alt: #f7f6f2;
    --rc-border: #e6e3dc;
    --rc-radius: 14px;
}

/* The legacy "* { color }" rule above greys every element; new sections reset it. */
.site-header *, .site-footer *, .site-home *, .page-hero *, .policy-layout * {
    color: inherit;
}
.text-gold { color: var(--rc-gold) !important; }
.text-silver { color: var(--rc-silver) !important; }
html { scroll-behavior: smooth; }
#how-it-works, #faq, .policy-body h2[id] { scroll-margin-top: 100px; }

/* ---------- Buttons ---------- */
.btn.btn-site-gold {
    background: linear-gradient(135deg, var(--rc-gold-light), var(--rc-gold) 55%, var(--rc-gold-dark));
    color: #111 !important;
    border: 0;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(201, 162, 74, .28);
    align-items: center;
}
.btn.btn-site-gold:hover, .btn.btn-site-gold:focus { filter: brightness(1.06); transform: translateY(-1px); }
.btn.btn-site-outline {
    border: 1px solid var(--rc-ink);
    color: var(--rc-ink) !important;
    background: transparent;
    font-weight: 600;
    align-items: center;
}
.btn.btn-site-outline:hover, .btn.btn-site-outline.active { background: var(--rc-ink); color: #fff !important; }
.btn.btn-site-outline-light {
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff !important;
    background: transparent;
    font-weight: 600;
}
.btn.btn-site-outline-light:hover { border-color: var(--rc-gold); color: var(--rc-gold-light) !important; }
.btn.btn-site-gold, .btn.btn-site-outline, .btn.btn-site-outline-light { transition: all .2s ease; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header {
    background: rgba(255, 255, 255, .96) !important;
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--rc-border);
    color: var(--rc-ink);
}
.site-header .brand-logo img { width: 210px; max-width: 46vw; height: auto; }
.site-nav { display: flex; align-items: center; }
.site-nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav-links a {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    color: var(--rc-text);
}
.site-nav-links a:hover { color: var(--rc-ink); background: var(--rc-bg-alt); }
.site-nav-links a.active { color: var(--rc-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--rc-gold); border-radius: 0; }
.site-nav-toggle {
    width: 42px; height: 42px;
    border: 1px solid var(--rc-border);
    border-radius: 10px;
    background: #fff;
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.site-nav-toggle span { display: block; width: 18px; height: 2px; background: var(--rc-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav-actions { display: grid; gap: 10px; margin-top: 12px; }

@media (max-width: 991.98px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--rc-border);
        box-shadow: 0 18px 30px rgba(0, 0, 0, .08);
        padding: 12px 16px 18px;
        flex-direction: column;
        align-items: stretch;
        z-index: 105;
    }
    .site-nav.open { display: flex; }
    .site-nav-links { flex-direction: column; gap: 2px; }
    .site-nav-links a { padding: 12px 10px; font-size: 16px; }
    .site-nav-links a.active { box-shadow: inset 3px 0 0 var(--rc-gold); }
}

/* ---------- Homepage ---------- */
.site-home { color: var(--rc-text); }
.home-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px 500px at 85% -10%, rgba(201, 162, 74, .18), transparent 60%),
                linear-gradient(160deg, var(--rc-black) 0%, var(--rc-ink) 60%, #23252c 100%);
    color: #e9eaee;
    padding: 96px 0 104px;
}
.home-hero-shape { position: absolute; pointer-events: none; transform: skewX(-38deg); }
.home-hero-shape-1 { width: 220px; height: 140%; right: 4%; top: -20%; background: linear-gradient(180deg, rgba(232, 201, 122, .14), rgba(201, 162, 74, 0)); }
.home-hero-shape-2 { width: 90px; height: 140%; right: 22%; top: -20%; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); }
.home-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(201, 162, 74, .45);
    border-radius: 999px;
    color: var(--rc-gold-light);
    font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
    margin-bottom: 22px;
}
.home-hero-title {
    color: #fff !important;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.home-hero-title .text-gold {
    background: linear-gradient(135deg, var(--rc-gold-light), var(--rc-gold));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.home-hero-lead { font-size: 1.2rem; line-height: 1.7; color: #c3c6cf; max-width: 620px; margin-bottom: 32px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.home-hero-actions .btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.home-hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #d7d9de; font-size: 15px; }
.home-hero-points i { color: var(--rc-gold); margin-right: 8px; }
.home-hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
    color: #d7d9de;
}
.home-hero-card-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.home-hero-card-head img { border-radius: 10px; }
.home-hero-card-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); font-size: 15px; }
.home-hero-card-row:last-child { border-bottom: 0; }
.home-hero-card-row .dot { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.home-hero-card-row.done .dot { background: var(--rc-gold); color: #111; }
.home-hero-card-row.done .ms-auto { color: var(--rc-gold-light); }
.home-hero-card-row.current .dot { border: 2px solid var(--rc-gold); box-shadow: 0 0 0 4px rgba(201, 162, 74, .18); }
.home-hero-card-row.current .ms-auto { color: #fff; }

.home-trust { background: #fff; border-bottom: 1px solid var(--rc-border); padding: 34px 0; }
.home-trust-icon { font-size: 22px; color: var(--rc-gold) !important; margin-bottom: 8px; }
.home-trust-big { font-weight: 700; font-size: 1.15rem; color: var(--rc-ink); }
.home-trust-small { font-size: 14px; color: var(--rc-muted); }

.home-section { padding: 90px 0; background: #fff; }
.home-section-alt { background: var(--rc-bg-alt); }
.home-section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.home-section-head h2, .home-notice h2, .home-cta h2 { color: var(--rc-ink) !important; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.home-section-head p { color: var(--rc-muted); font-size: 1.1rem; margin: 0; }
.home-kicker { display: inline-block; color: var(--rc-gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }

.home-step, .home-feature {
    height: 100%;
    background: #fff;
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius);
    padding: 30px 28px;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-step:hover, .home-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 17, 20, .08); border-color: rgba(201, 162, 74, .5); }
.home-step-num { position: absolute; top: 22px; right: 24px; font-size: 2.4rem; font-weight: 800; color: rgba(201, 162, 74, .22); line-height: 1; }
.home-step-icon { font-size: 22px; color: var(--rc-gold-dark) !important; margin-bottom: 18px; }
.home-step h3, .home-feature h3 { color: var(--rc-ink) !important; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.home-step p, .home-feature p { color: var(--rc-muted); font-size: 15.5px; line-height: 1.65; margin: 0; }
.home-feature-icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--rc-ink), #2b2d34);
    color: var(--rc-gold-light) !important;
    font-size: 20px; margin-bottom: 18px;
}
.home-feature-icon i { color: var(--rc-gold-light) !important; }

.home-notice {
    border: 1px solid rgba(201, 162, 74, .45);
    background: linear-gradient(135deg, #fffdf7, #fbf6e9);
    border-radius: 20px;
    padding: 44px;
}
.home-notice-list { padding-left: 1.2rem; margin-bottom: 18px; }
.home-notice-list li { margin-bottom: 12px; font-size: 16px; line-height: 1.65; color: var(--rc-text); }
.home-notice-list strong { color: var(--rc-ink); }
.home-link { color: var(--rc-gold-dark) !important; font-weight: 600; }
.home-link:hover { color: var(--rc-ink) !important; }

.home-faq { max-width: 860px; }
.home-faq .accordion-item { border: 1px solid var(--rc-border); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.home-faq .accordion-button { font-weight: 600; font-size: 1.05rem; color: var(--rc-ink); background: #fff; padding: 20px 24px; box-shadow: none; }
.home-faq .accordion-button:not(.collapsed) { color: var(--rc-ink); background: #fff; box-shadow: inset 3px 0 0 var(--rc-gold); }
.home-faq .accordion-body { color: var(--rc-text); font-size: 15.5px; line-height: 1.7; padding: 0 24px 22px; }
.home-faq .accordion-body a { color: var(--rc-gold-dark); font-weight: 600; }

.home-cta { background: linear-gradient(160deg, var(--rc-black), var(--rc-ink)); padding: 80px 0; color: #c3c6cf; }
.home-cta h2 { color: #fff !important; }
.home-cta p { font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Inner page hero + legal pages ---------- */
.page-hero {
    background: radial-gradient(800px 300px at 90% -20%, rgba(201, 162, 74, .2), transparent 60%),
                linear-gradient(160deg, var(--rc-black), var(--rc-ink));
    color: #c3c6cf;
    padding: 54px 0 48px;
}
.page-hero h1 { color: #fff !important; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -.01em; margin: 10px 0 14px; }
.page-hero-lead { font-size: 1.1rem; line-height: 1.65; max-width: 780px; margin-bottom: 18px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 14px; color: var(--rc-silver); }
.page-hero-print { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 13px; }
.page-hero-print:hover { border-color: var(--rc-gold); color: var(--rc-gold-light); }
.page-breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 14px; }
.page-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .35); }
.page-breadcrumb a { color: var(--rc-gold-light) !important; }
.page-breadcrumb li[aria-current] { color: #fff; }

.policy-layout { padding-top: 48px; padding-bottom: 80px; color: var(--rc-text); }
.policy-sidenav { position: sticky; top: 96px; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); padding: 18px; background: #fff; }
.policy-sidenav-home { display: block; font-weight: 700; color: var(--rc-ink) !important; padding: 6px 10px 12px; border-bottom: 1px solid var(--rc-border); margin-bottom: 8px; }
.policy-sidenav-group { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--rc-gold-dark); padding: 12px 10px 4px; }
.policy-sidenav ul { list-style: none; padding: 0; margin: 0; }
.policy-sidenav a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; color: var(--rc-text); }
.policy-sidenav a:hover { background: var(--rc-bg-alt); color: var(--rc-ink); }
.policy-sidenav a.active { background: var(--rc-ink); color: #fff !important; font-weight: 600; }

.policy-toc { border: 1px solid var(--rc-border); border-left: 3px solid var(--rc-gold); border-radius: 10px; padding: 18px 22px; margin-bottom: 32px; background: var(--rc-bg-alt); }
.policy-toc-title { font-weight: 700; color: var(--rc-ink); margin-bottom: 8px; }
.policy-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 32px; }
.policy-toc li { font-size: 14.5px; padding: 3px 0; break-inside: avoid; }
.policy-toc a { color: var(--rc-text); }
.policy-toc a:hover { color: var(--rc-gold-dark); }

.policy-body { font-size: 16.5px; line-height: 1.8; color: var(--rc-text); }
.policy-body h2 { color: var(--rc-ink) !important; font-size: 1.4rem; font-weight: 700; margin: 40px 0 14px; padding-top: 4px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li { color: var(--rc-text); }
.policy-body strong { color: var(--rc-ink); }
.policy-body ul, .policy-body ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.policy-body li { margin-bottom: 6px; }
.policy-body a { color: var(--rc-gold-dark) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(156, 122, 44, .35); }
.policy-body a:hover { color: var(--rc-ink) !important; }
.policy-body code { color: var(--rc-ink); background: var(--rc-bg-alt); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.policy-intro { font-size: 1.12rem; color: var(--rc-ink) !important; }
.policy-callout { border-left: 4px solid var(--rc-gold); background: #fbf6e9; border-radius: 10px; padding: 18px 22px; margin: 22px 0 8px; }
.policy-callout-warning { border-left-color: #c2410c; background: #fff4ec; }
.policy-table { border: 1px solid var(--rc-border); border-radius: 10px; overflow: hidden; margin-bottom: 1.2rem; }
.policy-table th { background: var(--rc-ink); color: #fff !important; font-weight: 600; font-size: 14px; padding: 12px 14px !important; }
.policy-table td { padding: 12px 14px !important; font-size: 15px; vertical-align: top; border-top: 1px solid var(--rc-border); color: var(--rc-text); }
.policy-table tbody tr:nth-child(even) td { background: #fbfaf7; }
.policy-contact { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); padding: 22px; background: var(--rc-bg-alt); }
.policy-contact p { margin: 0 0 4px; font-size: 15.5px; }
.policy-contact-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--rc-ink); color: var(--rc-gold-light); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.policy-contact-icon i { color: var(--rc-gold-light) !important; }
.policy-related { margin-top: 50px; }
.policy-related h2, .legal-group h2 { color: var(--rc-ink) !important; font-size: 1.3rem; font-weight: 700; margin-bottom: 18px; }
.policy-related-card, .legal-card {
    display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
    height: 100%;
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius);
    padding: 22px;
    background: #fff;
    color: var(--rc-ink) !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.policy-related-card:hover, .legal-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 17, 20, .08); border-color: rgba(201, 162, 74, .55); }
.policy-related-arrow { font-size: 14px; font-weight: 600; color: var(--rc-gold-dark) !important; }
.legal-group { margin-bottom: 46px; }
.legal-card h3 { color: var(--rc-ink) !important; font-size: 1.12rem; font-weight: 700; margin: 0; }
.legal-card p { color: var(--rc-muted); font-size: 15px; line-height: 1.6; margin: 0; flex-grow: 1; }

.about-side-card { position: sticky; top: 96px; background: linear-gradient(160deg, var(--rc-black), var(--rc-ink)); border-radius: 20px; padding: 30px; color: #c3c6cf; text-align: center; }
.about-side-card p { color: #c3c6cf; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rc-black); color: #a9adb8; padding: 64px 0 0; }
.site-footer-logo { width: 240px; max-width: 100%; height: auto; }
.site-footer-text { font-size: 15px; line-height: 1.7; color: #a9adb8; max-width: 360px; }
.site-footer-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.site-footer-heading { color: #fff !important; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer-links li { margin-bottom: 10px; }
.site-footer-links a, .site-footer-legal a { color: #a9adb8; font-size: 14.5px; transition: color .15s; }
.site-footer-links a:hover, .site-footer-legal a:hover { color: var(--rc-gold-light); }
.site-footer-bottom {
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 22px 0 26px;
    display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
    font-size: 14px; color: #7f8491;
}
.site-footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .home-hero { padding: 64px 0 72px; }
    .home-section { padding: 64px 0; }
    .home-notice { padding: 28px 22px; }
    .policy-sidenav, .about-side-card { position: static; }
}
@media (max-width: 575.98px) {
    .home-hero-actions .btn-lg { width: 100%; justify-content: center; }
    .policy-toc ol { columns: 1; }
    .policy-body { font-size: 16px; }
    .policy-contact { flex-direction: column; }
    .site-header .brand-logo img { width: 160px; }
}

/* ---------- Print (policies) ---------- */
@media print {
    .site-header, .site-footer, .policy-sidenav, .policy-toc, .policy-related, .page-hero-print, .page-breadcrumb { display: none !important; }
    .page-hero { background: none !important; color: #000; padding: 0; }
    .page-hero h1 { color: #000 !important; }
    .policy-layout { padding: 0; }
    #kt_app_wrapper { margin-top: 0 !important; }
}

/* ---------- QA fixes ---------- */
/* Metronic does not position the header on mobile; lift it above the hero so the menu panel shows. */
.site-header { z-index: 110; }
#kt_app_header_container { z-index: 110; }
/* Metronic's .btn resets borders; keep the outline buttons visible. */
.btn.btn-site-outline { border: 1px solid var(--rc-ink) !important; }
.btn.btn-site-outline-light { border: 1px solid rgba(255, 255, 255, .4) !important; }
.btn.btn-site-outline-light:hover { border-color: var(--rc-gold) !important; }
/* Headings are already numbered, so the TOC list is unnumbered. */
.policy-toc ol { list-style: none; padding-left: 0; }
/* 16px side gutter on phones for all public sections. */
@media (max-width: 767.98px) {
    .site-header .container-xxl, .site-footer .container-xxl, .site-home .container-xxl,
    .page-hero .container-xxl, .policy-layout.container-xxl { padding-left: 16px; padding-right: 16px; }
}
