@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('/assets/fonts/figtree.woff2') format('woff2');
}

:root {
  --ground: #fbf8f5;
  --card: #f3eeea;
  --sunken: #e8e2dd;
  --ink: #2e2a33;
  --muted: #7a7480;
  --faint: #bdb7c2;
  --violet: #5a4bf2;
  --violet-ink: #3b2fc2;
  --peach: #ffe9d6;
  --peach-2: #ffd9b8;
  --lav: #e4deff;
  --navy: #14163a;
  --navy-2: #1f2350;
  --navy-ink: #f4f2fb;
  --navy-muted: #a9acce;
  --pink: #ffd6e2;
  --yellow: #ffebae;
  --lilac: #e4d8ff;
  --green: #d2f0d5;
  --sky: #cfe0ff;
  --paper: #fffdf8;
  --good: #2fa866;
  --r-lg: 32px;
  --r-md: 24px;
  --wrap: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Figtree', ui-rounded, system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
p {
  margin: 0;
}
.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}
.muted {
  color: var(--muted);
}
.hi {
  color: var(--violet);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 245, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled {
  border-color: var(--sunken);
}
.nav-in {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand svg {
  width: 34px;
  height: 34px;
}
.links {
  display: flex;
  gap: 24px;
  margin-left: 8px;
}
.links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s;
}
.links a:hover {
  color: var(--ink);
}
.nav-cta {
  margin-left: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.pill:active {
  transform: scale(0.96);
}
.pill-violet {
  background: var(--violet);
  color: #fff;
}
.pill-violet:hover {
  background: var(--violet-ink);
}
.pill-card {
  background: var(--card);
}
.pill-card:hover {
  background: var(--sunken);
}

/* App Store "coming soon" badge */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.store svg {
  width: 24px;
  height: 24px;
}
.store small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.7;
  line-height: 1.1;
}
.store b {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero-in {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  font-weight: 800;
}
.chip img {
  width: 22px;
  height: 22px;
}
.hero h1 {
  font-size: clamp(46px, 6.4vw, 84px);
}
.lede {
  margin-top: 22px;
  max-width: 520px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}
.cta-note {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.stage {
  position: relative;
  height: 640px;
}
.stage .sun-disc {
  position: absolute;
  left: 6%;
  top: 40px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: var(--peach);
}
.stage .moon-disc {
  position: absolute;
  right: -40px;
  top: -10px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--lav);
}
.phone {
  position: absolute;
  width: 270px;
  aspect-ratio: 1206 / 2622;
  border-radius: 46px;
  padding: 9px;
  background: #1b1a20;
  box-shadow: 0 30px 60px -20px rgba(46, 42, 51, 0.35), 0 10px 20px -10px rgba(46, 42, 51, 0.2);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 38px;
}
.stage .phone.a {
  left: 12%;
  top: 70px;
  transform: rotate(-6deg);
  z-index: 2;
}
.stage .phone.b {
  left: 50%;
  top: 30px;
  transform: rotate(5deg);
}

.sticker {
  position: absolute;
  filter: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff) drop-shadow(0 8px 10px rgba(46, 42, 51, 0.16));
  z-index: 3;
}
.float {
  animation: bob 6s ease-in-out infinite;
}
.float.d1 {
  animation-delay: -1.5s;
}
.float.d2 {
  animation-delay: -3s;
}
.float.d3 {
  animation-delay: -4.5s;
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

/* Entrance */
.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 80ms);
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Sections */
section {
  scroll-margin-top: 80px;
}
.sec {
  padding: 96px 0;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}
.sec h2 {
  font-size: clamp(36px, 4.6vw, 58px);
  max-width: 760px;
}
.sec .sub {
  margin-top: 16px;
  max-width: 620px;
  font-size: 19px;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.step {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--r-md);
  background: var(--card);
  overflow: hidden;
}
.step .num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  font-weight: 900;
  font-size: 15px;
}
.step h3 {
  margin-top: 70px;
  font-size: 25px;
}
.step p {
  margin-top: 10px;
  color: var(--muted);
}
.step .art {
  position: absolute;
  right: 22px;
  top: 22px;
  display: flex;
  gap: 4px;
}
.step .art img {
  width: 64px;
  height: 64px;
}
.step .thumbs {
  display: flex;
  gap: 10px;
}
.step .thumbs span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px dashed var(--faint);
  display: grid;
  place-items: center;
  background: #fff;
}
.step .thumbs svg {
  width: 26px;
  height: 26px;
  stroke: var(--muted);
}

/* Day and night */
.dn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}
.dn-card {
  position: relative;
  min-height: 560px;
  border-radius: var(--r-lg);
  padding: 40px 40px 0;
  overflow: hidden;
}
.dn-card.day {
  background: var(--peach);
}
.dn-card.night {
  background: var(--navy);
  color: var(--navy-ink);
}
.dn-card.night::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1.6px 1.6px at 20% 30%, rgba(255, 255, 255, 0.7) 50%, transparent 51%), radial-gradient(1.2px 1.2px at 70% 18%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 85% 60%, rgba(255, 255, 255, 0.5) 50%, transparent 51%), radial-gradient(1.2px 1.2px at 40% 75%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 10% 85%, rgba(255, 255, 255, 0.4) 50%, transparent 51%), radial-gradient(1.2px 1.2px at 55% 45%, rgba(255, 255, 255, 0.45) 50%, transparent 51%);
  pointer-events: none;
}
.dn-card .time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.7);
}
.dn-card.night .time {
  background: rgba(255, 255, 255, 0.1);
}
.dn-card .time img {
  width: 24px;
  height: 24px;
}
.dn-card h3 {
  position: relative;
  margin-top: 22px;
  font-size: clamp(30px, 3.4vw, 42px);
}
.dn-card p {
  position: relative;
  margin-top: 12px;
  max-width: 400px;
  color: rgba(46, 42, 51, 0.68);
}
.dn-card.night p {
  color: var(--navy-muted);
}
.dn-card .phone {
  position: relative;
  margin: 36px auto -170px;
  width: 250px;
}
.dn-card.day .phone {
  transform: rotate(-3deg);
}
.dn-card.night .phone {
  transform: rotate(3deg);
  background: #0b0c22;
}

/* Games */
.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.area {
  padding: 26px 24px 24px;
  border-radius: var(--r-md);
}
.area img {
  width: 52px;
  height: 52px;
}
.area h3 {
  margin-top: 18px;
  font-size: 24px;
}
.area p {
  margin-top: 6px;
  font-size: 15px;
  color: rgba(46, 42, 51, 0.66);
}
.area ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.area li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  font-weight: 800;
  font-size: 15px;
}
.area li span {
  font-size: 12px;
  font-weight: 800;
  color: rgba(46, 42, 51, 0.5);
}
.ages {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--card);
}
.ages ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ages li {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  font-weight: 900;
  font-size: 18px;
}
.ages li:nth-child(3) {
  background: var(--violet);
  color: #fff;
}
.ages p {
  color: var(--muted);
  font-size: 16px;
}

/* Sticker book */
.book {
  position: relative;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 56px 56px 56px 96px;
  border-radius: 18px 36px 36px 18px;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 11px 11px, rgba(46, 42, 51, 0.09) 1.4px, transparent 1.6px);
  background-size: 22px 22px;
  box-shadow: 10px 10px 0 #f3ece3, 18px 18px 0 #eae1d6, 0 30px 60px -30px rgba(46, 42, 51, 0.25);
  overflow: hidden;
}
.book::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 54px;
  background: #f4ede3;
}
.book::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 30px;
  width: 26px;
  background: radial-gradient(circle at 13px 27px, #ddd2c4 6px, transparent 6.5px) 0 0 / 26px 54px repeat-y;
}
.book-copy {
  position: relative;
  z-index: 2;
}
.book-copy h2 {
  font-size: clamp(34px, 4vw, 52px);
}
.book-copy .sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}
.howto {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.howto span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px dashed var(--violet);
  color: var(--violet);
  font-weight: 800;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.7);
}
.book-art {
  position: relative;
  height: 560px;
}
.book-art .phone {
  left: 50%;
  top: 0;
  width: 260px;
  translate: -50% 0;
  transform: rotate(4deg);
}

/* Grown-ups */
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.feat {
  padding: 26px 24px 28px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1.5px solid var(--card);
}
.feat .ico {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}
.feat .ico img {
  width: 34px;
  height: 34px;
}
.feat h3 {
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.15;
}
.feat p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.coach {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin-top: 34px;
  padding: 16px 20px;
  border-radius: 24px 24px 24px 8px;
  background: #fff;
  box-shadow: 0 16px 40px -20px rgba(46, 42, 51, 0.3);
}
.coach .av {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1ecfa;
}
.coach .av img {
  width: 28px;
  height: 28px;
}
.coach small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #8a8490;
}
.coach b {
  font-weight: 800;
}

/* Plan */
.plan {
  position: relative;
  margin-top: 0;
  padding: 72px 40px;
  border-radius: var(--r-lg);
  background: var(--violet);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.plan h2 {
  margin: 0 auto;
  font-size: clamp(38px, 5vw, 64px);
}
.plan .sub {
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.8);
}
.plan .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.plan .tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 15px;
  font-weight: 800;
}
.plan .tick svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}
.plan .store {
  margin-top: 34px;
  background: #fff;
  color: var(--ink);
}
.plan .deco {
  position: absolute;
  width: 92px;
  height: 92px;
}

/* FAQ */
.faq {
  margin-top: 40px;
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq details {
  border-radius: 20px;
  background: var(--card);
  padding: 0 24px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  font-weight: 800;
  font-size: 18px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2a33' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 22px;
  color: var(--muted);
  max-width: 680px;
}

/* Footer */
.foot {
  margin-top: 40px;
  padding: 56px 0 40px;
  border-top: 1px solid var(--sunken);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.foot .cols {
  display: flex;
  gap: 56px;
}
.foot h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.foot ul a {
  text-decoration: none;
  font-weight: 700;
}
.foot ul a:hover {
  color: var(--violet);
}
.fine {
  margin-top: 36px;
  font-size: 13px;
  color: var(--faint);
}
.fine a {
  color: var(--muted);
}

/* Text pages */
.doc {
  padding: 64px 0 40px;
}
.doc .wrap {
  max-width: 760px;
}
.doc h1 {
  font-size: clamp(40px, 5vw, 60px);
}
.doc .date {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}
.doc h2 {
  margin-top: 40px;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.doc p,
.doc li {
  margin-top: 12px;
  color: #4d4853;
  font-weight: 600;
}
.doc ul {
  padding-left: 22px;
}
.doc a {
  color: var(--violet);
}
.help {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}
.help div {
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--card);
}
.help h2 {
  margin: 0;
  font-size: 19px;
}
.help p {
  margin-top: 6px;
}
.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.lost img {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-in,
  .book {
    grid-template-columns: 1fr;
  }
  .stage {
    height: 560px;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  .areas,
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step h3 {
    margin-top: 40px;
  }
  .book-art {
    height: 520px;
  }
}
@media (max-width: 760px) {
  .links {
    display: none;
  }
  .hero {
    padding-top: 30px;
  }
  .lede {
    font-size: 18px;
  }
  .stage {
    height: 480px;
  }
  .stage .sun-disc {
    width: 340px;
    height: 340px;
    left: 0;
  }
  .stage .moon-disc {
    width: 180px;
    height: 180px;
    right: -30px;
  }
  .phone {
    width: 210px;
  }
  .stage .phone.a {
    left: 2%;
  }
  .stage .phone.b {
    left: auto;
    right: 2%;
  }
  .sec {
    padding: 72px 0;
  }
  .dn {
    grid-template-columns: 1fr;
  }
  .dn-card {
    min-height: 0;
    padding: 30px 26px 0;
  }
  .dn-card .phone {
    width: 220px;
    margin-bottom: -150px;
  }
  .areas,
  .grid4 {
    grid-template-columns: 1fr;
  }
  .book {
    padding: 40px 24px 40px 70px;
  }
  .book-art {
    height: 470px;
  }
  .book-art .phone {
    width: 215px;
  }
  .ages {
    flex-direction: column;
    align-items: flex-start;
  }
  .plan {
    padding: 56px 22px;
  }
  .plan .deco {
    display: none;
  }
  .foot .cols {
    gap: 32px;
  }
  .nav-cta .pill {
    padding: 0 16px;
    height: 40px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rise,
  .float {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
