.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

html {
    height: 100%;
}

html, body {
    padding: 0;
    margin: 0;
    font-family: var(--font-body);
    color: black;
}

body {
    overflow-x: hidden;
    min-height: 100%;
    position: relative;
}

body img {
    max-width: 100%;
}

.tablet-only {
    display: none;
}

/* ─── Main page ─────────────────────────────────────────── */

.main-page section {
    overflow-x: hidden;
}

.main-page section .content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
}

.main-page section .content-wrapper .content {
    width: 100%;
    flex: 1;
    margin: auto 0;
}

.main-page section .content-wrapper .content .logo {
    margin: 30px 0 45px;
}

.main-page section .content-wrapper .content .content-title {
    font-weight: 900;
    font-size: 48px;
    line-height: 58px;
    margin-bottom: 38px;
}

.main-page section .content-wrapper .content .content-text {
    font-size: 17px;
    line-height: 26px;
    color: #4F4F4F;
    margin-bottom: 45px;
}

.main-page section .content-wrapper .content .app-store-link:hover {
    opacity: .9;
}

.main-page section .content-wrapper .banner {
    position: relative;
    width: 100%;
    margin-top: 5%;
    flex: 0 0 50%;
}

/* Single-image banners only; .banner-phones handles its own layout */
.main-page section .content-wrapper .banner > img {
    margin-left: 10%;
}

.main-page section .content-wrapper .banner::before {
    content: "";
    position: absolute;
    width: 489.6px;
    height: 680px;
    left: calc(50% - 489.6px / 2 - 0px);
    top: calc(50% - 680px / 2);
    background: #BFDBFE;
    filter: blur(400px);
    z-index: -1;
}

.main-page section .content-wrapper .banner .bg {
    position: fixed;
    width: 100%;
    background: #EDEDED;
    top: 0;
    height: 100%;
    z-index: -1;
    margin-left: 265px;
}

.main-page section .text-container {
    margin-top: 70px;
}

.main-page section .text-container .title {
    font-weight: bold;
    margin-bottom: 30px;
}

.main-page section .text-container h2 {
    margin: 40px 0 20px;
    font-size: 20px;
    font-weight: bold;
}

/* ─── Footer ─────────────────────────────────────────────── */

.main-page footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: left;
    padding: 30px 0;
}

.main-page footer .menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-page footer .menu li {
    display: inline-block;
    border-right: 1px solid #6C6C6C;
    padding: 0 10px;
}

.main-page footer .menu li a {
    display: block;
    text-decoration: none;
    color: #6C6C6C;
    font-size: 18px;
    line-height: 25px;
}

.main-page footer .menu li a:hover {
    color: #5d5d5d;
}

.main-page footer .menu li:first-child {
    padding-left: 0;
}

.main-page footer .menu li:last-child {
    padding-right: 0;
    border: none;
}

/* ─── Terms / Privacy pages ──────────────────────────────── */

.terms header {
    padding: 10px 0;
    background: #F4F4F4;
}

.terms header .logo img {
    height: 64px;
}

.terms .text-container {
    margin-top: 70px;
    color: #808080;
}

.terms .text-container .title {
    font-weight: 600;
    font-size: 46px;
    line-height: 55px;
    color: #1A1919;
    margin-bottom: 25px;
}

.terms .text-container h2 {
    margin: 45px 0 25px;
    font-size: 32px;
    line-height: 38px;
    color: #1A1919;
}

.terms footer {
    padding: 30px 0;
}

.terms footer .menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.terms footer .menu li {
    display: inline-block;
    border-right: 1px solid #6C6C6C;
    padding: 0 10px;
}

.terms footer .menu li a {
    display: block;
    text-decoration: none;
    color: #1A1919;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
}

.terms footer .menu li a:hover {
    color: #5d5d5d;
}

.terms footer .menu li:first-child {
    padding-left: 0;
}

.terms footer .menu li:last-child {
    padding-right: 0;
    border: none;
}

/* ─── Tablet (≤992px) ────────────────────────────────────── */

@media only screen and (max-width: 992px) {
    .desktop-only {
        display: none;
    }

    .main-page section .content-wrapper {
        flex-direction: column;
        min-height: 100vh;
    }

    .main-page section .content-wrapper .content {
        width: 100%;
    }

    .main-page section .content-wrapper .content .logo {
        margin: 30px 0 70px;
    }

    .main-page section .content-wrapper .content .logo img {
        height: 75px;
    }

    .main-page section .content-wrapper .content .content-title {
        font-size: 42px;
        line-height: 50px;
        text-align: center;
        margin-bottom: 30px;
    }

    .main-page section .content-wrapper .content .content-text {
        font-size: 15px;
        line-height: 26px;
        text-align: center;
        color: #4F4F4F;
        margin-bottom: 35px;
    }

    .main-page section .content-wrapper .content .button-holder {
        margin-bottom: 50px;
        text-align: center;
    }

    .main-page section .content-wrapper .banner {
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    .main-page section .content-wrapper .banner > img {
        width: 100%;
        margin-left: 0;
    }

    .main-page section .content-wrapper .banner::before {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }

    .main-page section .content-wrapper .banner .bg {
        position: absolute;
        width: 100%;
        left: 0;
        top: auto;
        height: 300px;
        margin-left: 0;
        margin-top: 95px;
    }

    .main-page section .content-wrapper .banner .tablet-only {
        display: inline-block;
    }

    .main-page footer {
        display: none;
        position: initial;
        text-align: center;
    }
}

/* ─── Mobile (≤767px) ────────────────────────────────────── */

@media only screen and (max-width: 767px) {
    .main-page section .content-wrapper .content .logo {
        margin: 15px 0 40px;
    }

    .main-page section .content-wrapper .content .logo img {
        height: 55px;
    }

    .main-page section .content-wrapper .content .content-title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 20px;
    }

    .main-page section .content-wrapper .content .content-text {
        font-size: 14px;
        line-height: 26px;
        margin-bottom: 25px;
    }

    .main-page section .content-wrapper .content .button-holder {
        margin-bottom: 40px;
    }

    .main-page section .content-wrapper .content .button-holder img {
        max-width: 150px;
    }

    .main-page section .content-wrapper .banner > img {
        height: auto;
        width: 100%;
        margin-left: 0;
    }

    .main-page section .content-wrapper .banner .bg {
        position: absolute;
        width: 100%;
        left: 0;
        top: auto;
        height: 250px;
        margin-left: 0;
        margin-top: 30px;
    }
}
