/* =========================================
   GLOBAL
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;

    background: #f7f7f7;
    color: #222222;

    line-height: 1.7;
}


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

.site-header {
    width: 100%;
    background: #ffffff;
    color: #111111;

    border-bottom: 1px solid #eeeeee;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;

    padding: 14px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.logo img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar nav a {
    color: #000000;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: color 0.2s ease;
}

.navbar nav a:hover {
    color: #b20710;

    text-decoration: underline;
}


/* =========================================
   MENU BUTTON
========================================= */

.menu-toggle {
    display: none;

    border: 0;
    outline: none;

    background: transparent;
    color: #000000;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================
   TERMS PAGE
========================================= */

.terms-page {
    width: 100%;

    padding: 55px 20px 80px;
}

.terms-container {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    padding: 50px;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06);
}


/* =========================================
   PAGE HEADER
========================================= */

.page-header {
    padding-bottom: 35px;
    margin-bottom: 35px;

    border-bottom: 1px solid #000000;
}

.page-label {
    display: inline-block;

    margin-bottom: 10px;

    color: #000000;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.page-header h1 {
    margin: 0 0 15px;

    color: #111111;

    font-size: 42px;
    font-weight: 700;

    line-height: 1.2;
}

.page-introduction {
    max-width: 720px;

    margin: 0 0 12px;

    color: #222222;

    font-size: 17px;
}

.last-updated {
    margin: 0;

    color: #555555;

    font-size: 13px;
}


/* =========================================
   TERMS SECTIONS
========================================= */

.terms-section {
    padding: 30px 0;

    border-bottom: 1px solid #dddddd;
}

.terms-section:first-of-type {
    padding-top: 0;
}

.terms-section:last-of-type {
    border-bottom: 0;
}

.terms-section h2 {
    margin: 0 0 15px;

    color: #111111;

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

    line-height: 1.35;
}

.terms-section p {
    margin: 0 0 14px;

    color: #444444;

    font-size: 15px;

    line-height: 1.7;
}

.terms-section p:last-child {
    margin-bottom: 0;
}


/* =========================================
   LISTS
========================================= */

.terms-section ul {
    margin: 10px 0 0;
    padding-left: 25px;
}

.terms-section ol {
    margin: 10px 0 0;
    padding-left: 25px;
}

.terms-section li {
    margin-bottom: 8px;

    color: #444444;

    font-size: 15px;
}

.terms-section li:last-child {
    margin-bottom: 0;
}


/* =========================================
   LINKS
========================================= */

.terms-section a {
    color: #0645ad;

    text-decoration: underline;

    transition: color 0.2s ease;
}

.terms-section a:hover {
    color: #002b75;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    text-align: left;
}

.contact-button {
    display: inline-block;

    margin-top: 10px;

    padding: 11px 20px;

    background: #111111;
    color: #ffffff !important;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.contact-button:hover {
    background: #333333;
    color: #ffffff !important;
}


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

footer {
    padding: 38px 20px 25px;

    background: #ffffff;

    border-top: 1px solid #dddddd;

    text-align: center;
}

.footer-content {
    max-width: 700px;

    margin: auto;
}

footer h3 {
    color: #000000;

    font-size: 20px;

    margin-bottom: 7px;
}

footer p {
    color: #333333;

    font-size: 13px;

    margin-bottom: 7px;
}

/* =========================================
   COPYRIGHT
========================================= */

footer .copyright {
    display: block;
    width: 100%;

    margin: 20px 0 0;
    padding-top: 18px;

    border-top: 1px solid #dddddd;

    color: #0b0b0b;

    font-size: 12px;

    text-align: center !important;

    line-height: 1.5;
}

.footer-links {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    margin: 18px 0;
}

.footer-links a {
    color: #000000;

    text-decoration: none;

    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e50914;
}



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

@media (max-width: 900px) {

    .navbar {
        padding: 12px 18px;
    }

    .menu-toggle {
        display: block;
    }

    .navbar nav {
        position: absolute;

        top: 64px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: #ffffff;

        border-top: 1px solid #eeeeee;

        box-shadow:
            0 5px 15px rgba(0, 0, 0, 0.08);

        z-index: 9999;
    }

    .navbar nav.active {
        display: flex;
    }

    .navbar nav a {
        width: 100%;

        padding: 14px 20px;

        border-bottom: 1px solid #eeeeee;

        color: #000000;
    }

    .navbar nav a:hover {
        background: #f7f7f7;

        color: #b20710;
    }


    /* Terms */

    .terms-container {
        padding: 35px 25px;
    }

    .page-header h1 {
        font-size: 34px;
    }


    /* Footer */

    footer {
        padding: 35px 20px 20px;
    }

    .footer-links {
        gap: 10px 20px;
    }
}


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

@media (max-width: 600px) {

    .terms-page {
        padding: 25px 12px 50px;
    }

    .terms-container {
        padding: 25px 18px;

        border-radius: 7px;
    }


    /* Page header */

    .page-header {
        padding-bottom: 25px;

        margin-bottom: 20px;
    }

    .page-header h1 {
        font-size: 29px;
    }

    .page-introduction {
        font-size: 15px;
    }


    /* Terms */

    .terms-section {
        padding: 23px 0;
    }

    .terms-section h2 {
        font-size: 21px;
    }

    .terms-section p,
    .terms-section li {
        font-size: 14px;
    }


    /* Footer */

    footer {
        padding: 30px 16px 20px;
    }

    footer h3 {
        font-size: 21px;
    }

    footer > p {
        font-size: 13px;
    }

    .footer-links {
        flex-direction: column;

        gap: 12px;

        margin: 20px 0;
    }

    .footer-links a {
        font-size: 14px;
    }

    footer .copyright {
        font-size: 12px;
        text-align: center;
        color: #0b0b0b;
        padding-top: 18px;
        margin-top: 20px;
    }
}


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

@media (max-width: 480px) {

    .navbar {
        padding: 10px 14px;
    }

    .menu-toggle {
        font-size: 26px;
    }

    .terms-page {
        padding: 20px 10px 40px;
    }

    .terms-container {
        padding: 22px 16px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .page-label {
        font-size: 12px;
    }

    .page-introduction {
        font-size: 14px;
    }

    .last-updated {
        font-size: 12px;
    }

    .terms-section h2 {
        font-size: 20px;
    }

    .terms-section p,
    .terms-section li {
        font-size: 14px;
    }

    footer {
        padding: 28px 14px 18px;
    }

    footer h3 {
        font-size: 20px;
    }

    .footer-links {
        gap: 10px;
    }
}