* {
  position: relative;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", sans-serif;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

div, span, nav, header, section, article, aside, footer {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
  align-content: flex-start;
  justify-content: flex-start;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

h1, h2, h3, strong {
  font-weight: 600;
}

h1 {
  padding-left: 75px;
  line-height: 60px;
  font-size: 42px;
  background: url(../img/icon.png) center left no-repeat;
  background-size: 60px 60px;
  letter-spacing: -1.2px;
}

h2 {
  line-height: 42px;
  font-size: 32px;
  color: #8E8E93;
  letter-spacing: -0.8px;
}

h3 {
  line-height: 32px;
  font-size: 24px;
  letter-spacing: -0.4px;
}

p {
  line-height: 24px;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: #5B54E8;
}

.hidden {
  display: none;
}

header, section {
  max-width: 1100px;
  min-width: 990px;
  margin: 0 auto;
  padding: 0 15px;
  overflow: hidden;
}

header {
  height: 90vh;
}
header .title {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  top: calc(45vh - 30px - 50px);
}

nav {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
}
nav a {
  font-size: 16px;
  line-height: 24px;
  width: 100px;
}
nav a img {
  height: 24px;
  width: 24px;
  vertical-align: bottom;
}
nav .center {
  flex-direction: row;
  align-items: baseline;
}
nav .center a {
  visibility: hidden;
}
nav .center .download, nav .center .spacer {
  width: 330px;
  height: 36px;
  margin: 0 45px;
  text-align: center;
  padding: 6px 0;
}
nav .center .download {
  background: rgba(91, 84, 232, 0.1);
  border-radius: 8px;
  transition: all 0.2s;
  visibility: visible;
}
nav .center .download.fixed {
  position: fixed;
  background: rgb(91, 84, 232);
  color: white;
  left: calc(50% - 165px - 45px);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: scale(0.8);
}
nav .center .download.hidden {
  display: block;
  transform: scale(0.6) translateY(-50px);
  opacity: 0;
}
nav .center .download.disabled {
  color: rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.1);
  cursor: default;
}

nav > a:last-child, nav .center a:first-child {
  text-align: right;
  visibility: hidden;
}

#phone {
  width: 380px;
  height: 750px;
  position: fixed;
  top: calc(45vh - 375px + 60px);
  left: calc(50% - 190px);
}
@media screen and (max-height: 832px) {
  #phone {
    top: 60px;
  }
}
#phone video, #phone .images {
  position: absolute;
  top: 25px;
  left: 29px;
  width: 323px;
  height: 699px;
  background: blue;
}
#phone .images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 323px;
  height: 699px;
}
#phone video {
  z-index: 10;
  left: 28px;
  width: 324px;
  height: 700px;
}
#phone .cover {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 370px;
  height: 741px;
  background: url(../img/phone.png) center center no-repeat;
  background-size: 370px 741px;
  z-index: 100;
}
#phone .controls {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 110;
}
#phone .controls button {
  padding: 12px;
  border: none;
  border-radius: 12px;
  height: 44px;
  min-width: 54px;
  position: absolute;
  top: 64px;
  left: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
#phone .controls button:active {
  background-color: rgba(0, 0, 0, 0.2);
}
#phone .controls button.mute {
  background-image: url(../img/button-mute-on.png);
}
#phone .controls button.play {
  background-image: url(../img/button-play.png);
  background-size: 32px 32px;
  height: 60px;
  width: 60px;
  border-radius: 30px;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
}

article {
  margin: 42px 0;
  flex-direction: row;
  width: 287px;
  color: #8E8E93;
}
article:nth-child(even) {
  margin-left: calc(100% - 287px);
}
article div {
  width: 240px;
}
article div h3 {
  color: #454547;
}
article div p {
  margin-top: 7px;
}
article img {
  height: 32px;
  width: 32px;
  margin-right: 15px;
  flex-shrink: 0;
  opacity: 0.58;
}

.top article:first-child {
  margin-top: 0;
}

.secondary {
  margin-bottom: 128px;
}
.secondary article {
  width: 274px;
  margin-left: 0;
  padding-left: 13px;
}
.secondary article:nth-child(odd) {
  margin-left: calc(100% - 274px);
}
.secondary article div {
  width: 227px;
}
.secondary article div h3 {
  line-height: 24px;
  font-size: 18px;
}
.secondary article div p {
  margin-top: 7px;
  line-height: 21px;
  font-size: 14px;
}
.secondary article img {
  height: 24px;
  width: 24px;
  margin-right: 10px;
}

footer {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(#ffffff 0%, #EFEFF4 100%);
}
footer div {
  justify-content: center;
  align-items: center;
  text-align: center;
}
footer .brand {
  padding: 128px 0 80px;
}
footer .brand img {
  height: 120px;
  width: 120px;
  margin-bottom: 24px;
}
footer .brand h2 {
  color: black;
  /*margin-top: 2px;*/
}
footer .brand h3 {
  color: #8E8E93;
  margin-top: 17px;
}
footer .end {
  margin-bottom: 120px;
  flex-direction: row;
}
footer .end p {
  width: 240px;
  color: #8E8E93;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
}
footer .end p:first-child {
  text-align: right;
}
footer .end img {
  width: 203px;
  height: 84px;
  margin: 0 120px;
  top: 2px;
}
