:root {
  --ink: #17324d;
  --muted: #5c7188;
  --blue: #058dcc;
  --blue-deep: #00679b;
  --sky: #dff4ff;
  --sky-soft: #f0fbff;
  --mint: #1bbf89;
  --lime: #86cf13;
  --gold: #f7a51f;
  --rose: #ec5fa8;
  --paper: #fffaf2;
  --white: #ffffff;
  --line: #d4e9f3;
  --shadow: 0 22px 60px rgba(23, 50, 77, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--sky-soft);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(212, 233, 243, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Nunito, Inter, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(5, 141, 204, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--blue-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.18);
}

.hero {
  position: relative;
  min-height: min(860px, calc(100vh - 76px));
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(58px, 9vw, 118px) clamp(20px, 5vw, 72px) clamp(88px, 12vw, 150px);
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.96) 0%, rgba(255, 250, 242, 0.88) 39%, rgba(240, 251, 255, 0.52) 100%),
    var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 126px;
  background: linear-gradient(180deg, rgba(240, 251, 255, 0), var(--sky-soft));
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  top: 42px;
  right: max(-220px, -14vw);
  width: min(1060px, 72vw);
  max-width: none;
  opacity: 0.2;
  filter: saturate(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Nunito, Inter, sans-serif;
  line-height: 1.04;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(4.6rem, 12vw, 9.4rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5.8vw, 5rem);
  font-weight: 900;
  max-width: 940px;
}

.child-showcase h2,
.ai-section h2,
.app-showcase h2,
.parent-section h2 {
  font-size: clamp(2.15rem, 4.4vw, 4rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 900;
}

.tagline {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--blue-deep);
  font-family: Nunito, Inter, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.16;
}

.hero-copy,
.split-section > div > p,
.child-copy p,
.ai-copy p,
.app-showcase > div > p,
.parent-copy p,
.cta-section p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 178px;
  min-height: 54px;
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.store-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: 0 0 auto;
}

.store-button.light {
  color: var(--ink);
  background: var(--white);
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(23, 50, 77, 0.18);
}

.hero-preview {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(-28px, -3vw, -10px);
  z-index: 1;
  width: min(500px, 36vw);
  min-width: 290px;
  border: 10px solid var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-preview img {
  width: 100%;
  height: auto;
}

.intro-band {
  padding: clamp(42px, 7vw, 90px) clamp(20px, 5vw, 72px);
  background: var(--blue);
}

.intro-band p {
  max-width: 1180px;
  margin: 0 auto;
  color: var(--white);
  font-family: Nunito, Inter, sans-serif;
  font-size: clamp(1.65rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.16;
}

.split-section,
.child-showcase,
.ai-section,
.insights-showcase,
.app-showcase,
.parent-section,
.journal-section,
.cta-section,
.policy-hero,
.policy-section {
  padding: clamp(66px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.policy-hero {
  background: var(--paper);
}

.policy-hero h1 {
  max-width: 920px;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.policy-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.policy-section {
  background: var(--white);
}

.policy-section.alt {
  background: var(--sky);
}

.policy-content {
  max-width: 880px;
}

.policy-content h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.policy-content ol {
  margin: 24px 0;
  padding-left: 1.4rem;
}

.policy-content li + li {
  margin-top: 10px;
}

.policy-contact {
  margin: 24px 0;
}

.policy-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  background: var(--white);
}

.child-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  background: var(--paper);
}

.screen-pair {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.screen-card {
  margin: 0;
}

.screen-card img {
  width: 100%;
  border: 10px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screen-card.large {
  justify-self: center;
  max-width: 430px;
}

.screen-card.large img {
  height: auto;
  min-height: 0;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  background: var(--white);
}

.ai-grid {
  display: grid;
  gap: 18px;
}

.ai-grid article {
  padding: 28px;
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ai-grid article:nth-child(2) {
  background: #effbf5;
}

.ai-grid article:nth-child(3) {
  background: #fff8e7;
}

.ai-grid p {
  color: var(--muted);
}

.insights-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
  background: var(--sky);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.journal-cards article {
  min-height: 248px;
  padding: 28px;
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid article:nth-child(2) {
  background: #fff8e7;
}

.feature-grid article:nth-child(3) {
  background: #effbf5;
}

.feature-grid p,
.insight-list p,
.journal-cards p {
  color: var(--muted);
}

.icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-family: Nunito, Inter, sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
}

.icon.progress,
.icon.lock {
  position: relative;
}

.icon.progress {
  background: var(--gold);
}

.icon.progress::before {
  content: "";
  width: 24px;
  height: 14px;
  border-left: 5px solid var(--white);
  border-bottom: 5px solid var(--white);
  transform: rotate(135deg) translate(2px, -1px);
}

.icon.progress::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 14px;
  right: 14px;
  border-top: 5px solid var(--white);
  border-right: 5px solid var(--white);
}

.icon.lock {
  background: var(--mint);
}

.icon.lock::before {
  content: "";
  width: 20px;
  height: 17px;
  border: 4px solid var(--white);
  border-top: 0;
  border-radius: 3px;
  transform: translateY(6px);
}

.icon.lock::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 18px;
  border: 4px solid var(--white);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  transform: translateY(-7px);
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  background: var(--sky);
}

.app-showcase figure {
  margin: 0;
}

.app-showcase img {
  width: 100%;
  border: 10px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.parent-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 6vw, 84px);
  background: var(--paper);
}

.insight-list {
  display: grid;
  gap: 18px;
}

.insight-list div {
  padding: 26px 0 26px 26px;
  border-left: 7px solid var(--blue);
  background: rgba(255, 255, 255, 0.62);
}

.insight-list div:nth-child(2) {
  border-color: var(--rose);
}

.insight-list div:nth-child(3) {
  border-color: var(--lime);
}

.journal-section {
  background: var(--white);
}

.journal-heading {
  max-width: 990px;
  margin-bottom: 34px;
}

.journal-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journal-cards article:nth-child(1) {
  border-top: 8px solid var(--rose);
}

.journal-cards article:nth-child(2) {
  border-top: 8px solid var(--gold);
}

.journal-cards article:nth-child(3) {
  border-top: 8px solid var(--mint);
}

.journal-cards article:nth-child(4) {
  border-top: 8px solid var(--blue);
}

.cta-section {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(223, 244, 255, 0.88), rgba(255, 250, 242, 0.95)),
    var(--sky);
}

.cta-section h2,
.cta-section p {
  margin-right: auto;
  margin-left: auto;
}

.cta-section .hero-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 22px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero {
    min-height: 0;
    padding-bottom: 52px;
  }

  .hero-bg {
    width: 980px;
    opacity: 0.13;
  }

  .hero-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 620px);
    margin-top: 42px;
    min-width: 0;
    transform: none;
  }

  .feature-grid,
  .journal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .child-showcase,
  .ai-section,
  .insights-showcase,
  .app-showcase,
  .parent-section {
    grid-template-columns: 1fr;
  }

  .screen-pair {
    grid-template-columns: 1fr;
  }

  .screen-card.large img {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.86rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 330px);
  }

  .store-button {
    width: 100%;
  }

  .feature-grid,
  .journal-cards {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .journal-cards article {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 1.2rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 4rem;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
}
