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

* { box-sizing: border-box; }

body {
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid #82a5f8;
  outline-offset: 5px;
}

.site-header {
  padding: 26px 32px;
  border-bottom: 1px solid #292929;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: block; }

.support-link {
  color: #b4b4b4;
  font-size: 14px;
  text-decoration: none;
}

.support-link:hover { color: #f5f5f5; }

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 64px 24px 80px;
}

.download-page {
  width: 100%;
  max-width: 620px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #82a5f8;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.beta-label {
  border: 1px solid #385185;
  border-radius: 4px;
  padding: 3px 7px;
}

h1 {
  margin: 22px 0 16px;
  font-size: clamp(40px, 6.5vw, 54px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

h1 span { color: #82a5f8; }

.description {
  margin: 0;
  color: #b4b4b4;
  font-size: 18px;
  line-height: 1.6;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 486px;
  margin: 42px auto 0;
}

.download-button {
  min-height: 50px;
  border: 1px solid #3e67b8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 12px;
  background: #3e67b8;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.download-button svg { flex: 0 0 auto; }

.download-button[href]:hover { background: #4873c6; }

.download-button[aria-disabled="true"] {
  border-color: #363b48;
  background: #262d3b;
  color: #b4b4b4;
  cursor: not-allowed;
}

.platform {
  margin: 10px 0 0;
  color: #b4b4b4;
  font-size: 13px;
  line-height: 1.5;
}

.account-note {
  margin: 25px 0 0;
  color: #b4b4b4;
  font-size: 13px;
  line-height: 1.6;
}

.availability {
  margin: 12px 0 0;
  color: #82a5f8;
  font-size: 13px;
  line-height: 1.6;
}

.help {
  margin: 44px 0 0;
  color: #b4b4b4;
  font-size: 14px;
  line-height: 1.6;
}

.help a { color: #82a5f8; text-underline-offset: 4px; }

.site-footer {
  margin: 0 32px;
  padding: 22px 0;
  border-top: 1px solid #292929;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: #b4b4b4;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #f5f5f5; text-decoration: underline; }

@media (max-width: 520px) {
  .site-header { padding: 22px 24px; }
  .logo { width: 135px; height: 27px; }
  main { padding: 56px 24px 64px; }
  .description { font-size: 17px; }
  .desktop-break { display: none; }
  .download-options { grid-template-columns: 1fr; gap: 24px; max-width: 280px; margin-top: 34px; }
  .help { margin-top: 32px; }
  .site-footer { margin: 0 24px; }
}

@media (pointer: coarse) {
  .support-link, .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
}
