:root {
  --ink: #f4f7ff;
  --muted: #b4c0d6;
  --page: #05070d;
  --blue: #3b8cff;
  --blue-2: #6cb4ff;
  --line: rgba(150, 184, 255, 0.16);
  --gutter: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 8px 12px;
  color: #041018;
  background: #9fd9ff;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.top {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.chip {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 650;
}

main { padding-bottom: 96px; }

.hero {
  max-width: 720px;
  margin: 36px auto 0;
  padding: 0 var(--gutter);
  text-align: center;
}

.icon-wrap {
  width: 160px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 18px 40px rgba(40, 110, 255, 0.38));
}

.app-icon {
  width: 160px;
  height: 160px;
  border-radius: 36px;
  animation: glow 4.8s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app-icon { animation: none; }
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.lede {
  max-width: 38rem;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
  overflow-wrap: break-word;
}

.hero-actions { margin: 32px 0 0; }

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  color: #f7fbff;
  background: var(--blue);
  border-radius: 14px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(32, 90, 220, 0.32);
}

.download:hover,
.download:focus-visible {
  background: #5aa0ff;
}

.download:focus-visible {
  outline: 2px solid #b9dcff;
  outline-offset: 3px;
}

.meta {
  margin: 14px 0 0;
  color: #8fa0bb;
  font-size: 14px;
  text-wrap: balance;
}

.checksum {
  margin: 10px auto 0;
  color: #7f91ad;
  font-size: 12px;
  line-height: 1.5;
}

.checksum code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-wrap: anywhere;
}

.warn {
  max-width: 38rem;
  margin: 36px auto 0;
  padding: 16px 18px;
  text-align: left;
  color: #d5deee;
  background: rgba(80, 120, 200, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.warn p { margin: 0; font-size: 15px; }

.shot {
  max-width: 1040px;
  margin: 72px auto 0;
  padding: 0 var(--gutter);
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.shot figcaption {
  max-width: 38rem;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.install,
.legal {
  max-width: 720px;
  margin: 72px auto 0;
  padding: 0 var(--gutter);
}

h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.install ol {
  margin: 0;
  padding: 0 0 0 1.15em;
  color: var(--muted);
}

.install li + li { margin-top: 10px; }

.legal p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px var(--gutter) 48px;
  color: #8fa0bb;
  font-size: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
}

footer p { margin: 0; }

.contact {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.contact a {
  color: var(--muted);
  text-underline-offset: 3px;
}

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

@media (max-width: 640px) {
  .hero { margin-top: 16px; }
  .icon-wrap, .app-icon { width: 128px; height: 128px; }
  .app-icon { border-radius: 28px; }
  .download { width: 100%; }
  .shot { margin-top: 56px; }
  footer { align-items: flex-start; flex-direction: column; }
  .contact { flex-direction: column; }
}
