:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --ink: #1c1c1e;
  --ink-2: #5c5d63;
  --line-strong: rgba(28, 28, 30, 0.16);
  --on-ink: #fbfbfa;
  --focus: #2563eb;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --surface: #1b1c1f;
    --ink: #f2f2f4;
    --ink-2: #a3a4ab;
    --line-strong: rgba(242, 242, 244, 0.18);
    --on-ink: #111214;
    --focus: #7aa2ff;
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
}

.mark {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.downloads {
  display: flex;
  gap: 12px;
  margin-top: 48px;
}
.dl {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  width: 232px;
  min-height: 60px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 120ms ease, opacity 120ms ease;
}
.dl:hover { border-color: var(--ink-2); }
.dl:active { opacity: 0.85; }
.dl-title { font-size: 15px; font-weight: 500; line-height: 1.3; }
.dl-sub { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.dl.is-primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.dl.is-primary .dl-sub { color: inherit; opacity: 0.72; }
.dl.is-primary:hover { opacity: 0.9; }

.version {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.foot {
  padding: 0 20px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 560px) {
  .mark { font-size: 40px; }
  .downloads { flex-direction: column; width: 100%; max-width: 320px; margin-top: 40px; }
  .dl { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dl { transition: none; }
}
