.terms-section {
    background: #f4f1ea;
    padding: clamp(32px, 5vw, 72px) 0;
}

.terms-content {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 64px);
    background: #fff;
    border: 1px solid rgba(31, 78, 91, 0.12);
    border-top: 5px solid #c86438;
    border-radius: 4px;
    box-shadow: 0 14px 36px rgba(43, 45, 47, 0.09);
    color: #414447;
    font-size: 1rem;
    line-height: 1.78;
}

.terms-content > h1 {
    max-width: 760px;
    margin: 0 0 12px;
    color: #1f4e5b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
}

.terms-content > p:first-of-type {
    display: inline-block;
    margin: 0 0 38px;
    padding: 6px 12px;
    border-left: 3px solid #dca148;
    background: #fbf7ef;
    color: #687276;
    font-size: 0.86rem;
    line-height: 1.4;
}

.terms-content h2 {
    margin: 48px 0 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(31, 78, 91, 0.16);
    color: #1f4e5b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.25;
}

.terms-content h3 {
    margin: 30px 0 10px;
    color: #c86438;
    font-size: 1.08rem;
    line-height: 1.35;
}

.terms-content p,
.terms-content ul,
.terms-content ol {
    margin-bottom: 18px;
}

.terms-content ul,
.terms-content ol {
    padding-left: 1.5rem;
}

.terms-content li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.terms-content li::marker {
    color: #c86438;
    font-weight: 700;
}

.terms-content strong {
    color: #1f4e5b;
}

.terms-content a {
    color: #a84f2c;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.terms-content a:hover {
    color: #1f4e5b;
}

@media (max-width: 640px) {
    .terms-content {
        border-top-width: 4px;
        font-size: 0.96rem;
    }

    .terms-content h2 {
        margin-top: 36px;
    }
}

