/* ==================================================================
   Fast Finance Card - site-specific styles.

   Loaded after easilon.css and custom.css, both of which already
   carry the Fast Finance palette (#12A5FD azure, #06175F navy)
   substituted from the logo. This file holds only what the Birmecha
   theme has no equivalent for.

   Contrast note: the azure is a 2.7:1 colour against white, so it is
   never used for text on a light background - only as a block fill
   behind navy or white text, or as a tint. Navy on white is 16:1.
   ================================================================== */

/* ------------------------------------------------------------------
   Logo
   The supplied mark is a square tile, not a wordmark, so it is sized
   by height and never by the theme's default 170px width.
   ------------------------------------------------------------------ */
/* The theme sets `.main-header__logo img { height: auto }`, which is
   specificity 0,0,1,1 - a bare `.brand-logo` would lose to it. Every
   rule here is written as `img.brand-logo` (also 0,0,1,1) or better,
   and this file loads after easilon.css, so these win. */
img.brand-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 100%;
}

.main-header__logo img.brand-logo {
    height: 58px;
}

.footer-widget__logo img.brand-logo--footer {
    height: 76px;
}

.logo-box img.brand-logo--mobile {
    height: 64px;
}

@media (max-width: 575px) {
    img.brand-logo,
    .main-header__logo img.brand-logo {
        height: 46px;
    }
}

/* ------------------------------------------------------------------
   Headline numbers strip (home)
   ------------------------------------------------------------------ */
.ffc-stats {
    position: relative;
    z-index: 2;
}

.ffc-stats__inner {
    margin-top: -60px;
    padding: 38px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background-color: var(--easilon-black, #06175F);
    box-shadow: 0 24px 50px rgba(6, 23, 95, 0.22);
}

.ffc-stats__item {
    text-align: center;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.ffc-stats__item:last-child {
    border-right: 0;
}

.ffc-stats__value {
    display: block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--easilon-white, #ffffff);
    letter-spacing: var(--easilon-letter-space, -0.02em);
}

.ffc-stats__label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    /* 78% white on the navy is still 9.5:1 - safely readable. */
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 991px) {
    .ffc-stats__inner {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

    .ffc-stats__item:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 575px) {
    .ffc-stats__inner {
        margin-top: -30px;
        padding: 30px 20px;
        grid-template-columns: 1fr;
    }

    .ffc-stats__item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        padding-bottom: 22px;
    }

    .ffc-stats__item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
}

/* ------------------------------------------------------------------
   Centred / inline call to action
   ------------------------------------------------------------------ */
.ffc-center-cta {
    margin-top: 50px;
    text-align: center;
}

.ffc-inline-cta {
    margin-top: 30px;
}

/* ------------------------------------------------------------------
   Numbered step cards (how it works, grievance levels)
   ------------------------------------------------------------------ */
.ffc-step {
    position: relative;
    height: 100%;
    padding: 34px 30px;
    background-color: var(--easilon-white, #ffffff);
    border: 1px solid var(--easilon-border-color, #E6E6ED);
    transition: all 500ms ease;
}

.ffc-step:hover {
    border-color: var(--easilon-base, #12A5FD);
    box-shadow: 0 18px 36px rgba(6, 23, 95, 0.10);
}

.ffc-step--tall {
    display: flex;
    flex-direction: column;
}

.ffc-step__number {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--easilon-black, #06175F);
    background-color: RGBA(var(--easilon-base-rgb, 18, 165, 253), 0.16);
}

.ffc-step__icon {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    font-size: 23px;
    color: var(--easilon-white, #ffffff);
    background-color: var(--easilon-black, #06175F);
}

.ffc-step__title {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--easilon-black, #06175F);
    letter-spacing: var(--easilon-letter-space, -0.02em);
}

.ffc-step__text {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--easilon-text, #82828A);
}

.ffc-step__text:last-child {
    margin-bottom: 0;
}

.ffc-step__text--muted {
    margin-top: auto;
    padding-top: 14px;
    font-size: 14px;
    border-top: 1px dashed var(--easilon-border-color, #E6E6ED);
}

.ffc-step__text strong,
.ffc-step__text a {
    color: var(--easilon-black, #06175F);
    font-weight: 600;
}

.ffc-step__text a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------------
   Two-up information panels
   ------------------------------------------------------------------ */
.ffc-panel {
    height: 100%;
    padding: 36px 34px;
    background-color: var(--easilon-white2, #F6F6F8);
    border-left: 3px solid var(--easilon-base, #12A5FD);
}

.ffc-panel--dark {
    background-color: var(--easilon-black, #06175F);
    border-left-color: var(--easilon-base, #12A5FD);
}

.ffc-panel__title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 700;
    color: var(--easilon-black, #06175F);
    letter-spacing: var(--easilon-letter-space, -0.02em);
}

.ffc-panel--dark .ffc-panel__title {
    color: var(--easilon-white, #ffffff);
}

.ffc-panel__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--easilon-text, #82828A);
}

.ffc-panel--dark .ffc-panel__text {
    color: rgba(255, 255, 255, 0.82);
}

.ffc-panel__text a {
    color: var(--easilon-black, #06175F);
    font-weight: 600;
    text-decoration: underline;
}

.ffc-panel--dark .ffc-panel__text a {
    color: var(--easilon-white, #ffffff);
}

.ffc-panel__list {
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ffc-panel__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--easilon-black, #06175F);
}

.ffc-panel--dark .ffc-panel__list li {
    color: var(--easilon-white, #ffffff);
}

.ffc-panel__list__icon {
    flex-shrink: 0;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 9px;
    border-radius: 50%;
    color: var(--easilon-white, #ffffff);
    background-color: var(--easilon-black, #06175F);
}

.ffc-panel--dark .ffc-panel__list__icon {
    color: var(--easilon-black, #06175F);
    background-color: var(--easilon-base, #12A5FD);
}

.ffc-panel__note {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--easilon-text, #82828A);
}

.ffc-panel--dark .ffc-panel__note {
    color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------------------------------------------
   Contact page
   ------------------------------------------------------------------ */
.ffc-contact-secondary {
    margin-top: 50px;
}

.ffc-contact-link {
    font-size: 17px;
    font-weight: 700;
    color: var(--easilon-black, #06175F);
}

.ffc-contact-link:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------------
   Legal pages (terms, privacy, grievance)
   ------------------------------------------------------------------ */
.ffc-legal__inner {
    max-width: 860px;
    margin: 0 auto;
}

.ffc-legal__updated {
    margin: 0 0 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--easilon-text, #82828A);
}

.ffc-legal__lead {
    margin: 0 0 36px;
    padding: 24px 26px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--easilon-black, #06175F);
    background-color: var(--easilon-white2, #F6F6F8);
    border-left: 3px solid var(--easilon-base, #12A5FD);
}

.ffc-legal__inner h3 {
    margin: 38px 0 14px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--easilon-black, #06175F);
    letter-spacing: var(--easilon-letter-space, -0.02em);
}

.ffc-legal__inner p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--easilon-text, #82828A);
}

.ffc-legal__inner ul {
    margin: 0 0 16px;
    padding-left: 0;
    list-style: none;
}

.ffc-legal__inner ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--easilon-text, #82828A);
}

.ffc-legal__inner ul li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--easilon-base, #12A5FD);
}

.ffc-legal__inner ul li strong {
    color: var(--easilon-black, #06175F);
}

.ffc-legal__inner a {
    color: var(--easilon-black, #06175F);
    font-weight: 600;
    text-decoration: underline;
}

.ffc-legal__inner a:hover {
    text-decoration: none;
}

.ffc-legal__note {
    margin-top: 32px;
    padding: 20px 24px;
    font-size: 14px !important;
    line-height: 1.75;
    color: var(--easilon-black, #06175F) !important;
    background-color: RGBA(var(--easilon-base-rgb, 18, 165, 253), 0.10);
}

.ffc-grievance {
    margin: 40px 0 50px;
}

/* ------------------------------------------------------------------
   404
   ------------------------------------------------------------------ */
.ffc-404__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.ffc-404__code {
    display: block;
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    color: var(--easilon-black, #06175F);
    letter-spacing: var(--easilon-letter-space-xl, -0.03em);
}

.ffc-404__title {
    margin: 18px 0 12px;
    font-size: 28px;
    font-weight: 700;
    color: var(--easilon-black, #06175F);
    letter-spacing: var(--easilon-letter-space, -0.02em);
}

.ffc-404__text {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--easilon-text, #82828A);
}

.ffc-404__links {
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ffc-404__links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--easilon-black, #06175F);
    text-decoration: underline;
}

.ffc-404__links a:hover {
    text-decoration: none;
}

@media (max-width: 575px) {
    .ffc-404__code {
        font-size: 76px;
    }
}

/* ------------------------------------------------------------------
   Footer additions
   The theme has no regulatory-disclaimer band, and this site needs
   one on every page.
   ------------------------------------------------------------------ */
.main-footer__disclaimer {
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.main-footer__disclaimer p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.8;
    /* 76% white on the footer navy is ~9:1. */
    color: rgba(255, 255, 255, 0.76);
}

.main-footer__disclaimer a {
    color: var(--easilon-white, #ffffff);
    text-decoration: underline;
}

.main-footer__bottom__inner {
    padding: 22px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.main-footer__copyright {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}

.main-footer__bottom__links {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.main-footer__bottom__links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}

.main-footer__bottom__links a:hover {
    color: var(--easilon-base, #12A5FD);
}

.footer-widget__info li {
    line-height: 1.7;
}
