:root {
  --bg: #fafafc;
  --surface: #ffffff;
  --text: #18181b;
  --muted: #52525b;
  --subtle: #71717a;
  --line: #e4e4e7;
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --violet: #7c3aed;
  --fuchsia: #c026d3;
  --soft: #eef2ff;
  --amber: #fbbf24;
  --green: #059669;
  --radius: 20px;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 15px;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn.lg { padding: 14px 24px; font-size: 16px; }
.btn.primary { background: var(--indigo); color: #fff; box-shadow: 0 6px 20px -8px rgb(79 70 229 / .6); }
.btn.primary:hover { background: var(--indigo-dark); transform: translateY(-1px); }
.btn.ghost { color: var(--text); }
.btn.ghost:hover { background: #f4f4f5; }
.btn.light { background: #fff; color: var(--indigo-dark); }
.btn.light:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgb(255 255 255 / .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 11px; font-size: 17px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6 55%, #d946ef);
}
.mark.small { width: 24px; height: 24px; border-radius: 8px; font-size: 12px; }
.nav nav { display: flex; gap: 4px; margin-left: 12px; }
.nav nav a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--text); background: #f4f4f5; }
.nav-cta { margin-left: auto; display: flex; gap: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.glow {
  position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgb(139 92 246 / .22), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--violet); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; }
.accent {
  background: linear-gradient(90deg, var(--indigo), var(--violet), var(--fuchsia));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.fine { margin-top: 16px; color: var(--subtle); font-size: 14px; }

.hero-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: 24px; box-shadow: 0 30px 60px -30px rgb(24 24 27 / .25);
}
.kid { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px; background: #fce7f3; box-shadow: 0 0 0 2px #ec4899;
}
.kid-name { font-weight: 700; font-size: 18px; }
.kid-sub { color: var(--subtle); font-size: 13px; }
.stars { margin-left: auto; background: #fef3c7; color: #92400e; font-weight: 700; padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.bar { height: 8px; border-radius: 99px; background: #f4f4f5; margin: 16px 0; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ec4899, #8b5cf6); }
.bar.small { height: 6px; margin: 8px 0 4px; }
.tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tasks li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--line); font-weight: 500;
}
.tasks li em { margin-left: auto; font-style: normal; color: var(--green); font-weight: 700; font-size: 14px; }
.tasks li.done { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.tasks li.done::after { content: '✓'; font-weight: 800; margin-left: 8px; }
.goal { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--soft); font-size: 14px; }
.goal-sub { color: var(--subtle); font-size: 12px; }
.toast {
  position: absolute; left: -28px; bottom: -22px; background: #18181b; color: #fff; font-size: 13px;
  padding: 10px 14px; border-radius: 12px; box-shadow: 0 12px 30px -10px rgb(0 0 0 / .4);
}

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.num {
  display: inline-flex; width: 36px; height: 36px; border-radius: 12px; align-items: center; justify-content: center;
  background: var(--soft); color: var(--indigo); font-weight: 800; margin-bottom: 16px;
}
.steps h3, .grid h3 { font-size: 19px; margin-bottom: 8px; }
.steps p, .grid p { color: var(--muted); }
.grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid article { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.ico { display: inline-flex; font-size: 26px; margin-bottom: 12px; }

.safe { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 46px;
  position: relative; font-weight: 500;
}
.checks li::before {
  content: '✓'; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%;
  background: #d1fae5; color: var(--green); font-weight: 800; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}

details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
details:first-of-type { margin-top: 40px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--subtle); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); margin-top: 10px; }

.cta { padding: 88px 0; }
.cta-inner {
  text-align: center; color: #fff; border-radius: 32px; padding: 64px 24px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed 55%, #c026d3);
}
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.cta p { color: #e0e7ff; margin: 12px 0 28px; font-size: 18px; }

.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 28px 20px; color: var(--subtle); font-size: 14px; }
.foot .brand { font-size: 16px; color: var(--text); }
.foot-links a:hover { color: var(--text); }
.copy { margin-left: auto; }

@media (max-width: 960px) {
  .hero-inner, .safe { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .toast { left: 12px; }
}
@media (max-width: 640px) {
  .nav nav { display: none; }
  .nav-cta .ghost { display: none; }
  .hero { padding: 48px 0 72px; }
  .grid { grid-template-columns: 1fr; }
  .section, .cta { padding: 64px 0; }
  .copy { margin-left: 0; }
}
