.terms-shell {
    --terms-primary: #2e175f;
    --terms-secondary: #65459d;
    --terms-accent: #947ffc;
    --terms-soft: #f8f6ff;
    --terms-border: rgba(101, 69, 157, 0.1);
    --terms-text: #5b4f75;
    --terms-white: #ffffff;

    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.terms-intro,
.terms-section {
    background: var(--terms-white);
    border: 1px solid var(--terms-border);
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(46, 23, 95, 0.06);
}

.terms-intro {
    padding: 36px 42px;
    margin-bottom: 26px;
    text-align: center;
}

.terms-intro h2 {
    margin: 0 0 14px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--terms-primary);
}

.terms-intro p {
    margin: 0;
    color: var(--terms-text);
    font-size: 1.02rem;
    line-height: 1.85;
}

.terms-section {
    padding: 32px 38px;
    margin-bottom: 18px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.terms-section:hover {
    box-shadow: 0 12px 38px rgba(46, 23, 95, 0.1);
    transform: translateY(-2px);
}

.terms-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.terms-section-number {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--terms-secondary) 0%, var(--terms-accent) 100%);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    box-shadow: 0 6px 15px rgba(101, 69, 157, 0.25);
}

.terms-section h3 {
    margin: 0;
    color: var(--terms-primary);
    font-size: 1.38rem;
    font-weight: 800;
}

.terms-section p {
    margin: 0;
    color: var(--terms-text);
    font-size: 1rem;
    line-height: 1.85;
}

@media (max-width: 768px) {
    .terms-intro,
    .terms-section {
        border-radius: 18px;
    }

    .terms-intro {
        padding: 26px 20px;
        margin-bottom: 20px;
    }

    .terms-section {
        padding: 24px 20px;
    }

    .terms-intro h2 {
        font-size: 1.65rem;
    }

    .terms-section-header {
        align-items: flex-start;
    }

    .terms-section h3 {
        font-size: 1.18rem;
    }
}
