:root {
  --bg: #0f1729;
  --bg-elevated: #16213a;
  --text: #eef1f8;
  --text-muted: #93a0bd;
  --accent: #5b8def;
  --border: #26314d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 12px;
}

.tagline {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 480px;
  margin: 0 0 40px;
  line-height: 1.5;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Placeholder store badges — replace the <a> hrefs with the real App Store /
   Play Store listing URLs, and swap the inner markup for the official badge
   images (Apple + Google both provide downloadable badge assets). */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  min-width: 200px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.badge:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.badge-glyph {
  font-size: 22px;
  line-height: 1;
}

.badge-text {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.badge-text small {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-text span {
  font-size: 16px;
}

.badge.disabled {
  opacity: 0.5;
  pointer-events: none;
}

footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

footer a {
  color: inherit;
  text-decoration: underline;
}

footer a:hover {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.content {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  text-align: left;
  line-height: 1.6;
}

.content h1 {
  text-align: left;
}

.content h2 {
  font-size: 18px;
  margin-top: 32px;
}

.content p,
.content li {
  color: var(--text-muted);
}

.content a {
  color: var(--accent);
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}
