:root {
  --brand-red: #e30513;
  --brand-yellow: #ffed00;
  --ink: #1c1c1c;
  --on-red: #ffffff;
  --font-sans: "Gotham", "Montserrat", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

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

body {
  min-height: 100dvh;
  background: var(--brand-red);
  color: var(--on-red);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* Hero */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.hero__logo {
  height: 6rem;
  width: auto;
  object-fit: contain;
}

.hero__eyebrow {
  margin-top: 2.5rem;
  display: inline-flex;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: var(--brand-yellow);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero__title {
  margin-top: 1.25rem;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero__subtitle {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

/* Store badges */

.stores {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.stores__link {
  display: inline-flex;
  border-radius: 0.5rem;
  transition: transform 150ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stores__link:hover {
  transform: translateY(-1px);
}

.stores__link:active {
  transform: scale(0.97);
}

.stores__link:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

.stores__badge {
  width: auto;
  display: block;
}

.stores__badge--apple {
  height: 52px;
}

.stores__badge--google {
  height: 56px;
}

/* Footer */

.footer {
  padding: 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-underline-offset: 4px;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__link:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

/* Breakpoints */

@media (min-width: 640px) {
  .hero__logo {
    height: 7rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stores__link {
    transition: none;
  }

  .stores__link:hover,
  .stores__link:active {
    transform: none;
  }
}
