:root {
  color-scheme: dark;
  --bg: #000;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f9ff;
  --muted: #a5acbb;
  --cyan: #13d4d9;
  --content-col-left: minmax(320px, 520px);
  --content-col-right: minmax(0, 920px);
  --content-gap: clamp(42px, 5vw, 92px);
  --page-pad: clamp(28px, 4vw, 76px);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  padding-bottom: 42px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar {
  height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: clamp(24px, 2.8vw, 42px);
  align-items: center;
  padding: 0 var(--page-pad);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: transparent;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  gap: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  transition: color 0.16s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a.disabled {
  cursor: default;
  opacity: 0.48;
}

.nav-download,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #14b7d7 0%, #10e2d0 100%);
  color: #001012;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(16, 219, 227, 0.14);
}

.nav-download {
  justify-self: end;
  min-width: 112px;
  height: 46px;
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: var(--content-col-left) var(--content-col-right);
  justify-content: center;
  gap: var(--content-gap);
  align-items: center;
  height: calc(100vh - 128px);
  min-height: 0;
  padding: clamp(28px, 5vh, 60px) var(--page-pad);
}

.hero-copy {
  max-width: 520px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 4vw, 72px);
  line-height: 1.14;
  letter-spacing: 0;
  white-space: pre-line;
}

.lead {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.download-panel {
  width: min(100%, 430px);
  margin-top: 46px;
}

.download-button {
  width: 100%;
  height: 64px;
  gap: 10px;
  font-size: 18px;
}

.download-button::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(45% 0, 55% 0, 55% 58%, 76% 37%, 84% 45%, 50% 79%, 16% 45%, 24% 37%, 45% 58%);
}

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

.nav-download.disabled {
  opacity: 1;
}

.showcase-shot {
  min-width: 0;
  width: 100%;
  max-width: 980px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: #070809;
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.58);
}

.showcase-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 232px);
  object-fit: contain;
  image-rendering: auto;
  filter: contrast(1.07) brightness(1.04) saturate(1.03);
  transform: translateZ(0);
}

.site-footer {
  min-height: 40px;
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-content {
  max-width: calc(100% - 32px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  text-align: center;
  line-height: 1.6;
}

.site-footer a {
  color: inherit;
}

@media (max-width: 1180px) {
  body {
    overflow: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    justify-content: start;
    height: auto;
  }

  .showcase-shot {
    max-width: 1080px;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
    height: auto;
    min-height: 86px;
    padding: 14px 18px;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: start;
    gap: 20px;
  }

  .nav-download {
    min-width: 96px;
    height: 40px;
  }

  .hero {
    min-height: 0;
    padding: 40px 18px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.16;
  }

  .lead {
    font-size: 16px;
  }

  .showcase-shot {
    border-radius: 12px;
  }
}
