/* ---------- Block: stats ---------- */
.stats {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--e-global-color-6606447);
    /* box-shadow: 0 20px 60px rgba(30, 20, 60, 0.15); */
}

@media (max-width: 900px) {
    .stats {
        grid-template-columns: 1fr;
    }
}

/* ---------- Element: stats__left ---------- */
.stats__left {
    /* background: linear-gradient(155deg, #4c4570 0%, #423c63 55%, #383256 100%); */
    padding: 64px 56px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #222;
    border-right: 1px solid var(--e-global-color-6606447);
}

@media (max-width: 900px) {
    .stats__left {
        padding: 0;
        padding-top: 48px;
    }

    .stats__title,
    .stats__description {
        padding: 0 32px;
    }
}

/* ---------- Element: stats__title ---------- */
.stats__title {
    font-weight: 400 !important;
    letter-spacing: -0.5px;
}

@media (max-width: 900px) {
    .stats__title {
        font-size: 32px;
    }
}

/* ---------- Element: stats__title-highlight ---------- */
.stats__title-highlight {
    position: relative;
    display: inline-block;
}

/* ---------- Element: stats__title-underline ---------- */
.stats__title-underline {
    position: absolute;
    left: -2%;
    bottom: -0.32em;
    width: 104%;
    height: 0.28em;
    display: block;
}

/* ---------- Element: stats__description ---------- */
.stats__description {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    /* color: rgba(255, 255, 255, 0.85); */
    margin-top: 28px;
    max-width: 560px;
}

/* ---------- Element: stats__stats ---------- */
.stats__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 132px;
    border: 1px solid var(--e-global-color-6606447);
}

@media (max-width: 560px) {
    .stats__stats {
        grid-template-columns: 1fr;
    }
}

/* ---------- Element: stats__stat ---------- */
.stats__stat {
    text-align: left;
    padding: 13px 22px;
    height: 143px;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid var(--e-global-color-6606447);
}

@media (max-width: 900px) {
    .stats__stat {
        border-bottom: 1px solid var(--e-global-color-6606447);
    }
}

/* ---------- Element: stats__stat-value ---------- */
.stats__stat-value {
    /* font-family: 'Brawler', Georgia, serif; */
    font-weight: 700;
    font-size: 30px;
    /* color: #f4753a; */
    line-height: 1.1;
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

/* ---------- Element: stats__stat-label ---------- */
.stats__stat-label {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.4px;
    /* color: rgba(255, 255, 255, 0.75); */
    margin-top: 6px;
    text-transform: uppercase;
}

/* ---------- Element: stats__cta ---------- */
.stats__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 40px;
    background: #f4753a;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 14px 20px 14px 26px;
    border-radius: 999px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stats__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(244, 117, 58, 0.4);
}

/* ---------- Element: stats__cta-icon ---------- */
.stats__cta-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---------- Element: stats__right ---------- */
.stats__right {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

@media (max-width: 900px) {
    .stats__right {
        padding: 24px;
    }
}

/* ==================================================
     Block: dashboard  (the "what we just made" widget)
     ================================================== */
.dashboard {
    width: 100%;
    border: 1px solid #e5e2da;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffffbf;
    backdrop-filter: blur(8px);
    position: relative;
}

video.stats__video {
    position: absolute;
    top: 0;
    right: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* ---------- Element: dashboard__metrics ---------- */
.dashboard__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e5e2da;
}

@media (max-width: 640px) {
    .dashboard__metrics {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Element: dashboard__metric ---------- */
.dashboard__metric {
    padding: 16px 18px;
    position: relative;
}

.dashboard__metric:not(:last-child) {
    border-right: 1px solid #e5e2da;
}

@media (max-width: 640px) {
    .dashboard__metric:nth-child(2) {
        border-right: none;
    }
}

/* ---------- Element: dashboard__metric-label ---------- */
.dashboard__metric-label {
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

/* ---------- Element: dashboard__metric-value ---------- */
.dashboard__metric-value {
    font-size: 22px;
    font-weight: 400;
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.counter-char,
.counter-digit {
    display: block;
    line-height: 1em;
}

.counter-char {
    flex: 0 0 auto;
}

.counter-slot {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    height: 1em;
    overflow: hidden;
    flex: 0 0 auto;
}

.counter-track {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition-property: transform;
    transition-duration: 1.2s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* ---------- Element: dashboard__caret ---------- */
.dashboard__caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    display: inline-block;
    margin-left: 2px;
}

/* ---------- Modifiers: dashboard__metric--* ---------- */
.dashboard__metric--cost {
    background: #1a56db;
    color: #fff;
}

.dashboard__metric--cost .dashboard__caret {
    border-top: 5px solid #fff;
}

.dashboard__metric--conversions {
    background: #d33426;
    color: #fff;
}

.dashboard__metric--conversions .dashboard__caret {
    border-top: 5px solid #fff;
}

.dashboard__metric--purchases {
    background: #f9ab00;
    color: #1a1a1a;
}

.dashboard__metric--purchases .dashboard__caret {
    border-top: 5px solid #1a1a1a;
}

.dashboard__metric--plain {
    background: #fff;
    color: #444;
}

.dashboard__metric--plain .dashboard__metric-value {
    color: #1a1a1a;
}

/* ---------- Element: dashboard__menu ---------- */
.dashboard__menu {
    position: absolute;
    top: 12px;
    right: 16px;
    color: #5f6368;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
}

/* ---------- Element: dashboard__chart ---------- */
.dashboard__chart {
    padding: 18px 18px 6px 18px;
    /* background: red; */
}

/* ---------- Element: dashboard__chart-wrap ---------- */
.dashboard__chart-wrap {
    height: 220px;
    position: relative;
}

/* ---------- Element: dashboard__axis ---------- */
.dashboard__axis {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #5f6368;
    padding: 4px 2px 12px 2px;
}