/* Static public site only. App styles and runtime are not loaded by landing pages. */
:root {
  color-scheme: light dark;
  font-family: 'Nunito', ui-rounded, system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  --shadow: 0 12px 42px #42364e0c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -0.035em;
}
h2 {
  line-height: 1.3;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 16px;
  z-index: 10;
  background: var(--white);
}
.skip-link:focus {
  top: 12px;
}
.brand-dark {
  display: none;
}
.primary,
.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
}
.primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 4px 0 var(--purple-dark);
  font-size: 20px;
}
.primary:hover {
  background: var(--purple-dark);
}
@media (prefers-color-scheme: dark) {
  .brand-light {
    display: none;
  }
  .brand-dark {
    display: block;
  }
  .primary {
    background: var(--purple-dark);
  }
}
.secondary {
  color: var(--purple);
  border: 1px solid var(--line);
  background: var(--white);
}
.secondary:hover {
  background: var(--lilac);
}

.welcome-page {
  max-width: 1920px;
  margin: auto;
  padding: 0 clamp(20px, 5.5vw, 112px);
  min-height: 100dvh;
}
.welcome-header,
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.welcome-header {
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}
.welcome-brand img {
  width: clamp(152px, 16vw, 218px);
}
nav {
  gap: clamp(12px, 2.5vw, 40px);
}
.parent-link,
.language-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}
.parent-link:hover {
  color: var(--purple);
}
.language-choice {
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.welcome-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(36px, 5vw, 88px) 0 clamp(32px, 4vw, 64px);
}
.welcome-content {
  min-width: 0;
  max-width: 680px;
}
.age-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.age-label > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lilac);
}
.age-label svg {
  width: 18px;
  height: 18px;
}
h1 {
  font-size: clamp(44px, 5.4vw, 88px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin: 20px 0;
  text-wrap: balance;
}
.welcome-intro {
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.6;
  max-width: 36ch;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 28px;
}
.discovery-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.discovery-heading h2 {
  font-size: clamp(19px, 2vw, 26px);
  text-align: center;
}
.heading-line {
  height: 1px;
  flex: 1;
  background: var(--line);
}
.activity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.activity {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 8px;
}
.activity-symbol {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 25px 23px 30px 19px;
  background: var(--lilac);
  color: var(--purple);
  font-size: 33px;
  font-weight: 900;
  transform: rotate(-5deg);
}
.activity-symbol svg {
  width: 34px;
  height: 34px;
}
.activity[data-activity='learn'] .activity-symbol {
  background: var(--mint);
  color: var(--green-ink);
  transform: rotate(4deg);
}
.activity[data-activity='imagine'] .activity-symbol {
  background: var(--lilac);
  color: var(--purple);
  transform: rotate(-3deg);
  border-radius: 50%;
}
.activity h3 {
  font-size: 21px;
  margin-bottom: 5px;
}
.activity p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 29ch;
}
.grownup-section {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: clamp(36px, 4vw, 64px);
  padding: clamp(24px, 3vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  scroll-margin-top: 24px;
}
.grownup-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--page);
  color: var(--purple);
}
.grownup-icon svg {
  width: 27px;
  height: 27px;
}
.grownup-copy {
  flex: 1;
}
.grownup-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.grownup-copy h2 {
  font-size: 23px;
}
.grownup-copy p {
  max-width: 65ch;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
}
.sample-note {
  color: var(--muted);
}
.parent-actions {
  display: grid;
  gap: 8px;
  flex-shrink: 0;
}
.parent-actions .secondary {
  min-height: 52px;
  font-size: 14px;
}
.account-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 10px;
}
.account-links button {
  min-height: 44px;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.account-links button:hover {
  color: var(--purple);
}
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 30px 0;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
footer svg {
  color: var(--purple);
  width: 17px;
  height: 17px;
}
@media (min-width: 1920px) {
  .welcome-hero {
    min-height: 760px;
  }
  .activity p {
    font-size: 18px;
  }
}
@media (max-width: 1000px) {
  .welcome-page {
    padding-inline: 28px;
  }
  .welcome-hero {
    gap: 20px;
  }
  .activity {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .grownup-icon {
    display: none;
  }
  .grownup-section {
    gap: 20px;
  }
}
@media (max-width: 680px) {
  .welcome-page {
    padding-inline: 20px;
  }
  .welcome-header {
    min-height: 88px;
    gap: 12px;
  }
  .welcome-brand img {
    width: 144px;
  }
  nav {
    gap: 8px;
  }
  .parent-link {
    width: 44px;
  }
  .parent-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .language-choice {
    font-size: 12px;
    padding: 0 10px;
  }
  .language-choice svg {
    display: none;
  }
  .welcome-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 32px;
  }
  .welcome-content {
    display: contents;
  }
  .age-label {
    font-size: 11px;
    grid-row: 1;
  }
  h1 {
    grid-row: 2;
    font-size: clamp(42px, 9vw, 60px);
    margin: 3px 0;
    max-width: 12ch;
  }
  .welcome-intro {
    grid-row: 3;
    margin: 0;
    font-size: 17px;
  }
  .welcome-hero .welcome-scene {
    grid-row: 5;
  }
  .welcome-hero .start-block {
    grid-row: 4;
  }
  .discovery-heading {
    gap: 12px;
  }
  .activity-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .activity {
    flex-direction: row;
    align-items: center;
    padding: 8px 0;
    gap: 18px;
  }
  .activity-symbol {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 20px;
  }
  .activity h3 {
    font-size: 20px;
  }
  .activity p {
    max-width: none;
  }
  .grownup-section {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }
  .grownup-copy h2 {
    font-size: 22px;
  }
  .parent-actions .secondary {
    white-space: normal;
  }
  footer {
    font-size: 12px;
  }
}

/* Marketing content has real links instead of the app's nickname form. */
.welcome-brand {
  flex-shrink: 0;
}
.welcome-brand img {
  height: auto;
}
.header-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  min-height: 48px;
}
.start-block {
  margin-top: 30px;
}
.start-block .primary {
  min-width: 230px;
}
.try-note,
.signed-in {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
}
.try-note .icon,
.signed-in .icon {
  width: 18px;
  height: 18px;
  color: var(--green-ink);
}
.account-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 4px;
}
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.about-section h2,
.about-section h3 {
  font-size: 25px;
}
.about-section p {
  line-height: 1.8;
  font-size: 16px;
  margin-top: 14px;
  max-width: 65ch;
}
.faq-section {
  max-width: 900px;
  margin: 64px auto 0;
}
.faq-section h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 24px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 22px 4px;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
}
details p {
  line-height: 1.8;
  padding: 0 4px 24px;
  font-size: 16px;
}
.closing-play {
  display: flex;
  justify-content: center;
  padding: 48px 0 16px;
}
@media (max-width: 1000px) {
  .header-app {
    display: none;
  }
}
@media (max-width: 680px) {
  .welcome-content {
    display: contents;
  }
  .start-block {
    grid-row: 4;
    margin-top: 12px;
  }
  .start-block .primary {
    width: 100%;
  }
  .welcome-intro {
    max-width: none;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }
  .about-section h2,
  .about-section h3 {
    font-size: 24px;
  }
  .faq-section {
    margin-top: 40px;
  }
  .closing-play .primary {
    width: 100%;
  }
}
