:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --panel: #14171f;
  --line: #262a36;
  --text: #eef0f7;
  --muted: #8f93a6;
  --accent: #e8748a;
  font-family: "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: radial-gradient(900px 500px at 80% -10%, #1b1722 0%, transparent 60%), var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }

#preloader {
  position: fixed; inset: 0; z-index: 10;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--bg);
  transition: opacity .45s ease, visibility .45s ease;
  animation: fail-safe-hide 1ms linear 5s forwards;
}
@keyframes fail-safe-hide { to { opacity: 0; visibility: hidden; } }
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  display: grid; place-items: center;
  width: 46px; height: 46px; border: 1px solid #3a3140; border-radius: 13px;
  color: var(--accent); font-weight: 800; letter-spacing: .5px;
}
.loader-track { display: block; width: 160px; height: 2px; background: #242832; overflow: hidden; }
.loader-track span { display: block; width: 40%; height: 100%; background: var(--accent); animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }

.landing { width: min(1040px, calc(100% - 48px)); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.landing-head { display: flex; align-items: center; padding: 34px 0; }
.wordmark { font-size: 13px; font-weight: 650; letter-spacing: 3px; }
.wordmark b { color: var(--accent); }
.download { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 0 70px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; height: 54px; padding: 0 30px; border: 1px solid var(--line); border-radius: 11px; font-size: 15px; transition: .15s ease; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #1b1015; font-weight: 650; }
.button.primary:hover { filter: brightness(1.08); }
.button.primary[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.meta { margin: 20px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .2px; text-align: center; }
.landing-foot { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 30px; border-top: 1px solid var(--line); color: #686c7d; font-size: 11px; }
@media (max-width: 560px) { .landing { width: calc(100% - 32px); } .landing-foot { flex-direction: column; } .button { width: 100%; } }