:root {
  --bg: #0e0e10;
  --surface: #1a1a1e;
  --text: #f2f2f5;
  --muted: #9a9aa3;
  --border: #2c2c33;
  --shadow: rgba(0, 0, 0, 0.35);
  --accent: #5b8cff;
}

/* Automatic light mode (follows the system setting). */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --border: #d2d2d7;
    --shadow: rgba(0, 0, 0, 0.12);
    --accent: #2563eb;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.site-footer { text-align: center; padding: 2rem; }
.app-store-badge {
  display: inline-block;
  /* Apple's badge guidelines require a clear space around the artwork. */
  transition: opacity 0.15s ease;
}
.app-store-badge:hover { opacity: 0.85; }
.app-store-badge img { display: block; height: 47px; width: auto; }

.muted { color: var(--muted); }
