:root {
  --primary: #4f3be6;
  --text: #1c1b22;
  --muted: #6b6878;
  --bg: #f7f5ff;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --text: #f2f0fa; --muted: #a9a5b8; --bg: #14121c; --card: #1f1c2b; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}
main {
  width: 100%;
  max-width: 420px;
  padding: 32px 24px;
  border-radius: 24px;
  background: var(--card);
  text-align: center;
  box-shadow: 0 8px 32px rgba(79, 59, 230, 0.12);
}
.logo { border-radius: 22px; }
h1 { margin: 16px 0 8px; font-size: 24px; line-height: 1.25; }
p { margin: 0 0 16px; color: var(--muted); }
ol { margin: 0 0 12px; padding-left: 20px; text-align: left; }
li { margin-bottom: 6px; }
.code {
  margin: 8px 0 4px;
  font: 600 30px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 3px;
  color: var(--primary);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 12px;
}
/* The store badge: black, the logo and two lines, as the stores show it. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 18px 0 14px;
  border: 1px solid #a6a6a6;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  text-align: left;
}
.badge svg { width: 28px; height: 28px; flex: none; }
.badge span { display: flex; flex-direction: column; line-height: 1.05; }
.badge small { font-size: 11px; letter-spacing: 0.2px; }
.badge b { font-size: 22px; font-weight: 600; letter-spacing: -0.3px; }
.button {
  display: block;
  margin: 20px 0 12px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.link {
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.small { margin: 0; font-size: 14px; }
