/* ==========================================================
   STELLA SPECTRUM
   TERMS OF USE
   ========================================================== */


/* ==========================================================
   PAGE
   ========================================================== */

.terms-site {
    background: #f7f5ef;
}

.terms-main {
    width: 100%;
    overflow: clip;
}



/* ==========================================================
   HEADER — OVER TERMS HERO
   ========================================================== */

.terms-site .site-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 20;

    background: transparent;
}


.terms-site .header-inner {
    background: transparent;
}


.terms-site .main-nav a {
    color: rgba(38, 61, 76, 0.76);
}


.terms-site .header-button {
    color: #263d4c;

    border-color: rgba(38, 61, 76, 0.48);

    background: transparent;
}


.terms-site .header-button:hover {
    color: #ffffff;

    background: #263d4c;

    border-color: #263d4c;
}


.terms-site .menu-button span {
    background: #263d4c;
}



/* ==========================================================
   HERO
   ========================================================== */

.terms-hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background-image:
        url("../images/terms-hero-bg.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


.terms-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(247, 245, 239, 0.96) 0%,
            rgba(247, 245, 239, 0.86) 32%,
            rgba(247, 245, 239, 0.40) 55%,
            rgba(247, 245, 239, 0.06) 78%,
            transparent 100%
        );

    pointer-events: none;
}


.terms-hero-inner {
    position: relative;

    z-index: 3;

    width: min(1240px, calc(100% - 80px));

    margin: 0 auto;

    padding:
        clamp(220px, 19vh, 240px)
        0
        clamp(90px, 10vh, 125px);
}


.terms-hero h1 {
    margin: 0;

    max-width: 900px;

    font-size: clamp(4.4rem, 8vw, 8.4rem);
    line-height: 0.87;
    letter-spacing: -0.065em;

    font-weight: 500;

    color: #0b1c28;
}


.terms-hero h1 span {
    display: block;

    color: #b78b45;

    font-weight: 400;
    font-style: italic;
}


.terms-hero-copy {
    max-width: 660px;

    margin: 46px 0 0;

    font-size: clamp(1.05rem, 1.25vw, 1.28rem);
    line-height: 1.75;

    color: rgba(11, 28, 40, 0.72);
}


.terms-meta {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 48px;

    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: rgba(11, 28, 40, 0.52);
}


.terms-meta i {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #b78b45;
}



/* ==========================================================
   CONTENT LAYOUT
   ========================================================== */

.terms-content-section {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #f7f5ef 0%,
            #fbfaf7 35%,
            #f7f5ef 100%
        );
}


.terms-layout {
    width: min(1240px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(210px, 270px)
        minmax(0, 780px);

    justify-content: space-between;

    gap: clamp(70px, 9vw, 150px);

    padding:
        clamp(90px, 10vw, 150px)
        0
        clamp(110px, 12vw, 180px);
}



/* ==========================================================
   SIDEBAR
   ========================================================== */

.terms-sidebar {
    position: relative;
}


.terms-sidebar-inner {
    position: sticky;

    top: 130px;

    padding-top: 4px;
}


.terms-sidebar-label {
    display: block;

    margin-bottom: 27px;

    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.24em;

    color: #b18b4f;
}


.terms-sidebar nav {
    display: flex;
    flex-direction: column;

    border-left:
        1px solid rgba(14, 31, 43, 0.13);
}


.terms-sidebar a {
    position: relative;

    padding: 7px 0 7px 22px;

    font-size: 0.78rem;
    line-height: 1.35;

    color: rgba(10, 25, 36, 0.52);

    text-decoration: none;

    transition:
        color 180ms ease,
        transform 180ms ease;
}


.terms-sidebar a::before {
    content: "";

    position: absolute;

    width: 1px;
    height: 0;

    left: -1px;
    top: 50%;

    background: #c49a58;

    transition:
        height 180ms ease,
        top 180ms ease;
}


.terms-sidebar a:hover {
    color: #0b1b27;

    transform: translateX(3px);
}


.terms-sidebar a:hover::before {
    height: 100%;

    top: 0;
}



/* ==========================================================
   TERMS CONTENT
   ========================================================== */

.terms-policy {
    min-width: 0;
}


.policy-section {
    position: relative;

    scroll-margin-top: 150px;

    padding:
        0
        0
        clamp(68px, 7vw, 95px);

    margin:
        0
        0
        clamp(68px, 7vw, 95px);

    border-bottom:
        1px solid rgba(10, 28, 40, 0.11);
}


.policy-section:last-of-type {
    margin-bottom: 0;
}


.policy-number {
    display: block;

    margin-bottom: 20px;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;

    color: #bc9556;
}


.policy-section h2 {
    max-width: 700px;

    margin:
        0
        0
        34px;

    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;

    font-weight: 500;

    color: #0b1c28;
}


.policy-section p {
    max-width: 720px;

    margin:
        0
        0
        22px;

    font-size: clamp(0.98rem, 1.1vw, 1.08rem);
    line-height: 1.85;

    color: rgba(10, 26, 38, 0.72);
}


.policy-section p:last-child {
    margin-bottom: 0;
}


.policy-section ul {
    max-width: 700px;

    margin:
        27px
        0
        30px;

    padding: 0;

    list-style: none;
}


.policy-section li {
    position: relative;

    padding:
        8px
        0
        8px
        30px;

    font-size: clamp(0.96rem, 1.05vw, 1.05rem);
    line-height: 1.7;

    color: rgba(10, 26, 38, 0.72);
}


.policy-section li::before {
    content: "";

    position: absolute;

    left: 2px;
    top: 1.05em;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #c59a58;
}


.policy-emphasis {
    font-size:
        clamp(1.2rem, 1.6vw, 1.5rem) !important;

    line-height: 1.55 !important;

    font-weight: 500;

    color: #0b1c28 !important;
}



/* ==========================================================
   GOOD TO KNOW
   ========================================================== */

.policy-note {
    position: relative;

    max-width: 700px;

    margin-top: 42px;

    padding:
        30px
        34px
        31px;

    background: #0b1b27;

    border-radius: 2px;

    overflow: hidden;
}


.policy-note::before {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    right: -55px;
    top: -55px;

    border-radius: 50%;

    border:
        1px solid rgba(207, 171, 103, 0.25);
}


.policy-note-label {
    display: block;

    margin-bottom: 11px;

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;

    color: #d0aa66;
}


.policy-note p {
    margin: 0;

    max-width: 590px;

    font-size: 0.98rem;
    line-height: 1.7;

    color: rgba(255,255,255,0.78);
}



/* ==========================================================
   POLICY LINK
   ========================================================== */

.policy-link {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 10px;

    padding-bottom: 7px;

    border-bottom:
        1px solid rgba(175,136,75,.55);

    color: #9c773e;

    font-size: .92rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 180ms ease,
        gap 180ms ease,
        border-color 180ms ease;
}


.policy-link:hover {
    gap: 19px;

    color: #0b1c28;

    border-color: #0b1c28;
}



/* ==========================================================
   CONTACT CARD
   ========================================================== */

.terms-contact-card {
    position: relative;

    max-width: 700px;

    margin-top: 40px;

    padding:
        clamp(32px, 4vw, 48px);

    background:
        linear-gradient(
            135deg,
            #0a1822,
            #0d2230
        );

    overflow: hidden;
}


.terms-contact-card::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -105px;
    bottom: -120px;

    border-radius: 50%;

    border:
        1px solid rgba(205,168,97,.24);

    box-shadow:
        0 0 0 40px rgba(205,168,97,.025),
        0 0 0 80px rgba(205,168,97,.018);

    pointer-events: none;
}


.terms-contact-kicker {
    display: block;

    margin-bottom: 20px;

    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .24em;

    color: #d0aa66;
}


.terms-contact-card h3 {
    position: relative;

    z-index: 2;

    margin:
        0
        0
        22px;

    font-size:
        clamp(1.5rem, 2.5vw, 2.15rem);

    font-weight: 500;

    letter-spacing: -.035em;

    color: #ffffff;
}


.terms-contact-card a {
    position: relative;

    z-index: 2;

    display: block;

    width: fit-content;

    margin-top: 10px;

    color: #d6b271;

    font-size: .96rem;

    text-decoration: none;

    transition: color 180ms ease;
}


.terms-contact-card a:hover {
    color: #ffffff;
}



/* ==========================================================
   CLOSING
   ========================================================== */

.terms-closing {
    position: relative;

    margin-top: 90px;

    padding:
        55px
        0
        15px;

    border-top:
        1px solid rgba(10,28,40,.15);
}


.terms-closing > span {
    display: block;

    margin-bottom: 20px;

    color: #b38b4d;

    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .26em;
}


.terms-closing p {
    margin: 0;

    color: #0b1c28;

    font-size:
        clamp(2rem, 3.5vw, 3.5rem);

    line-height: 1.12;

    letter-spacing: -.045em;
}



/* ==========================================================
   FLOATING NAVIGATION
   ========================================================== */

.terms-site .floating-nav {
    position: fixed;

    z-index: 9000;

    top: 18px;
    left: 50%;

    width: auto;

    transform:
        translate(-50%, -18px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .28s ease,
        transform .28s ease,
        visibility .28s ease;
}


.terms-site .floating-nav.is-visible {
    transform:
        translate(-50%, 0);

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.terms-site .floating-nav-inner {
    width: auto;

    min-height: 54px;

    padding:
        7px
        9px
        7px
        25px;

    display: flex;
    align-items: center;

    gap: 29px;

    border:
        1px solid rgba(82,103,119,.14);

    border-radius: 34px;

    background:
        rgba(245,248,250,.88);

    box-shadow:
        0 12px 35px rgba(23,43,56,.12);

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}


.terms-site
.floating-nav-inner
> a:not(.floating-nav-button) {

    position: relative;

    padding:
        18px
        0
        16px;

    color: #173244;

    font-size: 8px;
    font-weight: 600;
    letter-spacing: .18em;

    text-transform: uppercase;
    white-space: nowrap;
}


.terms-site
.floating-nav-inner
> a:not(.floating-nav-button)::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 8px;

    width: 0;
    height: 1px;

    transform: translateX(-50%);

    background: #c89527;

    transition: width .25s ease;
}


.terms-site
.floating-nav-inner
> a:not(.floating-nav-button):hover::after {
    width: 28px;
}


.terms-site .floating-nav-button {
    min-width: 128px;
    height: 40px;

    padding:
        0
        17px
        0
        20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border:
        1px solid #c89527;

    border-radius: 25px;

    color: #173244;

    background:
        rgba(255,255,255,.38);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;

    text-transform: uppercase;
    white-space: nowrap;
}


.terms-site .floating-nav-button:hover {
    background:
        rgba(200,149,39,.08);
}


.terms-site
.floating-nav-button
span:last-child {

    color: #b98216;

    font-size: 14px;
}



/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .terms-site .floating-nav {
        display: none;
    }


    .terms-hero-inner,
    .terms-layout {

        width:
            min(100% - 56px, 920px);
    }


    .terms-layout {

        grid-template-columns:
            minmax(180px, 210px)
            minmax(0, 1fr);

        gap: 55px;
    }


    .terms-sidebar-inner {
        top: 100px;
    }

}



/* ==========================================================
   TABLET / MOBILE
   ========================================================== */

@media (max-width: 820px) {

    .terms-hero {
        min-height: 580px;

        background-position:
            58% center;
    }


    .terms-hero::before {

        background:
            linear-gradient(
                90deg,
                rgba(247,245,239,.96) 0%,
                rgba(247,245,239,.88) 48%,
                rgba(247,245,239,.45) 75%,
                rgba(247,245,239,.15) 100%
            );
    }


    .terms-hero-inner {

        width:
            calc(100% - 44px);

        padding:
            165px
            0
            75px;
    }


    .terms-hero h1 {

        font-size:
            clamp(4rem, 15vw, 6rem);
    }


    .terms-hero-copy {
        margin-top: 34px;
    }


    .terms-meta {

        flex-wrap: wrap;

        gap: 11px 14px;

        margin-top: 36px;
    }


    .terms-layout {

        width:
            calc(100% - 44px);

        display: block;

        padding:
            75px
            0
            110px;
    }


    .terms-sidebar {
        display: none;
    }


    .policy-section {

        scroll-margin-top: 100px;

        padding-bottom: 62px;

        margin-bottom: 62px;
    }


    .policy-section h2 {
        margin-bottom: 26px;
    }


    .terms-closing {
        margin-top: 65px;
    }

}



/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 560px) {

    .terms-hero {
        min-height: 540px;

        background-position:
            62% center;
    }


    .terms-hero::before {

        background:
            linear-gradient(
                90deg,
                rgba(247,245,239,.97) 0%,
                rgba(247,245,239,.90) 60%,
                rgba(247,245,239,.52) 100%
            );
    }


    .terms-hero-inner {

        width:
            calc(100% - 36px);

        padding:
            145px
            0
            60px;
    }


    .terms-hero h1 {

        font-size:
            clamp(3.7rem, 19vw, 5.2rem);
    }


    .terms-hero-copy {

        margin-top: 29px;

        font-size: .98rem;

        line-height: 1.65;
    }


    .terms-meta {

        align-items: flex-start;
        flex-direction: column;

        font-size: .68rem;

        line-height: 1.5;
    }


    .terms-meta i {
        display: none;
    }


    .terms-layout {

        width:
            calc(100% - 36px);

        padding:
            64px
            0
            90px;
    }


    .policy-number {
        margin-bottom: 15px;
    }


    .policy-section {

        padding-bottom: 52px;

        margin-bottom: 52px;
    }


    .policy-section h2 {

        font-size:
            clamp(1.8rem, 9vw, 2.35rem);
    }


    .policy-section p {

        font-size: .96rem;

        line-height: 1.75;
    }


    .policy-section li {

        padding-left: 25px;

        font-size: .94rem;
    }


    .policy-note {

        padding:
            26px
            25px;
    }


    .terms-contact-card {

        padding:
            30px
            25px;
    }


    .terms-contact-card h3 {
        font-size: 1.55rem;
    }


    .terms-contact-card a {
        overflow-wrap: anywhere;
    }


    .terms-closing {

        margin-top: 55px;

        padding-top: 42px;
    }


    .terms-closing p {

        font-size:
            clamp(1.8rem, 10vw, 2.7rem);
    }

}



/* ==========================================================
   VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 380px) {

    .terms-hero-inner,
    .terms-layout {

        width:
            calc(100% - 28px);
    }


    .terms-hero h1 {
        font-size: 3.45rem;
    }


    .terms-contact-card {

        padding:
            27px
            21px;
    }

}



/* ==========================================================
   LARGE / 4K DISPLAYS
   ========================================================== */

@media (min-width: 1900px) {

    .terms-hero-inner,
    .terms-layout {

        width:
            min(1440px, calc(100% - 120px));
    }


    .terms-layout {

        grid-template-columns:
            300px
            860px;

        gap: 180px;
    }


    .terms-hero h1 {
        font-size: 9rem;
    }


    .terms-hero-copy {

        max-width: 720px;

        font-size: 1.32rem;
    }


    .policy-section p {
        max-width: 780px;
    }


    .policy-section ul {
        max-width: 760px;
    }

}

.footer-certificate-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-certificate-link:hover {
    color: var(--gold);
}