header {
    position: absolute;
    top: 0;
    background: none;
}

.hero,
.hero:before {
    background: var(--color-royal-blue);
}

.hero:before {
    min-height: auto;
    height: 100%;
}

.phone-container {
    color: var(--color-light-blue);
    text-align: center;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-container span {
    display: block;
}

.phone-container a:hover {
    color: var(--color-selective-yellow);
}

.main-content {
    margin: auto;
    text-align: center;
    width: 600px;
    padding-bottom: 115px;
}

h1 {
    margin-top: calc(var(--spacing) / 1.25);
}

.main-content p {
    font-size: 20px;
}

.main-content p.pre-title {
    font-style: italic;
}

.main-content .cta-container {
    margin-top: calc(var(--spacing) * 1.5);
}

section {
    padding: 75px 0;
}

.section-title {
    margin-bottom: 50px;
}

.seen-features {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
}

.as-seen img {
    display: block;
    max-height: 40px;
}

.as-seen svg {
    height: 30px;
    width: auto;
}

.testimonials {
    flex-wrap: wrap;
    gap: 24px;
}

.testimonial {
    flex: 0 0 calc(50% - 12px);
}

.ts {
    padding: 24px;
    border: 1px solid #e8e9eb;
    min-height: 197px;
}

.ts-text {
    -webkit-line-clamp: 6;
}

.after-ts {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 50px;
    text-align: center;
    font-size: 20px;
}

.form {
    background: var(--color-royal-blue);
}

.form h2 {
    color: var(--color-light-blue);
}

.form-con {
    background-color: #FFF;
    width: 550px;
    max-width: 100%;
    padding: 36px;
    margin: 0 auto;
}

.form-con-heading {
    text-align: center;
}

.form-con h3 {
    font-size: 1.75em;
    margin-bottom: 5px;
}

.form-con-heading p {
    font-size: 14px;
}

.below-form {
    display: flex;
    flex-direction: column;
    gap: 7.5px;
    text-align: center;
    color: var(--color-light-blue);
    font-size: 22px;
    margin-top: 35px;
}

.below-form span {
    display: block;
}

.below-form a:hover {
    color: var(--color-selective-yellow);
}

body > section:last-of-type {
    padding-bottom: 50px;
}

footer {
    padding-top: 50px;
    background: var(--color-royal-blue);
    text-align: center;
    font-size: 14px;
}

footer .container {
    gap: calc(var(--spacing) / 2);
}

footer p {
    margin-bottom: 0;
}

footer ul {
    justify-content: center;
}

@media (max-width: 1200px) {
    header {
        position: static;
        background: var(--color-royal-blue);
    }

    header .container {
        justify-content: space-between;
    }

    .main-content {
        padding-top: 60px;
    }
}

@media (max-width: 900px) {
    .seen-features {
        flex-wrap: wrap;
        width: 475px;
        max-width: 100%;
    }
    .seen-features a {
        display: block;
        flex: 0 0 213px;
        text-align: center;
    }
    .seen-features img {
        margin: 0 auto;
    }
    .seen-features a:nth-child(1),
    .seen-features a:nth-child(2) { 
        margin-bottom: var(--spacing);
    }
    .testimonials {
        width: 100%;
        margin: 0;
    }
    .testimonial {
        flex: 0 0 100%;
    }
    .ts {
        min-height: auto;
    }
    .ts-text {
        -webkit-line-clamp: 4;
    }
    .after-ts {
        font-size: 18px;
    }
    .below-form {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    header .container {
        justify-content: center;
    }
    .header-right {
        display: none;
    }
    .hero .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    h1 {
        font-size: 50px;
    }
    .main-content {
        padding-top: 30px;
        padding-bottom: 75px;
    }
    .main-content p {
        font-size: 16px;
    }
    .cta {
        width: auto;
    }
    .seen-features {
        justify-content: center;
        gap: 24px;
    }
    .seen-features a:nth-child(1), .seen-features a:nth-child(2) {
        margin-bottom: 0;
    }
    .seen-features a:nth-child(4) {
        margin-top: -10px;
    }
    .after-ts {
        font-size: 16px;
    }
    .form-con {
        padding: 24px;
    }
    .below-form {
        font-size: 18px;
    }
    footer ul {
        flex-direction: column;
        gap: calc(var(--spacing) / 2);
    }
}