:root { color-scheme: dark; font-family: Arial, Helvetica, sans-serif; background: #0d4388; color: #fff; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; min-width: 280px; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; position: relative; isolation: isolate; }
main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 48px 24px 40px; padding-top: max(48px, env(safe-area-inset-top)); }
.brand-lockup { display: flex; flex-direction: column; align-items: center; width: min(100%, 470px); }
.brand-icon { width: 218px; max-width: 57%; height: auto; display: block; margin-bottom: 16px; }
h1 { margin: 0; width: 100%; font-size: 32px; }
.brand-wordmark { display: block; width: 100%; height: auto; }
.downloads { text-align: center; margin-top: 38px; width: min(100%, 510px); }
h2 { margin: 0 0 18px; font-size: 22px; line-height: 1.3; font-weight: 600; }
.store-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.store-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 76px; padding: 12px 20px; background: #090d14; color: #fff; text-decoration: none; border: 1px solid #dce7f5; border-radius: 8px; transition: background-color 120ms ease, border-color 120ms ease; }
.store-label { font-size: 14px; line-height: 1.2; }
.store-name { font-size: 26px; line-height: 1.15; font-weight: 600; white-space: nowrap; }
a.store-link:hover { background: #17263a; border-color: #e37e24; }
a.store-link:focus-visible { outline: 3px solid #ffb96c; outline-offset: 5px; }
.unavailable { opacity: .62; }
.notice { font-size: 15px; line-height: 1.55; margin: 22px 0 0; color: #fff0dc; }
footer { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; padding: 20px 20px max(24px, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff1f; font-size: 13px; line-height: 1.5; color: #d8e5f6; }
.footer-dot { width: 3px; height: 3px; background: #e37e24; border-radius: 50%; }
.brand-watermark { position: absolute; z-index: -1; width: 380px; height: 410px; background: url('/app/assets/brand-icon.svg?v=1') center / contain no-repeat; opacity: .055; pointer-events: none; filter: grayscale(1) brightness(3); }
.watermark-start { left: 0; top: 0; clip-path: inset(0 0 0 0); }
.watermark-end { right: 0; bottom: 0; width: 275px; height: 300px; }
@media (max-width: 560px) {
  main { padding: 36px 24px 32px; padding-top: max(36px, env(safe-area-inset-top)); }
  .brand-lockup { max-width: 350px; }
  .brand-icon { width: 174px; margin-bottom: 14px; }
  .downloads { margin-top: 30px; max-width: 310px; }
  h2 { font-size: 20px; margin-bottom: 16px; }
  .store-links { grid-template-columns: 1fr; gap: 12px; }
  .store-link { min-height: 68px; }
  .store-name { font-size: 25px; }
  .watermark-start { width: 150px; height: 160px; }
  .watermark-end { width: 150px; height: 164px; bottom: 42px; }
}
@media (max-height: 720px) and (min-width: 561px) {
  main { padding-top: 28px; padding-bottom: 28px; }
  .brand-icon { width: 156px; margin-bottom: 8px; }
  .brand-lockup { max-width: 370px; }
  .downloads { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .store-link { transition: none; } }
