.terms-page {
    --page-scroll-padding-bottom: 60px;
    --page-shell-max-width: 800px;
    --page-shell-padding-top: 40px;
    --page-shell-padding-bottom: 40px;
    --page-hero-padding-top: 30px;
    --page-hero-padding-bottom: 60px;
    --page-hero-title-size: clamp(3rem, 8vw, 5rem);
}

    .terms-page .page-hero__title {
        margin-bottom: 0;
    }

    .terms-page .page-hero__desc {
        margin-top: 18px;
    }

.terms-card {
    background: #fff;
    padding: 80px 60px;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    opacity: 0;
    animation: pageFadeInUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards 0.6s;
    margin-bottom: 60px;
}

    .terms-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--color-text-main);
    }

.terms-meta {
    font-family: var(--font-family-sans);
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    display: block;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.terms-body h2 {
    font-family: var(--font-family-serif);
    font-size: 1.8rem;
    color: var(--color-text-main);
    margin-top: 50px;
    margin-bottom: 25px;
    padding-left: 0;
    border-left: none;
    line-height: 1.2;
}

    .terms-body h2:first-of-type {
        margin-top: 0;
    }

.terms-body p {
    font-family: var(--font-family-sans);
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

.terms-body ol {
    font-family: var(--font-family-sans);
    color: #444;
    padding-left: 20px;
    margin-bottom: 30px;
    list-style-position: outside;
}

.terms-body li {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1rem;
    padding-left: 5px;
}

.terms-body ol ol {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: lower-alpha;
    color: #555;
}

    .terms-body ol ol li {
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

.terms-body b {
    color: var(--color-text-main);
    font-weight: 700;
}

.terms-body a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(185, 28, 28, 0.25);
}

    .terms-body a:hover {
        border-bottom-color: var(--color-primary);
    }

@media (max-width: 767px) {
    .terms-page {
        --page-shell-padding-top: 20px;
        --page-shell-padding-bottom: 40px;
        --page-hero-padding-top: 30px;
        --page-hero-padding-bottom: 34px;
        --page-hero-margin-bottom: 16px;
    }

    .terms-card {
        padding: 40px 25px;
        margin-bottom: 0;
    }

    .terms-body h2 {
        font-size: 1.5rem;
        padding-left: 0;
        margin-top: 40px;
    }

    .terms-body ol {
        padding-left: 15px;
    }
}
