:root {
  --paper: #efeeff; --card: #ffffff; --ink: #221b4a; --muted: #6b6490;
  --grape: #814edf; --grape-deep: #5b2fb3; --sun: #ffd23f; --sun-deep: #d9a400; --line: #dcd8f5;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #161332; --card: #221d47; --ink: #f2efff; --muted: #b3acd9; --line: #3a3368; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--grape); }
@media (prefers-color-scheme: dark) { a { color: #b99bff; } }
.top, main, footer { max-width: 760px; margin: 0 auto; padding: 16px 20px; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 10px; }
nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: 15px; }
.hero { text-align: center; padding: 40px 0 24px; }
.hero > img { border-radius: 26px; box-shadow: 0 6px 0 var(--line); }
h1 { font-size: clamp(28px, 6vw, 42px); line-height: 1.15; margin: 18px 0 8px; }
h2 { font-size: 21px; margin: 28px 0 6px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 auto 26px; max-width: 34em; }
.play {
  display: inline-block; padding: 14px 28px; border-radius: 16px; background: var(--sun); color: #221b4a;
  font-weight: 800; font-size: 18px; text-decoration: none; box-shadow: inset 0 -4px 0 var(--sun-deep);
}
.features { padding-left: 20px; }
.features li { margin: 8px 0; }
.doc { background: var(--card); border-radius: 22px; padding: 8px 26px 20px; margin: 16px 0; box-shadow: 0 4px 0 var(--line); }
.muted { color: var(--muted); font-size: 15px; }
.code { font: 800 34px/1 ui-monospace, Consolas, monospace; letter-spacing: 4px; margin: 0 0 24px; }
footer { color: var(--muted); font-size: 14px; text-align: center; border-top: 1px solid var(--line); margin-top: 30px; }
.langs a { margin: 0 2px; }
.langs a[aria-current] { font-weight: 800; text-decoration: none; color: var(--ink); }
.stores { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 14px; margin: 8px 0 18px; }
.stores.ios { flex-direction: row; }
.stores:not(.ios) .apple { order: 2; }
.badge { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.badge img { display: block; }
/* Google's PNG has built-in padding; this keeps both badges the same visible height. */
.badge.google img { height: 58px; margin: -9px; }
.badge.apple img { height: 40px; }
.badge.soon img { opacity: .45; filter: grayscale(1); }
.get { margin: 18px 0 4px; color: var(--muted); }
