body {
    background: #ffffff;
    color: #12162a;
    font-family: "proxima-nova", "Segoe UI", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    display: block;
    letter-spacing: 0;
}

p {
    color: #38405d;
}

a {
    color: #253e92;
}

.landing-hero,
main,
footer {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.landing-hero {
    background: #dfe6f5;
    background-image: linear-gradient(90deg, rgba(223, 230, 245, 0.96) 0%, rgba(223, 230, 245, 0.92) 48%, rgba(223, 230, 245, 0.72) 70%, rgba(223, 230, 245, 0.16) 100%), url(../images/banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    overflow: visible;
}

#intro {
    max-width: 1420px;
    margin: 0 auto;
    padding: 74px 42px 178px;
}

#intro .site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

#intro nav a,
#intro nav a:hover {
    text-decoration: none;
}

#intro nav #logo {
    width: 556px;
    float: none;
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
}

#intro nav #logo h1 {
    visibility: hidden;
    max-width: 0;
    max-height: 0;
}

#intro nav .nav {
    float: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

#intro nav .nav-primary {
    display: flex !important;
    align-items: center;
    gap: 38px;
}

#intro nav .nav-primary li {
    float: none;
    margin: 0;
    color: #12162a;
    font-size: 14px;
    font-weight: 800;
}

#intro nav .nav-primary li a {
    padding: 0;
    color: #12162a;
}

#intro .intro-text {
    display: block;
    max-width: 620px;
    padding: 170px 0 0;
}

#intro .intro-text h1 {
    max-width: none;
    margin: 0 0 28px;
    padding: 0;
    color: #15182b;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.08;
    text-align: left;
    word-wrap: normal;
}

#intro .intro-text p {
    max-width: 590px;
    margin: 0 0 26px;
    color: #3d4563;
    font-size: 14px;
    line-height: 1.5;
}

#intro .intro-text a {
    display: inline-block;
    position: relative;
    color: #253e92;
    font-size: 12px;
    font-weight: 800;
    text-transform: lowercase;
}

#intro .intro-text a:hover,
#products .row a:hover,
.range-link a:hover {
    text-decoration: none;
}

#intro .intro-text a:after,
#products .row a:after,
.range-link a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    background: #253e92;
    transition: transform 0.18s ease;
}

#intro .intro-text a:hover:after,
#products .row a:hover:after,
.range-link a:hover:after {
    transform: translateY(3px);
}

main {
    background: #e9eef8;
}

#products,
footer {
    padding: 0 42px;
}

#products .row a,
.range-link a {
    position: relative;
    color: #253e92;
    font-size: 12px;
    font-weight: 800;
}

#products .range-link a {
    display: inline-block;
    margin-top: 0;
    padding: 0;
    color: #253e92;
    background: transparent;
    border-radius: 0;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

#products {
    padding-top: 96px;
    padding-bottom: 94px;
    background: linear-gradient(180deg, #f8fbff 0%, #e8eef8 100%);
}

#products > h2 {
    max-width: 1460px;
    margin: 0 auto 58px;
    color: #15182b;
    font-size: 24px;
    font-weight: 800;
}

#products .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 62px 48px;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0;
}

#products .row:before,
#products .row:after {
    display: none;
}

#products .col-md-4 {
    width: auto;
    float: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 0;
}

#products .margin-top-40 {
    margin-top: 0;
}

#products .col-md-4 img {
    width: 72%;
    max-width: 100%;
    max-height: 210px;
    margin: 0 auto 8px;
    display: block;
    object-fit: contain;
}

#products .col-md-4 h2,
#products .col-md-4 p {
    display: block;
    text-align: left;
}

#products .product-copy {
    width: 100%;
    padding: 26px 30px 35px;
    background: #ffffff;
    box-shadow: 0 22px 42px rgba(37, 62, 146, 0.12);
}

#products .col-md-4 h2 {
    margin: 0 0 4px;
    padding: 0;
    color: #15182b;
    font-size: 19px;
    font-weight: 800;
}

#products .col-md-4 p {
    margin: 0;
    min-height: 0;
    padding: 0;
    color: #39415e;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    line-height: 1.42;
}

#products .col-md-4 p a {
    display: inline-block;
    margin-top: 12px;
    color: #253e92;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.range-link {
    max-width: 1460px;
    margin: 58px auto 0;
    text-align: right;
}

footer {
    background: #ffffff;
    box-shadow: none;
}

footer .row {
    max-width: 1460px;
    margin: 0 auto;
    padding: 42px 0;
    border-top: 1px solid #e4e9f2;
}

footer img {
    max-width: 160px;
    display: block;
    float: right;
    margin: 0 0 22px;
}

footer h2 {
    margin: 0 0 14px;
    color: #15182b;
    font-size: 15px;
    font-weight: 800;
}

footer p {
    color: #39415e;
    font-size: 13px;
    line-height: 1.6;
}

footer a {
    color: #253e92;
}

@media (max-width: 1280px) {
    #products,
    footer {
        padding-left: 54px;
        padding-right: 54px;
    }

    #intro {
        padding-left: 54px;
        padding-right: 54px;
    }

    #intro nav .nav-primary {
        gap: 20px;
    }

    #products .row {
        gap: 48px 42px;
    }
}

@media (max-width: 900px) {
    #intro {
        padding-top: 42px;
    }

    #intro .intro-text {
        padding-top: 96px;
    }

    #intro nav #logo {
        width: 50%;
        min-height: 58px;
        max-width: 500px;
    }

    #products .row,
    footer .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #intro,
    #products,
    footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    #intro {
        padding-bottom: 96px;
    }

    #intro nav #logo {
        width: 300px;
        min-height: 34px;
    }

    #intro nav .nav-primary {
        gap: 18px;
    }

    #intro nav .nav-primary li {
        font-size: 14px;
    }

    #intro .intro-text h1 {
        font-size: 34px;
    }

    #products .col-md-4 {
        align-items: flex-start;
    }

    #products .col-md-4 img {
        width: 190px;
    }

    #products .row {
        grid-template-columns: 1fr;
    }

    footer img {
        float: none;
    }
}

@media (max-width: 500px) {
    #intro nav .nav-primary li:first-child {
        display: none;
    }
}
