body {
  margin: 0;
  padding: 20px 16px 30px;
  background: #080808 linear-gradient(#1c1c1c, #080808 300px) no-repeat;
  font-family: Tahoma, Verdana, Geneva, sans-serif;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

code {
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 12px;
}

main {
  max-width: 780px;
}

.window:not(.headless)::before {
  text-indent: 0;
  background-image: url("blacksteam/minimize.png"), url("blacksteam/close.png");
  background-position: top right 20px, top right;
}

.window {
  width: 100%;
}

.window h2 {
  margin: 14px 0 8px;
}

.window p {
  margin: 0 0 10px;
  line-height: 1.5;
}

.muted {
  color: #8c8c8c;
  font-size: 12px;
}

legend {
  padding: 0 6px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Banner */

.banner-box {
  padding: 4px;
  border-top: solid 1px #323232;
  border-left: solid 1px #323232;
  border-bottom: solid 1px #080808;
  border-right: solid 1px #080808;
}

.banner {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #0c0c0c url("img/banner.jpg") center 40% / cover;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, rgba(8, 8, 8, .94), rgba(8, 8, 8, .72) 50%, rgba(8, 8, 8, .15));
}

.banner h1 {
  margin: 0;
}

.banner img {
  position: relative;
  display: block;
  width: 330px;
  max-width: 70%;
  margin: 0;
  padding: 56px 0 0 30px;
  border: none;
}

.banner .tagline {
  position: relative;
  margin: 12px 0 0 34px;
  color: #F0B43F;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ribbon {
  position: absolute;
  top: 26px;
  right: -46px;
  width: 190px;
  padding: 5px 0;
  transform: rotate(45deg);
  background: #F0B43F;
  border-top: solid 1px #f7d189;
  border-bottom: solid 1px #9c6f1c;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .6);
  color: #080808;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

/* Navigation */

nav ul {
  margin: 0;
  padding: 0;
}

nav li a {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav li.active a {
  color: #E3E41F;
  background: #080808;
}

/* Early Access notice */

.notice {
  display: flex;
  align-items: flex-start;
  padding: 12px 14px;
  margin: 0 0 20px;
}

.notice strong {
  flex: none;
  margin: 2px 14px 0 0;
  padding: 3px 8px;
  background: #F0B43F;
  color: #080808;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.notice p {
  margin: 0;
  line-height: 1.5;
}

/* Two windows side by side */

.window-row {
  gap: 20px;
}

.window-row .window {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.window-row .window::after {
  margin-top: auto;
}

.info {
  width: 100%;
  border-collapse: collapse;
}

.info th,
.info td {
  padding: 5px 6px;
  text-align: left;
  vertical-align: top;
  border-bottom: solid 1px #080808;
}

.info th {
  width: 90px;
  color: #8c8c8c;
  font-weight: normal;
}

.info tr:last-child th,
.info tr:last-child td {
  border-bottom: none;
}

/* Features */

.modes {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.modes .box {
  flex: 1;
  margin: 0;
}

.modes h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modes .count {
  display: block;
  color: #F0B43F;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.1;
}

.modes p {
  margin: 6px 0 0;
  font-size: 12px;
  color: #8c8c8c;
}

ul.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.ticks li {
  position: relative;
  padding: 5px 0 5px 20px;
  line-height: 1.45;
}

ul.ticks li::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: #F0B43F;
  border-bottom: solid 1px #080808;
  border-right: solid 1px #080808;
}

kbd {
  display: inline-block;
  padding: 0 5px;
  font: bold 11px/16px Tahoma, Verdana, Geneva, sans-serif;
  color: #fff;
  background: #323232;
  border-top: solid 1px #4a4a4a;
  border-left: solid 1px #4a4a4a;
  border-bottom: solid 1px #080808;
  border-right: solid 1px #080808;
}

/* Screenshots */

.viewer {
  display: block;
  padding: 4px;
}

.viewer img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: none;
}

.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.thumbs button {
  flex: 1;
  min-width: 0;
  height: auto;
  padding: 2px;
  text-align: center;
}

.thumbs button img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: none;
  opacity: .55;
}

.thumbs button:hover img,
.thumbs button.active img {
  opacity: 1;
}

.thumbs button.active {
  border-color: #F0B43F;
}

/* Download */

.download {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.download .get {
  flex: none;
  width: 250px;
  text-align: center;
}

.big-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 10px 9px;
  text-align: left;
  background: linear-gradient(#3c3c3c, #212121);
  border-top: solid 1px #555;
  border-left: solid 1px #555;
  border-bottom: solid 1px #000;
  border-right: solid 1px #000;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #000;
}

.big-button .winflag {
  flex: none;
  width: 32px;
  height: 28px;
  margin: 0;
  border: none;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7));
}

.big-button small {
  display: block;
  margin-top: 3px;
  color: #F0B43F;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0;
  text-transform: none;
}

.big-button:hover {
  background: linear-gradient(#484848, #2a2a2a);
  text-decoration: none;
}

.big-button:active {
  border-top-color: #000;
  border-left-color: #000;
  border-bottom-color: #555;
  border-right-color: #555;
}

.download .get p {
  margin: 8px 0 0;
}

.download fieldset {
  flex: 1;
  margin: 0;
  padding: 6px 14px 10px;
}

ol.steps {
  margin: 0;
  padding-left: 22px;
}

ol.steps li {
  padding: 4px 0;
  line-height: 1.5;
}

/* FAQ */

dl.faq {
  margin: 0;
}

dl.faq dt {
  margin-top: 14px;
  color: #F0B43F;
  font-weight: bold;
}

dl.faq dt:first-child {
  margin-top: 0;
}

dl.faq dd {
  margin: 4px 0 0;
  line-height: 1.5;
}

/* Footer */

footer {
  max-width: 780px;
  margin: 0 auto;
  padding: 4px 0;
  text-align: center;
  color: #6e6e6e;
  font-size: 11px;
  line-height: 1.7;
}

footer a {
  color: #8c8c8c;
}

@media (max-width: 800px) {
  .window-row,
  .download,
  .modes {
    flex-direction: column;
  }

  .window-row .window,
  .download .get {
    max-width: none;
    width: 100%;
  }

  .download fieldset {
    width: 100%;
    box-sizing: border-box;
  }

  .modes .box {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 520px) {
  nav li a {
    padding: 8px 12px;
  }

  .banner {
    height: 170px;
  }

  .banner img {
    padding: 44px 0 0 20px;
  }

  .banner .tagline {
    margin-left: 22px;
    letter-spacing: 1px;
  }

  .thumbs {
    flex-wrap: wrap;
  }

  .thumbs button {
    flex: 1 1 40%;
  }
}
