:root {
  --bg: #f5f3f8;
  --ink: #231d32;
  --secondary: #6a6177;
  --muted: #736a7d;
  --accent: #7042cc;
  --button: #6435c6;
  --card: #ffffff;
  --line: #e7e1ef;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15121d;
    --ink: #f5f1ff;
    --secondary: #c1b8cf;
    --muted: #b0a6bd;
    --accent: #baa4ff;
    --card: #211c2c;
    --line: #36303f;
  }
}

* {
  box-sizing: border-box;
}

/* `.button { display: inline-block }` below ties with the browser's own
   `[hidden] { display: none }` on specificity, and being later in the
   cascade would otherwise win — showing the App Store button and the
   "coming soon" hint at once. This wins that tie explicitly. */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
}

main {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.logo {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 28px;
}

h1 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 24px;
  color: var(--secondary);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--button);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  filter: brightness(1.06);
}

.hint {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--muted);
}

footer {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

footer a {
  color: inherit;
}
