:root {
  color-scheme: light;
  --bg: #ddd8f5;
  --surface: #ffffff;
  --surface2: #f5f2fd;
  --border: #d0c8ee;
  --text: #160f30;
  --text2: #5c4f90;
  --accent: #6c3fc5;
  --accent-dark: #4f2a9e;
  --accent-light: #efe9fc;
  --on-accent: #ffffff;
  --ok: #2e7d32;
  --shadow: 0 10px 30px rgba(80, 50, 160, .10);
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--accent); }
img { max-width: 100%; height: auto }
.wrap { max-width: 1040px; margin: 0 auto }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px 18px; margin: 16px 0 20px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px }
nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap }
nav.main a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text2); font-weight: 600; font-size: 15px }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--accent-light); color: var(--accent-dark) }
.btn { display: inline-block; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; font-family: inherit }
.btn.primary { background: var(--accent); color: var(--on-accent) }
.btn.primary:hover { background: var(--accent-dark) }
.btn.ghost { background: transparent; color: var(--accent-dark) }
.btn.ghost:hover { background: var(--accent-light) }
.btn.sm { padding: 8px 14px; font-size: 14px }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 40px 36px }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; margin-bottom: 16px }
.hero h1 em { font-style: normal; color: var(--accent) }
.hero p.lead { font-size: 18px; color: var(--text2); max-width: 34em; margin-bottom: 24px }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px }
.fine { font-size: 13.5px; color: var(--text2) }
.typesrow { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 22px; text-align: center }
.typesrow p { font-size: 15px; color: var(--text2); margin: 0 auto; max-width: 44em }
.typesrow a { color: var(--accent); font-weight: 600 }
.types { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 }
.types span { font-size: 13px; font-weight: 600; background: var(--surface2); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; color: var(--text2) }

/* illustrative lesson plan card */
.plan { background: var(--surface2); border: 1px solid var(--border); border-radius: 16px; padding: 20px; min-width: 0 }
.plan h3 { font-size: 17px; margin-bottom: 2px }
.plan .meta { font-size: 13px; color: var(--text2); margin-bottom: 14px }
.mod { display: flex; align-items: center; gap: 10px; border: 1px solid var(--c); border-left: 5px solid var(--c); border-radius: 10px; padding: 9px 12px; margin-bottom: 8px; background: var(--surface) }
.mod b { font-size: 14.5px; flex: 1; min-width: 0 }
.mod small { font-size: 12.5px; color: var(--text2); white-space: nowrap }
.mod i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: .5px }
.plan .total { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; padding-top: 8px; border-top: 1px dashed var(--border); margin-top: 4px }
.plan .caption { font-size: 12px; color: var(--text2); margin-top: 10px; text-align: center }

/* sections */
section.block { padding: 44px 0 }
section.block h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.01em; text-wrap: balance; margin-bottom: 10px }
section.block p.sub { color: var(--text2); max-width: 40em; margin-bottom: 26px }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 20px 18px; min-width: 0; box-shadow: 0 1px 2px rgba(80, 50, 160, .05) }
.card h3 { font-size: 17px; margin-bottom: 6px }
.card p, .card li { font-size: 15px; color: var(--text2) }
.card ul { margin: 8px 0 0 18px }
.card.wm { position: relative; overflow: hidden }
.card.wm > h3, .card.wm > p { position: relative }
.card.wm .ico { position: absolute; top: 50%; right: -8px; transform: translateY(-50%); width: auto; height: auto; background: none; margin: 0; font-size: 92px; line-height: 1; opacity: .2; filter: grayscale(.4); pointer-events: none }
.card .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-light); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 12px; font-size: 19px }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px }
.steps .card { position: relative; padding-top: 48px }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 14px; left: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; display: grid; place-items: center }
.band { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 34px 24px; text-align: center }
.panel { margin: 0 }
.panel .card { border-color: var(--border) }
.band h2 { margin-bottom: 8px }
.band p { color: var(--text2); margin-bottom: 18px }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
@media (max-width: 900px) { .price-grid { gap: 10px } .price { padding: 18px 14px } .price .amt { font-size: 28px } .price .amt small { display: block; font-size: 13px; margin-top: 2px } .price li { font-size: 14px } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; gap: 16px } .price { padding: 24px } .price .amt { font-size: 38px } .price .amt small { display: inline; font-size: 15px; margin-top: 0 } .price li { font-size: 15px } }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; min-width: 0 }
.price.hl { border: 2px solid var(--accent); box-shadow: var(--shadow) }
.price h3 { font-size: 18px }
.price .amt { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 0 }
.price .amt small { font-size: 15px; font-weight: 600; color: var(--text2) }
.price .alt { font-size: 14px; color: var(--text2); margin-bottom: 12px }
.price ul { list-style: none; margin: 8px 0 18px; flex: 1 }
.price li { font-size: 15px; padding: 5px 0 5px 24px; position: relative; color: var(--text2) }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800 }
.tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface) }
table { border-collapse: collapse; width: 100%; min-width: 420px }
th, td { text-align: left; padding: 11px 16px; font-size: 15px; border-bottom: 1px solid var(--border) }
th { background: var(--surface2); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--text2) }
tr:last-child td { border-bottom: none }
td.n { font-variant-numeric: tabular-nums; font-weight: 700 }
.note { font-size: 13.5px; color: var(--text2); margin-top: 12px }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px }
.faq summary { font-weight: 700; cursor: pointer }
.faq details p { margin-top: 8px; color: var(--text2); font-size: 15px }

/* page header + contact */
.pagehead { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px 28px 26px }
.pagehead.bg { background: var(--surface) url(pricing-bg.jpg) center / 100% 100% no-repeat; border-color: #cfc6f5 }
.pagehead.bg.feat { background-image: url(features-bg.jpg) }
.pagehead.bg.contact { background-image: url(contact-bg.jpg) }
.pagehead h1 { font-size: clamp(30px, 4.5vw, 42px); letter-spacing: -.02em; text-wrap: balance; margin-bottom: 8px }
.pagehead p { color: var(--text2); font-size: 18px; max-width: 38em }
.addr { font-style: normal; line-height: 1.7 }
.mail { font-weight: 700; word-break: break-all }

footer { background: var(--accent-dark); border: 1px solid var(--accent-dark); border-radius: 16px; margin: 40px 0 36px; padding: 22px 24px; display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; font-size: 14px; color: #e4dcfa }
footer a { color: #ffffff }
footer .links { display: flex; gap: 16px; flex-wrap: wrap }

@media (max-width: 800px) {
  .pagehead { padding: 22px 18px }
  .pagehead.bg { background-image: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.15)), url(pricing-bg.jpg); background-size: auto, 100% 100%; background-position: center }
  .pagehead.bg.feat { background-image: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.15)), url(features-bg.jpg) }
  .pagehead.bg.contact { background-image: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.15)), url(contact-bg.jpg) }
}

.brand img { height: 62px; width: auto; object-fit: contain; border-radius: 0 }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px }
@media (max-width: 460px) { .brand img { height: 52px } }

section.block { padding: 30px 0 }
.card, .price, .faq details { box-shadow: 0 1px 3px rgba(80, 50, 160, .08) }

.brand img { height: 60px; width: auto }
.wordmark { font-family: 'Nunito', 'Varela Round', 'Trebuchet MS', sans-serif; font-size: 25px; font-weight: 500; letter-spacing: 0; color: #000; line-height: 1 }
.wordmark em { font-style: normal; color: var(--accent) }
@media (max-width: 460px) { .brand img { height: 48px } .wordmark { font-size: 18px } .brand { gap: 8px } }

.wordmark em.dot { font-size: .8em }

.top .brand { order: 1 }
.top nav.main { order: 2; margin-left: auto }
.top .signin { order: 3; color: var(--on-accent) }
@media (max-width: 800px) {
  .top .brand { flex: 1; min-width: 0 }
  .top .signin { order: 2 }
  .top nav.main { order: 3; flex-basis: 100%; margin-left: 0 }
}
@media (max-width: 800px) {
  nav.main { gap: 0 }
  nav.main a { padding: 8px 10px; font-size: 14.5px }
}
@media (max-width: 400px) { nav.main a { padding: 8px 8px; font-size: 14px } }

table.fixed { table-layout: fixed; min-width: 520px }
table.fixed th:nth-child(1), table.fixed td:nth-child(1) { width: 28% }
table.fixed th:nth-child(2), table.fixed td:nth-child(2) { width: 30% }
table.fixed th:nth-child(3), table.fixed td:nth-child(3) { width: 21% }
table.fixed th:nth-child(4), table.fixed td:nth-child(4) { width: 21% }

.steps .card { padding-top: 20px }
.steps .card::before { top: 20px }
.steps .card h3 { padding-left: 36px; line-height: 26px; margin-bottom: 10px }

/* feature matrix */
.sech { font-size: 24px; margin-bottom: 14px }
table.matrix { min-width: 560px }
table.matrix th.c, table.matrix td.c { text-align: center; width: 17% }
table.matrix tr.grp th { background: var(--accent-light); color: var(--accent); text-align: left; text-transform: none; letter-spacing: 0; font-size: 14px }
table.matrix td.c { text-align: center; vertical-align: middle }
table.matrix td.c .yes { display: inline-flex; align-items: center; justify-content: center; color: #1b8a3a }
table.matrix td.c .yes svg { display: block }
table.matrix td.c .no { display: inline-block; color: var(--text2); opacity: .55; font-weight: 700 }
table.matrix .sm { display: none }
@media (max-width: 600px) {
  table.matrix { min-width: 0 }
  table.matrix th, table.matrix td { padding: 10px 7px; font-size: 14px }
  table.matrix th.c, table.matrix td.c { width: 19%; font-size: 11.5px }
  table.matrix th.c .lg { display: none }
  table.matrix th.c .sm { display: inline }
}
table.matrix td.c .yes, table.matrix td.c .no { display: flex; align-items: center; justify-content: center; height: 24px; line-height: 1 }

.price .btn { text-align: center }
@media (min-width: 601px) and (max-width: 800px) { .hero { gap: 20px; padding: 28px 22px } }
@media (max-width: 600px) { .hero { grid-template-columns: 1fr; gap: 28px; padding: 24px 18px } }

video.clip { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--accent-light); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 14px }
.demo { text-align: center }
.demo .sub { color: var(--text2); max-width: 40em; margin: 0 auto 18px }
.demoframe { max-width: 880px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 10px; box-shadow: 0 8px 28px rgba(80, 50, 160, .14) }
.demoframe video.clip { margin: 0; border-radius: 10px; border: 1px solid var(--border) }

.card, .demoframe { overflow: hidden; max-width: 100% }
.card video.clip, .demoframe video.clip { width: 100% !important; max-width: 100% !important; height: auto !important }

/* Features: full-width cards, text left / video right */
.flist{display:flex;flex-direction:column;gap:18px}
.fcard{padding:22px 24px}
.fcard .fhead{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.fcard .fhead .ico{margin:0;flex:none}
.fcard .fhead h3{margin:0}
.fcard .fbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}
.fcard.nov .fbody{grid-template-columns:minmax(0,1fr)}
.fcard .ftext,.fcard .fvid{min-width:0}
.fcard .ftext p{margin-top:0}
.fcard .fvid video.clip{margin-bottom:0}
@media (min-width:601px){.fcard.nov ul{columns:2;column-gap:28px}.fcard.nov li{break-inside:avoid}}
@media (max-width:600px){
  .fcard{padding:18px 16px}
  .fcard .fbody{grid-template-columns:minmax(0,1fr);gap:16px}
  .fcard .fvid{order:-1}
}
.fcard .fhead{margin-bottom:10px}
.fcard .fbody{align-items:start}
.fcard .fvid,.fcard .fvid video.clip{margin-top:0!important}
.fcard .ftext ul{margin-bottom:0}
.fcard{padding-top:16px}
.fcard .fhead{margin-bottom:6px;gap:10px}
.fcard .fhead .ico{width:30px;height:30px;border-radius:8px;font-size:16px}
.fcard .fhead h3{line-height:1.2}
/* video spans full card height on the right, title sits beside it */
.fcard .fbody{display:contents}
.fcard:not(.nov){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:28px;align-items:start}
.fcard:not(.nov) .fhead{grid-column:1;grid-row:1}
.fcard:not(.nov) .ftext{grid-column:1;grid-row:2}
.fcard:not(.nov) .fvid{grid-column:2;grid-row:1 / 3;align-self:center}
.fcard.nov .fbody{display:block}
@media (max-width:600px){
  .fcard:not(.nov){grid-template-columns:minmax(0,1fr);grid-template-rows:auto;row-gap:12px}
  .fcard:not(.nov) .fhead{grid-row:1}
  .fcard:not(.nov) .fvid{grid-column:1;grid-row:2;order:0}
  .fcard:not(.nov) .ftext{grid-column:1;grid-row:3}
}

/* click-to-enlarge video */
video.clip.zoomable{cursor:zoom-in}
.lb{position:fixed;inset:0;z-index:1000;background:rgba(10,8,24,.92);display:flex;align-items:center;justify-content:center;padding:56px 16px 16px;cursor:zoom-out}
.lb .lbv{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:10px;background:#000;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.lb .lbx{position:absolute;top:max(10px,env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right,0px));display:flex;align-items:center;gap:6px;padding:8px 14px;border:0;border-radius:999px;background:#fff;color:#1a1530;font:600 15px/1 inherit;cursor:pointer}
.lb .lbx:hover{background:#e9e4fb}
html.lb-open{overflow:hidden}
.lb{background:rgba(10,8,24,.96)}
.lb .lbv{width:min(100%,calc((100vh - 72px)*16/9));height:auto;max-height:100%;aspect-ratio:16/9}

/* team / organisation trial request form */
.formcard{max-width:640px;margin:0 auto;padding:24px}
.formcard .frow{display:flex;flex-direction:column;gap:6px;margin:0 0 16px;padding:0;border:0;min-width:0}
.formcard label,.formcard legend{font-weight:600;font-size:15px;color:var(--text);padding:0}
.formcard input[type=text],.formcard input[type=email],.formcard input[type=tel],.formcard input[type=number]{width:100%;box-sizing:border-box;padding:11px 12px;border:1.5px solid #c4bce8;border-radius:10px;font:inherit;font-size:16px;background:#fff;color:var(--text)}
.formcard input:focus{outline:none;border-color:#6c3fc5;box-shadow:0 0 0 3px rgba(108,63,197,.18)}
.formcard fieldset.frow{gap:8px}
.formcard .opt{display:flex;align-items:center;gap:8px;font-weight:400;cursor:pointer}
.formcard .opt input{width:18px;height:18px;accent-color:#6c3fc5;margin:0}
.formcard .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.formcard .ferr{color:#b3261e;font-weight:600;margin:0 0 12px}
.formcard button.btn{border:0;cursor:pointer;font:inherit;font-weight:600}
.formcard button.btn[disabled]{opacity:.6;cursor:wait}
.trialdone{text-align:center;padding:12px 0}
@media (min-width:901px){.grid .span2{grid-column:span 2}}
.flist.ftiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:900px){.flist.ftiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.flist.ftiles{grid-template-columns:minmax(0,1fr);gap:10px}}
.fgroup{margin:34px 0 4px;font-size:22px}
.fgroup:first-child{margin-top:6px}
.fsub{margin:0 0 14px;color:var(--muted,#6b6584);font-size:15px}
.ftile{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px}
.ftile .fhead{margin:0!important;min-width:0}
.ftile .fhead h3{margin:0;font-size:15px;line-height:1.25}
.ftile .fmore{flex:none;white-space:nowrap}
.fcard.fsrc{display:none!important}
.fm{position:fixed;inset:0;z-index:900;background:rgba(10,8,24,.6);display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top,0px)) 16px 16px;overflow-y:auto}
.fm-box{position:relative;width:min(900px,100%);max-height:100%;overflow-y:auto;border-radius:14px;margin:auto}
.fm-box .fcard{margin:0;box-shadow:0 14px 50px rgba(0,0,0,.4)}
.fm-x{position:absolute;top:8px;right:10px;z-index:2;width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:inherit;font-size:22px;line-height:1;cursor:pointer}
.fm-box .fcard .fhead{padding-right:38px}
html.fm-open{overflow:hidden}
.ftile .fhead{display:flex;align-items:center;gap:10px}
.ftile .fhead .ico{margin:0;flex:none;width:34px;height:34px;border-radius:9px;font-size:17px}

.fcard .fsnd{margin:8px 0 0;font-size:13px;color:var(--muted,#6b6590);text-align:center}

.demogrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:22px;max-width:1040px;margin:0 auto;text-align:left}
.demogrid .demoitem{margin:0;min-width:0;display:flex;flex-direction:column;gap:10px}
.demogrid .demoframe{max-width:none;width:100%;box-sizing:border-box}
.demogrid figcaption{display:flex;flex-direction:column;gap:2px;padding:0 4px;font-size:14px;color:var(--text2)}
.demogrid figcaption b{font-size:16px;color:var(--text)}

.card .ico:has(img){background:none;overflow:hidden;padding:0}
.card .ico img{display:block;width:100%;height:100%;object-fit:contain}
