:root {
  color-scheme: light;
  --ink: #17233a;
  --muted: #606f86;
  --accent: #355ade;
  --line: #dce2ed;
  font-family: "Segoe UI","Microsoft YaHei UI","PingFang SC","Microsoft YaHei",sans-serif;
  color: var(--ink);
  background: #f7f8fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(ellipse at 49% 46%,#fff 0%,#fafbfe 58%,#f5f7fb 100%);
}

.masthead {
  height: 78px;
  max-width: 1216px;
  margin: auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 740 22px/1 "Segoe UI",Arial,sans-serif;
  letter-spacing: -1.25px;
}

.wordmark img {
  object-fit: contain;
}

.header-rule {
  width: 1px;
  height: 15px;
  background: #d4dae4;
}

.header-label {
  font-size: 13px;
  color: #5e6d83;
  letter-spacing: .04em;
}

.cover-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  min-height: 44px;
  color: #495972;
  font-size: 13px;
  text-decoration: none;
}

.cover-back:hover { color: var(--accent); }
.cover-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

main {
  min-height: calc(100svh - 78px);
  display: grid;
  place-items: center;
  padding: 33px 32px clamp(74px,14vh,150px);
}

.download-panel {
  width: min(100%,944px);
  display: grid;
  grid-template-columns: minmax(275px,.95fr) minmax(340px,1.12fr);
  background: #fff;
  border: 1px solid #dce2ed;
  border-radius: 24px;
  padding: 11px;
  box-shadow: 0 34px 85px -45px #3b527b54,0 5px 22px -15px #44587733;
}

.product {
  position: relative;
  isolation: isolate;
  min-height: 432px;
  overflow: hidden;
  border-radius: 15px;
  background: radial-gradient(ellipse at 50% 31%,#f5f9ff 0,#e6efff 52%,#dce7fc 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.product:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(90deg,#7e9ac918 1px,transparent 1px),linear-gradient(#7e9ac918 1px,transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(#000b,#0006 65%,transparent 95%);
}

.product-art {
  position: relative;
  width: 100%;
  height: 283px;
  display: grid;
  place-items: center;
}

.shield {
  width: 218px;
  height: 218px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 14px 11px #4d6dbe27);
}

.orbit {
  position: absolute;
  left: 50%;
  top: 51%;
  border: 1px solid #7090d42a;
  border-radius: 50%;
  transform: translate(-50%,-50%) rotate(-17deg);
  width: 305px;
  height: 192px;
}

.orbit-b {
  width: 362px;
  height: 228px;
  border-style: dashed;
  border-color: #7090d423;
}

.glint {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #92ace1;
  clip-path: polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);
}

.one {
  top: 15%;
  left: 19%;
}

.two {
  bottom: 22%;
  right: 13%;
  width: 6px;
  height: 6px;
}

.product-caption {
  position: relative;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 20px;
}

.product-caption strong {
  display: block;
  color: #263858;
  font: 650 28px/1.25 "Segoe UI",Arial,sans-serif;
  letter-spacing: -1.55px;
}

.product-caption span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  color: #526783;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .035em;
}

.product-caption b {
  font-weight: 400;
  opacity: .75;
}

.windows {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: linear-gradient(#627a99,#627a99),linear-gradient(#627a99,#627a99),linear-gradient(#627a99,#627a99),linear-gradient(#627a99,#627a99);
  background-size: 45% 45%;
  background-position: left top,right top,left bottom,right bottom;
  background-repeat: no-repeat;
}

.form-side {
  align-self: center;
  padding: 48px clamp(30px,4.3vw,58px);
}

h1 {
  font-size: clamp(31px,3vw,42px);
  line-height: 1.22;
  letter-spacing: -.065em;
  font-weight: 680;
  margin: 0 0 13px;
  color: #16233a;
}

.intro {
  margin: 0 0 35px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

form label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
}

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ccd5e4;
  background: #fbfcfe;
  border-radius: 9px;
  padding: 0 4px 0 14px;
  height: 51px;
  transition: border-color .15s,box-shadow .15s;
}

.field:focus-within {
  border-color: #5276ee;
  box-shadow: 0 0 0 3px #4773ed1c;
  background: #fff;
}

.field.invalid {
  border-color: #b95650;
}

input {
  width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--ink);
  font: 500 14px/1.4 Consolas,"Microsoft YaHei UI",monospace;
  letter-spacing: .025em;
}

input::placeholder {
  font: 400 14px/1.4 "Microsoft YaHei UI","PingFang SC",sans-serif;
  color: #7a8699;
  letter-spacing: normal;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.reveal {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 0;
  background: transparent;
  color: #71809a;
  border-radius: 6px;
}

.reveal:hover {
  background: #ebeff7;
}

.reveal:focus-visible,.primary:focus-visible {
  outline: 3px solid #86a3fb;
  outline-offset: 3px;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
  -webkit-mask: var(--icon) center/contain no-repeat;
}

.key {
  --icon: url("./assets/key.png");
  color: #72819a;
}

.eye {
  --icon: url("./assets/eye.png");
}

.reveal[aria-pressed=true] .eye {
  --icon: url("./assets/eye-off.png");
}

.down {
  --icon: url("./assets/download.png");
}

.lock {
  --icon: url("./assets/lock.png");
  width: 13px;
  height: 13px;
}

.primary {
  border: 1px solid #3254cc;
  background: #365bdb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  margin-top: 14px;
  height: 49px;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 3px 7px #355ada20;
  transition: background .15s,transform .15s;
}

.primary:hover {
  background: #294dc8;
}

.primary:active {
  transform: translateY(1px);
}

.primary:disabled {
  cursor: progress;
  background: #4c68c9;
}

.primary.busy .down {
  mask: none;
  -webkit-mask: none;
  background: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff60;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

.primary.done .down {
  --icon: url("./assets/check.png");
}

.feedback {
  margin: 0;
  color: #3c567a;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.feedback:not(:empty) {
  margin-top: 10px;
}

.feedback.error {
  color: #ad393b;
}

.feedback.success {
  color: #19714e;
}

.feedback.error::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 5px;
  vertical-align: -2px;
  background: currentColor;
  mask: url("./assets/alert.png") center/contain no-repeat;
}

.privacy {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  line-height: 1.6;
  color: #64738a;
  margin: 25px 0 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media(max-width:720px) {
  .masthead {
    padding: 0 24px;
    height: 65px;
  }
  .download-panel {
    width: min(100%,480px);
    grid-template-columns: 1fr;
    border-radius: 20px;
    padding: 8px;
  }
  main {
    min-height: calc(100svh - 65px);
    padding: 22px 18px 45px;
  }
  .product {
    min-height: 0;
    height: 167px;
    border-radius: 12px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
  }
  .product-art {
    height: 100%;
    width: 49%;
    max-width: 210px;
  }
  .shield {
    width: 127px;
    height: 127px;
  }
  .orbit-a {
    width: 168px;
    height: 100px;
  }
  .orbit-b {
    width: 194px;
    height: 121px;
  }
  .product-caption {
    margin: 0 0 0 13px;
    text-align: left;
  }
  .product-caption strong {
    font-size: 23px;
    letter-spacing: -1px;
  }
  .product-caption span {
    justify-content: flex-start;
    font-size: 11px;
    gap: 5px;
  }
  .form-side {
    padding: 32px 24px 27px;
  }
  h1 {
    font-size: 31px;
  }
  .intro {
    margin-bottom: 26px;
    font-size: 13px;
  }
  .privacy {
    margin-top: 20px;
  }
}

@media(max-width:360px) {
  .form-side {
    padding: 27px 15px;
  }
  .product-caption {
    margin-left: 6px;
  }
  .product-caption strong {
    font-size: 21px;
  }
  .masthead {
    gap: 10px;
  }
  .product-art {
    width: 45%;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation-duration: .01ms!important;
    transition: none!important;
  }
}
