.habc2 {
    --hab-navy: #022d47;
    --hab-navy-2: #072d4a;
    --hab-text: #0b2450;
    --hab-light-blue: #e7f2fb;
    --hab-light-green: #eef4ea;
    --hab-green: #4bb103;
    --hab-green-soft: #dff0d0;
    --hab-white: #ffffff;
    --hab-page: #f5f5f5;
    --hab-radius-xl: 28px;
    --hab-radius-lg: 20px;
    --hab-radius-md: 14px;

    color: var(--hab-text);
    font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 1340px;
    margin: 0 auto;
}

.habc2 * {
    box-sizing: border-box;
}

.habc2-head {
    
    display: grid;
    grid-template-columns: 615px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    margin-bottom: 44px;
}

.habc2-title {
    margin: 0;
    color: var(--hab-text);
    font-size: 32px !important;
    line-height: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.habc2-head__copy p {
    margin: 0;
    color: var(--hab-text);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
}

.habc2-card {
    display: grid;
    grid-template-columns: 615px minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    overflow: hidden;
    border-radius: var(--hab-radius-xl);
    box-shadow: var(--hab-shadow);
    background: var(--hab-white);
    min-height: 572px;
}

.habc2-left {
    grid-column: 1;
    grid-row: 1 / span 2;
    background: var(--hab-light-blue);
    padding: 72px 74px 52px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.habc2-right-top,
.habc2-right-bottom {
    height: 100%;
}

.habc2-label {
    display: block;
    margin: 0 0 10px;
    color: var(--hab-text);
    font-size: 21px;
    line-height: 1.35;
    font-weight: 500;
}

.habc2-big-number {
    color: var(--hab-navy);
    font-size: 36px;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 56px;
}

.habc2-slider-wrap {
    max-width: 100%;
}

.habc2-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    outline: none;
    background: #f3f6f8;
}

.habc2-range::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 999px;
    background: transparent;
}

.habc2-range::-moz-range-track {
    height: 10px;
    border-radius: 999px;
    background: transparent;
}

.habc2-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hab-navy);
    border: 0;
    cursor: pointer;
    margin-top: -9px;
    box-shadow: 0 4px 14px rgba(2, 45, 71, 0.18);
}

.habc2-range::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hab-navy);
    border: 0;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 45, 71, 0.18);
}

.habc2-range.is-green::-webkit-slider-thumb {
    background: #3DA100;
}

.habc2-range.is-green::-moz-range-thumb {
    background: #3DA100;
}

.habc2-range-scale {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: var(--hab-navy);
    font-size: 16px;
    line-height: 1.2;
    opacity: 0.82;
}

.habc2-payout {
    color: var(--hab-text);
}

.habc2-payout strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
}

.habc2-payout p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}

.habc2-payout--desktop {
    margin-top: auto;
    max-width: 540px;
}

.habc2-payout--mobile {
    display: none;
    margin-top: 32px;
    padding: 0 4px;
}

.habc2-right-top {
    background: var(--hab-light-green);
    padding: 72px 50px 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.habc2-tabs {
    display: inline-flex;
    align-self: center;
    padding: 6px;
    border-radius: 8px;
    background: var(--hab-navy);
    gap: 6px;
    margin-bottom: 56px;
}

.habc2-tab {
    appearance: none;
    border: 0;
    background: transparent!important;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px!important;
    line-height: 100%;
    font-weight: 400!important;
    padding: 6px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    white-space: nowrap;
}

.habc2-tab:hover {
    transform: translateY(-1px);
}

.habc2-tab.is-active {
    background: var(--hab-white)!important;
    color: var(--hab-navy);
    font-weight: 600!important;
    font-size:14px;
    outline: none !important;
}

.habc2-revenue {
    display: flex;
    align-items: center;
    gap: 26px;
}

.habc2-revenue__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--hab-green-soft);
    border: 1px solid rgba(75, 177, 3, 0.18);
    color: var(--hab-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.habc2-revenue__label {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    color: var(--hab-text);
    margin-bottom: 10px;
}

.habc2-revenue__value {
    font-size: 36px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--hab-navy);
}

.habc2-right-bottom {
    background: var(--hab-navy);
    padding: 52px 50px 52px;
}

.habc2-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px 35px;
}

.habc2-stat {
    min-width: 0;
}

.habc2-stat--full {
    grid-column: 1 / -1;
}

.habc2-stat__label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 120%;
    font-weight: 400;
    margin-bottom: 16px;
    max-width: 280px;
}

.habc2-stat__value {
    color: #fff;
    font-size: 20px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: 0%;
}

@media (max-width: 1200px) {
    .habc2-left {
        padding: 56px 44px 40px;
        min-height: 560px;
    }

    .habc2-right-top,
    .habc2-right-bottom {
        padding-left: 44px;
        padding-right: 44px;
    }

    .habc2-tabs {
        margin-bottom: 42px;
    }

    .habc2-revenue__value {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .habc2-head {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }

    .habc2-head__copy p {
        font-size: 14px;
    }

    .habc2-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .habc2-left {
        grid-column: 1;
        grid-row: 1;
        min-height: auto;
        padding: 34px 20px 26px;
    }

    .habc2-right-top {
        grid-column: 1;
        grid-row: 2;
        padding: 22px 14px 24px;
    }

    .habc2-right-bottom {
        grid-column: 1;
        grid-row: 3;
        padding: 34px 20px 38px;
    }

    .habc2-payout--desktop {
        display: none;
    }

    .habc2-payout--mobile {
        display: block;
    }

    .habc2-label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .habc2-big-number {
        font-size: 44px;
        margin-bottom: 34px;
    }

    .habc2-range {
        height: 9px;
    }

    .habc2-range::-webkit-slider-thumb {
        width: 30px;
        height: 30px;
        margin-top: -10px;
    }

    .habc2-range::-moz-range-thumb {
        width: 30px;
        height: 30px;
    }

    .habc2-range-scale {
        margin-top: 14px;
        font-size: 16px;
    }

    .habc2-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding: 4px;
        border-radius: 8px;
        margin-bottom: 30px;
    }

    .habc2-tab {
        width: 100%;
        font-size: 16px;
        padding: 12px 10px;
        border-radius: 8px;
    }

    .habc2-revenue {
        gap: 16px;
        align-items: center;
    }


    .habc2-revenue__label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .habc2-revenue__value {
        font-size: 36px;
    }

    .habc2-stats {
        grid-template-columns: 1fr 1fr;
        gap: 30px 22px;
    }

    .habc2-stat__label {
        font-size: 12px;
        line-height: 120%;
        margin-bottom: 18px;
    }

    .habc2-stat__value {
        font-size: 20px;
    }

    .habc2-payout strong {
        font-size: 14px;
    }

    .habc2-payout p {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (max-width: 560px) {
    .habc2-title {
        font-size: 36px;
    }

    .habc2-head__copy p {
        font-size: 14px;
        line-height: 1.55;
    }

    .habc2-left {
        padding: 36px 20px 28px;
    }

    .habc2-big-number {
        font-size: 26px;
        margin-bottom: 46px;
    }

    .habc2-right-top {
        padding: 18px 12px 44px;
    }

    .habc2-right-bottom {
        padding: 28px 20px 34px;
    }

    .habc2-revenue {
        align-items: flex-start;
        padding-top: 22px;
    }

    .habc2-revenue__value {
        font-size: 36px;
    }

    .habc2-stats {
        grid-template-columns: 1fr 1fr;
        gap: 34px 20px;
    }

    .habc2-stat__label {
        max-width: 150px;
    }

    .habc2-stat--full {
        grid-column: 1 / -1;
    }
}