html {
    scroll-behavior: smooth;
}

.body {
    font-family: 'Barlow', sans-serif;
}

h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-style: italic;
}

h2 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 300;
}

h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-style: italic;
}

h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
}

/* * {
    border: 1px solid red;
} */

.button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 900;
    font-size: 23px;
    line-height: 1.2;
    color: #FFFFFF;;
    padding: 0 15px;
    border-radius: 100px;
    height: 63px;
    background: #1d4b2f;
    max-width: 173px;
    width: 100%;
    transition: opacity .3s;
}

.button:hover {
    text-decoration: none;
    color: #FFFFFF;;
    opacity: .8;
}

.button-1 {
    border: 2px solid transparent;
    border-radius: 6px;
    font-weight: 400;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.button-1:hover {
    background: rgba(0, 25, 15, 0.05);
    border: 2px solid #1d4b2f;
    color: #e85d04;
    opacity: 1;
}

.button-2 {
    background: linear-gradient(60deg, #e85d04 40%, #e800a5);
    font-size: 30px;
    font-weight: 400;
    max-width: 389px;
    height: 75px;
    border-radius: 6px;
}

.button-3 {
    background: linear-gradient(60deg, #e85d04 40%, #e800a5);
    font-size: 30px;
    font-weight: 400;
    max-width: 350px;
    height: 70px;
    border-radius: 6px;
}

.button-4 {
    background: transparent;
    border: 2px solid #1d4b2f;
    border-radius: 6px;
    color: #1d4b2f;
    font-weight: 400;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.button-4:hover {
    background: rgba(0, 25, 15, 0.05);
    border-color: rgba(29, 75, 47, 0.4);
    color: #e85d04;
    opacity: 1;
}

.header .top {
    padding: 15px 0;
}

.header .top .row {
    align-items: center;
}

.header .top .logo {
    width: 160px;
    display: block;
}

.header .top .logo img {
    width: 100%;
}

.header .top .button {
    height: 40px;
    font-size: 19px;
    max-width: 130px;
}

.header .hero {
    min-height: 540px;
    background: url("img/header-img-5.png") no-repeat center center / contain;
    position: relative;
}

.header .hero .container {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}

.header .hero .col-12 {
    display: flex;
    justify-content: center;
}

.header .hero .title {
    font-weight: 900;
    font-size: 56px;
    line-height: 1.15;
    color: #1d4b2f;
    max-width: 640px;
    margin-bottom: 40px;
}

.header .nav-link {
    color: #413b3e;
}

.header .nav-link:hover {
    color: #413b3e;
}

.main .info {
    padding: 60px 0;
    text-align: center;
}

.main .info h2 {
    font-weight: 900;
    font-size: 45px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1d4b2f;
}

.main .info p {
    max-width: 950px;
    margin: 0 auto;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.4;
    color: #413b3e;
}

.main .next-level {
    background: #d1dbd6;
    padding-bottom: 5px;
    padding-top: 45px;
    margin-bottom: 60px;
    margin-top: -30px;
    text-align: center;
}

.main .next-level .row {
    margin-bottom: 60px;
}

.main .next-level .row .col-12, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3 {
    margin: 0;
    padding: 0;
}

.main .next-level h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #413b3e;
}

.main .next-level h3 {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 30px;
    text-align: left;
    color: #1d4b2f;
}

.main .next-level p {
    max-width: 950px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.2;
    color: #413b3e;
    text-align: left;
}

.main .next-level a {
    color: #3768e5;
    text-decoration: underline;
}

.main .next-level a:hover{
    color: #5386E4;
}

.main .next-level p.title {
    font-size: 24px;
    margin-top: 30px;
}

.main .next-level .blurb {
    width: 250px;
}

.main .next-level .blurb h4 {
    font-weight: 500;
    font-size: 20px;
    text-align: left;
    color: #1d4b2f;
}
.main .next-level .blurb p {
    font-size: 15px;
}

.credible {
    top: 0px;
    left: 20px;
}

.timely {
    top: 160px;
    left: 35px;
}

.accessible {
    top: 290px;
    left: 55px;
}

.simple {
    top: 5px;
    left: 570px;
}

.actionable {
    top: 250px;
    left: 600px;
}

.items .item {
    padding: 25px;
    background: #F7F7F7;
    box-shadow: 0 0 3px #C4BFC8;
    border-radius: 15px;
    width: 100%;
    height: 100%;
}

.items .item .icon {
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
}

.items .item h4 {
    font-weight: 900;
    font-size: 23px;
    line-height: 1.35;
    text-align: center;
    color: #1d4b2f;
    margin-bottom: 10px;
}

.items .item h6 {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.35;
    text-align: center;
    color: #413b3e;
    margin-bottom: 20px;
}

.items .item .list {
    list-style: none;
    padding: 0;
}

.items .item .list li {
    display: block;
    position: relative;
    margin-bottom: 17px;
    font-weight: 400;
    font-size: 15px;
    line-height: 26px;
    color: #413b3e;
    padding-left: 34px;
}

.items .item .list li:before {
    content: '';
    display: block;
    width: 18px;
    height: 12px;
    background: url("img/check.png") no-repeat center / cover;
    position: absolute;
    left: 0;
    top: 8px;
}

.slider {
    padding: 75px 0 150px;
}

.slider .slide {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.slider .slider-wrap {
    max-width: 930px;
    margin: 0 auto;
}

.slider .slide .image {
    width: 51px;
}

.slider .slide .image img {
    width: 100%;
}

.slider .slide .text {
    width: calc(100% - 74px);
}

.slider .slide .text h2 {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.35;
    color: #413b3e;
    margin-bottom: 10px;
}

.slider .slide .text h6 {
    font-weight: 900;
    font-size: 23px;
    line-height: 1.35;
    color: #1d4b2f;
}

.slider .slick-dots {
    bottom: -95px;
}

.slider .slick-dots li {
    width: 12px;
    height: 12px;
    border: 2px solid #1d4b2f;
    border-radius: 50%;
}

.slider .slick-dots li.slick-active {
    background: #1d4b2f;
}

.slider .slick-dots li button {
    display: none;
}

.app-info {
    padding-bottom: 90px;
}

.app-info .image {
    position: relative;
    margin: 0 auto;
    max-width: 700px;
}

.app-info .image .main {
    width: 100%;
}

.app-info .image .arrow {
    position: absolute;
    bottom: 35px;
    right: -110px;
}

.app-info h2 {
    font-weight: 900;
    font-size: 24px;
    line-height: 33px;
    color: #413b3e;
    margin: 20px 0 30px;
    max-width: 390px;
}

.form-block {
    padding: 45px 0;
    background: #d1dbd6;
}

.form-block .image {
    max-width: 418px;
}

.form-block .image img {
    width: 100%;
}

.form-block h2 {
    font-weight: 900;
    font-size: 45px;
    line-height: 1.15;
    color: #1d4b2f;
    margin: 20px 0;
    max-width: 600px;
}

.form-block p {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #413b3e;
    margin-bottom: 25px;
}

.form-block .form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-block .form input {
    height: 69px;
    line-height: 67px;
    padding: 0 15px;
    border: 1px solid #D0D9E1;
    border-radius: 10px;
    width: calc(50% - 15px);
    font-weight: 400;
    font-size: 17px;
    color: #413b3e;
    margin-bottom: 20px;
}

.form-block .form input::placeholder {
    color: #413b3e;
}

.form-block .form .button {
    outline: none;
    max-width: calc(50% - 15px);
}

.substack-section {
    padding: 70px 0 80px;
    background: #fff;
}

.substack-section-heading {
    font-weight: 900;
    font-size: 40px;
    line-height: 1.3;
    color: #1d4b2f;
    text-align: center;
    margin-bottom: 10px;
}

.substack-section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #413b3e;
    line-height: 1.4;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 768px) {
    .substack-section-subtitle {
        white-space: nowrap;
    }
}

.substack-posts-row {
    justify-content: center;
}

.substack-post-col {
    margin-bottom: 24px;
    display: flex;
}

.substack-post {
    display: flex;
    flex-direction: column;
    padding: 28px 25px 24px;
    background: #f7f7f7;
    border-radius: 15px;
    box-shadow: 0 0 3px #C4BFC8;
    text-decoration: none;
    transition: box-shadow 0.25s ease;
    width: 100%;
}

.substack-post:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
    text-decoration: none;
}

.substack-post:focus {
    outline: 2px solid #1d4b2f;
    outline-offset: 2px;
}

.substack-post-date {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.substack-post-title {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 21px;
    color: #1d4b2f;
    line-height: 1.3;
    margin-bottom: 10px;
}

.substack-post-excerpt {
    display: block;
    font-size: 15px;
    color: #413b3e;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 16px;
}

.substack-post-read-more {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1d4b2f;
    margin-top: auto;
    transition: color 0.2s;
}

.substack-post:hover .substack-post-read-more {
    color: #e85d04;
}

.substack-post-arrow {
    display: inline-block;
    vertical-align: -1px;
    transition: transform 0.2s;
}

.substack-post:hover .substack-post-arrow {
    transform: translateX(4px);
}

.substack-empty-message {
    font-size: 18px;
    color: #413b3e;
    padding: 30px 0;
}

.substack-subscribe-divider {
    text-align: center;
    margin: 30px 0 35px;
    position: relative;
}

.substack-subscribe-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #d1dbd6;
}

.substack-subscribe-divider-text {
    display: inline-block;
    position: relative;
    background: #fff;
    padding: 0 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.substack-subscribe-wrap {
    background: #f7f7f7;
    border-radius: 15px;
    box-shadow: 0 0 3px #C4BFC8;
    padding: 10px;
    overflow: hidden;
}

.substack-subscribe-wrap iframe {
    border-radius: 10px;
    display: block;
}

footer.footer {
    background: #413b3e;
    padding-top: 20px;
}

.footer p {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 25px;
    text-align: center;
    color: #fff;
}

.footer p a {
    color: #fff;
}

.footer p a:hover {
    text-decoration: underline;
}


@media screen and (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1230px;
    }

    .lia-video {
        width: 679px;
        height: 382px;
    }
}

@media screen and (max-width: 1199px) {
    .header .hero {
        background-position: center center;
        position: relative;
    }

    .app-info .image .arrow {
        display: none;
    }

    .app-info .button-2, .form-block .image {
        margin: 0 auto;
    }

    .app-info h2 {
        margin: 20px auto 30px;
        text-align: center;
    }

    .form-block h2 {
        margin: 40px auto 30px;
        text-align: center;
    }

    .form-block p {
        text-align: center;
    }

    .form-block .form {
        justify-content: center;
        column-gap: 30px;
    }

}


@media screen and (max-width: 991px) {
    .header .hero:before {
        content: '';
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: linear-gradient(128deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 29.17%, rgba(255, 255, 255, 0.5) 100%, rgba(255, 255, 255, 0) 100%);
        /*background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.91) 29.17%, rgba(217, 217, 217, 0) 100%, rgba(255, 255, 255, 0) 100%);*/
    }

    .items .col-12 {
        margin-bottom: 30px;
    }

    .items .no-margin {
        margin: 0;
    }

    .items .item {
        max-width: 380px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px) {
    .header .hero .title {
        font-size: 40px;
    }

    .slider {
        padding: 50px 0;
    }

    .slider .slide .image {
        width: 35px;
    }

    .slider .slide .text {
        width: calc(100% - 50px);
    }

    .slider .slide .text h2 {
        font-size: 25px;
    }

    .slider .slide .text h6 {
        font-size: 16px;
    }

    .slider .slick-dots {
        bottom: -50px;
    }

    .app-info {
        padding-bottom: 50px;
        margin-bottom: 40px;
    }

    .form-block .form input {
        width: 100%;
        height: 49px;
        line-height: 47px;
    }

    .form-block .form .button {
        max-width: 100%;
    }

    .form-block h2 {
        font-size: 32px;
    }

    .form-block p {
        font-size: 18px;
    }
}

@media screen and (max-width: 575px) {
    .button {
        font-size: 16px;
        height: 50px;
        max-width: 120px;
    }

    .button-2 {
        font-size: 22px;
        height: 70px;
        max-width: 250px;
    }

    .header .top .logo {
        width: 90px;
    }

    .header .hero .title {
        font-size: 35px;
    }

    .main .info {
        padding: 40px 0;
    }

    .main .info h2 {
        font-size: 30px;
    }

    .main .info p {
        font-size: 20px;
    }

    .slider .slide .text h2 {
        font-size: 21px;
    }

    .app-info h2 {
        font-size: 19px;
        line-height: 27px;
    }

    .footer p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .main .next-level {
        padding-bottom: 60px;
        margin-top: 30px;
        text-align: center;
    }

    .main .next-level .row {
        margin-bottom: 60px;
    }

    .main .next-level h2 {
        font-size: 30px;
        line-height: 1.2;
        margin: 10px;
        text-align: left;
    }

    .main .next-level h3 {
        font-size: 22px;
        margin: 10px;
    }

    .main .next-level p {
        max-width: 950px;
        font-weight: 400;
        font-size: 17px;
        line-height: 1.2;
        color: #413b3e;
        text-align: left;
    }

    .lia-video {
        width: 350px;
        height: 196px;
    }

    .substack-section {
        padding: 50px 0 60px;
    }

    .substack-section-heading {
        font-size: 30px;
    }

    .substack-section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .substack-post {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .substack-subscribe-divider {
        margin: 20px 0 30px;
    }
}

.video-border {
    border: 5px solid #ebebeb;
}

/* Mobile hero content - hidden by default */
.hero-mobile-content {
    display: none;
}

/* Mobile hero styles - show logo and text instead of banner */
@media screen and (max-width: 767px) {
    .header .hero {
        background: #1d4b2f;
        min-height: auto;
        padding: 40px 0 30px;
    }

    .header .hero:before {
        background: linear-gradient(128deg, #2d6b4a 0%, rgba(29, 75, 47, 0.8) 29.17%, rgba(29, 75, 47, 0.5) 100%, rgba(29, 75, 47, 0) 100%);
    }

    .header .hero .container {
        position: relative;
        bottom: auto;
    }

    .header .hero .col-12 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-mobile-content {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    .hero-mobile-tagline {
        font-size: 24px;
        color: #fff;
        margin-bottom: 8px;
    }

    .hero-mobile-tagline em {
        font-style: italic;
    }

    .hero-mobile-powered {
        font-size: 16px;
        color: #fff;
    }
}

/* Mobile hamburger menu */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    margin-top: 8px;
    z-index: 1001;
    position: relative;
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 3px;
    background: #1d4b2f;
    position: relative;
    transition: background 0.2s;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    width: 24px;
    height: 3px;
    background: #1d4b2f;
    position: absolute;
    left: 0;
    transition: transform 0.3s, top 0.3s;
}

.hamburger-icon::before {
    top: -7px;
}

.hamburger-icon::after {
    top: 7px;
}

.mobile-menu-toggle.is-active .hamburger-icon {
    background: transparent;
}

.mobile-menu-toggle.is-active .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

@media screen and (max-width: 767px) {
    .main-nav {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 15px 20px;
        z-index: 1000;
    }

    .main-nav.is-open {
        display: flex !important;
    }

    .header .top {
        position: relative;
    }

    .header .top .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .main-nav .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .main-nav .nav-link.mr-4 {
        margin-right: 0 !important;
    }

    .main-nav .button.button-1 {
        margin-top: 10px;
        max-width: 100%;
        justify-content: center;
    }

    .main-nav .dropdown {
        position: static;
    }

    .main-nav .dropdown .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 15px;
        background: transparent;
        transform: none !important;
    }

    .main-nav .dropdown .dropdown-item {
        padding: 8px 0;
        font-size: 15px;
        white-space: normal;
    }
}
