/* 1. GLOBAL ELEMENTS
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• */

a, abbr, address, article, aside, audio, b, blockquote, body, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup,
html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary,
sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

article, aside, canvas, details, figcaption, figure, footer, header,
hgroup, menu, nav, section, summary {
  display: block;
}

a, ins, del {
  text-decoration: none;
}

ul, ol {
  list-style: none;
}


/*  =Margins for content elements
======================================================================= */

body {
  font-family: "calluna-sans", "Seravek", sans-serif;
  font-size: 20px;
  line-height: 25px;
  background-color: #f2f2f2;
  color: #767c82;
}

html, body {
  height: 100%;
}

p {
  margin: 20px 0;
}

p.small {
  font-size: 14px;
}

a {
  color: #5c80f5;
}

.wrap {
  border: 1px solid #dfdfdf;
  border-width: 0 1px;
  background-color: #fff;
  min-height: 100%;
  width: 980px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 auto;
}

.hidden {
  display: none;
}

/*  =
======================================================================= */

.icon {
  width: 60px;
  height: 60px;
  display: block;
  background: url("icons.png") no-repeat;
}

.icon-html5  { background-position: -10px -400px; }
.icon-retina { background-position: -10px -530px; }

@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .icon {
    background-size: 110px 330px;
  }
  
  .icon-html5  { background-position: -45px -200px; }
  .icon-retina { background-position: -45px -265px; }
}

/*  =Columns
======================================================================= */

.columns::after {
  content: "";
  display: block;
  clear: both;
}

.columns > .column {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
}

.columns.apart > .column.last {
  float: right;
}

.columns.reverse > .column.first {
  float: right;
}

.columns.equal > .column.first,
.columns.equal > .column.last {
  width: 50%;
}

.columns.equal > .column.first {
  padding-right: 20px;
}

.columns.equal > .column.last {
  padding-left: 20px;
}

/*  =Gaps
======================================================================= */

.gap {
  margin-top: 40px;
  margin-bottom: 40px;
}

.gap.smaller {
  margin-top: 20px;
  margin-bottom: 20px;
}

.gap.smallest {
  margin-top: 10px;
  margin-bottom: 10px;
}

.gap.tiny {
  margin-top: 5px;
  margin-bottom: 5px;
}

.gap.bigger {
  margin-top: 60px;
  margin-bottom: 60px;
}

.gap.biggest {
  margin-top: 80px;
  margin-bottom: 80px;
}

.gap.pad {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

.gap.smaller.pad {
  padding-top: 20px;
  padding-bottom: 20px;
}

.gap.smallest.pad {
  padding-top: 10px;
  padding-bottom: 10px;
}

.gap.tiny.pad {
  padding-top: 5px;
  padding-bottom: 5px;
}

.gap.bigger.pad {
  padding-top: 60px;
  padding-bottom: 60px;
}

.gap.biggest.pad {
  padding-top: 80px;
  padding-bottom: 80px;
}

.gap.bottom {
  margin-top: 0;
}

.gap.top {
  margin-bottom: 0;
}

.gap.pad.top {
  padding-bottom: 0;
}

.gap.pad.bottom {
  padding-top: 0;
}

/*  =Header
======================================================================= */

.header {
  background: #7486ad url("top.jpg") no-repeat 0 100%;
  height: 385px;
  position: relative;
  margin-left: -1px;
  margin-right: -1px;
  color: #000;
}

.header::before,
.header::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  width: 1px;
  z-index: 100;
}

.header::before {
  left: 0;
}

.header::after {
  right: 0;
}

.header p {
  margin: 0;
}

.header .tagline {
  margin-right: 470px;
  padding-left: 60px;
  padding-top: 85px;
  font: 300 36px/40px "myriad-pro", "Myriad Pro", sans-serif;
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.7) 0 2px 4px;
}

.header .tagline p:first-child {
  margin-left: -15px;
  margin-bottom: 15px;
}

.header .tagline p:first-child + p {
  font-size: 48px;
  line-height: 60px;
}

.header .tagline .app-icon {
  width: 128px;
  height: 128px;
  display: inline-block;
  background: url("icon.png") no-repeat;
}

.header .menu {
  position: absolute;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
  z-index: 200;
  top: 0;
  right: 0;
  margin-right: -20px;
  margin-top: -52px;
  width: 510px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  font-family: "Lucida Grande", "Helvetica Neue", "Tahoma", sans-serif;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-top-width: 0;
  padding-bottom: 8px;
  padding-top: 6px;
  background-clip: padding-box;
  -moz-box-shadow:    rgba(0, 0, 0, 0.2) 0 18px 31px 6px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 18px 31px 6px;
  box-shadow:         rgba(0, 0, 0, 0.2) 0 18px 31px 6px;
  -o-transition:      margin-right 0.25s linear;
  -ms-transition:     margin-right 0.25s linear;
  -moz-transition:    margin-right 0.25s linear;
  -webkit-transition: margin-right 0.25s linear;
  transition:         margin-right 0.25s linear;
  -ms-transform: scale(0.75);
  -moz-transform: scale(0.75);
  -webkit-transform: scale(0.75);
  transform: scale(0.75);
}

.header .menu > span,
.picture-2 > span {
  display: block;
  font-size: 28px;
  line-height: 38px;
  position: relative;
  padding: 0 42px;
}

.header .menu .separator {
  padding-top: 12px;
  margin-top: 12px;
}

.header .menu .separator::before {
  content: "";
  position: absolute;
  top: 0;
  right: 2px;
  left: 2px;
  height: 2px;
  background-color: #e5e5e5;
}

.header .menu .grayed-out,
.picture-2 .grayed-out {
  color: #999999;
}

.header .menu .meta {
  position: absolute;
  right: 30px;
}

.header .menu .file-1,
.header .menu .file-2,
.picture-2 .file-1,
.picture-2 .file-2 {
  padding-left: 82px;
}

.header .menu .file-1::before,
.header .menu .file-2::before,
.picture-2 .file-1::before,
.picture-2 .file-2::before {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 2px;
  width: 24px;
  height: 15px;
  left: 42px;
  top: 8px;
  background-image: url("sprites.png");
  background-repeat: no-repeat;
}

.header .menu .file-1::before,
.picture-2 .file-1::before {
  background-position: -66px -8px;
}

.header .menu .file-2::before,
.picture-2 .file-2::before {
  background-position: -66px -48px;
}

.header .menu .separator.grayed-out::after,
.picture-2 .grayed-out::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 25px;
  width: 16px;
  height: 16px;
  background: url("sprites.png") no-repeat -144px -10px;
}

.picture-2 .grayed-out::after {
  top: 13px;
}

.header .menu .progress,
.picture-2 .progress {
  position: absolute;
  right: 30px;
  width: 73px;
  height: 12px;
  top: 50%;
  margin-top: -7px;
  border: 1px solid #808080;
  border-radius: 7px;
  background-color: #cccccc;
}

.header .menu .progress::after,
.picture-2 .progress::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  width: 33px;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
  border: 1px solid #808080;
  background-color: #fff;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {  
  .header {
    background-image: url("top@2x.jpg");
    background-size: 982px 445px;
  }
  
  .header .tagline .app-icon {
    background-size: 128px 128px;
    background-image: url("icon@2x.png");
  }
  
  .header .menu .file-1::before,
  .header .menu .file-2::before,
  .picture-2 .file-1::before,
  .picture-2 .file-2::before,
  .header .menu .separator.grayed-out::after,
  .picture-2 .grayed-out::after {
    background-size: 85px 45px;
  }

  .header .menu .file-1::before,
  .picture-2 .file-1::before {
    background-position: -3px -3px;
  }

  .header .menu .file-2::before,
  .picture-2 .file-2::before {
    background-position: -3px -23px;
  }
  
  .header .menu .separator.grayed-out::after,
  .picture-2 .grayed-out::after {
    background-position: -51px -5px;
  }
}

/*  =
======================================================================= */

.columns.tutorial .column.first {
  width: 393px;
  padding-left: 60px;
}

.columns.tutorial .column.last {
  width: 585px;
  padding-right: 40px;
}

.number {
  position: relative;
  padding-left: 70px;
  padding-top: 4px;
  font: 300 36px/42px "myriad-pro", "Myriad Pro", myriad-pro, sans-serif;
  color: #000;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.number.a,
.number.b {
  padding-right: 30px;
}

.number > span {
  text-align: center;
  background-color: #f02e30;
  font: 300 28px/44px "myriad-pro", "Myriad Pro", myriad-pro, sans-serif;
  color: #fff;
  left: 0;
  top: 6px;
  z-index: 20;
}

.number  > span,
.number.c::before,
.number.c::after {
  border-radius: 22px;
  height: 44px;
  width: 44px;
  position: absolute;
}

.number.c::before,
.number.c::after {
  content: "";
  top: 6px;
}

.number.c::before {
  background-color: #f57c7d;
  left: -10px;
  z-index: 15;
}

.number.c::after {
  background-color: #fbcbcb;
  left: -20px;
}

.video-border {
  border-radius: 8px;
  background:    -moz-linear-gradient(top, #b5b9c3 0%, #fff 100%);
  background:     -ms-linear-gradient(top, #b5b9c3 0%, #fff 100%);
  background:      -o-linear-gradient(top, #b5b9c3 0%, #fff 100%);
  background: -webkit-linear-gradient(top, #b5b9c3 0%, #fff 100%);
  background:         linear-gradient(top, #b5b9c3 0%, #fff 100%);
  padding: 1px;
}

.video-preview {
  display: block;
  border-radius: 7px;
  background: #fff url("video-preview.png") no-repeat;
  padding: 120px 0 80px;
  text-align: center;
  font-family: "myriad-pro", "Myriad Pro", sans-serif;
  font-weight: 300;
  font-size: 36px;
}

.video-preview p {
  margin: 0 0 20px;
  color: #3f3f3f;
}

.video-preview span {
  display: inline-block;
  padding-left: 50px;
  position: relative;
}

.video-preview span::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  left: 0;
  top: 50%;
  margin-top: -20px;
  background: url("icons.png") -10px -340px no-repeat;
}

.video-preview:hover span::before,
.video-preview:focus span::before {
  background-position: -10px -240px;
}

.badge {
  text-align: center;
  padding-top: 6px;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {
  
  .video-preview {
    background-image: url("video-preview@2x.png");
    background-size: 546px 82px;
  }
  
  .video-preview span::before { background-size: 110px 330px; }  
  .video-preview span::before { background-position: -45px -150px; }
  
  .video-preview:hover span::before,
  .video-preview:focus span::before {
    background-position: -45px -100px;
  }
  
}


/*  =Features
======================================================================= */

.feature {
  padding: 0 40px;
}

.feature::after {
  content: "";
  display: table;
  clear: both;
}

.feature .heading {
  background-color: #5c80f5;
  color: #fff;
  font: 300 36px/40px "myriad-pro", "Myriad Pro", sans-serif; 
  padding: 10px 40px;
  margin: 0 -40px 20px -40px;
}

.feature .picture {
  float: right;
  margin: -20px -40px 0 40px;
  width: 393px;
  height: 235px;
  background-color: #fff;
  position: relative;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.feature.wide .picture {
  width: 547px;
}

.feature .picture::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-style: dashed;
  border-width: 2px 0 2px 2px;
  border-color: rgba(0, 0, 0, 0.1);
}

.feature .picture::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 2px;
  background-color: #5c80f5;
  height: 60px;
}

.picture-1,
.picture-2 {
  font-family: "Lucida Grande", "Helvetica Neue", "Tahoma", sans-serif;
  color: #000;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.picture-1 {
  display: block;
  width: 80px;
  font-size: 28px;
  line-height: 44px;
  padding-right: 148px;
  text-align: right;
  margin: 95px auto 0;
  background: url("control-buttons.png") no-repeat 100% 0;
}

.picture-2 {
  width: 490px;
  margin: 60px auto 0;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {  
  .picture-1 {
    background-size: 135px 44px;
    background-image: url("control-buttons@2x.png");
  }
}

/*  =Mini Features
======================================================================= */

.mini-features {
  padding: 40px 170px;
  background-color: #fafafa;
  border-width: 1px 0;
  border-style: solid;
  border-color: #eee;
}

.mini-features .icon {
  margin: 0 auto;
}

/*  =Try Out
======================================================================= */

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

/*  =Video Overlay
======================================================================= */

.video {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 80px 5%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
}

.video video {
  max-width: 100%;
}

.video .close {
  position: absolute;
  left: 20px;
  top: 10px;
  color: #aaa;
  font: 300 48px/1 "myriad-pro", "Myriad Pro", sans-serif;
}

/*  =FAQ
======================================================================= */

.faq {
  padding: 3px 40px 40px;
}

.faq-heading {
  font-weight: normal;
  color: #111;
  position: relative;
}

.faq-heading + p {
  margin-top: 0;
}

.faq-heading.gap::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -40px;
  left: -40px;
  height: 1px;
  background-color: #eee;
}

.faq .small {
  margin-top: -20px;
  opacity: 0.7;
}

/*  =Promo
======================================================================= */

.promo {
  background-color: #f1f7ff;
  border-bottom: 1px solid #e6eef8;
  text-align: center;
  color: #52546b;
  position: relative;
}

.promo-heading {
  font: 300 36px/46px "myriad-pro", "Myriad Pro", sans-serif;
}

.promo-subheading {
  margin: 0;
}

.promo .column.first {
  padding-left: 220px;
}

.promo .column.last {
  padding-right: 220px;
}

.promo .step {
  display: inline-block;
  font-size: 16px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border: 1px solid #6486f5;
  border-radius: 15px;
  color: #6486f5;
}

.promo .columns {
  margin-top: 30px;
}

.promo .column p {
  margin: 10px 0 0;
}

.promo .columns p a span {
  border-bottom: 1px solid #bccaf8;
  line-height: 18px;
  display: inline-block;
}

.promo::after,
.promo::before {
  position: absolute;
  content: "";
  width: 140px;
  height: 211px;
  top: 50%;
  margin-top: -105px;
}

.promo::after {
  left: 40px;
  background: url("promo-arrows-left.png") no-repeat;
}

.promo::before {
  right: 40px;
  background: url("promo-arrows-right.png") no-repeat;
}

.promo a:hover,
.promo a:focus {
  color: #4e71e2;
}

.promo + .tutorial .video-preview {
  padding-top: 140px;
  padding-bottom: 140px;
}

.promo + .tutorial .badge {
  display: none;
}

.learn-more-button {
  text-align: center;
  padding: 40px;
  border-width: 1px 0 0;
  border-style: solid;
  border-color: #eee;
}

/*  =Feedback
======================================================================= */

.feedback {
  background-color: #f1f7ff;
  text-align: center;
  color: #8a97a8;
}

.feedback-yes,
.feedback-no {
  padding-left: 27px;
  position: relative;
  margin-left: 10px;
}

.feedback-no {
  color: #8395cc;
}

.feedback-yes::before,
.feedback-no::before {
  position: absolute;
  content: "";
  height: 22px;
  background: url("icons.png") no-repeat;
  left: 0;
  top: 50%;
  margin-top: -11px;
}

.feedback-yes::before {
  background-position: -10px -168px;
  width: 21px;
}

.feedback-no::before {
  background-position: -10px -114px;
  width: 23px;
  
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {
  
  .feedback-yes::before,
  .feedback-no::before {
    background-size: 110px 330px;
  }
  
  .feedback-yes::before {
    background-position: -45px -73px;
  }
  
  .feedback-no::before {
    background-position: -45px -46px;
  }
  
}

/*  =Footer
======================================================================= */

.master-footer {
  padding-left: 40px;
  padding-right: 40px;
  text-align: center;
  font-size: 14px;
  color: #ddd;
  border-top: 1px solid #eee;
}

.master-footer a {
  color: #666;
}

.master-footer a:first-child {
  margin-right: 40px;
}

.master-footer a:first-child::after {
  content: ".";
  color: #999;
}