:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #21192b;
  --muted: #5d5564;
  --purple: #6940bc;
  --purple-dark: #542da0;
  --lilac: #e9ddfc;
  --line: #e5dfeb;
  --white: #fff;
  --radius: 24px;
  font-family: 'Avenir Next', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4, h5 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 5px; }
section[id] { scroll-margin-top: 24px; }
::selection { background: var(--lilac); color: var(--ink); }

.wrap { width: min(100% - 112px, 1240px); margin-inline: auto; }
.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 10;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid #e9e4e8; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.057em;
  line-height: 1;
}
.brand-dot { color: var(--purple); }
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--purple);
}
.brand-mark i {
  width: 4px;
  height: 15px;
  border-radius: 4px;
  background: #fff9eb;
}
.brand-mark i:nth-child(2) { height: 19px; }
.brand-mark i:nth-child(3) { height: 13px; transform: rotate(-24deg) translateY(1px); }
.site-nav { display: flex; align-items: center; gap: 35px; }
.site-nav > a:not(.button) { padding-block: 9px; font-size: 14px; font-weight: 600; color: #494151; }
.site-nav > a:not(.button):hover { color: var(--purple); }
.header-cta { justify-self: end; }
.menu-toggle, .site-nav .mobile-nav-cta { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color 150ms ease, transform 150ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: none; }
.button span[aria-hidden] { font-family: system-ui, sans-serif; font-size: 1.18em; }
.button-primary { color: var(--white); background: var(--purple); }
.button-primary:hover { background: var(--purple-dark); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #392c48; }
.button-small { min-height: 42px; padding-inline: 15px; border-radius: 9px; font-size: 13px; gap: 9px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.text-link:hover { color: var(--purple); }
.text-link span { font-family: system-ui, sans-serif; color: var(--purple); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(24px, 4vw, 65px);
  align-items: center;
  padding-block: clamp(42px, 5vw, 76px) clamp(55px, 5.7vw, 90px);
}
.hero-copy { container-type: inline-size; padding-block: 8px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #51415e;
}
.tiny-spark {
  display: inline-block;
  flex: 0 0 15px;
  height: 15px;
  background: #e16c32;
  clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%);
}
h1, h2 { font-weight: 700; letter-spacing: -.055em; }
h1 {
  margin-top: 20px;
  font-size: clamp(35px, 12.9cqi, 76px);
  line-height: .99;
}
h1 em { display: block; color: var(--purple); font-style: normal; }
.hero-description {
  max-width: 430px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.6;
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 23px; margin-top: 31px; }
.hero-art {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 31px;
  background: var(--lilac);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.workflow { padding-block: 75px 84px; background: #f0ebf7; }
.section-heading { margin-bottom: 31px; }
h2 { font-size: clamp(39px, 4.3vw, 66px); line-height: 1.01; }
.demo-copy > p:not(.eyebrow) {
  max-width: 340px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.workflow-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 15px;
  padding: 26px 24px;
  border: 1px solid #e5ddec;
  border-radius: 18px;
  background: #fefcfe;
}
.feature-art {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
.feature-plan { color: #683daf; background: #e9ddfa; }
.feature-teach { color: #a74817; background: #ffead3; }
.feature-recap { color: #33634e; background: #dff2e6; }
.feature-icon {
  position: relative;
  display: grid;
  place-content: center;
  gap: 3px;
  width: 21px;
  height: 19px;
  border: 1.7px solid currentColor;
  border-radius: 4px;
}
.icon-plan { width: 17px; height: 22px; }
.icon-plan i { width: 8px; height: 1.5px; border-radius: 2px; background: currentColor; }
.icon-plan i:last-child { width: 5px; }
.icon-teach i { width: 7px; height: 8px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.icon-recap { grid-auto-flow: column; }
.icon-recap i { width: 2.5px; height: 2.5px; border-radius: 50%; background: currentColor; }
.icon-recap::after {
  position: absolute;
  bottom: -4px;
  left: 3px;
  width: 5px;
  height: 5px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  background: #dff2e6;
  transform: rotate(45deg);
  content: '';
}
.feature-copy { display: flex; flex-direction: column; align-items: start; }
.feature-copy h3 { font-size: 23px; line-height: 1.2; font-weight: 700; letter-spacing: -.04em; }
.feature-copy p { flex: 1; margin-top: 7px; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.55; }
.feature-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.feature-links .text-link { min-height: 28px; gap: 5px; }

.planning { padding-block: 82px 0; }
.planning-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px 24px;
}
.planning-heading .text-link { min-height: 38px; }
.planning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.planning-reports { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin-top: 18px; }
.planning-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: clamp(24px, 2.7vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.planning-card-unit { background: #f7eee1; border-color: #ebdfcf; }
.planning-card-live { background: #eee7f9; border-color: #e3d8f2; }
.planning-card-offline { background: #ecf2f7; border-color: #dfe8ee; }
.planning-card-school { background: #f6ebed; border-color: #eeddde; }
.planning-card-maths { background: #e8f2eb; border-color: #d9e8dc; }
.planning-card-report { background: #fffdf9; }
.planning-card-maths .eyebrow { margin-bottom: 10px; color: #345e4a; }
.planning-card h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -.045em; }
.planning-card > p:not(.eyebrow) { flex: 1; max-width: 52ch; margin-top: 11px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.planning-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.planning-links .text-link {
  min-height: 40px;
  padding: 4px 12px;
  border: 1px solid #21192b26;
  border-radius: 8px;
  background: #ffffff80;
}
.planning-links .text-link:hover { background: var(--white); }

.demo {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(24px, 6vw, 96px);
  align-items: center;
  padding-block: 86px;
}
.demo-copy h2 { margin-block: 14px 20px; }
.demo-window {
  min-width: 0;
  border: 1px solid #dfd8e7;
  border-radius: var(--radius);
  overflow: clip;
  background: #fff;
  box-shadow: 0 18px 48px -34px #53357180;
}
.window-bar {
  position: relative;
  padding: 13px 65px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  background: #f3ecfd;
  color: #5a4a68;
  font-size: 12px;
  font-weight: 700;
}
.window-dots { position: absolute; top: 50%; left: 18px; display: flex; gap: 5px; transform: translateY(-50%); }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #cbb6e7; }
.window-dots i:first-child { background: #a782d9; }
.window-body { padding: 23px 27px 25px; }
.lesson-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.lesson-heading p { margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
.lesson-heading h3 { font-size: clamp(21px, 3vw, 26px); font-weight: 700; line-height: 1.13; letter-spacing: -.05em; }
.lesson-icon {
  display: grid;
  flex: 0 0 46px;
  place-content: center;
  gap: 3px;
  height: 46px;
  border-radius: 11px;
  background: #f3e8ff;
}
.lesson-icon i { width: 25px; height: 5px; border-radius: 2px; background: #9968df; }
.lesson-icon i:nth-child(2) { width: 17px; background: #e68a52; }
.lesson-icon i:nth-child(3) { width: 10px; background: #6e9e81; }
.lesson-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: #f3eff7; }
.lesson-tabs button {
  flex: 1 1 0;
  min-height: 37px;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #5a5165;
  font-size: 13px;
  font-weight: 700;
}
.lesson-tabs button:hover { color: var(--purple-dark); }
.lesson-tabs [aria-selected='true'] { background: var(--white); color: var(--purple-dark); box-shadow: 0 1px 3px #29173f1a; }
.lesson-panel { min-height: 187px; padding-top: 18px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.panel-heading h4 { font-size: 15px; font-weight: 700; letter-spacing: -.018em; }
.status { color: #594479; font-size: 12px; font-weight: 700; white-space: nowrap; }
.checklist { display: grid; gap: 5px; }
.checklist label {
  display: flex;
  align-items: start;
  min-height: 36px;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f8f6fa;
  color: #4b4255;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.checklist label:hover { background: #f1ebf9; }
.checklist input { flex: 0 0 auto; width: 15px; height: 15px; margin: 0; accent-color: var(--purple); cursor: pointer; }
.lesson-steps, .recap-notes > div { padding: 10px 12px; border-radius: 8px; background: #f8f6fa; }
.lesson-panel h5 { font-size: 13px; font-weight: 700; }
.lesson-panel p { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; font-weight: 500; }
.next-button { min-height: 34px; margin-top: 9px; }
.recap-notes { display: grid; gap: 6px; }
.demo-results { display: grid; gap: 5px; margin: 0 0 8px; padding: 0; list-style: none; }
.demo-results li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 10px;
  border-left: 3px solid #78ab8b;
  border-radius: 5px;
  background: #eef6f0;
  color: #3e5350;
  font-size: 13px;
}
.demo-results li + li { border-color: #cd855c; background: #fcf0e7; color: #624633; }

.faq { padding-block: 70px 77px; border-top: 1px solid #e9e4e8; }
.faq-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(24px, 6vw, 96px); }
.faq-list details { border-bottom: 1px solid #e1dbe3; }
.faq-list details:first-child { border-top: 1px solid #e1dbe3; }
.faq-list summary {
  position: relative;
  padding: 17px 35px 17px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--purple);
  border-bottom: 1.5px solid var(--purple);
  transform: translateY(-65%) rotate(45deg);
  content: '';
}
.faq-list details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq-list p { max-width: 455px; padding: 0 23px 17px 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.site-footer { border-top: 1px solid #e9e4e8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 15px; }
.footer-inner .brand { font-size: 23px; }
.footer-inner .brand-mark { width: 29px; height: 29px; border-radius: 8px; }
.footer-inner .brand-mark i { scale: .85; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .site-nav { gap: 20px; }
  .workflow-card { gap: 13px; padding: 19px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 66px; gap: 0 14px; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding-inline: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
  }
  .menu-lines { width: 13px; height: 8px; border-block: 1.5px solid currentColor; }
  .menu-toggle[aria-expanded='true'] .menu-lines { height: 0; border-bottom: none; }
  .site-nav {
    grid-column: 1 / -1;
    align-items: start;
    flex-direction: column;
    gap: 4px;
    padding-block: 4px 16px;
  }
  #site-nav[data-menu-ready]:not([data-open]) { display: none; }
  .site-nav .mobile-nav-cta { display: inline-flex; margin-top: 4px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-block: 46px 45px; }
  .hero-copy { padding-block: 0; }
  .hero-description { margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .hero-art { border-radius: 21px; }
  .workflow { padding-block: 47px 52px; }
  .section-heading { margin-bottom: 21px; }
  .workflow-grid { gap: 10px; }
  .workflow-card { padding: 15px; }
  .feature-copy h3 { font-size: 20px; }
  .planning { padding-top: 50px; }
  .planning-grid { gap: 12px; }
  .planning-reports { margin-top: 12px; }
  .demo { grid-template-columns: 1fr; gap: 21px; padding-block: 56px; }
  .demo-copy h2 { margin-block: 11px 13px; }
  .window-body { padding-inline: 17px; }
  .faq { padding-block: 44px 52px; }
  .faq-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { min-height: 73px; }
}

@media (max-width: 620px) {
  .workflow-grid, .planning-grid { grid-template-columns: 1fr; }
  .workflow-card { grid-template: auto / auto 1fr; gap: 14px; }
  .hero-actions { column-gap: 16px; }
}

@media (max-width: 350px) {
  .wrap { width: calc(100% - 32px); }
  .hero-actions .button { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
