@font-face {
  font-family: 'Epilogue';
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/Epilogue_700Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexSans_400Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexSans_600SemiBold.woff2') format('woff2');
}

:root {
  --deep-teal: #0D2F33;
  --raised: #173E40;
  --lime: #B7F00C;
  --mint: #CBF7E3;
  --off-white: #F5FFFA;
  --secondary: #BAD5CB;
  --focus: #B7F00C;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: max(32px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(60rem 40rem at 110% -10%, rgba(22, 148, 144, 0.35), transparent 60%),
    radial-gradient(40rem 30rem at -20% 110%, rgba(183, 240, 12, 0.12), transparent 60%),
    var(--deep-teal);
  color: var(--off-white);
  font: 400 1rem/1.5 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.logo {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto 32px;
}

h1 {
  margin: 0 0 12px;
  font: 700 clamp(1.75rem, 6vw, 2.25rem)/1.15 'Epilogue', system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: var(--off-white);
}

.lede {
  margin: 0 auto 32px;
  max-width: 34ch;
  color: var(--secondary);
}

.stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Official badges, unmodified. Apple's SVG has no built-in padding; Google's PNG
   has ~16.6% transparent padding top/bottom, so it is sized larger to match. */
.badge { display: block; line-height: 0; border-radius: 10px; }
.badge img { display: block; width: auto; }
.badge-apple { padding: 13px 0; }
.badge-apple img { height: 54px; }
.badge-google img { height: 80px; }
.badge:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

.coming-soon {
  margin: 4px 0 0;
  font-size: 0.9375rem;
  color: var(--mint);
}

.hint {
  margin: 28px auto 0;
  max-width: 36ch;
  font-size: 0.9375rem;
  color: var(--secondary);
}
.hint strong { color: var(--off-white); font-weight: 600; }

footer {
  max-width: 440px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--secondary);
  opacity: 0.85;
}
footer p { margin: 0 0 8px; }
footer .legal { font-size: 0.6875rem; line-height: 1.4; }

@media (min-width: 480px) {
  .stores { flex-direction: row; justify-content: center; gap: 12px; }
}

