*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: #0c0c0c;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0c0c0c;
  color: #141414;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: max(1.25rem, env(safe-area-inset-top, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
}

.download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 20rem);
  min-height: 48px;
  padding: 0.875rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #f2f2f2;
  color: #141414;
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.download:focus {
  outline: none;
}

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

.download:active {
  background: #e4e4e4;
}

@media (hover: hover) {
  .download:hover {
    background: #ffffff;
  }
}
