:root {
  color-scheme: dark light;
  --bg: #0f0f12;
  --fg: #e6e6e8;
  --muted: #8c8c95;
  --accent: #7c5cff;
  --border: #2a2a2f;
  --code-bg: #1a1a1f;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafafa;
    --fg: #1a1a1f;
    --muted: #6c6c75;
    --accent: #5a3fe5;
    --border: #e0e0e5;
    --code-bg: #ececef;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px;
}

h1 {
  font-size: 48px;
  margin: 0 0 8px;
}

.tag {
  color: var(--muted);
  margin: 0 0 48px;
}

.download {
  margin-bottom: 64px;
}

.mobile-notice {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 32px;
}

.mobile-notice h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.mobile-notice p {
  color: var(--muted);
  margin: 0;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
}

.cta:hover {
  filter: brightness(1.1);
}

.status {
  color: var(--muted);
  margin-top: 16px;
}

.version {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.other-downloads {
  margin-top: 24px;
}

.other-downloads summary {
  cursor: pointer;
  color: var(--muted);
}

.other-downloads ul {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
}

.other-downloads li {
  padding: 4px 0;
}

.other-downloads a {
  color: var(--accent);
}

.alpha-notes {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.alpha-notes h2 {
  font-size: 20px;
}

.alpha-notes h3 {
  font-size: 16px;
  margin-top: 24px;
}

.alpha-notes ol {
  padding-left: 20px;
}

.alpha-notes li {
  margin: 8px 0;
}

code {
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
