:root {
  --bg: #F8FAFD;
  --fg: #1A1A2E;
  --accent: #5B9BD5;
  --accent-hover: #3E7DB8;
  --accent-light: #E8F3FB;
  --accent-mid: #B8D4ED;
  --fg-muted: #64748B;
  --border: #C7D9E8;
  --radius: 12px;
  --hero-bg: linear-gradient(140deg, #EDF5FF 0%, #F0F8FF 45%, #FAFCFF 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
  background: var(--hero-bg);
  padding: 80px 32px 60px;
  border-bottom: 1.5px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}

.lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.proof-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 100px;
}

.proof-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

/* CTA BUTTON */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 100px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(91,155,213,0.35);
}

.cta-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(91,155,213,0.45);
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: translateY(0);
}

/* HERO PHONE */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  background: #fff;
  border: 1.5px solid var(--accent-mid);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(91,155,213,0.15), 0 8px 16px rgba(91,155,213,0.08);
}

.phone-topbar {
  background: var(--fg);
  padding: 12px 16px;
  display: flex;
  justify-content: center;
}

.phone-name {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.phone-chat {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-parent, .chat-ai, .chat-kid {
  display: flex;
}

.chat-parent { justify-content: flex-end; }
.chat-ai { justify-content: flex-start; }
.chat-kid { justify-content: flex-start; }

.bubble {
  max-width: 200px;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.5;
}

.bubble-right {
  background: var(--fg);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bubble-left {
  background: var(--accent-light);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}

.bubble.kid {
  background: #EEF5E6;
  color: #2D6A1E;
}

/* HOW IT WORKS */
.howitworks {
  background: var(--fg);
  color: #fff;
  padding: 80px 32px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
  text-align: center;
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--accent-mid);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: #B8C8D8;
  line-height: 1.6;
}

/* FEATURES */
.features {
  padding: 80px 32px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--accent-light);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1.5px solid var(--accent-mid);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}

.feature-card {
  padding: 36px 32px;
  background: #fff;
  border-right: 1.5px solid var(--accent-mid);
  border-bottom: 1.5px solid var(--accent-mid);
}

.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-last-child(-n+3) { border-bottom: none; }

.feature-icon {
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* TRANSFORMATION */
.transformation {
  background: #EEF5FC;
  padding: 80px 32px;
}

.transformation-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
  text-align: center;
}

.transformation-compare {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.compare-before, .compare-after {
  border-radius: var(--radius);
  padding: 32px;
}

.compare-before {
  background: #fff;
  border: 1.5px solid var(--border);
}

.compare-after {
  background: #1A2E4A;
  color: #fff;
}

.compare-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.before-label { color: var(--fg-muted); }
.after-label { color: rgba(255,255,255,0.7); }

.compare-text p {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.compare-text em {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
}

.user-text {
  background: rgba(255,255,255,0.2);
  padding: 12px 16px;
  border-radius: 10px;
  margin: 12px 0 !important;
}

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CLOSING */
.closing {
  padding: 100px 32px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.closing p {
  font-size: 17px;
  color: var(--fg-muted);
}

/* FOOTER */
footer {
  border-top: 1.5px solid var(--border);
  padding: 28px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-right: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-sep { color: var(--border); }

/* MOBILE */
@media (max-width: 768px) {
  .hero { padding: 48px 20px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .phone-frame { width: 220px; }
  .lede { max-width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .howitworks { padding: 60px 20px; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none !important; }
  .feature-card:nth-last-child(-n+2) { border-bottom: 1.5px solid var(--border); }
  .feature-card:last-child { border-bottom: none; }
  .transformation { padding: 60px 20px; }
  .transformation-compare { grid-template-columns: 1fr; gap: 16px; }
  .compare-arrow { transform: rotate(90deg); }
  .closing { padding: 60px 20px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 30px; }
  .proof-item { font-size: 12px; padding: 5px 10px; }
  .phone-frame { width: 180px; }
  .bubble { font-size: 11px; padding: 8px 10px; }
}