:root {
  --bg: #0b0b0e;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #34d399;
  --accent-2: #10b981;
  --violet: #7c5cff;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 16px 120px;
  background:
    radial-gradient(60% 45% at 50% 0%, rgb(52 211 153 / 0.13), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
  animation: rise 0.7s cubic-bezier(0.2, 0, 0, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* The mark: a square that stays square, only its light turns. */
.mark {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: conic-gradient(from var(--spin), var(--accent), var(--accent-2), var(--violet), var(--accent));
  box-shadow: 0 0 56px rgb(52 211 153 / 0.35);
  animation: spin 6s linear infinite;
}

.ring::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 23px;
  background: #101014;
}

@keyframes spin {
  to {
    --spin: 360deg;
  }
}

.z {
  position: relative;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(44px, 9vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lead {
  margin: 12px 0 30px;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.5;
}

.download {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--accent);
  color: #06120d;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 36px rgb(52 211 153 / 0.4);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

.download:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 44px rgb(52 211 153 / 0.55);
}

.download:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tip {
  margin: 26px 0 0;
  max-width: 400px;
  color: #8b8b94;
  font-size: 12.5px;
  line-height: 1.5;
}

.tip b {
  color: var(--muted);
  font-weight: 600;
}

/* A Zhell island at the bottom, like on the desktop. */
.bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.1);
  backdrop-filter: blur(12px);
  animation: rise 0.7s 0.25s cubic-bezier(0.2, 0, 0, 1) both;
}

.bar i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.55);
}

.bar .start {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--accent);
}

.bar .app {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgb(255 255 255 / 0.8);
}

.bar b {
  width: 1px;
  height: 18px;
  background: rgb(255 255 255 / 0.18);
}

.bar span {
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .bar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  main,
  .bar,
  .ring {
    animation: none;
  }
}
