.terms-heading {
    padding: 32px max(20px, calc((100% - 1240px) / 2));
    background: linear-gradient(115deg, #071929, #12384f);
    color: #fff;
}
.terms-heading h1 { margin: 0; font-size: clamp(29px, 4vw, 44px); line-height: 1.15; }
.terms-document {
    width: min(1240px, calc(100% - 40px));
    margin: 26px auto 48px;
    padding: clamp(22px, 4vw, 52px);
    border: 1px solid #d9e3eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(6, 28, 47, .08);
}
.terms-document h2 { margin: 0 0 24px; font-size: clamp(23px, 3vw, 31px); }
.terms-document-body { max-width: 100ch; }
.terms-document-body h4,
.terms-document-body h5 { margin: 30px 0 10px; font-size: 18px; line-height: 1.3; }
.terms-document-body p { margin: 0 0 15px; color: #31475b; line-height: 1.75; }
.terms-document-body p[style] { padding: 14px 17px !important; }
@media (max-width: 600px) {
    .terms-heading { padding: 25px 20px; }
    .terms-document { width: calc(100% - 24px); margin: 12px auto 30px; padding: 20px; }
    .terms-document-body p { line-height: 1.65; }
}
