/* homepage-v2.css — consolidated in its original cascade position. */
:root {
  --canvas: #f7f5ef;
  --surface: #ffffff;
  --surface-blue: #f1f7fc;
  --surface-purple: #f6f2ff;
  --ink: #122449;
  --ink-soft: #40506d;
  --blue: #1677bf;
  --blue-bright: #2f8de0;
  --purple: #7651d7;
  --purple-deep: #6641c7;
  --green: #168451;
  --border: #d7dfeb;
  --border-strong: #b9c8dc;
  --navy: #061a3d;
  --shadow-soft: 0 18px 48px rgba(25, 43, 76, 0.11);
  --shadow-card: 0 8px 24px rgba(25, 43, 76, 0.1);
  --container: 1240px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-height: 82px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Assistant", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(47, 141, 224, 0.42);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-inner,
.header-inner,
.hero-inner {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 96px;
}

.section-heading h2,
.about h2,
.faq h2 {
  margin: 0;
  font-family: "Heebo", "Assistant", sans-serif;
  font-size: clamp(40px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.section-heading > p {
  max-width: 860px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1.55;
}

.centered-heading {
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(18, 36, 73, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 16px rgba(19, 38, 76, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: 244px 1fr auto;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 222px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(105deg, var(--blue) 0%, var(--blue-bright) 44%, var(--purple) 100%);
  box-shadow: 0 9px 20px rgba(39, 112, 190, 0.2);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 13px 26px rgba(39, 112, 190, 0.28);
}

.button-ghost,
.button-outline {
  border-color: var(--blue);
  background: #fff;
  color: var(--ink);
}

.button-outline {
  color: var(--blue);
}

.button-outline svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-large {
  min-height: 60px;
  padding-inline: 28px;
  font-size: 19px;
}

.nav-toggle {
  display: none;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid rgba(18, 36, 73, 0.08);
  background:
    radial-gradient(circle at 12% 72%, rgba(118, 81, 215, 0.06), transparent 24%),
    radial-gradient(circle at 70% 18%, rgba(47, 141, 224, 0.07), transparent 25%),
    var(--canvas);
}

.hero-inner {
  display: grid;
  min-height: 740px;
  grid-template-columns: minmax(360px, 0.76fr) minmax(690px, 1.54fr);
  align-items: center;
  gap: clamp(30px, 4vw, 70px);
  padding-block: 52px 62px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 510px;
  margin: 0;
  font-family: "Heebo", "Assistant", sans-serif;
  font-size: clamp(58px, 5.25vw, 76px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.05em;
}

.hero-copy > p {
  max-width: 510px;
  margin: 28px 0 32px;
  color: var(--ink-soft);
  font-size: 23px;
  line-height: 1.58;
}

.hero-actions {
  flex-wrap: wrap;
}

.lesson-transformation {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(340px, 1fr) 88px minmax(290px, 0.82fr);
  align-items: center;
  margin: 0;
  direction: ltr;
}

.lesson-source,
.practice-result {
  min-width: 0;
  direction: rtl;
}

.visual-label {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.lesson-window {
  display: grid;
  overflow: hidden;
  min-height: 448px;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  padding: 12px;
  border: 8px solid #172230;
  border-bottom-width: 44px;
  border-radius: 19px;
  background: #172230;
  box-shadow: var(--shadow-soft);
  direction: ltr;
}

.lesson-window::after {
  position: absolute;
  content: "";
}

.participant-column {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.participant-tile {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-radius: 12px;
  background: #edf1f5;
  direction: rtl;
}

.participant-tile .avatar {
  width: 100%;
  height: auto;
}

.participant-tile span {
  width: 100%;
  padding: 7px 5px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.lesson-board {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-rows: repeat(4, 1fr);
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(18, 36, 73, 0.08);
  direction: rtl;
}

.board-row {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 34px 70px 1fr;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  border-bottom: 1px solid #e6ebf1;
  transition: background-color 220ms ease, opacity 220ms ease;
}

.board-row:last-of-type {
  border-bottom: 0;
}

.board-row::after {
  position: absolute;
  right: 10px;
  bottom: 7px;
  left: 10px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--blue), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0);
}

.board-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
}

.board-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.row-grammar .board-icon,
.row-speaking .board-icon {
  color: var(--purple);
}

.board-label {
  font-size: 15px;
  font-weight: 700;
}

.board-row b {
  overflow: hidden;
  color: #2b3977;
  font-family: "Assistant", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.row-speaking b {
  font-size: 12px;
}

.transfer-lines {
  width: 100%;
  height: 360px;
  overflow: visible;
}

.transfer-lines path {
  fill: none;
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.transfer-lines path:nth-child(1),
.transfer-lines path:nth-child(2) {
  stroke: var(--blue);
}

.practice-result {
  position: relative;
}

.practice-device {
  position: relative;
  padding: 13px 12px 17px;
  border: 6px solid #171b22;
  border-bottom-width: 15px;
  border-radius: 17px 17px 10px 10px;
  background: #0b0d11;
  box-shadow: 0 24px 34px rgba(12, 21, 38, 0.22);
}

.practice-device::after {
  position: absolute;
  right: -32px;
  bottom: -25px;
  left: -32px;
  height: 14px;
  border-radius: 3px 3px 12px 12px;
  background: linear-gradient(#6d737b, #252a30);
  content: "";
  box-shadow: 0 8px 8px rgba(8, 12, 20, 0.15);
}

.device-camera {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #59616d;
}

.practice-screen {
  min-height: 380px;
  padding: 12px 13px 15px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.practice-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid #e3e9f1;
  font-size: 11px;
  font-weight: 700;
}

.practice-topbar img {
  width: 82px;
  height: auto;
}

.practice-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 13px 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.practice-progress li {
  position: relative;
  padding-top: 20px;
  color: #72809a;
  font-size: 9px;
  font-weight: 600;
}

.practice-progress li::before {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #84bde8;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  content: "✓";
  font-size: 9px;
  transform: translateX(-50%);
}

.practice-progress li::after {
  position: absolute;
  top: 8px;
  right: calc(50% + 8px);
  width: calc(100% - 10px);
  height: 1px;
  background: #c5d8e9;
  content: "";
}

.practice-progress li:first-child::after {
  display: none;
}

.practice-progress .is-current {
  color: var(--blue);
  font-weight: 800;
}

.practice-progress .is-current::before {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.lesson-pattern {
  padding: 9px 10px;
  border: 1px solid #af8df3;
  border-radius: 7px;
  background: #faf7ff;
  text-align: right;
}

.lesson-pattern small {
  display: block;
  color: var(--purple);
  font-size: 9px;
  font-weight: 700;
}

.lesson-pattern strong {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
}

.question-title {
  margin: 12px 0 8px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.answer {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 6px 8px;
  border: 1px solid #d7e0ec;
  border-radius: 7px;
  font-size: 10px;
  text-align: center;
}

.answer.is-muted {
  color: #66748d;
}

.answer.is-correct {
  border-color: #67bd92;
  background: #f0fbf5;
  color: #086b3e;
  font-weight: 800;
}

.answer svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.practice-button {
  margin-top: 9px;
  padding: 7px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.built-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 38px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.built-note svg {
  width: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.personalization {
  background: #fff;
}

.personalization-path {
  position: relative;
  margin-top: 62px;
  padding: 38px 42px 42px;
  border: 1px solid #e3e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(25, 43, 76, 0.07);
}

.path-copy {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.path-number {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--purple), var(--purple-deep));
  box-shadow: 0 8px 18px rgba(118, 81, 215, 0.24);
  color: #fff;
  font-size: 23px;
  font-weight: 800;
}

.path-copy h3,
.monthly-program h3,
.track h3,
.contact-form h3 {
  margin: 0;
  font-family: "Heebo", "Assistant", sans-serif;
  font-size: 29px;
  line-height: 1.25;
}

.path-copy p {
  max-width: 920px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.lesson-proof {
  display: grid;
  max-width: 1050px;
  grid-template-columns: minmax(290px, 0.72fr) 94px minmax(360px, 1.25fr);
  align-items: center;
  gap: 20px;
  margin: 34px auto 0;
  direction: ltr;
}

.lesson-summary-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fbfcfe;
  box-shadow: var(--shadow-card);
  direction: rtl;
}

.lesson-summary-card > span {
  display: block;
  margin-bottom: 11px;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.lesson-summary-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-summary-card li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 10px 8px;
  border-top: 1px solid #e3e8ef;
  font-size: 13px;
}

.lesson-summary-card li:first-child {
  border-top: 0;
}

.lesson-summary-card b {
  color: var(--ink);
}

.lesson-summary-card span {
  color: var(--ink-soft);
  text-align: left;
}

.path-arrow {
  width: 88px;
  fill: none;
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.authentic-screenshot {
  position: relative;
  display: grid;
  min-height: 324px;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 25px;
  overflow: hidden;
  margin: 0;
  padding: 20px 30px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--surface-blue);
  box-shadow: var(--shadow-card);
  direction: rtl;
}

.authentic-screenshot::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), transparent 48%);
  content: "";
  pointer-events: none;
}

.authentic-screenshot img {
  position: relative;
  z-index: 1;
  width: 146px;
  max-height: 285px;
  object-fit: cover;
  object-position: top;
  border: 6px solid #172230;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(18, 36, 73, 0.18);
}

.authentic-screenshot figcaption {
  position: relative;
  z-index: 1;
  max-width: 210px;
  font-family: "Heebo", "Assistant", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.unit-path {
  background: linear-gradient(135deg, #fff 55%, #faf8ff);
}

.unit-personalizer {
  display: grid;
  grid-template-columns: minmax(460px, 1.34fr) 74px minmax(330px, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  direction: ltr;
}

.unit-capture {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.unit-capture img {
  width: 100%;
  height: auto;
}

.unit-capture figcaption {
  padding: 9px 14px 11px;
  border-top: 1px solid #e3e8f0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  direction: rtl;
}

.made-for-you {
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.made-for-you {
  min-height: 288px;
  font-size: 13px;
}

.made-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e2e8f0;
  color: var(--purple);
  font-size: 19px;
}

.made-heading svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.made-title {
  margin: 13px 0 4px;
  color: var(--purple-deep);
  font-weight: 800;
}

.made-for-you > p:not(.made-title) {
  margin: 0 0 12px;
  color: #596781;
  line-height: 1.45;
}

.dialogue-line {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px;
  margin-top: 8px;
  padding: 7px 8px;
  border-radius: 7px;
  background: #f5f7fa;
  font-size: 11px;
  line-height: 1.35;
}

.dialogue-line b {
  color: var(--blue);
}

.audio-preview {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid #e0e5ed;
  border-radius: 99px;
}

.audio-preview svg {
  width: 18px;
  fill: var(--ink);
}

.audio-preview span {
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--purple) 45%, #dfe4eb 45%);
}

.audio-preview small {
  color: #66748d;
}

.scope-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  text-align: center;
}

.scope-note svg,
.audience-note svg {
  width: 25px;
  flex: 0 0 25px;
  fill: none;
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.program {
  background: var(--canvas);
}

.monthly-program {
  margin-top: 54px;
}

.monthly-program h3 {
  text-align: center;
}

.monthly-program ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.monthly-program ol::before {
  position: absolute;
  z-index: 0;
  top: 43px;
  right: 11%;
  left: 11%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  content: "";
}

.monthly-program li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.timeline-icon,
.track-icon {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--ink);
}

.monthly-program li:nth-child(3) .timeline-icon,
.monthly-program li:nth-child(4) .timeline-icon {
  border-color: var(--purple);
}

.timeline-icon svg,
.track-icon svg {
  width: 39px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.monthly-program b {
  max-width: 210px;
  font-size: 19px;
  line-height: 1.4;
}

.track-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 60px;
  border-top: 1px solid var(--border);
}

.track {
  padding: 40px 58px 24px;
}

.track + .track {
  border-right: 1px solid var(--border);
}

.track-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}

.track-icon {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border: 0;
  background: #edf5fc;
  color: var(--blue);
}

.reading-track .track-icon {
  background: #f2edfc;
  color: var(--purple);
}

.track-icon svg {
  width: 34px;
}

.track h3 {
  font-size: 30px;
}

.track-heading p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.track ul {
  margin: 26px 85px 0 0;
  padding: 0;
  list-style: none;
}

.track li {
  position: relative;
  padding: 12px 28px 12px 0;
  border-bottom: 1px solid #e1e6ed;
  font-size: 18px;
}

.track li::before {
  position: absolute;
  top: 19px;
  right: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.reading-track li::before {
  background: var(--purple);
}

.audience-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 46px 0 -20px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 20px;
  text-align: center;
}

.about {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(47, 141, 224, 0.14), transparent 28%),
    radial-gradient(circle at 80% 100%, rgba(118, 81, 215, 0.14), transparent 28%),
    var(--navy);
  color: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: 70px;
}

.about-copy {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.38);
}

.about h2 {
  color: #fff;
  font-size: clamp(56px, 5vw, 72px);
}

.about-lead {
  margin: 24px 0 16px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.5;
}

.about-copy > p:not(.about-lead):not(.about-summary) {
  margin: 0;
  color: #d7e0ef;
  font-size: 20px;
}

.about blockquote {
  position: relative;
  margin: 32px 0;
  padding: 17px 36px;
  border-block: 1px solid rgba(149, 104, 236, 0.72);
  color: #fff;
  font-size: 26px;
  font-style: italic;
}

.about blockquote::before {
  position: absolute;
  top: -7px;
  right: 0;
  color: #9468ec;
  content: "”";
  font-family: serif;
  font-size: 56px;
  font-style: normal;
  line-height: 1;
}

.about blockquote p {
  margin: 0;
}

.about-summary {
  margin: 0;
  font-size: 23px;
}

.about-summary b {
  color: #55a8f1;
}

.teacher-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.teacher-portraits article {
  text-align: center;
}

.teacher-portraits.teacher-portraits-single {
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
}

.teacher-portraits figure {
  overflow: hidden;
  height: 350px;
  margin: 0;
  border: 2px solid rgba(79, 157, 231, 0.75);
  border-radius: 24px 24px 4px 4px;
  background: rgba(255, 255, 255, 0.06);
}

.teacher-portraits article:nth-child(2) figure {
  border-color: rgba(148, 104, 236, 0.8);
}

.teacher-portraits img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.teacher-portraits h3 {
  margin: 15px 0 3px;
  font-family: "Heebo", "Assistant", sans-serif;
  font-size: 32px;
}

.teacher-portraits p {
  margin: 0;
  color: #d4deed;
  font-size: 16px;
  line-height: 1.55;
}

.trial {
  background:
    radial-gradient(circle at 72% 26%, rgba(90, 171, 235, 0.15), transparent 26%),
    linear-gradient(180deg, #eef6fd 0%, #f7fafd 100%);
}

.trial-heading p {
  max-width: 700px;
}

.trial-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(390px, 0.82fr);
  align-items: start;
  gap: 76px;
  max-width: 1050px;
  margin: 54px auto 0;
}

.trial-steps,
.contact-form {
  direction: rtl;
}

.trial-steps {
  position: relative;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.trial-steps::before {
  position: absolute;
  top: 38px;
  right: 30px;
  bottom: 38px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--purple));
  content: "";
}

.trial-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  min-height: 150px;
}

.trial-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(22, 119, 191, 0.24);
  color: #fff;
  font-family: "Heebo", sans-serif;
  font-size: 31px;
  font-weight: 700;
}

.trial-steps li:last-child .trial-number {
  background: var(--purple);
}

.trial-steps h3 {
  margin: 5px 0 6px;
  font-size: 23px;
  line-height: 1.35;
}

.trial-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  margin-bottom: 4px;
  text-align: center;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label > span {
  font-size: 15px;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #cbd5e2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.contact-form input::placeholder {
  color: #8490a5;
}

.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.1);
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  text-align: center;
}

.form-status.is-error {
  color: #a51d16;
}

.form-status.is-success {
  color: var(--green);
  font-weight: 700;
}

.faq {
  background: #fff;
}

.faq-inner {
  max-width: 980px;
}

.faq h2 {
  text-align: center;
}

.faq-list {
  margin-top: 40px;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq details:first-child {
  border-top: 1px solid var(--border);
}

.faq summary {
  position: relative;
  padding: 21px 8px 21px 54px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--blue);
  content: "";
  transition: transform 180ms ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0);
}

.faq details p {
  max-width: 820px;
  margin: -5px 8px 0;
  padding: 0 0 22px;
  color: var(--ink-soft);
}

.site-footer {
  padding-block: 58px;
  border-top: 1px solid var(--border);
  background: var(--canvas);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand {
  width: 210px;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 20px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.footer-whatsapp {
  color: #08753c;
}

.footer-whatsapp:hover,
.footer-whatsapp:focus-visible {
  color: #075f34;
}

.footer-whatsapp svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}

.footer-email {
  color: var(--blue);
}

.footer-email:hover,
.footer-email:focus-visible {
  color: var(--purple);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 14px;
}

.footer-legal a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--violet);
}

.footer-inner p {
  margin: 12px 0 20px;
  color: var(--ink-soft);
}

.footer-inner small {
  color: #79849a;
}

@media (max-width: 1200px) {
  .header-inner {
    grid-template-columns: 205px 1fr auto;
    gap: 18px;
  }

  .brand {
    width: 192px;
  }

  .header-trial {
    padding-inline: 14px;
    font-size: 15px;
  }

  .hero-inner {
    grid-template-columns: minmax(330px, 0.7fr) minmax(600px, 1.3fr);
    gap: 28px;
  }

  .lesson-transformation {
    grid-template-columns: minmax(310px, 1fr) 64px minmax(260px, 0.82fr);
  }

  .lesson-window {
    grid-template-columns: 92px 1fr;
  }

  .board-row {
    grid-template-columns: 30px 60px 1fr;
    gap: 3px;
    padding-inline: 7px;
  }

  .board-label {
    font-size: 13px;
  }

  .board-row b {
    font-size: 11px;
  }

  .about-layout {
    gap: 44px;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-height: 76px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 15px;
  }

  .header-trial {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 62px 74px;
  }

  .hero-copy {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy > p {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .lesson-transformation {
    max-width: 820px;
    margin: 24px auto 0;
  }

  .unit-personalizer {
    grid-template-columns: minmax(390px, 1.28fr) 56px minmax(310px, 1fr);
    gap: 12px;
  }

  .made-for-you {
    min-height: 260px;
  }

  .made-for-you {
    padding: 13px;
  }

  .dialogue-line:nth-of-type(3) {
    display: none;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding: 0 0 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
  }

  .teacher-portraits {
    max-width: 700px;
    margin-inline: auto;
  }
}

@media (max-width: 960px) {
  .trial-layout {
    display: flex;
    width: 100%;
    max-width: 720px;
    flex-direction: column;
    gap: 32px;
  }

  .trial-steps,
  .contact-form {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  html {
    scroll-padding-top: 86px;
  }

  body {
    font-size: 17px;
  }

  .section-inner,
  .header-inner,
  .hero-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding-block: 68px;
  }

  .section-heading h2,
  .faq h2 {
    font-size: 35px;
  }

  .section-heading > p {
    margin-top: 14px;
    font-size: 18px;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.97);
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .brand {
    order: 1;
    width: min(44vw, 176px);
  }

  .header-actions {
    order: 2;
    margin-inline-start: auto;
  }

  .header-actions .button-ghost {
    min-height: 45px;
    padding: 8px 16px;
    font-size: 16px;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 3;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 27px;
    height: 3px;
    border-radius: 99px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 28px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 20px 34px rgba(18, 36, 73, 0.14);
    opacity: 0;
    transform: translateY(-12px);
    transition: none;
  }

  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid #e5eaf1;
    font-size: 18px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-inner {
    display: block;
    padding-block: 32px 54px;
  }

  .hero-copy h1 {
    max-width: 350px;
    margin-inline: auto;
    font-size: clamp(39px, 11.2vw, 46px);
    line-height: 1.17;
    letter-spacing: -0.045em;
  }

  .hero-copy > p {
    margin: 18px auto 22px;
    font-size: 19px;
    line-height: 1.54;
  }

  .hero-actions {
    display: grid;
    gap: 6px;
  }

  .hero-actions .button-primary {
    width: 100%;
  }

  .hero-actions .button-outline {
    min-height: 44px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    font-size: 20px;
  }

  .hero-actions .button-outline svg {
    display: none;
  }

  .button-large {
    min-height: 56px;
    font-size: 18px;
  }

  .lesson-transformation {
    display: flex;
    width: 100%;
    max-width: 430px;
    flex-direction: column;
    margin-top: 12px;
  }

  .lesson-source,
  .practice-result {
    width: 100%;
  }

  .visual-label {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .lesson-window {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .participant-column {
    display: none;
  }

  .lesson-board {
    display: grid;
    gap: 7px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .board-row {
    min-height: 54px;
    grid-template-columns: 38px 66px 1fr;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 4px 11px rgba(18, 36, 73, 0.08);
  }

  .board-row:last-of-type {
    border-bottom: 1px solid var(--border);
  }

  .board-label {
    font-size: 15px;
  }

  .board-row b,
  .row-speaking b {
    font-size: 12px;
    white-space: normal;
  }

  .transfer-lines {
    width: 44px;
    height: 46px;
    margin-block: 2px;
    transform: rotate(90deg);
  }

  .transfer-lines path:not(:nth-child(3)),
  .transfer-lines .arrow-head {
    display: none;
  }

  .transfer-lines path:nth-child(3) {
    display: block;
    stroke-width: 5;
  }

  .practice-result .visual-label {
    margin-bottom: 8px;
    font-size: 23px;
  }

  .practice-device {
    max-width: 390px;
    margin-inline: auto;
    padding: 10px;
    border-width: 4px;
    border-bottom-width: 10px;
  }

  .practice-device::after {
    right: -10px;
    bottom: -17px;
    left: -10px;
    height: 9px;
  }

  .practice-screen {
    min-height: 354px;
  }

  .built-note {
    margin-top: 27px;
    font-size: 14px;
  }

  .personalization-path {
    margin-top: 38px;
    padding: 26px 18px 30px;
    border-radius: 17px;
  }

  .path-copy {
    gap: 13px;
  }

  .path-number {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    font-size: 19px;
  }

  .path-copy h3,
  .monthly-program h3,
  .track h3,
  .contact-form h3 {
    font-size: 24px;
  }

  .path-copy p {
    font-size: 17px;
  }

  .lesson-proof {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
  }

  .lesson-summary-card {
    width: 100%;
  }

  .path-arrow {
    width: 48px;
    transform: rotate(90deg);
  }

  .authentic-screenshot {
    width: 100%;
    min-height: 280px;
    grid-template-columns: 130px 1fr;
    padding: 18px;
  }

  .authentic-screenshot img {
    width: 120px;
    max-height: 250px;
  }

  .authentic-screenshot figcaption {
    font-size: 20px;
  }

  .unit-personalizer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 25px;
  }

  .unit-capture,
  .made-for-you {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .unit-arrow {
    transform: rotate(90deg);
  }

  .made-for-you {
    padding: 17px;
  }

  .scope-note {
    align-items: flex-start;
    margin-top: 24px;
    font-size: 16px;
    text-align: right;
  }

  .monthly-program {
    margin-top: 40px;
  }

  .monthly-program ol {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 360px;
    margin: 26px auto 0;
  }

  .monthly-program ol::before {
    top: 28px;
    right: 29px;
    bottom: 28px;
    left: auto;
    width: 2px;
    height: auto;
  }

  .monthly-program li {
    display: grid;
    min-height: 92px;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 18px;
    text-align: right;
  }

  .timeline-icon {
    width: 60px;
    height: 60px;
  }

  .timeline-icon svg {
    width: 29px;
  }

  .monthly-program b {
    max-width: none;
    font-size: 17px;
  }

  .track-columns {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .track {
    padding: 30px 0;
  }

  .track + .track {
    border-top: 1px solid var(--border);
    border-right: 0;
  }

  .track-heading {
    gap: 14px;
  }

  .track-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .track-icon svg {
    width: 29px;
  }

  .track-heading p {
    font-size: 16px;
  }

  .track ul {
    margin: 16px 70px 0 0;
  }

  .track li {
    font-size: 16px;
  }

  .audience-note {
    align-items: flex-start;
    margin-top: 18px;
    font-size: 17px;
    text-align: right;
  }

  .about h2 {
    font-size: 48px;
  }

  .about-lead {
    font-size: 21px;
  }

  .about-copy > p:not(.about-lead):not(.about-summary) {
    font-size: 18px;
  }

  .about blockquote {
    margin: 26px 0;
    padding-inline: 29px;
    font-size: 22px;
  }

  .about-summary {
    font-size: 20px;
  }

  .teacher-portraits {
    gap: 14px;
  }

  .teacher-portraits figure {
    height: 235px;
    border-radius: 16px 16px 4px 4px;
  }

  .teacher-portraits h3 {
    font-size: 25px;
  }

  .teacher-portraits p {
    font-size: 14px;
  }

  .trial-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 38px;
  }

  .trial-steps,
  .contact-form {
    width: 100%;
  }

  .trial-steps li {
    min-height: 128px;
    grid-template-columns: 54px 1fr;
    gap: 17px;
  }

  .trial-steps::before {
    right: 26px;
  }

  .trial-number {
    width: 54px;
    height: 54px;
    font-size: 26px;
  }

  .trial-steps h3 {
    font-size: 20px;
  }

  .trial-steps p {
    font-size: 16px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .faq summary {
    padding-block: 18px;
    font-size: 18px;
  }

  .site-footer {
    padding-block: 48px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 6px;
  }

  .footer-brand {
    width: 190px;
  }

}

@media (max-width: 420px) {
  .section-inner,
  .header-inner,
  .hero-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    width: 145px;
  }

  .header-actions .button-ghost {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 15px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy > p {
    font-size: 18px;
  }

  .board-row {
    grid-template-columns: 34px 57px 1fr;
    gap: 4px;
    padding-inline: 8px;
  }

  .board-label {
    font-size: 14px;
  }

  .board-row b,
  .row-speaking b {
    font-size: 11px;
  }

  .teacher-portraits {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .teacher-portraits figure {
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

/* homepage-v3-hero.css — consolidated in its original cascade position. */
/* Homepage Personalization V3: header, hero devices, and transformation motion. */
.action-label-compact {
  display: none;
}

.lesson-transformation {
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 0;
}

@media (min-width: 1041px) {
  .hero-actions [data-hero-demo-link] {
    display: none;
  }
}

@media (min-width: 761px) {
  .lesson-transformation .lesson-source {
    grid-column: 3;
    grid-row: 1;
  }

  .lesson-transformation .transfer-lines {
    grid-column: 2;
    grid-row: 1;
    transform: scaleX(-1);
  }

  .lesson-transformation .practice-result {
    grid-column: 1;
    grid-row: 1;
  }
}

.transformation-stage {
  display: flex;
  height: 584px;
  min-height: 584px;
  min-width: 0;
  flex-direction: column;
  padding: 18px 16px 20px;
  border: 1px solid rgba(185, 200, 220, 0.74);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(25, 43, 76, 0.07);
}

.transformation-stage .visual-label {
  min-height: 28px;
  margin-bottom: 16px;
  font-size: 20px;
}

.zoom-computer {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin: auto;
  padding: 10px 10px 0;
  border: 5px solid #111923;
  border-bottom-width: 8px;
  border-radius: 16px 16px 10px 10px;
  background: #111923;
  box-shadow: 0 20px 30px rgba(12, 21, 38, 0.2);
}

.zoom-computer::after {
  position: absolute;
  right: 8%;
  bottom: -16px;
  left: 8%;
  height: 9px;
  border-radius: 2px 2px 10px 10px;
  background: linear-gradient(#727985, #303640);
  box-shadow: 0 5px 8px rgba(8, 12, 20, 0.16);
  content: "";
}

.computer-camera {
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #637083;
  transform: translateX(-50%);
}

.zoom-computer .lesson-window {
  display: grid;
  overflow: hidden;
  width: 100%;
  height: 354px;
  min-height: 0;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: #111923;
  box-shadow: none;
  direction: rtl;
}

.zoom-computer .participant-column {
  display: grid;
}

.zoom-computer .participant-tile {
  border-radius: 9px;
}

.zoom-computer .participant-tile span {
  padding-block: 5px;
  font-size: 11px;
}

.zoom-computer .lesson-board {
  border-radius: 9px;
}

.zoom-computer .board-row {
  grid-template-columns: 28px 58px minmax(0, 1fr);
  gap: 4px;
  padding: 9px 7px;
}

.zoom-computer .board-icon {
  width: 27px;
  height: 27px;
}

.zoom-computer .board-icon svg {
  width: 20px;
}

.zoom-computer .board-label {
  font-size: 12px;
}

.zoom-computer .board-row b,
.zoom-computer .row-speaking b {
  font-size: 10px;
  white-space: normal;
}

.zoom-toolbar {
  display: grid;
  height: 45px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 3px;
  color: #f5f7fb;
  direction: rtl;
}

.zoom-toolbar span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #cbd2dc;
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
}

.zoom-toolbar span.is-active {
  color: #5bd686;
}

.zoom-toolbar svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.practice-phone-wrap {
  position: relative;
  display: flex;
  min-height: 456px;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.practice-phone {
  position: relative;
  width: min(238px, 86%);
  height: 454px;
  padding: 11px 8px 8px;
  border: 6px solid #161b23;
  border-radius: 32px;
  background: #0b0d11;
  box-shadow: 0 22px 35px rgba(12, 21, 38, 0.23);
}

.phone-island {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 50%;
  width: 56px;
  height: 15px;
  border-radius: 99px;
  background: #12161c;
  transform: translateX(-50%);
}

.practice-phone .practice-screen {
  height: 100%;
  min-height: 0;
  padding: 20px 10px 10px;
  overflow: hidden;
  border-radius: 21px;
}

.practice-phone .practice-topbar img {
  width: 68px;
}

.practice-phone .practice-progress {
  margin-block: 10px;
}

.practice-phone .lesson-pattern {
  padding: 7px 8px;
}

.practice-phone .question-title {
  margin: 9px 0 6px;
  font-size: 13px;
}

.practice-phone .answer {
  min-height: 30px;
  margin-top: 5px;
  padding: 4px 6px;
  font-size: 9px;
}

.practice-phone .practice-button {
  margin-top: 7px;
  padding: 6px;
}

.transformation-stage .built-note {
  min-height: 28px;
  margin: 12px 0 0;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1200px) {
  .lesson-transformation {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  }

  .transformation-stage {
    height: 530px;
    min-height: 530px;
    padding-inline: 12px;
  }

  .zoom-computer .lesson-window {
    height: 320px;
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .zoom-computer .board-row {
    grid-template-columns: 25px 47px minmax(0, 1fr);
    padding-inline: 5px;
  }

  .practice-phone-wrap {
    min-height: 426px;
  }

  .practice-phone {
    width: min(220px, 88%);
    height: 424px;
  }
}

@media (max-width: 1040px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }

  .brand {
    width: 190px;
    order: 1;
  }

  .header-actions {
    order: 2;
    margin-inline-start: auto;
  }

  .header-trial {
    display: inline-flex;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 3;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 27px;
    height: 3px;
    border-radius: 99px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    z-index: 101;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 28px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 20px 34px rgba(18, 36, 73, 0.14);
    opacity: 0;
    transform: translateY(-12px);
    transition: none;
  }

  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid #e5eaf1;
    font-size: 18px;
  }

  .site-nav a::after {
    display: none;
  }

  .lesson-transformation {
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  }

  .transformation-stage {
    height: 555px;
    min-height: 555px;
  }

  .zoom-computer .lesson-window {
    height: 350px;
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .practice-phone-wrap {
    min-height: 450px;
  }

  .practice-phone {
    width: 238px;
    height: 448px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 5px;
  }

  .brand {
    width: min(39vw, 145px);
  }

  .header-actions {
    gap: 5px;
  }

  .header-actions .button {
    width: 54px;
    min-width: 54px;
    min-height: 48px;
    padding: 5px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1;
  }

  .header-actions .header-trial {
    width: 60px;
    min-width: 60px;
  }

  .action-label-full {
    display: none;
  }

  .action-label-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }

  .nav-toggle {
    width: 44px;
    height: 48px;
    flex: 0 0 44px;
  }

  .hero-inner {
    padding-top: 32px;
  }

  .lesson-transformation {
    display: grid;
    max-width: 430px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .transformation-stage {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 18px 14px 22px;
  }

  .lesson-source {
    min-height: 405px;
  }

  .zoom-computer {
    max-width: 344px;
  }

  .zoom-computer .lesson-window {
    display: grid;
    height: 250px;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 6px;
  }

  .zoom-computer .participant-column {
    display: grid;
  }

  .zoom-computer .participant-tile span {
    font-size: 9px;
  }

  .zoom-computer .board-row {
    min-height: 0;
    grid-template-columns: 23px 44px minmax(0, 1fr);
    gap: 3px;
    padding: 6px 4px;
    border: 0;
    border-bottom: 1px solid #e6ebf1;
    border-radius: 0;
    box-shadow: none;
  }

  .zoom-computer .board-label {
    font-size: 10px;
  }

  .zoom-computer .board-row b,
  .zoom-computer .row-speaking b {
    font-size: 8px;
  }

  .zoom-toolbar {
    height: 38px;
  }

  .zoom-toolbar span {
    font-size: 0;
  }

  .zoom-toolbar svg {
    width: 18px;
    height: 18px;
  }

  .transfer-lines {
    width: 48px;
    height: 54px;
    margin: 3px auto;
    transform: rotate(90deg);
  }

  .practice-result {
    min-height: 570px;
  }

  .practice-phone-wrap {
    min-height: 462px;
  }

  .practice-phone {
    width: 250px;
    max-width: 82vw;
    height: 462px;
  }

}

@media (max-width: 420px) {
  .header-inner {
    width: min(calc(100% - 20px), var(--container));
  }

  .brand {
    width: 145px;
  }

  .header-actions .button,
  .header-actions .header-trial {
    min-height: 46px;
  }

  .lesson-source {
    min-height: 390px;
  }

  .zoom-computer .lesson-window {
    height: 238px;
    grid-template-columns: 76px minmax(0, 1fr);
  }
}

@media (max-width: 350px) {
  .brand {
    width: 112px;
  }

  .header-actions .button {
    width: 47px;
    min-width: 47px;
    font-size: 12px;
  }

  .header-actions .header-trial {
    width: 52px;
    min-width: 52px;
  }

  .nav-toggle {
    width: 40px;
    flex-basis: 40px;
  }

  .nav-toggle span {
    width: 24px;
  }

  .lesson-source {
    min-height: 330px;
  }

  .zoom-computer .lesson-window {
    height: 200px;
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .zoom-computer .board-row b,
  .zoom-computer .row-speaking b {
    font-size: 8.5px;
  }
}

/* Selected V3 motion: shared device and responsive composition scaffold. */
.lesson-transformation {
  position: relative;
  isolation: isolate;
}

.transformation-stage {
  overflow: visible;
}

.laptop-shell {
  width: 100%;
  max-width: 410px;
  margin: 84px auto 24px;
}

.laptop-shell::after {
  display: none;
  content: none;
}

.laptop-shell .lesson-window {
  height: 228px;
  min-height: 0;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 6px;
}

.laptop-shell .participant-column {
  min-height: 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
}

.laptop-shell .participant-tile,
.laptop-shell .participant-tile .avatar,
.laptop-shell .lesson-board,
.laptop-shell .board-row {
  min-height: 0;
}

.laptop-shell .participant-tile {
  overflow: hidden;
}

.laptop-shell .participant-tile .avatar {
  width: 100%;
  height: calc(100% - 18px);
  flex: 1 1 auto;
}

.laptop-shell .participant-tile span {
  flex: 0 0 auto;
  padding-block: 3px;
  font-size: 8px;
}

.laptop-shell .lesson-board {
  grid-template-rows: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.laptop-shell .board-row {
  overflow: hidden;
  grid-template-columns: 24px 48px minmax(0, 1fr);
  gap: 4px;
  padding: 5px;
}

.laptop-shell .board-icon {
  width: 23px;
  height: 23px;
}

.laptop-shell .board-icon svg {
  width: 17px;
}

.laptop-shell .board-label {
  font-size: 10px;
}

.laptop-shell .board-row b,
.laptop-shell .row-speaking b {
  font-size: 8.5px;
  line-height: 1.16;
  white-space: normal;
}

.laptop-shell .zoom-toolbar {
  height: 40px;
}

.laptop-base {
  position: absolute;
  z-index: 0;
  bottom: -24px;
  left: 50%;
  display: block;
  width: calc(100% + 36px);
  max-width: calc(100vw - 32px);
  height: 21px;
  border-radius: 3px 3px 13px 13px;
  background: linear-gradient(180deg, #9098a5 0%, #555e6a 46%, #2e3540 100%);
  box-shadow: 0 8px 12px rgba(8, 12, 20, 0.2);
  clip-path: polygon(2% 0, 98% 0, 100% 72%, 96% 100%, 4% 100%, 0 72%);
  transform: translateX(-50%);
}

.laptop-base::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 22%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: rgba(27, 34, 44, 0.52);
  content: "";
  transform: translateX(-50%);
}

.laptop-base::after {
  position: absolute;
  right: 7%;
  bottom: 2px;
  left: 7%;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  content: "";
}

.transfer-lines {
  height: 300px;
}

.mobile-transfer-lines {
  display: none;
}

.transfer-lines .desktop-arrow,
.transfer-lines .desktop-transfer-shaft,
.transfer-lines .desktop-transfer-tip {
  display: block;
}

@media (max-width: 1200px) {
  .laptop-shell .lesson-window {
    height: 214px;
  }
}

/* One compact canvas keeps source, transfer, and result in view together. */
@media (max-width: 700px) {
  .hero-inner {
    padding-top: 32px;
  }

  .lesson-transformation {
    display: block;
    width: 100%;
    max-width: 430px;
    height: 556px;
    margin: 18px auto 0;
    overflow: hidden;
    border: 1px solid rgba(185, 200, 220, 0.78);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 38px rgba(25, 43, 76, 0.08);
  }

  .lesson-transformation .transformation-stage {
    position: absolute;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .lesson-transformation .lesson-source {
    z-index: 2;
    top: 16px;
    right: 12px;
    left: auto;
    width: min(292px, calc(100% - 48px));
  }

  .lesson-source .visual-label {
    min-height: 23px;
    margin: 0 0 7px;
    font-size: 16px;
    text-align: right;
  }

  .laptop-shell {
    width: 100%;
    max-width: 282px;
    margin: 0;
    padding: 7px 7px 0;
    border-width: 4px;
    border-bottom-width: 6px;
    border-radius: 12px 12px 8px 8px;
  }

  .laptop-shell .lesson-window {
    height: 164px;
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 4px;
  }

  .laptop-shell .participant-column {
    gap: 4px;
  }

  .laptop-shell .participant-tile {
    border-radius: 6px;
  }

  .laptop-shell .participant-tile .avatar {
    height: calc(100% - 13px);
  }

  .laptop-shell .participant-tile span {
    padding-block: 2px;
    font-size: 7px;
  }

  .laptop-shell .lesson-board {
    gap: 0;
    border-radius: 6px;
    background: #fff;
  }

  .laptop-shell .board-row {
    grid-template-columns: 18px 34px minmax(0, 1fr);
    gap: 2px;
    padding: 4px 3px;
    border: 0;
    border-bottom: 1px solid #e6ebf1;
    border-radius: 0;
    box-shadow: none;
  }

  .laptop-shell .board-icon {
    width: 18px;
    height: 18px;
  }

  .laptop-shell .board-icon svg {
    width: 14px;
  }

  .laptop-shell .board-label {
    font-size: 8px;
  }

  .laptop-shell .board-row b,
  .laptop-shell .row-speaking b {
    font-size: 6.6px;
    line-height: 1.18;
  }

  .laptop-shell .zoom-toolbar {
    height: 30px;
  }

  .laptop-shell .zoom-toolbar svg {
    width: 14px;
    height: 14px;
  }

  .laptop-shell .zoom-toolbar span {
    font-size: 0;
  }

  .laptop-base {
    bottom: -19px;
    width: calc(100% + 28px);
    height: 17px;
  }

  .lesson-transformation .practice-result {
    z-index: auto;
    right: auto;
    left: 8px;
    bottom: 14px;
    width: 174px;
  }

  .practice-result .visual-label {
    position: relative;
    z-index: 8;
    min-height: 22px;
    margin: 0 0 4px;
    padding: 3px 7px;
    border: 1px solid rgba(185, 200, 220, 0.76);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 15px rgba(18, 36, 73, 0.13);
    font-size: 15px;
    text-align: center;
  }

  .practice-phone-wrap {
    z-index: 5;
    min-height: 0;
    height: 305px;
  }

  .practice-phone {
    width: 158px;
    max-width: none;
    height: 302px;
    padding: 8px 5px 5px;
    border-width: 4px;
    border-radius: 24px;
    box-shadow: 0 17px 28px rgba(12, 21, 38, 0.24);
  }

  .phone-island {
    top: 3px;
    width: 42px;
    height: 10px;
  }

  .practice-phone .practice-screen {
    padding: 14px 6px 6px;
    border-radius: 16px;
  }

  .practice-phone .practice-topbar {
    padding-bottom: 4px;
    font-size: 7px;
  }

  .practice-phone .practice-topbar img {
    width: 48px;
  }

  .lesson-transformation .built-note {
    position: absolute;
    z-index: 7;
    top: 196px;
    right: auto;
    left: calc(100% + 6px);
    bottom: auto;
    width: 158px;
    min-height: 20px;
    margin: 0;
    padding: 5px 6px;
    gap: 4px;
    border: 1px solid rgba(185, 200, 220, 0.72);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 16px rgba(18, 36, 73, 0.1);
    box-sizing: border-box;
    color: #52617a;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .lesson-transformation .built-note svg {
    width: 14px;
  }

  .lesson-transformation .transfer-lines {
    display: none;
  }

  .lesson-transformation .mobile-transfer-lines {
    position: absolute;
    z-index: 6;
    top: 278px;
    right: 14px;
    left: auto;
    display: block;
    width: 160px;
    height: 180px;
    margin: 0;
    overflow: visible;
    pointer-events: none;
  }
}

@media (max-width: 350px) {
  .lesson-transformation {
    height: 534px;
  }

  .lesson-transformation .lesson-source {
    right: 8px;
    left: auto;
    width: 242px;
  }

  .laptop-shell {
    max-width: 242px;
  }

  .laptop-shell .lesson-window {
    height: 148px;
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .lesson-transformation .practice-result {
    right: auto;
    left: 5px;
    width: 148px;
  }

  .practice-phone-wrap {
    height: 279px;
  }

  .practice-phone {
    width: 138px;
    height: 277px;
  }

  .lesson-transformation .built-note {
    top: 166px;
    right: auto;
    left: calc(100% + 3px);
    width: 120px;
    font-size: 9px;
  }

  .lesson-transformation .mobile-transfer-lines {
    top: 258px;
    right: -6px;
    left: auto;
    width: 134px;
    height: 160px;
  }
}

/* Authentic five-stage lesson progress: one calm path, without segmented artifacts. */
.practice-phone .practice-progress {
  --practice-stage-marker-size: 16px;
  position: relative;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.practice-phone .practice-progress::before {
  position: absolute;
  z-index: 0;
  top: calc(var(--practice-stage-marker-size) / 2);
  right: 10%;
  left: 10%;
  content: "";
  height: 1px;
  background: #c5d8e9;
}

.practice-phone .practice-progress li {
  z-index: 1;
  min-width: 0;
}

.practice-phone .practice-progress li::before {
  z-index: 2;
  width: var(--practice-stage-marker-size);
  height: var(--practice-stage-marker-size);
  content: "";
}

.practice-phone .practice-progress li.is-done::before {
  border-color: #69afe4;
  background: #eaf7ff;
  color: var(--blue);
  content: "✓";
}

.practice-phone .practice-progress li.is-current::before {
  content: "4";
}

.practice-phone .practice-progress li:nth-child(5)::before {
  content: "5";
}

.practice-phone .practice-progress li::after {
  display: none;
  content: none;
}

/* Completed/no-JS presentation is the default; JavaScript only arms the idle state. */
.motion-sentinel {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lesson-transformation .transfer-lines path.transfer-shaft,
.lesson-transformation .transfer-lines path.transfer-tip {
  opacity: 1;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.lesson-transformation .transfer-lines path[data-arrow="1"],
.lesson-transformation .transfer-lines path[data-arrow="2"] {
  stroke: var(--blue);
}

.lesson-transformation .transfer-lines path[data-arrow="3"],
.lesson-transformation .transfer-lines path[data-arrow="4"] {
  stroke: var(--purple);
}

.lesson-transformation .transfer-lines path.desktop-arrow {
  stroke-width: 3.2;
}

.lesson-transformation .mobile-transfer-lines [data-arrow="1"],
.lesson-transformation .mobile-transfer-lines [data-arrow="2"] {
  color: var(--blue);
}

.lesson-transformation .mobile-transfer-lines [data-arrow="3"],
.lesson-transformation .mobile-transfer-lines [data-arrow="4"] {
  color: var(--purple);
}

.lesson-transformation .mobile-transfer-shaft {
  fill: none;
  stroke: currentColor;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.lesson-transformation .mobile-transfer-head {
  fill: currentColor;
  stroke: none;
  stroke-linejoin: round;
  transform: scale(1);
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.lesson-transformation [data-phone-module],
.lesson-transformation .practice-button,
.lesson-transformation .built-note {
  opacity: 1;
  transform: none;
}

.practice-phone {
  --phone-rest-shadow: 0 22px 35px rgba(12, 21, 38, 0.23);
  --phone-halo-shadow:
    0 0 0 7px rgba(38, 143, 219, 0.14),
    0 0 34px 7px rgba(128, 80, 218, 0.25);
  --phone-settled-shadow:
    0 0 0 2px rgba(38, 143, 219, 0.08),
    0 0 22px 2px rgba(128, 80, 218, 0.14);
  isolation: isolate;
  box-shadow: var(--phone-rest-shadow);
}

.practice-phone::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--phone-settled-shadow);
  content: "";
  pointer-events: none;
}

.lesson-transformation.motion-is-idle .transfer-lines path.transfer-shaft,
.lesson-transformation.motion-is-idle .transfer-lines path.transfer-tip,
.lesson-transformation.motion-is-playing .transfer-lines path.transfer-shaft,
.lesson-transformation.motion-is-playing .transfer-lines path.transfer-tip {
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.lesson-transformation.motion-is-idle .mobile-transfer-shaft,
.lesson-transformation.motion-is-playing .mobile-transfer-shaft {
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.lesson-transformation.motion-is-idle .mobile-transfer-head,
.lesson-transformation.motion-is-playing .mobile-transfer-head {
  opacity: 0;
  transform: scale(1);
}

.lesson-transformation.motion-is-idle [data-phone-module],
.lesson-transformation.motion-is-idle .practice-button,
.lesson-transformation.motion-is-playing [data-phone-module],
.lesson-transformation.motion-is-playing .practice-button {
  opacity: 0.12;
  transform: none;
}

.lesson-transformation.motion-is-idle .built-note {
  opacity: 0.48;
}

.lesson-transformation.motion-is-idle .practice-phone::after {
  box-shadow: 0 0 0 0 rgba(38, 143, 219, 0), 0 0 0 0 rgba(128, 80, 218, 0);
}

.lesson-transformation.motion-is-playing .transfer-shaft[data-arrow="1"] {
  animation: selected-arrow-shaft 1300ms cubic-bezier(0.4, 0, 0.2, 1) 120ms both;
}

.lesson-transformation.motion-is-playing .transfer-tip[data-arrow="1"] {
  animation: selected-arrow-tip 420ms cubic-bezier(0.4, 0, 0.2, 1) 1150ms both;
}

.lesson-transformation.motion-is-playing .transfer-shaft[data-arrow="2"] {
  animation: selected-arrow-shaft 1300ms cubic-bezier(0.4, 0, 0.2, 1) 120ms both;
}

.lesson-transformation.motion-is-playing .transfer-tip[data-arrow="2"] {
  animation: selected-arrow-tip 420ms cubic-bezier(0.4, 0, 0.2, 1) 1150ms both;
}

.lesson-transformation.motion-is-playing .transfer-shaft[data-arrow="3"] {
  animation: selected-arrow-shaft 1300ms cubic-bezier(0.4, 0, 0.2, 1) 120ms both;
}

.lesson-transformation.motion-is-playing .transfer-tip[data-arrow="3"] {
  animation: selected-arrow-tip 420ms cubic-bezier(0.4, 0, 0.2, 1) 1150ms both;
}

.lesson-transformation.motion-is-playing .transfer-shaft[data-arrow="4"] {
  animation: selected-arrow-shaft 1300ms cubic-bezier(0.4, 0, 0.2, 1) 120ms both;
}

.lesson-transformation.motion-is-playing .transfer-tip[data-arrow="4"] {
  animation: selected-arrow-tip 420ms cubic-bezier(0.4, 0, 0.2, 1) 1150ms both;
}

.lesson-transformation.motion-is-playing [data-phone-module="grammar"] {
  animation: selected-module-in 700ms cubic-bezier(0.22, 1, 0.36, 1) 850ms both;
}

.lesson-transformation.motion-is-playing [data-phone-module="sentence"] {
  animation: selected-module-in 700ms cubic-bezier(0.22, 1, 0.36, 1) 1500ms both;
}

.lesson-transformation.motion-is-playing .practice-button {
  animation: selected-module-in 700ms cubic-bezier(0.22, 1, 0.36, 1) 2150ms both;
}

.lesson-transformation.motion-is-playing .built-note {
  animation: selected-note-emphasis 850ms cubic-bezier(0.22, 1, 0.36, 1) 3000ms both;
}

.lesson-transformation.motion-is-playing .practice-phone::after {
  animation: selected-phone-halo 2500ms cubic-bezier(0.4, 0, 0.2, 1) 1570ms both;
}

.lesson-transformation.motion-is-playing .motion-sentinel {
  animation: selected-motion-finish 1ms linear 4069ms both;
}

.lesson-transformation.motion-is-complete .transfer-lines path.transfer-shaft,
.lesson-transformation.motion-is-complete .transfer-lines path.transfer-tip {
  opacity: 1;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.lesson-transformation.motion-is-complete .mobile-transfer-shaft {
  opacity: 1;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.lesson-transformation.motion-is-complete .mobile-transfer-head {
  opacity: 1;
  transform: scale(1);
}

.lesson-transformation.motion-is-complete [data-phone-module],
.lesson-transformation.motion-is-complete .practice-button,
.lesson-transformation.motion-is-complete .built-note {
  opacity: 1;
  transform: none;
}

.lesson-transformation.motion-is-complete .practice-phone::after {
  box-shadow: var(--phone-settled-shadow);
}

@keyframes selected-arrow-shaft {
  0% { opacity: 0; stroke-dashoffset: 1; }
  2%, 100% { opacity: 1; }
  100% { stroke-dashoffset: 0; }
}

@keyframes selected-arrow-tip {
  0% { opacity: 0; stroke-dashoffset: 1; }
  2%, 100% { opacity: 1; }
  100% { stroke-dashoffset: 0; }
}

@keyframes selected-module-in {
  from { opacity: 0.12; }
  to { opacity: 1; }
}

@keyframes selected-note-emphasis {
  from { opacity: 0.48; color: #52617a; transform: translateY(4px); }
  58% { opacity: 1; color: var(--purple); transform: translateY(0); }
  to { opacity: 1; color: #52617a; transform: translateY(0); }
}

@keyframes selected-phone-halo {
  from { box-shadow: 0 0 0 0 rgba(38, 143, 219, 0), 0 0 0 0 rgba(128, 80, 218, 0); }
  18%, 80% { box-shadow: var(--phone-halo-shadow); }
  to { box-shadow: var(--phone-settled-shadow); }
}

@keyframes selected-motion-finish {
  from { opacity: 0; }
  to { opacity: 0.01; }
}

@media (max-width: 700px) {
  .lesson-transformation.motion-is-idle .practice-phone-wrap,
  .lesson-transformation.motion-is-idle .practice-result > .visual-label,
  .lesson-transformation.motion-is-playing .practice-phone-wrap,
  .lesson-transformation.motion-is-playing .practice-result > .visual-label,
  .lesson-transformation.motion-is-complete .practice-phone-wrap,
  .lesson-transformation.motion-is-complete .practice-result > .visual-label {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .lesson-transformation.motion-is-playing .mobile-transfer-shaft {
    animation: selected-arrow-shaft 900ms cubic-bezier(0.4, 0, 0.2, 1) both;
  }

  .lesson-transformation.motion-is-playing .mobile-transfer-head {
    animation: selected-mobile-arrow-head 150ms ease-out 750ms both;
  }

  .lesson-transformation.motion-is-idle [data-phone-module],
  .lesson-transformation.motion-is-idle .practice-button,
  .lesson-transformation.motion-is-idle .built-note,
  .lesson-transformation.motion-is-playing [data-phone-module],
  .lesson-transformation.motion-is-playing .practice-button,
  .lesson-transformation.motion-is-playing .built-note {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .lesson-transformation.motion-is-idle .practice-phone::after {
    box-shadow: var(--phone-settled-shadow);
  }

  .lesson-transformation.motion-is-playing .practice-phone::after {
    animation: selected-mobile-phone-halo 800ms ease-in-out 800ms both;
  }

  .lesson-transformation.motion-is-playing .motion-sentinel {
    animation: selected-motion-finish 1ms linear 1599ms both;
  }

  .practice-phone .practice-progress {
    --practice-stage-marker-size: 12px;
    gap: 0;
    margin-block: 6px;
  }

  .practice-phone .practice-progress::before {
    top: calc(var(--practice-stage-marker-size) / 2);
  }

  .practice-phone .practice-progress li {
    padding-top: 15px;
    font-size: 6.2px;
    line-height: 1.1;
  }

  .practice-phone .practice-progress li::before {
    font-size: 7px;
  }

  .practice-phone {
    --phone-rest-shadow: 0 17px 28px rgba(12, 21, 38, 0.24);
    --phone-halo-shadow:
      0 0 0 3px rgba(38, 143, 219, 0.13),
      0 0 11px 1px rgba(128, 80, 218, 0.24);
    --phone-settled-shadow:
      0 0 0 1px rgba(38, 143, 219, 0.08),
      0 0 7px 1px rgba(128, 80, 218, 0.13);
  }

}

@media (max-width: 350px) {
  .practice-phone .practice-screen {
    padding: 12px 6px 5px;
  }

  .practice-phone .practice-topbar {
    padding-bottom: 2px;
  }

  .practice-phone .practice-progress {
    margin-block: 4px;
  }

  .practice-phone .practice-progress li {
    font-size: 5.6px;
  }

  .practice-phone .lesson-pattern {
    padding: 4px 5px;
  }

  .practice-phone .lesson-pattern small {
    font-size: 7px;
  }

  .practice-phone .lesson-pattern strong {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.15;
  }

  .practice-phone .question-title {
    margin: 5px 0 3px;
    font-size: 11px;
    line-height: 1.2;
  }

  .practice-phone .answer {
    min-height: 26px;
    margin-top: 3px;
    padding: 2px 3px;
    font-size: 8px;
    line-height: 1.2;
  }

  .practice-phone .answer svg {
    width: 10px;
  }

  .practice-phone .practice-button {
    margin-top: 4px;
    padding: 4px;
    font-size: 9px;
  }

  .practice-phone {
    --phone-halo-shadow:
      0 0 0 2px rgba(38, 143, 219, 0.12),
      0 0 7px rgba(128, 80, 218, 0.22);
    --phone-settled-shadow:
      0 0 0 1px rgba(38, 143, 219, 0.07),
      0 0 4px rgba(128, 80, 218, 0.12);
  }
}

@keyframes selected-mobile-arrow-head {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes selected-mobile-phone-halo {
  from, to { box-shadow: var(--phone-settled-shadow); }
  45% {
    box-shadow: 0 0 0 3px rgba(38, 143, 219, 0.12), 0 0 20px 4px rgba(128, 80, 218, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lesson-transformation.motion-is-idle *,
  .lesson-transformation.motion-is-playing * {
    animation: none !important;
  }

  .lesson-transformation.motion-is-idle .transfer-lines path.transfer-shaft,
  .lesson-transformation.motion-is-idle .transfer-lines path.transfer-tip,
  .lesson-transformation.motion-is-playing .transfer-lines path.transfer-shaft,
  .lesson-transformation.motion-is-playing .transfer-lines path.transfer-tip {
    opacity: 1;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .lesson-transformation.motion-is-idle .mobile-transfer-shaft,
  .lesson-transformation.motion-is-playing .mobile-transfer-shaft {
    opacity: 1;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .lesson-transformation.motion-is-idle .mobile-transfer-head,
  .lesson-transformation.motion-is-playing .mobile-transfer-head {
    opacity: 1;
    transform: scale(1);
  }

  .lesson-transformation.motion-is-idle [data-phone-module],
  .lesson-transformation.motion-is-idle .practice-button,
  .lesson-transformation.motion-is-idle .built-note,
  .lesson-transformation.motion-is-idle .practice-phone-wrap,
  .lesson-transformation.motion-is-idle .practice-result > .visual-label,
  .lesson-transformation.motion-is-playing [data-phone-module],
  .lesson-transformation.motion-is-playing .practice-button,
  .lesson-transformation.motion-is-playing .built-note,
  .lesson-transformation.motion-is-playing .practice-phone-wrap,
  .lesson-transformation.motion-is-playing .practice-result > .visual-label {
    opacity: 1;
    transform: none;
  }

  .lesson-transformation.motion-is-idle .practice-phone::after,
  .lesson-transformation.motion-is-playing .practice-phone::after {
    box-shadow: var(--phone-settled-shadow);
    animation: none !important;
  }
}

/* homepage-v3-units.css — consolidated in its original cascade position. */
/* Homepage Personalization V3: customizable advanced-speaking unit flow. */
.unit-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  margin-top: 54px;
  direction: rtl;
}

.unit-moment {
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(94px, auto) 390px;
  align-self: stretch;
}

.unit-moment-copy {
  text-align: center;
}

.unit-moment-copy h3 {
  margin: 0;
  color: var(--purple-deep);
  font-family: "Heebo", "Assistant", sans-serif;
  font-size: 24px;
  line-height: 1.25;
}

.unit-moment-copy p {
  max-width: 330px;
  margin: 8px auto 18px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.45;
}

.unit-flow-arrow {
  width: 54px;
  margin-bottom: 180px;
  fill: none;
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.app-preview {
  display: flex;
  min-width: 0;
  height: 390px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 43, 76, 0.09);
  color: #14233f;
  font-family: "Assistant", Arial, sans-serif;
  text-align: left;
}

.app-preview-heading,
.app-preview-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.app-preview-heading {
  justify-content: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid #e3e8f0;
  color: var(--blue);
  font-size: 19px;
}

.app-preview-heading svg,
.app-preview-kicker svg {
  width: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.saved-details dl {
  margin: 7px 0 0;
}

.saved-details dl > div {
  display: grid;
  min-height: 55px;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e6ebf2;
}

.saved-details dt {
  color: #6d7b92;
  font-size: 14px;
  font-weight: 600;
}

.saved-details dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.app-preview-action {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid #bcd2e8;
  border-radius: 10px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.app-preview-action svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-preview-kicker {
  color: #607087;
  font-size: 16px;
  font-weight: 700;
}

.app-preview h4 {
  margin: 8px 0 0;
  color: #102241;
  font-family: "Assistant", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.25;
}

.made-status {
  align-self: flex-start;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 5px;
  background: #eaf5ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.speaker-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 13px 0 15px;
}

.speaker-preview figure {
  position: relative;
  overflow: hidden;
  height: 148px;
  margin: 0;
  border-radius: 10px;
  background: #f4eee6;
}

.speaker-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.sound-bars {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  height: 23px;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
}

.sound-bars i {
  width: 3px;
  border-radius: 99px;
  background: var(--purple);
}

.sound-bars i:nth-child(1) { height: 7px; }

.sound-bars i:nth-child(2) { height: 15px; }

.sound-bars i:nth-child(3) { height: 20px; }

.sound-bars i:nth-child(4) { height: 11px; }

.speaking-preview > p {
  margin: 14px 0;
  color: #33435e;
  font-size: 15px;
  line-height: 1.55;
}

.speaking-preview > .speaking-tip {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid #b9dfc9;
  border-radius: 8px;
  background: #edf9f1;
  color: #285b3c;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.speaking-tip strong {
  color: #174a2d;
}

.personalized-disclosure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid #dbe3ec;
  border-radius: 9px;
  color: #596a82;
  font-size: 14px;
}

.personalized-disclosure b {
  color: var(--blue);
}

.app-preview-action-primary {
  min-height: 55px;
  margin-top: 12px;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #126bb0);
  color: #fff;
  box-shadow: 0 8px 18px rgba(22, 119, 191, 0.18);
}

.unit-flow-caption {
  margin: 42px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.personalization .scope-note {
  margin: 14px auto 0;
  padding-top: 0;
  border-top: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

@media (max-width: 1200px) {

  .unit-flow {
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
    gap: 10px;
  }

  .unit-flow-arrow {
    width: 40px;
  }

  .app-preview {
    padding: 16px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .speaking-preview {
    padding: 14px;
  }

  .speaking-preview > p:not(.speaking-tip) {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .speaking-preview > .speaking-tip {
    margin-bottom: 8px;
    padding: 8px;
  }

  .speaking-preview .personalized-disclosure {
    padding: 8px 10px;
  }

  .speaking-preview .app-preview-action-primary {
    min-height: 50px;
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  .unit-flow {
    display: flex;
    max-width: 560px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin-inline: auto;
  }

  .unit-moment {
    grid-template-rows: auto auto;
  }

  .unit-moment-copy p {
    max-width: none;
  }

  .unit-flow-arrow {
    align-self: center;
    margin: -2px 0;
    transform: rotate(-90deg);
  }

  .app-preview {
    height: auto;
    min-height: 390px;
  }
}

@media (max-width: 760px) {

  .unit-flow {
    margin-top: 40px;
  }

  .unit-moment-copy h3 {
    font-size: 23px;
  }

  .unit-moment-copy p {
    font-size: 17px;
  }

  .app-preview {
    min-height: 370px;
    padding: 17px;
  }

  .unit-flow-caption {
    margin-top: 34px;
    font-size: 18px;
  }

  .personalization .scope-note {
    align-items: flex-start;
    font-size: 15px;
    text-align: right;
  }
}

@media (max-width: 420px) {

  .speaker-preview figure {
    height: 136px;
  }
}

/* homepage-v3-tracks.css — consolidated in its original cascade position. */
/* Homepage Personalization V3: concise open learning tracks. */
.track-columns {
  margin-top: 54px;
}

.track {
  padding: 40px 58px 28px;
}

.track-heading {
  justify-content: center;
  text-align: right;
}

.track-heading > div {
  max-width: 430px;
}

.track-heading p {
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.55;
}

.audience-note {
  margin-top: 28px;
}

@media (max-width: 760px) {

  .track-columns {
    border-top: 0;
  }

  .track {
    min-height: 0;
    padding: 30px 0;
    border-top: 1px solid var(--border);
  }

  .track + .track {
    border-right: 0;
  }

  .track-heading {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: right;
  }

  .track-heading p {
    font-size: 17px;
  }

  .audience-note {
    margin-top: 18px;
  }
}
