:root {
  --primary: #031D40;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 0;
  padding: 1rem;
  font-size: 16px;
  line-height: 1.4;
  font-family: "Source Han Sans CN", "Microsoft YaHei", "Microsoft YaHei UI", Simhei, sans-serif;
  color: #666;
  background-image: -webkit-gradient(linear, left bottom, left top, from(#E0F0FA), color-stop(50%, #FFF), to(#E0F0FA));
  background-image: linear-gradient(0deg, #E0F0FA 0%, #FFF 50%, #E0F0FA 100%);
}
@media (min-width: 768px) {
  body {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-block: 24px;
  padding-inline: 16px;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 20px rgba(39, 129, 197, 0.1);
          box-shadow: 0px 0px 20px rgba(39, 129, 197, 0.1);
}
@media (min-width: 768px) {
  .container {
    padding-inline: 30px;
    min-height: 550px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
@media (min-width: 980px) {
  .container {
    padding-inline: 10%;
  }
}

.title {
  display: block;
  margin-block: 0 1em;
  font-size: 24px;
  text-align: center;
  color: var(--primary);
}
@media (min-width: 768px) {
  .title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
  }
}
@media (min-width: 768px) {
  .body {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px auto 30px 1fr;
    grid-template-columns: 1fr auto 1fr;
    -ms-grid-rows: auto 30px auto;
        grid-template-areas: "demo line description" "demo line operation";
    gap: 30px 30px;
  }
}
@media (min-width: 980px) {
  .body {
    gap: 30px 50px;
  }
}

.description {
  grid-area: description;
  -webkit-margin-after: 50rpx;
          margin-block-end: 50rpx;
  color: #666;
  font-size: 26rpx;
}
.description-title {
  margin-block: 0 5px;
  font-size: inherit;
  font-weight: normal;
}
.description-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.description-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}
.description-item .number {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 1em;
  width: 1em;
  line-height: 1;
  border: 1px solid #666;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .demo-wrapper {
    margin-inline: 15px;
  }
}
@media (min-width: 768px) {
  .demo-wrapper {
    grid-area: demo;
  }
}

.demo-title {
  margin-block: 0 16px;
  text-align: center;
}
@media (max-width: 767px) {
  .demo-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 16px;
    font-size: inherit;
    font-weight: normal;
  }
  .demo-title:before, .demo-title:after {
    content: "";
    display: block;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    height: 0;
    border-top: 1px solid #b1b3b2;
  }
}
@media (min-width: 768px) {
  .demo-title span {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
  }
}

.demo-img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-box-shadow: 0px 0px 20px rgba(39, 129, 197, 0.1);
          box-shadow: 0px 0px 20px rgba(39, 129, 197, 0.1);
}

@media (max-width: 767px) {
  .line {
    margin-inline: 15px;
    border-bottom: 1px solid #b1b3b2;
  }
}
@media (min-width: 768px) {
  .line {
    grid-area: line;
    width: 1px;
    height: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(177, 179, 178, 0)), color-stop(50%, #B1B3B2), to(rgba(177, 179, 178, 0)));
    background: linear-gradient(180deg, rgba(177, 179, 178, 0) 0%, #B1B3B2 50%, rgba(177, 179, 178, 0) 100%);
  }
}

@media (min-width: 768px) {
  .operation-wrapper {
    grid-area: operation;
  }
}

@media (min-width: 768px) {
  .description {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
  }
  .demo-wrapper {
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    -ms-grid-column: 1;
  }
  .line {
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    -ms-grid-column: 3;
  }
  .operation-wrapper {
    -ms-grid-row: 3;
    -ms-grid-column: 5;
  }
}

.qr-img {
  display: block;
  width: 120px;
  height: auto;
  margin-inline: auto;
  -webkit-margin-after: 30px;
          margin-block-end: 30px;
}

.button {
  padding: 0;
  width: 100%;
  height: 40px;
  color: #fff;
  font-size: inherit;
  text-align: center;
  border: none;
  background-image: -webkit-gradient(linear, left top, right top, from(#435FD4), to(#6BC2E8));
  background-image: linear-gradient(90deg, #435FD4 0%, #6BC2E8 100%);
  border-radius: 20px;
}