:root {
  --night: #06111f;
  --night-soft: #0b1b2d;
  --paper: #f2f6f8;
  --ink: #081522;
  --muted: #70808c;
  --cyan: #42e6ff;
  --blue: #3977ff;
  --line: rgba(8, 21, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

.download-page {
  overflow-x: hidden;
}

.download-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
}

.download-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.download-brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
}

.download-brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.download-brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.12em;
}

.download-brand-copy small {
  color: #85929b;
  font-size: 8px;
  letter-spacing: 0.22em;
}

.download-nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  color: #72818d;
  font-size: 12px;
}

.download-nav-links a:hover,
.download-nav-links a:focus-visible {
  color: var(--ink);
}

.download-nav-links .back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.download-hero {
  position: relative;
  min-height: 660px;
  padding: 96px 24px 100px;
  overflow: hidden;
  color: #f7fcff;
  background:
    radial-gradient(circle at 78% 44%, rgba(45, 116, 255, 0.32), transparent 26%),
    radial-gradient(circle at 50% 120%, rgba(66, 230, 255, 0.13), transparent 35%),
    linear-gradient(125deg, #030a14, #081a2e 58%, #06101e);
}

.download-hero::before {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 60vw;
  aspect-ratio: 1;
  border: 1px solid rgba(66, 230, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(66, 230, 255, 0.025), 0 0 0 120px rgba(66, 230, 255, 0.018);
  content: "";
  pointer-events: none;
}

.download-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(35px, 8vw, 130px);
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.download-kicker,
.download-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.download-kicker::before,
.download-section-label::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.download-hero h1 {
  max-width: 620px;
  margin: 24px 0 23px;
  font-size: clamp(50px, 7vw, 88px);
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 1;
}

.download-hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.download-hero-copy > p {
  max-width: 460px;
  margin: 0;
  color: rgba(220, 237, 245, 0.66);
  font-size: 15px;
  line-height: 1.9;
}

.download-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 34px;
}

.download-primary,
.download-secondary {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.download-primary {
  color: #03101c;
  background: var(--cyan);
  box-shadow: 0 12px 28px rgba(66, 230, 255, 0.18);
}

.download-secondary {
  border: 1px solid rgba(218, 239, 247, 0.2);
  color: rgba(244, 251, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
}

.download-primary:hover,
.download-primary:focus-visible,
.download-secondary:hover,
.download-secondary:focus-visible {
  transform: translateY(-2px);
}

.download-secondary:hover,
.download-secondary:focus-visible {
  border-color: rgba(66, 230, 255, 0.6);
  background: rgba(66, 230, 255, 0.08);
}

.download-points {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 29px;
  color: rgba(204, 228, 239, 0.52);
  font-size: 11px;
}

.download-point {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.download-point::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  content: "";
}

.download-preview {
  position: relative;
  display: grid;
  min-height: 510px;
  place-items: center;
}

.download-preview::before {
  position: absolute;
  width: min(470px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 132, 255, 0.25), transparent 65%);
  content: "";
}

.download-preview-label {
  position: absolute;
  z-index: 2;
  top: 7%;
  right: 4%;
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid rgba(139, 204, 235, 0.2);
  border-radius: 14px;
  background: rgba(9, 28, 47, 0.7);
  backdrop-filter: blur(12px);
}

.download-preview-label strong {
  color: var(--cyan);
  font-size: 16px;
  font-weight: 500;
}

.download-preview-label span {
  color: rgba(216, 237, 245, 0.56);
  font-size: 9px;
}

.download-preview-shell {
  position: relative;
  z-index: 1;
  width: min(300px, 72%);
  padding: 9px;
  border: 1px solid rgba(190, 228, 244, 0.25);
  border-radius: 30px;
  background: #0a1b2e;
  box-shadow: 0 35px 54px rgba(0, 0, 0, 0.38), 0 0 0 10px rgba(54, 125, 188, 0.06);
  transform: rotate(5deg);
}

.download-preview-shell img {
  width: 100%;
  border-radius: 21px;
}

.download-panel {
  padding: 110px 24px 115px;
  background: var(--paper);
}

.download-panel-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.download-panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(250px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.download-section-label {
  color: #2678a7;
}

.download-panel h2,
.download-story h2,
.screens-heading h2 {
  max-width: 590px;
  margin: 18px 0 0;
  font-size: clamp(37px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 1.04;
}

.download-panel-heading > p {
  max-width: 350px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.store-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.store-link {
  display: grid;
  grid-template-columns: 47px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 18px 20px 18px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, transform 180ms ease;
}

.store-link:nth-child(3n + 2),
.store-link:nth-child(3n + 3) {
  padding-left: 20px;
}

.store-link:nth-child(3n) {
  border-right: 0;
}

.store-link:hover,
.store-link:focus-visible {
  color: #176a96;
  transform: translateX(3px);
}

.store-symbol {
  width: 42px;
  height: 42px;
  padding: 4px;
  border-radius: 13px;
  object-fit: contain;
  background: rgba(8, 21, 34, 0.08);
}

.store-link strong,
.store-link small {
  display: block;
}

.store-link strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.store-link small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.store-arrow {
  color: #79a0b4;
  font-size: 18px;
}

.download-note {
  margin: 24px 0 0;
  color: #8a969e;
  font-size: 11px;
}

.download-story {
  padding: 112px 24px;
  color: var(--white);
  background: var(--night);
}

.download-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.download-story h2 {
  margin-bottom: 21px;
}

.download-story h2 em {
  color: var(--cyan);
  font-style: normal;
}

.download-story p {
  max-width: 380px;
  margin: 0;
  color: rgba(209, 231, 241, 0.58);
  font-size: 14px;
  line-height: 1.95;
}

.download-story-link {
  display: inline-flex;
  margin-top: 27px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.story-mosaic {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 18px;
  align-items: center;
}

.story-shot {
  padding: 8px;
  border: 1px solid rgba(181, 224, 242, 0.2);
  border-radius: 24px;
  background: #0b1b2d;
  box-shadow: 0 25px 42px rgba(0, 0, 0, 0.28);
}

.story-shot:first-child {
  transform: translateY(28px) rotate(-5deg);
}

.story-shot:last-child {
  transform: rotate(5deg);
}

.story-shot img {
  border-radius: 17px;
}

.screens {
  padding: 112px 24px 125px;
  background: var(--paper);
}

.screens-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.screens-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 49px;
}

.screens-heading p {
  max-width: 300px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.screens-grid figure {
  margin: 0;
  padding: 9px 9px 14px;
  border: 1px solid rgba(66, 106, 130, 0.16);
  border-radius: 24px;
  background: #e8eef2;
}

.screens-grid img {
  width: 100%;
  border-radius: 17px;
}

.screens-grid figcaption {
  padding: 13px 5px 0;
  color: #6e7f89;
  font-size: 11px;
}

.download-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px max(24px, calc((100% - 1160px) / 2));
  color: rgba(196, 220, 231, 0.48);
  background: #040c16;
  font-size: 11px;
}

.download-footer-links {
  display: flex;
  gap: 22px;
}

.download-footer a:hover,
.download-footer a:focus-visible {
  color: var(--cyan);
}

@media (max-width: 820px) {
  .download-hero {
    min-height: 0;
    padding-top: 75px;
  }

  .download-hero-inner,
  .download-panel-heading,
  .download-story-inner {
    grid-template-columns: 1fr;
  }

  .download-preview {
    min-height: 500px;
    margin-top: -15px;
  }

  .download-panel-heading > p {
    margin-top: 5px;
  }

  .store-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-link:nth-child(3n + 2),
  .store-link:nth-child(3n + 3) {
    padding-left: 0;
  }

  .store-link:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .store-link:nth-child(2n) {
    padding-left: 20px;
    border-right: 0;
  }

  .screens-heading {
    display: block;
  }

  .screens-heading p {
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .download-nav {
    width: calc(100% - 34px);
  }

  .download-brand-copy small,
  .download-nav-links a:not(.back-link) {
    display: none;
  }

  .download-hero,
  .download-panel,
  .download-story,
  .screens {
    padding-right: 18px;
    padding-left: 18px;
  }

  .download-hero {
    padding-top: 67px;
    padding-bottom: 76px;
  }

  .download-hero h1 {
    font-size: clamp(49px, 15vw, 72px);
  }

  .download-preview {
    min-height: 430px;
  }

  .download-preview-shell {
    width: 67%;
  }

  .download-preview-label {
    top: 2%;
    right: 0;
  }

  .download-panel,
  .download-story,
  .screens {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .store-list,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .store-link,
  .store-link:nth-child(2n),
  .store-link:nth-child(3n + 2),
  .store-link:nth-child(3n + 3) {
    padding-left: 0;
    border-right: 0;
  }

  .story-mosaic {
    gap: 10px;
  }

  .story-shot {
    padding: 5px;
    border-radius: 17px;
  }

  .story-shot:first-child {
    transform: translateY(16px) rotate(-4deg);
  }

  .download-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 21px 18px;
  }
}
