:root {
  --bg: #bfdde9;
  --ink: #1a1a1a;
  --muted: #5a6f78;
  --link: #1d4f80;
  --rule: #a4c4d2;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
               Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: var(--link); }
a:hover { text-decoration: underline; }

.landing main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 32px;
  text-align: center;
}

.hero-link {
  display: inline-block;
  margin-bottom: 32px;
  transition: transform 0.12s ease;
}
.hero-link:hover { transform: scale(1.02); }
.hero-link img { display: block; }

.hero {
  max-width: 600px;
  width: 100%;
  height: auto;
}

.tagline {
  max-width: 600px;
  width: 100%;
  margin: 0 24px 28px;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

.signup-btn {
  display: inline-block;
  margin: 0 0 12px;
  transition: transform 0.12s ease;
}
.signup-btn img {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
}
.signup-btn:hover { transform: scale(1.03); }

.signup-note {
  max-width: 400px;
  width: 100%;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.or {
  margin: 8px 0 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

/* Row holding the Google Play + App Store badges side by side; wraps on
   narrow screens so the badges stack instead of shrinking. */
.store-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #fff;
  transition: transform 0.12s ease;
}
.play-btn:hover { transform: scale(1.03); text-decoration: none; }
.play-btn .play-icon {
  width: 24px;
  height: 26px;
  flex-shrink: 0;
}
.play-btn .play-text {
  text-align: left;
  line-height: 1.1;
}
.play-btn .play-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.85;
}
.play-btn .play-text strong {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
/* The Apple glyph is taller than wide — narrow it slightly so both badges
   end up the same overall height. */
.play-btn .apple-icon {
  width: 21px;
  height: 26px;
}

.landing footer {
  margin-top: 48px;
  font-size: 0.85rem;
  color: var(--muted);
}
.landing footer a { color: var(--muted); }
.landing footer a:hover { color: var(--link); }

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal .topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.legal .topbar a {
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.legal h1 { margin: 0 0 4px; font-size: 1.8rem; }
.legal h2 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  font-size: 1.2rem;
}
.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}
.legal p, .legal li { font-size: 1rem; }
.legal ul { padding-left: 1.4em; }
.legal .footer-links {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.legal .footer-links a { color: var(--muted); }

@media (max-width: 480px) {
  .hero { max-width: 92vw; }
  .signup-btn img { max-width: 240px; }
}
