---
---

$brand-color: #4286f4;

body {
  margin-bottom: 300px;
  // margin-top: 100vh;
  background-color: $brand-color;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wrapper {
  width: 960px;
  max-width: 80%;
  margin: 0 auto;
}
.fw-grid {
  width: 960px;
  max-width: 100%;
}

a {
  color: inherit;
}

nav {
  height: 75px;
  background-color: #ffffff;
  padding: 17.5px 25px;
  color: $brand-color;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  img {
    height: 40px;
  }
  span {
    font-weight: bold;
    font-size: 24px;
    position: absolute;
    left: 82px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  ul {
    position: absolute;
    right: 25px;
    top: 50%;
    color: #000000;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    li {
      display: inline-block;
      margin-left: 20px;
      a {
        padding: 5px 20px;
        text-decoration: none;
        position: relative;
      }
    }
    li:hover {
      text-decoration: underline;
    }
  }
  .hamburger {
    position: absolute;
    right: 25px;
    top: 50%;
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  ul.js-toggled {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: none;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    height: 0;
    transition: 200ms all cubic-bezier(0.4, 0.0, 1, 1);;
    overflow: hidden;
    &.visible {
      height: 248px;
      transition: 200ms all cubic-bezier(0.0, 0.0, 0.2, 1);;
    }
    li {
      border-top: 1px solid #ddd;
      display: block;
      padding: 30px;
      text-align: center;
      margin: 0;
      a {
        padding: 30px;
      }
    }
  }
}

header {
  background-color: $brand-color;
  height: 100vh;
  min-height: 600px;
  position: relative;
  &.inverted {
    background-color: #ffffff;
    .header-content {
      color: #000000;
      .title {
        color: $brand-color;
      }
    }
  }
  .header-content {
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    img {
      height: 200px;
    }
    h1 {
      font-size: 48px;
      margin: 32px 0 16px;
    }
    p {
      font-size: 20px;
      margin-top: 0;
      margin-bottom: 10px;
      &.small {
        font-size: 16px;
      }
    }
  }
}

section {
  background-color: #ffffff;
  &#features {
    padding: 100px 0;
    a {
      color: $brand-color;
    }
    .col {
      text-align: center;
      img {
        height: 100px;
      }
    }
  }
  &#download-cta {
    background-color: $brand-color;
    padding: 75px 0;
    text-align: center;
    a.btn {
      background-color: #ffffff;
      color: $brand-color;
      border-radius: 2pt;
      font-size: 24px;
      padding: 15px 35px;
      text-decoration: none;
    }
  }
  &#docs-cta {
    background-color: #ffffff;
    padding: 75px;
    text-align: center;
    a.btn {
      background-color: $brand-color;
      color: #ffffff;
      border-radius: 2pt;
      font-size: 24px;
      padding: 15px 35px;
      text-decoration: none;
    }
  }
  &#getting-started {
    padding: 100px 0;
  }
  &#grid-example {
    background-color: $brand-color;
    padding: 100px 0;
  }
  &#docs-preview {
    padding: 75px 0;
  }
}


.box {
  height: 25px;
  background-color: #ffffff;
}

.gist {
  .gist-file {
    border-bottom-color: #dddddd !important;
    .gist-meta {
      display: none !important;
    }
    .gist-data {
      border-bottom: none !important;
    }
  }
  .gist-meta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 100vh;
    transition: 500ms all cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }
  &.visible .gist-meta {
    bottom: 0;
    top: calc(100vh - 36px);
  }
}

footer {
  color: #ffffff;
  background-color: $brand-color;
  text-align: center;
  padding: 75px 35px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -100;
  ul {
    padding: 0;
    li {
      display: inline-block;
      img {
        width: 45px;
      }
      &:not(:first-child) {
        margin-left: 50px;
      }
    }
  }
}
h1:not(.title) {
  position: relative;
  display: inline-block;
  &:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background-color: $brand-color;
    z-index: -10;
  }
}

@media (max-width: 480px) {
  header .header-content {
    img {
      height: 150px;
    }
    h1 {
      font-size: 32px;
    }
    p {
      font-size: 18px;
      &.small {font-size: 14px;}
    }
  }

  .box {
    height: 20px;
  }

  section#download-cta, section#docs-cta {
    a.btn {
      font-size: 18px;
      padding: 12px 24px;
    }
  }

  footer ul {
    img {
      width: 35px;
    }
    li:not(:first-child) {
      margin-left: 35px;
    }
  }
}
.container, .grid {
    width: 960px;
    max-width: 80%;
    margin: 0 auto
}

.grid, .row {
    display: -ms-flexbox;
    display: flex
}

.grid {
    -ms-flex-direction: column;
    flex-direction: column
}

.grid.full-width {
    width: 100%;
    max-width: 100%
}

.row {
    -ms-flex-direction: row;
    flex-direction: row;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.col {
    box-sizing: border-box;
    margin: 10px;
    vertical-align: top
}

.center, .left {
    margin-right: auto
}

.center, .right {
    margin-left: auto
}

.w-auto {
    -ms-flex: 1;
    flex: 1
}

.col-1-of-4, .col-2-of-8, .col-3-of-12 {
    width: calc(25% - 20px)
}

.push-1-of-4, .push-2-of-8, .push-3-of-12 {
    margin-left: calc(25% + 20px / 2)
}

.pull-1-of-4, .pull-2-of-8, .pull-3-of-12 {
    margin-right: calc(25% + 20px / 2)
}

.col-2-of-4, .col-4-of-8, .col-6-of-12 {
    width: calc(50% - 20px)
}

.push-2-of-4, .push-4-of-8, .push-6-of-12 {
    margin-left: calc(50% + 20px / 2)
}

.pull-2-of-4, .pull-4-of-8, .pull-6-of-12 {
    margin-right: calc(50% + 20px / 2)
}

.col-3-of-4, .col-6-of-8, .col-9-of-12 {
    width: calc(75% - 20px)
}

.push-3-of-4, .push-6-of-8, .push-9-of-12 {
    margin-left: calc(75% + 20px / 2)
}

.pull-3-of-4, .pull-6-of-8, .pull-9-of-12 {
    margin-right: calc(75% + 20px / 2)
}

.col-12-of-12, .col-4-of-4, .col-8-of-8 {
    width: calc(100% - 20px)
}

.push-12-of-12, .push-4-of-4, .push-8-of-8 {
    margin-left: calc(100% + 20px / 2)
}

.pull-12-of-12, .pull-4-of-4, .pull-8-of-8 {
    margin-right: calc(100% + 20px / 2)
}

.col-1-of-8 {
    width: calc(12.5% - 20px)
}

.push-1-of-8 {
    margin-left: calc(12.5% + 20px / 2)
}

.pull-1-of-8 {
    margin-right: calc(12.5% + 20px / 2)
}

.col-3-of-8 {
    width: calc(37.5% - 20px)
}

.push-3-of-8 {
    margin-left: calc(37.5% + 20px / 2)
}

.pull-3-of-8 {
    margin-right: calc(37.5% + 20px / 2)
}

.col-5-of-8 {
    width: calc(62.5% - 20px)
}

.push-5-of-8 {
    margin-left: calc(62.5% + 20px / 2)
}

.pull-5-of-8 {
    margin-right: calc(62.5% + 20px / 2)
}

.col-7-of-8 {
    width: calc(87.5% - 20px)
}

.push-7-of-8 {
    margin-left: calc(87.5% + 20px / 2)
}

.pull-7-of-8 {
    margin-right: calc(87.5% + 20px / 2)
}

.col-1-of-12 {
    width: calc(8.33333% - 20px)
}

.push-1-of-12 {
    margin-left: calc(8.33333% + 20px / 2)
}

.pull-1-of-12 {
    margin-right: calc(8.33333% + 20px / 2)
}

.col-2-of-12 {
    width: calc(16.66667% - 20px)
}

.push-2-of-12 {
    margin-left: calc(16.66667% + 20px / 2)
}

.pull-2-of-12 {
    margin-right: calc(16.66667% + 20px / 2)
}

.col-4-of-12 {
    width: calc(33.33333% - 20px)
}

.push-4-of-12 {
    margin-left: calc(33.33333% + 20px / 2)
}

.pull-4-of-12 {
    margin-right: calc(33.33333% + 20px / 2)
}

.col-5-of-12 {
    width: calc(41.66667% - 20px)
}

.push-5-of-12 {
    margin-left: calc(41.66667% + 20px / 2)
}

.pull-5-of-12 {
    margin-right: calc(41.66667% + 20px / 2)
}

.col-7-of-12 {
    width: calc(58.33333% - 20px)
}

.push-7-of-12 {
    margin-left: calc(58.33333% + 20px / 2)
}

.pull-7-of-12 {
    margin-right: calc(58.33333% + 20px / 2)
}

.col-8-of-12 {
    width: calc(66.66667% - 20px)
}

.push-8-of-12 {
    margin-left: calc(66.66667% + 20px / 2)
}

.pull-8-of-12 {
    margin-right: calc(66.66667% + 20px / 2)
}

.col-10-of-12 {
    width: calc(83.33333% - 20px)
}

.push-10-of-12 {
    margin-left: calc(83.33333% + 20px / 2)
}

.pull-10-of-12 {
    margin-right: calc(83.33333% + 20px / 2)
}

.col-11-of-12 {
    width: calc(91.66667% - 20px)
}

.push-11-of-12 {
    margin-left: calc(91.66667% + 20px / 2)
}

.pull-11-of-12 {
    margin-right: calc(91.66667% + 20px / 2)
}

@media (max-width:840px) {
    .m-hide {
        display: none
    }

    .w-m-auto {
        -ms-flex: 1;
        flex: 1
    }

    .col-m-1-of-4, .col-m-2-of-8 {
        width: calc(25% - 20px)
    }

    .push-m-1-of-4, .push-m-2-of-8 {
        margin-left: calc(25% + 20px / 2)
    }

    .pull-m-1-of-4, .pull-m-2-of-8 {
        margin-right: calc(25% + 20px / 2)
    }

    .col-m-2-of-4, .col-m-3-of-6, .col-m-4-of-8 {
        width: calc(50% - 20px)
    }

    .push-m-2-of-4, .push-m-3-of-6, .push-m-4-of-8 {
        margin-left: calc(50% + 20px / 2)
    }

    .pull-m-2-of-4, .pull-m-3-of-6, .pull-m-4-of-8 {
        margin-right: calc(50% + 20px / 2)
    }

    .col-m-3-of-4, .col-m-6-of-8 {
        width: calc(75% - 20px)
    }

    .push-m-3-of-4, .push-m-6-of-8 {
        margin-left: calc(75% + 20px / 2)
    }

    .pull-m-3-of-4, .pull-m-6-of-8 {
        margin-right: calc(75% + 20px / 2)
    }

    .col-m-4-of-4, .col-m-6-of-6, .col-m-8-of-8 {
        width: calc(100% - 20px)
    }

    .push-m-4-of-4, .push-m-6-of-6, .push-m-8-of-8 {
        margin-left: calc(100% + 20px / 2)
    }

    .pull-m-4-of-4, .pull-m-6-of-6, .pull-m-8-of-8 {
        margin-right: calc(100% + 20px / 2)
    }

    .col-m-1-of-6 {
        width: calc(16.66667% - 20px)
    }

    .push-m-1-of-6 {
        margin-left: calc(16.66667% + 20px / 2)
    }

    .pull-m-1-of-6 {
        margin-right: calc(16.66667% + 20px / 2)
    }

    .col-m-2-of-6 {
        width: calc(33.33333% - 20px)
    }

    .push-m-2-of-6 {
        margin-left: calc(33.33333% + 20px / 2)
    }

    .pull-m-2-of-6 {
        margin-right: calc(33.33333% + 20px / 2)
    }

    .col-m-4-of-6 {
        width: calc(66.66667% - 20px)
    }

    .push-m-4-of-6 {
        margin-left: calc(66.66667% + 20px / 2)
    }

    .pull-m-4-of-6 {
        margin-right: calc(66.66667% + 20px / 2)
    }

    .col-m-5-of-6 {
        width: calc(83.33333% - 20px)
    }

    .push-m-5-of-6 {
        margin-left: calc(83.33333% + 20px / 2)
    }

    .pull-m-5-of-6 {
        margin-right: calc(83.33333% + 20px / 2)
    }

    .col-m-1-of-8 {
        width: calc(12.5% - 20px)
    }

    .push-m-1-of-8 {
        margin-left: calc(12.5% + 20px / 2)
    }

    .pull-m-1-of-8 {
        margin-right: calc(12.5% + 20px / 2)
    }

    .col-m-3-of-8 {
        width: calc(37.5% - 20px)
    }

    .push-m-3-of-8 {
        margin-left: calc(37.5% + 20px / 2)
    }

    .pull-m-3-of-8 {
        margin-right: calc(37.5% + 20px / 2)
    }

    .col-m-5-of-8 {
        width: calc(62.5% - 20px)
    }

    .push-m-5-of-8 {
        margin-left: calc(62.5% + 20px / 2)
    }

    .pull-m-5-of-8 {
        margin-right: calc(62.5% + 20px / 2)
    }

    .col-m-7-of-8 {
        width: calc(87.5% - 20px)
    }

    .push-m-7-of-8 {
        margin-left: calc(87.5% + 20px / 2)
    }

    .pull-m-7-of-8 {
        margin-right: calc(87.5% + 20px / 2)
    }
}

@media (max-width:480px) {
    .s-hide {
        display: none
    }

    .w-s-auto {
        -ms-flex: 1;
        flex: 1
    }

    .col-s-1-of-4 {
        width: calc(25% - 20px)
    }

    .push-s-1-of-4 {
        margin-left: calc(25% + 20px / 2)
    }

    .pull-s-1-of-4 {
        margin-right: calc(25% + 20px / 2)
    }

    .col-s-2-of-4, .col-s-3-of-6 {
        width: calc(50% - 20px)
    }

    .push-s-2-of-4, .push-s-3-of-6 {
        margin-left: calc(50% + 20px / 2)
    }

    .pull-s-2-of-4, .pull-s-3-of-6 {
        margin-right: calc(50% + 20px / 2)
    }

    .col-s-3-of-4 {
        width: calc(75% - 20px)
    }

    .push-s-3-of-4 {
        margin-left: calc(75% + 20px / 2)
    }

    .pull-s-3-of-4 {
        margin-right: calc(75% + 20px / 2)
    }

    .col-s-4-of-4, .col-s-6-of-6 {
        width: calc(100% - 20px)
    }

    .push-s-4-of-4, .push-s-6-of-6 {
        margin-left: calc(100% + 20px / 2)
    }

    .pull-s-4-of-4, .pull-s-6-of-6 {
        margin-right: calc(100% + 20px / 2)
    }

    .col-s-1-of-6 {
        width: calc(16.66667% - 20px)
    }

    .push-s-1-of-6 {
        margin-left: calc(16.66667% + 20px / 2)
    }

    .pull-s-1-of-6 {
        margin-right: calc(16.66667% + 20px / 2)
    }

    .col-s-2-of-6 {
        width: calc(33.33333% - 20px)
    }

    .push-s-2-of-6 {
        margin-left: calc(33.33333% + 20px / 2)
    }

    .pull-s-2-of-6 {
        margin-right: calc(33.33333% + 20px / 2)
    }

    .col-s-4-of-6 {
        width: calc(66.66667% - 20px)
    }

    .push-s-4-of-6 {
        margin-left: calc(66.66667% + 20px / 2)
    }

    .pull-s-4-of-6 {
        margin-right: calc(66.66667% + 20px / 2)
    }

    .col-s-5-of-6 {
        width: calc(83.33333% - 20px)
    }

    .push-s-5-of-6 {
        margin-left: calc(83.33333% + 20px / 2)
    }

    .pull-s-5-of-6 {
        margin-right: calc(83.33333% + 20px / 2)
    }
}

@media (min-width:480px) {
    .s-and-lower {
        display: none
    }
}

@media (min-width:840px) {
    .m-and-lower {
        display: none
    }
}


