:root {
    --surface-secondary: #f4f6fb;
    --surface-primary: #fff;
    --surface-tertiary: #e1e4eb;
    --surface-inverse: #25252a;
    --surface-brand: #007336;
    --surface-brand-subtle: rgba(0, 115, 54, 0.08);
    --surface-overlay: rgba(255, 255, 255, 0.08);
    --surface-overlay-strong: rgba(31, 32, 34, 0.56);
    --text-primary: #25252a;
    --text-secondary: rgba(37, 37, 42, 0.64);
    --text-tertiary: rgba(37, 37, 42, 0.48);
    --text-disabled: rgba(37, 37, 42, 0.4);
    --text-brand: #007336;
    --text-positive: #218b17;
    --text-overlay-primary: #fff;
    --text-overlay-secondary: rgba(255, 255, 255, 0.72);
    --icon-primary: #25252a;
    --icon-secondary: rgba(37, 37, 42, 0.64);
    --icon-tertiary: rgba(37, 37, 42, 0.48);
    --icon-brand: #007336;
    --icon-overlay-primary: #fff;
    --icon-overlay-secondary: rgba(255, 255, 255, 0.48);
    --border-primary: rgba(37, 37, 42, 0.16);
    --border-secondary: rgba(37, 37, 42, 0.08);
    --border-brand: #007336;
    --border-overlay: rgba(255, 255, 255, 0.08);
    --status-success: #218b17;
    --status-warning: #e4a355;
    --status-error: #c7342a;
    --decorative-lime: #bce674;
    --decorative-warm: #e4a355;
    --decorative-hero-red: #ae0000;
    --content-width: 1312px;
    --container-offset: 16px;
    --container-width: calc(var(--content-width) + (var(--container-offset) * 2));
}
:root {
    --font-family: "Manrope", sans-serif;
    --second-family: "Google Sans", sans-serif;
}
.custom-checkbox__field:checked + .custom-checkbox__content::after {
    opacity: 1;
}
.custom-checkbox__field:focus + .custom-checkbox__content::before {
    outline-offset: 2px;
}
.custom-checkbox__field:disabled + .custom-checkbox__content {
    opacity: 0.4;
    pointer-events: none;
}
.problems {
    margin: 112px 0;
    background: var(--surface-primary);
}
.problems h2 {
    margin: 0 auto;
    font: 700 64px/64px var(--font-family);
    letter-spacing: -0.04em;
    text-align: center;
    max-width: 720px;
}
.problems h2 span {
    color: #ae413d;
}
.problems__intro {
    margin: 24px 0 40px;
    font: 500 18px/28px var(--font-family);
    text-align: center;
}
.problems__track {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(0, 1fr)) [3];
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
.problems__card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    min-width: 0;
    background: var(--surface-tertiary);
}
.problems__card-content {
    padding: 24px 24px 0;
}
.problems__card .h3 {
    margin: 0 0 24px;
    font: 700 28px/32px var(--font-family);
    letter-spacing: -0.02em;
    text-align: center;
}
.problems__card dl {
    margin: 0;
}
.problems__card dl > div {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 94px minmax(0, 1fr);
    grid-template-columns: 94px minmax(0, 1fr);
    margin-bottom: 24px;
    gap: 8px;
}
.problems__card dt {
    -ms-flex-item-align: start;
    -ms-grid-row-align: start;
    align-self: start;
    border-radius: 12px;
    padding: 4px 12px;
    font: 700 14px/20px var(--font-family);
    letter-spacing: -0.02em;
    background: var(--surface-overlay-strong);
    color: #fff;
    text-align: center;
}
.problems__card dl > div + div dt {
    background: var(--surface-brand-subtle);
    color: var(--text-brand);
}
.problems__card dd {
    margin: 0;
    font: 500 14px/20px var(--font-family);
}
.problems__card img {
    width: 100%;
    width: min(360px, 100%);
    height: 306px;
    -o-object-fit: contain;
    object-fit: contain;
}
.problems__card picture {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    margin-top: auto;
}
.problems__cta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 32px;
    margin-top: 40px;
    padding: 48px;
    color: #fff;
    gap: 16px;
    background-image: url("img/problems/ImageBg.png");
    background-color: var(--surface-inverse);
    background-size: cover;
    background-repeat: no-repeat;
}
.problems__cta .h3 {
    margin: 0 0 16px;
    font: 700 36px/40px var(--font-family);
    letter-spacing: -0.02em;
}
.problems__cta p {
    margin: 0;
    max-width: 760px;
    font: 500 18px/28px var(--font-family);
}
.problems__cta ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    gap: 12px 16px;
}
.problems__cta li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font: 500 16px/24px var(--font-family);
    gap: 4px;
}
.problems__cta li::before {
    display: block;
    width: 16px;
    height: 16px;
    background: url("img/problems/icon-check.svg") center/contain no-repeat;
    content: "";
}
.problems__actions {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 400px;
    flex: 0 0 400px;
    border-radius: 16px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.08);
}
.problems__actions .ui-button {
    width: 100%;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
}
.problems__actions > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 8px;
    gap: 8px;
}
.problems__actions > div a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 16px;
    padding: 16px 32px;
    width: 50%;
    min-height: 60px;
    font: 500 18px/28px var(--font-family);
    color: #fff;
    background: var(--surface-overlay);
    gap: 8px;
}
.problems__actions a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
@media (max-width: 1024px) {
    .problems {
        margin: 64px 0;
    }
    .problems .container {
        padding: 0 8px;
    }
    .problems h2 {
        font-size: 30px;
        line-height: 34px;
        letter-spacing: -0.02em;
    }
    .problems__intro {
        margin: 16px 8px 24px;
        font-size: 14px;
        line-height: 20px;
    }
    .problems__viewport {
        overflow: hidden;
        outline-offset: 2px;
        -ms-touch-action: pan-y;
        touch-action: pan-y;
    }
    .problems__viewport:focus-visible {
        outline: 2px solid var(--border-brand);
    }
    .problems__track {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        gap: 8px;
        will-change: transform;
    }
    .problems__card {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 min(280px, 100vw - 48px);
        flex: 0 0 min(280px, 100vw - 48px);
        border-radius: 16px;
        height: 429px;
    }
    .problems__card-content {
        padding: 16px 16px 0;
    }
    .problems__card .h3 {
        margin-bottom: 24px;
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0;
    }
    .problems__card dl > div {
        display: block;
    }
    .problems__card > img {
        width: 188px;
        height: 160px;
    }
    .problems__card dt {
        display: table;
        margin-bottom: 8px;
        width: 94px;
        font-size: 14px;
        line-height: 20px;
    }
    .problems__card dd {
        font-size: 12px;
        line-height: 16px;
        font-weight: 600;
        letter-spacing: -0.02em;
    }
    .problems__cta {
        display: block;
        border-radius: 16px;
        margin-top: 24px;
        padding: 16px;
    }
    .problems__cta .h3 {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 28px;
    }
    .problems__cta p {
        font-size: 16px;
        line-height: 24px;
    }
    .problems__cta ul {
        display: -ms-grid;
        display: grid;
        margin-top: 16px;
        gap: 12px;
    }
    .problems__cta li {
        font-size: 14px;
        line-height: 20px;
        white-space: nowrap;
    }
    .problems__actions {
        margin-top: 16px;
        padding: 16px;
    }
}
