/* /user_agreement — normal layout matching the current published Tilda page. */

.agreement-page {
    background: #fff;
    color: #101e31;
    font-family: Cygre, Arial, sans-serif;
}

.agreement-container {
    width: min(1160px, calc(100% - 40px));
    max-width: 1160px !important;
    margin: 0 auto;
    padding: 0;
}

/*
 * Published Tilda: 150px record padding because its header is fixed.
 * Our shared header is in normal flow; 60px reproduces the visible gap.
 */
.agreement-hero {
    padding-top: 60px;
}

.agreement-breadcrumb {
    min-height: 20px;
    display: flex;
    align-items: center;
    gap: 4px;

    color: #a7acba;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    opacity: .6;
}

.agreement-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.agreement-hero h1 {
    margin: 30px 0 0;

    color: #101e31;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.agreement-content {
    padding-top: 60px;
    padding-bottom: 150px;
}

/* Tilda t-col_10. */
.agreement-text {
    width: min(960px, calc(100% - 40px));
    max-width: 960px !important;
    margin: 0 auto;
    padding: 0;
}

.agreement-lead,
.agreement-terms {
    color: #3f5064;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.agreement-lead {
    margin: 0;
}

.agreement-section {
    margin-top: 120px;
}

.agreement-section h2 {
    margin: 0 0 30px;

    color: #101e31;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: uppercase;
}

.agreement-terms p {
    margin: 0;
}

.agreement-terms p + p {
    margin-top: 28px;
}

.agreement-terms p > span {
    color: inherit;
}

/* 960–1199: Tilda uses 940px grid and t-col_10 ≈ 780px. */
@media (min-width: 960px) and (max-width: 1199px) {
    .agreement-container {
        width: min(940px, calc(100% - 20px));
        max-width: 940px !important;
    }

    .agreement-text {
        width: min(780px, calc(100% - 20px));
        max-width: 780px !important;
    }
}

/* Mobile — Tilda title block has 90px record padding and 300px grid. */
@media (max-width: 959px) {
    .agreement-container,
    .agreement-text {
        width: min(300px, calc(100% - 20px));
        max-width: 300px !important;
    }

    .agreement-hero {
        padding-top: 20px;
    }

    .agreement-breadcrumb {
        min-height: 14px;
        font-size: 10px;
    }

    .agreement-hero h1 {
        margin-top: 30px;
        font-size: 28px;
        line-height: 1.2;
    }

    .agreement-content {
        padding-top: 60px;
        padding-bottom: 90px;
    }

    .agreement-lead,
    .agreement-terms {
        font-size: 14px;
        line-height: 1.55;
    }

    .agreement-section {
        margin-top: 120px;
    }

    .agreement-section h2 {
        margin-bottom: 30px;
        font-size: 22px;
        line-height: 1.35;
    }

    .agreement-terms p + p {
        margin-top: 22px;
    }
}
