:root {
  color-scheme: light;
  --ink: #202332;
  --green: #43b95c;
  --green-dark: #238a3d;
  --sky: #67bdf7;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--sky);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  margin: 0;
  min-height: 100%;
}

.welcome {
  background: var(--sky);
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero {
  align-content: center;
  display: grid;
  gap: clamp(1.5rem, 2.5vh, 2.5rem);
  justify-items: center;
  margin-inline: auto;
  min-height: 100vh;
  padding: clamp(2rem, 5vh, 4rem) 1.5rem clamp(3rem, 7vh, 5rem);
  position: relative;
  text-align: center;
  z-index: 2;
}

h1 {
  line-height: 0.88;
  margin: 0;
  position: relative;
  z-index: 3;
}

h1 span,
h1 strong {
  display: block;
}

.welcome-copy {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.18em;
  transform: rotate(-2deg);
}

.wordmark {
  aspect-ratio: 518 / 285;
  margin: -0.55rem auto -1rem;
  width: min(100%, 25rem);
}

.wordmark-image {
  display: block;
  height: 100%;
  width: 100%;
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.coming-soon {
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
  max-width: 30rem;
  text-wrap: balance;
}

.hill {
  background: var(--green);
  border-top: 6px solid var(--ink);
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
  bottom: -18%;
  height: 47%;
  left: -10%;
  position: absolute;
  transform: rotate(-1deg);
  width: 120%;
  z-index: 1;
}

.mascot-stage {
  aspect-ratio: 1;
  background: #fff;
  border: clamp(4px, 0.45vw, 7px) solid var(--ink);
  border-radius: 48% 52% 47% 53% / 51% 47% 53% 49%;
  box-shadow: 0 clamp(0.75rem, 2vw, 1.35rem) 0 var(--green-dark);
  max-width: 27rem;
  position: relative;
  transform: rotate(-2deg);
  width: 100%;
}

.mascot-stage:focus-visible {
  outline: 5px solid #fff;
  outline-offset: 0.5rem;
}

.mascot {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mascot-video {
  border-radius: inherit;
  display: none;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mascot-animated .mascot {
  display: none;
}

.mascot-animated .mascot-video {
  display: block;
}

.toy {
  position: absolute;
  z-index: 3;
}

.toy-emoji {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  filter: drop-shadow(0 0.14rem 0 var(--ink));
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  left: 0;
  line-height: 1;
  top: 0;
  -webkit-user-select: none;
  user-select: none;
  visibility: hidden;
  will-change: transform;
}

.toy-emoji:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 0.25rem;
}

.physics-ready .toy-emoji {
  visibility: visible;
}

.toy-frisbee {
  font-size: clamp(2.75rem, 5vw, 5rem);
}

@media (max-width: 30rem) {
  .hero {
    align-content: center;
    gap: 1.75rem;
    padding: 3rem 1rem 4rem;
  }

  .welcome-copy {
    font-size: 1.85rem;
  }

  .wordmark {
    margin: -0.5rem auto -0.75rem;
    width: min(100%, 18rem);
  }

  .coming-soon {
    font-size: 1.05rem;
    max-width: 18rem;
  }

  .mascot-stage {
    max-width: min(75vw, 19rem);
  }

  .hill {
    bottom: -7%;
    height: 42%;
  }

}

@media (max-height: 42rem) and (orientation: landscape) {
  .hero {
    gap: 0.75rem;
    grid-template-columns: minmax(16rem, 1fr) minmax(15rem, 24rem);
    padding-block: 1rem 1.5rem;
  }

  .wordmark {
    margin: -0.5rem auto -0.75rem;
    width: min(100%, 23rem);
  }

  .mascot-stage {
    max-width: min(44vh, 22rem);
  }
}

@media (min-width: 48rem) and (max-height: 50rem) {
  .hero {
    gap: 0.75rem;
    padding-block: 1rem 1.5rem;
  }

  .welcome-copy {
    font-size: 2.25rem;
  }

  .wordmark {
    margin: -0.35rem auto -0.6rem;
    width: min(100%, 20rem);
  }

  .coming-soon {
    font-size: 1rem;
    max-width: 26rem;
  }

  .mascot-stage {
    max-width: min(44vh, 22rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .toy-emoji {
    will-change: auto;
  }
}

.join-page {
  align-items: center;
  background: #f7faff;
  display: flex;
  min-height: 100vh;
  padding: 1.5rem;
}

.join-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 2rem;
  box-shadow: 0 0.55rem 0 var(--green-dark);
  margin: auto;
  max-width: 26rem;
  padding: 2rem 1.5rem 2.25rem;
  text-align: center;
}

.join-mascot {
  border-radius: 50%;
  height: 8rem;
  object-fit: cover;
  width: 8rem;
}

.join-kicker {
  color: #a78bfa;
  font-weight: 850;
  margin: 1.25rem 0 0.35rem;
}

.join-title {
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
  margin: 0;
}

.join-copy {
  color: #687083;
  font-size: 1.1rem;
  line-height: 1.45;
  margin: 1rem auto 1.5rem;
  max-width: 20rem;
}

.join-button {
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: 0 0.35rem 0 var(--green-dark);
  color: var(--ink);
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  padding: 0.95rem 1rem;
  text-decoration: none;
}

.join-button:active {
  box-shadow: 0 0.1rem 0 var(--green-dark);
  transform: translateY(0.25rem);
}

.join-button:focus-visible {
  outline: 4px solid #67bdf7;
  outline-offset: 0.25rem;
}

.join-note {
  color: #687083;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 1.25rem 0 0;
}
