@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  background: #f8f9fc;
  color: #171b24;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 280px;
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(ellipse 40% 31% at 50% 58%, rgba(40, 104, 240, 0.045), transparent 76%),
    linear-gradient(155deg, #ffffff 0%, #f8f9fc 62%, #f4f7fc 100%);
}

.landing {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: 32px 20px 84px;
  place-items: center;
  position: relative;
}

.contact {
  position: absolute;
  right: 20px;
  bottom: 24px;
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  color: #6a7282;
  font-size: 0.82rem;
  line-height: 1.5;
}

.contact a {
  color: inherit;
  text-decoration: none;
}

.contact a:hover,
.contact a:focus-visible {
  color: #2868f0;
  text-decoration: underline;
}

.brand-stack {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  transform: translateY(-1.6vh);
}

.brand-mark {
  display: block;
  width: clamp(64px, 6vw, 82px);
  height: auto;
  animation: enter 640ms both;
}

h1 {
  margin: clamp(22px, 3.2vh, 36px) 0 0;
  padding: 0 0.07em 0 0;
  font-size: clamp(4.25rem, 10.3vw, 9.5rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.1;
  white-space: nowrap;
  animation: enter 700ms 90ms both;
}

.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: clamp(52px, 8vh, 88px);
  animation: enter 700ms 190ms both;
}

.badge-frame {
  position: relative;
  display: flex;
  height: 74px;
  align-items: center;
  justify-content: center;
}

.badge-frame::after {
  position: absolute;
  bottom: 0;
  left: 34%;
  width: 32%;
  height: 2px;
  border-radius: 2px;
  background: #2868f0;
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 220ms ease, transform 220ms ease;
}

.badge-frame[href]:hover::after,
.badge-frame[href]:focus-visible::after {
  opacity: 0.65;
  transform: scaleX(1);
}

.badge-frame img {
  display: block;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.badge-frame--apple img {
  height: 48px;
}

.badge-frame--google img {
  height: 74px;
}

@keyframes enter {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 540px) {
  .brand-stack {
    transform: translateY(-2vh);
  }

  h1 {
    margin-top: 20px;
    font-size: clamp(3.75rem, 19vw, 5.4rem);
  }

  .store-badges {
    margin-top: clamp(54px, 9vh, 78px);
  }
}

@media (max-width: 360px) {
  .badge-frame {
    height: 65px;
  }

  .badge-frame--apple img {
    height: 42px;
  }

  .badge-frame--google img {
    height: 65px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark,
  h1,
  .store-badges {
    animation: none;
  }

  .badge-frame::after {
    transition: none;
  }
}
