.vf-stats {
    --vf-paper: #f7f6f0;
    --vf-stats-ink: #192820;
    --vf-stats-muted: #505e55;
    --vf-stats-line: #dbe2d9;
    --vf-stats-soft: #edf0e8;
    --vf-stats-pine: #172e24;
    --vf-stats-amber: #ffc881;
    background: var(--vf-paper);
    color: var(--vf-stats-ink);
    font: 500 16px/1.55 'DM Sans', system-ui, sans-serif;
}

.vf-stats-shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.vf-stats-main :is(h1, h2, p) { margin: 0; }
.vf-stats-main :is(h1, h2) { color: inherit; font-family: Manrope, system-ui, sans-serif; font-weight: 800; }
.vf-stats-hero {
    background: linear-gradient(115deg, var(--vf-stats-pine) 24%, #234636);
    color: #fcf9ef;
}
.vf-stats-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 15px 24px;
    padding-block: clamp(29px, 4.4vw, 58px) clamp(45px, 6vw, 77px);
}
.vf-stats-intro .vf-stats-kicker {
    color: var(--vf-stats-amber);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.vf-stats-main .vf-stats-hero h1 {
    margin-block: 9px 7px;
    font-size: clamp(38px, 5.8vw, 70px);
    line-height: 1.04;
    letter-spacing: -.06em;
}
.vf-stats-hero h1 + p { color: #e2ebe1; }
.vf-stats-hero .vf-stats-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--vf-stats-amber);
    color: var(--vf-stats-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}
.vf-stats-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.vf-stats-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.vf-stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-block: -24px 28px;
}
.vf-stats-card {
    min-width: 0;
    padding: clamp(14px, 2.4vw, 24px);
    border: 1px solid var(--vf-stats-line);
    border-radius: 14px;
    background: #fff;
}
.vf-stats-wide { grid-column: 1 / -1; }
.vf-stats-card-head { margin-bottom: 13px; }
.vf-stats-card-head h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.04em; }
.vf-stats-card-head p { margin-top: 5px; color: var(--vf-stats-muted); font-size: 14px; }
.vf-stats-card-layout { display: grid; align-items: center; gap: 12px; }
.vf-stats-wide .vf-stats-card-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
.vf-stats-visual { position: relative; min-width: 0; }
.vf-stats-chart { width: 100%; height: clamp(225px, 24vw, 285px); }
.vf-stats-wide .vf-stats-chart { height: clamp(255px, 33vw, 365px); }
.vf-stats-visual .vf-stats-status {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    padding: 12px;
    color: var(--vf-stats-muted);
    text-align: center;
    font-size: 14px;
    pointer-events: none;
}
.vf-stats-visual [hidden] { display: none; }
.vf-stats-chart[hidden] + .vf-stats-status { position: static; min-height: 58px; border-radius: 9px; background: var(--vf-stats-soft); }
.vf-stats-legend { display: grid; min-width: 0; gap: 5px 11px; margin: 0; padding: 0; list-style: none; }
.vf-stats-wide .vf-stats-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vf-stats-legend li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: var(--vf-stats-soft);
    font-size: 14px;
    overflow-wrap: anywhere;
}
.vf-stats-dot { align-self: center; width: 11px; height: 11px; border-radius: 50%; background: var(--vf-stat-slice); }
.vf-stats-legend strong { font-variant-numeric: tabular-nums; }
@media (max-width: 740px) {
    .vf-stats-shell { width: calc(100% - 32px); }
    .vf-stats-grid, .vf-stats-wide .vf-stats-card-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
    .vf-stats-wide .vf-stats-legend { grid-template-columns: minmax(0, 1fr); }
}
