:root {
  --brand: #5844bf;
  --brand-mid: #7768d8;
  --bright: #9a8beb;
  --blue: #3c82d8;
  --teal: #5ab9b0;
  --green: #84bf75;
  --warm: #d8ad6b;
  --lavender: #f2f0fc;
  --lavender-deep: #e6e1f7;
  --navy: #24213c;
  --ink: #2a2942;
  --muted: #69667f;
  --soft: #f2f0fc;
  --surface: #fffefe;
  --surface-alt: #ece8f7;
  --border: #dcd6ec;
  --shadow: 0 24px 70px rgba(72, 61, 135, 0.12);
  --shadow-strong: 0 34px 90px rgba(72, 61, 135, 0.2);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--soft);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 16% 0%, rgba(154, 139, 235, 0.22), transparent 34%),
    radial-gradient(ellipse at 92% 12%, rgba(90, 185, 176, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 254, 254, 0.82), rgba(242, 240, 252, 0.96)),
    var(--soft);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 214, 236, 0.82);
  background: rgba(242, 240, 252, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(72, 61, 135, 0.055);
}

.nav-wrap,
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-width: 0;
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(88, 68, 191, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.brand:hover .brand-icon,
.brand:focus-visible .brand-icon {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 18px 34px rgba(88, 68, 191, 0.22);
}

.wordmark {
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: 0;
}

.wordmark strong {
  color: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 999px;
  color: #55516c;
  font-size: 0.95rem;
  font-weight: 650;
  padding: 10px 13px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #fff;
  color: var(--brand);
  outline: none;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(790px, calc(100vh - 76px));
  align-items: center;
  overflow: hidden;
  padding: 94px max(20px, calc((100vw - 1120px) / 2)) 112px;
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-scene::before {
  position: absolute;
  inset: 12% 0 auto auto;
  width: min(70vw, 840px);
  height: min(70vw, 840px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 30%, rgba(154, 139, 235, 0.22), transparent 33%),
    radial-gradient(circle at 70% 35%, rgba(60, 130, 216, 0.16), transparent 34%),
    radial-gradient(circle at 68% 73%, rgba(132, 191, 117, 0.14), transparent 36%);
  content: "";
  filter: blur(6px);
  animation: meshShift 14s ease-in-out infinite alternate;
}

.hero-scene::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(242, 240, 252, 0.99) 0%,
    rgba(242, 240, 252, 0.96) 38%,
    rgba(242, 240, 252, 0.56) 58%,
    rgba(242, 240, 252, 0) 76%
  );
  content: "";
  pointer-events: none;
}

.signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72, 61, 135, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 61, 135, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000 76%, transparent);
  animation: gridDrift 20s linear infinite;
}

.signal-stream {
  position: absolute;
  inset: 12% -8% auto auto;
  width: min(66vw, 880px);
  height: 420px;
  background:
    linear-gradient(105deg, transparent 0 25%, rgba(88, 68, 191, 0.18) 25.4% 26.2%, transparent 26.6% 42%),
    linear-gradient(105deg, transparent 0 42%, rgba(60, 130, 216, 0.14) 42.4% 43.2%, transparent 43.6% 62%),
    linear-gradient(105deg, transparent 0 62%, rgba(132, 191, 117, 0.16) 62.4% 63.2%, transparent 63.6% 100%);
  filter: blur(0.2px);
  opacity: 0.78;
  transform: rotate(-5deg);
  animation: streamSweep 8s ease-in-out infinite alternate;
}

.screen-cluster {
  position: absolute;
  right: max(18px, calc((100vw - 1120px) / 2 - 54px));
  top: 132px;
  width: min(46vw, 530px);
  min-width: 390px;
  height: 510px;
  animation: floatCluster 7s ease-in-out infinite;
  perspective: 1200px;
}

.interface-panel {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(220, 214, 236, 0.92);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 254, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.interface-panel::after,
.preview-shot::after,
.insight-card::after,
.soon-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.38) 48%, transparent 62% 100%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.interface-panel:hover::after,
.preview-shot:hover::after,
.insight-card:hover::after,
.soon-panel:hover::after {
  transform: translateX(120%);
}

.panel-main {
  inset: 42px 34px 34px 0;
  padding: 22px;
  transform: rotate(-1.6deg);
}

.panel-side {
  right: 0;
  bottom: 0;
  display: grid;
  width: 220px;
  gap: 10px;
  padding: 16px;
  transform: rotate(2.4deg);
}

.panel-head {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.panel-head span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border);
}

.pulse-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pulse-row b {
  font-size: 1.2rem;
}

.pulse-row small,
.insight-card small {
  color: var(--muted);
  font-weight: 650;
}

.signal-card {
  border-radius: var(--radius-md);
  padding: 18px;
}

.signal-primary {
  background:
    linear-gradient(135deg, rgba(88, 68, 191, 0.12), rgba(60, 130, 216, 0.1)),
    #fff;
}

.signal-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.35;
}

.metric-stack {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.metric-stack span {
  height: 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  overflow: hidden;
}

.metric-stack span::before {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  content: "";
  transform-origin: left;
  animation: fillLine 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mini-persona {
  border: 1px solid rgba(220, 214, 236, 0.88);
  border-radius: 14px;
  background: rgba(255, 254, 254, 0.94);
  color: var(--navy);
  font-weight: 760;
  padding: 14px;
}

.mini-persona::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--brand);
  content: "";
}

.mini-persona.student::before {
  background: var(--blue);
}

.mini-persona.parent::before {
  background: var(--teal);
}

.hero-icon {
  position: absolute;
  right: max(22px, calc((100vw - 1120px) / 2 + 370px));
  top: 64px;
  width: clamp(116px, 13vw, 172px);
  filter: drop-shadow(0 22px 40px rgba(88, 68, 191, 0.16));
  animation: floatIcon 6.2s ease-in-out infinite;
}

.hero-content {
  width: min(650px, 100%);
  min-width: 0;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 14px;
  color: transparent;
  background: linear-gradient(105deg, var(--navy) 0 40%, var(--brand) 55%, var(--blue) 74%, var(--navy) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(4.1rem, 10vw, 7.65rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-top: 28px;
  color: #53506d;
  font-size: clamp(1.14rem, 2vw, 1.44rem);
  line-height: 1.55;
}

.hero-actions,
.soon-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  padding: 0 20px;
  text-decoration: none;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, 0.45) 48%, transparent 60% 100%);
  content: "";
  transform: translateX(-110%);
  transition: transform 520ms ease;
}

.button.primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-mid));
  color: #fff;
  box-shadow: 0 14px 34px rgba(88, 68, 191, 0.24);
}

.button.secondary {
  border-color: var(--border);
  background: rgba(255, 254, 254, 0.76);
  color: var(--navy);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(110%);
}

.store-note {
  margin-top: 18px;
  color: #716d87;
  font-size: 0.96rem;
}

.section {
  padding: 94px 0;
}

.video-section {
  padding-top: 24px;
}

.video-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.video-frame {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 980px;
  border: 1px solid rgba(220, 214, 236, 0.94);
  border-radius: 28px;
  background: var(--lavender-deep);
  box-shadow: var(--shadow-strong);
}

.intro-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--lavender-deep);
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(36, 33, 60, 0) 40%, rgba(36, 33, 60, 0.28));
  cursor: pointer;
}

.video-play[hidden] {
  display: none;
}

.video-play span {
  position: relative;
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  box-shadow: 0 18px 44px rgba(88, 68, 191, 0.42), 0 0 0 10px rgba(255, 254, 254, 0.42);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.video-play span::after {
  position: absolute;
  top: 50%;
  left: 54%;
  border-block: 15px solid transparent;
  border-left: 24px solid #fff;
  content: "";
  transform: translate(-50%, -50%);
}

.video-play:hover span,
.video-play:focus-visible span {
  box-shadow: 0 22px 52px rgba(88, 68, 191, 0.5), 0 0 0 14px rgba(255, 254, 254, 0.55);
  transform: scale(1.06);
}

.video-play:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}

.video-chapters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.video-chapters li {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 254, 254, 0.86);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 15px;
}

.intro-band {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.intro-grid p {
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.58rem);
  line-height: 1.5;
}

.friendly-section {
  background: linear-gradient(180deg, var(--surface), var(--soft));
}

.friendly-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

.friendly-points {
  display: grid;
  gap: 14px;
}

.friendly-points article {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 254, 0.9);
  padding: 22px;
  box-shadow: 0 18px 48px rgba(72, 61, 135, 0.07);
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.friendly-points article::after {
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--blue), var(--green));
  content: "";
}

.friendly-points span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--brand), var(--brand-mid));
  color: #fff;
  font-weight: 860;
  grid-row: span 2;
}

.friendly-points h3 {
  color: var(--navy);
  font-size: 1.16rem;
}

.friendly-points p {
  margin-top: 2px;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 610px;
}

.section-heading h2,
.school-layout h2,
.trust-layout h2,
.soon-panel h2 {
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(2.15rem, 4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.08rem;
}

.steps,
.persona-grid,
.school-points {
  display: grid;
  gap: 18px;
}

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

.step,
.persona-card,
.school-points article,
.insight-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 254, 0.9);
  box-shadow: 0 18px 54px rgba(72, 61, 135, 0.07);
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.friendly-points article:hover,
.step:hover,
.persona-card:hover,
.preview-shot:hover,
.insight-card:hover {
  border-color: rgba(154, 139, 235, 0.58);
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.step {
  padding: 26px;
}

.step-index {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 860;
}

.step h3,
.persona-card h3,
.school-points h3,
.insight-card h3 {
  margin-top: 18px;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.25;
}

.step p,
.persona-card p,
.school-points p {
  margin-top: 12px;
}

.value-section {
  background:
    linear-gradient(180deg, rgba(255, 254, 254, 0.42), rgba(255, 254, 254, 0)),
    var(--soft);
}

.product-section {
  background:
    radial-gradient(ellipse at 18% 8%, rgba(154, 139, 235, 0.2), transparent 30%),
    radial-gradient(ellipse at 88% 18%, rgba(90, 185, 176, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(154, 139, 235, 0.12), rgba(255, 254, 254, 0.78)),
    var(--surface);
}

.product-heading {
  max-width: 760px;
}

.preview-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.preview-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 214, 236, 0.94);
  border-radius: 28px;
  background: rgba(255, 254, 254, 0.94);
  box-shadow: 0 22px 58px rgba(72, 61, 135, 0.1);
  padding: 24px;
  transform: translateZ(0);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.preview-shot::before {
  position: absolute;
  inset: auto -18% -28% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 191, 117, 0.18), transparent 67%);
  content: "";
  pointer-events: none;
}

.teacher-shot {
  min-height: 430px;
}

.phone-shot {
  display: grid;
  justify-items: center;
  padding: 18px;
}

.parent-shot,
.school-shot {
  min-height: 300px;
}

.shot-topbar,
.shot-summary,
.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shot-topbar {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.shot-topbar b {
  color: var(--brand);
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(90, 185, 176, 0.28);
  border-radius: 999px;
  background: rgba(90, 185, 176, 0.1);
  color: #36756f;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  padding: 6px 9px;
}

.live-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(90, 185, 176, 0.48);
  animation: liveDot 1.8s ease-out infinite;
}

.shot-summary {
  margin-top: 30px;
}

.shot-summary small,
.school-dashboard small {
  display: block;
  color: var(--muted);
  font-weight: 760;
}

.shot-summary strong,
.school-dashboard strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.12;
}

.status-pill {
  border-radius: 999px;
  font-weight: 800;
  padding: 8px 11px;
}

.status-pill.watch {
  background: rgba(216, 173, 107, 0.18);
  color: #72501e;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 22px;
}

.chart-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 254, 254, 0.98), rgba(236, 232, 247, 0.82)),
    var(--surface);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.chart-card::after,
.phone-frame::after,
.parent-shot::after,
.insight-card::before {
  position: absolute;
  right: -24%;
  left: -24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 130, 216, 0.42), rgba(132, 191, 117, 0.38), transparent);
  content: "";
  pointer-events: none;
  top: 54%;
  animation: chartScan 3.6s ease-in-out infinite;
}

.chart-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 780;
}

.bar-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
  height: 142px;
  margin-top: 18px;
}

.bar-chart span,
.home-chart span {
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--blue), var(--brand-mid));
}

.bar-chart span {
  height: var(--bar);
  transform-origin: bottom;
  animation: chartBarPulse 3.4s ease-in-out infinite;
}

.bar-chart span:nth-child(2) {
  animation-delay: 180ms;
}

.bar-chart span:nth-child(3) {
  animation-delay: 360ms;
}

.bar-chart span:nth-child(4) {
  animation-delay: 540ms;
}

.bar-chart span:nth-child(5) {
  animation-delay: 720ms;
}

.bar-chart span:nth-child(4),
.bar-chart span:nth-child(5) {
  background: linear-gradient(180deg, var(--teal), var(--green));
}

.donut-chart,
.growth-ring {
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--surface) 0 47%, transparent 48%),
    conic-gradient(var(--green) 0 36%, var(--blue) 36% 72%, var(--warm) 72% 88%, var(--brand) 88% 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 20px 44px rgba(88, 68, 191, 0.14);
  animation: ringBreath 4.8s ease-in-out infinite;
}

.donut-chart::after,
.growth-ring::after {
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96) 0 5px, transparent 6px),
    conic-gradient(from 0deg, transparent 0 74%, rgba(255, 255, 255, 0.42) 82%, transparent 90% 100%);
  content: "";
  mix-blend-mode: screen;
  pointer-events: none;
  animation: ringOrbit 5.2s linear infinite;
}

.donut-chart {
  width: 116px;
  height: 116px;
  margin: 18px auto 14px;
}

.legend {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.legend .ok {
  background: var(--green);
}

.legend .watch-dot {
  background: var(--warm);
}

.legend .support-dot {
  background: var(--brand);
}

.student-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.student-list span {
  color: var(--muted);
  font-weight: 760;
}

.student-list b,
.parent-note,
.next-step {
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 780;
  padding: 9px 12px;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  display: grid;
  width: min(100%, 284px);
  min-height: 430px;
  border: 8px solid #d8d1ec;
  border-radius: 34px;
  background: var(--surface);
  box-shadow: 0 26px 56px rgba(72, 61, 135, 0.17);
  padding: 20px;
}

.phone-status {
  justify-self: center;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-alt);
}

.phone-frame h3 {
  margin-top: 22px;
  color: var(--navy);
  font-size: 1.34rem;
}

.phone-frame p {
  margin-top: 7px;
  font-size: 0.95rem;
}

.growth-ring {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  justify-self: center;
  margin-top: 26px;
}

.growth-ring span {
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 850;
}

.progress-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.progress-lines span {
  height: 12px;
  border-radius: 999px;
  background: var(--surface-alt);
}

.progress-lines span::before {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  content: "";
  transform-origin: left;
  animation: linePulse 3s ease-in-out infinite;
}

.next-step {
  align-self: end;
  margin-top: 24px;
  text-align: center;
}

.parent-shot h3 {
  margin-top: 28px;
  color: var(--navy);
  font-size: 1.5rem;
}

.parent-shot p {
  margin-top: 12px;
}

.home-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  height: 110px;
  gap: 12px;
  margin-top: 24px;
}

.home-chart span {
  height: var(--level);
  transform-origin: bottom;
  animation: chartBarPulse 3.2s ease-in-out infinite;
}

.home-chart span:nth-child(2) {
  animation-delay: 90ms;
}

.home-chart span:nth-child(3) {
  animation-delay: 180ms;
}

.home-chart span:nth-child(4) {
  animation-delay: 270ms;
}

.home-chart span:nth-child(4) {
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.parent-note {
  display: inline-flex;
  margin-top: 20px;
}

.school-dashboard {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.heatmap span {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(60, 130, 216, 0.14);
  animation: heatPulse 3.8s ease-in-out infinite;
}

.heatmap span:nth-child(3n) {
  background: rgba(88, 68, 191, 0.22);
  animation-delay: 220ms;
}

.heatmap span:nth-child(4n) {
  background: rgba(132, 191, 117, 0.28);
  animation-delay: 420ms;
}

.heatmap span:nth-child(7n) {
  background: rgba(216, 173, 107, 0.34);
  animation-delay: 620ms;
}

.dashboard-footer {
  margin-top: 24px;
  color: var(--muted);
  font-weight: 760;
}

.dashboard-footer strong {
  color: var(--brand);
}

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

.persona-card {
  min-height: 320px;
  padding: 28px;
}

.teacher-card {
  border-top: 5px solid var(--brand);
}

.student-card {
  border-top: 5px solid var(--blue);
}

.parent-card {
  border-top: 5px solid var(--teal);
}

.persona-chip {
  display: inline-flex;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 820;
  padding: 8px 11px;
}

.insights-section {
  background: var(--surface);
}

.insights-layout,
.school-layout,
.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
}

.insight-visual {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(88, 68, 191, 0.1), rgba(132, 191, 117, 0.1)),
    var(--surface-alt);
  padding: 42px;
}

.insight-visual::before {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 26px;
  content: "";
  pointer-events: none;
}

.insight-card {
  max-width: 460px;
  margin: 26px auto 0;
  padding: 28px;
  box-shadow: var(--shadow);
}

.insight-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-weight: 780;
}

.insight-topline b {
  border-radius: 999px;
  background: rgba(216, 173, 107, 0.18);
  color: #72501e;
  padding: 7px 10px;
}

.insight-card p {
  margin-top: 14px;
}

.trend {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  height: 116px;
  gap: 12px;
  margin: 28px 0 18px;
}

.trend span {
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--blue), var(--brand-mid));
  transform-origin: bottom;
  animation: chartBarPulse 3.6s ease-in-out infinite;
}

.trend span:nth-child(1) {
  height: 40%;
}

.trend span:nth-child(2) {
  height: 66%;
  animation-delay: 90ms;
}

.trend span:nth-child(3) {
  height: 52%;
  animation-delay: 180ms;
}

.trend span:nth-child(4) {
  height: 78%;
  background: linear-gradient(180deg, var(--blue), var(--green));
  animation-delay: 270ms;
}

.school-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(154, 139, 235, 0.2), transparent 34%),
    radial-gradient(ellipse at 88% 16%, rgba(90, 185, 176, 0.14), transparent 34%),
    linear-gradient(180deg, #24213c, #2d294a);
}

.school-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent);
  pointer-events: none;
}

.school-layout {
  grid-template-columns: minmax(270px, 0.74fr) 1fr;
}

.school-layout h2,
.school-layout p,
.school-points h3 {
  color: #fff;
}

.school-layout .eyebrow {
  color: #b7d89c;
}

.school-points {
  grid-template-columns: 1fr;
}

.school-points article {
  border-color: rgba(230, 225, 247, 0.16);
  background: rgba(242, 240, 252, 0.08);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.12);
  padding: 24px;
}

.school-points article:hover {
  border-color: rgba(154, 139, 235, 0.42);
  background: rgba(242, 240, 252, 0.12);
  transform: translateY(-3px);
}

.school-points p {
  color: #d9d5e9;
}

.trust-layout img {
  width: min(340px, 70vw);
  justify-self: center;
  filter: drop-shadow(0 28px 54px rgba(88, 68, 191, 0.16));
  animation: floatIcon 6.6s ease-in-out infinite;
}

.trust-layout > div {
  max-width: 640px;
}

.trust-layout p {
  margin-top: 18px;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 28px;
  color: #53506d;
  line-height: 1.55;
}

.trust-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.soon-section {
  padding-top: 40px;
}

.soon-panel {
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(88, 68, 191, 0.09), rgba(132, 191, 117, 0.08)),
    var(--surface);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.soon-panel > div {
  max-width: 690px;
}

.soon-panel p:not(.eyebrow) {
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 34px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand .brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.site-footer p {
  color: #69667f;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes meshShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-4%, 3%, 0) scale(1.06);
  }
}

@keyframes gridDrift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 108px 54px;
  }
}

@keyframes streamSweep {
  0% {
    opacity: 0.46;
    transform: translateX(0) rotate(-5deg);
  }

  100% {
    opacity: 0.82;
    transform: translateX(-42px) rotate(-5deg);
  }
}

@keyframes floatCluster {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -10px, 0) rotate(1.5deg);
  }
}

@keyframes barRise {
  0% {
    transform: scaleY(0.08);
    opacity: 0.62;
  }

  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes chartBarPulse {
  0%,
  100% {
    transform: scaleY(0.52);
  }

  45% {
    transform: scaleY(1);
  }

  72% {
    transform: scaleY(0.78);
  }
}

@keyframes fillLine {
  0% {
    transform: scaleX(0.08);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes linePulse {
  0%,
  100% {
    transform: scaleX(0.5);
  }

  48% {
    transform: scaleX(1);
  }

  74% {
    transform: scaleX(0.78);
  }
}

@keyframes chartScan {
  0%,
  100% {
    opacity: 0;
    transform: translateY(-70px);
  }

  42%,
  58% {
    opacity: 1;
  }

  100% {
    transform: translateY(86px);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes ringBreath {
  0%,
  100% {
    filter: saturate(1);
    transform: scale(1);
  }

  50% {
    filter: saturate(1.18);
    transform: scale(1.035);
  }
}

@keyframes ringOrbit {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes heatPulse {
  0%,
  100% {
    transform: scale(1);
    filter: saturate(1);
  }

  50% {
    transform: scale(1.05);
    filter: saturate(1.2);
  }
}

@keyframes liveDot {
  0% {
    box-shadow: 0 0 0 0 rgba(90, 185, 176, 0.48);
  }

  75%,
  100% {
    box-shadow: 0 0 0 8px rgba(90, 185, 176, 0);
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 430px;
  }

  .screen-cluster {
    top: auto;
    right: 20px;
    bottom: 44px;
    left: 20px;
    width: auto;
    min-width: 0;
    height: 340px;
  }

  .panel-main {
    inset: 0 78px 30px 0;
  }

  .panel-side {
    width: 188px;
  }

  .hero-icon {
    right: 28px;
    top: auto;
    bottom: 300px;
    width: 112px;
  }

  .intro-grid,
  .friendly-layout,
  .steps,
  .persona-grid,
  .preview-gallery,
  .insights-layout,
  .school-layout,
  .trust-layout {
    grid-template-columns: 1fr;
  }

  .preview-gallery {
    gap: 18px;
  }

  .teacher-shot,
  .parent-shot,
  .school-shot {
    min-height: 0;
  }

  .persona-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero {
    display: block;
    width: 100vw;
    max-width: 100vw;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-content,
  .steps,
  .persona-grid,
  .friendly-layout,
  .friendly-points,
  .preview-gallery,
  .analytics-grid,
  .insights-layout,
  .school-layout,
  .trust-layout,
  .school-points,
  .soon-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nav-wrap {
    min-height: 66px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14.8vw, 4.05rem);
  }

  .hero-copy {
    margin-top: 22px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .screen-cluster {
    display: none;
  }

  .hero-icon {
    display: none;
  }

  .signal-card strong {
    font-size: 1rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading h2,
  .school-layout h2,
  .trust-layout h2,
  .soon-panel h2 {
    font-size: clamp(1.78rem, 8vw, 2.02rem);
  }

  .intro-grid {
    gap: 20px;
  }

  .video-section {
    padding-top: 12px;
  }

  .video-frame {
    border-radius: var(--radius-md);
  }

  .video-play span {
    width: 68px;
    height: 68px;
  }

  .video-play span::after {
    border-block-width: 12px;
    border-left-width: 19px;
  }

  .friendly-points article {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .friendly-points span {
    grid-row: auto;
  }

  .step,
  .persona-card,
  .preview-shot,
  .school-points article,
  .insight-card {
    border-radius: var(--radius-md);
    padding: 22px;
  }

  .step h3,
  .persona-card h3,
  .preview-shot h3,
  .school-points h3,
  .insight-card h3 {
    font-size: 1.12rem;
  }

  .shot-summary,
  .shot-topbar,
  .dashboard-footer,
  .school-dashboard {
    align-items: flex-start;
    flex-direction: column;
  }

  .analytics-grid,
  .school-dashboard {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    min-height: 390px;
    border-width: 7px;
  }

  .bar-chart {
    height: 118px;
  }

  .insight-visual {
    min-height: auto;
    border-radius: var(--radius-lg);
    padding: 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------------------------------------------------------------------------
   Legal pages (privacy policy, and anything else long-form)

   Deliberately plainer than the marketing sections: a legal page is read, not
   scanned, so it gets one narrow measure, generous line height, and no reveal
   animation. The animation is skipped on purpose -- it hides content until
   scrolled into view, which is wrong for a document someone may need to search,
   print, or read with assistive technology.
   --------------------------------------------------------------------------- */
.legal-page {
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 9vw, 112px);
  background: var(--soft);
}

.legal-page .container {
  max-width: 760px;
}

.legal-header {
  margin-bottom: 40px;
}

.legal-header h1 {
  font-size: clamp(2rem, 5.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 10px 0 18px;
  color: var(--navy);
}

.legal-lede {
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 18px;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.legal-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 44px;
  box-shadow: var(--shadow);
}

.legal-toc h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.15rem;
  columns: 2;
  column-gap: 32px;
}

.legal-toc li {
  margin-bottom: 7px;
  break-inside: avoid;
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-toc a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--brand);
  border-bottom-color: currentColor;
}

.legal-body {
  margin-bottom: 40px;
  /* Anchor links from the contents list must not tuck the heading under the
     sticky header. */
  scroll-margin-top: 90px;
}

.legal-body h2 {
  font-size: 1.32rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.legal-body h3 {
  font-size: 1.02rem;
  color: var(--navy);
  margin: 26px 0 10px;
}

.legal-body p,
.legal-body li {
  line-height: 1.72;
  color: var(--ink);
}

.legal-body p {
  margin: 0 0 15px;
}

.legal-body ul {
  margin: 0 0 18px;
  padding-left: 1.2rem;
}

.legal-body li {
  margin-bottom: 9px;
}

.legal-body a {
  color: var(--brand);
}

.legal-body strong {
  color: var(--navy);
}

.legal-body code {
  background: var(--surface-alt);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.92em;
}

/* An unfinished clause, styled to be impossible to publish by accident. */
.legal-note {
  background: #fdf6e7;
  border: 1px solid #e6cf9a;
  border-left: 4px solid var(--warm);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.93rem;
  color: #6b4f16;
  margin: 18px 0 15px;
}

.todo {
  display: inline-block;
  background: var(--warm);
  color: #3b2a06;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  border-radius: 4px;
  padding: 2px 7px;
  margin-right: 7px;
  vertical-align: 1px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand);
  border-bottom-color: currentColor;
}

@media (max-width: 620px) {
  .legal-toc ol {
    columns: 1;
  }

  .legal-toc {
    padding: 20px 22px;
  }
}

/* The tab for the page you are already on. Uses a filled pill rather than
   colour alone, so the current position is clear without relying on hue. */
.nav-links a[aria-current="page"] {
  background: var(--surface);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--border);
}
