: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 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;
}

.form-alternative {
  margin: -8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}

.form-alternative a {
  color: var(--blue);
}

.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-inner > a:not(.footer-brand) {
  margin-top: 20px;
  color: var(--blue);
}

.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-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;
  }

}
