.site-footer {
    overflow-x: clip;
    background: var(--footer-bg);
    color: var(--footer-text);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    padding: 48px 20px 34px;
}

.footer-container {
    max-width: var(--site-content-width);
    margin: 0 auto;
    padding: 50px 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(250px, 1.2fr) repeat(3, minmax(140px, 0.7fr)) minmax(300px, 1.25fr);
    gap: 44px;
    align-items: start;
}

.footer-logo {
    display: block;
    width: 120px;
    max-width: 100%;
    margin: 0 0 22px;
}

.footer-brand-text {
    color: var(--footer-muted);
    margin: 0 0 24px;
}

.footer-contact p,
.footer-regulatory,
.footer-notices p {
    margin: 0 0 18px;
}

.footer-label {
    color: var(--footer-text);
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 6px !important;
    text-transform: uppercase;
}

.site-footer a {
    color: var(--footer-muted);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #ffffff;
}

.footer-notices a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-contact {
    margin-top: 24px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.footer-social a {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.618;
    text-transform: uppercase;
}

.footer-social a:hover,
.footer-social a:focus {
    background: #ffffff;
    color: var(--footer-bg);
}

.footer-links h2,
.footer-find h2,
.footer-notices h2 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.footer-links ul {
    display: grid;
    gap: 13px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-location {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    color: var(--footer-text);
    font-style: normal;
    margin: 0 0 16px;
}

.footer-location-icon {
    width: 22px;
    height: 22px;
    color: #ffffff;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round; 
    margin-top: 2px;
}

.footer-location span,
.footer-regulatory {
    color: var(--footer-text);
    font-size: 1rem;
    line-height: 1.618;
}

.footer-location strong,
.footer-regulatory {
    color: #ffffff;
    font-weight: 500;
}

.footer-regulatory {
    margin-top: 20px;
}

.footer-notices {
    border-top: 1px solid var(--footer-rule);
    margin-top: 46px;
    padding-top: 36px;
}

.footer-notices section {
    margin-top: 28px;
}

.footer-notices h2 {
    margin-bottom: 16px;
    text-transform: none;
}

.footer-notices p {
    color: var(--footer-text);
    font-size: 0.875rem;
    line-height: 1.618;
    overflow-wrap: anywhere;
}

.footer-tradingview h2 {
    margin-bottom: 0;
}

.footer-copyright {
    border-top: 1px solid var(--footer-rule);
    color: var(--footer-muted);
    font-size: 0.875rem;
    line-height: 1.618;
    margin: 28px 0 0;
    padding-top: 22px;
    text-align: center;
}

@media (max-width: 1180px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 36px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 36px 16px 28px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
    }
}
