:root {
  --ink: #17233f;
  --muted: #5f6d86;
  --blue: #335cff;
  --blue-dark: #2346d3;
  --sky: #eef3ff;
  --mint: #dff7ed;
  --line: #dce3f0;
  --white: #fff;
  --shadow: 0 24px 70px rgba(30, 53, 108, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfcff;
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--blue); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: auto; }
header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 252, 255, .9);
  border-bottom: 1px solid rgba(220, 227, 240, .8);
  backdrop-filter: blur(14px);
}
nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.mark { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--blue), #7c5cff); box-shadow: 0 8px 20px rgba(51, 92, 255, .25); }
.navlinks { display: flex; align-items: center; gap: 24px; }
.navlinks a { color: var(--muted); text-decoration: none; font-weight: 650; font-size: .92rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 19px; border-radius: 12px; text-decoration: none; font-weight: 750; background: var(--blue); color: white !important; box-shadow: 0 8px 24px rgba(51, 92, 255, .2); }
.button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.hero { padding: 100px 0 80px; overflow: hidden; background: radial-gradient(circle at 85% 15%, #e6ddff 0, transparent 28%), radial-gradient(circle at 4% 70%, #e1f8ef 0, transparent 25%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; padding: 7px 11px; border-radius: 999px; color: #2749bd; background: var(--sky); font-size: .82rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 20px 0; font-size: clamp(3rem, 7vw, 5.4rem); line-height: .99; letter-spacing: -.065em; }
.lead { max-width: 630px; color: var(--muted); font-size: 1.18rem; }
.grade-note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--ink); font-weight: 800; }
.grade-note span, .grade-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: white; background: linear-gradient(135deg, var(--blue), #7c5cff); font-weight: 900; box-shadow: 0 7px 16px rgba(51, 92, 255, .2); }
.grade-badge { width: 34px; height: 34px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.subtle { color: var(--muted); font-size: .9rem; }
.product {
  padding: 18px;
  border: 1px solid rgba(220, 227, 240, .9);
  border-radius: 26px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.product-top { display: flex; gap: 7px; padding: 3px 3px 15px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #d5ddec; }
.panel { min-height: 380px; padding: 24px; border-radius: 17px; background: #f5f7fc; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.panel h3 { margin: 0; font-size: 1.15rem; }
.week { display: grid; gap: 12px; }
.task { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: white; border: 1px solid #e8edf6; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-weight: 900; }
.task b, .task small { display: block; }
.task small { color: var(--muted); }
.tag { padding: 5px 9px; border-radius: 99px; color: #23715a; background: var(--mint); font-size: .72rem; font-weight: 800; }
section { padding: 88px 0; }
.section-head { max-width: 650px; margin-bottom: 38px; }
h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; }
.section-head p, .card p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.card-num { color: var(--blue); font-size: .8rem; font-weight: 850; letter-spacing: .08em; }
.card h3 { margin: 12px 0 6px; }
.data { background: var(--ink); color: white; }
.data .section-head p, .data .card p { color: #bfc9dd; }
.data .card { border-color: #34415e; background: #202d49; }
.notice { margin-top: 34px; padding: 18px 22px; color: #cdd6e8; border-left: 3px solid #7ea0ff; background: rgba(255,255,255,.04); }
.light-notice { color: var(--muted); border-left-color: var(--blue); background: var(--sky); }
.connections { background: #f7f9fe; }
.connection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.connection-card { padding: 24px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.9); }
.connection-card.featured { border-color: #aebeff; box-shadow: 0 16px 40px rgba(51, 92, 255, .09); }
.connection-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.connection-logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #34415e; background: #edf1f8; font-size: .84rem; font-weight: 900; }
.connection-logo.google { color: var(--blue); background: var(--sky); }
.status { padding: 5px 9px; border-radius: 999px; font-size: .68rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.status.preview { color: #17694f; background: var(--mint); }
.status.planned { color: #66728a; background: #edf1f8; }
.connection-card h3 { margin: 17px 0 5px; }
.connection-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.roadmap-note { margin: 24px 0 0; padding: 17px 20px; border: 1px solid #dbe2f1; border-radius: 14px; color: var(--muted); background: white; font-size: .88rem; }
.audiences { background: #f4f7ff; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience-card { padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 18px 50px rgba(30, 53, 108, .07); }
.student-card { border-top: 4px solid var(--blue); }
.parent-card { border-top: 4px solid #21a77a; }
.audience-label { color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.parent-card .audience-label { color: #16785b; }
.audience-card h3 { margin: 13px 0 20px; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.025em; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 9px 0 9px 29px; color: var(--muted); border-top: 1px solid #edf0f6; }
.check-list li::before { content: "✓"; position: absolute; left: 2px; color: #288164; font-weight: 900; }
.audience-footnote { margin: 20px 0 0; padding-top: 16px; color: var(--muted); border-top: 1px solid #edf0f6; font-size: .84rem; }
.parent-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.parent-dashboard > div { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e7ecf4; border-radius: 13px; background: #fbfcff; }
.mini-icon { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #255f4c; background: var(--mint); font-size: .74rem; font-weight: 900; }
.mini-icon.grade { color: #344fd1; background: var(--sky); }
.mini-icon.news { color: #77561d; background: #fff2cf; }
.mini-icon.date { color: #7a3f7e; background: #f7e8fa; }
.parent-dashboard p { margin: 0; line-height: 1.2; }
.parent-dashboard strong, .parent-dashboard small { display: block; }
.parent-dashboard strong { font-size: .82rem; }
.parent-dashboard small { margin-top: 3px; color: var(--muted); font-size: .68rem; }
.parent-story { color: var(--muted); font-size: .93rem; }
.check-list.compact li { padding-top: 7px; padding-bottom: 7px; font-size: .91rem; }
.support-note { margin: 28px 0 0; color: var(--muted); font-size: .88rem; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--ink); font-size: 1.08rem; font-weight: 800; text-decoration: none; }
.contact-link span { color: var(--blue); transition: transform .2s ease; }
.contact-link:hover span { transform: translateX(4px); }
.developer-page { min-height: 100vh; background: #fbfcff; }
.developer-main { min-height: calc(100vh - 160px); }
.developer-hero { padding: 100px 0 80px; background: radial-gradient(circle at 85% 10%, #e6ddff 0, transparent 30%), radial-gradient(circle at 8% 80%, #e1f8ef 0, transparent 24%); }
.developer-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.preview-status { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 9px 13px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; }
.preview-status span { width: 8px; height: 8px; border-radius: 50%; background: #e0a21a; box-shadow: 0 0 0 4px #fff3d1; }
.preview-status strong { color: var(--ink); }
.text-link { color: var(--ink); font-weight: 750; text-decoration: none; }
.developer-panel { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.panel-label { margin-bottom: 14px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.scope-row { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #edf0f6; }
.scope-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); background: var(--sky); border-radius: 12px; font-weight: 900; }
.scope-row strong, .scope-row small { display: block; }
.scope-row small, .developer-panel > p { color: var(--muted); }
.developer-panel > p { margin: 20px 0 0; font-size: .88rem; }
.developer-info { padding: 70px 0; }
.teacher-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.lead-small { color: var(--muted); font-size: 1.08rem; }
.teacher-callout { margin-top: 28px; padding: 22px; border: 1px solid #cfe8de; border-radius: 18px; background: #f0fbf7; }
.teacher-callout strong { font-size: 1.05rem; }
.teacher-callout p { margin: 6px 0 0; color: var(--muted); }
.teacher-points { display: grid; gap: 12px; }
.teacher-points article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.teacher-points article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: var(--sky); font-size: .76rem; font-weight: 900; }
.teacher-points h3 { margin: 0 0 3px; font-size: 1.05rem; }
.teacher-points p { margin: 0; color: var(--muted); font-size: .92rem; }
footer { padding: 34px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; }
.legal { padding: 70px 0 100px; }
.legal article { max-width: 800px; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
.legal h2 { margin-top: 38px; font-size: 1.5rem; letter-spacing: -.025em; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 800px) {
  .navlinks a:not(.button) { display: none; }
  .hero { padding-top: 70px; }
  .hero-grid, .cards, .audience-grid, .teacher-grid, .connection-grid, .developer-grid { grid-template-columns: 1fr; }
  .product { transform: none; }
  .task { grid-template-columns: 44px 1fr; }
  .tag { display: none; }
}

@media (max-width: 420px) {
  .parent-dashboard { grid-template-columns: 1fr; }
}
