:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #f5f5f7;
  background: #111113;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  --accent: #fa6400;
  --muted: #a3a3ab;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 88px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 800; }
.brand-dot { width: 5px; height: 5px; background: var(--accent); }
main { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.download {
  min-height: 560px;
  padding: 56px 0 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-icon { display: block; width: 112px; height: 112px; border-radius: 8px; }
.eyebrow { margin: 32px 0 12px; color: var(--muted); font-size: 12px; }
h1 { margin: 0; font-size: 44px; line-height: 1.2; font-weight: 650; }
.description { margin: 18px 0 0; color: #c3c3ca; font-size: 17px; line-height: 1.7; }
.download-action { margin-top: 36px; width: min(100%, 300px); }

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 6px;
  background: var(--accent);
  color: #111113;
  font-size: 16px;
  font-weight: 700;
  transition: background 150ms ease;
}

.download-button:hover { background: #ff8533; }
.download-button:active { background: #eb5e00; }
a:focus-visible { outline: 3px solid #f5f5f7; outline-offset: 5px; }

.install-notes { border-top: 1px solid #303034; padding: 28px 0 36px; }
.install-notes h2 { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.install-notes p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px max(24px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 600px) {
  .site-header { min-height: 72px; padding: 20px 16px; }
  main { padding: 0 16px; }
  .download { min-height: 530px; padding-top: 40px; padding-bottom: 44px; }
  h1 { font-size: 38px; }
  .description { font-size: 15px; }
  footer { padding-right: 16px; padding-left: 16px; flex-wrap: wrap; }
}

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