html,body {
  margin: 0;
  min-height: 100%;
  font-size: 62.5%;
}

body {
	font-size: 1.7rem;
  line-height: 1.58em;
  font-family: 'Lato',Helvetica,sans-serif;
  color: #333023;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

a {
  text-decoration: none;
  color: #333023;
}
a.underline {
  padding-bottom: 4px;
  border-bottom: 1px solid #c2c1bb;
}

img {
  outline: none;
}

h1 {
  font-weight: 400;
  font-size: 40px;
  line-height: 56px;
  margin: 0;
  padding: 0;
  text-transform: capitalize;
}

h3 {
  font-weight: 900;
  font-style: italic;
  font-size: 2.7rem;
  line-height: 1em;
  margin: 0 0 20px;
  padding: 0;
}

h4 {
  font-weight: 900;
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1.368em;
  margin: 0 0 20px;
  padding: 0;
}


.content {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content.columns {
  width: 1040px;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 1040px) {
  .content {
    width: calc(100% - 40px) !important;
  }
}

.button {
  display: block;
  height: 36px;
  padding: 0 20px;
  font-size: 1.5rem;
  line-height: 36px;
  border-radius: 4px;
  background: white;
  color: #333023;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.button.dark {
  color: white;
  background: #333023;
}

header {
  position: relative;
  color: white;
  overflow: hidden;
}
header#page-header{
  overflow: visible;
}

header #header-bg {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  background-image: linear-gradient(to right,#50fec9,#63f1fe);
  display: grid;
  grid: repeat(5, 150px) / repeat(10, 1fr);
  transform: skewY(-7deg);
  transform-origin: 0;
}
header#page-header #header-bg {
  grid: repeat(5, 50px) / repeat(10, 1fr);
  transform: skewY(-1.5deg);
  top: -120px;
}

header #header-bg :nth-child(1) {
  background-image: linear-gradient(to right,#6a51fb 25%,rgba(106,81,251,0));
  grid-area: span 2 / span 4;
  transform: translateY(550px);
  opacity: 0.6;
}
header#page-header #header-bg :nth-child(1) {
  transform: translateY(200px);
}

header #header-bg :nth-child(2) {
  background-image: linear-gradient(to right,#63f1fe 25%,rgba(99,241,254,0));
  grid-area: 3 / auto / span 3 / span 5;
  transform: translateY(0);
}

header #header-bg :nth-child(3) {
  background-image: linear-gradient(to right,rgba(252,76,158,0),#fc4c9e 75%);
  grid-area: span 2 / span 4 / auto / -1;
  transform: translateY(630px);
  opacity: 0.6;
}
header#page-header #header-bg :nth-child(3) {
  transform: translateY(220px);
}

header #header-bg :nth-child(4) {
  background-image: linear-gradient(to right,rgba(80,254,201,0),#50fec9 75%);
  grid-area: 4 / span 5 / span 2 / -1;
  transform: translateY(-60px);
}

#header-content {
  
}

nav {
  position: relative;
  top: 26px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 1.7rem;
  line-height: 24px;
  font-weight: 700;
}
#page-header nav {
  top: 0;
  padding-top: 26px;
  margin-bottom: 40px;
}

nav > * {
  flex: 0 0 auto;
  display: block;
}

nav a.nav-logo {
  margin-right: auto;
  line-height: 0;
}

nav a.nav-link {
  color: white;
  margin-left: 50px;
}

nav a.nav-button {
  display: block;
  height: 30px;
  margin-left: 50px;
  padding: 0 24px;
  border: 1px solid white;
  border-radius: 4px;
  color: white;
  line-height: 30px;
}


#header-hero {
  display: flex;
  position: relative;
  top: 26px;
}

#header-hero > * {
  flex: 1 0 50%;
}

#header-hero-content {
  margin-top: 100px;
  z-index: 2;
}

#header-hero-content h1 {
  margin-top: 30px;
}

#header-hero-actions {
  margin-top: 80px;
}
#header-hero-actions > * {
  display: inline-block;
  margin-right: 20px;
}

#header-hero-description {
  margin-top: 160px;
  margin-bottom: 100px;
  color: #333023;
  font-size: 2.0rem;
  line-height: 1.5em;
}

#header-hero-image {

}

#hero-image {
  position: relative;
  width: 1000px;
  height: 900px;
  top: 40px;
  background: url(img/hero-desktop.png) no-repeat top left;
}

#hero-image .phones {
  width: 100%;
  height: 100%;
  background: url(img/hero_phones.jpg) no-repeat;
  background-size: 100% 100%;
}
#hero-image .shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(img/hero_phones_shadow.png) no-repeat;
  background-size: 100% 100%;
  display:none;
}
#hero-image .phone {
  display:none;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 1s cubic-bezier(.22, .51, .38, 1);
}
#hero-image .screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 375px;
  height: 667px;
}
#hero-image.loaded .phone {
  transform: translateY(0) !important;
}

#hero-image .phone-top {
  -webkit-mask: url(img/hero_phones_mask_top.svg);
  mask: url(img/hero_phones_mask_top.svg);
  transform: translateY(120px);
}
#hero-image .phone-top .screen {
  background: url(img/hero_screen_interstitial.jpg) no-repeat;
  background-size: 100% 100%;
  transform: matrix3d(0.4254850746268657, -0.3151825870646766, 0, -0.00000845771144278607, 0.4314620907829667, 0.3020044082436394, 0, 0.00001769171384457025, 0, 0, 1, 0, 294, 179, 0, 1);
  transform-origin: 0px 0px;
}
#hero-image .phone-middle {
  -webkit-mask: url(img/hero_phones_mask_middle.svg);
  mask: url(img/hero_phones_mask_middle.svg);
  transform: translateY(80px);
}
#hero-image .phone-middle .screen {
  background: url(img/hero_screen_toaster.jpg) no-repeat;
  background-size: 100% 100%;
  transform: matrix3d(0.34699894927563407, -0.26120921799024005, 0, -0.00000992660920573031, 0.4976182564583648, 0.22323550377629695, 0, -0.0000045865742794576, 0, 0, 1, 0, 267.2604217529297, 378.2239685058594, 0, 1);
  transform-origin: 0px 0px;;
}
#hero-image .phone-bottom {
  -webkit-mask: url(img/hero_phones_mask_bottom.svg);
  mask: url(img/hero_phones_mask_bottom.svg);
  transform: translateY(30px);
}
#hero-image .phone-bottom .screen {
  background: url(img/hero_screen_infeed.jpg) no-repeat;
  background-size: 100% 100%;
  transform: matrix3d(0.4943809116576732, -0.26691110224227205, 0, 0.00002307232503838799, 0.365894450139038, 0.35954550737979757, 0, -0.00000364151976472534, 0, 0, 1, 0, 286.64583587646484, 515.6458435058594, 0, 1);
  transform-origin: 0px 0px;
}


footer {
  display: flex;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 60px;
  border-top: 1px solid #f5f4f4;
  padding-top: 20px;
  font-size: 1.3rem;
  line-height: 1em;
}

footer > * {
  flex: 0 0 auto;
}

footer .links {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
}
footer .links a {
  display: block;
  margin: 0 20px;
  font-weight: 700;
}


section#partners {
  width: 100%;
  padding: 60px 0;
  background: #f5f4f4;
}
section#partners .content {
  display: flex;
  flex-flow: row wrap;
}
section#partners .content > * {
  flex: 1 1 10%;
  height: 60px;
  margin: 30px;
  position: relative;
}


section#points {
  margin-top: 80px;
  margin-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
}
section#points > * {
  flex: 1 1 0;
  padding: 0 20px;
}
section#points h1 {
  text-align: center;
  flex: 1 1 100%;
  margin-bottom: 40px;
}
section#points img {
  height: 72px;
  width: auto;
  margin-bottom: 20px;
}


section#invite {
  position: relative;
}
#invite-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-image: linear-gradient(to right,#6a51fb,#fc4c9e);
  transform: skewY(-7deg);
  transform-origin: 0.5;
}
#form-holder {
  display: flex;
  justify-content: center;
}
#invite-form {
  flex: 0 0 50%;
  padding: 100px 0;
  color: white;
}
#invite-form form {
  transition: all 0.2s;
}
#invite-form form.done {
  opacity: 0;
  transform: scale(0.9);
}
#invite-done {
  position: absolute;
  top: 60%;
  left: 50%;
  text-align: center;
  transform: translate3d(-50%,-50%,0);
  color: white;
  opacity: 0;
  transition: opacity 0.2s;
}
#invite-done.done {
  opacity: 1;
}
#invite-done h4 {
  margin-bottom: 5px;
}
#invite-done p {
  margin: 0;
}
#invite-form label {
  font-size: 1.1rem;
  line-height: 1em;
  margin: 0 0 10px;
  letter-spacing: 1px;
  font-weight: 400;
  text-transform: uppercase;
}
#invite-form input {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 16px;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 20px;
  outline: none;
  border-radius: 4px;
  border: 1px solid #d4dddf;
}
.submit-button {
  display: block;
  width: 50%;
  height: 50px;
  border-radius: 25px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 2.0rem;
  line-height: 50px;
  font-weight: 700;
  color: white;
  background: #63f1fe;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: all 0.2s;
}
.submit-button.submitting {
  background: rgba(255,255,255,0.1);
  font-size: 1.5rem;
  box-shadow: none;
  pointer-events: none;
}


@media (max-width: 600px) {
  #header-hero-description {
    margin-top: 240px;
  }
  #header-hero-image {
    display: none;
  }
  section#points {
    flex-direction: column;
  }
  section#points > * {
    margin-bottom: 30px;
  }
  #invite-form {
    flex-grow: 1;
  }
}

@media (max-width: 420px) {
  nav a.nav-link {
    margin-left: 0;
  }
  nav a.nav-button {
    margin-left: 20px;
  }
  footer {
    flex-direction: column;
  }
  footer .links {
    order: -1;
    margin-bottom: 20px;
  }
}


section#blog {
  margin-top: 130px;
}

section#blog .content {
  width: 800px;
}
.blog-post:after {
  content: '';
  display: block;
  width: 60%;
  height: 1px;
  background: #e2e2e2;
  margin: 60px 0 60px 20%;
}
.blog-post img {
  position: relative;
  width: 1100px;
  height: auto;
  left: -150px;
  margin: 30px 0;
}
.blog-post p.date {
  position: relative;
  top: -10px;
  font-size: 1.2rem;
  line-height: 1em;
}
.blog-post li {
  font-weight: 700;
}

section#blog .pagination {
  text-align: center;
  font-size: 13px;
  margin: 60px 0 30px;
}

