:root {
  --bg: #06070b;
  --text: #f4f6fb;
  --muted: #9aa3b5;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1100px 560px at 50% -140px, rgba(26, 124, 255, 0.26), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 20px 40px;
}

.icon {
  width: 104px;
  height: 104px;
  border-radius: 23px;
  box-shadow: 0 16px 44px rgba(0, 82, 214, 0.45);
}

h1 {
  max-width: 760px;
  margin: 32px 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  font-size: clamp(34px, 5.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
h1 a { color: inherit; text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; text-decoration-color: rgba(255, 255, 255, 0.35); }
h1 a:hover { text-decoration-color: currentColor; }

.lede {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.get {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
}

.qr { display: flex; align-items: center; gap: 12px; margin: 0; text-align: left; }
.qr img { width: 96px; height: 96px; border-radius: 10px; }
.qr figcaption { color: var(--muted); font-size: 13px; line-height: 1.35; }

/* Phones tap the button; the QR code is for visitors on a computer. */
@media (max-width: 720px), (hover: none) {
  .qr { display: none; }
}

.download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px 9px 16px;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}
.download:hover { background: #111; }
.download:active { transform: scale(0.97); }
.download svg { width: 28px; height: 28px; fill: currentColor; }
.download span { display: flex; flex-direction: column; align-items: flex-start; font-size: 22px; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.download small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
a:focus-visible { outline: 2px solid #1a7cff; outline-offset: 3px; }

.shots {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 40px);
  margin-top: 64px;
  width: 100%;
  max-width: 1080px;
}
.shots img {
  width: clamp(180px, 28vw, 320px);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}

footer {
  padding: 24px 20px 36px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer p { margin: 0; }

/* Phones: one screenshot at a time, swipe for the rest. */
@media (max-width: 720px) {
  main { padding-top: 48px; }
  .shots {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 8px;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots img { flex: 0 0 72vw; width: 72vw; scroll-snap-align: center; }
}
