/* The product site: one page, the game's own navy, blue and star yellow.
   No script beyond the redirect in the page head, no fonts or files from
   anywhere else - a page about a children's app should not load third parties. */
:root {
  color-scheme: dark;
  --navy: #101b3d;
  --navy-2: #1a2a57;
  --navy-3: #26397a;
  --blue: #2a74ea;
  --blue-deep: #1b57bc;
  --yellow: #ffc62e;
  --ink: #ffffff;
  --soft: #cfd8f0;
  --quiet: #9aa5bf;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--soft);
  font: 18px/1.55 ui-rounded, 'SF Pro Rounded', 'Hiragino Maru Gothic ProN', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
  text-wrap: balance;
}
p {
  margin: 0;
}
a {
  color: #9cc0ff;
}
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--yellow);
  color: #1b1400;
  font-weight: 800;
}
.skip:focus {
  left: 12px;
  z-index: 10;
}

/* Navigation */
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter-r) 8px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.brand {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}
.brand span {
  color: var(--yellow);
}
.nav nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 16px;
  font-weight: 700;
}
.nav nav a {
  color: var(--soft);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav nav a:hover {
  color: var(--ink);
}
.nav nav .nav-play {
  padding: 0 16px;
  border: 2px solid var(--navy-3);
  border-radius: 999px;
  color: var(--ink);
}

/* Hero */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px var(--gutter-r) 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: end;
}
.hero-words {
  align-self: center;
  padding-bottom: 48px;
}
h1 {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 900;
  letter-spacing: -0.01em;
}
h1 span {
  color: var(--yellow);
}
.lede {
  max-width: 34ch;
  margin-top: 18px;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 600;
  color: var(--soft);
}
.cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 26px 0 20px;
  border-radius: 999px;
  border: 3px solid #ffffff;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}
.button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.button:hover {
  background: linear-gradient(145deg, #3a82f2, #2262cc);
}
.soon {
  font-size: 16px;
  font-weight: 700;
  color: var(--quiet);
}
.small {
  margin-top: 22px;
  font-size: 15px;
  color: var(--quiet);
}

/* A phone, holding a real screenshot */
.phone {
  width: min(280px, 100%);
  margin: 0 auto;
  border: 8px solid #060b1c;
  border-radius: 38px;
  overflow: hidden;
  background: #060b1c;
}
.hero-phone {
  width: min(320px, 100%);
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  aspect-ratio: 390 / 690;
}
.hero-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Bands */
.band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px var(--gutter-r) 0 var(--gutter);
}
.hero + .band {
  max-width: none;
  padding-top: 64px;
  background: linear-gradient(var(--navy-2), var(--navy));
}
.hero + .band > * {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 900;
}
.steps {
  list-style: none;
  margin: 36px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps .phone {
  width: min(230px, 100%);
  margin-bottom: 10px;
  border-width: 6px;
  border-radius: 30px;
}
.steps h3 {
  font-size: 23px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.steps h3 span {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: #1b1400;
  font-size: 19px;
  display: grid;
  place-items: center;
}
.steps p {
  font-size: 17px;
}

/* Three facts */
.facts {
  max-width: 1120px;
  margin: 72px auto 0;
  padding: 0 var(--gutter-r) 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.facts div {
  padding: 22px;
  border-radius: 22px;
  background: var(--navy-2);
}
.facts h3 {
  font-size: 21px;
  font-weight: 900;
}
.facts p {
  margin-top: 8px;
  font-size: 16px;
}

/* For parents */
.parents {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
}
.parents-words p {
  max-width: 60ch;
  margin-top: 14px;
}
.parents ul {
  max-width: 62ch;
  margin: 18px 0 0;
  padding-left: 22px;
}
.parents li + li {
  margin-top: 10px;
}
.parents strong {
  color: var(--ink);
}
.parents .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-weight: 800;
}

/* Closing */
.closing {
  margin-top: 80px;
  padding: 56px var(--gutter-r) 60px var(--gutter);
  background: linear-gradient(var(--navy), #1c3f8f);
  text-align: center;
}
.closing p {
  margin: 8px 0 24px;
}

/* Footer */
.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 32px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 15px;
  color: var(--quiet);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-words {
    padding-bottom: 28px;
  }
  .steps {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .steps .phone {
    margin-left: 0;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .parents {
    grid-template-columns: 1fr;
  }
  .nav nav a:not(.nav-play) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
