/* 
 * Colors
 */
:root {
  --black: #232323;  
  --grey: #777777;
  --grey-light: #D3D3D3;
  --grey-app: #f5f5f5;
  --white: #FFFFFF;
  --white-dim: #FAFAFA;
  --blue: #007AFF;
  --blue-light: #26A6FF;
  --green: #6DD400;
}

/* 
 * Base
 */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: border-box;
}

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;
}

html {
  width: 100vw;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  max-width: 994px;
  margin: 0 auto;  
}

@media screen and (max-width: 1022px) {
  body {
    padding: 0 14px;
    max-width: 994px;
  }
}

.elements {
  display: flex;
  flex: 1;
}

/* 
 * Typography
 */
html, body {
  font-family: Helvetica Neue, Helvetica, Arial,  sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--black);
  font-size: 16px;
  background: var(--white-dim);
}

h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  color: var(--black);
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 40px;
    line-height: 49px;
  }
}

h2 {
  font-weight: 700;
  font-size: 34px;
  line-height: 42px;
  color: var(--black);
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: 24px;
    line-height: 35px;
  }
}

h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 42px;
  color: var(--black);
}

@media screen and (max-width: 768px) {
  h3 {
    font-size: 21px;
    line-height: 28px;
  }
}

h6 {
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  color: var(--grey);
  text-transform: uppercase;
}

p {
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: var(--black);
}

/*
 * Buttons
 */
.button {
  display: flex;
  width: 182px;
  border-radius: 24px;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 49px;
  text-decoration: none;
}

.button--blue {
  background-image: linear-gradient(180deg, var(--blue-light) 10%, var(--blue) 100%);
  color: white;
  transition: transform 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.button--blue:hover {
  transform: scale(1.025);
}

.button--black {
  background: var(--black);
  color: var(--white); 
}

.button--white {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--grey-light);
}

.button--white--no-border {
  border: 0px solid transparent;
}

.button--text-blue {
  color: var(--blue);
}

/* 
 * Screen
 */
.screen {
  border: 1px solid var(--grey-light);
  border-radius: 9px;
  background-color: var(--grey-app);
}

/*
 * CTA
 */
.cta-wrapper {
  display: flex;
  justify-content: center;
}

.cta-wrapper .button + .button {
  margin-left: 21px;
}

/*
 * Header
 */
header nav {
  display: flex;
  flex-wrap: wrap;
}

header nav a {
  line-height: 49px;
}

.header__logo {
  display: flex;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  align-items: center;
  color: var(--black);
}

@media screen and (max-width: 425px) {
  .header__login-link,
  .header__demo-link {
    display: none;
  }

  .header__logo ~ .header__demo-change-lang {
    margin-left: auto;
  }
}

.header__logo svg {
  width: 28px;
  height: 28px;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  margin-right: 7px;
}

.header__logo + a {
  margin-left: auto;  
}

.header__logo + a ~ a {
  margin-left: 21px;
}

@media screen and (max-width: 768px) {
  .header__logo + a ~ a {
   margin-left: 14px;
  }  
}

header a:not(.header__logo) {
  color: var(--grey);
}

/*
 * Hero
 */
.hero {
  padding-top: 84px;
}

@media screen and (max-width: 425px) {
  .hero {
    padding-top: 70px;
  }  
}

.hero__image {
  position: relative;
  height: 371px;
  background-size: cover;  
  border: 1px solid var(--grey-light);
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom: 0;
}

@media screen and (max-width: 768px) {
  .hero__image {
    max-height: 45vw;
  }
}

.hero__image::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0px;
  left: -1px;
  right: -1px;
  height: 63px;
  background-image: linear-gradient(180deg, rgba(250,250,250,0.00) 0%, rgba(250,250,250,0.80) 70%, var(--white-dim) 90%);
}

.hero__copy {
  text-align: center;
}

.hero__copy h1 + p {
  margin-top: 7px;
}

.hero__copy .cta-wrapper {
  margin-top: 35px;
}

.hero__cta__details {
  margin-top: 21px;
  color: var(--grey);
}

@media screen and (max-width: 425px) {
  .hero__cta__details {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/*
 * Testimonials
 */

.testimonials {
  display: flex;
  margin-top: 84px;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    margin-top: 56px;
  }  
}

.testimonials p {
  max-width: 308px;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .testimonials p {
    text-align: center;
  }
}

.testimonials__logos {
  display: flex;
  margin-left: 42px;
}

@media screen and (max-width: 768px) {
  .testimonials__logos {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: space-around;
  }  
}

.testimonials__logo {
  display: flex;
}

.testimonials__logo + .testimonials__logo {
  margin-left: 35px;
}

@media screen and (max-width: 768px) {
  .testimonials__logo {
    width: 45vw;
    justify-content: center;
    margin-top: 35px;
  }

  .testimonials__logo + .testimonials__logo {
    margin-left: 0;
  }
}

.testimonials__logo img {
  height: auto;
  width: auto;
  max-height: 56px;
}

/*
 * Halfblue
 */

.halfblue {
  position: relative;
  margin-top: 84px;
  padding-top: 63px;
  padding-bottom: 270px;
  margin-bottom: 269px;
  background-image: linear-gradient(180deg, var(--blue-light) 10%, var(--blue) 100%);
}

@media screen and (max-width: 768px) {
  .halfblue {
    padding-top: 42px;
    padding-bottom: 42px;
    margin-bottom: 0px;
    overflow: hidden;
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

.halfblue::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -100vw;
  left: -100vw;
  background-image: linear-gradient(180deg, var(--blue-light) 10%, var(--blue) 100%);
}

.halfblue__copy {
  position: relative;
  margin-bottom: 63px;
}

.halfblue__copy h2, 
.halfblue__copy p {
  color: var(--white);
}

.halfblue__copy p {
  margin-top: 7px;
}

.halfblue__image {
  position: absolute;
  display: block;
  width: 100%;
  height: 539px;
  background-size: cover;  
}

@media screen and (max-width: 768px) {
  .halfblue__image {
    position: relative;
    height: 50vw;
  }
}

/*
 * Steps
 */

.steps {
  padding-top: 105px;
}

@media screen and (max-width: 768px) {
  .steps {
    padding-top: 42px;
  }  
}

.steps__step {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .steps__step {
    flex-direction: column;
  }  
}

.steps__step + .steps__step {
  margin-top: 84px;
}

@media screen and (max-width: 768px) {
  .steps__step + .steps__step {
    margin-top: 42px;
  }  
}

.steps__step + .cta-wrapper {
  margin-top: 84px;
}

@media screen and (max-width: 768px) {
  .steps__step + .cta-wrapper {
    margin-top: 42px;
  }  
}

.steps__step__copy {
  width: 301px;
}

@media screen and (max-width: 768px) {
  .steps__step__copy {
    align-self: flex-start;
  }  
}

.steps__step__copy h2 {
  line-height: 35px;
}

.steps__step__copy h2 + p {
  margin-top: 7px;
}

.steps__step__image {
  width: 630px;
}

.steps__step__image video {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .steps__step__image {
    margin-top: 28px;
    width: 100%;
  }  
}

/*
 * Plans
 */
.plans {
  margin-top: 105px;
}

@media screen and (max-width: 768px) {
  .plans {
    margin-top: 42px;
  }  
}

.plans__table__row {
  display: flex;
}

.plans__table__title,
.plans__table__cell {
  flex: 1;
}

@media screen and (max-width: 425px) {
  .plans__table__title,
  .plans__table__cell {
    min-width: 28%;
  }
}

.plans__table__title:first-of-type,
.plans__table__cell:first-of-type {
  flex: 1.5;
}

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

.plans__table__row--title {
  margin-bottom: 28px;
}

@media screen and (max-width: 768px) {
  .plans__table__row--title {
    margin-bottom: 14px;
  }

  .plans__table__row--title .plans__table__title + .plans__table__title {
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .plans__table__row--title .plans__table__title h2 {
    font-size: 16px;
    line-height: 21px;
  }

  .plans__table__row--title .plans__table__title h3 + p {
    display: none;
  }
}

@media screen and (max-width: 425px) {
  .plans__table__title h3 {
    font-size: 16px;
  }
}

.plans__table__row--footer {
  margin-top: 42px;
}

.plans__table__row:not(.plans__table__row--title):not(.plans__table__row--footer) {
  line-height: 42px;
  border-bottom: 1px solid var(--grey-light);
}

@media screen and (max-width: 768px) {
  .plans__table__row:not(.plans__table__row--title):not(.plans__table__row--footer) {
    line-height: 21px;
    padding: 7px 0;
  }
}

.plans__table__cell__description {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.plans__table__row:not(.plans__table__row--title):not(.plans__table__row--footer) .plans__table__cell:not(:first-of-type) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.plans__table__cell__check--available,
.plans__table__cell__check--not-available {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 100%;
}

.plans__table__cell__check--available {
  background-color: var(--green);
}

.plans__table__cell__check--not-available {
  background-color: var(--grey-light);
}

.plans__table__row--footer .plans__table__cell .button {
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .plans__table__row--footer {
    flex-wrap: wrap;
  }

  .plans__table__row--footer .plans__table__cell {
    width: 100vw;    
    flex: auto;
  }

  .plans__table__row--footer .plans__table__cell .button {
    width: 100%;
    max-width: 182px;
  }

  .plans__table__row--footer .plans__table__cell:last-of-type {
    margin-top: 14px;
  }
}

/*
 * Footer
 */
footer {
  position: relative;
  margin-top: 133px;
  padding-top: 63px;
  padding-bottom: 14px;
}

@media screen and (max-width: 768px) {
  footer {
    overflow: hidden;
    margin-top: 42px;
    margin-left: -14px;
    margin-right: -14px;
    padding-top: 42px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

footer::before {
 content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -100vw;
  left: -100vw;
  background-image: linear-gradient(180deg, var(--blue-light) 10%, var(--blue) 100%); 
}

.footer__copy,
footer nav,
footer nav + p {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.footer__copy h1,
.footer__copy p {
  color: var(--white);
}

.footer__copy h1 + .cta-wrapper,
.footer__copy h1 + .cta-wrapper + p {
  margin-top: 21px;
}

footer nav a {
  color: var(--white);
  font-weight: 500;
}

footer nav {
  margin-top: 63px;
}

@media screen and (max-width: 768px) {
  footer nav {
    margin-top: 42px;
  }  
}

footer nav + p {
  margin-top: 21px;
}

.legal {
  padding-top: 14px;
}

.legal h1 {
  font-weight: 700;
  font-size: 34px;
  line-height: 37.4px;  
}

.legal h2 {
  font-weight: 700;
  font-size: 26px;
  line-height: 29.25px;
}

.legal h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 23.33px;
}

.legal h4 {
  font-weight: 700;
  font-size: 14px;
  line-height: 20.58px;
}

.legal p {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: var(--black);
}

.legal h1 + h2,
.legal h2 + h3,
.legal h1 + p,
.legal h2 + p,
.legal h3 + p,
.legal h4 + p,
.legal p + p,
.legal p + h2,
.legal p + h3,
.legal p + h4,
.legal p + ul,
.legal ul + p,
.legal ul + h2,
.legal ul + h3 {
  margin-top: 1em;
}

.legal ul {
  list-style: inherit;
  padding-left: 1.2em;
}

footer.footer--legal {
  margin-top: 42px;
}

footer.footer--legal nav {
  margin-top: 0;
}

footer.footer--legal nav,
footer.footer--legal nav a, 
footer.footer--legal nav + p {
  color: var(--black);
}

footer.footer--legal:before {
  display: none;
}

dialog {
  max-height: 80vh;
  max-width: 80vw;
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  background: var(--white-dim);
  box-shadow: 0 21px 21px -4px rgb(0 0 0 / 36%);
  outline: none;
  z-index: 10;
}

dialog.dialog--cookie-consent-and-privacy-policy-key {
  top: auto;
  bottom: 28px;
}

.dialog__content {
  display: flex;
  align-items: center;
}

dialog p {
  font-size: 14px;
  line-height: 21px;
}

dialog:focus-visible,
dialog:focus,
dialog a:focus-visible,
dialog a:focus {
  outline: none;
}

dialog p + button {
  display: flex;  
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: 22px;
  padding-top: 0 14px;
  background-image: linear-gradient(rgb(255, 255, 255) 10%, rgb(245, 245, 245) 100%);
  border: 1px solid var(--grey-light);
  border-radius: 4px;
}

dialog p + button {
  margin-left: 21px;
}