/* =====================
   BLOCK: terms-page
   ===================== */
.terms-page {
    position: relative;
    background-color: var(--color-background-secondary);
    overflow: hidden;
    min-height: calc(100vh - 162px - 114px);

    @media (max-width: 768px) {
        min-height: calc(100vh - 88px - 146px);
    }
}

.terms-page__pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 11.1%;
    height: 94%;
    background-image: url("/static/img/auth-bg.png");
    background-repeat: repeat-y;
    background-position: top left;
    background-size: 800px auto;
    pointer-events: none;

    @media (max-width: 768px) {
        width: 100%;
        height: 56px;
    }
}

.terms-page__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 120px 40px 160px;
    display: flex;
    flex-direction: column;
    gap: 24px;

    @media (max-width: 768px) {
        padding: 72px 16px 96px;
        gap: 16px;
    }
}

.terms-page__title {
    font: 500 34px/1.3 'Inter';
    color: var(--color-burn-earth);

    @media (max-width: 768px) {
        font-size: 26px;
    }
}

.terms-page__intro {
    font: 400 16px/1.65 'Inter';
    color: var(--color-burn-earth);

    @media (max-width: 768px) {
        font-size: 14px;
    }
}

/* =====================
   BLOCK: terms-section
   ===================== */
.terms-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.terms-section__title {
    font: 500 20px/1.4 'Inter';
    color: var(--color-burn-earth);

    @media (max-width: 768px) {
        font-size: 17px;
    }
}

.terms-section__text {
    font: 400 16px/1.65 'Inter';
    color: var(--color-burn-earth);

    @media (max-width: 768px) {
        font-size: 14px;
    }
}

.terms-section__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 20px;
}

.terms-section__list-item {
    font: 400 16px/1.65 'Inter';
    color: var(--color-burn-earth);

    @media (max-width: 768px) {
        font-size: 14px;
    }
}

.terms-section__divider {
    height: 1px;
    background: var(--color-border);
    width: 100%;
}
