:root {
  --bg: #1a1a3e;
  --bg-2: #0f0f2a;
  --text: #e8e8f5;
  --muted: #9a9ac2;
  --accent: #7b7bff;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.container.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.container.hero h1 {
  font-size: 56px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.hero-logo {
  width: 240px;
  height: auto;
  max-width: 80vw;
  display: block;
  margin: 0 0 6px;
  filter: drop-shadow(0 16px 60px rgba(123, 123, 255, 0.4));
}

.tagline {
  font-size: 20px;
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.hero-sub {
  max-width: 420px;
  margin: 0 auto 36px;
}

.store-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

/* Fixed-height wrappers force perfect vertical alignment between the
   two badges despite Apple's tight SVG viewBox and Google's padded PNG. */
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  line-height: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  text-decoration: none;
}

.store-badge img {
  display: block;
  width: auto;
}

/* Content-height matching (measured empirically):
   - Apple SVG has zero internal padding → content height = image height.
   - Google Play PNG has 11px padding top/bottom at 84px display height,
     so its visible content spans 62px.
   Setting Apple to 62px makes both visible-content blocks exactly 62px
   tall, so when flex-centered in the 84px wrapper their tops and bottoms
   line up pixel-perfect. */
.store-badge img[src$="app_store_badge.svg"] {
  height: 62px;
}

.store-badge img[src$="google_play_badge.png"] {
  height: 84px;
}

.container.hero .links {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

h1 {
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text);
}

p {
  margin: 0 0 12px;
}

ul {
  padding-left: 24px;
  margin: 0 0 12px;
}

li {
  margin-bottom: 8px;
}

section {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

header {
  margin-bottom: 24px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
}

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
