:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050b14;
  color: #f6f9ff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #050b14;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background:
    radial-gradient(circle at 50% 18%, rgba(39, 128, 255, 0.2), transparent 32rem),
    linear-gradient(rgba(77, 163, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 163, 255, 0.04) 1px, transparent 1px),
    #050b14;
  background-size: auto, 38px 38px, 38px 38px, auto;
}

.download-page {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 108px;
  padding: 64px 20px 120px;
  overflow-x: clip;
}

.download-card {
  order: 2;
  width: min(100%, 520px);
  padding: clamp(32px, 8vw, 58px);
  text-align: center;
  border: 1px solid rgba(129, 187, 255, 0.2);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(16, 34, 57, 0.96), rgba(7, 17, 31, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 255, 255, 0.05);
}

.app-logo {
  width: 112px;
  height: 112px;
  display: block;
  margin: 0 auto 22px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(28, 122, 255, 0.28);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 850;
}

.download-actions {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.feature-section,
.pricing-section,
.contact-section {
  width: min(100%, 1040px);
  min-width: 0;
}

.feature-section {
  order: 1;
}

.pricing-section {
  order: 3;
}

.contact-section {
  order: 4;
}

.section-heading {
  text-align: center;
}

.section-heading > span {
  color: #61a8ff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.feature-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px auto 10px;
}

.feature-tags span {
  padding: 9px 14px;
  border: 1px solid rgba(129, 187, 255, 0.2);
  border-radius: 999px;
  background: rgba(14, 32, 54, 0.82);
  color: #c6d8ee;
  font-size: 0.875rem;
  font-weight: 700;
}

.carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 42px;
}

.carousel::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 4%;
  bottom: 52px;
  left: 4%;
  height: 92px;
  border: 1px solid rgba(151, 200, 255, 0.18);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(28, 54, 83, 0.72), rgba(8, 22, 39, 0.84));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(1.25);
}

.screenshot-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 0;
  min-height: 690px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding: 44px max(24px, calc((100% - 215px) / 2)) 76px;
  scroll-padding-inline: max(24px, calc((100% - 215px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
}

.screenshot-track::-webkit-scrollbar {
  display: none;
}

.screenshot-slide {
  --dock-scale: 0.58;
  --dock-shift-x: 0px;
  --dock-opacity: 0.62;
  --dock-z: 1;
  width: 215px;
  height: 478px;
  flex: 0 0 215px;
  margin: 0;
  overflow: hidden;
  border: 6px solid #111d2d;
  border-radius: 29px;
  background: #eaf1fb;
  box-shadow: 0 36px 74px rgba(0, 0, 0, 0.46);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  z-index: var(--dock-z);
  opacity: var(--dock-opacity);
  filter: saturate(calc(0.72 + (var(--dock-scale) * 0.24))) brightness(calc(0.78 + (var(--dock-scale) * 0.18)));
  transform: translate3d(var(--dock-shift-x), 0, 0) scale(var(--dock-scale));
  transform-origin: bottom center;
  cursor: pointer;
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 300ms ease,
    filter 300ms ease,
    border-color 300ms ease,
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.screenshot-slide.is-active {
  filter: none;
  border-color: #345f94;
  box-shadow:
    0 48px 100px rgba(0, 0, 0, 0.58),
    0 0 70px rgba(46, 133, 255, 0.19);
}

.screenshot-slide:focus-visible {
  outline: 3px solid #7ab8ff;
  outline-offset: 5px;
}

.screenshot-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: calc(50% - 42px);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0 0 5px;
  border: 1px solid rgba(129, 187, 255, 0.3);
  border-radius: 50%;
  background: rgba(9, 24, 42, 0.9);
  color: #fff;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.carousel-arrow.previous {
  left: 18px;
}

.carousel-arrow.next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #3d536f;
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.carousel-dots button[aria-current="true"] {
  width: 26px;
  background: #4d9cff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 720px);
  margin: 34px auto 0;
}

.price-card {
  padding: 30px;
  border: 1px solid rgba(129, 187, 255, 0.18);
  border-radius: 24px;
  background: rgba(12, 28, 48, 0.88);
}

.price-card.featured {
  border-color: #438fe9;
  background: linear-gradient(145deg, rgba(32, 94, 174, 0.38), rgba(12, 28, 48, 0.94));
  box-shadow: 0 22px 60px rgba(24, 119, 242, 0.15);
}

.price-card h3 {
  margin: 0;
  color: #c7d5e8;
  font-size: 1.05rem;
}

.price-card p {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 0;
}

.price-card strong {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.055em;
}

.price-card p span {
  color: #7990ac;
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 880px);
  margin: 34px auto 0;
}

.contact-list a {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(129, 187, 255, 0.18);
  border-radius: 20px;
  background: rgba(12, 28, 48, 0.88);
  color: #fff;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.contact-list a:hover {
  transform: translateY(-2px);
  border-color: #438fe9;
}

.contact-list span {
  color: #7397c4;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.download-button {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.download-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: 0 0 auto;
}

.download-button.android {
  background: #1877f2;
  border: 1px solid #4d9cff;
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.28);
}

.download-button.play-store {
  background: #f6f9ff;
  border: 1px solid #fff;
  color: #07111f;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.12);
}

.download-button.windows {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.download-button:hover {
  transform: translateY(-2px);
}

.download-button.android:hover {
  box-shadow: 0 16px 36px rgba(24, 119, 242, 0.4);
}

.download-button.play-store:hover {
  box-shadow: 0 16px 36px rgba(255, 255, 255, 0.2);
}

.download-button.windows:hover {
  border-color: rgba(129, 187, 255, 0.55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.download-button:focus-visible,
footer a:focus-visible {
  outline: 3px solid #8fc2ff;
  outline-offset: 4px;
}

footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 20px 24px;
}

footer a {
  color: #8497b3;
  font-size: 0.875rem;
  text-decoration: none;
}

footer a:hover {
  color: #d7e8ff;
}

.legal-page {
  display: block;
  background: #07111f;
}

.legal-shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-shell > a {
  color: #7eb7ff;
  text-decoration: none;
  font-weight: 700;
}

.legal-shell h1 {
  margin: 36px 0 30px;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
}

.legal-shell h2 {
  margin: 30px 0 10px;
  font-size: 1.25rem;
}

.legal-shell p,
.legal-shell li {
  color: #c2cee0;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-shell a {
  color: #7eb7ff;
}

@media (max-width: 520px) {
  .download-page {
    gap: 80px;
    padding-top: 32px;
  }

  .download-card {
    border-radius: 24px;
  }

  .app-logo {
    width: 92px;
    height: 92px;
    border-radius: 22px;
  }

  .feature-tags {
    gap: 8px;
  }

  .carousel {
    margin-top: 30px;
  }

  .screenshot-track {
    min-height: 570px;
    padding: 28px calc((100% - 180px) / 2) 68px;
    scroll-padding-inline: calc((100% - 180px) / 2);
  }

  .screenshot-slide {
    width: 180px;
    height: 400px;
    flex-basis: 180px;
    border-width: 5px;
    border-radius: 24px;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
    top: calc(50% - 36px);
  }

  .carousel-arrow.previous {
    left: 4px;
  }

  .carousel-arrow.next {
    right: 4px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 24px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-button,
  .screenshot-slide,
  .carousel-dots button {
    transition: none;
  }

  .screenshot-track {
    scroll-behavior: auto;
  }
}

body{grid-template-rows:auto 1fr auto}.site-nav{width:min(100%,1200px);margin:0 auto;display:flex;justify-content:flex-end;padding:20px 24px 0}.site-login{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 24px;background:#2478e5;border:1px solid #63a7ff;border-radius:10px;color:#fff;text-decoration:none;font-size:15px;font-weight:700;box-shadow:0 8px 24px #1263d22b}.site-login:hover{background:#378bf7}.site-login:focus-visible{outline:3px solid #b5d9ff;outline-offset:3px}.download-page{padding-top:32px}@media(max-width:600px){.site-nav{padding:16px 20px 0}.site-login{padding:9px 22px}}
