@font-face {
  font-family: Nunito;
  src: url("assets/fonts/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("assets/fonts/Nunito-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("assets/fonts/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("assets/fonts/Nunito-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
:root {
  --bg: #eaf1ff;
  --dot: #d3e2fb;
  --ink: #26314d;
  --muted: #5b6785;
  --blue: #4e7ff0;
  --blue-ink: #4068c5;
  --blue-deep: #4672d8;
  --pink: #ff5c97;
  --pink-ink: #b8426d;
  --purple: #9b7bf0;
  --green: #4cc38a;
  --orange: #ff7a45;
  --yellow: #ffc94d;
  --border: #e1e7f5;
  --white: #fff;
  --shadow: 0 10px 36px #26314d09;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle, var(--dot) 1px, transparent 1.2px) 0 0/22px 22px,
    var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue-ink);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -0.035em;
}
p {
  color: var(--muted);
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
}
h3 {
  font-size: 1.65rem;
}
strong {
  font-weight: 800;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.blue-text {
  color: var(--blue-ink);
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  padding: 10px 20px;
  background: white;
  z-index: 100;
  transform: translateY(-200%);
  border-radius: 12px;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f6f9ffed;
  border-bottom: 1px solid #dce6f6;
  backdrop-filter: blur(16px);
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.brand-icon {
  width: 46px;
  height: 48px;
  background: var(--blue);
  border-radius: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 0 #335bc329;
  transform: rotate(-7deg);
}
.brand-icon img {
  width: 36px;
  transform: rotate(7deg);
}
.brand-sub {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--muted);
  padding-top: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9375rem;
  font-weight: 800;
}
.nav-links > a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
}
.nav-links > a:hover,
.footer-links a:hover {
  color: var(--blue-ink);
}
.nav-soon {
  font-size: 0.6875rem;
  letter-spacing: 0;
  background: #eee8fc;
  color: #765db6;
  padding: 3px 7px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-login {
  border: 1px solid #cddaf4;
  border-radius: 12px;
  padding: 10px 16px;
  background: white;
}
.nav-login .icon {
  width: 17px;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  min-height: 710px;
  padding-block: 54px 56px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.135em;
  color: var(--blue-ink);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(3.7rem, 5.8vw, 5.5rem);
  letter-spacing: -0.055em;
  line-height: 1.09;
}
.hero h1 .blue-text {
  display: inline-block;
  position: relative;
}
.heading-swoosh {
  position: absolute;
  bottom: -19px;
  left: 0;
  width: 100%;
  height: 22px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 5;
  stroke-linecap: round;
}
.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 440px;
  margin-top: 36px;
}
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.store-button {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 15px;
  min-height: 72px;
  padding: 12px 22px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  background: var(--ink);
  color: white;
  box-shadow: 0 5px 0 #26314d15;
}
.store-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 9px 18px #26314d1c;
}
.store-button:active {
  transform: scale(0.97);
}
.store-button.ios {
  background: white;
  border: 1px solid #d3ddf0;
  color: var(--ink);
}
.store-icon {
  width: 28px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.store-button small {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.store-button strong {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 1.2rem;
  line-height: 1.4;
}
.store-button strong .icon {
  width: 16px;
  height: 16px;
}
.download-note {
  font-size: 0.8125rem;
  margin-top: 13px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8125rem;
  font-weight: 800;
  margin-top: 29px;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-trust .icon {
  width: 18px;
  height: 18px;
  color: var(--blue-ink);
}
.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--muted);
}
.explore-link:hover {
  color: var(--blue-ink);
}
.explore-link .icon {
  height: 18px;
  width: 18px;
}
.hero-art {
  height: 592px;
  position: relative;
  isolation: isolate;
}
.hero-world {
  position: absolute;
  inset: 18px -25px 5px -35px;
  background: linear-gradient(145deg, #b7d7ff9e, #eef5ff70 55%, #d8deffbd);
  border-radius: 48% 48% 40% 52%;
  box-shadow: inset 0 0 70px #ffffff80;
  z-index: -2;
}
.hero-world:before {
  content: "";
  position: absolute;
  inset: 10px;
  background: radial-gradient(circle, #ffffffb0 1.5px, transparent 2px) 0 0/30px
    30px;
  border-radius: inherit;
  opacity: 0.7;
  mask-image: linear-gradient(transparent, #000 25%, #000 70%, transparent);
}
.orbit {
  position: absolute;
  border: 1px dashed #b4c9f0;
  border-radius: 50%;
  z-index: -1;
}
.orbit-one {
  width: 490px;
  height: 490px;
  left: 5px;
  top: 50px;
  transform: rotate(-25deg);
}
.orbit-two {
  width: 570px;
  height: 410px;
  left: -25px;
  top: 110px;
  transform: rotate(35deg);
}
.hero-mascot {
  position: absolute;
  width: 300px;
  left: -8px;
  top: 65px;
  transform: rotate(-10deg);
  filter: drop-shadow(0 15px 10px #4e7ff019);
  animation: mascot-bob 5s ease-in-out infinite;
  z-index: 3;
}
.phone {
  width: 237px;
  position: absolute;
  right: 44px;
  top: 24px;
  transform: rotate(7deg);
  border: 7px solid white;
  border-radius: 38px;
  background: white;
  box-shadow:
    14px 24px 50px #4068c535,
    0 0 0 1px #d9e5fb;
  overflow: hidden;
  z-index: 2;
}
.phone > img {
  width: 100%;
  border-radius: 31px;
}
.phone-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 2px 2px 5px #ffffffc0;
  border-radius: 30px;
}
.floating-star {
  position: absolute;
  filter: drop-shadow(0 6px 8px #db9c2330);
  animation: star-bob 5s ease-in-out infinite;
}
.star-one {
  left: 54px;
  top: 26px;
  width: 62px;
  transform: rotate(-20deg);
}
.star-two {
  right: 0;
  top: 340px;
  width: 60px;
  animation-delay: -2s;
}
.star-three {
  left: 170px;
  bottom: 25px;
  width: 36px;
  animation-delay: -3s;
}
.floating-note {
  position: absolute;
  left: 8px;
  bottom: 101px;
  z-index: 5;
  background: #fffefa;
  padding: 15px 22px 15px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  box-shadow: 0 12px 28px #26314d12;
  transform: rotate(-6deg);
}
.floating-note strong {
  display: block;
  font-size: 1rem;
}
.floating-note small {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}
.note-star {
  background: #fff3d1;
  border-radius: 12px;
  padding: 7px;
}
.note-star img {
  width: 34px;
}
.art-caption {
  position: absolute;
  bottom: 15px;
  right: 30px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--muted);
  transform: rotate(-5deg);
}
.subjects-section {
  scroll-margin-top: 24px;
  padding-block: 4px 65px;
}
.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}
.section-line h2 {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}
.section-line > span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.subject-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.subject-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff9;
  padding: 20px 14px;
  border: 1px solid #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.subject-card:hover {
  transform: translateY(-5px);
}
.subject-card strong {
  font-size: 1rem;
  display: block;
  white-space: nowrap;
}
.subject-card small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}
.subject-symbol,
.subject-svg {
  font-size: 1.25rem;
  font-weight: 900;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #e8efff;
  color: var(--blue-ink);
  border-radius: 14px;
  flex-shrink: 0;
}
.subject-svg {
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  padding: 10px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vietnamese .subject-symbol {
  background: #ffe9f1;
  color: var(--pink-ink);
  font-size: 1.75rem;
}
.english .subject-symbol {
  background: #f2edff;
  color: #765db6;
  font-size: 1.2rem;
}
.science .subject-svg {
  background: #e8f8f0;
  color: #217f4f;
}
.geography .subject-svg {
  background: #fff0e8;
  color: #a34224;
}
.features-section {
  padding-block: 30px 75px;
}
.section-heading {
  margin-bottom: 35px;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
.section-heading > p:last-child {
  margin-top: 17px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  padding: 27px 27px 20px;
  border: 1px solid #ffffff;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 26px;
}
.feature-number {
  color: var(--blue-ink);
  font-size: 0.8125rem;
  font-weight: 900;
}
.small-pill {
  font-size: 0.6875rem;
  border-radius: 20px;
  padding: 4px 9px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--muted);
  background: #f3f6fc;
}
.feature-card > p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.jar-card {
  background: linear-gradient(#fff, #fffdf6);
}
.jar-stage {
  height: 227px;
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 12px;
}
.jar-halo {
  position: absolute;
  width: 185px;
  height: 185px;
  background: #fff2cc;
  border-radius: 50%;
}

.jar-counter {
  position: absolute;
  bottom: 3px;
  right: 6px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 5px 13px;
  font-size: 0.875rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
}
.jar-counter img {
  width: 22px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: var(--blue-deep);
  color: white;
  font-weight: 800;
  padding: 12px 18px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px #26314d15;
}
.button:active {
  transform: scale(0.97);
}
.star-button {
  background: var(--yellow);
  color: var(--ink);
  width: 100%;
  font-size: 0.875rem;
  box-shadow: 0 4px 0 #e8ad35;
}
.star-button .icon {
  width: 17px;
}
.feature-card > .demo-note,
.demo-note {
  font-size: 0.75rem;
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
}
.theme-card {
  background: linear-gradient(#fff, #f8f6ff);
}
.theme-stage {
  height: 227px;
  position: relative;
  margin: 20px -9px 16px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}
.theme-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-stage:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -50px 40px #26314d29;
  pointer-events: none;
}
.theme-mascot {
  position: absolute;
  width: 190px;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 10px #26314d30);
  transition: opacity 0.18s;
}
.theme-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #fffefaed;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 800;
  border-radius: 8px;
  padding: 3px 9px;
  z-index: 1;
}
.theme-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.theme-switcher button {
  border: 1px solid #e3e4f3;
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  font-size: 0.8125rem;
  font-weight: 800;
  min-height: 44px;
}
.theme-switcher button[aria-pressed="true"] {
  border-color: var(--blue);
  background: #e8efff;
  color: var(--blue-ink);
  box-shadow: 0 0 0 1px var(--blue);
}
.theme-switcher button:hover {
  border-color: var(--blue);
}
.theme-dot {
  width: 11px;
  height: 11px;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 50%;
}
.space-dot {
  background: var(--purple);
}
.ocean-dot {
  background: #43bedd;
}
.jungle-dot {
  background: var(--green);
}
.candy-dot {
  background: var(--pink);
}
.parent-card {
  background: linear-gradient(#fff, #f5fbf8);
}
.parent-preview {
  margin: 26px -6px 15px;
  background: white;
  padding: 18px 14px 14px;
  border: 1px solid #e5eee7;
  border-radius: 18px;
  box-shadow: 0 8px 20px #26314d07;
}
.preview-profile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 15px;
}
.preview-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.preview-profile strong {
  display: block;
  font-size: 0.8125rem;
}
.preview-profile small {
  display: block;
  color: var(--muted);
  font-size: 0.6875rem;
}
.preview-profile > .icon {
  margin-left: auto;
  color: var(--pink);
  width: 18px;
}
.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 800;
}
.progress-row > span:first-child {
  width: 66px;
}
.progress-track {
  flex: 1;
  height: 9px;
  background: #f0f3fa;
  border-radius: 6px;
  overflow: hidden;
}
.progress-track > span {
  display: block;
  background: var(--fill);
  width: var(--progress);
  height: 100%;
  border-radius: 6px;
}
.progress-row .icon {
  width: 16px;
  height: 16px;
  fill: var(--yellow);
  stroke: var(--yellow);
}
.parent-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  color: #217f4f;
  background: #e8f8f0;
  padding: 10px 8px;
  border-radius: 10px;
  margin-top: 20px;
}
.parent-note .icon {
  width: 16px;
  height: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--blue-ink);
  min-height: 44px;
}
.parent-card > .demo-note {
  display: block;
}
.parent-card .text-link {
  margin-top: 8px;
}
.text-link .icon {
  width: 16px;
}
.text-link:hover {
  text-decoration: underline;
}
.games-section {
  padding-block: 15px 85px;
}
.inline-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.inline-heading > p {
  font-size: 0.9375rem;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.game-card {
  background: white;
  border-radius: 20px;
  border: 5px solid white;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.game-card:hover {
  transform: translateY(-7px) rotate(-1deg);
  box-shadow: 0 14px 25px #4068c51a;
}
.game-card > img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 15px;
}
.game-card > div {
  padding: 12px 12px 14px;
}
.game-card h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.game-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--muted);
}
.community-section {
  padding-bottom: 85px;
}
.community-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  isolation: isolate;
  background: linear-gradient(120deg, #e0e6ff, #e9e6ff 60%, #f7ebff);
  border: 1px solid white;
  border-radius: 32px;
  overflow: hidden;
}
.community-copy {
  padding: 45px 0 40px 45px;
  z-index: 2;
}
.coming-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffffa8;
  color: #765db6;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 8px;
  margin-bottom: 22px;
}
.community-copy h2 {
  font-size: 2.65rem;
}
.community-copy p {
  max-width: 465px;
  margin-top: 18px;
  font-size: 0.9375rem;
}
.button-white {
  background: white;
  color: var(--ink);
  box-shadow: 0 4px 0 #26314d0b;
  margin-top: 25px;
  font-size: 0.9375rem;
}
.community-art {
  position: relative;
  min-height: 390px;
}
.conversation-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: white;
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 10px 22px #26314d0b;
  width: 330px;
  font-size: 0.8125rem;
}
.conversation-one {
  right: 75px;
  top: 70px;
  transform: rotate(-7deg);
}
.conversation-one > img {
  width: 42px;
}
.conversation-one > .icon {
  color: var(--pink);
  width: 18px;
}
.conversation-card > div {
  flex: 1;
}
.conversation-bar {
  display: block;
  height: 6px;
  border-radius: 5px;
  background: #edf0fa;
  margin-top: 9px;
  width: 85%;
}
.conversation-bar.short {
  width: 50%;
}
.conversation-two {
  top: 195px;
  right: 40px;
  transform: rotate(6deg);
}
.pack-icon {
  color: #765db6;
  background: #f2edff;
  border-radius: 12px;
  padding: 13px;
  align-self: stretch;
  display: grid;
  place-items: center;
}
.mini-chips {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.mini-chips i {
  font-style: normal;
  font-weight: 800;
  font-size: 0.625rem;
  padding: 2px 7px;
  background: #e8efff;
  color: var(--blue-ink);
  border-radius: 5px;
}
.mini-chips i:last-child {
  background: #e8f8f0;
  color: #217f4f;
}
.community-mascot {
  position: absolute;
  width: 160px;
  bottom: 9px;
  left: 5px;
  transform: rotate(-9deg);
}
.community-star {
  position: absolute;
  right: 25px;
  top: 37px;
  transform: rotate(15deg);
  color: var(--yellow);
}
.community-star .icon {
  width: 52px;
  height: 52px;
  fill: currentColor;
  stroke-width: 1;
}
.community-footer {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 19px 45px;
  background: #ffffff52;
  border-top: 1px solid #ffffff9e;
  font-size: 0.8125rem;
  font-weight: 800;
}
.community-footer > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.community-footer .icon {
  width: 18px;
  color: #765db6;
}
.community-footer .soon-footer {
  font-weight: 600;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.75rem;
}
.download-section {
  padding-bottom: 80px;
}
.download-card {
  padding: 55px 35px 45px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  border-radius: 30px;
  background: #fffefa;
  border: 1px solid white;
  box-shadow: var(--shadow);
}
.download-card .eyebrow {
  justify-content: center;
}
.download-card > p:not(.eyebrow) {
  margin-top: 15px;
}
.download-card .store-buttons {
  justify-content: center;
}
.download-mascot {
  position: absolute;
  left: 18px;
  bottom: -26px;
  width: 195px;
  transform: rotate(15deg);
  z-index: -1;
  opacity: 0.9;
}
.download-card:after {
  content: "";
  position: absolute;
  right: -45px;
  top: -70px;
  width: 225px;
  height: 225px;
  border: 35px solid #fff2cc;
  border-radius: 50%;
  z-index: -1;
}
.site-footer {
  background: #f5f8ffbd;
  border-top: 1px solid #dce6f6;
  padding: 35px 0 20px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-top .brand {
  font-size: 1.65rem;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-weight: 800;
}
.footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #dce6f6;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.75rem;
  color: var(--muted);
}
.footer-bottom > span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom .icon {
  width: 13px;
  height: 13px;
  color: var(--pink);
}
.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal.is-visible {
  animation: reveal-enter 0.6s ease both;
}
@keyframes reveal-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mascot-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-12px) rotate(-7deg);
  }
}
@keyframes star-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

/* Shared content pages */
.page-hero {
  padding: 55px 0 35px;
  max-width: 820px;
}
.breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--blue-ink);
  margin-bottom: 30px;
  min-height: 44px;
}
.breadcrumb .icon {
  transform: rotate(180deg);
  width: 17px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.9rem);
}
.page-hero > .lede {
  margin-top: 22px;
  font-size: 1.125rem;
  max-width: 740px;
}
.meta {
  font-size: 0.8125rem;
  margin-top: 18px;
}
.policy-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 35px;
  padding-bottom: 70px;
  align-items: start;
}
.policy-nav {
  position: sticky;
  top: 120px;
  background: #ffffffb5;
  border: 1px solid white;
  padding: 24px;
  border-radius: 22px;
  font-size: 0.875rem;
}
.policy-nav strong {
  display: block;
  margin-bottom: 16px;
}
.policy-nav a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.policy-nav a:hover {
  color: var(--blue-ink);
}
.policy-content .panel {
  background: white;
  border: 1px solid #e4eafa;
  padding: 30px;
  border-radius: 22px;
  margin-bottom: 16px;
  scroll-margin-top: 120px;
}
.panel h2 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
}
.panel p,
.panel li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}
.panel ul {
  padding-left: 22px;
  margin-bottom: 0;
}
.panel li + li {
  margin-top: 9px;
}
.panel a {
  color: var(--blue-ink);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.policy-summary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.policy-summary span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 0.8125rem;
  font-weight: 800;
}
.policy-summary .icon {
  width: 18px;
  color: #217f4f;
}
.legal-en {
  font-size: 0.875rem;
  margin-top: 16px;
}
.support-content {
  max-width: 850px;
  margin: auto;
  padding-bottom: 70px;
}
.email-card {
  padding: 30px;
  background: white;
  border-radius: 22px;
  border: 1px solid var(--border);
  margin-bottom: 35px;
}
.email-card .mail {
  display: inline-block;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 900;
  color: var(--blue-ink);
  overflow-wrap: anywhere;
  margin: 8px 0 12px;
}
.support-content h2 {
  font-size: 1.7rem;
  margin: 25px 0;
}
.faq details {
  background: white;
  border-radius: 16px;
  padding: 20px 25px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.faq summary {
  font-weight: 800;
  cursor: pointer;
  min-height: 30px;
}
.faq details p {
  padding-top: 15px;
}
.support-content > .panel {
  margin-top: 30px;
  background: white;
  border-radius: 22px;
  padding: 25px;
}
.forum-main {
  padding-bottom: 70px;
}
.forum-hero {
  text-align: center;
  padding: 70px 20px 40px;
  max-width: 850px;
  margin: auto;
}
.forum-hero .coming-pill {
  margin-bottom: 20px;
}
.forum-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}
.forum-hero p {
  max-width: 590px;
  margin: 24px auto 0;
  font-size: 1.125rem;
}
.forum-hero img {
  width: 180px;
  margin: 20px auto 0;
  animation: star-bob 5s ease-in-out infinite;
}
.forum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.forum-tile {
  background: white;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid var(--border);
  scroll-margin-top: 120px;
}
.forum-tile > .icon {
  width: 36px;
  height: 36px;
  color: #765db6;
  margin-bottom: 20px;
}
.forum-tile h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}
.forum-tile p {
  font-size: 0.9375rem;
  margin-bottom: 24px;
}
.coming-label {
  display: inline-block;
  border-radius: 8px;
  padding: 5px 10px;
  background: #f2edff;
  color: #765db6;
  font-size: 0.75rem;
  font-weight: 900;
}
.forum-tile:target {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}
.forum-return {
  text-align: center;
  margin: 35px 0 0;
}
.forum-return .button {
  margin-top: 15px;
}
@media (min-width: 1450px) {
  .hero {
    min-height: 740px;
  }
  .hero-art {
    height: 620px;
  }
}
@media (max-width: 1150px) {
  .orbit {
    display: none;
  }
  .wrap {
    width: calc(100% - 60px);
  }
  .nav-links {
    gap: 20px;
  }
  .nav-soon {
    display: none;
  }
  .hero {
    min-height: 650px;
    gap: 0;
  }
  .hero h1 {
    font-size: 4.4rem;
  }
  .hero-art {
    height: 540px;
  }
  .hero-mascot {
    width: 265px;
    left: -25px;
    top: 80px;
  }
  .phone {
    right: 5px;
    width: 213px;
    top: 45px;
  }
  .hero-world {
    inset: 45px -15px 15px -10px;
  }
  .orbit {
    max-width: 100%;
  }
  .orbit-two {
    width: 440px;
  }
  .floating-note {
    left: -5px;
    bottom: 80px;
  }
  .star-one {
    left: 35px;
    top: 40px;
  }
  .star-two {
    right: -10px;
  }
  .subject-card {
    gap: 9px;
    padding: 15px 10px;
  }
  .subject-symbol,
  .subject-svg {
    width: 38px;
    height: 38px;
  }
  .subject-card small {
    font-size: 0.625rem;
  }
  .feature-card {
    padding: 22px;
  }
  .feature-top {
    gap: 5px;
  }
  .small-pill {
    font-size: 0.625rem;
    padding: 4px 7px;
  }
  .feature-card h3 {
    font-size: 1.45rem;
  }
  .feature-card > p {
    font-size: 0.875rem;
  }
  .theme-switcher button {
    font-size: 0.75rem;
    padding: 8px;
  }
  .game-card > img {
    height: 120px;
  }
  .community-copy {
    padding-left: 35px;
  }
  .conversation-card {
    width: 290px;
  }
  .conversation-one {
    right: 45px;
  }
  .conversation-two {
    right: 20px;
  }
  .community-footer {
    padding-inline: 35px;
    gap: 20px;
  }
  .soon-footer {
    display: none !important;
  }
  .download-mascot {
    width: 150px;
    left: -20px;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 610px;
  }
  .hero h1 {
    font-size: 3.6rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-art {
    height: 490px;
  }
  .phone {
    width: 188px;
    right: 0;
    top: 33px;
  }
  .hero-mascot {
    width: 218px;
    top: 83px;
    left: -30px;
  }
  .floating-note {
    padding: 12px;
    bottom: 71px;
    left: -18px;
  }
  .floating-note strong {
    font-size: 0.875rem;
  }
  .floating-note small {
    font-size: 0.6875rem;
  }
  .note-star img {
    width: 26px;
  }
  .store-button {
    padding: 10px 15px;
    gap: 9px;
    min-height: 66px;
  }
  .store-button strong {
    font-size: 1.05rem;
    gap: 12px;
  }
  .store-icon {
    width: 24px;
  }
  .hero-trust {
    gap: 12px;
    font-size: 0.75rem;
  }
  .subject-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .subject-card {
    padding: 16px;
    gap: 12px;
  }
  .subject-card small {
    font-size: 0.75rem;
  }
  .subject-card:last-child {
    grid-column: auto;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .parent-card {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 35px;
  }
  .parent-card .feature-top {
    grid-column: 1/-1;
    margin-bottom: 12px;
  }
  .parent-card h3 {
    grid-column: 1;
    align-self: end;
  }
  .parent-card > p {
    grid-column: 1;
  }
  .parent-card .parent-preview {
    grid-column: 2;
    grid-row: 2/5;
    margin-top: 0;
  }
  .parent-card > .demo-note {
    grid-column: 2;
    grid-row: 5;
    margin-top: 0;
  }
  .parent-card .text-link {
    grid-column: 1;
    grid-row: 4;
  }
  .games-grid {
    gap: 10px;
  }
  .game-card > img {
    height: 110px;
  }
  .game-card > div {
    padding: 9px 7px;
  }
  .game-card h3 {
    font-size: 0.875rem;
  }
  .community-copy h2 {
    font-size: 2.2rem;
  }
  .community-copy p {
    font-size: 0.875rem;
  }
  .conversation-card {
    width: 235px;
    font-size: 0.6875rem;
    padding: 15px 12px;
  }
  .conversation-one {
    right: 30px;
    top: 82px;
  }
  .conversation-two {
    right: 12px;
    top: 205px;
  }
  .community-mascot {
    width: 130px;
    left: -20px;
    bottom: 25px;
  }
  .community-footer {
    font-size: 0.75rem;
  }
  .download-mascot {
    opacity: 0.3;
  }
  .footer-top {
    align-items: flex-start;
  }
  .footer-links {
    gap: 15px;
    max-width: 400px;
    justify-content: flex-end;
  }
  .policy-layout {
    grid-template-columns: 200px 1fr;
    gap: 20px;
  }
  .policy-nav {
    padding: 20px;
  }
  .forum-tile {
    padding: 24px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .nav {
    height: 76px;
  }
  .brand {
    font-size: 1.6rem;
  }
  .brand-icon {
    width: 40px;
    height: 42px;
    border-radius: 13px;
  }
  .brand-icon img {
    width: 31px;
  }
  .brand-sub {
    font-size: 0.5625rem;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #d4def0;
    background: white;
  }
  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 3px;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: #f6f9ff;
    padding: 15px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 25px #26314d0c;
    gap: 8px;
  }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links > a {
    padding: 10px 12px;
  }
  .nav-soon {
    display: inline-block;
  }
  .nav-login {
    justify-content: space-between;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 38px 20px;
    gap: 0;
    min-height: 0;
    overflow: hidden;
  }
  .hero-copy {
    text-align: center;
  }
  .hero .eyebrow {
    justify-content: center;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(3.3rem, 11.5vw, 4.7rem);
  }
  .heading-swoosh {
    bottom: -17px;
  }
  .hero-description {
    margin: 32px auto 0;
    font-size: 1rem;
    max-width: 390px;
  }
  .hero .store-buttons {
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
  }
  .store-button {
    padding: 11px 14px;
  }
  .store-button small {
    font-size: 0.5625rem;
  }
  .store-button strong {
    font-size: 1.0625rem;
  }
  .download-note {
    font-size: 0.75rem;
  }
  .hero-trust {
    justify-content: center;
    gap: 15px;
    margin-top: 22px;
    font-size: 0.75rem;
  }
  .explore-link {
    display: none;
  }
  .hero-art {
    width: 100%;
    max-width: 440px;
    margin: 14px auto 0;
    height: 465px;
  }
  .hero-world {
    inset: 18px 0 5px;
  }
  .phone {
    right: 40px;
    top: 29px;
    width: 193px;
    transform: rotate(7deg);
    border-width: 6px;
    border-radius: 32px;
  }
  .phone > img {
    border-radius: 27px;
  }
  .hero-mascot {
    width: 227px;
    top: 74px;
    left: 2px;
  }
  .star-one {
    left: 50px;
    top: 35px;
    width: 45px;
  }
  .star-two {
    right: 0;
    top: 320px;
    width: 43px;
  }
  .star-three {
    bottom: 18px;
    left: 140px;
    width: 27px;
  }
  .floating-note {
    left: 13px;
    bottom: 63px;
    padding: 12px 16px;
  }
  .orbit-one {
    width: 360px;
    height: 360px;
    left: 20px;
    top: 40px;
  }
  .orbit-two {
    width: 400px;
    height: 330px;
    left: 5px;
    top: 90px;
  }
  .art-caption {
    bottom: 6px;
    right: 20px;
    font-size: 0.75rem;
  }
  .subjects-section {
    padding: 20px 0 46px;
  }
  .section-line {
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
  }
  .section-line h2 {
    font-size: 1rem;
  }
  .section-line > span {
    font-size: 0.6875rem;
    padding-top: 2px;
  }
  .subject-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .subject-card {
    padding: 14px 12px;
    border-radius: 15px;
    gap: 10px;
  }
  .subject-card strong {
    font-size: 0.9375rem;
  }
  .subject-card small {
    font-size: 0.6875rem;
  }
  .subject-card:last-child {
    grid-column: 1/-1;
    justify-content: center;
  }
  .features-section {
    padding: 20px 0 45px;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .section-heading .eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }
  .section-heading h2 {
    font-size: 2.3rem;
  }
  .section-heading > p:last-child {
    font-size: 0.9375rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .feature-card {
    padding: 25px 24px 20px;
    border-radius: 24px;
  }
  .feature-card h3 {
    font-size: 1.65rem;
  }
  .feature-card > p {
    font-size: 0.9375rem;
    max-width: 440px;
  }
  .feature-top {
    margin-bottom: 21px;
  }
  .small-pill {
    font-size: 0.6875rem;
  }
  .jar-stage {
    height: 230px;
  }

  .jar-counter {
    right: 20px;
  }
  .star-button {
    font-size: 0.9375rem;
  }
  .theme-stage {
    height: 245px;
  }
  .theme-mascot {
    width: 210px;
    top: 5px;
  }
  .theme-switcher {
    grid-template-columns: repeat(2, 1fr);
  }
  .theme-switcher button {
    font-size: 0.875rem;
    min-height: 46px;
    padding: 9px 12px;
  }
  .parent-card {
    display: block;
    grid-column: auto;
  }
  .parent-card .feature-top {
    margin-bottom: 21px;
  }
  .parent-card .parent-preview {
    margin-top: 24px;
  }
  .parent-card .text-link {
    display: flex;
    justify-content: center;
    font-size: 0.875rem;
  }
  .preview-profile strong {
    font-size: 0.9375rem;
  }
  .preview-profile small {
    font-size: 0.75rem;
  }
  .progress-row {
    font-size: 0.8755rem;
  }
  .progress-row > span:first-child {
    width: 80px;
  }
  .parent-note {
    font-size: 0.75rem;
  }
  .games-section {
    padding: 20px 0 46px;
  }
  .inline-heading {
    display: block;
  }
  .inline-heading h2 {
    font-size: 2rem;
  }
  .inline-heading > p {
    margin-top: 15px;
    font-size: 0.875rem;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .game-card > img {
    height: auto;
    aspect-ratio: 1.5;
    object-fit: cover;
  }
  .game-card > div {
    padding: 10px;
  }
  .game-card h3 {
    font-size: 1rem;
  }
  .game-card:last-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .game-card:last-child > img {
    width: 43%;
    height: 105px;
  }
  .game-card:last-child > div {
    padding: 10px 0;
  }
  .community-section {
    padding-bottom: 46px;
  }
  .community-card {
    grid-template-columns: 1fr;
    border-radius: 25px;
  }
  .community-copy {
    padding: 30px 25px 0;
  }
  .community-copy h2 {
    font-size: 2.25rem;
  }
  .community-copy p {
    font-size: 0.9375rem;
  }
  .community-copy .button {
    width: 100%;
    margin-top: 24px;
  }
  .community-art {
    height: 290px;
    min-height: 290px;
    max-width: 450px;
    width: 100%;
    margin: auto;
  }
  .conversation-card {
    width: 250px;
    font-size: 0.6875rem;
  }
  .conversation-one {
    top: 40px;
    right: 42px;
  }
  .conversation-two {
    top: 150px;
    right: 25px;
  }
  .community-mascot {
    width: 140px;
    left: 13px;
    bottom: 3px;
  }
  .community-star {
    right: 20px;
    top: 7px;
  }
  .community-star .icon {
    width: 36px;
  }
  .community-footer {
    padding: 17px 25px;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.75rem;
  }
  .community-footer > span {
    gap: 5px;
  }
  .community-footer .icon {
    width: 16px;
  }
  .download-section {
    padding-bottom: 45px;
  }
  .download-card {
    padding: 36px 22px 32px;
    border-radius: 24px;
  }
  .download-card .eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    max-width: 265px;
    margin-inline: auto;
  }
  .download-card h2 {
    font-size: 2rem;
  }
  .download-card > p:not(.eyebrow):not(.download-note) {
    font-size: 0.9375rem;
  }
  .download-mascot {
    left: -40px;
    width: 130px;
    bottom: -10px;
    opacity: 0.15;
  }
  .download-card .store-buttons {
    gap: 10px;
  }
  .download-card .store-button {
    width: 100%;
    max-width: 250px;
    justify-content: flex-start;
  }
  .download-card .store-button strong {
    gap: 40px;
  }
  .download-card .download-note {
    font-size: 0.75rem;
  }
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    font-size: 0.6875rem;
    gap: 10px;
    margin-top: 20px;
  }
  .site-footer {
    padding-top: 28px;
  }
  .page-hero {
    padding-top: 25px;
  }
  .breadcrumb {
    margin-bottom: 20px;
  }
  .page-hero h1 {
    font-size: 2.6rem;
  }
  .page-hero > .lede {
    font-size: 1rem;
  }
  .policy-summary {
    gap: 8px;
  }
  .policy-summary span {
    font-size: 0.75rem;
  }
  .policy-layout {
    display: block;
    padding-bottom: 40px;
  }
  .policy-nav {
    position: static;
    margin-bottom: 20px;
    padding: 20px;
  }
  .policy-nav a {
    font-size: 0.875rem;
    padding: 10px 0;
  }
  .policy-content .panel {
    padding: 24px 20px;
    scroll-margin-top: 95px;
  }
  .panel h2 {
    font-size: 1.25rem;
  }
  .panel p,
  .panel li {
    font-size: 0.9375rem;
  }
  .support-content {
    padding-bottom: 40px;
  }
  .email-card {
    padding: 24px 20px;
  }
  .faq details {
    padding: 18px 20px;
  }
  .faq summary {
    font-size: 0.9375rem;
  }
  .forum-hero {
    padding: 40px 10px 30px;
  }
  .forum-hero h1 {
    font-size: 2.7rem;
  }
  .forum-hero p {
    font-size: 1rem;
  }
  .forum-hero img {
    width: 145px;
  }
  .forum-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .forum-tile {
    padding: 25px;
  }
  .forum-tile h2 {
    font-size: 1.5rem;
  }
}
@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .hero .eyebrow {
    font-size: 0.5625rem;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .store-button {
    padding: 10px 11px;
    gap: 8px;
  }
  .store-icon {
    width: 21px;
  }
  .store-button strong {
    gap: 10px;
    font-size: 1rem;
  }
  .hero-art {
    height: 420px;
  }
  .phone {
    right: 17px;
    width: 176px;
  }
  .hero-mascot {
    left: -10px;
    width: 205px;
  }
  .floating-note {
    left: 4px;
    bottom: 50px;
  }
  .hero-trust {
    gap: 10px;
    font-size: 0.6875rem;
  }
  .subject-card {
    gap: 8px;
    padding: 12px 9px;
  }
  .subject-symbol,
  .subject-svg {
    width: 33px;
    height: 38px;
  }
  .subject-card small {
    font-size: 0.625rem;
  }
  .community-copy {
    padding-inline: 20px;
  }
  .conversation-one {
    right: 30px;
  }
  .conversation-two {
    right: 15px;
    width: 235px;
  }
  .community-footer {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .motion-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
  .hero-mascot {
    transform: rotate(-10deg);
  }
}

/* Main explanatory text stays readable at every viewport. */
.feature-card > p:not(.demo-note),
.community-copy p,
.inline-heading > p,
.forum-tile p,
.panel p,
.panel li {
  font-size: 1rem;
}

/* Keep secondary navigation targets comfortable on touch screens. */
.explore-link,
.policy-nav a {
  min-height: 44px;
}

/* Assets shared with the current StarJar app. */
.brand-icon {
  background: transparent;
  padding: 0;
  transform: none;
  border-radius: 12px;
  overflow: hidden;
  width: 46px;
  height: 46px;
  box-shadow: 0 3px 0 #335bc329;
}
.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}
.subject-art {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

/* The supplied video has a pale-blue background. A soft edge blends it into the hero. */
.hero-mascot {
  margin: 0;
  animation: none;
  transform: rotate(-7deg);
}
.mascot-media {
  width: 100%;
  aspect-ratio: 1;
  mask-image: radial-gradient(
    ellipse 52% 54% at 50% 50%,
    #000 70%,
    transparent 100%
  );
}
.mascot-video,
.mascot-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mascot-poster {
  display: none;
}
.hero-mascot.is-static .mascot-video {
  display: none;
}
.hero-mascot.is-static .mascot-poster {
  display: block;
}
.mascot-play-toggle {
  position: absolute;
  bottom: 7px;
  left: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #d4dff1;
  border-radius: 50%;
  background: #ffffffdf;
  color: var(--ink);
  box-shadow: 0 3px 12px #26314d0a;
  transform: rotate(7deg);
}
.mascot-play-toggle span {
  font-size: 1rem;
  font-weight: 900;
}
.mascot-play-toggle:hover {
  background: white;
}
.mascot-play-toggle:disabled {
  display: none;
}

/* Same layered glass as PhysicsJarView; stars move between the rear and front glass. */
.jar-stage {
  height: 267px;
  margin-top: 3px;
}
.physics-jar {
  position: relative;
  width: min(256px, 100%);
  aspect-ratio: 1;
  z-index: 3;
  touch-action: pan-y;
  cursor: grab;
  transform: rotate(var(--jar-tilt, 0deg));
  transition: transform 0.3s ease;
  border-radius: 30px;
}
.physics-jar:focus-visible {
  outline: 3px solid var(--blue-ink);
  outline-offset: -4px;
}
.physics-jar.is-dragging {
  cursor: grabbing;
  transition: none;
}
.jar-layer,
.jar-tokens {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}
.jar-back {
  z-index: 1;
}
.jar-tokens {
  z-index: 2;
}
.jar-front {
  z-index: 3;
  opacity: 0.4;
}
.jar-lid {
  z-index: 4;
}
.jar-token {
  position: absolute;
  left: 0;
  top: 0;
  width: 10.39%;
  height: auto;
  transform-origin: center;
  will-change: transform;
}
.jar-counter {
  z-index: 5;
  bottom: 0;
}
.jar-actions {
  display: flex;
  justify-content: center;
  margin: 3px 0 12px;
}
.jar-shake {
  min-height: 44px;
  padding: 8px 15px;
  color: var(--blue-ink);
  border: 1px solid #d3dff6;
  background: white;
  border-radius: 12px;
  font-size: 0.875rem;
}
.jar-shake .icon {
  width: 17px;
  height: 17px;
}
.jar-shake:disabled {
  color: var(--muted);
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.physics-jar.is-shaking {
  animation: jar-shake 0.4s ease;
}
@keyframes jar-shake {
  0%,
  100% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(-9deg);
  }
  45% {
    transform: rotate(8deg);
  }
  70% {
    transform: rotate(-5deg);
  }
}
@media (max-width: 1150px) {
  .subject-art {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 900px) {
  .subject-card small {
    white-space: normal;
  }
}
@media (max-width: 700px) {
  .brand-icon {
    width: 42px;
    height: 42px;
  }
  .brand-icon img {
    width: 100%;
  }
  .subject-art {
    width: 43px;
    height: 43px;
  }
  .hero-mascot {
    width: 240px;
    top: 74px;
    left: -4px;
  }
  .jar-stage {
    height: 267px;
  }
}
@media (max-width: 370px) {
  .subject-art {
    width: 36px;
    height: 38px;
  }
  .hero-mascot {
    width: 210px;
    left: -10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mascot-video {
    display: none;
  }
  .mascot-poster {
    display: block;
  }
  .mascot-play-toggle {
    display: none;
  }
  .physics-jar {
    transform: none;
    cursor: default;
  }
}

/* Shared pack page (/share/CODE) */
.share-page .share-code {
  margin: 4px 0 18px;
  color: var(--blue-ink);
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
}
.share-page .store-button.open-app {
  display: inline-flex;
  background: var(--blue);
  box-shadow: 0 5px 0 var(--blue-deep);
  margin-bottom: 14px;
}
.share-page .store-buttons {
  margin-top: 16px;
}
