* {
    font-family: "Roboto", sans-serif;
}

strong {
    font-weight: 900;
    color: #ff4d56;
}

footer {
    width: 100%;
    background: #ddd;
    padding: 24px 0;
}

footer .wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    align-items: center;
    display: flex;
    color: #aaa;
    font-size: 12px;
}

footer p {
    margin: 0;
    flex-grow: 1;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    display: inline-block;
    margin-left: 24px;
}

main section {
    margin: 0;
    padding: 36px 12px;
    border-bottom: 3px solid #ff4d5677;
}

main section:last-of-type {
    border-bottom: 0;
}

#hero:before {
    height: 64px;
    content: " ";
    display: block;
}

#hero {
    display: flex;
    height: 100vh;
    width: 100%;
    margin: 0 auto;
    background-image: url(hero-background.jpg);
    background-position: center;
    background-size: cover;
    padding: 0;
}

#hero .wrapper {
    margin: 0 auto;
    color: white;
    text-align: center;
    align-self: center;
    position: relative;
}

#hero .blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    filter: blur(36px);
    -webkit-filter: blur(36px);
    z-index: 0;
    opacity: 0.4;
    border-radius: 12px;
}

#hero strong {
}

#hero p {
    font-weight: 900;
    font-size: 18px;
}

#hero h1 {
    font-weight: 400;
    line-height: 1.5em;
    margin: 24px 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 601px) {
    #hero h1 {
        font-size: 48px;
    }
}

#hero h2 {
    font-weight: 400;
    margin: 24px 0;
    position: relative;
    z-index: 1;
}

header {
    z-index: 999;
    position: fixed;
    background: #ff4d56;
    width: 100%;
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
}

a {
    color: #ff4d56;
}

header a {
    color: white;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

header .wrapper {
    min-height: 64px;
    max-width: 960px;
    margin: 0 auto;
    align-items: center;
    display: flex;
    padding: 0 24px;
}

header .logo {
    flex-grow: 1;
}

header .logo img {
    height: 30px;
}

@media only screen and (max-device-width: 600px) {
    nav ul {
        display: none;
        background-color: #ffe4e0;
        position: absolute;
        right: 0;
        top: 64px;
        border-bottom-left-radius: 5px;
    }

    nav ul.show {
        display: block;
    }

    nav ul li {
        padding: 0 24px;
        line-height: 3em;
    }

    nav ul li a {
        color: black;
    }
}

@media only screen and (min-device-width: 601px) {
    #nav-menu {
        display: none;
    }

    nav ul li {
        display: inline-block;
        padding-left: 24px;
    }
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    white-space: nowrap;
}

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 0;
}

/* pricing stuff */
#pricing {
    text-align: center;
}

@media only screen and (max-device-width: 600px) {
    .pricing.redacted {
        height: 150px;
        overflow: hidden;
        position: relative;
    }
    .pricing.redacted:after {
        position: absolute;
        content: " ";
        height: 50%;
        width: 100%;
        bottom: 0;
        left: 0;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    }
}

@media only screen and (min-device-width: 601px) {
    .pricing-choices {
        display: flex;
    }
    .pricing {
        flex: 4;
        margin: 0 12px;
    }
    .pricing.redacted {
        flex: 3;
    }
}

.pricing-choices {
}

.pricing {
    padding: 0 12px;
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
}

.pricing.redacted {
    color: #777;
    margin: 12px 0;
    background-color: #eee;
}

.pricing h2 {
    border-bottom: 1px solid #333;
    margin: 0;
    padding: 12px 0;
}

.pricing h3 {
    text-transform: uppercase;
}

.pricing.redacted h3 {
}

.pricing:not(.redacted) h2 {
    font-size: 32px;
}

.pricing:not(.redacted) h3 {
    color: #ff4d56;
    font-weight: 900;
    font-size: 150%;
}

ul.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

ul.check-list li {
    margin: 6px 0;
}

ul.check-list li.included span {
    color: #ff4d56;
}

ul.check-list li.excluded {
    color: #999;
}

#reporting img {
    width: 100%;
}

#reporting h3 {
    color: #ff4d56;
    text-transform: uppercase;
}

.features-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

@media only screen and (min-device-width: 601px) {
    .features-wrapper .feature {
        width: 30%;
        max-width: 50%;
        margin: 12px;
    }

    .show-all-features {
        display: none;
    }
}

@media only screen and (max-device-width: 600px) {
    .features-wrapper .feature {
        width: 100%;
        margin: 12px 0;
    }

    .show-all-features {
        text-align: center;
        background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    }

    .features-wrapper {
        height: 500px;
        overflow: hidden;
        position: relative;
    }

    .features-wrapper:after {
        position: absolute;
        content: " ";
        height: 40%;
        width: 100%;
        bottom: 0;
        left: 0;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    }

    .features-wrapper.show-all {
        height: auto;
    }

    .features-wrapper.show-all:after {
        background: none !important;
    }
}

.features-wrapper .feature {
    box-sizing: border-box;
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
}

.features-wrapper .feature h3 {
    padding: 0;
    margin: 0;
}

.use-cases-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.use-case .try-it {
    text-align: center;
}

.use-case .try-it a {
    font-size: 12px;
}

@media (min-width: 601px) {
    .use-cases-wrapper .use-case {
        width: 40%;
    }

    .use-cases-wrapper .use-case:nth-of-type(2n) {
        margin-left: 24px;
    }
}

@media (max-width: 600px) {
    .use-cases-wrapper .use-case {
        width: 100%;
    }
}

.use-cases-wrapper .use-case {
    flex-grow: 1;
}

.use-cases-wrapper .use-case h2 {
}

.use-cases-wrapper .use-case h3 {
    color: #ff4d56;
    text-transform: uppercase;
}

.use-cases-wrapper .use-case {
}

.use-cases-wrapper .use-case:nth-of-type(2n-1) {
}

.use-cases-wrapper .use-case:nth-of-type(2n) {
    /*
    padding-left: 24px;
    border-left: 1px solid #333;
    */
}

p.jtb-btn {
    text-align: center;
    margin-top: 1.5em;
}

.btn {
    color: #fff;
    border: 3px solid #ff4d56;
    font-weight: 900;
    background: #ff4d56;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    font-size: 16px;
    text-shadow: none;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 5px;
}

.btn:hover {
    background: #fff;
    color: #ff4d56;
    transition: all .3s;
    text-decoration: none;
}

.btn.alt {
    color: #ff4d56;
    background-color: #fff;
}

.btn.alt:hover {
    background-color: #ff4d56;
    color: #fff;
}

.sentiment {
    text-align: center;
    font-size: 42px;
}

.hidden {
    display: none !important;
}

.jtb-btn {
    margin: 0 auto;
}

#jtb-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    /*
    text-align: center;
    vertical-align: middle;
     */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-device-width: 600px) {
    .jtb-wrapper {
        width: 100%;
    }
}

@media only screen and (min-device-width: 601px) {
    .jtb-wrapper {
        width: 80%;
        max-width: 600px;
    }
}

.jtb-wrapper {
    position: relative;
    padding: 1em;
    background: white;
    box-shadow: 0px 5px 26px 0px rgba(0, 0, 0, 0.22), 0px 20px 28px 0px rgba(0, 0, 0, 0.30);
    border-radius: 8px;
}

.jtb-wrapper h2 {
    margin-top: 0;
}

.jtb {
}

#jtb-closer {
    display: block;
    position: absolute;
    right: 1em; /* see padding on frame-wrapper */
    text-decoration: none;
}

#jtb-closer svg {
    width: 16px;
    height: 16px;
}

/* survey tweaks here */
/*
#sentiment-analysis h2, #sentiment-analysis h3, #sentiment-analysis p {
    display: none;
}

#sentiment-analysis .onva-actions-wrapper {
    display: none;
}
*/

#sentiment-analysis {
    transition: opacity .3s;
}

#sentiment-analysis .onva-answers-container {
    display: flex;
}

#sentiment-analysis .onva-answer-wrapper {
    flex-grow: 1;
    font-size: 32px;
    text-align: center;
}

#sentiment-analysis .onva-answer-wrapper input {
    visibility: hidden;
    height: 0;
    position: absolute;
}

#sentiment-analysis .onva-answer-wrapper label {
    cursor: pointer;
}

#sentiment-analysis-done {
    display: none;
    font-weight: 900;
}

#nps-survey-done {
    display: none;
    font-weight: 900;
}

#nps-survey-btn {
}

/* nps styling */
.onva-nps-wrapper {
    background: #ffe4e0 !important;
}

.onva-nps-entry label {
    color: #fff !important;
    border: 3px solid #ff4d56 !important;
    font-weight: 900 !important;
    background: #ff4d56 !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    text-shadow: none !important;
    text-decoration: none !important;
    /* padding: 12px 16px !important; */
    border-radius: 5px !important;
}

.onva-nps-entry label:hover {
    background: #fff !important;
    color: #ff4d56 !important;
    transition: all .3s !important;
    text-decoration: none !important;
}

ul.coming-soon {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.coming-soon li {
    display: block;
}

ul.coming-soon li::after, ul.coming-soon li::before {
    text-align: center;
    width: 2em;
    display: inline-block;
}

/*
.embedding:last-of-type {
    grid-column: 1/-1;
    max-width: 50%;
    margin: 0 auto;
}
*/

.embedding {
    display: block;
    position: relative;
    font-size: 24px;
    background: blue;
    background: transparent no-repeat right center;
    background-size: 25% auto !important;
}

.embedding h2 {
    text-transform: uppercase;
    color: #ff4d56;
    font-size: 24px;
    line-height: 1.5em;
    margin: 0 0 0.5em 0;
}

.embedding p {
    font-size: initial;
    margin-right: 30%;
}

.embedding.platform {
    background-image: url(embedding-platform.png);
}

.embedding.popup {
    background-image: url(embedding-popup.png);
}

.embedding.more {
    background-image: url(embedding-more.png);
}

.embedding.mobile {
    background-image: url(embedding-mobile.png);
}

.embedding.website {
    background-image: url(embedding-website.png);
}

#how-it-works {
}

#embedding {
    position: relative;
}

#embedding:before {
    transform: rotate(90deg);
    background-image: url(right-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: white;
    content: " ";
    width: 2.5em;
    display: block;
    height: 2.5em;
    top: -2.5em;
    left: 50%;
    position: absolute;
    transform-origin: 0;
}

@media only screen and (max-device-width: 601px) {
    #embedding, #in-the-beta {
    }

    .embedding-wrapper, .in-the-beta-wrapper {
    }

    .embedding, .in-the-beta {
        margin-bottom: 24px;
    }
}

@media only screen and (min-device-width: 601px) {
    #embedding, #in-the-beta {
        padding: inherit 0;
    }

    .in-the-beta-wrapper {
        display: grid;
        grid-template-columns: auto auto auto;
    }

    .embedding-wrapper {
        display: grid;
        grid-template-columns: auto auto;
    }

    .in-the-beta {
        flex: 1;
        margin: 0 2em;
    }

    .embedding {
        flex: 1;
        min-width: 400px;
    }

    .embedding {
        padding: 12px;
        margin: 12px;
    }
}

.what-is-it {
    display: block;
    position: relative;
    font-size: 24px;
    margin: 24px 0;
}

.what-is-it h2 {
    text-transform: uppercase;
    color: #ff4d56;
    font-size: 36px;
    line-height: 1.5em;
    margin: 0;
}

.what-is-it h3 {
    font-weight: 400;
    margin: 0.5em 0;
}

.what-is-it p {
    font-size: initial;
}

@media only screen and (max-device-width: 601px) {
    #what-is-it {
        padding-top: 0;
    }
}

@media only screen and (min-device-width: 601px) {
    #what-is-it {
        margin: 24px 0;
        display: grid;
        grid-template-columns: auto auto;
    }

    .what-is-it {
        flex: 1;
        margin: 12px 0;
        min-width: 400px;
    }
}

/* overrides for styling conflicts loading both nps and frame */
.onva-action-submit {
    color: #fff;
    border: 3px solid #ff4d56;
    font-weight: 900;
    background: #ff4d56;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    font-size: 16px;
    text-shadow: none;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 5px;
}

.onva-action-submit:hover {
    background: #fff;
    color: #ff4d56;
    transition: all .3s;
    text-decoration: none;
}

em {
    font-style: normal;
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(
        to right,
        rgba(255, 225, 0, 0.1),
        rgba(255, 225, 0, 0.7) 4%,
        rgba(255, 225, 0, 0.3)
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

#get-started {
}

#how-it-works {
    text-align: center;
}

.how-it-works p {
    text-align: left;
    position: relative;
}

.how-it-works h3 {
    text-transform: uppercase;
    color: #ff4d56;
    position: relative;
    font-weight: 900;
}

@media (min-width: 801px) {
    .how-it-works-wrapper {
        display: flex;
        justify-content: space-between;
    }

    .how-it-works {
        width: 30%;
    }

    .how-it-works + .how-it-works p:before {
        background-image: url(right-arrow.svg);
        background-size: contain;
        background-repeat: no-repeat;
        content: " ";
        display: block;
        width: 1.5em;
        height: 1.5em;
        top: 1.5em;
        left: -2.5em;
        position: absolute;
    }
}

@media (max-width: 901px) {
    .how-it-works + .how-it-works h3 {
        margin-top: 2.5em;
    }

    .how-it-works + .how-it-works h3:before {
        transform: rotate(90deg);
        background-image: url(right-arrow.svg);
        background-repeat: no-repeat;
        background-size: contain;
        content: " ";
        width: 100%;
        display: block;
        height: 1.5em;
        top: -2.75em;
        left: 50%;
        position: absolute;
        transform-origin: 0;
    }
}
