:root {
  color-scheme: light;
  --bg: #f4f4f6;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line-strong: #d2d2d7;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { color: #fff; background: #1d1d1f; }

.stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.04em;
  white-space: nowrap;
}

h1 .bar {
  margin: 0 5px;
  color: #c7c7cc;
  font-weight: 400;
}

h1 .cn {
  font-weight: 600;
  letter-spacing: .01em;
}

.tagline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .01em;
}

.downloads {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 42px;
}

.downloads a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 540;
  text-decoration: none;
  transition: border-color .16s ease;
}

.downloads a:hover { border-color: var(--ink); }

.arrow {
  color: var(--faint);
  font-size: 12px;
  line-height: 1;
  transform: translateY(-1px);
}

.repo {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 64px;
  color: var(--faint);
  font-size: 12.5px;
  text-decoration: none;
  transition: color .16s ease;
}

.repo:hover { color: var(--ink); }

@media (max-width: 560px) {
  .stage { padding: 24px; }
  h1 { font-size: 32px; }
  .tagline { font-size: 14px; margin-top: 15px; }
  .downloads { gap: 20px; margin-top: 34px; }
  .repo { margin-top: 48px; }
}
