/* The /get/ pages (the printed QR codes). Small on purpose: one screen, two fonts that load only if shown,
   the app's own colour. Which parts show is set by get.js on <html>: data-os (android, ios, desktop) and
   data-going (on the way to a store). Without JavaScript every button shows. */

@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/cormorant-600.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/exo2-800.woff2') format('woff2'); }

:root { --bg: #0b0b0d; --ink: #f3efe9; --muted: #b3ab9f; --line: rgba(255, 255, 255, 0.12); --tint: #e8b866; --deep: #1a1410; }
[data-app='moksham'] { --tint: #f2a04a; --deep: #2a110a; }
[data-app='mahtab'] { --tint: #47c08b; --deep: #0a2a1e; }
[data-app='paradize'] { --tint: #7ca8ff; --deep: #0c1c44; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(90% 60% at 50% 0%, var(--deep), var(--bg) 75%) var(--bg) no-repeat;
  color: var(--ink); font: 400 16px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }

.get { width: 100%; max-width: 440px; padding: 28px 20px 24px; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #f1f3e6; margin-bottom: 36px; }
.mark svg { width: 26px; height: 26px; }
.mark span { font: 800 0.95rem/1 'Exo 2', system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }

.icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1); }
h1 { font: 600 2.7rem/1.05 'Cormorant Garamond', Georgia, serif; margin: 20px 0 6px; letter-spacing: -0.01em; }
.line { margin: 0; color: var(--tint); font: italic 500 1.12rem/1.35 Georgia, serif; max-width: 22em; }

.go { display: none; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 0; color: var(--ink); font-weight: 500; }
[data-going] .go { display: flex; }
[data-going='play'] .to-ios, [data-going='appstore'] .to-play { display: none; }
.hint { display: none; color: var(--muted); font-size: 0.86rem; }
[data-going] .hint { display: block; margin: 6px 0 0; }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--tint); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stores { display: grid; gap: 14px; justify-items: center; margin-top: 26px; width: 100%; }
.badge { display: inline-block; border-radius: 10px; }
.badge img { height: 56px; width: auto; }
.soon { margin: 0; width: 100%; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 0.95rem; }
.soon b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
[data-os='ios'] .for-android, [data-os='android'] .for-ios { display: none; }
[data-os='desktop'] .for-ios .soon { border: 0; padding: 0; font-size: 0.88rem; }

.qr { display: none; margin: 26px 0 0; }
[data-os='desktop'] .qr { display: block; }
@media (min-width: 900px) { html:not([data-os]) .qr { display: block; } }
.qr img { width: 196px; height: 196px; border-radius: 14px; margin: 0 auto; background: #fff; }
.qr figcaption { margin-top: 10px; color: var(--muted); font-size: 0.88rem; }

.page { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.page:hover { border-color: var(--tint); }
.page svg { width: 18px; height: 18px; flex: none; }

/* the umbrella page: one big button per app */
.pick { display: grid; gap: 12px; width: 100%; margin-top: 28px; }
.app { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; text-align: left; background: rgba(255, 255, 255, 0.03); }
.app:hover { border-color: var(--tint); }
.app img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.app span { flex: 1; display: grid; }
.app b { font: 600 1.5rem/1.1 'Cormorant Garamond', Georgia, serif; }
.app small { color: var(--muted); font-size: 0.86rem; }
.app i { font-style: normal; font-size: 0.78rem; color: var(--tint); white-space: nowrap; }
.app svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.lede { margin: 10px 0 0; color: var(--muted); }
.note { margin: 22px 0 0; color: var(--muted); font-size: 0.86rem; }

.foot { padding: 16px 20px 24px; color: var(--muted); font-size: 0.8rem; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }
