:root {
  --sky: #dceef7;
  --paper: #fff8ec;
  --cream: #fffdf8;
  --ink: #1e2a4a;
  --muted: #5b6b8c;
  --coral: #ff7a66;
  --coral-deep: #e05c4b;
  --teal: #2e8b86;
  --teal-soft: #e3f2f0;
  --star: #ffc23e;
  --line: #ebdfcd;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(30, 42, 74, .10);
  --shadow-soft: 0 8px 24px rgba(30, 42, 74, .07);
  --wrap: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sky);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--teal); }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 12px 18px; z-index: 100; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(220, 238, 247, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 42, 74, .07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.brand img { border-radius: 50%; }
.brand small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--teal); }
.nav-toggle { display: flex; flex-direction: column; justify-content: center; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }

.nav-toggle span { display: block; width: 100%; height: 2px; flex: 0 0 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(255, 122, 102, .35); }
.btn.primary:hover { background: var(--coral-deep); }
.btn.ghost { border-color: rgba(30, 42, 74, .18); color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn.ghost:hover { background: #fff; }
.btn.light { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }
.btn.sm { padding: 10px 18px; font-size: .9rem; }
.btn .soon { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.25); padding: 3px 7px; border-radius: 999px; }

/* ---------- hero ---------- */
.hero { padding: 54px 0 24px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.pill {
  display: inline-block; background: var(--paper); color: var(--teal);
  font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; margin-bottom: 20px;
  border: 1px solid rgba(46, 139, 134, .18);
}
.coral { color: var(--coral); }
.teal { color: var(--teal); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; color: var(--muted); font-size: .86rem; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); display: inline-block; }

.hero-art { position: relative; min-height: 480px; }
.blob {
  position: absolute; inset: 8% 0 6% 10%;
  background: radial-gradient(circle at 60% 40%, #fff3df 0%, #ffe9c9 60%, rgba(255, 233, 201, 0) 72%);
  border-radius: 50%; filter: blur(2px);
}
.kiko {
  position: absolute; right: 22%; bottom: 0; width: min(330px, 46%);
  filter: drop-shadow(0 18px 24px rgba(30, 42, 74, .18));
  z-index: 2;
}
.phone {
  position: absolute; right: -6%; top: 4%; width: min(270px, 40%);
  border: 9px solid var(--ink); border-radius: 42px; overflow: hidden;
  background: #fff; box-shadow: 0 30px 60px rgba(30, 42, 74, .22);
  z-index: 3; transform: rotate(2.5deg);
}
.phone img { width: 100%; display: block; }
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 18px; background: var(--ink); border-radius: 999px; z-index: 2;
}
.speech {
  position: absolute; z-index: 4; right: 46%; top: 16%;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem;
  padding: 9px 14px; border-radius: 16px 16px 16px 4px;
  box-shadow: var(--shadow-soft); transform: rotate(-3deg);
}

/* ---------- strip ---------- */
.strip { background: var(--paper); border-block: 1px solid var(--line); padding: 22px 0; }
.strip p { margin: 0; text-align: center; color: var(--muted); max-width: 760px; margin-inline: auto; }
.strip strong { color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--paper); border-block: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; color: var(--coral); margin-bottom: 14px; }
.section-lede { color: var(--muted); max-width: 62ch; margin-bottom: 34px; }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); border: 1px solid rgba(30, 42, 74, .05); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.step { padding: 30px; position: relative; }
.step .num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--sky); color: var(--teal); font-weight: 800; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }

/* worlds */
.worlds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.world { grid-column: span 2; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid rgba(30,42,74,.05); }
.world:nth-child(4), .world:nth-child(5) { grid-column: span 3; }
.world img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.world-body { padding: 18px 20px 22px; }
.world-body h3 { margin-bottom: 6px; }
.world-body p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); padding: 5px 10px; border-radius: 999px; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.feature { padding: 24px; }
.feature .emoji { font-size: 1.7rem; display: block; margin-bottom: 12px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .9rem; margin: 0; }

/* parents */
.parents { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft);
  color: var(--teal); font-weight: 800; font-size: .8rem;
}
.parents-art { margin: 0; }
.parents-art img { border-radius: 28px; box-shadow: var(--shadow); border: 8px solid #fff; }
.parents-art figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 12px; }

/* languages */
.languages { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.lang-card { padding: 18px; display: grid; gap: 10px; }
.lang-row { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line); }
.lang-row.muted { background: transparent; border-style: dashed; }
.lang-row .flag { font-size: 1.7rem; line-height: 1; }
.lang-row .lang-code { font-size: .82rem; font-weight: 800; letter-spacing: .04em; background: var(--sky); color: var(--teal); border-radius: 10px; padding: 9px 8px; min-width: 38px; text-align: center; }
.lang-row h3 { margin: 0 0 2px; font-size: 1.02rem; }
.lang-row p { margin: 0; color: var(--muted); font-size: .85rem; }
.lang-tag { margin-left: auto; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--sky); color: var(--muted); }
.lang-tag.on { background: var(--teal-soft); color: var(--teal); }

/* tricky time */
.tricky { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.tricky .checks { margin: 0; }
.tricky .checks li strong { color: var(--ink); }
.tricky-art { margin: 0; justify-self: center; max-width: 320px; }
.tricky-art img { border-radius: 28px; box-shadow: var(--shadow); border: 8px solid #fff; }
.tricky-art figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 12px; }
.tricky-note { margin-top: 28px; padding: 26px 30px; border-left: 5px solid var(--coral); }
.tricky-note p { color: var(--muted); margin: 0; max-width: 78ch; }
.tricky-note strong { color: var(--ink); }
.tricky-note .disclaimer { margin-top: 14px; font-size: .82rem; color: var(--muted); }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; }
details[open] { box-shadow: var(--shadow-soft); }
summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* cta band */
.cta-band { background: var(--teal); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: center; gap: 40px; }
.cta-inner img { width: min(260px, 30%); filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #eafffb; max-width: 46ch; }
.cta-band .fine { color: #cdeeea; margin-top: 10px; }

/* footer */
.footer { background: var(--ink); color: #dbe4f3; padding: 44px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #9fb0cc; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer nav a { color: #dbe4f3; text-decoration: none; font-weight: 600; }
.footer nav a:hover { color: #fff; }
.footer .fine { color: #9fb0cc; font-size: .82rem; }
.footer .fine a { color: #cfe0ff; }

/* privacy page */
.page { padding: 60px 0 80px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page h2 { font-size: 1.4rem; margin-top: 2em; }
.page p, .page li { color: var(--muted); }
.page ul { padding-left: 1.2em; }
.page .back { display: inline-block; margin-bottom: 22px; font-weight: 700; text-decoration: none; }
.card-block h2:first-child { margin-top: 0; }
.card-block { background: #fff; border-radius: var(--radius); padding: 34px 38px; box-shadow: var(--shadow-soft); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .9rem; }
}

@media (max-width: 960px) {
  .languages { grid-template-columns: 1fr; }
  .tricky { grid-template-columns: 1fr; gap: 28px; }
  .tricky-art { order: -1; max-width: 300px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .worlds { grid-template-columns: repeat(2, 1fr); }
  .world, .world:nth-child(4), .world:nth-child(5) { grid-column: span 1; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 520px; margin-top: 10px; }
  .kiko { right: auto; left: 4%; width: 44%; }
  .phone { right: 4%; width: 42%; }
  .speech { right: auto; left: 40%; }
}

@media (min-width: 941px) {
  .nav-toggle { display: none; }
}

@media (max-width: 940px) {
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--sky); border-bottom: 1px solid rgba(30,42,74,.08);
    flex-direction: column; align-items: flex-start; padding: 18px 24px 24px; gap: 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .parents { grid-template-columns: 1fr; }
  .parents-art { order: -1; max-width: 320px; margin-inline: auto; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner img { width: 180px; }
  .hero-art { min-height: 430px; }
  .section { padding: 60px 0; }
  .tricky-note { padding: 22px 24px; }
  .card-block { padding: 26px 22px; }
}

@media (max-width: 600px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .worlds { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; }
  .hero-art { min-height: 380px; }
  .phone { width: 46%; }
  .kiko { width: 48%; }
  .speech { display: none; }
  .trust { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
