/* We're Just Kidz — site styles */
:root {
  --coral: #FF5A5F;
  --sun: #FFC21A;
  --teal: #12B5A6;
  --violet: #7B4DFF;
  --orange: #FF8A1F;
  --ink: #1F2140;
  --muted: #4A4D6E;
  --line: #ECEEF5;
  --tint-violet: #F3EFFF;
  --tint-teal: #EFF9F8;
  --tint-sun: #FFF6DB;
  --tint-coral: #FFEEEE;
  --display: "Baloo 2", "Trebuchet MS", sans-serif;
  --body: "Nunito", "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.55;
}
img, svg { max-width: 100%; }
a { color: #5A2FE0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; }
.section { padding: 80px max(24px, env(safe-area-inset-left)); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; text-wrap: balance; }
.lead { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 36px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  border-radius: 999px; padding: 12px 28px; font-weight: 800; text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: #6638F0; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0E1030; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: #D9DCEB; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.pill-soon { align-self: flex-start; background: #fff; color: var(--muted); font-weight: 800; border-radius: 999px; padding: 10px 22px; font-size: 16px; }

/* Nav */
.nav-bar { padding: 20px 24px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.k { color: var(--coral); } .i { color: var(--violet); } .d { color: var(--teal); } .z { color: var(--orange); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-weight: 800; font-size: 17px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--violet); }

/* Hero */
.hero { padding: 48px 24px 72px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.badge { align-self: flex-start; display: flex; align-items: center; gap: 10px; background: var(--tint-teal); color: #0B6E65; border-radius: 999px; padding: 8px 18px 8px 12px; font-size: 16px; font-weight: 800; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.hero h1 span { color: var(--coral); }
.hero-sub { font-size: 21px; color: var(--muted); max-width: 34em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.small-note { font-size: 16px; color: var(--muted); font-weight: 600; }
.hero-visual { flex: 1 1 420px; min-width: 0; background: var(--tint-sun); border-radius: 36px; padding: 28px; }
.game-card { background: #fff; border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 30px rgba(31,33,64,.10); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.game-card .story { font-size: 22px; line-height: 1.4; }
.game-card .ask { font-family: var(--display); font-weight: 800; font-size: 24px; color: #5A2FE0; }
.faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.faces div { background: #F7F7FB; border-radius: 20px; padding: 10px; display: flex; justify-content: center; border: 4px solid transparent; }
.faces div.right { border-color: var(--teal); }
.faces svg { width: 100%; max-width: 110px; height: auto; }
.game-card .yes { text-align: center; font-family: var(--display); font-weight: 800; font-size: 22px; color: #0B6E65; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.calm { background: var(--tint-violet); }
.feature { background: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.feature svg { width: 36px; height: 36px; }
.feature h3 { font-size: 21px; font-weight: 800; }
.feature p { color: var(--muted); font-size: 17px; }

.game { border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.game h3 { font-size: 22px; font-weight: 800; }
.game p { color: var(--muted); font-size: 17px; flex-grow: 1; }
.game .meta { font-size: 15px; font-weight: 800; }
.game .icon { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.game .icon svg { width: 34px; height: 34px; }
.g-coral { background: var(--tint-coral); } .g-coral .icon { background: var(--coral); }
.g-sun { background: var(--tint-sun); } .g-sun .icon { background: var(--sun); }
.g-teal { background: var(--tint-teal); } .g-teal .icon { background: var(--teal); }
.g-violet { background: var(--tint-violet); } .g-violet .icon { background: var(--violet); }
.game .btn { align-self: flex-start; padding: 10px 22px; }

/* Parents */
.parents { background: var(--ink); color: #fff; }
.parents .lead { color: #C9CBE3; }
.parents-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.parents-head .section-head { min-width: 0; }
.parents-head a { color: var(--sun); font-weight: 800; text-decoration: none; }
.tip { background: #2B2E55; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.tip .tag { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tip h3 { font-size: 22px; font-weight: 800; line-height: 1.3; }
.tip p, .tip .read { color: #C9CBE3; font-size: 17px; }
.tip .read { font-size: 15px; }
.disclaimer { font-size: 15px; color: #C9CBE3; }

/* Sync */
.sync-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.sync-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks svg { width: 26px; height: 26px; flex: none; }
.devices { flex: 1 1 420px; min-width: 0; display: flex; align-items: flex-end; justify-content: center; gap: 20px; }
.tablet { width: 300px; max-width: 70%; aspect-ratio: 4 / 3; background: var(--tint-violet); border: 10px solid var(--ink); border-radius: 24px; display: flex; align-items: center; justify-content: center; }
.tablet img { width: 40%; }
.phone { width: 110px; max-width: 28%; aspect-ratio: 9 / 18; background: var(--tint-sun); border: 8px solid var(--ink); border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.phone svg { width: 50%; }

/* CTA */
.cta-wrap { padding: 0 24px 80px; }
.cta { background: var(--sun); border-radius: 36px; padding: 56px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05; }
.cta p { max-width: 34em; font-weight: 600; }

/* Footer */
footer { border-top: 2px solid var(--line); padding: 36px 24px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 16px; color: var(--muted); }
.foot .wordmark { font-size: 22px; color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 800; }
.foot-links a { color: var(--ink); text-decoration: none; }

@media (max-width: 520px) {
  .section { padding-block: 56px; }
  .cta { padding: 40px 22px; }
  .hero-visual { padding: 16px; }
}

/* Age filter */
.age-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.age-chip { font: 800 16px var(--body); border: 2px solid #D9DCEB; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 20px; min-height: 44px; cursor: pointer; }
.age-chip:hover { border-color: var(--ink); }
.age-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.game[hidden] { display: none; }

/* Community */
.community { background: var(--tint-teal); }
.community-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.community-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.community .eyebrow { color: #0B6E65; }
.chat-preview { flex: 1 1 360px; min-width: 0; background: #fff; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 12px 30px rgba(31,33,64,.08); }
.chat-head { font-weight: 800; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.chat-head span { color: var(--muted); font-weight: 600; }
.msg { background: #F5F6FB; border-radius: 18px 18px 18px 6px; padding: 12px 16px; font-size: 16px; }
.msg b { display: block; font-size: 14px; color: var(--muted); }
.msg.mentor { background: var(--tint-violet); }
.msg.mentor b { color: #5A2FE0; }
