body {
  font-size:15px;
  line-height:1.4;
}

header, footer, section {
  display:block;
}

.container {
  max-width: 1024px;
  margin:0 auto;
  padding-left:20px;
  padding-right:20px;
}

header {
  padding:44px 0;
  text-align:center;
}

a {
  color:#444;
  text-decoration:none;
}

a:hover {
  color:#126EB7;
}

h2 {
  font-size:28px;
  font-weight:300;
  color:#2b2b2b;
  margin-bottom:16px;
  line-height:1.1;
}

.nav {
  margin-top:8px;
}

.nav li {
  display:inline-block;
  padding:0 4px;
  color:#e0e0e0;
}

.nav a {
  color:#444;
  display:block;
  line-height:1.6;
}

header .nav a.current,
html.mac a[data-os=mac],
html.windows a[data-os=windows] {
  color:#126EB7;
  border-bottom: 2px solid #D3E3F1;
}

/* HEROINE SECTION */

.heroine {
  text-align:center;
}

h1 {
  font-size:42px;
  font-weight:200;
  color:#222;
  margin:0 0 44px;
}

.heroine h1 {
  color:#138185;
}

.heroine img {
  width:100%;
  vertical-align: middle;
}

.heroine .screen {
  text-align:center;
  padding-left:20px;
  padding-right:20px;
}

.download-container {
  max-width:660px;
  margin:0 auto 44px;
  overflow:hidden;
}

.download-container .left {
  float:left;
  width:310px;
  text-align:left;
  font-size:18px;
  color:#808080;
}

.download-container p {
  margin-bottom:8px;
}

.download-container p.availability {
  color:#999;
  font-size:15px;
}

.download-container .right {
  float:right;
  max-width:310px;
  width:310px;
}

a.download {
  padding:8px 16px;
  text-align:center;
  font-size:15px;
  display:block;
}

a.download span {
  display:block;
  color:#86C2E3;
  font-size:12px;
  font-weight:normal;
}

p.eula {
  font-size:12px;
  margin-top:16px;
  padding:0 16px;
  color:#808080;
}

/* WORKFLOW SECTION */

.workflow {
  background:#1E8184;
  padding:44px 0;
}

.workflow .container {
  max-width:768px;
  text-align:center;
}

.workflow h2 {
  color:#fff;
}

.work {
  display:table;
  width:100%;
}

.work > div {
  display:table-cell;
  width:auto;
}

.step {
  font-size:18px;
  color:rgba(255,255,255,0.7);
}

.step .mega-octicon {
  font-size:42px;
  color:rgba(0,0,0,0.5);
  display:block;
  margin-bottom:8px;
}

.work .next {
  color:rgba(255,255,255,0.2);
}

/* FEATURES SECTION GENERAL STYLES */

.screen img {
  display:block;
}

.feature {
  color:#808080;
  padding:0 24px;
}

.feature .container {
  max-width:800px;
  margin:0 auto;
  box-sizing: border-box;
  padding:44px 0;
  display:flex;
  display:-webkit-flex;
  align-items: center;
  -webkit-align-items: center;
}

.screen-left .container {
  flex-direction: row-reverse;
  -webkit-flex-direction: row-reverse;
}

.feature .container > div {
  flex:1 1 0;
  -webkit-flex:1 1 0;
}

.feature .screen img {
  max-width:420px;
  width:100%;
}

.feature .description {
  padding-right:44px;
}

.screen-left .description {
  padding-left:44px;
  padding-right:0;
}

/* START SECTION */

.start {
  background:#EFF6FC;
  border-bottom:1px solid #dedede;
}

.start .screen {
  margin-bottom:-44px;
  align-self: flex-end;
  -webkit-align-self: flex-end;
}

/* BRANCH SECTION */

.branch {
  border-bottom:1px solid #dedede;
}

/* CRAFT SECTION */

.craft {
  text-align:center;
  color:#808080;
  background:#f8f8f8;
  padding-bottom:44px;
}

.craft .screen {
  max-width:932px;
  margin:0 auto;
}

.craft .screen img {
  width:100%;
}

.craft .description {
  max-width:600px;
  margin:0 auto;
}

/* HISTORY SECTION */

.history {
  background:#333;
  color:#999;
  padding:44px 0;
  text-align:center;
}

.history .container {
  max-width:800px;
}

.history h2 {
  color:#fff;
}

.history .description {
  max-width:600px;
  margin:0 auto;
}

.history .screen {
  padding-top:44px;
  max-width:800px;
  margin:0 auto;
}

.history img {
  width:100%;
}

/* PR SECTION */

.pull-request {
  border-bottom:1px solid #dedede;
}

.pull-request .screen {
  margin-bottom:-44px;
  align-self: flex-end;
  -webkit-align-self: flex-end;
}

.pull-request img {
  max-width:430px;
}

.pull-request p + h2 {
  margin-top:44px;
}

/* PRE FOOTER */

.cta .container {
  text-align:center;
  padding:44px 0 0;
}

.cta h1 {
  margin-bottom:22px;
}

.cta a.download {
  max-width: 300px;
  margin:0 auto 22px;
}

.cta p {
  color:#808080;
}

/* RELEASE NOTES */

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

.release-notes h1 {
  color:#138185;
  margin-bottom:0;
}

.release-notes .switch {
  color:#808080;
  margin-bottom:44px;
  margin-top:-6px;
}

.release-notes .container {
  max-width:680px;
  text-align:left;
}

.release-notes h2 {
  line-height:1.4;
  border-bottom:1px solid #e0e0e0;
}

.release-notes ul {
  margin-bottom:44px;
  display:table;
}

.release-notes li {
  padding-left:100px;
  margin:0 0 12px;
}

.release-notes .meta {
  float:right;
  color:#808080;
  margin-top:1em;
}

.change-label {
  font-style: normal;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 14px;
  display: inline-block;
  text-transform:uppercase;
  font-size:12px;
}

.release-version {
  margin-left:12px;
}

.change-label-container {
  float:left;
  margin-left:-100px;
  width: 80px;
  text-align:right;
}

.change-new, .change-added { background-color: #6cc644; }
.change-fixed { background-color: #428dc9 }
.change-improved, .change-updated { background-color: #9361cc }
.change-removed { background-color: #e18c58 }

.release-notes .tag {
  display:inline-block;
}

/* FOOTER */

footer {
  text-align:center;
  font-size:13px;
  color:#777;
  padding:44px 0;
}

footer .mega-octicon {
  color:#d8d8d8;
  font-size:42px;
  margin:0 0 44px;
}

footer .nav {
  margin:0 0 16px;
}

footer .nav a {
  color:#777;
}

/* EULA */

.text-content {
  line-height:1.5;
  color:#808080;
}

.text-content .container {
  max-width:740px;
}

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

.text-content h2 {
  margin-top:22px;
  border-bottom:1px solid #e0e0e0;
  line-height:1.3;
}

.text-content ol,
.text-content ul {
  padding-left:24px;
  margin-bottom:22px;
}

.text-content ul {
  list-style-type: disc;
}

.text-content li {
  margin-bottom:12px;
}

.text-content p {
  margin-bottom:22px;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  /* Move the subscripted text down, but only
     half as far down as the superscript moved up */
  bottom: -0.25em;
}

/* SAMPLES */

.samples pre {
  background: #373737;
  color: White;
  padding: 1em;
  border-radius: 3px;
  white-space: wrap;
  word-wrap: break-word;
  margin-bottom: 1em;
  font-size: 12px;
}

@media (max-width: 870px) {
  h1 {
    font-size:36px;
  }
}

@media (max-width: 870px) {
  h1 {
    font-size:36px;
    line-height:1.1;
  }
}

@media (max-width: 700px) {
  .download-container .left,
  .download-container .right {
    float:none;
    width:100%;
    max-width:100%;
    margin-bottom:44px;
  }

  .download-container .right {
    margin-bottom:0;
  }

  h1 {
    font-size:32px;
  }

  h2 {
    font-size:28px;
  }

  .step {
    font-size:15px;
  }

  .workflow {
    padding-bottom:22px;
  }

  .workflow h2 {
    margin-bottom:22px;
  }

  .work {
    width:100%;
  }

  .work > div {
    display:inline-block;
    width:50%;
    margin-bottom:22px;
  }

  .work .next {
    display:none;
  }

  .feature .container {
    display:block;
  }

  .feature .screen img {
    max-width:100%;
  }

  .feature .description {
    padding-right:0;
    padding-bottom:22px;
  }

  .screen-left .description {
    padding-left:0;
    padding-right:0;
  }

  .cta {
    padding:0 20px;
  }

  .release-notes h1 {
    margin-left:20px;
    margin-right:20px;
    margin-bottom:12px;
  }

  .release-notes .meta {
    float:none;
    font-size:13px;
  }

  .release-notes h2 {
    font-size:22px;
  }

  .release-date {
    margin-right:12px;
  }

  .release-version {
    margin-left:0;
  }

  .release-notes {
    font-size:13px;
  }
}
