/* Terms and Conditions — aligned with app-newdesign */

.terms-page {
    padding: 20px 0 50px;
}

.terms-page__intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin: -10px auto 30px;
    max-width: 560px;
    line-height: 1.7;
}

.terms-content-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 32px 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.terms-lead {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-color);
}

.terms-lead__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 113, 188, 0.08);
    border: 1px solid rgba(0, 113, 188, 0.15);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.terms-lead h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
}

.terms-lead p,
.terms-list p {
    margin: 0 0 14px;
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.9;
    text-align: justify;
}

    .terms-lead p:last-child,
    .terms-list p:last-child {
        margin-bottom: 0;
    }

.terms-section {
    margin-bottom: 28px;
}

    .terms-section h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 16px;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--primary-color);
    }

        .terms-section h3 i {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: rgba(0, 113, 188, 0.08);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
        }

.terms-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: terms-item;
}

    .terms-list li {
        position: relative;
        counter-increment: terms-item;
        margin-bottom: 12px;
        padding: 12px 14px;
        padding-inline-start: 48px;
        background: #f8f9fa;
        border: 1px solid var(--border-color);
        border-radius: 12px;
    }

        .terms-list li::before {
            content: counter(terms-item);
            position: absolute;
            inset-inline-start: 14px;
            top: 12px;
            width: 26px;
            height: 26px;
            border-radius: 8px;
            background: rgba(0, 113, 188, 0.1);
            color: var(--primary-color);
            font-size: 0.8rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .terms-list li:last-child {
            margin-bottom: 0;
        }

.terms-highlight {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: flex-start;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 16px;
}

.terms-highlight__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 113, 188, 0.1);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.terms-highlight h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

.terms-highlight p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.85;
    text-align: justify;
    font-weight: 500;
}

@media (max-width: 576px) {
    .terms-content-card {
        padding: 22px 16px;
    }

    .terms-lead,
    .terms-highlight {
        grid-template-columns: 1fr;
    }

}
