* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: #17213a;
    background: #f6f8fc;
    line-height: 1.75;
}

.container {
    width: min(1040px, calc(100% - 36px));
    margin: auto;
}

a {
    color: inherit;
}


/* ==============================
   HEADER
============================== */

.site-header {
    background: #fff;
}

.site-header .nav {
    height: 72px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
}

.site-header .logo-image {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header .logo-image img {
    width: 230px;
    max-height: 58px;
    height: auto;
    object-fit: contain;
    display: block;
}


/* ==============================
   HERO
============================== */

.hero {
    padding: 65px 0 52px;
    background: linear-gradient(135deg, #0d1a48, #173caa);
    color: #fff;
}

.hero span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.1;
    margin: 10px 0;
    color: #fff;
}

.hero p {
    max-width: 700px;
    margin: 0;
    color: #dce5ff;
    font-size: 16px;
}


/* ==============================
   MAIN LEGAL CONTENT
============================== */

main {
    padding: 55px 0 80px;
}

.legal {
    background: #fff;
    border: 1px solid #e1e7f0;
    border-radius: 22px;
    padding: 42px;
    box-shadow: 0 16px 40px rgba(20, 40, 80, .06);
}

.notice {
    padding: 18px 20px;
    background: #f0f5ff;
    border-left: 4px solid #2754e8;
    border-radius: 10px;
    margin-bottom: 30px;
    color: #43506a;
}

.legal h2 {
    font-size: 25px;
    line-height: 1.3;
    margin: 38px 0 10px;
    color: #17213a;
}

.legal p,
.legal li {
    font-size: 15px;
    line-height: 1.75;
    color: #56627a;
}

.legal p {
    margin: 0 0 16px;
}

.legal ul,
.legal ol {
    padding-left: 22px;
}

.legal li {
    margin-bottom: 8px;
}


/* ==============================
   BUSINESS BOX
============================== */

.business {
    margin-top: 40px;
    padding: 22px;
    background: #f7f9fd;
    border-radius: 14px;
}

.business strong {
    display: block;
    color: #17213a;
}

.business p {
    margin: 5px 0;
}


/* ==============================
   TABLET
============================== */

@media (max-width: 900px) {

    .legal {
        padding: 35px;
    }

    .hero {
        padding: 55px 0 45px;
    }
}


/* ==============================
   MOBILE
============================== */

@media (max-width: 650px) {

    .container {
        width: calc(100% - 30px);
    }


    /* ---------- HEADER ---------- */

    .site-header {
        position: sticky;
        top: 0;
        z-index: 999;
        background: #fff;
    }

    .site-header .nav {
        height: 70px !important;
        min-height: 70px !important;

        padding: 0 !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 10px !important;

        position: relative;
    }


    /* Logo */

    .site-header .logo-image {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0;
    }

    .site-header .logo-image img {
        width: 175px !important;
        max-width: 175px !important;
        max-height: 52px !important;
        height: auto !important;

        display: block !important;
        object-fit: contain !important;
    }


    /* Desktop menu hidden */

    .site-header .menu {
        display: none !important;
    }


    /* Open mobile menu */

    .site-header .menu.open {
        display: flex !important;

        position: absolute !important;

        top: 70px !important;
        left: -15px !important;
        right: -15px !important;

        flex-direction: column !important;
        gap: 0 !important;

        padding: 12px 20px 18px !important;

        background: #fff !important;

        border-top: 1px solid #edf0f5;
        border-bottom: 1px solid #e4e8f0;

        box-shadow: 0 12px 25px rgba(15, 30, 65, .08);

        z-index: 1000;
    }

    .site-header .menu.open a {
        display: block;
        padding: 11px 0;
        font-size: 14px;
    }


    /* Hamburger */

    .site-header .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 42px;
        height: 42px;

        margin-left: auto !important;
        padding: 0 !important;

        border: 0 !important;
        background: transparent !important;

        color: #111827 !important;

        font-size: 27px !important;
        line-height: 1 !important;

        cursor: pointer;
    }


    /* Hide Call Us button on legal pages */

    .site-header .call-btn {
        display: none !important;
    }

    .site-header .call-btn::before,
    .site-header .call-btn::after {
        display: none !important;
        content: none !important;
    }


    /* ---------- HERO ---------- */

    .hero {
        padding: 42px 0 40px !important;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.15;
        margin: 0 0 12px;
    }

    .hero p {
        max-width: 100%;
        margin: 0;
        font-size: 15px;
        line-height: 1.65;
    }


    /* ---------- LEGAL CONTENT ---------- */

    main {
        padding: 30px 0 50px;
    }

    .legal {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .notice {
        padding: 15px 16px;
        margin-bottom: 25px;
        font-size: 14px;
        line-height: 1.65;
    }

    .legal h2 {
        font-size: 21px;
        line-height: 1.35;
        margin: 30px 0 9px;
    }

    .legal p,
    .legal li {
        font-size: 14px;
        line-height: 1.75;
    }

    .business {
        margin-top: 30px;
        padding: 18px;
        border-radius: 12px;
    }
}


/* ==============================
   SMALL MOBILE
============================== */

@media (max-width: 380px) {

    .site-header .logo-image img {
        width: 155px !important;
    }

    .hero h1 {
        font-size: 32px;
    }

    .legal {
        padding: 22px 17px;
    }
}