.bmc-terms {
    --bmc-blue: #21b6d9;
    --bmc-navy: #17324d;
    --bmc-ink: #243746;
    --bmc-muted: #637381;
    --bmc-pale: #eaf8fb;
    --bmc-border: #d9e6eb;
    width: min(100% - 32px, 1120px);
    margin: 32px auto 64px;
    color: var(--bmc-ink);
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.bmc-terms * {
    box-sizing: border-box;
}

.bmc-terms-hero {
    padding: clamp(28px, 5vw, 54px);
    margin-bottom: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--bmc-navy), #21506d);
    box-shadow: 0 16px 40px rgba(23, 50, 77, .13);
    color: #fff;
}

.bmc-terms-kicker {
    display: block;
    margin-bottom: 7px;
    color: #7ce0f4;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .11em;
}

.bmc-terms .bmc-terms-hero h1 {
    margin: 0;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.08;
}

.bmc-terms-hero p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(15px, 2vw, 18px);
}

.bmc-terms > table {
    width: 100%;
    margin: 0 0 22px;
    border: 1px solid var(--bmc-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.bmc-terms th,
.bmc-terms td {
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid var(--bmc-border);
    text-align: left;
    vertical-align: top;
}

.bmc-terms tr:last-child td {
    border-bottom: 0;
}

.bmc-terms th:first-child,
.bmc-terms td:first-child {
    width: 190px;
    background: var(--bmc-pale);
    color: var(--bmc-navy);
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: .02em;
}

.bmc-terms > table + p {
    margin: 0 0 30px;
    padding: 17px 19px;
    border-left: 4px solid var(--bmc-blue);
    border-radius: 0 12px 12px 0;
    background: var(--bmc-pale);
}

.bmc-terms > h1 {
    margin: 34px 0 11px;
    padding-top: 2px;
    color: var(--bmc-navy);
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(21px, 2.8vw, 27px);
    font-weight: 750;
    line-height: 1.25;
}

.bmc-terms > h1::after {
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--bmc-blue);
    content: '';
}

.bmc-terms p {
    margin: 0 0 13px;
}

.bmc-terms ul {
    margin: 8px 0 18px;
    padding-left: 25px;
}

.bmc-terms li {
    margin-bottom: 7px;
    padding-left: 3px;
}

.bmc-terms li::marker {
    color: var(--bmc-blue);
}

.bmc-terms a {
    color: #087f9d;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .bmc-terms {
        width: min(100% - 22px, 1120px);
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.65;
    }

    .bmc-terms-hero {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .bmc-terms > table,
    .bmc-terms > table tbody,
    .bmc-terms > table tr,
    .bmc-terms > table th,
    .bmc-terms > table td {
        display: block;
        width: 100%;
    }

    .bmc-terms > table colgroup {
        display: none;
    }

    .bmc-terms > table thead {
        display: block;
    }

    .bmc-terms > table tr {
        border-bottom: 1px solid var(--bmc-border);
    }

    .bmc-terms > table tr:last-child {
        border-bottom: 0;
    }

    .bmc-terms th,
    .bmc-terms td,
    .bmc-terms th:first-child,
    .bmc-terms td:first-child {
        width: 100%;
        border-bottom: 0;
    }

    .bmc-terms th:first-child,
    .bmc-terms td:first-child {
        padding-bottom: 5px;
    }

    .bmc-terms td:last-child,
    .bmc-terms th:last-child {
        padding-top: 7px;
        background: #fff;
        color: var(--bmc-ink);
        font-family: Poppins, Arial, sans-serif;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: 0;
    }

    .bmc-terms > h1 {
        margin-top: 28px;
    }
}

@media print {
    .bmc-terms {
        width: 100%;
        margin: 0;
        color: #000;
        font-size: 10pt;
    }

    .bmc-terms-hero {
        padding: 20px;
        background: #fff;
        box-shadow: none;
        color: #000;
        border: 1px solid #bbb;
    }

    .bmc-terms .bmc-terms-hero h1,
    .bmc-terms-hero p,
    .bmc-terms-kicker {
        color: #000;
    }

    .bmc-terms > h1 {
        break-after: avoid;
    }

    .bmc-terms p,
    .bmc-terms li {
        orphans: 3;
        widows: 3;
    }
}
