﻿.terms-page {
    background: #fbf7ef;
    color: #65452e;
}

.terms-hero {
    background: linear-gradient(135deg, #f1e3cd, #fbf7ef);
    border-bottom: 1px solid #d8c3a2;
}

.terms-eyebrow {
    color: #99713e;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.terms-accent {
    color: #a88755;
}

.terms-hero-intro {
    max-width: 650px;
    color: #78634e;
    line-height: 1.8;
}

.terms-effective {
    display: inline-block;
    padding: 7px 17px;
    border: 1px solid #d8c3a2;
    border-radius: 30px;
    background: #fffaf2;
    color: #76583a;
    font-size: .78rem;
    font-weight: 600;
}

.terms-content {
    background: #fbf7ef;
}

.terms-sidebar {
    position: sticky;
    top: 100px;
    padding: 24px;
    background: #f2e6d4;
    border: 1px solid #dfcdb1;
    border-radius: 14px;
}

.terms-sidebar-title {
    margin-bottom: 16px;
    font-weight: 700;
    color: #65452e;
}

.terms-index {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .terms-index a {
        padding: 9px 12px;
        border-radius: 7px;
        color: #76563e;
        text-decoration: none;
        font-size: .87rem;
        transition: background .2s ease, color .2s ease;
    }

        .terms-index a:hover,
        .terms-index a:focus-visible {
            background: #e4d1b5;
            color: #543722;
        }

.terms-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 19px 22px;
    border: 1px solid #d4b991;
    border-radius: 13px;
    background: #f0dfc4;
    color: #62442e;
    line-height: 1.7;
}

    .terms-notice > i {
        margin-top: 5px;
        color: #9b7241;
        font-size: 1.15rem;
    }

.terms-card {
    margin-bottom: 18px;
    padding: 27px 30px;
    border: 1px solid #dfcdb1;
    border-radius: 14px;
    background: #fffaf2;
    scroll-margin-top: 105px;
}

    .terms-card h2 {
        display: flex;
        align-items: center;
        gap: 13px;
        margin-bottom: 18px;
        color: #65452e;
        font-size: 1.2rem;
        font-weight: 700;
    }

        .terms-card h2 span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 39px;
            height: 39px;
            border-radius: 10px;
            background: #e8d5b5;
            color: #765132;
            font-size: .85rem;
        }

    .terms-card p {
        color: #78634e;
        line-height: 1.85;
        margin-bottom: 13px;
    }

        .terms-card p:last-child {
            margin-bottom: 0;
        }

.terms-page a:not(.btn) {
    color: #80582f;
}

    .terms-page a:not(.btn):hover {
        color: #53351f;
    }

.terms-ending {
    padding: 28px;
    border: 1px solid #d8c3a2;
    border-radius: 14px;
    background: #e8d5b5;
}

    .terms-ending > i {
        color: #a88755;
        font-size: 2rem;
    }

    .terms-ending p {
        color: #765c44;
    }

@media (max-width: 991.98px) {
    .terms-sidebar {
        position: static;
    }

    .terms-index {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .terms-hero h1 {
        font-size: 2.4rem;
    }

    .terms-index {
        grid-template-columns: 1fr;
    }

    .terms-sidebar {
        padding: 19px;
    }

    .terms-card {
        padding: 21px 18px;
    }

        .terms-card h2 {
            font-size: 1.05rem;
        }

    .terms-notice {
        padding: 16px;
    }
}
