:root {
  color-scheme: dark;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #07090e;
  color: #f4f6fa;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(47, 76, 119, 0.13), transparent 29rem), #07090e;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #080b10;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-120%);
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(20px);
}

.nav-shell {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f6f8fb;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: #0b0d12;
  place-items: center;
}

.brand-mark img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-link,
.customer-service-trigger {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #c9ced8;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.download-link {
  display: inline-flex;
  padding: 0 15px;
  align-items: center;
}

.download-link:hover,
.customer-service-trigger:hover,
.customer-service.is-open .customer-service-trigger {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.download-link:focus-visible,
.customer-service-trigger:focus-visible,
.customer-service-panel button:focus-visible {
  outline: 2px solid #9eb9ff;
  outline-offset: 3px;
}

.customer-service {
  position: relative;
}

.customer-service-trigger {
  position: relative;
  display: inline-flex;
  padding: 0 13px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.customer-service-trigger svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.customer-service-trigger > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5ee7a1;
  box-shadow: 0 0 0 3px rgba(94, 231, 161, 0.11);
}

.customer-service[data-state="error"] .customer-service-trigger > i,
.customer-service[data-state="unavailable"] .customer-service-trigger > i {
  background: #77808f;
  box-shadow: none;
}

.customer-service-panel {
  position: absolute;
  z-index: 60;
  top: calc(100% + 13px);
  right: 0;
  width: min(326px, calc(100vw - 28px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(17, 20, 27, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.customer-service-panel[hidden] {
  display: none;
}

.customer-service-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.customer-service-kicker {
  color: #91a3c4;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.customer-service-panel h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 20px;
}

.customer-service-panel-head button {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: transparent;
  color: #aab0ba;
  cursor: pointer;
  place-items: center;
}

.customer-service-qr {
  display: grid;
  width: 186px;
  height: 186px;
  margin: 18px auto 14px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  place-items: center;
}

.customer-service-qr img {
  width: 100%;
  height: 100%;
  padding: 7px;
  object-fit: contain;
}

.customer-service-placeholder {
  display: flex;
  gap: 6px;
}

.customer-service-placeholder i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #687384;
}

.customer-service[data-state="ready"] .customer-service-placeholder {
  display: none;
}

.customer-service-status,
.customer-service-message {
  margin: 0;
  text-align: center;
}

.customer-service-status {
  color: #f2f4f8;
  font-size: 13px;
  font-weight: 700;
}

.customer-service-message {
  margin-top: 6px;
  color: #89919e;
  font-size: 11px;
  line-height: 1.6;
}

.customer-service-sync {
  display: flex;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #69717e;
  font-size: 9px;
}

.customer-service-sync i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5ee7a1;
}

.download-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.hero-copy {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero-mark {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 19px;
  background: linear-gradient(145deg, #10141d, #06080c);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.07),
    0 20px 55px rgba(0, 0, 0, 0.36);
  place-items: center;
}

.hero-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.eyebrow {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 11px;
  color: #aabdf1;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.22em;
}

.eyebrow i {
  width: 22px;
  height: 1px;
  background: #aabdf1;
}

h1 {
  margin: 19px 0 0;
  color: #f6f7fb;
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.hero-description {
  max-width: 650px;
  margin: 17px auto 0;
  color: #9aa1ad;
  font-size: 15px;
  line-height: 1.8;
}

.download-actions {
  width: min(720px, 100%);
  margin: 28px auto 0;
  text-align: center;
}

.download-primary {
  display: inline-flex;
  width: min(212px, 100%);
  min-height: 62px;
  padding: 10px 15px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  background: #f6f7f9;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 12px 32px rgba(0, 0, 0, 0.22);
  color: #151922;
  text-align: left;
}

.download-primary:disabled,
.download-option button:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.download-primary > span:last-child,
.download-option > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.download-primary b {
  font-size: 13px;
  font-weight: 780;
}

.download-primary small {
  color: #787f8b;
  font-size: 9px;
  white-space: nowrap;
}

.windows-mark {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.windows-mark i:nth-child(1) {
  background: #f35325;
}

.windows-mark i:nth-child(2) {
  background: #81bc06;
}

.windows-mark i:nth-child(3) {
  background: #05a6f0;
}

.windows-mark i:nth-child(4) {
  background: #ffba08;
}

.download-more {
  margin-top: 9px;
}

.download-more summary {
  display: inline-flex;
  padding: 4px 6px;
  align-items: center;
  gap: 5px;
  color: #7f8794;
  cursor: pointer;
  font-size: 10px;
  list-style: none;
  text-decoration: underline;
  text-decoration-color: rgba(127, 135, 148, 0.45);
  text-underline-offset: 4px;
}

.download-more summary::-webkit-details-marker {
  display: none;
}

.download-more summary span {
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  transition: transform 160ms ease;
}

.download-more[open] summary span {
  transform: rotate(180deg);
}

.download-options {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.download-option {
  display: flex;
  min-height: 52px;
  padding: 9px 11px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.download-option b {
  color: #d9dce3;
  font-size: 11px;
  font-weight: 700;
}

.download-option small {
  color: #696f7a;
  font-size: 9px;
}

.download-option button {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #747b87;
  font-size: 9px;
  font-weight: 650;
}

.product-preview {
  width: min(1080px, 100%);
  margin: 64px auto 0;
}

.preview-heading {
  display: flex;
  margin-bottom: 18px;
  align-items: flex-end;
  justify-content: space-between;
}

.preview-heading > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9aa3b2;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.19em;
}

.preview-heading > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fa3ff;
  box-shadow: 0 0 0 4px rgba(127, 163, 255, 0.09);
}

.preview-heading p {
  margin: 0;
  color: #686f7a;
  font-size: 11px;
}

.product-preview > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow:
    0 45px 110px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.025);
}

@media (max-width: 720px) {
  .nav-shell,
  .download-page {
    width: min(100% - 28px, 1120px);
  }

  .download-page {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(37px, 11vw, 54px);
  }

  .hero-description {
    max-width: 34em;
    font-size: 13px;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .product-preview {
    margin-top: 52px;
  }
}

@media (max-width: 460px) {
  .brand > span:last-child,
  .customer-service-trigger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .download-link {
    min-height: 36px;
  }

  .customer-service-trigger {
    width: 40px;
    min-height: 36px;
    padding: 0;
    justify-content: center;
  }

  .customer-service-trigger > i {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 5px;
    height: 5px;
  }

  .hero-mark {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 17px;
  }

  .hero-mark img {
    width: 47px;
    height: 47px;
  }

  .eyebrow {
    font-size: 9px;
  }

  h1 {
    letter-spacing: -0.045em;
  }

  .download-actions {
    width: min(100%, 520px);
  }

  .preview-heading p {
    display: none;
  }

  .product-preview > img {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  .download-more summary span,
  .download-link,
  .customer-service-trigger {
    transition: none;
  }
}
