.statistics-card {
    border-top-color: rgba(219, 89, 6, 0.22);
}

.split-flap-heading {
    position: relative;
    width: max-content;
    max-width: calc(100% - 18px);
    margin-inline-start: 18px;
}

.split-flap-heading::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    transform: translateY(-50%);
    pointer-events: none;
}

.split-flap-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.split-flap-heading.is-flipping .split-flap-label {
    opacity: 0;
}

.split-flap-cell {
    position: absolute;
    top: 0;
    height: 100%;
    perspective: 180px;
    text-align: left;
}

.split-flap-half {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    backface-visibility: hidden;
    background: #0d0d0d;
}

.split-flap-top {
    top: 0;
    transform-origin: center bottom;
}

.split-flap-bottom {
    top: 50%;
    transform-origin: center top;
}

.split-flap-glyph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    white-space: pre;
    text-align: center;
    transform: scaleX(var(--glyph-scale, 1));
    transform-origin: center;
}

.split-flap-bottom .split-flap-glyph {
    transform: translateY(-50%) scaleX(var(--glyph-scale, 1));
}

.split-flap-fold {
    z-index: 1;
}

.split-flap-cell::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .statistics-grid {
        gap: 24px;
    }

    .statistics-logo-text {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .statistics-logo-text {
        font-size: 28px;
    }

    .statistics-intro {
        font-size: 17px;
    }

    .statistics-grid {
        gap: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .split-flap-heading.is-flipping .split-flap-label {
        opacity: 1;
    }

    .split-flap-visual {
        display: none;
    }
}
