:root {
  color-scheme: dark;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f111a;
  color: #c0caf5;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 20% 12%, rgba(125, 207, 255, .07), transparent 48%),
    radial-gradient(ellipse at 90% 55%, rgba(187, 154, 247, .06), transparent 45%),
    #0f111a;
}
main {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: max(32px, env(safe-area-inset-top)) 24px 28px;
  text-align: center;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.brand-logo { width: 84px; height: 84px; object-fit: contain; }
.brand-name { width: 218px; height: 36px; object-fit: contain; }
.eyebrow {
  margin: 28px 0 14px;
  color: #a9b1d6;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(28px, 6.5vw, 42px); line-height: 1.18; letter-spacing: -1.3px; font-weight: 750; }
h1 span { color: #7dcfff; }
.intro { margin: 20px 0 28px; color: #a9b1d6; font-size: 15px; line-height: 1.65; }
.download-panel {
  border: 1px solid rgba(192, 202, 245, .16);
  border-radius: 24px;
  padding: 24px 20px;
  background: linear-gradient(140deg, rgba(125, 207, 255, .05), transparent 60%), #181a25;
}
h2 { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: -.4px; }
.download-hint { margin: 8px 0 20px; color: #a9b1d6; font-size: 14px; line-height: 1.5; }
.stores { display: flex; gap: 12px; }
.store-link {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  border: 1px solid rgba(192, 202, 245, .2);
  border-radius: 16px;
  color: #a9b1d6;
  background: #0f111a;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.store-link:hover { border-color: #7dcfff; background: #1d2030; }
.store-link:active { background: #25283a; }
a:focus-visible { outline: 3px solid #7dcfff; outline-offset: 5px; }
.badge-frame { display: flex; align-items: center; justify-content: center; width: 100%; height: 88px; }
.apple-badge { display: block; width: 168px; height: 56px; }
.google-badge { display: block; width: 217px; height: 84px; }
.device-label { margin-top: 4px; font-size: 12px; line-height: 1.5; }
.free-note { margin: 20px 0 0; color: #a9b1d6; font-size: 12px; line-height: 1.7; }
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding: 0; margin: 24px 0 0; list-style: none; color: #a9b1d6; font-size: 12px; line-height: 1.7; }
.features li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 7px 2px 0; border-radius: 50%; background: #bb9af7; }
footer { width: min(720px, 100%); margin: 0 auto; padding: 12px 24px max(24px, env(safe-area-inset-bottom)); text-align: center; color: #a9b1d6; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: #a9b1d6; font-size: 12px; text-decoration: none; }
footer a:hover { color: #7dcfff; }
footer p { margin: 12px 0 0; font-size: 11px; line-height: 1.7; }
footer .trademarks { font-size: 10px; }
@media (max-width: 540px) {
  main { padding-left: 20px; padding-right: 20px; }
  .stores { flex-direction: column; }
  .store-link { flex-direction: row; justify-content: space-between; padding: 10px 16px; }
  .badge-frame { width: 188px; height: 72px; flex-shrink: 0; }
  .apple-badge { width: 150px; height: 50px; }
  .google-badge { width: 188px; height: auto; }
  .device-label { margin: 0; text-align: right; }
  .download-panel { padding: 24px 16px; }
}
@media (max-width: 360px) {
  .store-link { flex-direction: column; padding: 10px; }
  .device-label { margin-bottom: 6px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .store-link { transition: none; } }

[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #7dcfff; outline-offset: 4px; }
footer button { border: 0; background: none; color: #a9b1d6; min-height: 44px; font-size: 12px; }
.cookie-panel, #cookie-dialog { color: #c0caf5; background: #181a25; border: 1px solid #414868; border-radius: 18px; padding: 24px; font-size: 14px; line-height: 1.65; }
.cookie-panel { position: fixed; z-index: 100; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; right: 16px; max-width: 760px; max-height: calc(100svh - 32px); overflow: auto; margin: auto; box-shadow: 0 8px 32px #0008; }
.cookie-panel h2, #cookie-dialog h2 { font-size: 20px; }
.cookie-panel p, #cookie-dialog p { color: #a9b1d6; }
.cookie-panel a, #cookie-dialog a { color: #7dcfff; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button, #cookie-close { border: 1px solid #565f89; border-radius: 10px; background: #24283b; color: #c0caf5; min-height: 44px; padding: 10px 16px; }
.cookie-actions button { flex: 1; }
#cookie-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow: auto; }
#cookie-dialog::backdrop { background: #0009; }
.cookie-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#cookie-dialog label { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; }
#cookie-dialog input { accent-color: #7dcfff; width: 22px; height: 22px; flex-shrink: 0; }
