:root {
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --ink: #1d2b4f;
  --body: #46506b;
  --muted: #626b85;
  --line: #e6dcc9;
  --teal: #146d73;
  --teal-deep: #0b4e55;
  --butter: #ffe6a6;
  --display: "Baloo 2", Nunito, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 600 16px/1.55 Nunito, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
p, figure, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font: 800 1rem/1.02 var(--display); text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.1vw, 3.45rem); letter-spacing: -.035em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.wrap { width: min(100%, 1210px); margin-inline: auto; padding-inline: clamp(18px, 3.4vw, 40px); }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 231, .97);
  border-bottom: 1px solid #e8dfd2;
}
.hbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand b { font: 800 29px/1 var(--display); letter-spacing: -.05em; }
.hbar nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 23px); }
.how-link { color: var(--ink); font-weight: 800; text-decoration: none; }
.how-link:hover { text-decoration: underline; }
.signin {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 7px 17px;
  border: 1px solid #e7d8ac;
  border-radius: 13px;
  background: #fffdf4;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}
.signin:hover { background: #ffefbb; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 7px 24px;
  border: 0;
  border-radius: 15px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 0 var(--teal-deep);
  font: 800 19px/1.15 var(--display);
  cursor: pointer;
}
.btn:hover { background: #185c67; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--teal-deep); }
.btn:disabled { opacity: .72; cursor: default; }
.btn.yel { color: var(--ink); background: var(--butter); box-shadow: 0 4px 0 #c99641; }
.btn.yel:hover { background: #ffedbb; }
.btn.yel:active { box-shadow: 0 1px 0 #c99641; }

.hero-band { background: linear-gradient(180deg, #fff9e8 0%, #fff2cb 100%); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  grid-template-areas: "intro art" "signup art";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 20px clamp(20px, 3vw, 42px);
  padding-block: clamp(30px, 5vw, 62px) 47px;
}
.hero-intro { grid-area: intro; display: grid; gap: 12px; }
.hero-l { grid-area: signup; display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.eyebrow {
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 900;
}
.hero h1 { max-width: 555px; font-size: clamp(2.75rem, 5.4vw, 4.65rem); line-height: .97; letter-spacing: -.05em; text-wrap: balance; }
.hero h1 span { color: var(--teal); white-space: nowrap; }
.lede { max-width: 492px; color: var(--body); font-size: clamp(1rem, 1.65vw, 1.2rem); text-wrap: pretty; }
.signup, .sent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 520px);
}
.form-field { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; gap: 4px; }
.form-field label { font-size: 13px; font-weight: 900; line-height: 1.25; }
.signup input, .signup select {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 8px 12px;
  border: 1px solid #dbc997;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 700 16px/1.25 Nunito, system-ui, sans-serif;
}
.signup select { padding-right: 5px; }
.signup input::placeholder { color: #73758a; }
.signup select:invalid { color: #686980; }
.signup .btn { align-self: flex-start; margin-top: 3px; min-width: 146px; }
.next-step { color: var(--body); font-size: 13px; }
.serr { color: #a52c38; font-size: 14px; font-weight: 900; }
.serr:empty { display: none; }
.sent { padding: 19px 20px; border: 1px solid #ebdacf; border-radius: 19px; background: var(--paper); }
.sent .t { font: 800 24px/1.1 var(--display); }
.sent .m { color: var(--body); }
.devbox { padding: 9px 12px; border-radius: 12px; background: #fff1cb; font-size: 13px; overflow-wrap: anywhere; }
.trust { display: flex; align-items: center; gap: 10px; max-width: 485px; color: var(--body); font-size: 13px; line-height: 1.35; }
.trust img { width: 44px; height: 44px; flex: none; border: 2px solid white; border-radius: 50%; object-fit: cover; }

.hero-r { grid-area: art; align-self: center; position: relative; width: min(100%, 490px); aspect-ratio: 1.08; margin-inline: auto; }
.hero-halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, #ffdf74 15%, #ffe79c 50%, transparent 72%); }
.hero-game {
  position: absolute;
  top: 1%;
  right: 13%;
  width: 43%;
  overflow: hidden;
  border: clamp(4px, .55vw, 7px) solid #262746;
  border-radius: clamp(17px, 2.65vw, 35px);
  background: #262746;
  box-shadow: 0 13px 24px #473c283d;
  transform: rotate(8deg);
}
.hero-game img { width: 100%; }
.mascot { position: absolute; width: 58%; bottom: 1%; left: 1%; filter: drop-shadow(0 11px 12px #30294f30); }
.spark { position: absolute; color: #d98230; font-size: clamp(22px, 4vw, 50px); line-height: 1; }
.spark-top { top: 14%; left: 25%; }
.spark-low { bottom: 11%; right: 3%; color: #dc845f; font-size: clamp(17px, 3vw, 32px); }


.how, .before { padding-block: clamp(50px, 7vw, 88px); }
.how { scroll-margin-top: 70px; }
.how h2 { margin-bottom: 25px; }
.workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.workflow-step { padding: 24px; border: 1px solid var(--line); border-radius: 25px; background: var(--paper); }
.workflow-step h3 { margin-bottom: 8px; font-size: 25px; }
.workflow-step p { color: #3c3c58; }

.kidside { padding: clamp(42px, 6.5vw, 79px) 0; background: var(--ink); color: #fff9ed; }
.kidside .in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(25px, 5vw, 65px); }
.kidside .txt p { max-width: 470px; margin-top: 16px; color: #f8f1e2; font-size: 17px; }
.play-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 13px; }
.play-gallery figure { padding: 7px; border-radius: 20px; background: var(--paper); color: var(--ink); }
.play-gallery figure:nth-child(2) { margin-top: 19px; }
.play-gallery img { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; }
.play-gallery figcaption { padding: 7px 4px 4px; text-align: center; font: 800 clamp(1rem, 2vw, 1.32rem)/1.1 var(--display); }

.before { padding-bottom: 35px; }
.before .intro { max-width: 710px; margin-bottom: 23px; }
.before .intro p { margin-top: 11px; color: var(--body); }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.note { display: flex; flex-direction: column; gap: 7px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.note b { font: 800 21px/1.05 var(--display); }
.note p { color: var(--body); font-size: 15px; }
.privacy { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr); align-items: start; gap: clamp(25px, 5vw, 57px); padding-block: 30px 58px; }
.privacy .l { display: flex; flex-direction: column; gap: 13px; }
.privacy .l p { color: var(--body); }
.privacy .more { font-size: 14px; overflow-wrap: anywhere; }
.faq { display: flex; flex-direction: column; gap: 9px; }
.q { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 55px;
  padding: 13px 15px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: 900 16px/1.3 Nunito, system-ui, sans-serif;
  cursor: pointer;
}
.q button:focus-visible { outline-offset: -4px; }
.q button span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff0c6; color: var(--ink); font-size: 20px; line-height: 1; }
.q button[aria-expanded="true"] span { transform: rotate(45deg); }
.q .a { padding: 0 15px 16px; color: var(--body); font-size: 15px; }

.final { padding-bottom: 44px; }
.final .in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 25px;
  padding: clamp(20px, 3.5vw, 40px);
  border: 1px solid #edddb0;
  border-radius: 28px;
  background: linear-gradient(120deg, #fff8e5, #ffefc2);
}
.final .l { display: flex; align-items: center; gap: 17px; }
.final img { width: clamp(58px, 9vw, 100px); flex: none; }
.final h2 { font-size: clamp(1.7rem, 4vw, 2.75rem); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 20px; padding-bottom: 33px; color: var(--muted); font-size: 13px; }
footer .d { max-width: 550px; }
footer .links { display: flex; flex-wrap: wrap; gap: 13px; }

@media (max-width: 850px) {

}
@media (max-width: 700px) {
  .hero, .kidside .in, .privacy { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-areas: "intro" "art" "signup"; grid-template-rows: auto; justify-items: center; gap: 17px; padding-block: 23px 25px; }
  .hero-intro { gap: 8px; justify-items: center; text-align: center; }
  .hero h1 { max-width: 480px; font-size: clamp(2.55rem, 8vw, 4rem); }
  .hero-l { gap: 13px; }
  .hero-l { width: min(100%, 520px); }
  .hero-r { max-width: 312px; height: clamp(172px, 55vw, 230px); }
  .hero-game { width: 33%; right: 19%; top: 2%; }
  .mascot { width: 54%; left: 8%; }
  .spark-top { left: 28%; }
  .spark-low { right: 10%; }
  .workflow, .notes { grid-template-columns: minmax(0, 1fr); }
  .workflow-step { padding: 18px 20px; }

  .workflow-step h3 { margin-top: 3px; }
  .kidside .in { gap: 23px; }
  .play-gallery { max-width: 475px; }
}
@media (max-width: 480px) {
  .hbar { min-height: 60px; }
  .brand img { width: 37px; height: 37px; }
  .brand b { font-size: 26px; }
  .signin { padding-inline: 13px; font-size: 14px; }
  .signup .btn { width: 100%; }



  .final .btn { width: 100%; }
}
@media (max-width: 360px) {
  .hero { gap: 12px; padding-top: 18px; }
  .hero-r { max-width: 255px; height: 150px; }
  .hero-game { width: 29%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
