/* teachers #lang: centred title, three plain product cards (talk out loud, key terms and phrases, pronunciation) */
body.page-teachers #lang {
  padding-top: 0;
  padding-bottom: clamp(88px, 10vw, 148px);
}
body.page-teachers #lang .wrap .tu-head h2 em {
  display: inline;
}
@media (min-width: 1025px) {
  body.page-teachers #lang .wrap .tu-head h2 {
    white-space: nowrap;
  }
}
body.page-teachers #lang .tu-head {
  max-width: none;
}
body.page-teachers #lang .tu-head h2 {
  max-width: none;
  width: 100%;
}
body.page-teachers #lang .tu-head .lede {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
body.page-teachers #lang .tu-head .lede {
  text-wrap: balance;
}
body.page-teachers #lang .lg-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
body.page-teachers #lang .lg-card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 26px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 18px 40px -32px rgba(120, 50, 0, 0.28);
}
body.page-teachers #lang .lg-well {
  height: 392px;
  padding: 18px;
  border-radius: 16px;
  background: #eceae6;
  display: flex;
}
body.page-teachers #lang .lg-text {
  padding: 24px 18px 0;
  background: none;
}
body.page-teachers #lang .lg-text h3 {
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 600;
}
body.page-teachers #lang .lg-text p {
  margin-top: 10px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--body);
}
/* the app window fills the well */
body.page-teachers #lang .lg-win {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #fbfaf8;
  box-shadow: 0 1px 2px rgba(80, 40, 10, 0.06);
  overflow: hidden;
  font-size: 13px;
  color: var(--ink);
}
body.page-teachers #lang .lg-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(40, 30, 20, 0.09);
}
body.page-teachers #lang .lg-bar img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
body.page-teachers #lang .lg-bar b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}
body.page-teachers #lang .lg-bar small {
  display: block;
  margin-top: 1px;
  font-size: 11.5px;
  color: #7d756b;
}
body.page-teachers #lang .lg-pill {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1eee9;
  font-size: 11.5px;
  font-weight: 500;
}
body.page-teachers #lang .lg-micb {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  transition: background 0.3s ease;
}
body.page-teachers #lang .lg-micb svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers #lang .lg-micb::before,
body.page-teachers #lang .lg-micb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0;
}
/* 1 talk: a voice conversation, student bubbles on the right, tutor on the left */
body.page-teachers #lang .lg-chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 16px 14px;
}
body.page-teachers #lang .lg-me,
body.page-teachers #lang .lg-ai {
  display: flex;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers #lang .lg-me {
  justify-content: flex-end;
}
body.page-teachers #lang .lg-ai {
  align-items: flex-end;
  gap: 8px;
}
body.page-teachers #lang .lg-ai > img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
}
body.page-teachers #lang .lg-b {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.3;
}
body.page-teachers #lang .lg-me .lg-b {
  background: #2a2622;
  color: #fff;
  border-bottom-right-radius: 5px;
}
body.page-teachers #lang .lg-ai .lg-b {
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 5px;
  box-shadow: 0 1px 2px rgba(80, 40, 10, 0.08);
}
body.page-teachers #lang .lg-wv {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 12px;
  margin-bottom: 5px;
}
body.page-teachers #lang .lg-wv i {
  width: 2.5px;
  height: calc(12px * var(--h));
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  transform-origin: 50% 50%;
}
body.page-teachers #lang .lg-t .w {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.25s ease;
  transition-delay: calc(var(--i) * 0.22s + 0.25s);
}
body.page-teachers #lang [data-lg='talk'].a .lg-m1,
body.page-teachers #lang [data-lg='talk'].b .lg-m2,
body.page-teachers #lang [data-lg='talk'].c .lg-m3,
body.page-teachers #lang [data-lg='talk'].d .lg-m4 {
  opacity: 1;
  transform: none;
}
body.page-teachers #lang [data-lg='talk'].a .lg-m1 .w,
body.page-teachers #lang [data-lg='talk'].b .lg-m2 .w,
body.page-teachers #lang [data-lg='talk'].c .lg-m3 .w,
body.page-teachers #lang [data-lg='talk'].d .lg-m4 .w {
  opacity: 1;
}
body.page-teachers #lang [data-lg='talk'].a:not(.b) .lg-m1 .lg-wv i,
body.page-teachers #lang [data-lg='talk'].c:not(.d) .lg-m3 .lg-wv i {
  animation: lgw 0.6s ease-in-out infinite alternate;
}
body.page-teachers #lang .lg-wv i:nth-child(odd) {
  animation-delay: 0.15s !important;
}
@keyframes lgr {
  from {
    opacity: 0.65;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}
@keyframes lgw {
  from {
    transform: scaleY(0.35);
  }
  to {
    transform: scaleY(1);
  }
}
/* 2 terms */
body.page-teachers #lang .lg-dd {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 12px;
  border-radius: 9px;
  background: #f1eee9;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers #lang .lg-dd svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #7d756b;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers #lang .lg-dd-t {
  display: grid;
}
body.page-teachers #lang .lg-dd-t em {
  grid-area: 1/1;
  font-style: normal;
  color: inherit;
  font-weight: 600;
  transition: opacity 0.25s ease;
}
body.page-teachers #lang .lg-dd-t .d2 {
  opacity: 0;
}
body.page-teachers #lang [data-lg='terms'].b .lg-dd-t .d1 {
  opacity: 0;
}
body.page-teachers #lang [data-lg='terms'].b .lg-dd-t .d2 {
  opacity: 1;
}
body.page-teachers #lang .lg-menu {
  position: absolute;
  z-index: 3;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  gap: 2px;
  min-width: 112px;
  padding: 5px;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(80, 40, 10, 0.06),
    0 14px 30px -10px rgba(80, 40, 10, 0.3);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.25s ease;
}
body.page-teachers #lang .lg-menu i {
  padding: 7px 10px;
  border-radius: 8px;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #5d564d;
  transition: background 0.2s ease;
}
body.page-teachers #lang .lg-menu .m1 {
  background: #f6f2eb;
  color: var(--ink);
}
body.page-teachers #lang [data-lg='terms'].c:not(.b) .lg-menu {
  opacity: 1;
  transform: none;
}
body.page-teachers #lang [data-lg='terms'].c:not(.b) .lg-menu .m1 {
  background: none;
  color: #5d564d;
}
body.page-teachers #lang [data-lg='terms'].c:not(.b) .lg-menu .m2 {
  background: #f6f2eb;
  color: var(--ink);
  transition-delay: 0.45s;
}
body.page-teachers #lang .lg-lists {
  position: relative;
  flex: 1;
}
body.page-teachers #lang .lg-lists ul {
  inset: 8px 14px 14px;
}
body.page-teachers #lang .lg-lists ul {
  position: absolute;
  inset: 14px;
  margin: 0;
  justify-content: center;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.3s ease;
}
body.page-teachers #lang .lg-lists li {
  flex: 1;
  max-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(80, 40, 10, 0.05);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i) * 0.2s);
}
body.page-teachers #lang .lg-lists li b {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
body.page-teachers #lang .lg-lists li span {
  font-size: 13.5px;
  color: #7d756b;
}
body.page-teachers #lang [data-lg='terms'].a .lg-l1 li {
  opacity: 1;
  transform: none;
}
body.page-teachers #lang [data-lg='terms'].b .lg-l1 {
  opacity: 0;
  pointer-events: none;
}
body.page-teachers #lang [data-lg='terms'].b .lg-l1 li {
  transition-delay: 0s;
}
body.page-teachers #lang [data-lg='terms'].b .lg-l2 li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 0.15s + 0.12s);
}
/* 3 say it: the word, the mic listens, then it goes away and the results show */
body.page-teachers #lang .lg-say2 .lg-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 26px 18px 14px;
  text-align: center;
}
body.page-teachers #lang .lg-top {
  width: 100%;
  transform: translateY(66px);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers #lang [data-lg='say'].a .lg-top {
  transform: none;
}
body.page-teachers #lang .lg-sn {
  display: block;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
body.page-teachers #lang .lg-zone {
  position: relative;
  width: 100%;
  height: 92px;
  margin-top: 18px;
}
body.page-teachers #lang .lg-zone .lg-micb {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -32px 0 0 -32px;
  transition:
    opacity 0.3s ease,
    transform 0.35s ease;
}
body.page-teachers #lang [data-lg='say']:not(.a) .lg-micb::before {
  animation: lgr 1.3s ease-out infinite;
}
body.page-teachers #lang [data-lg='say']:not(.a) .lg-micb::after {
  animation: lgr 1.3s ease-out 0.45s infinite;
}
body.page-teachers #lang .lg-chips {
  position: absolute;
  inset: 0;
  padding: 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
  justify-content: center;
}
body.page-teachers #lang .lg-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #e5f4ea;
  color: #22743f;
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.3);
}
body.page-teachers #lang .lg-chips span.lo {
  background: #fdf1dc;
  color: #a35f00;
}
body.page-teachers #lang .lg-chips i {
  font-style: normal;
}
body.page-teachers #lang .lg-chips b {
  font-weight: 500;
  font-size: 12.5px;
  opacity: 0.8;
}
body.page-teachers #lang .lg-chips span:nth-child(2) {
  transition-delay: 0.38s;
}
body.page-teachers #lang .lg-chips span:nth-child(3) {
  transition-delay: 0.54s;
}
body.page-teachers #lang .lg-chips span:nth-child(4) {
  transition-delay: 0.7s;
}
body.page-teachers #lang .lg-chips span:nth-child(5) {
  transition-delay: 0.86s;
}
body.page-teachers #lang [data-lg='say'].a .lg-micb {
  opacity: 0;
  transform: scale(0.6);
}
body.page-teachers #lang [data-lg='say'].a .lg-chips span {
  opacity: 1;
  transform: none;
}
body.page-teachers #lang .lg-ms {
  opacity: 0;
  transition: opacity 0.35s ease 0.3s;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
body.page-teachers #lang .lg-ms span {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #5d564d;
}
body.page-teachers #lang .lg-ms b {
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.page-teachers #lang .lg-ms u {
  display: block;
  margin-top: 7px;
  height: 7px;
  border-radius: 99px;
  background: #ece8e1;
  overflow: hidden;
  text-decoration: none;
}
body.page-teachers #lang .lg-ms u i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: #2f9e5a;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers #lang .lg-ms .lo u i {
  background: #e39a1c;
}
body.page-teachers #lang [data-lg='say'].a .lg-ms {
  opacity: 1;
}
body.page-teachers #lang [data-lg='say'].b .lg-ms u i {
  transform: scaleX(var(--v));
}
body.page-teachers #lang [data-lg='say'].b .lg-ms b {
  opacity: 1;
  transition-delay: 0.5s;
}
body.page-teachers #lang [data-lg='say'].b .lg-ms > div:nth-child(2) u i {
  transition-delay: 0.15s;
}
body.page-teachers #lang [data-lg='say'].b .lg-ms > div:nth-child(3) u i {
  transition-delay: 0.3s;
}
body.page-teachers #lang [data-lg].rs *,
body.page-teachers #lang [data-lg].rs *::before,
body.page-teachers #lang [data-lg].rs *::after {
  transition: none !important;
  animation: none !important;
}
@media (max-width: 1024px) {
  body.page-teachers #lang .lg-chips {
    padding: 0 6px;
    gap: 6px;
  }
  body.page-teachers #lang .lg-chips span {
    padding: 6px 10px;
    font-size: 13.5px;
  }
  body.page-teachers #lang .lg-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin: 0 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers #lang [data-lg] *,
  body.page-teachers #lang [data-lg] *::before,
  body.page-teachers #lang [data-lg] *::after {
    transition: none !important;
    animation: none !important;
  }
}
body.page-teachers #lang .lg-note {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1eee9;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers #lang .lg-note img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
}
body.page-teachers #lang .lg-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #4a443c;
}
body.page-teachers #lang [data-lg='say'].b .lg-note {
  opacity: 1;
  transform: none;
  transition-delay: 1.2s;
}

/* #parents: Send, and one letter splits into three paths that land on students, parents and administrators */
body.page-teachers #parents .ms-head {
  text-align: center;
}
body.page-teachers #parents .ms-head h2 {
  margin-top: 14px;
  font-size: clamp(32px, 3.3vw, 46px);
}
body.page-teachers .ms {
  position: relative;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  max-width: 880px;
  margin: clamp(28px, 3vw, 44px) auto 0;
  min-height: 250px;
}
body.page-teachers .ms-win {
  position: relative;
  z-index: 2;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(60, 40, 20, 0.06),
    0 2px 3px rgba(60, 40, 20, 0.04),
    0 28px 50px -30px rgba(90, 50, 10, 0.45);
}
body.page-teachers .ms-hd {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-teachers .ms-hd img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
body.page-teachers .ms-hd b {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .ms-to {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13.5px;
  color: #7d776e;
}
body.page-teachers .ms-to span {
  height: 28px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fbe3cd;
  font-weight: 600;
  color: #8a3a06;
}
body.page-teachers .ms-in {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #f6f5f2;
}
body.page-teachers .ms-in .t {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .ms-in p:not(.t) {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body);
}
body.page-teachers .ms-att {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
body.page-teachers .ms-att span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px 0 9px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #e2dfda;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
body.page-teachers .ms-att img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
body.page-teachers .ms-ft {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
body.page-teachers .ms-send {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.16s ease-out;
}
body.page-teachers .ms-send.press {
  transform: scale(0.95);
}
body.page-teachers .ms svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .ms-send svg {
  width: 16px;
  height: 16px;
}
body.page-teachers .ms-out {
  display: grid;
  gap: 22px;
  justify-self: end;
  width: 230px;
  position: relative;
  z-index: 2;
}
body.page-teachers .ms-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 54px 0 18px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.5);
  box-shadow: inset 0 0 0 1.5px rgba(120, 80, 30, 0.18);
  transition:
    background-color 0.35s ease-out,
    box-shadow 0.35s ease-out;
}
body.page-teachers .ms-pill b {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #a09280;
  transition: color 0.3s ease-out;
}
body.page-teachers .ms-dot {
  display: none;
}
body.page-teachers .ms-pill u {
  position: absolute;
  right: 12px;
  top: 50%;
  margin-top: -14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1f9d55;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.3);
  transition:
    opacity 0.2s ease-out,
    transform 0.35s cubic-bezier(0.2, 0, 0, 1);
}
body.page-teachers .ms-pill u svg {
  width: 15px;
  height: 15px;
  stroke-width: 3.2;
}
body.page-teachers .ms-sheet {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 230px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(60, 40, 20, 0.06),
    0 18px 30px -14px rgba(90, 50, 10, 0.55);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
body.page-teachers .ms-sheet svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--orange);
}
body.page-teachers .ms-pill.in {
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(60, 40, 20, 0.06),
    0 2px 3px rgba(60, 40, 20, 0.04),
    0 18px 30px -22px rgba(90, 50, 10, 0.5);
}
body.page-teachers .ms-pill.in b {
  color: var(--ink);
}
body.page-teachers .ms-pill.in u {
  opacity: 1;
  transform: none;
}
@media (max-width: 1024px) {
  body.page-teachers #parents .ms-head {
    text-align: left;
  }
  body.page-teachers .ms {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    max-width: 420px;
  }
  body.page-teachers .ms-out {
    justify-self: stretch;
    width: auto;
    margin-left: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .ms * {
    transition: none !important;
    animation: none !important;
  }
}
/* #parents redesign: one message, three real-looking destinations */
body.page-teachers .ms {
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 72px;
  max-width: 1040px;
  align-items: center;
}
body.page-teachers .ms-out {
  gap: 14px;
  width: auto;
  justify-self: stretch;
  margin: 0;
}
body.page-teachers .ms-pill {
  display: block;
  height: auto;
  padding: 14px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(120, 80, 30, 0.14);
  transition:
    background-color 0.4s ease-out,
    box-shadow 0.4s ease-out;
}
body.page-teachers .ms-ch {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-teachers .ms-ch b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
body.page-teachers .ms-ch em {
  font-style: normal;
  font-size: 13px;
  color: #8a8174;
  margin-right: auto;
}
body.page-teachers .ms-ch u {
  position: static;
  margin: 0;
  width: 24px;
  height: 24px;
}
body.page-teachers .ms-ch u svg {
  width: 13px;
  height: 13px;
}
body.page-teachers .ms-bd {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  opacity: 0.4;
  transform: translateY(5px);
  transition:
    opacity 0.45s ease-out,
    transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}
body.page-teachers .ms-pill.in .ms-bd {
  opacity: 1;
  transform: none;
}
body.page-teachers .ms-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: #fdeeca;
}
body.page-teachers .ms-av.sq {
  border-radius: 8px;
  object-fit: contain;
  background: none;
}
body.page-teachers .ms-bub,
body.page-teachers .ms-mail,
body.page-teachers .ms-ann {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--body);
}
body.page-teachers .ms-bub {
  padding: 10px 13px;
  border-radius: 4px 14px 14px 14px;
  background: #f1efeb;
}
body.page-teachers .ms-bub strong,
body.page-teachers .ms-mail strong,
body.page-teachers .ms-ann strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .ms-mail span {
  display: block;
  color: #8a8174;
  font-size: 13px;
}
body.page-teachers .ms-mail i {
  display: inline-block;
  margin-top: 8px;
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}
body.page-teachers .ms-ann {
  flex: 1;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f1efeb;
}
body.page-teachers .ms-ann > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
body.page-teachers .ms-ann .tag {
  flex: none;
  padding: 2px 9px;
  border-radius: 8px;
  background: #e3e0da;
  font-size: 12px;
  color: #6c665c;
}
body.page-teachers .ms-ann p {
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.page-teachers .ms-sheet {
  width: 210px;
  height: 44px;
  border-radius: 22px;
}
@media (max-width: 1024px) {
  body.page-teachers .ms {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    max-width: 520px;
  }
  body.page-teachers .ms-out {
    margin-left: 0;
  }
}

/* #parents v2: one compose window, pick who you write to */
body.page-teachers .mx {
  max-width: 900px;
  margin: clamp(28px, 3vw, 44px) auto 0;
}
body.page-teachers .mx svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .mx-win {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(60, 40, 20, 0.06),
    0 2px 3px rgba(60, 40, 20, 0.04),
    0 36px 60px -34px rgba(90, 50, 10, 0.5);
}
body.page-teachers .mx-side {
  padding: 22px 16px;
  background: #f8f6f2;
  display: grid;
  gap: 8px;
  align-content: start;
}
body.page-teachers .mx-h {
  margin: 0 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .mx-h img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
body.page-teachers .mx-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  transition:
    background-color 0.3s ease-out,
    box-shadow 0.3s ease-out;
}
body.page-teachers .mx-row img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: none;
}
body.page-teachers .mx-row b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .mx-row span {
  display: block;
  margin-top: 1px;
  font-size: 13px;
  line-height: 1.35;
  color: #867d70;
}
body.page-teachers .mx-row.on {
  background: #fff;
  box-shadow: 0 0 0 1.5px var(--orange);
}
body.page-teachers .mx-main {
  padding: 26px 30px 24px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
body.page-teachers .mx-to {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #7d776e;
}
body.page-teachers .mx-chip {
  height: 30px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fbe3cd;
  font-weight: 600;
  color: #8a3a06;
}
body.page-teachers .mx-msg {
  margin-top: 16px;
  flex: 1;
  padding: 20px 22px;
  border-radius: 16px;
  background: #f6f5f2;
  transition:
    opacity 0.28s ease-out,
    transform 0.28s ease-out;
}
body.page-teachers .mx-msg.out,
body.page-teachers .mx-chip.out {
  opacity: 0;
  transform: translateY(6px);
}
body.page-teachers .mx-chip {
  transition: opacity 0.28s ease-out;
}
body.page-teachers .mx-msg .t {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .mx-msg p:not(.t) {
  margin: 10px 0 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--body);
}
body.page-teachers .mx-ft {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
}
body.page-teachers .mx-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: #1f7a45;
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity 0.25s ease-out,
    transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}
body.page-teachers .mx-ok svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}
body.page-teachers .mx-ok.on {
  opacity: 1;
  transform: none;
}
body.page-teachers .mx-send {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 13px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.16s ease-out;
}
body.page-teachers .mx-send.press {
  transform: scale(0.95);
}
body.page-teachers .mx-send svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 1024px) {
  body.page-teachers .mx {
    max-width: 520px;
  }
  body.page-teachers .mx-win {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-teachers .mx-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 14px;
  }
  body.page-teachers .mx-h {
    display: none;
  }
  body.page-teachers .mx-row {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 10px 4px;
  }
  body.page-teachers .mx-row span {
    display: none;
  }
  body.page-teachers .mx-row b {
    font-size: 13.5px;
  }
  body.page-teachers .mx-main {
    padding: 20px 18px;
    min-height: 0;
  }
  body.page-teachers .mx-msg {
    padding: 16px;
  }
}

/* #parents v3: no UI, just who you can write to */
body.page-teachers .mw {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
  max-width: 900px;
  margin: clamp(36px, 4vw, 60px) auto 0;
  text-align: center;
}
body.page-teachers .mw-i {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.page-teachers .mw-i img {
  width: clamp(110px, 13vw, 170px);
  height: clamp(110px, 13vw, 170px);
  object-fit: contain;
}
body.page-teachers .mw-i b {
  margin-top: 18px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
body.page-teachers .mw-i span {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.4;
  color: #867d70;
  max-width: 210px;
}
body.page-teachers .mw-i:nth-child(2) {
  transition-delay: 0.1s;
}
body.page-teachers .mw-i:nth-child(3) {
  transition-delay: 0.2s;
}
@media (max-width: 1024px) {
  body.page-teachers .mw {
    gap: 10px;
  }
  body.page-teachers .mw-i b {
    font-size: 15px;
  }
}

/* #parents v4: a mail flies out to students, parents, administrators */
body.page-teachers .mw {
  position: relative;
  display: block;
  max-width: 900px;
  padding-top: clamp(120px, 13vw, 170px);
}
body.page-teachers .mw-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
}
body.page-teachers .mw-src {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(96px, 10vw, 130px);
  margin-left: calc(clamp(96px, 10vw, 130px) / -2);
  transition: transform 0.2s ease-out;
}
body.page-teachers .mw-src img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 18px 18px rgba(120, 60, 10, 0.28));
}
body.page-teachers .mw-src.press {
  transform: scale(0.9);
}
body.page-teachers .mw-fly {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 10px 10px rgba(120, 60, 10, 0.3));
}
body.page-teachers .mw-im {
  position: relative;
  display: block;
}
body.page-teachers .mw-im > img {
  display: block;
  width: clamp(110px, 13vw, 170px);
  height: clamp(110px, 13vw, 170px);
  object-fit: contain;
}
body.page-teachers .mw-bd {
  position: absolute;
  right: -4px;
  top: 2px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1f9d55;
  color: #fff;
  box-shadow: 0 0 0 4px #fdeed6;
  opacity: 0;
  transform: scale(0.3);
  transition:
    opacity 0.2s ease-out,
    transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}
body.page-teachers .mw-bd svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .mw-i.got .mw-bd {
  opacity: 1;
  transform: none;
}
body.page-teachers .mw-i.got .mw-im > img {
  animation: mwhop 0.5s cubic-bezier(0.3, 0, 0.2, 1);
}
@keyframes mwhop {
  0% {
    transform: none;
  }
  35% {
    transform: translateY(-10px) scale(1.04);
  }
  100% {
    transform: none;
  }
}
@media (max-width: 1024px) {
  body.page-teachers .mw {
    padding-top: 110px;
  }
  body.page-teachers .mw-row {
    gap: 10px;
  }
  body.page-teachers .mw-fly {
    width: 44px;
  }
  body.page-teachers .mw-bd {
    width: 26px;
    height: 26px;
    right: -2px;
  }
  body.page-teachers .mw-bd svg {
    width: 14px;
    height: 14px;
  }
}

/* #parents v5: a mailbox under the line, mail flying out */
body.page-teachers #parents .ms-head {
  text-align: center;
}
body.page-teachers .mw-sub {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  color: #6c6254;
}
body.page-teachers .mw-src {
  width: clamp(110px, 11vw, 150px);
  margin-left: calc(clamp(110px, 11vw, 150px) / -2);
  transform-origin: 50% 100%;
}
body.page-teachers .mw-src svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 16px rgba(120, 60, 10, 0.22));
  overflow: visible;
}
body.page-teachers .mw-flag {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: rotate(80deg);
  transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}
body.page-teachers .mw-src.send .mw-flag {
  transform: none;
}
body.page-teachers .mw-src.press {
  transform: scale(0.94, 1.04);
}
body.page-teachers .mw-fly {
  width: 54px;
}
body.page-teachers .mw {
  padding-top: clamp(150px, 15vw, 200px);
}
@media (max-width: 1024px) {
  body.page-teachers #parents .ms-head {
    text-align: left;
  }
  body.page-teachers .mw-sub {
    margin-left: 0;
  }
  body.page-teachers .mw {
    padding-top: 140px;
  }
}
body.page-teachers .mw-src {
  width: clamp(150px, 15vw, 200px);
  margin-left: calc(clamp(150px, 15vw, 200px) / -2);
}
body.page-teachers .mw-fly {
  width: 64px;
}
body.page-teachers .mw {
  padding-top: clamp(210px, 21vw, 280px);
  margin-top: clamp(20px, 2vw, 32px);
}
body.page-teachers .mw-sub {
  font-size: clamp(18px, 1.7vw, 22px);
}
@media (max-width: 1024px) {
  body.page-teachers .mw {
    padding-top: 190px;
  }
  body.page-teachers .mw-src {
    width: 150px;
    margin-left: -75px;
  }
  body.page-teachers .mw-fly {
    width: 46px;
  }
}
body.page-teachers .mw-sub {
  max-width: 760px;
}

body.page-teachers {
  overflow-x: clip;
}

/* Messaging: a full-width product still life, with an accessible text fallback. */
body.page-teachers #parents {
  padding: 0;
  overflow-x: clip;
  scroll-margin-top: var(--head, 72px);
}

body.page-teachers .mb {
  --mb-pin-top: var(--head, 72px);
  --mb-travel: clamp(320px, 59svh, 520px);
}

body.page-teachers .mb.is-scrubbing {
  min-height: calc(100svh - var(--mb-pin-top) + var(--mb-travel));
}

body.page-teachers .mb-stick {
  display: grid;
  align-content: center;
  padding: clamp(30px, 6svh, 62px) 0;
}

body.page-teachers .mb.is-scrubbing .mb-stick {
  position: sticky;
  top: var(--mb-pin-top);
  min-height: calc(100svh - var(--mb-pin-top));
}

body.page-teachers .mb-scene {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: start;
  height: clamp(360px, 66svh, 575px);
}

body.page-teachers .mb-scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body.page-teachers .mb-mark {
  display: none;
  position: absolute;
  z-index: 1;
  top: var(--mb-mark-top, 57%);
  left: 4.5%;
  width: max-content;
  transform: translateY(-50%);
  color: #fff3d4;
  font-family: 'Arial Rounded MT Bold', 'Arial Rounded MT', 'Trebuchet MS', sans-serif;
  font-size: clamp(22px, 3.25vw, 54px);
  font-weight: 700;
  letter-spacing: 0.008em;
  line-height: 1.1;
}

body.page-teachers .mb.is-rendered .mb-mark {
  display: block;
}

@media (max-width: 659px) {
  body.page-teachers .mb-mark {
    left: 3%;
    max-width: 26%;
    font-size: clamp(16px, 4.4vw, 26px);
    line-height: 1.12;
  }
}

body.page-teachers .mb-copy {
  margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  color: var(--ink);
}

body.page-teachers .mb-copy p {
  max-width: 32ch;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.024em;
  text-wrap: balance;
}

body.page-teachers .mb.is-rendered .mb-copy {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--mb-copy-width);
  height: var(--mb-copy-height);
  margin: 0;
  display: grid;
  align-content: center;
  padding: calc(var(--mb-unit) * 0.45) calc(var(--mb-unit) * 0.31) calc(var(--mb-unit) * 0.19);
  transform: var(--mb-copy-transform);
  transform-origin: top left;
  clip-path: var(--mb-copy-clip);
  pointer-events: none;
}

body.page-teachers .mb.is-rendered .mb-copy::before {
  content: '';
  position: absolute;
  top: 8%;
  right: 6%;
  width: 9%;
  aspect-ratio: 1;
  background: #ffefd6 url('/assets/img/schools-approved/outfit-graduate-v1.webp') center / auto 85%
    no-repeat;
  border: calc(var(--mb-unit) * 0.025) dotted #fff4dc;
  transform: rotate(4deg);
}

body.page-teachers .mb.is-rendered .mb-copy p {
  margin: 0;
  font-size: calc(var(--mb-unit) * 0.194);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  opacity: var(--mb-ink-opacity, 1);
}

@media (max-width: 1024px) {
  body.page-teachers .mb-scene {
    height: clamp(226px, 35svh, 360px);
  }
}

@media (max-width: 1024px) {
  body.page-teachers .mb.is-rendered .mb-copy p {
    font-size: calc(var(--mb-unit) * 0.235);
    line-height: 1.4;
  }
}
/* 12 Nov (Max review): language and game card wells share the "It is still your course" well colour */
body.page-teachers #lang .lg-well:not(#_):not(#_),
body.page-teachers #learn .ln-well:not(#_):not(#_) {
  background: #f6efe6;
}
/* 12 Nov (Max review): tutor section sits in the same frame and well as the other card sections */
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-well:not(#_):not(#_) {
    background: #f6efe6;
    border-radius: 18px;
    padding: 30px;
    box-shadow:
      0 0 0 9px #fffaf2,
      0 1px 2px 9px rgba(120, 50, 0, 0.05),
      0 26px 50px -22px rgba(120, 50, 0, 0.28);
    margin: 9px;
  }
  body.page-teachers #tutor .tu-well .tu-side:not(#_):not(#_),
  body.page-teachers #tutor .tu-well .tu-set:not(#_):not(#_) {
    box-shadow:
      0 1px 2px rgba(60, 35, 10, 0.08),
      0 14px 30px -20px rgba(60, 35, 10, 0.3);
  }
  body.page-teachers #tutor .tu-well .tq:not(#_):not(#_) {
    box-shadow: none;
  }
}
/* 12 Nov (Max review): class data profile row is smaller, sits further left, shows settings, and clears the window bottom */
body.page-teachers #work .hp-me:not(#_):not(#_) {
  padding: 8px 6px 10px 10px;
  gap: 0;
}
body.page-teachers #work .hp-me .hp-av:not(#_) {
  width: 32px;
  height: 32px;
  margin-left: 0;
}
body.page-teachers #work .hp-me > div:not(#_) {
  margin-left: 9px;
}
body.page-teachers #work .hp-me b:not(#_) {
  font-size: 13px;
}
body.page-teachers #work .hp-me small:not(#_) {
  font-size: 11px;
}
body.page-teachers #work .hp-me .hp-ic:not(#_) {
  width: 16px;
  height: 16px;
  margin: 6px;
}
body.page-teachers #work .hp-me .hp-ic.g:not(#_) {
  display: block;
}
/* 12 Nov (Max review): tutor example chat reads like the platform, with a rule under the header and the grey chat area */
body.page-teachers #tutor .tq .tq-hd:not(#_):not(#_) {
  border-bottom: 1px solid rgba(60, 35, 10, 0.1);
}
body.page-teachers #tutor .tq .tq-body:not(#_):not(#_) {
  background: #fbfaf8;
  padding-top: 18px;
}
body.page-teachers #tutor .tq:not(#_):not(#_):not(#_) {
  background: #fbfaf8;
}
body.page-teachers #tutor .tq .tq-msg:not(#_):not(#_) {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(60, 35, 10, 0.08);
}

body.page-teachers #tutor .tq .tq-in:not(#_):not(#_) {
  background: #fff;
}
/* 12 Nov (Max review): games card is the three fanned covers again */
body.page-teachers #learn .ln-well.ln-games:not(#_):not(#_) {
  position: relative;
  display: block;
  overflow: hidden;
}
body.page-teachers #learn .ln-games .gm:not(#_):not(#_) {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  margin: 0;
  border-radius: 18px;
  background: #1b1f3a;
  box-shadow:
    0 1px 2px rgba(60, 35, 10, 0.14),
    0 22px 36px -22px rgba(60, 35, 10, 0.55);
}
body.page-teachers #learn .ln-games .gm img:not(#_):not(#_) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
body.page-teachers #learn .ln-games .gm figcaption:not(#_):not(#_) {
  display: none;
}
body.page-teachers #learn .ln-games .gm-c:not(#_):not(#_) {
  z-index: 2;
  width: 176px;
  height: 296px;
  transform: translate(-50%, -50%);
}
body.page-teachers #learn .ln-games .gm-l:not(#_):not(#_) {
  width: 160px;
  height: 268px;
  transform: translate(calc(-50% - 176px), calc(-50% + 8px)) rotate(-6deg);
}
body.page-teachers #learn .ln-games .gm-r:not(#_):not(#_) {
  width: 160px;
  height: 268px;
  transform: translate(calc(-50% + 176px), calc(-50% + 8px)) rotate(6deg);
}
/* 12 Nov (Max): messaging is one line with an envelope under the class-data panel, not its own section */
body.page-teachers #work .wk-msg {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 0;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--body, #3a342d);
}
body.page-teachers #work .wk-msg img {
  flex: none;
  width: 46px;
  height: 46px;
  object-fit: contain;
}
/* 12 Nov (Max): "Let them play" is a split. The words sit on the left, two small cards side by side on the right, covers fanned with clear gaps and sitting low in the well like a product shoot. */
@media (min-width: 1025px) {
  body.page-teachers #learn .wrap:not(#_):not(#_) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(36px, 4vw, 56px);
    align-items: center;
  }
  body.page-teachers #learn .tu-head:not(#_):not(#_) {
    max-width: none;
    margin: 0;
    text-align: left;
  }
  body.page-teachers #learn .wrap .tu-head h2:not(#_) {
    white-space: normal;
    font-size: clamp(34px, 3.2vw, 46px);
    line-height: 1.05;
    text-wrap: balance;
  }
  body.page-teachers #learn .tu-head .lede:not(#_) {
    margin: 18px 0 0;
    max-width: 340px;
  }
  body.page-teachers #learn .tu-head .lt-note {
    margin: 22px 0 0;
    max-width: 340px;
    font-size: 15px;
    line-height: 1.5;
    color: #7d756b;
    text-align: left;
  }
  body.page-teachers #learn .ln.ln-two:not(#_):not(#_) {
    grid-template-columns: repeat(2, 390px);
    justify-content: end;
    gap: 14px;
  }
  body.page-teachers #learn .ln.ln-two > .ln-card .ln-well:not(#_):not(#_) {
    height: 350px;
  }
  body.page-teachers #learn .ln.ln-two .ln-text h3:not(#_) {
    font-size: 20px;
  }
  body.page-teachers #learn .ln.ln-two .ln-text p:not(#_) {
    font-size: 15px;
  }
  /* covers: centre one a little bigger, sides tucked behind with a clear gap, all sitting low so the top of the well stays calm */
  body.page-teachers #learn .ln-games .gm-c:not(#_):not(#_):not(#_) {
    width: 118px;
    height: 200px;
    transform: translate(-50%, -49%);
  }
  body.page-teachers #learn .ln-games .gm-l:not(#_):not(#_):not(#_) {
    width: 94px;
    height: 160px;
    transform: translate(calc(-50% - 117px), calc(-50% + 16px)) rotate(-6deg);
  }
  body.page-teachers #learn .ln-games .gm-r:not(#_):not(#_):not(#_) {
    width: 94px;
    height: 160px;
    transform: translate(calc(-50% + 117px), calc(-50% + 16px)) rotate(6deg);
  }
  body.page-teachers #learn .ln-games .gm:not(#_):not(#_):not(#_) {
    border-radius: 14px;
  }
}
@media (max-width: 1024px) {
  body.page-teachers #learn .tu-head .lt-note {
    margin: 14px auto 0;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.5;
    color: #7d756b;
    text-align: center;
  }
  body.page-teachers #learn .ln-games .gm-c:not(#_):not(#_):not(#_) {
    width: 104px;
    height: 178px;
    transform: translate(-50%, -48%);
  }
  body.page-teachers #learn .ln-games .gm-l:not(#_):not(#_):not(#_) {
    width: 84px;
    height: 144px;
    transform: translate(calc(-50% - 106px), calc(-50% + 14px)) rotate(-6deg);
  }
  body.page-teachers #learn .ln-games .gm-r:not(#_):not(#_):not(#_) {
    width: 84px;
    height: 144px;
    transform: translate(calc(-50% + 106px), calc(-50% + 14px)) rotate(6deg);
  }
}

/* 12 Nov (Tcl01, Max notes): boxes smaller so the words on the left get room; game covers come to the front one at a time with
   the other two tucked behind as previews; the avatar's room changes with each outfit he buys. */
@media (min-width: 1025px) {
  body.page-teachers #learn .ln.ln-two:not(#_):not(#_):not(#_) {
    grid-template-columns: repeat(2, 336px);
  }
  body.page-teachers #learn .ln.ln-two > .ln-card .ln-well:not(#_):not(#_):not(#_) {
    height: 312px;
  }
  body.page-teachers #learn .tu-head .lede:not(#_):not(#_) {
    max-width: 410px;
  }
  body.page-teachers #learn .tu-head .lt-note:not(#_) {
    max-width: 410px;
  }
}
body.page-teachers #learn .ln-games .gm:not(#_):not(#_):not(#_):not(#_) {
  width: 150px;
  height: 258px;
  border-radius: 16px;
  transition: transform 0.8s cubic-bezier(0.3, 0.7, 0.2, 1);
  will-change: transform;
}
body.page-teachers #learn .ln-games .gm-c:not(#_):not(#_):not(#_):not(#_) {
  z-index: 3;
  transform: translate(-50%, -50%);
}
body.page-teachers #learn .ln-games .gm-l:not(#_):not(#_):not(#_):not(#_) {
  z-index: 1;
  transform: translate(calc(-50% - 84px), calc(-50% + 6px)) rotate(-7deg) scale(0.8);
}
body.page-teachers #learn .ln-games .gm-r:not(#_):not(#_):not(#_):not(#_) {
  z-index: 2;
  transform: translate(calc(-50% + 84px), calc(-50% + 6px)) rotate(7deg) scale(0.8);
}
body.page-teachers #learn .ln-games .gm img:not(#_):not(#_):not(#_) {
  height: 100%;
  object-position: 50% 0;
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers #learn .ln-games .gm:not(#_):not(#_):not(#_):not(#_) {
    transition: none;
  }
}
body.page-teachers #learn .ow-bgs {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
body.page-teachers #learn .ow-bgs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.page-teachers #learn .ow-bgs img.on {
  opacity: 1;
}
body.page-teachers #learn .ln-crew .ow {
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers #learn .ow-bgs img {
    transition: none;
  }
}
@media (min-width: 1025px) {
  body.page-teachers #learn .wrap .tu-head h2:not(#_):not(#_) {
    font-size: clamp(38px, 3.6vw, 52px);
  }
}
@media (min-width: 1025px) {
  body.page-teachers #learn .tu-head .lede:not(#_):not(#_):not(#_) {
    text-wrap: pretty;
    max-width: 420px;
  }
  body.page-teachers #learn .tu-head .lt-note:not(#_):not(#_) {
    text-wrap: pretty;
    max-width: 420px;
  }
}
body.page-teachers #learn .ln-crew .ow:not(#_) {
  top: 74px;
}
body.page-teachers #learn .ow-bgs img {
  transition-duration: 0.45s;
}

/* 12 Nov round 2 (Tcl01, Max): each game fills the whole well, one at a time, slow crossfade. */
body.page-teachers #learn .ln-games .gm:not(#_):not(#_):not(#_):not(#_):not(#_) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  transform: scale(1.05);
  opacity: 0;
  z-index: 1;
  transition:
    opacity 0s 2.4s,
    transform 0s 2.4s;
}
body.page-teachers #learn .ln-games .gm-c:not(#_):not(#_):not(#_):not(#_):not(#_) {
  opacity: 1;
  z-index: 2;
  transform: none;
  transition:
    opacity 2.4s ease,
    transform 10s cubic-bezier(0.2, 0.6, 0.3, 1);
}
body.page-teachers #learn .ln-games .gm img:not(#_):not(#_):not(#_):not(#_) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers #learn .ln-games .gm:not(#_):not(#_):not(#_):not(#_):not(#_) {
    transition: none;
    transform: none;
  }
}
body.page-teachers #learn .ow-w:not(#_) {
  transition-duration: 0.75s, 0.3s;
}
body.page-teachers #learn .ow-bgs img {
  transition-duration: 0.9s;
}

/* Textbooks (Max): no card. The three books sit straight on the page with the words beside them. */
body.page-teachers #textbooks .tbk:not(#_) {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(28px, 3.4vw, 44px);
  max-width: 1200px;
  text-align: center;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.page-teachers #textbooks .tbk-pic:not(#_) {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: none;
}
body.page-teachers #textbooks .tbk-pic img:not(#_) {
  position: static;
  display: block;
  width: min(690px, 100%);
  max-width: none;
  margin: 0 auto;
  height: auto;
  transform: none;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(90, 45, 5, 0.2)) drop-shadow(0 3px 3px rgba(60, 30, 5, 0.22));
}
body.page-teachers #textbooks .tbk-copy:not(#_) {
  padding: 0;
  order: -1;
}
body.page-teachers #textbooks .tbk h3:not(#_) {
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.05;
}
body.page-teachers #textbooks .tbk .lede:not(#_) {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
}
@media (max-width: 1024px) {
  body.page-teachers #textbooks .tbk:not(#_) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  body.page-teachers #textbooks .tbk-copy:not(#_) {
    text-align: center;
  }
  body.page-teachers #textbooks .tbk .lede:not(#_) {
    margin-inline: auto;
    font-size: 17px;
  }
}
body.page-teachers #learn .ln-games .gm img:not(#_):not(#_):not(#_):not(#_):not(#_) {
  object-position: 50% 50%;
}
body.page-teachers #learn .ln-games .gm::after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(180deg, rgba(20, 10, 5, 0), rgba(20, 10, 5, 0.62));
}
body.page-teachers #learn .ln-games .gm figcaption:not(#_):not(#_):not(#_) {
  display: block;
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 13px;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #fff;
}

/* Spacing pass (Tcl01 12 Nov, Max): Languages sat almost on top of the live-class card and left a hole before Let them play. Same ~200px between every pair of sections now. */
@media (min-width: 1025px) {
  body.page-teachers main #lang.section:not(#_):not(#_) {
    padding-top: 96px;
    padding-bottom: 64px;
  }
}
@media (max-width: 1024px) {
  body.page-teachers main #lang.section:not(#_):not(#_) {
    padding-top: 56px;
    padding-bottom: 40px;
  }
}
