/*
Theme: InDreams
Page: Terms of Service
*/


/* =========================================================
   FOUNDATION
   ========================================================= */

.indreams-terms-page {
    min-height: 100vh;

    color: #f8f2e8;

    background:
        linear-gradient(
            180deg,
            #090417 0%,
            #08071e 100%
        );

    font-family: "Outfit", sans-serif;
}


.indreams-terms-shell {
    position: relative;
    z-index: 2;

    width:
        min(
            1233px,
            calc(100% - 48px)
        );

    margin:
        0 auto;
}


.indreams-terms-shell--content {
    width:
        min(
            900px,
            calc(100% - 48px)
        );
}


/* =========================================================
   HERO
   ========================================================= */

.indreams-terms-hero {
    position: relative;

    overflow: hidden;

    padding:
        162px 0 72px;

    isolation: isolate;
}


.indreams-terms-background {
    position: absolute;

    inset: 0;

    z-index: 0;

    background:
        radial-gradient(
            ellipse at 16% 30%,
            rgba(151, 17, 181, 0.35),
            transparent 50%
        ),
        radial-gradient(
            ellipse at 85% 48%,
            rgba(0, 126, 161, 0.22),
            transparent 52%
        ),
        linear-gradient(
            180deg,
            #0d031b 0%,
            #080719 100%
        );
}


.indreams-terms-stars {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    opacity: 0.52;

    background-image:
        radial-gradient(
            1px 1px at 14% 24%,
            rgba(255, 240, 190, 0.82),
            transparent
        ),
        radial-gradient(
            1px 1px at 39% 16%,
            rgba(255, 245, 205, 0.7),
            transparent
        ),
        radial-gradient(
            1.5px 1.5px at 74% 29%,
            rgba(255, 239, 188, 0.78),
            transparent
        ),
        radial-gradient(
            1px 1px at 89% 66%,
            rgba(255, 239, 190, 0.66),
            transparent
        );

    background-size:
        420px 420px;
}


.indreams-terms-title {
    max-width:
        900px;

    margin:
        0 auto;

    color:
        #f8f2e8;

    text-align:
        center;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            56px,
            7vw,
            84px
        );

    font-weight:
        500;

    letter-spacing:
        -0.035em;

    line-height:
        1;
}


/* =========================================================
   CONTENT SECTION
   ========================================================= */

.indreams-terms-content-section {
    padding:
        74px 0 100px;

    background:
        linear-gradient(
            180deg,
            #0a061b 0%,
            #080b2d 100%
        );
}


.indreams-terms-content {
    padding:
        42px 46px;

    border:
        1px solid
        rgba(216, 175, 72, 0.18);

    border-radius:
        20px;

    background:
        rgba(
            5,
            4,
            18,
            0.56
        );

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.22);
}


/* =========================================================
   TEXT
   ========================================================= */

.indreams-terms-content p {
    margin:
        0 0 20px;

    color:
        rgba(
            248,
            242,
            232,
            0.77
        );

    font-size:
        15px;

    line-height:
        1.8;
}


.indreams-terms-content p:last-child {
    margin-bottom:
        0;
}


.indreams-terms-content strong {
    color:
        #f2d494;

    font-weight:
        600;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.indreams-terms-content h2 {
    margin:
        42px 0 16px;

    color:
        #f8f2e8;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            28px,
            3vw,
            38px
        );

    font-weight:
        500;

    line-height:
        1.15;
}


.indreams-terms-content h2:first-of-type {
    margin-top:
        28px;
}


.indreams-terms-content h3 {
    margin:
        32px 0 14px;

    color:
        #e8c26b;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        25px;

    font-weight:
        500;
}


/* =========================================================
   LISTS
   ========================================================= */

.indreams-terms-content ul,
.indreams-terms-content ol {
    margin:
        0 0 22px;

    padding-left:
        24px;

    color:
        rgba(
            248,
            242,
            232,
            0.77
        );
}


.indreams-terms-content li {
    margin-bottom:
        9px;

    font-size:
        15px;

    line-height:
        1.72;
}


/* =========================================================
   LINKS
   ========================================================= */

.indreams-terms-content a {
    color:
        #d9aa48;

    text-decoration:
        underline;

    text-underline-offset:
        3px;
}


.indreams-terms-content a:hover {
    color:
        #f0ca72;
}


/* =========================================================
   BLOCKQUOTES
   ========================================================= */

.indreams-terms-content blockquote {
    margin:
        30px 0;

    padding:
        20px 24px;

    border-left:
        3px solid
        #d5a745;

    color:
        rgba(
            248,
            242,
            232,
            0.8
        );

    background:
        rgba(
            216,
            175,
            72,
            0.04
        );
}


/* =========================================================
   TABLES
   ========================================================= */

.indreams-terms-content table {
    width:
        100%;

    margin:
        28px 0;

    border-collapse:
        collapse;
}


.indreams-terms-content th,
.indreams-terms-content td {
    padding:
        12px 14px;

    border:
        1px solid
        rgba(216, 175, 72, 0.18);

    text-align:
        left;

    font-size:
        14px;

    line-height:
        1.5;
}


.indreams-terms-content th {
    color:
        #e7c271;

    background:
        rgba(
            216,
            175,
            72,
            0.05
        );
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .indreams-terms-shell,
    .indreams-terms-shell--content {
        width:
            min(
                100% - 30px,
                1233px
            );
    }


    .indreams-terms-hero {
        padding:
            54px 0 46px;
    }


    .indreams-terms-title {
        font-size:
            clamp(
                46px,
                13vw,
                62px
            );
    }


    .indreams-terms-content-section {
        padding:
            48px 0 64px;
    }


    .indreams-terms-content {
        padding:
            27px 21px;

        border-radius:
            16px;
    }


    .indreams-terms-content p,
    .indreams-terms-content li {
        font-size:
            14px;
    }


    .indreams-terms-content h2 {
        margin-top:
            34px;
    }
}