:root {
  --color-primary: #e83c66;
  --color-secondary: #fcc031;
  --color-bg-dark: #0b1e28;
  --color-bg-soft: #f6f6f6;
  --color-text: #000000;
  --color-white: #ffffff;
  --color-muted: #737373;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;
  --radius-64: 64px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-family: "Open Sans", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  width: calc(100% - 32px);
}

.top-news {
  background: var(--color-primary);
  color: var(--color-white);
}

.top-news-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 44px;
}

.top-news-left {
  align-items: center;
  display: flex;
  font-size: 12px;
  gap: 8px;
  line-height: 18px;
}

.top-news-right {
  align-items: center;
  display: flex;
  gap: 16px;
}

.top-news-right a {
  align-items: center;
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  gap: 6px;
  line-height: 20px;
}

.top-news-close {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0;
}

.contact-strip {
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-bg-dark);
  color: #f6f6f6;
}

.contact-strip-inner {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 48px;
}

.contact-links {
  align-items: center;
  display: flex;
  gap: 24px;
}

.contact-links a {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  gap: 8px;
  line-height: 18px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-left: 24px;
}

.social-links a {
  align-items: center;
  border-radius: var(--radius-10);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.site-header {
  background: #fafafa;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 80px;
  padding: 16px 0;
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 40px;
  width: 128px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 32px;
}

.main-nav a {
  align-items: center;
  color: #000000;
  display: inline-flex;
  font-size: 14px;
  gap: 4px;
  line-height: 20px;
  padding: 10px 0;
}

.main-nav a.active {
  border-bottom: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 24px;
}

.btn-icon {
  align-items: center;
  background: #fcf0f3;
  border-radius: var(--radius-12);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  padding: 12px 24px;
}

.btn-login {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-12);
  color: var(--color-white);
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  gap: 6px;
  line-height: 20px;
  padding: 12px 24px;
}

.section-badge {
  align-items: center;
  background: var(--color-secondary);
  border-radius: var(--radius-24);
  color: #000000;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  line-height: 20px;
  padding: 6px 12px;
  width: fit-content;
}

.section-badge img {
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}

.section-heading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.section-heading h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 48px;
  margin: 0;
}

.section-heading p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
  max-width: 840px;
}

.pill-btn {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-64);
  color: var(--color-white);
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  letter-spacing: -0.4px;
  line-height: 28px;
  min-height: 52px;
  padding: 12px 24px;
}

.pill-btn img {
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.lessons-hero-section {
  margin-top: 32px;
}

.lessons-hero-layout {
  align-items: center;
  display: grid;
  gap: 126px;
  grid-template-columns: 486px 588px;
}

.lessons-hero-content {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 0;
  justify-content: center;
}

.lessons-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lessons-hero-content h1 {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -1.04px;
  line-height: 56px;
  margin: 0;
}

.lessons-hero-content p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.lessons-hero-content p span {
  font-weight: 600;
}

.lessons-hero-content .pill-btn {
  min-width: 240px;
  width: 240px;
}

.lessons-hero-image-wrap {
  border-radius: var(--radius-20);
  height: 846px;
  overflow: hidden;
  width: 588px;
}

.lessons-hero-image-wrap img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.lessons-marathon-hero-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 238, 113, 0.72) 0, rgba(255, 238, 113, 0) 38%),
    radial-gradient(circle at 4% 6%, rgba(243, 202, 192, 0.72) 0, rgba(243, 202, 192, 0) 34%),
    linear-gradient(105deg, #fff2e9 0%, #fff6da 48%, #fff87a 100%);
  margin-top: 0;
  overflow: hidden;
  position: relative;
}

.lessons-marathon-hero-section::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.5px);
  background-size: auto, 4px 4px;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
}

.lessons-marathon-hero-shell {
  min-height: clamp(620px, 44.5vw, 836px);
  position: relative;
  z-index: 1;
}

.lessons-marathon-hero-layout {
  align-items: center;
  display: grid;
  gap: clamp(20px, 2vw, 40px);
  grid-template-columns: minmax(760px, 0.92fr) minmax(720px, 1.08fr);
  max-width: none;
  min-height: clamp(620px, 44.5vw, 836px);
  padding-left: clamp(40px, 5.1vw, 98px);
  padding-right: 0;
  width: 100%;
}

.lessons-marathon-hero-content {
  gap: 36px;
  max-width: 900px;
  padding: 0;
  position: relative;
  z-index: 5;
}

.lessons-marathon-hero-copy {
  gap: 24px;
}

.lessons-marathon-hero-kicker {
  color: rgba(0, 0, 0, 0.48);
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.lessons-marathon-hero-content h1 {
  color: #151515;
  font-size: clamp(48px, 3.5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 0;
}

.lessons-marathon-hero-content h1 strong {
  font-weight: 800;
}

.lessons-marathon-hero-title-line {
  display: inline-block;
  white-space: nowrap;
}

.lessons-marathon-hero-content p:not(.lessons-marathon-hero-note):not(.lessons-marathon-hero-kicker) {
  color: #1f1f1f;
  font-size: clamp(20px, 1.55vw, 30px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
  margin: 0;
  max-width: 760px;
}

.lessons-marathon-hero-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lessons-marathon-hero-cta {
  background: #ffd42f;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(246, 189, 28, 0.22);
  color: #ffffff;
  font-size: clamp(24px, 1.55vw, 30px);
  font-weight: 500;
  gap: 16px;
  justify-content: flex-start;
  letter-spacing: -0.04em;
  min-height: 78px;
  min-width: 268px;
  padding: 12px 22px 12px 16px;
}

.lessons-marathon-hero-arrow {
  align-items: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  color: #151515;
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 0 !important;
  height: 48px;
  justify-content: center;
  line-height: 0 !important;
  position: relative;
  width: 48px;
}

.lessons-marathon-hero-arrow::before {
  border: solid currentColor;
  border-width: 0 4px 4px 0;
  content: "";
  display: block;
  height: 12px;
  margin-left: -3px;
  transform: rotate(-45deg);
  width: 12px;
}

.lessons-marathon-hero-note {
  align-items: center;
  color: rgba(0, 0, 0, 0.46);
  display: inline-flex;
  font-size: clamp(13px, 0.84vw, 16px);
  font-style: italic;
  font-weight: 600;
  gap: 8px;
  line-height: 1.25;
  margin: 0;
  position: relative;
}

.lessons-marathon-hero-note::before {
  border: 1.8px solid currentColor;
  border-radius: 50%;
  content: "";
  flex: 0 0 16px;
  height: 16px;
  opacity: 0.9;
  position: relative;
  width: 16px;
}

.lessons-marathon-hero-note::after {
  background:
    radial-gradient(circle, currentColor 0 1.4px, transparent 1.6px) 50% 50% / 16px 16px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 4px / 2px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 8px / 5px 2px no-repeat;
  content: "";
  height: 16px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
}

.lessons-marathon-hero-image-wrap {
  align-self: end;
  border-radius: 0;
  height: auto;
  justify-self: end;
  overflow: visible;
  position: relative;
  width: min(50.55vw, 950px);
  z-index: 1;
}

.lessons-marathon-hero-orbit {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  pointer-events: none;
  position: absolute;
  transform: translate3d(0, 0, 0);
}

.lessons-marathon-hero-orbit-1 {
  background: rgba(255, 190, 79, 0.86);
  bottom: -6%;
  right: 14%;
  width: 67.2%;
  z-index: 2;
}

.lessons-marathon-hero-orbit-2 {
  background: rgba(255, 226, 148, 0.46);
  bottom: -14%;
  right: 8%;
  width: 78.4%;
  z-index: 1;
}

.lessons-marathon-hero-orbit-3 {
  background: rgba(255, 242, 189, 0.5);
  bottom: -22%;
  right: 2%;
  width: 89.6%;
  z-index: 0;
}

.lessons-marathon-hero-image-wrap img {
  height: auto;
  object-fit: contain;
  position: relative;
  transform-origin: 54% 58%;
  width: 100%;
  z-index: 3;
}

.lesson-programs-section,
.lesson-method-section,
.lesson-level-section,
.lesson-tools-section,
.lesson-teachers-section,
.lesson-reviews-section,
.faq-contact-section {
  margin-top: 120px;
}

.lesson-programs-section {
  margin-top: 72px;
}

.lesson-programs-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lesson-programs-heading {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  text-align: center;
}

.lesson-programs-heading h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 48px;
  margin: 0;
}

.lesson-program-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lesson-program-image-wrap {
  border-radius: var(--radius-12);
  height: 460px;
  overflow: hidden;
  position: relative;
}

.lesson-program-image-wrap img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.image-badge {
  align-items: center;
  border-radius: var(--radius-24);
  color: var(--color-white);
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  left: 16px;
  line-height: 20px;
  padding: 6px 12px;
  position: absolute;
  top: 16px;
}

.image-badge img {
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}

.image-badge-pink {
  background: var(--color-primary);
}

.lesson-program-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lesson-program-content h3 {
  align-items: center;
  display: flex;
  font-size: 24px;
  font-weight: 600;
  gap: 12px;
  letter-spacing: -0.48px;
  line-height: 32px;
  margin: 0;
}

.program-icon {
  align-items: center;
  border-radius: var(--radius-12);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.program-icon img {
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.program-icon-pink {
  background: var(--color-primary);
}

.program-icon-yellow {
  background: var(--color-secondary);
}

.program-subtitle {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 28px;
  margin: 0;
  min-height: 56px;
}

.program-desc {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
  min-height: 112px;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.program-tags span {
  background: var(--color-primary);
  border-radius: var(--radius-8);
  color: var(--color-white);
  font-size: 14px;
  line-height: 20px;
  padding: 4px 10px;
}

.program-tags-yellow span {
  background: var(--color-secondary);
  color: #2c0a12;
}

.program-link {
  align-items: center;
  border-bottom: 1px solid var(--color-primary);
  color: var(--color-primary);
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  gap: 6px;
  letter-spacing: -0.4px;
  line-height: 28px;
  width: fit-content;
}

.program-link img {
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.lesson-method-video-wrap {
  border-radius: var(--radius-12);
  height: 675px;
  margin-top: 48px;
  overflow: hidden;
  position: relative;
}

.lesson-method-video-wrap::after {
  background: rgba(0, 0, 0, 0.4);
  content: "";
  inset: 0;
  position: absolute;
}

.lesson-method-video-wrap img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.lesson-method-video-wrap iframe,
.lesson-method-video-wrap video {
  border: 0;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.lesson-method-video-wrap.is-playing {
  background: #000000;
}

.lesson-method-video-wrap.is-playing::after,
.lesson-method-video-wrap.is-playing img,
.lesson-method-video-wrap.is-playing .video-play-btn {
  display: none;
}

.video-play-btn {
  align-items: center;
  background: var(--color-white);
  border: 0;
  border-radius: var(--radius-64);
  cursor: pointer;
  display: inline-flex;
  height: 120px;
  justify-content: center;
  left: 50%;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  z-index: 2;
}

.video-play-btn img {
  flex: 0 0 52px;
  height: 52px;
  width: 52px;
}

.level-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.level-cards-rail {
  display: contents;
}

.level-card {
  background: var(--color-white);
  border: 1px solid #e7e7e7;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 204px;
  padding: 24px;
}

.level-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.level-chip {
  background: var(--color-primary);
  border-radius: var(--radius-12);
  color: var(--color-white);
  display: inline-block;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  line-height: 32px;
  padding: 4px 12px;
}

.level-range {
  color: #737373;
  font-size: 18px;
  line-height: 28px;
}

.level-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  line-height: 32px;
  margin: 0;
}

.level-card p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.level-card-cta {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  justify-content: flex-start;
  min-height: 212px;
}

.level-cta-icon {
  align-items: center;
  background: #fcf0f3;
  border-radius: var(--radius-12);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.level-cta-icon img {
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.level-card-cta h3 {
  color: var(--color-white);
  max-width: 350px;
  width: 100%;
}

.level-card-cta a {
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-64);
  color: var(--color-primary);
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  gap: 6px;
  justify-content: center;
  line-height: 20px;
  min-height: 48px;
  padding: 12px 24px;
  width: 100%;
}

.level-card-cta a img {
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.level-footnote {
  color: var(--color-primary);
  font-size: 14px;
  font-style: italic;
  line-height: 20px;
  margin: 24px 0 0;
  text-align: center;
}

.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
}

.tool-row {
  align-items: center;
  border: 1px solid #e7e7e7;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 564px 1fr;
  overflow: hidden;
  padding: 32px;
}

.tool-row-reverse {
  grid-template-columns: 1fr 564px;
}

.tool-row-pink {
  background: #fcf0f3;
}

.tool-row-yellow {
  background: #fff5de;
}

.tool-row-blue {
  background: #f0f4f7;
}

.tool-media {
  border-radius: var(--radius-12);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  height: 268px;
  overflow: hidden;
  position: relative;
}

.tool-row:first-child .tool-media {
  height: 240px;
}

.tool-row:first-child .tool-media img {
  height: 564px;
  left: 0;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: -15px;
  width: 100%;
}

.tool-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tool-media-double {
  overflow: hidden;
}

.tool-media-main {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tool-media-overlay {
  height: 413px;
  left: -32px;
  object-fit: cover;
  position: absolute;
  top: -20px;
  width: 614px;
}

.tool-row-blue .tool-media {
  box-shadow: none;
}

.tool-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
}

.tool-content h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  line-height: 32px;
  margin: 0;
}

.tool-content p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.tools-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.lesson-teachers-section .section-heading,
.lesson-reviews-section .section-heading {
  margin-bottom: 48px;
}

.teachers-layout {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.teachers-cards-rail {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.teachers-card {
  background: #efe1d2;
  border-radius: var(--radius-12);
  height: 592px;
  overflow: hidden;
  position: relative;
}

.teachers-photo {
  height: 100%;
  object-fit: contain;
  object-position: center center;
  width: 100%;
}

.teacher-chip-icon {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-24);
  display: inline-flex;
  justify-content: center;
  left: 16px;
  padding: 6px 12px;
  position: absolute;
  top: 16px;
  width: 42px;
}

.teachers-info-box {
  background: #ffe49e;
  border-radius: var(--radius-12);
  bottom: -2px;
  box-sizing: border-box;
  color: var(--color-text);
  left: 16px;
  padding: 16px;
  position: absolute;
  right: 16px;
}

.teachers-info-box h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 28px;
  margin: 0 0 12px;
}

.teachers-role {
  color: #481320;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin: 0 0 12px;
}

.teachers-info-box p {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.teachers-side-wrap {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.teachers-side-panel {
  background: #ffe49e;
  border-radius: var(--radius-12);
  display: flex;
  flex-direction: column;
  min-height: 592px;
  overflow: hidden;
  padding: 32px;
}

.teachers-side-slides {
  min-width: 0;
}

.teachers-side-slide {
  display: none;
}

.teachers-side-slide.is-active {
  animation: teachers-side-slide-in 260ms ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.teachers-side-panel h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 28px;
  margin: 0 0 16px;
}

.teachers-side-panel ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.teachers-side-panel li {
  display: flex;
  font-size: 18px;
  gap: 12px;
  line-height: 28px;
}

.teachers-side-panel li img {
  flex: 0 0 20px;
  margin-top: 4px;
}

.teachers-nav-arrows {
  display: flex;
  gap: 4px;
  margin-top: 0;
}

.lesson-teachers-section.about-teachers-section {
  padding-top: 0;
}

.lesson-teachers-section.about-teachers-section .about-teachers-grid {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 380px;
  margin-top: 48px;
}

.lesson-teachers-section.about-teachers-section .teachers-cards-viewport {
  min-width: 0;
}

.lesson-teachers-section.about-teachers-section .teachers-cards-rail {
  display: block;
  min-width: 0;
}

.lesson-teachers-section.about-teachers-section .teachers-cards-page {
  display: none;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lesson-teachers-section.about-teachers-section .teachers-cards-page.is-active {
  animation: teachers-side-slide-in 260ms ease;
  display: grid;
}

.lesson-teachers-section.about-teachers-section .teacher-card {
  border-radius: var(--radius-12);
  height: 592px;
  overflow: hidden;
  position: relative;
}

.lesson-teachers-section.about-teachers-section .teacher-main-image {
  left: 0;
  max-width: none;
  position: absolute;
}

.lesson-teachers-section.about-teachers-section .teacher-card-left .teacher-main-image {
  height: 643px;
  left: -30px;
  top: -51px;
  width: 444px;
}

.lesson-teachers-section.about-teachers-section .teacher-card-right .teacher-main-image {
  height: 592px;
  left: -21px;
  top: 0;
  width: 408px;
}

.lesson-teachers-section.about-teachers-section .teachers-cards-page .teacher-card-left .teacher-main-image,
.lesson-teachers-section.about-teachers-section .teachers-cards-page .teacher-card-right .teacher-main-image,
.lesson-teachers-section.about-teachers-section .teachers-cards-page .teacher-main-image {
  height: 100%;
  left: 0;
  object-fit: contain;
  top: 0;
  width: 100%;
}

.lesson-teachers-section.about-teachers-section .teacher-chip-icon {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-24);
  display: inline-flex;
  justify-content: center;
  left: 16px;
  padding: 6px 12px;
  position: absolute;
  top: 16px;
  width: 42px;
}

.lesson-teachers-section.about-teachers-section .teacher-info-box {
  background: #ffe49e;
  border-radius: var(--radius-12);
  bottom: -2px;
  box-sizing: border-box;
  color: #000000;
  display: flex;
  flex-direction: column;
  height: 260px;
  left: 16px;
  overflow: hidden;
  padding: 16px;
  position: absolute;
  right: 16px;
}

.lesson-teachers-section.about-teachers-section .teacher-info-box h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 28px;
  margin: 0;
}

.lesson-teachers-section.about-teachers-section .teacher-role {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #481320;
  display: -webkit-box;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  margin: 10px 0 0;
  overflow: hidden;
}

.lesson-teachers-section.about-teachers-section .teacher-program {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-size: 16px;
  line-height: 24px;
  margin: 8px 0 0;
  overflow: hidden;
}

.lesson-teachers-section.about-teachers-section .teacher-info-box p {
  font-size: 16px;
  line-height: 24px;
  margin: 12px 0 0;
}

.lesson-teachers-section.about-teachers-section .teacher-info-excerpt {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  overflow: hidden;
}

.lesson-teachers-section.about-teachers-section .teachers-side-wrap {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lesson-teachers-section.about-teachers-section .teachers-side-panel {
  background: #ffe49e;
  border-radius: var(--radius-12);
  display: flex;
  flex-direction: column;
  min-height: 592px;
  overflow: hidden;
  padding: 28px;
}

.lesson-teachers-section.about-teachers-section .teachers-side-slide {
  display: none;
}

.lesson-teachers-section.about-teachers-section .teachers-side-slide.is-active {
  animation: teachers-side-slide-in 260ms ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lesson-teachers-section.about-teachers-section .teachers-side-static {
  gap: 28px;
}

@keyframes teachers-side-slide-in {
  from {
    opacity: 0;
    transform: translate3d(10px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.lesson-teachers-section.about-teachers-section .teachers-side-panel h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 28px;
  margin: 0 0 16px;
}

.lesson-teachers-section.about-teachers-section .teachers-side-panel ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lesson-teachers-section.about-teachers-section .teachers-side-panel li {
  display: flex;
  font-size: 18px;
  gap: 12px;
  line-height: 28px;
}

.lesson-teachers-section.about-teachers-section .teachers-side-panel li img {
  flex: 0 0 20px;
  margin-top: 4px;
}

.lesson-teachers-section.about-teachers-section .teachers-side-static-list {
  gap: 24px;
}

.lesson-teachers-section.about-teachers-section .teachers-side-static-list li {
  align-items: flex-start;
  font-size: 18px;
  gap: 14px;
  line-height: 30px;
}

.lesson-teachers-section.about-teachers-section .teachers-nav-arrows {
  display: flex;
  gap: 4px;
  margin-top: 0;
}

.teachers-arrow {
  align-items: center;
  background: transparent;
  border-radius: var(--radius-64);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  padding: 8px;
  transition: border-color 220ms ease, opacity 220ms ease, transform 220ms ease;
  width: 40px;
}

.teachers-arrow-left {
  border: 1px solid #454545;
}

.teachers-arrow-right {
  border: 1px solid #454545;
}

.teachers-arrow-left img {
  transform: rotate(180deg);
}

.teachers-arrow:disabled {
  border-color: #d1d1d1;
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.teachers-arrow:not(:disabled):active {
  transform: scale(0.96);
}

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 auto;
  width: 1200px;
}

.review-card {
  background: #f6f6f6;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-sm);
  min-height: 172px;
  padding: 24px;
  position: relative;
  width: 363px;
}

.review-card:nth-child(4) {
  margin-left: 47px;
}

.review-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.review-user {
  align-items: center;
  display: flex;
  gap: 12px;
}

.review-avatar {
  border-radius: 50%;
  flex: 0 0 52px;
  height: 52px;
  width: 52px;
}

.review-user-text {
  width: auto;
}

.review-user-text strong {
  display: block;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.review-user-text span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.review-meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-rating {
  align-items: center;
  background: var(--color-primary);
  border-radius: 30px;
  color: var(--color-white);
  display: inline-flex;
  font-size: 12px;
  gap: 3px;
  line-height: 18px;
  padding: 2px 12px;
}

.review-date {
  font-size: 12px;
  line-height: 18px;
}

.review-card p {
  font-size: 16px;
  line-height: 24px;
  margin: 24px 0 0;
  max-width: 315px;
  width: 100%;
}

.reviews-slider-arrows {
  display: none;
}

.reviews-slider-arrow {
  align-items: center;
  background: var(--color-white);
  border: 1px solid #454545;
  border-radius: var(--radius-64);
  color: #0b1e28;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: border-color 220ms ease, box-shadow 220ms ease, opacity 220ms ease, transform 220ms ease;
  width: 44px;
}

.reviews-slider-arrow:disabled {
  border-color: #d1d1d1;
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.reviews-slider-arrow:not(:disabled):active {
  transform: scale(0.96);
}

.lesson-reviews-section .section-heading h2 {
  margin: 0 auto;
  max-width: 667px;
}

.faq-contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.faq-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-intro .section-badge {
  align-self: flex-start;
}

.faq-intro h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 48px;
  margin: 0;
  max-width: 670px;
}

.faq-intro p {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  min-height: var(--faq-list-stable-height, auto);
  overflow-anchor: none;
}

.faq-item {
  border-bottom: 1px solid #d1d1d1;
  overflow: hidden;
  transition: background-color 260ms ease;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  color: #000000;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 400;
  justify-content: space-between;
  line-height: 28px;
  padding: 24px;
  text-align: left;
  width: 100%;
}

.faq-trigger span {
  flex: 1;
  min-width: 0;
  padding-right: 24px;
}

.faq-chevron {
  flex: 0 0 32px;
  height: 32px;
  width: 32px;
  transition: transform 460ms cubic-bezier(0.33, 0, 0.2, 1), opacity 260ms ease;
}

.faq-item.is-active .faq-chevron {
  transform: rotate(180deg);
}

.faq-list .faq-answer {
  max-height: 0;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, -6px, 0);
  transition:
    max-height 760ms cubic-bezier(0.33, 0, 0.2, 1),
    opacity 520ms ease,
    transform 760ms cubic-bezier(0.33, 0, 0.2, 1);
  will-change: max-height, opacity, transform;
}

.faq-answer-inner {
  color: #000000;
  font-size: 16px;
  line-height: 24px;
  opacity: 0;
  padding: 16px 20px 24px;
  transform: translate3d(0, -10px, 0);
  transition: transform 620ms cubic-bezier(0.33, 0, 0.2, 1), opacity 420ms ease;
}

.faq-answer-inner::before {
  background: #1f1f1f;
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 16px;
  opacity: 0.28;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 620ms cubic-bezier(0.33, 0, 0.2, 1), opacity 420ms ease;
}

.faq-answer-inner p {
  margin: 0;
}

.faq-item.is-active .faq-answer {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.faq-item.is-active .faq-answer-inner {
  opacity: 1;
  transition-delay: 90ms;
  transform: translate3d(0, 0, 0);
}

.faq-item.is-active .faq-answer-inner::before {
  opacity: 0.52;
  transform: scaleX(1);
}

.contact-form-section {
  background: var(--color-primary);
  border-radius: var(--radius-12);
  overflow: hidden;
  padding: 64px;
}

.contact-form-wrap {
  align-items: stretch;
  display: grid;
  gap: 48px;
  grid-template-columns: 446px 578px;
  justify-content: space-between;
}

.contact-card {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.contact-card-visual {
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-sm);
  height: 191px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.contact-card-visual-link {
  display: block;
  height: 100%;
}

.contact-card-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.contact-card h3 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 48px;
  margin: 24px 0 0;
}

.contact-card h4 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  line-height: 32px;
  margin: 6px 0 0;
}

.contact-card p {
  font-size: 18px;
  line-height: 28px;
  margin: 6px 0 0;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 23px;
}

.contact-cta {
  align-items: center;
  border-radius: var(--radius-64);
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  letter-spacing: -0.4px;
  line-height: 28px;
  min-height: 52px;
  width: 100%;
}

.contact-cta-primary {
  background: var(--color-white);
  color: #0b1e28;
}

.contact-cta-outline {
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-16);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.contact-row {
  display: grid;
  gap: 16px;
}

.contact-row.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-row-phone {
  gap: 24px;
}

.contact-form label,
.phone-stack label {
  color: #000000;
  display: flex;
  flex-direction: column;
  font-family: "SF Pro Text", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  line-height: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--color-white);
  border: 1px solid #d1d1d1;
  border-radius: var(--radius-6);
  color: #000000;
  font-family: "SF Pro Text", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  min-height: 40px;
  padding: 10px 12px;
}

.contact-form input::placeholder,
.contact-form select,
.contact-form textarea::placeholder {
  color: #b0b0b0;
}

.contact-form select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: none;
  padding-right: 32px;
}

.contact-form select::-ms-expand {
  display: none;
}

.phone-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-row {
  display: grid;
  gap: 6px;
  grid-template-columns: 71px minmax(0, 1fr);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.select-wrap img {
  height: 6px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.contact-form textarea {
  min-height: 113px;
  resize: none;
}

.contact-submit {
  align-items: center;
  background: var(--color-primary);
  border: 0;
  border-radius: var(--radius-64);
  color: var(--color-white);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  letter-spacing: -0.4px;
  line-height: 28px;
  min-height: 52px;
  padding: 12px 24px;
  width: 100%;
}

.contact-cta img,
.contact-submit img {
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.contact-note {
  align-items: center;
  color: #000000;
  display: inline-flex;
  font-family: "SF Pro Text", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  gap: 4px;
  justify-content: center;
  letter-spacing: -0.1504px;
  line-height: 20px;
  margin: 0;
}

.contact-note img {
  flex: 0 0 16px;
  height: 16px;
  width: 16px;
}

.site-footer {
  background: #0b1e28;
  margin-top: 120px;
  padding: 48px 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: grid;
  gap: 32px;
  grid-template-columns: 492px 1fr;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-newsletter p {
  color: #f6f6f6;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 279px;
}

.footer-newsletter-form label {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  font-family: "SF Pro Text", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  line-height: 20px;
}

.footer-newsletter-form input {
  background: transparent;
  border: 1px solid #b0b0b0;
  border-radius: var(--radius-6);
  color: var(--color-white);
  font-family: "SF Pro Text", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  min-height: 48px;
  padding: 14px 16px;
}

.footer-newsletter-form input::placeholder {
  color: #888888;
}

.footer-newsletter-btn {
  align-items: center;
  background: var(--color-primary);
  border: 0;
  border-radius: var(--radius-64);
  color: var(--color-white);
  cursor: pointer;
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  gap: 6px;
  justify-content: center;
  line-height: 20px;
  min-height: 44px;
  padding: 12px 24px;
  width: fit-content;
}

.footer-newsletter-note {
  color: #f6f6f6;
  font-size: 12px;
  line-height: 18px;
}

.footer-links-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 264px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h4 {
  color: #f6f6f6;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0 0 4px;
}

.footer-links-col a {
  color: #f6f6f6;
  font-size: 16px;
  line-height: 24px;
}

.footer-contact-link {
  align-items: center;
  display: flex;
  gap: 12px;
}

.footer-contact-icon {
  align-items: center;
  background: #344b63;
  border-radius: var(--radius-10);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.footer-contact-address {
  color: #f6f6f6;
  display: grid;
  gap: 0;
  grid-template-columns: 40px 1fr;
  line-height: 24px;
}

.footer-contact-address span:first-child {
  align-items: center;
  display: inline-flex;
  grid-row: 1 / 3;
}

.footer-contact-address span:last-child {
  display: block;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid #344b63;
  display: flex;
  justify-content: space-between;
  padding-top: 33px;
}

.footer-copy {
  color: #f6f6f6;
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  align-items: center;
  background: #344b63;
  border-radius: var(--radius-10);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #f6f6f6;
  font-size: 14px;
  line-height: 20px;
}

/* Shared motion system from homepage, scoped to lessons page */
body.homepage-effects {
  overflow-x: hidden;
}

.homepage-effects .site-wrapper {
  isolation: isolate;
  position: relative;
}

.homepage-effects .top-news-right a,
.homepage-effects .social-links a,
.homepage-effects .main-nav a,
.homepage-effects .btn-icon,
.homepage-effects .btn-login,
.homepage-effects .pill-btn,
.homepage-effects .program-link,
.homepage-effects .contact-cta,
.homepage-effects .contact-submit,
.homepage-effects .footer-newsletter-btn,
.homepage-effects .footer-social a,
.homepage-effects .footer-links-col a,
.homepage-effects .footer-legal a,
.homepage-effects .video-play-btn,
.homepage-effects .section-badge,
.homepage-effects .faq-chevron,
.homepage-effects .contact-form input,
.homepage-effects .contact-form select,
.homepage-effects .contact-form textarea {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    background-color 280ms ease,
    color 280ms ease,
    filter 320ms ease,
    opacity 280ms ease;
}

.homepage-effects .lesson-programs-section,
.homepage-effects .lesson-method-section,
.homepage-effects .lesson-level-section,
.homepage-effects .lesson-tools-section,
.homepage-effects .lesson-teachers-section,
.homepage-effects .lesson-reviews-section,
.homepage-effects .faq-contact-section {
  position: relative;
}

.homepage-effects .lessons-hero-section {
  --hero-bg-x: 0px;
  --hero-bg-y: 0px;
  --hero-content-x: 0px;
  --hero-content-y: 0px;
  position: relative;
}

.homepage-effects .lessons-hero-content {
  transform: translate3d(var(--hero-content-x), var(--hero-content-y), 0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.homepage-effects .lessons-hero-image-wrap img {
  transform: translate3d(var(--hero-bg-x), var(--hero-bg-y), 0);
  transform-origin: center center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
  will-change: transform;
}

.homepage-effects .lessons-marathon-hero-image-wrap {
  animation: lessonsMarathonHeroFloat 8.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: transform;
}

.homepage-effects .lessons-marathon-hero-orbit {
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.homepage-effects .lessons-marathon-hero-orbit-1 {
  transform: translate3d(var(--hero-orbit-1-x, 0), var(--hero-orbit-1-y, 0), 0);
}

.homepage-effects .lessons-marathon-hero-orbit-2 {
  transform: translate3d(var(--hero-orbit-2-x, 0), var(--hero-orbit-2-y, 0), 0);
}

.homepage-effects .lessons-marathon-hero-orbit-3 {
  transform: translate3d(var(--hero-orbit-3-x, 0), var(--hero-orbit-3-y, 0), 0);
}

.homepage-effects .lessons-marathon-hero-section::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0) 62%);
  content: "";
  height: 34vw;
  max-height: 560px;
  max-width: 560px;
  min-height: 260px;
  min-width: 260px;
  pointer-events: none;
  position: absolute;
  right: 7vw;
  top: 5vw;
  transform: translate3d(var(--hero-glow-x, 0), var(--hero-glow-y, 0), 0);
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 34vw;
  z-index: 0;
}

.homepage-effects .video-play-btn {
  animation: homePlayPulse 3.6s ease-in-out infinite;
}

.homepage-effects .pill-btn,
.homepage-effects .contact-cta,
.homepage-effects .contact-submit,
.homepage-effects .footer-newsletter-btn,
.homepage-effects .btn-login {
  overflow: hidden;
  position: relative;
}

.homepage-effects .pill-btn::before,
.homepage-effects .contact-cta::before,
.homepage-effects .contact-submit::before,
.homepage-effects .footer-newsletter-btn::before,
.homepage-effects .btn-login::before {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.24) 50%, rgba(255, 255, 255, 0) 82%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  transition: opacity 280ms ease;
}

.homepage-effects .lesson-program-card,
.homepage-effects .lesson-method-video-wrap,
.homepage-effects .tool-row,
.homepage-effects .level-card,
.homepage-effects .teachers-card,
.homepage-effects .teachers-side-panel,
.homepage-effects .review-card,
.homepage-effects .faq-item,
.homepage-effects .contact-card,
.homepage-effects .contact-form,
.homepage-effects .footer-newsletter,
.homepage-effects .footer-links-col {
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease,
    background-color 320ms ease;
}

.homepage-effects .review-card {
  --review-rest-x: 0px;
  animation: homeReviewFloat 8.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 30, 40, 0.04);
  box-shadow: 0 18px 32px rgba(11, 30, 40, 0.08);
  backdrop-filter: blur(8px);
  transform-origin: center bottom;
  will-change: transform;
}

.homepage-effects .review-card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 46%);
  content: "";
  inset: 1px;
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
}

.homepage-effects .review-card:nth-child(2n) {
  animation-delay: -2.4s;
}

.homepage-effects .review-card:nth-child(3n) {
  animation-delay: -4.8s;
}

.homepage-effects .review-card:nth-child(4n) {
  animation-duration: 10.2s;
}

.homepage-effects .review-card:nth-child(5n) {
  animation-delay: -6.1s;
}

.homepage-effects .lesson-program-image-wrap,
.homepage-effects .lesson-method-video-wrap,
.homepage-effects .tool-media,
.homepage-effects .contact-card-visual {
  overflow: hidden;
}

.homepage-effects .lesson-program-image-wrap img,
.homepage-effects .tool-media img,
.homepage-effects .contact-card-visual img {
  transform: scale(var(--media-rest-scale, 1));
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
  will-change: transform;
}

.homepage-effects .lesson-program-image-wrap img {
  --media-rest-scale: 1.02;
  --media-hover-scale: 1.06;
}

.homepage-effects .tool-media img {
  --media-hover-scale: 1.05;
}

.homepage-effects .contact-card-visual img {
  --media-hover-scale: 1.05;
}

.homepage-effects .tool-row {
  position: relative;
}

.homepage-effects .tool-row::after {
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 320ms ease;
}

.homepage-effects .tool-row-pink::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.homepage-effects .tool-row-yellow::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.homepage-effects .tool-row-blue::after {
  background: linear-gradient(135deg, rgba(252, 192, 49, 0.1), rgba(255, 255, 255, 0));
}

.homepage-effects .faq-list .faq-answer {
  max-height: 0;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, -6px, 0);
  transition:
    max-height 760ms cubic-bezier(0.33, 0, 0.2, 1),
    opacity 520ms ease,
    transform 760ms cubic-bezier(0.33, 0, 0.2, 1);
  will-change: max-height, opacity, transform;
}

.homepage-effects .faq-item.is-active .faq-answer,
.homepage-effects .faq-list details.is-open .faq-answer,
.homepage-effects .faq-list details[open] .faq-answer {
  max-height: 460px;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.homepage-effects .contact-form input:focus,
.homepage-effects .contact-form select:focus,
.homepage-effects .contact-form textarea:focus {
  border-color: rgba(232, 60, 102, 0.42);
  box-shadow: 0 0 0 4px rgba(232, 60, 102, 0.14);
  outline: none;
}

.homepage-effects.homepage-scrolled .site-header {
  box-shadow: 0 18px 38px rgba(11, 30, 40, 0.12);
}

.homepage-effects .fx-reveal {
  --reveal-translate-x: 0px;
  --reveal-translate-y: 38px;
  filter: blur(14px);
  opacity: 0;
  transform: translate3d(var(--reveal-translate-x), var(--reveal-translate-y), 0) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}

.homepage-effects .fx-reveal.fx-from-left {
  --reveal-translate-x: -48px;
  --reveal-translate-y: 0px;
}

.homepage-effects .fx-reveal.fx-from-right {
  --reveal-translate-x: 48px;
  --reveal-translate-y: 0px;
}

.homepage-effects .fx-reveal.fx-from-small {
  --reveal-translate-y: 22px;
}

.homepage-effects .fx-reveal.is-visible {
  filter: blur(0);
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .homepage-effects .top-news-right a:hover,
  .homepage-effects .social-links a:hover,
  .homepage-effects .teachers-detail-link:hover,
  .homepage-effects .footer-social a:hover,
  .homepage-effects .footer-links-col a:hover,
  .homepage-effects .footer-legal a:hover {
    transform: translateY(-2px);
  }

  .homepage-effects .teachers-detail-link:hover {
    background: #5e1a2c;
    box-shadow: 0 10px 16px rgba(72, 19, 32, 0.24);
  }

  .homepage-effects .main-nav a:hover {
    color: var(--color-primary);
  }

  .homepage-effects .pill-btn:hover,
  .homepage-effects .contact-cta:hover,
  .homepage-effects .contact-submit:hover,
  .homepage-effects .footer-newsletter-btn:hover,
  .homepage-effects .btn-login:hover {
    box-shadow: 0 30px 46px rgba(232, 60, 102, 0.24);
    transform: translateY(-4px);
  }

  .homepage-effects .btn-icon:hover {
    box-shadow: 0 18px 30px rgba(11, 30, 40, 0.12);
    transform: translateY(-3px);
  }

  .homepage-effects .pill-btn:hover::before,
  .homepage-effects .contact-cta:hover::before,
  .homepage-effects .contact-submit:hover::before,
  .homepage-effects .footer-newsletter-btn:hover::before,
  .homepage-effects .btn-login:hover::before {
    opacity: 1;
    transform: translateX(120%);
    transition: transform 720ms ease, opacity 240ms ease;
  }

  .homepage-effects .pill-btn:hover img,
  .homepage-effects .program-link:hover img,
  .homepage-effects .contact-cta:hover img,
  .homepage-effects .contact-submit:hover img,
  .homepage-effects .footer-newsletter-btn:hover img {
    transform: translateX(4px);
  }

  .homepage-effects .lesson-program-card:hover {
    transform: translateY(-10px);
  }

  .homepage-effects .lesson-program-card:hover .lesson-program-image-wrap img,
  .homepage-effects .tool-row:hover .tool-media img,
  .homepage-effects .contact-card:hover .contact-card-visual img {
    filter: saturate(1.05);
    transform: scale(var(--media-hover-scale, 1.05));
  }

  .homepage-effects .lesson-method-video-wrap:hover {
    box-shadow: 0 34px 58px rgba(11, 30, 40, 0.22);
    transform: translateY(-10px);
  }

  .homepage-effects .lesson-method-video-wrap:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.06);
  }

  .homepage-effects .lesson-method-video-wrap.is-playing:hover {
    box-shadow: none;
    transform: none;
  }

  .homepage-effects .tool-row:hover {
    box-shadow: 0 34px 56px rgba(11, 30, 40, 0.18);
    transform: translateY(-12px);
  }

  .homepage-effects .tool-row:hover::after {
    opacity: 1;
  }

  .homepage-effects .level-card:hover {
    box-shadow: 0 24px 38px rgba(11, 30, 40, 0.12);
    transform: translateY(-8px);
  }

  .homepage-effects .teachers-card:hover .teachers-photo {
    filter: saturate(1.04);
    transform: scale(1.03);
  }

  .homepage-effects .review-card:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 44px rgba(11, 30, 40, 0.12);
  }

  .homepage-effects .review-card:hover::before {
    opacity: 1;
  }

  .homepage-effects .faq-item:hover .faq-chevron,
  .homepage-effects .faq-item.is-active .faq-chevron,
  .homepage-effects .faq-list details:hover .faq-chevron,
  .homepage-effects .faq-list details.is-open .faq-chevron,
  .homepage-effects .faq-list details[open] .faq-chevron {
    transform: rotate(180deg) scale(1.05);
  }

  .homepage-effects .contact-card:hover,
  .homepage-effects .contact-form:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 960px) {
  .homepage-effects .reviews-grid.reviews-slider-mode {
    display: block;
    height: var(--reviews-slider-height, 252px);
    margin-top: 36px;
    position: relative;
  }

  .homepage-effects .reviews-grid.reviews-slider-mode .review-card {
    --review-rest-x: 0px;
    animation: none;
    left: -8px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translate3d(18%, 0, 0) scale(0.92);
    transition:
      transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 540ms ease,
      filter 540ms ease,
      box-shadow 540ms ease;
    width: 100%;
  }

  .homepage-effects .reviews-grid.reviews-slider-mode .review-card.is-active {
    box-shadow: 0 28px 46px rgba(11, 30, 40, 0.16);
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 3;
  }

  .homepage-effects .reviews-grid.reviews-slider-mode .review-card.is-prev {
    filter: blur(1px);
    opacity: 0.18;
    transform: translate3d(-16%, 10px, 0) scale(0.93);
    z-index: 1;
  }

  .homepage-effects .reviews-grid.reviews-slider-mode .review-card.is-next {
    filter: blur(1px);
    opacity: 0.28;
    transform: translate3d(16%, 10px, 0) scale(0.93);
    z-index: 2;
  }

  .homepage-effects .reviews-slider-dots {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 22px;
  }

  .homepage-effects .reviews-slider-dots[hidden] {
    display: none;
  }

  .homepage-effects .reviews-slider-dot {
    background: rgba(11, 30, 40, 0.16);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 10px;
    padding: 0;
    transition:
      width 320ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 320ms ease,
      transform 320ms ease;
    width: 10px;
  }

  .homepage-effects .reviews-slider-dot.is-active {
    background: var(--color-primary);
    width: 34px;
  }
}

@media (max-width: 640px) {
  .homepage-effects .reviews-grid.reviews-slider-mode {
    height: var(--reviews-slider-height, 236px);
    margin-top: 28px;
  }

  .homepage-effects .reviews-grid.reviews-slider-mode.reviews-slider-rail {
    -ms-overflow-style: none;
    display: flex;
    gap: 16px;
    height: auto;
    margin: 0 -8px;
    overscroll-behavior-x: contain;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 24px 8px;
    scroll-behavior: smooth;
    scroll-padding-inline: 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .homepage-effects .reviews-grid.reviews-slider-mode.reviews-slider-rail::-webkit-scrollbar {
    display: none;
  }

  .homepage-effects .reviews-grid.reviews-slider-mode.reviews-slider-rail .review-card {
    filter: none;
    flex: 0 0 294px;
    min-height: 160px;
    opacity: 1;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: none !important;
    width: 294px;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode {
    display: block;
    height: auto;
    margin: 40px -6px 0;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode > .review-card {
    display: none;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row {
    -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    display: flex;
    gap: 16px;
    overscroll-behavior-x: contain;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 20px 8px;
    scroll-behavior: smooth;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row::-webkit-scrollbar {
    display: none;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card {
    animation: none;
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 246, 246, 0.96) 100%);
    border: 1px solid rgba(209, 209, 209, 0.9);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.09);
    display: flex;
    filter: saturate(0.94);
    flex: 0 0 min(82vw, 312px);
    flex-direction: column;
    height: 228px;
    min-height: 228px;
    opacity: 1;
    padding: 12px;
    pointer-events: auto;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition: box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease, transform 220ms ease;
    transform: none !important;
    width: min(82vw, 312px);
    will-change: transform;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.2) 42%, rgba(255, 255, 255, 0) 100%);
    inset: 1px;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card::after {
    background:
      radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 34%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 58%, rgba(232, 60, 102, 0.08) 100%);
    border-radius: inherit;
    content: "";
    inset: 0;
    opacity: 0.82;
    pointer-events: none;
    position: absolute;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card p {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    margin-top: 16px;
    overflow: hidden;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail .review-card.is-active {
    border-color: rgba(232, 60, 102, 0.18);
    box-shadow: 0 18px 38px rgba(11, 30, 40, 0.15);
    filter: saturate(1.02);
    transform: translateY(-4px) scale(1.01) !important;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail .review-card.is-prev,
  .homepage-effects .reviews-grid.reviews-slider-rail .review-card.is-next {
    filter: saturate(0.96);
    opacity: 0.96;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail .review-user-text strong {
    font-size: 14px;
    line-height: 20px;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail .review-user-text span,
  .homepage-effects .reviews-grid.reviews-slider-rail .review-date,
  .homepage-effects .reviews-grid.reviews-slider-rail .review-card p {
    font-size: 12px;
    line-height: 18px;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail + .reviews-slider-dots {
    display: none !important;
  }
}

@keyframes homeReviewFloat {
  0%,
  100% {
    transform: translate3d(var(--review-rest-x, 0px), 0, 0) scale(1) rotate(0deg);
  }

  25% {
    transform: translate3d(calc(var(--review-rest-x, 0px) - 4px), -10px, 0) scale(1.008) rotate(-0.55deg);
  }

  50% {
    transform: translate3d(calc(var(--review-rest-x, 0px) + 4px), -16px, 0) scale(1.015) rotate(0.5deg);
  }

  75% {
    transform: translate3d(calc(var(--review-rest-x, 0px) - 3px), -8px, 0) scale(1.006) rotate(-0.3deg);
  }
}

@keyframes homePlayPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  }

  50% {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  }
}

@keyframes lessonsMarathonHeroFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -10px, 0) scale(1.012);
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-effects .lessons-hero-content,
  .homepage-effects .lessons-marathon-hero-image-wrap,
  .homepage-effects .lessons-hero-image-wrap img,
  .homepage-effects .fx-reveal {
    animation: none !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .homepage-effects .video-play-btn {
    animation: none !important;
    filter: none !important;
    transform: translate(-50%, -50%) !important;
    transition: none !important;
  }
}

@media (max-width: 1280px) {
  .lessons-hero-layout {
    gap: 48px;
    grid-template-columns: 1fr 1fr;
  }

  .lessons-hero-image-wrap {
    height: 720px;
    width: 100%;
  }

  .tool-row,
  .tool-row-reverse {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .tool-row .tool-media,
  .tool-row-reverse .tool-media {
    order: -1;
  }

  .tool-media,
  .tool-row:first-child .tool-media {
    height: 320px;
    width: 100%;
  }

  .tool-row:first-child .tool-media img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
  }

  .tool-media-overlay {
    inset: 0;
    width: 100%;
  }

  .teachers-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .teachers-cards-viewport {
    width: 100%;
  }

  .teachers-cards-rail {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    overflow: visible;
    padding: 0;
  }

  .teachers-cards-page,
  .teachers-cards-page.is-active {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teachers-photo {
    height: 100%;
    inset: 0;
    object-fit: contain;
    width: 100%;
  }

  .teachers-photo-left,
  .teachers-photo-right {
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
  }

  .teachers-info-box {
    bottom: -2px;
    right: 16px;
    top: auto;
    width: auto;
  }

  .teachers-side-wrap {
    align-self: start;
    grid-column: auto;
    width: auto;
  }

  .teachers-side-panel {
    min-height: 0;
  }

  .lesson-teachers-section.about-teachers-section .about-teachers-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .lesson-teachers-section.about-teachers-section .teachers-cards-viewport {
    width: 100%;
  }

  .lesson-teachers-section.about-teachers-section .teachers-cards-rail {
    display: block;
    gap: 16px;
    margin: 0;
    overflow: visible;
    padding: 0;
  }

  .lesson-teachers-section.about-teachers-section .teachers-cards-page,
  .lesson-teachers-section.about-teachers-section .teachers-cards-page.is-active {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-teachers-section.about-teachers-section .teachers-side-wrap {
    grid-column: auto;
    width: 100%;
  }

  .lesson-teachers-section.about-teachers-section .teachers-side-panel {
    min-height: 0;
  }

  .contact-form-wrap {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .lessons-hero-layout {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .lessons-hero-image-wrap {
    height: clamp(320px, 68vw, 560px);
    order: -1;
  }

  .lessons-hero-content {
    align-items: center;
    padding-top: 0;
    text-align: center;
  }

  .lessons-hero-copy {
    align-items: center;
  }

  .lessons-hero-content p {
    max-width: 760px;
  }

  .lessons-hero-content .pill-btn {
    margin: 0 auto;
  }

  .level-grid {
    grid-template-columns: 1fr;
  }

  .level-cards-rail {
    -ms-overflow-style: none;
    display: flex;
    gap: 16px;
    margin: 0 -8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 4px 8px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .level-cards-rail::-webkit-scrollbar {
    display: none;
  }

  .level-cards-rail > .level-card {
    flex: 0 0 clamp(240px, 76vw, 340px);
    min-height: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: clamp(240px, 76vw, 340px);
  }

  .lesson-programs-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .lesson-programs-heading {
    margin-bottom: 0;
  }

  .reviews-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .review-card {
    width: 100%;
  }

  .review-card:nth-child(4) {
    margin-left: 0;
  }

  .contact-row.two-col {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 24px);
  }

  .lessons-hero-layout {
    grid-template-columns: 1fr;
  }

  .lessons-hero-content h1 {
    font-size: 38px;
    line-height: 44px;
  }

  .lessons-hero-content p {
    font-size: 18px;
    line-height: 28px;
  }

  .section-heading h2,
  .faq-intro h2,
  .lesson-programs-heading h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .section-heading p,
  .program-desc,
  .level-card p,
  .tool-content p,
  .faq-intro p,
  .contact-card p {
    font-size: 16px;
    line-height: 24px;
  }

  .lesson-method-video-wrap {
    height: 420px;
  }

  .level-card,
  .level-card-cta,
  .review-card {
    min-height: 0;
  }

  .tool-content {
    padding: 20px;
  }

  .teachers-layout {
    grid-template-columns: 1fr;
    padding-bottom: 0;
    position: relative;
  }

  .teachers-cards-rail {
    -ms-overflow-style: none;
    display: flex;
    gap: 16px;
    grid-template-columns: none;
    margin: 0 -12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 12px 8px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .teachers-cards-rail::-webkit-scrollbar,
  .lesson-teachers-section.about-teachers-section .teachers-cards-page::-webkit-scrollbar {
    display: none;
  }

  .teachers-card {
    display: block;
    flex: 0 0 100%;
    background: #efe1d2;
    height: clamp(640px, 168vw, 720px);
    min-height: 0;
    overflow: visible;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%;
  }

  .teachers-photo,
  .teachers-photo-left,
  .teachers-photo-right {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    top: 0;
    width: 100%;
  }

  .teachers-info-box {
    bottom: -2px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 300px;
    left: -8px;
    margin: 0;
    min-height: 0;
    overflow: hidden;
    padding: 20px;
    position: absolute;
    right: -8px;
    top: auto;
    z-index: 2;
  }

  .teachers-info-box h3,
  .teachers-info-box p,
  .teachers-role {
    margin: 0;
  }

  .teachers-info-box h3 {
    font-size: 28px;
    line-height: 34px;
  }

  .teachers-role {
    font-size: 20px;
    line-height: 30px;
  }

  .teachers-info-box p {
    font-size: 19px;
    line-height: 30px;
  }

  .teachers-role,
  .teachers-info-box p:not(.teachers-role) {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  .teachers-role {
    -webkit-line-clamp: 2;
  }

  .teachers-info-box p:not(.teachers-role) {
    -webkit-line-clamp: 4;
  }

  .teachers-side-wrap {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    left: auto;
    margin-top: 12px;
    pointer-events: auto;
    position: static;
    right: auto;
    top: auto;
    width: 100%;
    z-index: auto;
  }

  .teachers-side-panel {
    display: flex;
    min-height: 0;
    order: 2;
    padding: 20px;
    width: 100%;
  }

  .teachers-nav-arrows,
  .lesson-teachers-section.about-teachers-section .teachers-nav-arrows {
    display: flex;
    gap: 12px;
    justify-content: center;
    order: 1;
    pointer-events: auto;
  }

  .teachers-cards-page,
  .teachers-cards-page.is-active {
    grid-template-columns: 1fr;
  }

  .lesson-teachers-section.about-teachers-section .about-teachers-grid {
    grid-template-columns: 1fr;
    padding-bottom: 0;
    position: relative;
  }

  .lesson-teachers-section.about-teachers-section .teachers-cards-rail {
    display: block;
    margin: 0;
    overflow: visible;
    padding: 0;
  }

  .lesson-teachers-section.about-teachers-section .teachers-cards-page,
  .lesson-teachers-section.about-teachers-section .teachers-cards-page.is-active {
    -ms-overflow-style: none;
    display: none;
    gap: 16px;
    grid-template-columns: none;
    margin: 0 -12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 12px 8px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .lesson-teachers-section.about-teachers-section .teachers-cards-page.is-active {
    animation: none;
    display: flex;
    opacity: 1;
    transform: none;
  }

  .lesson-teachers-section.about-teachers-section .teacher-card {
    background: #efe1d2;
    display: block;
    flex: 0 0 100%;
    height: clamp(660px, 172vw, 740px);
    min-height: 0;
    overflow: visible;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%;
  }

  .lesson-teachers-section.about-teachers-section .teacher-info-box {
    bottom: -2px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 300px;
    left: -8px;
    margin: 0;
    min-height: 0;
    overflow: hidden;
    padding: 22px;
    position: absolute;
    right: -8px;
    top: auto;
    z-index: 2;
  }

  .lesson-teachers-section.about-teachers-section .teacher-card-left .teacher-main-image,
  .lesson-teachers-section.about-teachers-section .teacher-card-right .teacher-main-image,
  .lesson-teachers-section.about-teachers-section .teachers-cards-page .teacher-main-image {
    height: 100%;
    inset: 0;
    left: 0;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    top: 0;
    width: 100%;
  }

  .lesson-teachers-section.about-teachers-section .teacher-info-box h3,
  .lesson-teachers-section.about-teachers-section .teacher-info-box p,
  .lesson-teachers-section.about-teachers-section .teacher-role,
  .lesson-teachers-section.about-teachers-section .teacher-program,
  .lesson-teachers-section.about-teachers-section .teacher-info-excerpt {
    -webkit-line-clamp: unset;
    display: block;
    margin: 0;
    overflow: visible;
  }

  .lesson-teachers-section.about-teachers-section .teacher-info-box h3 {
    font-size: 28px;
    line-height: 34px;
  }

  .lesson-teachers-section.about-teachers-section .teacher-role {
    font-size: 20px;
    line-height: 30px;
  }

  .lesson-teachers-section.about-teachers-section .teacher-program,
  .lesson-teachers-section.about-teachers-section .teacher-info-excerpt,
  .lesson-teachers-section.about-teachers-section .teacher-info-box p {
    font-size: 19px;
    line-height: 30px;
  }

  .lesson-teachers-section.about-teachers-section .teachers-side-wrap {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    left: auto;
    margin-top: 12px;
    pointer-events: auto;
    position: static;
    right: auto;
    top: auto;
    width: 100%;
    z-index: auto;
  }

  .lesson-teachers-section.about-teachers-section .teacher-program,
  .lesson-teachers-section.about-teachers-section .teacher-info-excerpt {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
  }

  .lesson-teachers-section.about-teachers-section .teacher-role {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
  }

  .lesson-teachers-section.about-teachers-section .teacher-program {
    -webkit-line-clamp: 2;
  }

  .lesson-teachers-section.about-teachers-section .teacher-info-excerpt {
    -webkit-line-clamp: 3;
  }

  .lesson-reviews-section .reviews-slider-arrows {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
  }

  .lesson-reviews-section .reviews-slider-arrows[hidden] {
    display: none;
  }

  .lesson-reviews-section .reviews-grid.reviews-slider-mode .review-card.is-prev,
  .lesson-reviews-section .reviews-grid.reviews-slider-mode .review-card.is-next {
    filter: none;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.96);
  }

  .lesson-teachers-section.about-teachers-section .teachers-side-panel {
    display: flex;
    min-height: 0;
    order: 2;
    padding: 20px;
    width: 100%;
  }

  .contact-form-section {
    padding: 20px;
  }

  .contact-card h3 {
    font-size: 36px;
    line-height: 36px;
  }

  .contact-card h4 {
    font-size: 20px;
    line-height: 28px;
  }

  .contact-card p {
    font-size: 14px;
    line-height: 20px;
  }

  .contact-cta,
  .contact-submit {
    font-size: 18px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 1280px) {
  .lessons-marathon-hero-layout {
    gap: 28px !important;
    grid-template-columns: minmax(640px, 0.92fr) minmax(560px, 1.08fr) !important;
    padding-left: clamp(28px, 4vw, 56px) !important;
  }

  .lessons-marathon-hero-image-wrap {
    width: min(52vw, 820px) !important;
  }
}

@media (max-width: 1080px) {
  .lessons-marathon-hero-shell,
  .lessons-marathon-hero-layout {
    min-height: 0 !important;
  }

  .lessons-marathon-hero-layout {
    grid-template-columns: 1fr !important;
    padding: 56px clamp(20px, 5vw, 56px) 0 !important;
  }

  .lessons-marathon-hero-content {
    align-items: center !important;
    max-width: 780px !important;
    text-align: center !important;
  }

  .lessons-marathon-hero-copy {
    align-items: center !important;
  }

  .lessons-marathon-hero-actions {
    align-items: center !important;
  }

  .lessons-marathon-hero-image-wrap {
    justify-self: center !important;
    order: 0 !important;
    width: min(100%, 820px) !important;
  }
}

@media (max-width: 768px) {
  .lessons-marathon-hero-layout {
    padding: 42px 18px 0 !important;
  }

  .lessons-marathon-hero-content {
    gap: 28px !important;
  }

  .lessons-marathon-hero-content h1 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1.04;
  }

  .lessons-marathon-hero-title-line {
    white-space: normal !important;
  }

  .lessons-marathon-hero-content p:not(.lessons-marathon-hero-note):not(.lessons-marathon-hero-kicker) {
    font-size: clamp(19px, 5vw, 24px);
    line-height: 1.12;
  }

  .lessons-marathon-hero-cta {
    font-size: 24px;
    min-height: 68px;
    min-width: 238px;
  }

  .lessons-marathon-hero-arrow {
    flex-basis: 42px;
    height: 42px;
    width: 42px;
  }
}

body.homepage-effects .reviews-section .review-card {
  backdrop-filter: none;
  background: #ffffff;
  border-color: rgba(11, 30, 40, 0.14);
  box-shadow: 0 16px 34px rgba(11, 30, 40, 0.12);
  color: #151515;
}

body.homepage-effects .reviews-section .review-card::before,
body.homepage-effects .reviews-section .review-card::after {
  opacity: 0;
}

body.homepage-effects .reviews-section .review-card p,
body.homepage-effects .reviews-section .review-user-text strong {
  color: #151515;
  opacity: 1;
}

body.homepage-effects .reviews-section .review-user-text span,
body.homepage-effects .reviews-section .review-date {
  color: #454545;
  opacity: 1;
}

body.homepage-effects .reviews-section .reviews-grid.reviews-slider-mode .review-card.is-prev,
body.homepage-effects .reviews-section .reviews-grid.reviews-slider-mode .review-card.is-next {
  filter: none;
  opacity: 0.78;
}

body.homepage-effects .reviews-section .reviews-grid.reviews-slider-rail .review-card.is-prev,
body.homepage-effects .reviews-section .reviews-grid.reviews-slider-rail .review-card.is-next,
body.homepage-effects .reviews-section .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card {
  backdrop-filter: none;
  background: #ffffff;
  filter: none;
  opacity: 1;
}

@media (max-width: 768px) {
  body.homepage-effects,
  body.homepage-effects main,
  body.homepage-effects main > section,
  body.homepage-effects .lesson-tools-section,
  body.homepage-effects .lesson-tools-section .container,
  body.homepage-effects .tools-stack,
  body.homepage-effects .tool-row {
    overflow-y: visible !important;
    touch-action: pan-y pinch-zoom;
  }

  body.homepage-effects,
  body.homepage-effects .site-wrapper,
  body.homepage-effects main,
  body.homepage-effects main > section {
    overflow-x: clip !important;
  }

  body.homepage-effects .fx-reveal {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  body.homepage-effects .lesson-tools-section .section-heading,
  body.homepage-effects .lesson-tools-section .section-heading > *,
  body.homepage-effects .tools-stack,
  body.homepage-effects .tool-row {
    transform: none !important;
  }

  body.homepage-effects .tool-row {
    overflow: visible !important;
  }

  body.homepage-effects .tool-media {
    overflow: clip !important;
    touch-action: pan-y pinch-zoom;
  }

  .level-cards-rail,
  .homepage-effects .reviews-grid.reviews-slider-mode.reviews-slider-rail,
  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row {
    -webkit-overflow-scrolling: auto;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    overscroll-behavior: auto;
    padding-left: 0;
    padding-right: 0;
    scroll-snap-type: none;
    scrollbar-width: auto;
    touch-action: pan-y pinch-zoom;
  }

  .level-cards-rail {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .lesson-teachers-section,
  .lesson-teachers-section .teachers-cards-rail,
  .lesson-teachers-section .teachers-cards-rail *,
  .lesson-teachers-section.about-teachers-section .teachers-cards-page,
  .lesson-teachers-section.about-teachers-section .teachers-cards-page * {
    touch-action: pan-x pan-y pinch-zoom;
  }

  .level-cards-rail > .level-card {
    flex: none;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    width: 100%;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode {
    display: grid;
    gap: 16px;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-rows {
    display: contents;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .homepage-effects .reviews-grid.reviews-slider-rail.reviews-compact-mode .reviews-compact-row .review-card {
    flex: none;
    height: auto;
    min-height: 0;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    width: 100%;
  }

}
