:root {
  --bg: #f7f5f1;
  --fg: #1f2a44;
  --muted: #5a6478;
  --accent: #b8965a;
  --max-width: 480px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.logo {
  width: 220px;
  height: auto;
  margin-bottom: 16px;
}

h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 8px 0 12px;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 17px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 360px;
}

.badges {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 24px 0 auto;
}

.badge {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}

.badge:hover,
.badge:focus-visible {
  opacity: 0.85;
}

.badge img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Apple's "Download on the App Store" SVG has no clearspace baked in,
   while Google's official PNG has ~30% clearspace built around the
   visible button. Sizing them differently makes the *visible* button
   heights look matched. */
.badge--apple img {
  width: 152px;
}

.badge--google img {
  width: 200px;
}

footer {
  margin-top: 48px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid rgba(31, 42, 68, 0.08);
  width: 100%;
}

