@font-face {
  font-family: "Nunito";
  src: url("./Nunito-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 13%, rgba(255, 255, 255, 0.88) 0 4.5rem, transparent 4.6rem),
    radial-gradient(circle at 91% 25%, rgba(255, 255, 255, 0.62) 0 6rem, transparent 6.1rem),
    linear-gradient(160deg, #dff6ff 0%, #f7fcff 45%, #fff9e8 100%);
  color: #263653;
  font-family: "Nunito", "Trebuchet MS", sans-serif;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 19rem;
  height: 19rem;
  border-radius: 47% 53% 68% 32% / 52% 35% 65% 48%;
  content: "";
  filter: blur(1px);
  opacity: 0.16;
  pointer-events: none;
}

body::before {
  top: -7rem;
  right: -5rem;
  background: #f58a3f;
  transform: rotate(18deg);
}

body::after {
  bottom: -9rem;
  left: -6rem;
  background: #58b94d;
  transform: rotate(-24deg);
}

.site-header {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 54px;
  height: 54px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 17px;
  box-shadow: 0 8px 18px rgba(30, 108, 151, 0.2);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 18px rgba(30, 108, 151, 0.1);
}

.home-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px 20px 150px;
}

.store-showcase {
  display: grid;
  justify-items: center;
  width: min(100%, 520px);
}

.home-mascot {
  display: block;
  width: min(100%, 500px);
  height: auto;
  margin-bottom: -18px;
  transform: translateY(-30px);
  filter: drop-shadow(0 18px 24px rgba(30, 108, 151, 0.16));
}

.store-badges {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 52px rgba(30, 108, 151, 0.12);
}

.store-badge {
  display: block;
  width: auto;
}

.store-coming-soon {
  display: grid;
  place-items: center;
  width: 188px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid rgba(38, 54, 83, 0.22);
  border-radius: 13px;
  color: #263653;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.store-link {
  display: block;
  border-radius: 12px;
}

.store-link:focus-visible {
  outline: 3px solid #2486c5;
  outline-offset: 3px;
}

.store-badge-google {
  height: 96px;
}

@media (max-width: 520px) {
  .store-badges { flex-direction: column; }

  .home-mascot { width: min(100%, 290px); }

  .store-badge-google { height: 87px; }
}

@media (max-width: 620px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .home-main { padding-bottom: 80px; }

  .store-badges { padding: 22px; }
}
