:root {
  --navy: #141f47;
  --muted: #5c6185;
  --tertiary: #7a7e9a;
  --cream: #fff6db;
  --cream-deep: #ffe9b0;
  --card: #ffffff;
  --sky: #1493ff;
  --sky-light: #85d1ff;
  --coral: #ff477a;
  --coral-dark: #e6285c;
  --turquoise: #00c7db;
  --yellow: #ffc700;
  --lavender: #9e47ff;
  --green: #0dd16b;
  --orange: #ff7510;
  --border: rgba(20, 31, 71, 0.08);
  --shadow: 0 18px 50px rgba(20, 31, 71, 0.12);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--navy);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--sky); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 20;
}

.skip-link:focus { top: 0.6rem; }

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite;
}

.blob-a { width: 280px; height: 280px; background: #85d1ff; left: -80px; top: -40px; }
.blob-b { width: 220px; height: 220px; background: #ffe066; right: -60px; top: 120px; animation-delay: -4s; }
.blob-c { width: 180px; height: 180px; background: #d2b3ff; right: 18%; bottom: 8%; animation-delay: -8s; }
.blob-d { width: 140px; height: 140px; background: #ffb3c8; left: 22%; bottom: -40px; animation-delay: -2s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.06); }
}

.site-header,
.site-footer,
main { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(255, 246, 219, 0.86);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand img {
  height: 58px;
  width: auto;
  max-width: 210px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.1rem;
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
}

.nav-links a:hover { color: var(--sky); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 3.2rem 0 2.4rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.app-store-badge img {
  height: 54px;
  width: auto;
  display: block;
}

.fine {
  font-size: 0.9rem;
  color: var(--tertiary);
  margin: 0.9rem 0 0;
}

.phone-stage {
  display: grid;
  place-items: center;
  min-height: 520px;
}

.orbit {
  position: relative;
  width: min(420px, 100%);
  height: 520px;
}

.orbit .chip {
  position: absolute;
  z-index: 2;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: white;
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-weight: 750;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.i,
.i-lg {
  display: block;
  flex-shrink: 0;
  color: var(--navy);
}

.i { width: 18px; height: 18px; }
.i-lg { width: 32px; height: 32px; }

.c1 { top: 18px; left: 8px; }
.c2 { top: 78px; right: 0; }
.c3 { top: 210px; left: -18px; }
.c4 { bottom: 150px; right: -8px; }
.c5 { bottom: 42px; left: 42px; }
.c6 { bottom: 86px; right: 36px; }

.phone {
  position: absolute;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  width: 230px;
  height: 460px;
  background: linear-gradient(180deg, #e8f6ff 0%, #fff3d4 55%, #ffe0ef 100%);
  border: 10px solid #1b244f;
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 1.1rem 0.9rem;
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 10px;
  transform: translateX(-50%);
  background: #1b244f;
  border-radius: 999px;
}

.phone-kicker {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.phone h2 {
  margin: 0.25rem 0 0.85rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.lesson-card {
  background: white;
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow: 0 10px 24px rgba(20, 31, 71, 0.08);
}

.lesson-card strong { display: block; font-size: 0.95rem; }
.lesson-card p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.82rem; }

.dots {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
}

.dots span:nth-child(2) { background: var(--coral); }
.dots span:nth-child(3) { background: var(--yellow); }
.dots span:nth-child(4) { background: var(--lavender); }

.band {
  padding: 1.2rem 0 3.4rem;
  scroll-margin-top: 5.5rem;
}

.band h2,
.legal-page h1 {
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

.band-intro {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.6rem;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 8px 24px rgba(20, 31, 71, 0.05);
}

.card h3 { margin: 0 0 0.4rem; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }

.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

.icon .i { width: 22px; height: 22px; }
.icon-sky { background: #d7efff; color: #0b6fd4; }
.icon-sun { background: #fff0c2; color: #c98900; }
.icon-coral { background: #ffe0ea; color: #d63d6a; }

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: center;
  background: linear-gradient(135deg, #141f47, #2a3d8f);
  color: white;
  border-radius: 28px;
  padding: 2rem;
}

.privacy-callout h2 { color: white; }
.privacy-callout p { color: rgba(255,255,255,0.84); margin: 0 0 1rem; }
.privacy-callout a { color: #ffe066; font-weight: 700; }
.privacy-callout .card { color: var(--navy); }
.privacy-callout .card p { color: var(--muted); }

.mascots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.mascot {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 1rem 0.6rem;
  border: 1px solid var(--border);
}

.face {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.face-ocean { background: #c5f7fb; color: #0a7f8c; }
.face-space { background: #fff3b0; color: #c98900; }
.face-dino { background: #d8f8c9; color: #3b8a2a; }
.face-horse { background: #ffe1c2; color: #c46510; }

.mascot strong { display: block; font-size: 0.92rem; }
.mascot span { color: var(--muted); font-size: 0.8rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: white;
  border-radius: 28px;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
}

.site-footer {
  padding: 2rem 0 2.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.footer-row a { color: var(--navy); font-weight: 650; text-decoration: none; }
.footer-links { display: flex; gap: 1rem; }

.legal-page {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.4rem 1.25rem 4rem;
}

.legal-page h1 { font-size: 2rem; }
.legal-page h2 { font-size: 1.15rem; margin: 2rem 0 0.6rem; }
.legal-page p,
.legal-page li { color: var(--muted); }
.legal-page .lede { color: var(--navy); }
.meta { color: var(--muted); font-size: 0.9rem; }
.legal-page .card { overflow-x: auto; }
.legal-page table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.legal-page th,
.legal-page td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--border);
}
.legal-page ul { padding-left: 1.2rem; }

.not-found {
  text-align: center;
  padding: 5rem 1.25rem 6rem;
}

.not-found a.button {
  display: inline-block;
  margin-top: 1rem;
  background: var(--coral);
  color: white;
  text-decoration: none;
  font-weight: 800;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
}

@media (max-width: 860px) {
  .hero,
  .grid-3,
  .grid-2,
  .privacy-callout,
  .mascots { grid-template-columns: 1fr; }
  .hero { padding-top: 1.6rem; }
  .phone-stage { min-height: 480px; overflow: hidden; }
  .c3 { left: 0; }
  .nav-links .hide-sm { display: none; }
}

@media (max-width: 520px) {
  .orbit { height: 470px; }
  .phone { width: 210px; height: 420px; }
  .brand img { height: 44px; }
}

@media print {
  .blobs, .site-header, .site-footer, .app-store-badge { display: none !important; }
  body { background: white; }
  a { color: inherit; }
}
