:root {
  --bg: #f3f4f6;
  --ink: #12141a;
  --muted: #5c6370;
  --accent: #12141a;
  --accent-ink: #f7f8fa;
  --tip: #ffdd00;
  --tip-ink: #12141a;
  --line: rgba(18, 20, 26, 0.1);
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "IBM Plex Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  height: 100vh;
  height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(255, 255, 255, 0.9), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.page {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 0 16px;
  text-align: center;
  overflow: hidden;
}

.page > .brand,
.page > .tagline,
.page > .support,
.page > .actions,
.page > .meta,
.page > .footer {
  padding-left: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}

.brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  animation: rise 0.7s ease both;
}

.tagline {
  margin: 10px 0 0;
  max-width: 28ch;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.35;
  color: var(--muted);
  animation: rise 0.7s ease 0.08s both;
}

.support {
  margin: 6px 0 0;
  max-width: 36ch;
  font-size: clamp(12px, 1.5vw, 13px);
  line-height: 1.35;
  color: var(--muted);
  animation: rise 0.7s ease 0.12s both;
}

.actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 0.7s ease 0.18s both;
}

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 24px rgba(18, 20, 26, 0.18);
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.download:hover {
  transform: translateY(-2px);
  opacity: 0.96;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 14px 28px rgba(18, 20, 26, 0.22);
}

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

.meta {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--muted);
  animation: rise 0.7s ease 0.24s both;
}

.hero {
  margin: 14px 0 0;
  width: 100%;
  max-width: none;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 44vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  animation: rise 0.7s ease 0.28s both;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center top;
}

.footer {
  margin-top: auto;
  padding: 22px 24px 10px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  animation: rise 0.7s ease 0.34s both;
}

.footer-sep {
  margin: 0;
  opacity: 0.7;
}

.tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tip);
  color: var(--tip-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(18, 20, 26, 0.06);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.tip:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.tip:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .page {
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .brand {
    font-size: clamp(36px, 11vw, 48px);
  }

  .actions {
    margin-top: 14px;
  }

  .download {
    min-width: 200px;
    padding: 12px 24px;
    font-size: 14px;
  }

  .meta {
    margin-top: 10px;
  }

  .hero {
    margin-top: 12px;
    max-height: 40vh;
  }

  .footer {
    padding-top: 18px;
  }
}

@media (max-height: 700px) {
  .page {
    padding-top: 16px;
    padding-bottom: 10px;
  }

  .brand {
    font-size: clamp(32px, 6vw, 44px);
  }

  .tagline {
    margin-top: 6px;
    font-size: 13px;
  }

  .support {
    margin-top: 4px;
    font-size: 12px;
  }

  .actions {
    margin-top: 12px;
  }

  .download {
    min-width: 180px;
    padding: 11px 22px;
    font-size: 13px;
  }

  .meta {
    margin-top: 8px;
  }

  .hero {
    margin-top: 10px;
    max-height: 36vh;
  }

  .footer {
    padding: 16px 24px 8px;
  }

  .tip {
    padding: 7px 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .tagline,
  .support,
  .actions,
  .meta,
  .hero,
  .footer {
    animation: none;
  }

  .download:hover,
  .tip:hover {
    transform: none;
  }
}
