/* =========================================================
   TERMS & CONDITIONS
========================================================= */

.terms-page {
    width: 100%;
    background: #ffffff;
    color: #0B1B33;
}


/* =========================================================
   STICKY HOME BUTTON
========================================================= */

.terms-home {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 18px;

    border: 1px solid rgba(11, 27, 51, 0.12);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.92);
    color: #0B1B33;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 8px 25px rgba(11, 27, 51, 0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.terms-home:hover {
    background: #0B1B33;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   TERMS HEADER
========================================================= */

.terms-header {
    width: 100%;

    padding: 150px 24px 90px;

    background: #F8F5EE;

    text-align: center;

    box-sizing: border-box;
}

.terms-label {
    margin: 0 0 18px;

    color: #C9A227;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.terms-header h1 {
    margin: 0;

    color: #0B1B33;

    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;

    line-height: 1.05;
    letter-spacing: -0.045em;
}

.terms-date {
    margin: 22px 0 0;

    color: #6D6D6D;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   TERMS CONTENT
========================================================= */

.terms-body {
    width: min(900px, calc(100% - 48px));

    margin: 0 auto;

    padding: 90px 0 110px;

    box-sizing: border-box;
}

.terms-body h2 {
    margin: 56px 0 18px;

    color: #0B1B33;

    font-size: 24px;
    font-weight: 800;

    line-height: 1.25;
    letter-spacing: -0.02em;
}

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

.terms-body p {
    margin: 0 0 18px;

    color: #4F5560;

    font-size: 16px;
    line-height: 1.8;
}

.terms-body ul {
    margin: 22px 0 28px;

    padding-left: 24px;
}

.terms-body li {
    margin-bottom: 10px;

    color: #4F5560;

    font-size: 16px;
    line-height: 1.7;
}

.terms-body li::marker {
    color: #C9A227;
}

.terms-body a {
    color: #0B1B33;

    font-weight: 700;

    text-decoration-color: #C9A227;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;

    transition: color 0.2s ease;
}

.terms-body a:hover {
    color: #C9A227;
}


/* =========================================================
   FOOTER SPACING
========================================================= */

.terms-page + .footer {
    margin-top: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .terms-home {
        top: 18px;
        left: 18px;

        padding: 10px 15px;

        font-size: 13px;
    }

    .terms-header {
        padding: 125px 20px 70px;
    }

    .terms-body {
        width: min(100% - 40px, 700px);

        padding: 70px 0 90px;
    }

    .terms-body h2 {
        margin-top: 48px;

        font-size: 22px;
    }

    .terms-body p,
    .terms-body li {
        font-size: 15px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .terms-home {
        top: 14px;
        left: 14px;

        padding: 9px 13px;

        font-size: 12px;
    }

    .terms-header {
        padding: 105px 18px 55px;
    }

    .terms-label {
        margin-bottom: 14px;

        font-size: 10px;
    }

    .terms-header h1 {
        font-size: 40px;

        letter-spacing: -0.04em;
    }

    .terms-date {
        margin-top: 16px;

        font-size: 12px;
    }

    .terms-body {
        width: calc(100% - 36px);

        padding: 55px 0 70px;
    }

    .terms-body h2 {
        margin-top: 42px;
        margin-bottom: 15px;

        font-size: 20px;
    }

    .terms-body p,
    .terms-body li {
        font-size: 14px;
        line-height: 1.75;
    }

    .terms-body ul {
        padding-left: 20px;
    }

}