@font-face {
  font-family: "Nunito";
  src: url("/assets/Nunito-ExtraBold.20468b99.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f4f4;
  background: #080808;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: #080808; background: #f4f4f4; }

main {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  text-align: center;
  transform: translateY(-3vh);
}

h1 {
  margin: 0 0 38px;
  font: 800 clamp(3.75rem, 9vw, 6rem) / 1.1 "Nunito", sans-serif;
  letter-spacing: -0.035em;
}

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  min-width: 184px;
  max-width: 100%;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: #f4f4f4;
  color: #080808;
  font: 600 16px / 1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  transition: background-color 140ms ease-out, transform 140ms ease-out;
  -webkit-tap-highlight-color: transparent;
}

.download img { display: block; flex: none; }
a.download:hover { background: #dcdcdc; transform: translateY(-1px); }
a.download:active { transform: translateY(0); }
a.download:focus-visible { outline: 3px solid #f4f4f4; outline-offset: 6px; }
button.download:disabled { opacity: 1; cursor: not-allowed; }

.compatibility,
.availability {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.compatibility { margin-top: 18px; color: #a5a5a5; }
.availability { margin-top: 5px; color: #a5a5a5; }

@media (max-height: 480px) {
  .welcome { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .download { transition: none; }
  a.download:hover { transform: none; }
}
