/* Reset */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

:root {
    /* text colors */
    --primary-text: #222;
    --secondary-text: #757575;
    --dk-gray-text: #656565;
    --section-title: #4E2CB3;
    /* site colors */
    --purple-hover: #F3EFFE;
    --purple-0: #E1D8FC;
    --purple-1: #C3B0F8;
    --purple-2: #A489F5;
    --purple-3: #8661F1;
    --purple-4: #683AEE;
    --purple-5: #4E2CB3;
    --dark-purple-hover: #EFEDF5;
    --dark-purple-0: #D7D2E5;
    --dark-purple-1: #AFA5CB;
    --dark-purple-4: #371E7D;
    --dark-purple-6: #341D77;
    --error-color: #F5413D;
    --success-color: #2AB930;
    /* background colors */
    --background-white: #FFF;
    --background-gray: #f8f8f8;
    --background-dkgray: #656565;
    --background-lt-purple: #F3EFFE;
    --background-dk-purple: #683AEE;
    /* border colors */
    --border-color: #D7D7D7;
    --dark-border-color: #ABABAB;
    /* typography */
    --font-family: 'Poppins', sans-serif;
}


html {
    height: 100%;
    font-size: 10px;
    font-family: var(--font-family);
}

body {
    height: 100%;
    font-family: var(--font-family);
    color: var(--primary-text);
    line-height: 1.5;
    overflow: hidden;
}

.scroll-container {
    height: calc(100% - 75px);
    overflow: auto;
    position: relative;
    top: 75px;
}

/* Typography */
h1,
.h1 {
    /* hero titles */
    font-size: 4.8rem;
    line-height: 1.2;
}

h2,
.h2 {
    font-size: 4rem;
    line-height: 1.5;
}

h3,
.h3 {
    /* section titles */
    font-size: 3.2rem;
    line-height: 1.2;
}

h4,
.h4 {
    font-size: 2.2rem;
    line-height: 1.5;
}

h5,
.h5 {
    font-size: 2rem;
    line-height: 1.5;
}

h6,
.h6 {
    font-size: 1.8rem;
    line-height: 1.5;
}

p,
a {
    font-size: 1.6rem;
    line-height: 1.5;
}

p.smaller,
a.smaller {
    font-size: 1.4rem;
    line-height: 1.5;
}

p.larger,
a.larger {
    font-size: 1.8rem;
    line-height: 1.5;
}

p.caption,
a.caption {
    font-size: 1.3rem;
}

p.primary {
    color: var(--primary-text);
}

p.secondary {
    color: var(--secondary-text);
}


/* utility classes */
.fw-300 {
    font-weight: 300;
}

.fw-500 {
    font-weight: 500
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.nowrap {
    white-space: nowrap;
}

.break {
    display: block;
}

.d-none {
    display: none !important;
}

.badge {
    color: var(--dk-gray-text);
    border-radius: 2px;
    padding: 6px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.purple-text {
    color: var(--purple-5);
}

.white-bg {
    background: var(--background-white);
}

.gray-bg {
    background: var(--background-gray);
}

.lt-purple-bg {
    background: var(--background-lt-purple);
}

.dk-purple-bg {
    background: var(--background-dk-purple);
}

.marg-0 {
    margin: 0;
}

.m-t-0 {
    margin-top: 0;
}

.m-b-0 {
    margin-bottom: 0;
}

.m-t-4 {
    margin-top: .4rem;
}

.m-r-4 {
    margin-right: .4rem;
}

.m-b-4 {
    margin-bottom: .4rem;
}

.m-l-4 {
    margin-left: .4rem;
}

.m-t-8 {
    margin-top: .8rem;
}

.m-r-8 {
    margin-right: .8rem;
}

.m-b-8 {
    margin-bottom: .8rem;
}

.m-l-8 {
    margin-left: .8rem;
}

.m-t-16 {
    margin-top: 1.6rem;
}

.m-r-16 {
    margin-right: 1.6rem;
}

.m-b-16 {
    margin-bottom: 1.6rem;
}

.m-l-16 {
    margin-left: 1.6rem;
}

.m-t-24 {
    margin-top: 2.4rem;
}

.m-b-24 {
    margin-bottom: 2.4rem;
}

.m-t-32 {
    margin-top: 3.2rem;
}

.m-b-32 {
    margin-bottom: 3.2rem;
}

.m-t-40 {
    margin-top: 4rem;
}

.m-b-40 {
    margin-bottom: 4rem;
}

.m-t-48 {
    margin-top: 4.8rem;
}

.m-b-48 {
    margin-bottom: 4.8rem;
}

.pad-0 {
    padding: 0;
}

.p-t-0 {
    padding-top: 0;
}

.p-b-0 {
    padding-bottom: 0;
}

.p-t-8 {
    padding-top: .8rem;
}

.p-r-8 {
    padding-right: .8rem;
}

.p-b-8 {
    padding-bottom: .8rem;
}

.p-l-8 {
    padding-left: .8rem;
}

.p-t-16 {
    padding-top: 1.6rem;
}

.p-b-16 {
    padding-bottom: 1.6rem;
}

.p-t-24 {
    padding-top: 2.4rem;
}

.p-b-24 {
    padding-bottom: 2.4rem;
}

.p-t-32 {
    padding-top: 3.2rem;
}

.p-b-32 {
    padding-bottom: 3.2rem;
}

.p-t-48 {
    margin-top: 4.8rem;
}

.p-b-48 {
    margin-bottom: 4.8rem;
}

ul.no-bullet {
    list-style: none;
}

.caps {
    text-transform: uppercase;
}

.error:not(.thankyou-msg) {
    color: var(--error-color);
}

.error-msg:not(.thankyou-msg) {
    color: var(--error-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}

.error-msg i.error:not(.thankyou-msg) {
    font-size: 16px;
    color: var(--error-color);
    margin-right: .4rem;
    width: unset;
    height: unset;
}

button,
.btn,
.btn-link {
    font-family: var(--font-family);
    border-radius: 4px;
    font-weight: 500;
    border-width: 1px;
    border-style: solid;
    cursor: pointer;
    text-align: center;
}

.btn.primary,
.btn-link.primary {
    background: var(--purple-4);
    border-color: var(--purple-4);
    color: #fff;
}

.btn.primary:hover,
.btn-link.primary:hover {
    background: var(--purple-3);
    border-color: var(--purple-3);
}

.btn.primary:focus,
.btn-link.primary:focus {
    background: var(--purple-5);
    border-color: var(--purple-5);
}

.btn.secondary,
.btn-link.secondary {
    background: var(--background-white);
    border-color: var(--border-color);
    color: var(--dk-gray-text);
}

.btn.secondary:hover,
.btn-link.secondary:hover {
    background: var(--background-white);
    border-color: var(--border-color);
}

.btn.secondary:focus,
.btn-link.secondary:focus {
    background: var(--background-white);
    border-color: var(--border-color);
}

.btn.tertiary,
.btn-link.tertiary {
    background: #fff;
    border-color: var(--purple-4);
    color: var(--purple-4);
}

.btn.tertiary:hover,
.btn-link.tertiary:hover {
    background: var(--purple-hover);
    border-color: var(--purple-3);
    color: var(--purple-3);
}

.btn.tertiary:focus,
.btn-link.tertiary:focus {
    background: var(--purple-0);
    border-color: var(--purple-5);
    color: var(--purple-5);
}

.btn.sm,
.btn-link.sm {
    font-size: 1.4rem;
    padding: 1rem 1.6rem;
}

.btn.lg,
.btn-link.lg {
    font-size: 1.6rem;
    padding: 1.2rem 1.8rem;
}

.btn.icon-only {
    background: none;
    border: none;
}

.text-link {
    color: var(--purple-4);
    text-decoration: none;
}

.text-link:hover {
    color: var(--purple-3);
}

.text-link.learn-more,
.text-link.get-support {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.text-link.learn-more:after,
.text-link.get-support:after {
    content: 'arrow_forward';
    font-family: 'Material Icons';
    font-size: 1.8rem;
    margin-left: .8rem;
}

.text-link.inverse {
    color: #fff;
}

.text-link.inverse:hover {
    color: #fff;
}

/* header */
header {
    background: var(--background-white);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.12);
    padding: 1.6rem 3.2rem;
    z-index: 3;
    position: fixed;
    width: calc(100% - 6.4rem);
}

header .container {
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

#logo {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

#logo a img {
    max-width: 166px;
    max-height: 33px;
    width: auto;
    height: auto;
}

nav {
    flex: 1 1 auto;
    display: flex;
    grid-gap: 8rem;
    gap: 8rem;
    align-items: center;
}

.btn.mobile-nav-btn {
    display: none;
    padding: 0;
    flex: 0 0 auto;
    margin-right: 3rem;
}

#nav-menu {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    grid-gap: 4rem;
    gap: 4rem;
}

.nav-menus.open {
    display: flex;
}

.subnav-btn {
color: var(--primary-text);
}

.dropdown {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dropdown-toggle {
    padding: 0;
    background: none;
    border: none;
    font-size: 1.6rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    border-radius: 0;
}

.dropdown-toggle.active {
    color: var(--purple-4);
}

.dropdown-menu {
    flex: 0 0 auto;
    align-self: flex-end;
    background: #fff;
    box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.12);
    position: absolute;
    top: 3rem;
    right: 0;
    min-width: 100px;
}

.dropdown-menu#products {
    min-width: 215px;
}

.dropdown-menu#about {
    min-width: 115px;
}

.dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
}

.dropdown:not(.open) .dropdown-menu {
    display: none;
}

.dropdown-menu-item {
    padding: 0;
    display: flex;
}

.dropdown-menu-item:hover {
    background: var(--purple-hover);
}

.dropdown-menu-item a {
    font-size: 1.4rem;
    line-height: 1.5;
    padding: .8rem 1.6rem;
    color: var(--primary-text);
    flex: 1 1 auto;
}

.dropdown-menu-item:not(.active):hover a {
    color: var(--purple-4);
    font-weight: 500;
}

.dropdown-menu-item.active a {
    color: var(--purple-4);
    font-weight: 500;
    background-color: var(--purple-hover);
}

.nav-btns {
    flex: 0 0 auto;
    display: flex;
    grid-gap: 1.6rem;
    gap: 1.6rem;
}

#overlayBg {
    display: none;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
}

main {
    min-height: 100%;
}

section {
    padding: 0 3.2rem;
}

section .container {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.hero .container {
    max-width: 1340px;
}

.section-title {
    color: var(--purple-5);
    font-weight: 600;
}

.section-title.dark {
    color: var(--dark-purple-4);
    font-weight: 600;
}

.section-title.primary {
    color: var(--primary-text);
    font-weight: 600;
}

.section-title .strikethru {
    margin-left: 8px;
    text-decoration: line-through solid var(--purple-3) 4px;
}

/* Form Fields */
.form-field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.form-field.outline {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.form-field-wrapper {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.form-field-wrapper > label {
    position: absolute;
    font-size: 1.6rem;
    font-weight: 400;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: white;
    color: var(--light-gray);
    margin: 0 1.2rem;
    -webkit-transition: .1s all ease-out;
    -o-transition: .1s all ease-out;
    transition: .1s all ease-out;
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    pointer-events: none;
    white-space: nowrap;
}

.form-field-wrapper > label sup {
    position: absolute;
    top: -.1rem;
}

.form-field-wrapper > input {
    font-family: var(--font-family);
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 1.6rem;
    outline: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    -webkit-transition: 0.1s ease-out;
    -o-transition: 0.1s ease-out;
    transition: 0.1s ease-out;
    color: var(--primary-text);
    max-width: 100%;
    height: 48px;
    padding: 1.4rem 1.2rem;
}

.form-field-wrapper > input .hasIcon {
    padding-right: 4rem;
}

.form-field-wrapper > input:focus {
    border-color: var(--purple-4);
}

.form-field-wrapper > input:focus + label {
    color: var(--purple-4);
    top: 3px;
    padding: 0 .4rem;
    margin: 0 .8rem;
    -webkit-transform: translateY(-50%) scale(.75);
    -ms-transform: translateY(-50%) scale(.75);
    transform: translateY(-50%) scale(.75);
}

.form-field-wrapper > input:hover {
    border-color: var(--purple-3);
}

.form-field-wrapper > input:hover + label {
    color: var(--purple-3);
}

.form-field-wrapper > input:not(:-moz-placeholder-shown) + label {
    top: 3px;
    padding: 0 .4rem;
    margin: 0 .8rem;
    transform: translateY(-50%) scale(.75);
}

.form-field-wrapper > input:not(:-ms-input-placeholder) + label {
    top: 3px;
    padding: 0 .4rem;
    margin: 0 .8rem;
    -ms-transform: translateY(-50%) scale(.75);
    transform: translateY(-50%) scale(.75);
}

.form-field-wrapper > input:not(:placeholder-shown) + label {
    top: 3px;
    padding: 0 .4rem;
    margin: 0 .8rem;
    -webkit-transform: translateY(-50%) scale(.75);
    -ms-transform: translateY(-50%) scale(.75);
    transform: translateY(-50%) scale(.75);
}

.outline.form-field.has-errors .form-field-wrapper > input {
    border-color: var(--error-color);
}

.outline.form-field.has-errors .form-field-wrapper > input + label {
    color: var(--error-color);
}

.outline.form-field.has-errors .form-field-wrapper > input:hover {
    border-color: var(--error-color);
}

.outline.form-field.has-errors .form-field-wrapper > input:hover + label {
    color: var(--error-color);
}

.outline.form-field.has-errors .form-field-wrapper > input:focus {
    border-color: var(--error-color);
}

.outline.form-field.has-errors .form-field-wrapper > input:focus + label {
    color: var(--error-color);
}

.outline.form-field.has-errors .form-field-wrapper > input:not(:-moz-placeholder-shown) + label {
    color: var(--error-color);
}

.outline.form-field.has-errors .form-field-wrapper > input:not(:-ms-input-placeholder) + label {
    color: var(--error-color);
}

.outline.form-field.has-errors .form-field-wrapper > input:not(:placeholder-shown) + label {
    color: var(--error-color);
}

/* form field error message */
.form-field-message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.form-field-message p:not(:empty) {
    padding: .4rem 1rem;
}

.form-field-message p:empty {
    height: 0;
    padding: 0;
    min-height: 0;
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    padding: 2.4rem;
    display: flex;
    align-items: center;
}

.card-title {
    color: var(--purple-5);
    font-weight: 600;
}

/* Info Pages Banner - Terms and Privacy */
.title-banner {
    color: var(--purple-5);
    font-weight: 600;
}

/* pages with banner title section (terms of use, privacy policy)*/
.title-banner {
    background: var(--purple-4);
    min-height: 315px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    display: flex;
    margin-bottom: 4rem;
}

.title-banner .container {
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #fff;
    grid-gap: .8rem;
    gap: .8rem;
}


/*footer */
footer {
    background: var(--purple-4);
    color: #fff;
    font-size: 1.4rem;
    font-family: 'Poppins';
    padding: 3.2rem;
}

footer .container {
    max-width: 1640px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    grid-gap: 12rem;
    gap: 12rem;
}

footer p {
    color: #fff
}

footer a {
    font-size: 1.4rem;
}

.footer-logo {
    flex: 0 0 113px;
    display: flex;
}

.footer-menus {
    flex: 1 1 auto;
    align-items: flex-start;
    font-size: 1.4rem;
    display: flex;
    grid-gap: 5rem;
    gap: 5rem;
}

.footer-menus ul {
    display: flex;
    flex-direction: column;
    font-size: 1.4rem;
    grid-gap: 1.6rem;
    gap: 1.6rem;
}

.footer-menu li a {
    white-space: normal;
}

.footer-section-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    grid-gap: 1.2rem;
    gap: 1.2rem;
}

.social-links #icons {
    margin-top: 1.2rem;
}

.footer-links {
    grid-gap: .8rem;
    gap: .8rem;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.site-links {
    font-size: 1.4rem;
    display: flex;
    color: #fff;
    margin-right: auto;
    position: relative;
}

.copyright {
    font-size: 1.4rem;
}


/* breakpoints */
@media (max-width: 1440px) {
    header {
        padding-left: 3.2rem;
        padding-right: 3.2rem;
        width: calc(100% - 6.4rem);
    }

    header .container {
        max-width: 1380px;
    }

    footer .container {
        max-width: 1380px;
    }
}

@media (max-width: 1336px) {
    section {
        padding-left: 3.2rem;
        padding-right: 3.2rem;
    }

    footer {
        padding-left: 3.2rem;
        padding-right: 3.2rem;
    }
}

@media (max-width: 1100px) {
    nav {
        grid-gap: 4.8rem;
        gap: 4.8rem;
    }

    footer .container {
        grid-gap: 7rem;
        gap: 7rem;
    }

    .footer-menus {
        grid-gap: 4rem;
        gap: 4rem;
    }
}

@media (max-width: 960px) {
    header {
        padding-left: 2.4rem;
        padding-right: 2.4rem;
        width: calc(100% - 4.8rem);
    }

    nav,
    #nav-menu {
        grid-gap: 0;
        gap: 0;
    }

    .nav-menus:not(.open) {
        display: none;
    }

    .nav-menus.open {
        position: absolute;
        top: 74px;
        left: 0;
        background: var(--background-white);
        height: 100vh;
        width: 220px;
    }

    .nav-menus.open #nav-menu {
        display: flex;
        flex-direction: column;
        margin-top: -1px;
    }

    .dropdown-menu {
        align-self: flex-start;
        position: relative;
        top: 0;
        border: 0;
        box-shadow: none;
    }

    .dropdown.open,
    .dropdown.open .dropdown-menu {
        background: var(--purple-hover);
    }

    .dropdown-toggle {
        padding: .8rem .8rem .8rem 1.6rem;
    }

    .dropdown-toggle.dropdown-button {
        padding: .8rem .8rem .8rem 1.6rem;
    }

    .dropdown.active .dropdown-toggle {
        border-left: 4px solid var(--purple-4);
        background: var(--purple-hover);
    }

    .dropdown.open.active .dropdown-toggle[aria-expanded="false"] .dropdown-toggle-arrow,
    .dropdown-toggle[aria-expanded="true"] .dropdown-toggle-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu-item {
        padding-left: 1.6rem;
    }


    #overlayBg.show {
        display: flex;
    }

    .btn.mobile-nav-btn {
        display: flex;
        position: relative;
    }

    section {
        padding-left: 2.4rem;
        padding-right: 2.4rem;
    }

    footer {
        padding-left: 2.4rem;
        padding-right: 2.4rem;
    }

    footer .container {
        max-width: 768px;
        grid-gap: 5rem;
        gap: 5rem;
        flex-direction: column;
    }

    .footer-logo {
        order: 2;
        align-self: flex-start;
        display: inline-flex;
    }

    .footer-logo img {
        width: 54px;
    }

    .footer-menus {
        order: 1;
        width: 100%;
        grid-gap: unset;
        gap: unset;
        justify-content: space-between;
    }

    .footer-section-right {
        order: 3;
        align-self: flex-end;
        display: inline-flex;
        margin-top: -16.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
        width: calc(100% - 3.2rem);
    }

    section {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    footer {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }
}

@media (max-width: 600px) {
    header {
        padding-left: .8rem;
        padding-right: .8rem;
        width: calc(100% - 1.6rem);
    }

    .btn.mobile-nav-btn {
        margin-right: 2.4rem;
    }

    section {
        padding-left: .8rem;
        padding-right: .8rem;
    }

    footer {
        padding-left: .8rem;
        padding-right: .8rem;
    }

    .site-links li:first-of-type:after {
        padding: 0 .8rem;
    }
}

@media (max-width: 500px) {
    #loginBtn {
        display: none;
    }

    .mobile-break {
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .footer-menu {
        max-width: 110px;
    }
}

@media (max-width: 375px) {
    .btn.mobile-nav-btn {
        margin-right: 1.6rem;
    }

    .btn.sm,
    .btn-link.sm {
        padding: 1rem 1rem;
    }

    footer .container {
        grid-gap: 6rem;
        gap: 6rem;
    }

    .footer-menus {
        /* justify-content: flex-start; */
        gap: 2.4rem;
    }

    .footer-section-right {
        order: 3;
        align-self: flex-start;
        display: inline-flex;
        margin-top: -16.5rem;
        margin-left: 90px;
    }

    .footer-logo {
        margin-bottom: -1rem;
    }
}
