/* ============================================================
   STATS BAND — light Apple-glass edition
   Replaces the dark full-width block with four translucent
   counters on the shared page canvas.
   ============================================================ */

html body .acto-stats {
    position: relative;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 78px 0 66px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    color: #1d1d1f !important;
}

html body .acto-stats__head {
    max-width: 760px !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
    text-align: left !important;
}

html body .acto-stats__head::before {
    content: '';
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #0071e3;
}

html body .acto-stats__head h2 {
    margin: 0 !important;
    color: #1d1d1f !important;
    font: 600 clamp(30px, 3.4vw, 44px)/1.14 "Plus Jakarta Sans", "SF Pro Display", Inter, sans-serif !important;
    letter-spacing: -0.042em !important;
}

/* The legacy sheet adds a second underline below the heading; the glass
   version already uses the short accent line above it. */
html body .acto-stats__head h2::after {
    content: none !important;
    display: none !important;
}

html body .acto-stats__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

html body .acto-stats__item {
    position: relative;
    padding: 28px 24px 26px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    -webkit-backdrop-filter: blur(24px) saturate(165%);
    backdrop-filter: blur(24px) saturate(165%);
    box-shadow:
        0 24px 48px -38px rgba(10, 37, 64, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
    text-align: left !important;
    transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

@media (hover: hover) and (pointer: fine) {
    html body .acto-stats__item:hover {
        background: rgba(255, 255, 255, 0.68) !important;
        border-color: rgba(255, 255, 255, 0.96) !important;
        transform: translateY(-4px) !important;
        box-shadow:
            0 32px 58px -36px rgba(10, 37, 64, 0.5),
            inset 0 1px 0 #ffffff !important;
    }
}

html body .acto-stats__num {
    display: block !important;
    margin: 0 0 10px !important;
    color: #0a2540 !important;
    font: 700 clamp(38px, 4vw, 54px)/1 "Plus Jakarta Sans", "SF Pro Display", Inter, sans-serif !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.055em !important;
}

html body .acto-stats__num::after {
    content: '+';
    margin-inline-start: 2px;
    color: #0071e3;
    font-weight: 500;
}

html body .acto-stats__label {
    display: block !important;
    margin: 0 !important;
    color: #6e6e73 !important;
    font: 600 11px/1.45 Inter, "SF Pro Text", sans-serif !important;
    letter-spacing: 0.075em !important;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    html body .acto-stats { padding: 56px 0 46px !important; }
    html body .acto-stats__head { margin-bottom: 22px !important; }
    html body .acto-stats__head h2 { font-size: 28px !important; }
    html body .acto-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
    html body .acto-stats__item { padding: 22px 20px 20px !important; border-radius: 20px !important; }
    html body .acto-stats__num { font-size: 38px !important; }
    html body .acto-stats__label { font-size: 10px !important; }
}

@media (max-width: 420px) {
    html body .acto-stats__grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ---------- Dark appearance ---------- */
html.ac-access-dark:not(.ac-access-contrast) #content .acto-stats {
    background: transparent !important;
    color: #f5f5f7 !important;
}

html.ac-access-dark:not(.ac-access-contrast) #content .acto-stats__head h2 { color: #f5f5f7 !important; }

html.ac-access-dark:not(.ac-access-contrast) #content .acto-stats__item {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(28, 28, 30, 0.6) !important;
    box-shadow:
        0 26px 50px -36px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html.ac-access-dark:not(.ac-access-contrast) #content .acto-stats__item:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(38, 38, 40, 0.76) !important;
}

html.ac-access-dark:not(.ac-access-contrast) #content .acto-stats__num { color: #f5f5f7 !important; }
html.ac-access-dark:not(.ac-access-contrast) #content .acto-stats__num::after { color: #0a84ff; }
html.ac-access-dark:not(.ac-access-contrast) #content .acto-stats__label { color: #98989d !important; }

/* ---------- Forced contrast ---------- */
html.ac-access-contrast body .acto-stats {
    background: #ffffff !important;
    color: #000000 !important;
}

html.ac-access-contrast body .acto-stats__head h2 { color: #000000 !important; }

html.ac-access-contrast body .acto-stats__item {
    border: 2px solid #000000 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transform: none !important;
}

html.ac-access-contrast body .acto-stats__num,
html.ac-access-contrast body .acto-stats__num::after,
html.ac-access-contrast body .acto-stats__label { color: #000000 !important; }

html.ac-access-contrast.ac-access-dark body .acto-stats {
    background: #000000 !important;
    color: #ffffff !important;
}

html.ac-access-contrast.ac-access-dark body .acto-stats__item {
    background: #000000 !important;
    border-color: #ffffff !important;
}

html.ac-access-contrast.ac-access-dark body .acto-stats__head h2,
html.ac-access-contrast.ac-access-dark body .acto-stats__num,
html.ac-access-contrast.ac-access-dark body .acto-stats__num::after,
html.ac-access-contrast.ac-access-dark body .acto-stats__label { color: #ffffff !important; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html body .acto-stats__item { transition: none !important; }
    html body .acto-stats__item:hover { transform: none !important; }
}

html.ac-access-motion body .acto-stats__item { transition: none !important; }
html.ac-access-motion body .acto-stats__item:hover { transform: none !important; }
