/* ==========================================================================
   KarMuqabla Landing Pages: Parents & Teachers Campaigns
   Scoped to .km-landing-parent-wrap and .km-landing-teacher-wrap
   ========================================================================== */

/* Animations */
@keyframes km-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.15); }
}

@keyframes km-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes km-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes km-bob-tilt {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-7deg) translateY(-10px); }
}

@keyframes km-bob-tutor-1 {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-12px); }
}

@keyframes km-bob-tutor-2 {
  0%, 100% { transform: rotate(4deg) translateY(-28px); }
  50% { transform: rotate(4deg) translateY(-40px); }
}

@keyframes km-glow {
  0%, 100% {
    box-shadow: 0 30px 60px -24px rgba(10, 58, 54, 0.6), 0 0 0 0 rgba(94, 234, 212, 0);
  }
  50% {
    box-shadow: 0 30px 60px -24px rgba(10, 58, 54, 0.6), 0 0 0 6px rgba(94, 234, 212, 0.28);
  }
}

@keyframes km-kb {
  from { transform: scale(1.04); }
  to { transform: scale(1.14); }
}

/* Master Wrappers & Base Typography Isolation */
body.km-landing-page {
  margin: 0;
  padding: 0;
  background: #FFFFFF;
}

.km-landing-parent-wrap,
.km-landing-teacher-wrap {
  position: relative;
  width: 100%;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #333333;
  background: radial-gradient(45% 900px at 0% 0%, rgba(20, 174, 158, 0.20), transparent 70%),
              radial-gradient(40% 800px at 100% 8%, rgba(56, 189, 248, 0.16), transparent 70%),
              radial-gradient(45% 900px at 100% 55%, rgba(167, 139, 250, 0.12), transparent 70%),
              radial-gradient(45% 900px at 0% 70%, rgba(94, 234, 212, 0.18), transparent 70%),
              linear-gradient(180deg, #F3FBF9 0%, #EEF7FA 50%, #F4F8F6 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.km-landing-parent-wrap *,
.km-landing-parent-wrap *::before,
.km-landing-parent-wrap *::after,
.km-landing-teacher-wrap *,
.km-landing-teacher-wrap *::before,
.km-landing-teacher-wrap *::after {
  box-sizing: border-box;
}

.km-landing-parent-wrap h1,
.km-landing-parent-wrap h2,
.km-landing-parent-wrap h3,
.km-landing-parent-wrap h4,
.km-landing-teacher-wrap h1,
.km-landing-teacher-wrap h2,
.km-landing-teacher-wrap h3,
.km-landing-teacher-wrap h4 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  color: #1D1D1B;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.03em;
}

.km-landing-parent-wrap p,
.km-landing-teacher-wrap p {
  text-wrap: pretty;
  margin: 0;
}

.km-landing-parent-wrap a,
.km-landing-teacher-wrap a {
  color: #0B7A6E;
  text-decoration: none;
}

.km-landing-parent-wrap a:focus-visible,
.km-landing-parent-wrap summary:focus-visible,
.km-landing-teacher-wrap a:focus-visible,
.km-landing-teacher-wrap summary:focus-visible {
  outline: 3px solid #0B7A6E;
  outline-offset: 3px;
}

.km-landing-parent-wrap img,
.km-landing-teacher-wrap img {
  display: block;
  max-width: 100%;
}

.km-landing-parent-wrap .sr,
.km-landing-teacher-wrap .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout Container */
.km-landing-parent-wrap .wrap,
.km-landing-teacher-wrap .wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* Top Announcement Banner */
.km-landing-parent-wrap .km-top-banner,
.km-landing-teacher-wrap .km-top-banner {
  display: block;
  background: #E67E22;
  color: #1D1D1B;
  text-align: center;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.km-landing-parent-wrap .km-top-banner:hover,
.km-landing-teacher-wrap .km-top-banner:hover {
  opacity: 0.95;
  color: #1D1D1B;
}

/* Navigation */
.km-landing-parent-wrap .km-nav,
.km-landing-teacher-wrap .km-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-block: 16px;
  position: relative;
}

.km-landing-parent-wrap .km-nav-brand,
.km-landing-teacher-wrap .km-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #1D1D1B;
  min-height: 44px;
}

.km-landing-parent-wrap .km-nav-logo,
.km-landing-teacher-wrap .km-nav-logo {
  width: 34px;
  height: 34px;
  filter: brightness(0);
}

.km-landing-parent-wrap .km-nav-toggle,
.km-landing-teacher-wrap .km-nav-toggle {
  display: none;
}

.km-landing-parent-wrap .km-nav-menu,
.km-landing-teacher-wrap .km-nav-menu {
  display: flex;
  align-items: center;
}

.km-landing-parent-wrap .km-nav-links,
.km-landing-teacher-wrap .km-nav-links {
  display: flex;
  align-items: center;
  gap: 8px 24px;
  font-size: 15px;
  font-weight: 600;
}

.km-landing-parent-wrap .km-nav-link,
.km-landing-teacher-wrap .km-nav-link {
  color: #1D1D1B;
  text-decoration: none;
  padding: 8px 0;
  transition: color 150ms ease;
}

.km-landing-parent-wrap .km-nav-link:hover,
.km-landing-teacher-wrap .km-nav-link:hover {
  color: #0B7A6E;
}

.km-landing-parent-wrap .km-nav .cta.sm,
.km-landing-teacher-wrap .km-nav .cta.sm {
  margin-left: 4px;
}

/* Buttons and Links */
.km-landing-parent-wrap .cta,
.km-landing-teacher-wrap .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  box-sizing: border-box;
  background: #14AE9E;
  color: #1D1D1B;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(20, 174, 158, 0.55);
  transition: transform 140ms ease-out, box-shadow 140ms ease-out;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: none;
  cursor: pointer;
}

.km-landing-parent-wrap .cta::after,
.km-landing-teacher-wrap .cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 700ms ease;
}

.km-landing-parent-wrap .cta:hover,
.km-landing-teacher-wrap .cta:hover {
  color: #1D1D1B;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(20, 174, 158, 0.65);
}

.km-landing-parent-wrap .cta:hover::after,
.km-landing-teacher-wrap .cta:hover::after {
  transform: translateX(130%);
}

.km-landing-parent-wrap .cta.sm,
.km-landing-teacher-wrap .cta.sm {
  min-height: 43px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  box-shadow: 0 4px 14px -4px rgba(20, 174, 158, 0.55);
}

.km-landing-parent-wrap .cta.dark,
.km-landing-teacher-wrap .cta.dark {
  background: #1D1D1B;
  color: #FFFFFF;
  box-shadow: 0 12px 28px -8px rgba(29, 29, 27, 0.45);
}

.km-landing-parent-wrap .cta.dark:hover,
.km-landing-teacher-wrap .cta.dark:hover {
  color: #FFFFFF;
}

.km-landing-parent-wrap .line,
.km-landing-teacher-wrap .line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  box-sizing: border-box;
  color: #1D1D1B;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1.5px solid #1D1D1B;
  text-decoration: none;
  background: #FFFFFF;
  transition: background-color 200ms ease, transform 140ms ease;
  cursor: pointer;
}

.km-landing-parent-wrap .line:hover,
.km-landing-teacher-wrap .line:hover {
  color: #1D1D1B;
  background: #F0F0F0;
  transform: translateY(-2px);
}

/* App Store Badges */
.km-landing-parent-wrap .store,
.km-landing-teacher-wrap .store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50px;
  box-sizing: border-box;
  background: #1D1D1B;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 6px 16px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  transition: transform 140ms ease, opacity 140ms ease;
}

.km-landing-parent-wrap .store strong,
.km-landing-teacher-wrap .store strong {
  font-size: 17px;
  font-weight: 800;
}

.km-landing-parent-wrap .store:hover,
.km-landing-teacher-wrap .store:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}

.km-landing-parent-wrap .store.ghosty,
.km-landing-teacher-wrap .store.ghosty {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.km-landing-parent-wrap .store.ghosty:hover,
.km-landing-teacher-wrap .store.ghosty:hover {
  background: rgba(255, 255, 255, 0.2);
}

.km-landing-parent-wrap .km-store-row,
.km-landing-teacher-wrap .km-store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

/* Sticker Badges */
.km-landing-parent-wrap .sticker,
.km-landing-teacher-wrap .sticker {
  background: #E67E22;
  color: #1D1D1B;
  font-weight: 800;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 20px -4px rgba(230, 126, 34, 0.5);
}

/* Phone Mockup */
.km-landing-parent-wrap .phone,
.km-landing-teacher-wrap .phone {
  width: 100%;
  max-width: 250px;
  height: auto !important;
  aspect-ratio: 9 / 18.5;
  box-sizing: border-box;
  background: #1D1D1B;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 24px 50px rgba(29, 29, 27, 0.18);
}

.km-landing-parent-wrap .screen,
.km-landing-teacher-wrap .screen {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 28px;
  background: linear-gradient(160deg, #E9FAF7, #E6F3FB);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-weight: 800;
  color: #333333;
  font-size: 15px;
  line-height: 1.35;
}

/* Aurora Dark Containers & Blobs */
.km-landing-parent-wrap .aurora-dark,
.km-landing-teacher-wrap .aurora-dark {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  background: radial-gradient(55% 75% at 12% 15%, rgba(20, 174, 158, 0.75), transparent 62%),
              radial-gradient(45% 65% at 88% 20%, rgba(56, 189, 248, 0.45), transparent 60%),
              radial-gradient(50% 60% at 70% 110%, rgba(94, 234, 212, 0.55), transparent 62%),
              radial-gradient(40% 50% at 35% 95%, rgba(167, 139, 250, 0.30), transparent 60%),
              linear-gradient(160deg, #0B3A36 0%, #0A2A33 100%);
}

.km-landing-parent-wrap .curve-b,
.km-landing-teacher-wrap .curve-b {
  border-radius: 0 0 50% 50% / 0 0 clamp(36px, 6vw, 90px) clamp(36px, 6vw, 90px);
}

.km-landing-parent-wrap .curve-t,
.km-landing-teacher-wrap .curve-t {
  border-radius: 50% 50% 0 0 / clamp(36px, 6vw, 90px) clamp(36px, 6vw, 90px) 0 0;
}

.km-landing-parent-wrap .curve-tb,
.km-landing-teacher-wrap .curve-tb {
  border-radius: 50% / clamp(36px, 6vw, 90px);
}

.km-landing-parent-wrap .bgimg,
.km-landing-teacher-wrap .bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  mix-blend-mode: luminosity;
  animation: km-kb 22s ease-in-out infinite alternate;
  pointer-events: none;
}

.km-landing-parent-wrap .blob,
.km-landing-teacher-wrap .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
  animation: km-drift 18s ease-in-out infinite alternate;
}

.km-landing-parent-wrap .blob.b2,
.km-landing-teacher-wrap .blob.b2 {
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

.km-landing-parent-wrap .float,
.km-landing-teacher-wrap .float {
  animation: km-bob 6s ease-in-out infinite;
}

.km-landing-parent-wrap .float.f2,
.km-landing-teacher-wrap .float.f2 {
  animation-duration: 7.5s;
  animation-delay: -2s;
}

/* Card Lift & Tilt Effects */
.km-landing-parent-wrap .lift,
.km-landing-teacher-wrap .lift {
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.km-landing-parent-wrap .lift:hover,
.km-landing-teacher-wrap .lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -24px rgba(10, 58, 54, 0.42);
}

.km-landing-parent-wrap .tilt,
.km-landing-teacher-wrap .tilt {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.km-landing-parent-wrap .tilt:hover,
.km-landing-teacher-wrap .tilt:hover {
  transform: rotate(-2deg) translateY(-8px);
}

.km-landing-parent-wrap .ph,
.km-landing-teacher-wrap .ph {
  overflow: hidden;
  border-radius: 14px;
}

.km-landing-parent-wrap .ph img,
.km-landing-teacher-wrap .ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.km-landing-parent-wrap .lift:hover .ph img,
.km-landing-teacher-wrap .lift:hover .ph img,
.km-landing-parent-wrap .km-carousel-item:hover .ph img,
.km-landing-teacher-wrap .km-carousel-item:hover .ph img {
  transform: scale(1.06);
}

.km-landing-parent-wrap .ico,
.km-landing-teacher-wrap .ico {
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.km-landing-parent-wrap .km-carousel-item:hover .ico,
.km-landing-teacher-wrap .km-carousel-item:hover .ico {
  transform: rotate(-8deg) scale(1.1);
}

/* ==========================================================================
   Hero Section Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-hero,
.km-landing-teacher-wrap .km-hero {
  position: relative;
}

.km-landing-parent-wrap .km-hero-bgimg,
.km-landing-teacher-wrap .km-hero-bgimg {
  object-position: 70% 30%;
}

.km-landing-parent-wrap .km-hero-overlay,
.km-landing-teacher-wrap .km-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 40, 38, 0.92) 0%, rgba(8, 40, 38, 0.78) 45%, rgba(8, 40, 38, 0.5) 100%);
}

.km-landing-parent-wrap .km-blob-1,
.km-landing-teacher-wrap .km-blob-1 {
  width: 460px;
  height: 460px;
  left: -100px;
  top: -160px;
  background: #14AE9E;
}

.km-landing-parent-wrap .km-blob-2,
.km-landing-teacher-wrap .km-blob-2 {
  width: 420px;
  height: 420px;
  right: -80px;
  bottom: -180px;
  background: #38BDF8;
}

.km-landing-parent-wrap .km-hero-grid,
.km-landing-teacher-wrap .km-hero-grid {
  position: relative;
  padding-block: clamp(48px, 7vw, 104px) clamp(72px, 9vw, 128px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px;
  align-items: center;
}

.km-landing-parent-wrap .km-hero-content,
.km-landing-teacher-wrap .km-hero-content {
  position: relative;
  z-index: 2;
}

.km-landing-parent-wrap .km-hero-title,
.km-landing-teacher-wrap .km-hero-title {
  color: #FFFFFF;
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.03;
  margin-bottom: 20px;
}

.km-landing-parent-wrap .km-hero-subtitle,
.km-landing-teacher-wrap .km-hero-subtitle {
  margin: 0 0 30px;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 26em;
}

.km-landing-parent-wrap .km-hero-actions,
.km-landing-teacher-wrap .km-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 26px;
}

.km-landing-parent-wrap .km-hero-price-link,
.km-landing-teacher-wrap .km-hero-price-link {
  color: #FFFFFF;
  font-weight: 700;
  padding: 10px 4px;
}

.km-landing-parent-wrap .km-hero-price-link:hover,
.km-landing-teacher-wrap .km-hero-price-link:hover {
  color: #5EEAD4;
}

.km-landing-parent-wrap .km-hero-app-label,
.km-landing-teacher-wrap .km-hero-app-label {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.km-landing-parent-wrap .km-hero-mockups,
.km-landing-teacher-wrap .km-hero-mockups {
  position: relative;
  min-height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 100%;
}

.km-landing-parent-wrap .km-phone-float-1 {
  width: 230px;
  z-index: 1;
}

.km-landing-parent-wrap .km-phone-float-2 {
  position: absolute;
  left: calc(50% - 215px);
  bottom: 24px;
  width: 148px;
  z-index: 3;
  transform: rotate(-7deg);
  transform-origin: center center;
  animation: km-bob-tilt 7.5s ease-in-out infinite !important;
}

.km-landing-parent-wrap .km-phone-float-2 .phone {
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 20px 45px rgba(10, 25, 25, 0.35);
}

.km-landing-parent-wrap .km-phone-float-2 .screen {
  border-radius: 20px;
  padding: 12px 8px;
  font-size: 13px;
  line-height: 1.3;
}

.km-landing-parent-wrap .km-hero-sticker {
  position: absolute;
  left: calc(50% + 72px);
  top: 36px;
  width: 96px;
  height: 96px;
  font-size: 18px;
  line-height: 1.08;
  transform: rotate(10deg);
  z-index: 4;
}

.km-landing-teacher-wrap .km-hero-mockups-tutor-pair {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  position: relative;
}

.km-landing-teacher-wrap .km-phone-tutor-1 {
  width: 190px;
  transform: rotate(-4deg);
  transform-origin: bottom center;
  animation: km-bob-tutor-1 6s ease-in-out infinite !important;
}

.km-landing-teacher-wrap .km-phone-tutor-2 {
  width: 190px;
  transform: rotate(4deg) translateY(-28px);
  transform-origin: bottom center;
  animation: km-bob-tutor-2 7.5s ease-in-out infinite !important;
}

.km-landing-teacher-wrap .km-hero-sticker-teacher {
  position: absolute;
  left: calc(50% + 140px);
  top: 15px;
  width: 96px;
  height: 96px;
  font-size: 18px;
  line-height: 1.08;
  transform: rotate(10deg);
  z-index: 4;
}

/* ==========================================================================
   Numbers Section Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-numbers-section,
.km-landing-teacher-wrap .km-numbers-section {
  padding-block: clamp(36px, 5vw, 56px) 0;
  width: 100%;
}

.km-landing-parent-wrap .km-numbers-grid,
.km-landing-teacher-wrap .km-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
  align-items: start;
  width: 100%;
}

.km-landing-parent-wrap .km-number-card,
.km-landing-teacher-wrap .km-number-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 8px 12px;
  min-width: 0;
}

.km-landing-parent-wrap .km-number-stat,
.km-landing-teacher-wrap .km-number-stat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.1;
  color: #0B7A6E;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
}

.km-landing-parent-wrap .km-number-label,
.km-landing-teacher-wrap .km-number-label {
  font-size: 16px;
  font-weight: 600;
  margin-top: 6px;
  color: #333333;
  line-height: 1.3;
  text-align: center;
  width: 100%;
}

/* ==========================================================================
   Features Carousel Section Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-features-section,
.km-landing-teacher-wrap .km-features-section {
  padding-block: clamp(56px, 7vw, 96px);
}

.km-landing-parent-wrap .km-features-head,
.km-landing-teacher-wrap .km-features-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.km-landing-parent-wrap .km-features-title,
.km-landing-teacher-wrap .km-features-title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  max-width: 16em;
}

.km-landing-parent-wrap .km-carousel-nav,
.km-landing-teacher-wrap .km-carousel-nav {
  display: flex;
  gap: 10px;
}

.km-landing-parent-wrap .km-carousel-btn,
.km-landing-teacher-wrap .km-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #1D1D1B;
  background: #FFFFFF;
  color: #1D1D1B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease, transform 140ms ease;
}

.km-landing-parent-wrap .km-carousel-btn:hover,
.km-landing-teacher-wrap .km-carousel-btn:hover {
  background: #F0F0F0;
  transform: scale(1.05);
}

.km-landing-parent-wrap .km-carousel-list,
.km-landing-teacher-wrap .km-carousel-list {
  margin: 0;
  padding: 0 0 8px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.km-landing-parent-wrap .km-carousel-list::-webkit-scrollbar,
.km-landing-teacher-wrap .km-carousel-list::-webkit-scrollbar {
  display: none;
}

.km-landing-parent-wrap .km-carousel-item,
.km-landing-teacher-wrap .km-carousel-item {
  flex: 0 0 min(78%, 300px);
  scroll-snap-align: start;
  list-style: none;
}

.km-landing-parent-wrap .km-feature-media,
.km-landing-teacher-wrap .km-feature-media {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  margin-bottom: 18px;
  box-shadow: 0 24px 44px -28px rgba(10, 58, 54, 0.55);
}

.km-landing-parent-wrap .km-feature-title-row,
.km-landing-teacher-wrap .km-feature-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.km-landing-parent-wrap .km-feature-icon,
.km-landing-teacher-wrap .km-feature-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #CFF5EF, #DDF0FB);
  display: flex;
  align-items: center;
  justify-content: center;
}

.km-landing-parent-wrap .km-feature-title,
.km-landing-teacher-wrap .km-feature-title {
  font-size: 20px;
  line-height: 1.25;
}

.km-landing-parent-wrap .km-feature-desc,
.km-landing-teacher-wrap .km-feature-desc {
  margin: 0;
  font-size: 16px;
  color: #333333;
}

/* ==========================================================================
   Pricing Section Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-pricing-section,
.km-landing-teacher-wrap .km-pricing-section {
  background: linear-gradient(180deg, transparent 0%, rgba(20, 174, 158, 0.12) 18%, rgba(56, 189, 248, 0.09) 70%, transparent 100%);
}

.km-landing-parent-wrap .km-pricing-wrap,
.km-landing-teacher-wrap .km-pricing-wrap {
  padding-block: clamp(56px, 7vw, 96px);
}

.km-landing-parent-wrap .km-pricing-title,
.km-landing-teacher-wrap .km-pricing-title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  text-align: center;
  margin-bottom: 12px;
}

.km-landing-parent-wrap .km-pricing-desc,
.km-landing-teacher-wrap .km-pricing-desc {
  margin: 0 auto 40px;
  max-width: 32em;
  text-align: center;
  font-size: 20px;
  color: #333333;
}

.km-landing-parent-wrap .km-pricing-grid,
.km-landing-teacher-wrap .km-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  align-items: stretch;
  padding-top: 18px;
}

.km-landing-parent-wrap .km-price-card,
.km-landing-teacher-wrap .km-price-card {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px -18px rgba(10, 58, 54, 0.28);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.km-landing-parent-wrap .km-price-card-best,
.km-landing-teacher-wrap .km-price-card-best {
  background: radial-gradient(80% 60% at 20% 0%, rgba(20, 174, 158, 0.7), transparent 70%),
              radial-gradient(70% 60% at 100% 100%, rgba(56, 189, 248, 0.45), transparent 70%),
              #0A2F33;
  color: #FFFFFF;
  box-shadow: 0 30px 60px -24px rgba(10, 58, 54, 0.6);
  animation: km-glow 4s ease-in-out infinite;
}

.km-landing-parent-wrap .km-price-card-sticker,
.km-landing-teacher-wrap .km-price-card-sticker {
  position: absolute;
  top: -18px;
  right: 20px;
  width: 76px;
  height: 76px;
  font-size: 17px;
  line-height: 1.05;
  transform: rotate(8deg);
}

.km-landing-parent-wrap .km-plan-name,
.km-landing-teacher-wrap .km-plan-name {
  font-size: 22px;
  color: #1D1D1B;
}

.km-landing-parent-wrap .km-plan-name-best,
.km-landing-teacher-wrap .km-plan-name-best {
  color: #FFFFFF;
}

.km-landing-parent-wrap .km-plan-term,
.km-landing-teacher-wrap .km-plan-term {
  margin: 0 0 10px;
  font-weight: 700;
  color: #333333;
}

.km-landing-parent-wrap .km-plan-term-best,
.km-landing-teacher-wrap .km-plan-term-best {
  color: #FFFFFF;
}

.km-landing-parent-wrap .km-plan-price,
.km-landing-teacher-wrap .km-plan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #1D1D1B;
}

.km-landing-parent-wrap .km-plan-price-best,
.km-landing-teacher-wrap .km-plan-price-best {
  color: #FFFFFF;
}

.km-landing-parent-wrap .km-plan-was,
.km-landing-teacher-wrap .km-plan-was {
  margin: 6px 0 14px;
  font-size: 16px;
  color: #333333;
}

.km-landing-parent-wrap .km-plan-was-best,
.km-landing-teacher-wrap .km-plan-was-best {
  color: #FFFFFF;
}

.km-landing-parent-wrap .km-plan-save,
.km-landing-teacher-wrap .km-plan-save {
  margin: 0 0 22px;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  background: #E3F5F3;
  color: #0B7A6E;
}

.km-landing-parent-wrap .km-plan-save-yearly,
.km-landing-teacher-wrap .km-plan-save-yearly {
  background: rgba(94, 234, 212, 0.18);
  color: #FFFFFF;
}

.km-landing-parent-wrap .km-card-btn,
.km-landing-teacher-wrap .km-card-btn {
  margin-top: auto;
  width: 100%;
}

.km-landing-parent-wrap .km-free-note,
.km-landing-teacher-wrap .km-free-note {
  margin: 36px auto 0;
  text-align: center;
  font-size: 19px;
  max-width: 40em;
}

.km-landing-parent-wrap .km-free-note strong,
.km-landing-teacher-wrap .km-free-note strong {
  color: #1D1D1B;
}

.km-landing-parent-wrap .km-free-note a,
.km-landing-teacher-wrap .km-free-note a {
  font-weight: 700;
}

/* Comparison Table Box */
.km-landing-parent-wrap .km-comparison-box,
.km-landing-teacher-wrap .km-comparison-box {
  margin-top: clamp(48px, 6vw, 72px);
}

.km-landing-parent-wrap .km-comparison-title,
.km-landing-teacher-wrap .km-comparison-title {
  font-size: clamp(24px, 2.4vw, 30px);
  text-align: center;
  margin-bottom: 20px;
}

.km-landing-parent-wrap .km-table-responsive,
.km-landing-teacher-wrap .km-table-responsive {
  overflow-x: auto;
  max-width: 860px;
  margin: 0 auto;
}

.km-landing-parent-wrap .km-table,
.km-landing-teacher-wrap .km-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 17px;
}

.km-landing-parent-wrap .km-table thead tr,
.km-landing-teacher-wrap .km-table thead tr {
  text-align: left;
}

.km-landing-parent-wrap .km-table thead th,
.km-landing-teacher-wrap .km-table thead th {
  padding: 10px 12px;
}

.km-landing-parent-wrap .km-th-free,
.km-landing-teacher-wrap .km-th-free {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1D1D1B;
}

.km-landing-parent-wrap .km-th-plus,
.km-landing-teacher-wrap .km-th-plus {
  padding-right: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0B7A6E;
}

.km-landing-parent-wrap .km-table tbody tr,
.km-landing-teacher-wrap .km-table tbody tr {
  border-top: 1px solid rgba(29, 29, 27, 0.12);
}

.km-landing-parent-wrap .km-table tbody th,
.km-landing-teacher-wrap .km-table tbody th {
  text-align: left;
  padding: 16px 12px 16px 0;
  font-weight: 700;
  color: #1D1D1B;
}

.km-landing-parent-wrap .km-table tbody td,
.km-landing-teacher-wrap .km-table tbody td {
  padding: 16px 12px;
}

.km-landing-parent-wrap .km-td-plus,
.km-landing-teacher-wrap .km-td-plus {
  padding-right: 0 !important;
  font-weight: 700;
  color: #0B7A6E;
}

.km-landing-parent-wrap .km-pricing-note,
.km-landing-teacher-wrap .km-pricing-note {
  margin: 24px auto 0;
  max-width: 44em;
  text-align: center;
  font-size: 16px;
  color: #333333;
}

/* ==========================================================================
   Action Showcase / Video Tour Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-action-section,
.km-landing-teacher-wrap .km-action-section {
  padding-block: clamp(56px, 7vw, 96px);
}

.km-landing-parent-wrap .km-action-title,
.km-landing-teacher-wrap .km-action-title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  text-align: center;
  margin-bottom: 12px;
}

.km-landing-parent-wrap .km-action-desc,
.km-landing-teacher-wrap .km-action-desc {
  margin: 0 auto 40px;
  max-width: 30em;
  text-align: center;
  font-size: 20px;
}

.km-landing-parent-wrap .km-video-tour,
.km-landing-teacher-wrap .km-video-tour {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  aspect-ratio: 16 / 9;
  max-width: 900px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 40px 80px -40px rgba(10, 58, 54, 0.6);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.km-landing-parent-wrap .km-video-tour:hover,
.km-landing-teacher-wrap .km-video-tour:hover {
  transform: translateY(-4px);
  box-shadow: 0 48px 90px -40px rgba(10, 58, 54, 0.75);
}

.km-landing-parent-wrap .km-video-play-icon,
.km-landing-teacher-wrap .km-video-play-icon {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #14AE9E;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(20, 174, 158, 0.25);
  transition: transform 200ms ease;
}

.km-landing-parent-wrap .km-video-tour:hover .km-video-play-icon,
.km-landing-teacher-wrap .km-video-tour:hover .km-video-play-icon {
  transform: scale(1.08);
}

.km-landing-parent-wrap .km-video-tour-text,
.km-landing-teacher-wrap .km-video-tour-text {
  position: relative;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 18px;
}

.km-landing-parent-wrap .km-action-figures-grid,
.km-landing-teacher-wrap .km-action-figures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 40px 32px;
}

.km-landing-parent-wrap .km-action-figure,
.km-landing-teacher-wrap .km-action-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.km-landing-parent-wrap .km-action-phone-wrap,
.km-landing-teacher-wrap .km-action-phone-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.km-landing-parent-wrap .km-action-caption,
.km-landing-teacher-wrap .km-action-caption {
  font-weight: 700;
  color: #1D1D1B;
  font-size: 18px;
  text-align: center;
}

/* ==========================================================================
   Steps Section Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-steps-section,
.km-landing-teacher-wrap .km-steps-section {
  margin-block: clamp(16px, 3vw, 40px);
  position: relative;
}

.km-landing-parent-wrap .km-steps-bgimg,
.km-landing-teacher-wrap .km-steps-bgimg {
  opacity: 0.3;
}

.km-landing-parent-wrap .km-steps-overlay,
.km-landing-teacher-wrap .km-steps-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 40, 38, 0.9), rgba(8, 40, 38, 0.6));
}

.km-landing-parent-wrap .km-steps-inner,
.km-landing-teacher-wrap .km-steps-inner {
  position: relative;
  padding-block: clamp(80px, 10vw, 136px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px 72px;
  align-items: center;
  z-index: 2;
}

.km-landing-parent-wrap .km-steps-title,
.km-landing-teacher-wrap .km-steps-title {
  color: #FFFFFF;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  margin-bottom: 16px;
}

.km-landing-parent-wrap .km-steps-desc,
.km-landing-teacher-wrap .km-steps-desc {
  margin: 0 0 28px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
}

.km-landing-parent-wrap .km-steps-list,
.km-landing-teacher-wrap .km-steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #FFFFFF;
}

.km-landing-parent-wrap .km-step-item,
.km-landing-teacher-wrap .km-step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.km-landing-parent-wrap .km-step-num,
.km-landing-teacher-wrap .km-step-num {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #14AE9E;
  color: #1D1D1B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.km-landing-parent-wrap .km-step-title,
.km-landing-teacher-wrap .km-step-title {
  color: #FFFFFF;
  font-size: 21px;
  line-height: 1.25;
}

.km-landing-parent-wrap .km-step-desc,
.km-landing-teacher-wrap .km-step-desc {
  margin: 2px 0 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Curriculum Section Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-curriculum-section,
.km-landing-teacher-wrap .km-curriculum-section {
  padding-block: clamp(56px, 7vw, 96px) 0;
}

.km-landing-parent-wrap .km-curriculum-title,
.km-landing-teacher-wrap .km-curriculum-title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  text-align: center;
  margin-bottom: 12px;
}

.km-landing-parent-wrap .km-curriculum-desc,
.km-landing-teacher-wrap .km-curriculum-desc {
  margin: 0 auto 40px;
  max-width: 34em;
  text-align: center;
  font-size: 19px;
  color: #333333;
}

.km-landing-parent-wrap .km-curriculum-grid,
.km-landing-teacher-wrap .km-curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 28px 8px;
}

.km-landing-parent-wrap .km-grade-card,
.km-landing-teacher-wrap .km-grade-card {
  padding: 4px 20px;
  border-left: 3px solid #14AE9E;
}

.km-landing-parent-wrap .km-grade-title,
.km-landing-teacher-wrap .km-grade-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #1D1D1B;
}

.km-landing-parent-wrap .km-grade-topics,
.km-landing-teacher-wrap .km-grade-topics {
  font-weight: 700;
  color: #0B7A6E;
  margin-bottom: 6px;
}

.km-landing-parent-wrap .km-grade-subjects,
.km-landing-teacher-wrap .km-grade-subjects {
  font-size: 16px;
  color: #333333;
}

/* ==========================================================================
   Testimonials Section Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-testimonials-section,
.km-landing-teacher-wrap .km-testimonials-section {
  padding-block: clamp(56px, 7vw, 96px) 0;
}

.km-landing-parent-wrap .km-testimonials-title,
.km-landing-teacher-wrap .km-testimonials-title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  text-align: center;
  margin-bottom: 48px;
}

.km-landing-parent-wrap .km-testimonials-grid,
.km-landing-teacher-wrap .km-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px 56px;
}

.km-landing-parent-wrap .km-testimonial-card,
.km-landing-teacher-wrap .km-testimonial-card {
  margin: 0;
}

.km-landing-parent-wrap .km-quote-mark,
.km-landing-teacher-wrap .km-quote-mark {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 0.8;
  color: #14AE9E;
}

.km-landing-parent-wrap .km-quote-text,
.km-landing-teacher-wrap .km-quote-text {
  margin: 8px 0 16px;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.4;
  color: #1D1D1B;
}

.km-landing-parent-wrap .km-quote-author,
.km-landing-teacher-wrap .km-quote-author {
  font-weight: 600;
  color: #666666;
}

/* ==========================================================================
   FAQ Section Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-faq-section,
.km-landing-teacher-wrap .km-faq-section {
  padding-block: clamp(56px, 7vw, 96px);
  max-width: 820px;
}

.km-landing-parent-wrap .km-faq-title,
.km-landing-teacher-wrap .km-faq-title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  margin-bottom: 20px;
}

.km-landing-parent-wrap .km-faq-item,
.km-landing-teacher-wrap .km-faq-item {
  border-bottom: 2px solid #F0F0F0;
}

.km-landing-parent-wrap .km-faq-summary,
.km-landing-teacher-wrap .km-faq-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1D1D1B;
  user-select: none;
}

.km-landing-parent-wrap .km-faq-summary::-webkit-details-marker,
.km-landing-teacher-wrap .km-faq-summary::-webkit-details-marker {
  display: none;
}

.km-landing-parent-wrap .km-faq-summary svg,
.km-landing-teacher-wrap .km-faq-summary svg {
  transition: transform 180ms ease-out;
  flex: none;
}

.km-landing-parent-wrap .km-faq-item[open] .km-faq-summary svg,
.km-landing-teacher-wrap .km-faq-item[open] .km-faq-summary svg {
  transform: rotate(45deg);
}

.km-landing-parent-wrap .km-faq-answer,
.km-landing-teacher-wrap .km-faq-answer {
  margin: 0 0 22px;
  font-size: 17px;
  color: #333333;
}

.km-landing-parent-wrap .km-faq-help,
.km-landing-teacher-wrap .km-faq-help {
  margin: 26px 0 0;
  font-size: 17px;
}

.km-landing-parent-wrap .km-faq-help a,
.km-landing-teacher-wrap .km-faq-help a {
  font-weight: 800;
}

/* ==========================================================================
   Bottom CTA Banner & Landing Footer Scoped Styles
   ========================================================================== */
.km-landing-parent-wrap .km-bottom-cta-section,
.km-landing-teacher-wrap .km-bottom-cta-section {
  margin-top: clamp(24px, 4vw, 56px);
  position: relative;
}

.km-landing-parent-wrap .km-bottom-cta-bgimg,
.km-landing-teacher-wrap .km-bottom-cta-bgimg {
  opacity: 0.3;
}

.km-landing-parent-wrap .km-bottom-cta-overlay,
.km-landing-teacher-wrap .km-bottom-cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 50% 40%, rgba(8, 40, 38, 0.85), rgba(8, 40, 38, 0.6));
}

.km-landing-parent-wrap .km-blob-bottom-1,
.km-landing-teacher-wrap .km-blob-bottom-1 {
  width: 420px;
  height: 420px;
  left: -80px;
  top: -140px;
  background: #14AE9E;
}

.km-landing-parent-wrap .km-blob-bottom-2,
.km-landing-teacher-wrap .km-blob-bottom-2 {
  width: 380px;
  height: 380px;
  right: -60px;
  bottom: -120px;
  background: #38BDF8;
}

.km-landing-parent-wrap .km-bottom-cta-inner,
.km-landing-teacher-wrap .km-bottom-cta-inner {
  position: relative;
  padding-block: clamp(88px, 11vw, 150px) 40px;
  text-align: center;
  z-index: 2;
}

.km-landing-parent-wrap .km-bottom-cta-title,
.km-landing-teacher-wrap .km-bottom-cta-title {
  color: #FFFFFF;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.06;
  margin-bottom: 16px;
}

.km-landing-parent-wrap .km-bottom-cta-desc,
.km-landing-teacher-wrap .km-bottom-cta-desc {
  margin: 0 auto 32px;
  max-width: 30em;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.km-landing-parent-wrap .km-bottom-cta-actions,
.km-landing-teacher-wrap .km-bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.km-landing-parent-wrap .km-landing-footer,
.km-landing-teacher-wrap .km-landing-footer {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.km-landing-parent-wrap .km-footer-copy,
.km-landing-teacher-wrap .km-footer-copy {
  padding: 8px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.km-landing-parent-wrap .km-footer-links,
.km-landing-teacher-wrap .km-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
}

.km-landing-parent-wrap .km-footer-link,
.km-landing-teacher-wrap .km-footer-link {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 150ms ease, color 150ms ease;
}

.km-landing-parent-wrap .km-footer-link:hover,
.km-landing-teacher-wrap .km-footer-link:hover {
  color: #5EEAD4;
  opacity: 0.9;
}


/* ==========================================================================
   Header Nav & Footer High-Specificity Overrides (Prevent Theme Leaks)
   ========================================================================== */
.km-landing-parent-wrap nav.km-nav,
.km-landing-teacher-wrap nav.km-nav {
  position: relative !important;
  top: auto !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
  height: auto !important;
  z-index: 50 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-block: 16px !important;
  margin: 0 auto !important;
}

.km-landing-parent-wrap nav.km-nav::before,
.km-landing-parent-wrap nav.km-nav::after,
.km-landing-teacher-wrap nav.km-nav::before,
.km-landing-teacher-wrap nav.km-nav::after {
  display: none !important;
}

.km-landing-parent-wrap footer.km-landing-footer,
.km-landing-teacher-wrap footer.km-landing-footer {
  background: transparent !important;
  position: relative !important;
  border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: 24px 0 0 !important;
  margin-top: clamp(56px, 7vw, 96px) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px 28px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  height: auto !important;
}

.km-landing-parent-wrap footer.km-landing-footer::before,
.km-landing-parent-wrap footer.km-landing-footer::after,
.km-landing-teacher-wrap footer.km-landing-footer::before,
.km-landing-teacher-wrap footer.km-landing-footer::after {
  display: none !important;
  content: none !important;
}

/* ==========================================================================
   Responsive Breakpoints: Tablet (<= 991px) and Mobile (<= 767px)
   ========================================================================== */
@media (max-width: 991px) {
  .km-landing-parent-wrap .km-hero-grid,
  .km-landing-teacher-wrap .km-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .km-landing-parent-wrap .km-hero-subtitle,
  .km-landing-teacher-wrap .km-hero-subtitle {
    margin-inline: auto;
  }

  .km-landing-parent-wrap .km-hero-actions,
  .km-landing-teacher-wrap .km-hero-actions,
  .km-landing-parent-wrap .km-store-row,
  .km-landing-teacher-wrap .km-store-row {
    justify-content: center;
  }

  .km-landing-parent-wrap .km-steps-inner,
  .km-landing-teacher-wrap .km-steps-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .km-landing-parent-wrap .km-steps-left,
  .km-landing-teacher-wrap .km-steps-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .km-landing-parent-wrap .km-step-item,
  .km-landing-teacher-wrap .km-step-item {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .km-landing-parent-wrap .km-nav,
  .km-landing-teacher-wrap .km-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 14px;
  }

  .km-landing-parent-wrap .km-nav-toggle,
  .km-landing-teacher-wrap .km-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1.5px solid rgba(29, 29, 27, 0.15);
    border-radius: 10px;
    cursor: pointer;
    z-index: 101;
    transition: background-color 160ms ease, border-color 160ms ease;
  }

  .km-landing-parent-wrap .km-nav-toggle:hover,
  .km-landing-teacher-wrap .km-nav-toggle:hover {
    background: rgba(20, 174, 158, 0.08);
    border-color: #14AE9E;
  }

  .km-landing-parent-wrap .km-nav-toggle-bar,
  .km-landing-teacher-wrap .km-nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #1D1D1B;
    border-radius: 2px;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .km-landing-parent-wrap .km-nav-toggle[aria-expanded="true"] .km-nav-toggle-bar:nth-child(1),
  .km-landing-teacher-wrap .km-nav-toggle[aria-expanded="true"] .km-nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .km-landing-parent-wrap .km-nav-toggle[aria-expanded="true"] .km-nav-toggle-bar:nth-child(2),
  .km-landing-teacher-wrap .km-nav-toggle[aria-expanded="true"] .km-nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .km-landing-parent-wrap .km-nav-toggle[aria-expanded="true"] .km-nav-toggle-bar:nth-child(3),
  .km-landing-teacher-wrap .km-nav-toggle[aria-expanded="true"] .km-nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .km-landing-parent-wrap .km-nav-menu,
  .km-landing-teacher-wrap .km-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 20px;
    right: 20px;
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 20px 48px -12px rgba(10, 58, 54, 0.35);
    padding: 20px 24px;
    z-index: 999;
    border: 1px solid rgba(20, 174, 158, 0.2);
  }

  .km-landing-parent-wrap .km-nav-menu.is-open,
  .km-landing-teacher-wrap .km-nav-menu.is-open {
    display: block;
    animation: km-rise 200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .km-landing-parent-wrap .km-nav-links,
  .km-landing-teacher-wrap .km-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .km-landing-parent-wrap .km-nav-link,
  .km-landing-teacher-wrap .km-nav-link {
    display: block;
    padding: 12px 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1D1D1B;
    border-bottom: 1px solid #F0F0F0;
    text-align: left;
  }

  .km-landing-parent-wrap .km-nav-cta,
  .km-landing-teacher-wrap .km-nav-cta {
    display: flex;
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    justify-content: center;
    text-align: center;
    font-size: 16px;
  }

  .km-landing-parent-wrap .km-numbers-grid,
  .km-landing-teacher-wrap .km-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .km-landing-parent-wrap .km-number-stat,
  .km-landing-teacher-wrap .km-number-stat {
    font-size: clamp(20px, 4.2vw, 30px);
    min-height: 44px;
    white-space: nowrap;
  }

  .km-landing-parent-wrap .km-pricing-grid,
  .km-landing-teacher-wrap .km-pricing-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .km-landing-parent-wrap .km-curriculum-grid,
  .km-landing-teacher-wrap .km-curriculum-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .km-landing-parent-wrap .km-testimonials-grid,
  .km-landing-teacher-wrap .km-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .km-landing-parent-wrap .km-action-figures-grid,
  .km-landing-teacher-wrap .km-action-figures-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .km-landing-parent-wrap .km-hero-mockups,
  .km-landing-teacher-wrap .km-hero-mockups {
    min-height: 440px;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }

  .km-landing-parent-wrap .km-phone-float-1 {
    width: 200px;
  }

  .km-landing-parent-wrap .km-phone-float-2 {
    width: 130px;
    left: calc(50% - 180px);
    bottom: 20px;
  }

  .km-landing-parent-wrap .km-hero-sticker,
  .km-landing-teacher-wrap .km-hero-sticker,
  .km-landing-teacher-wrap .km-hero-sticker-teacher {
    width: 80px;
    height: 80px;
    font-size: 15px;
  }

  .km-landing-parent-wrap .km-hero-sticker {
    left: calc(50% + 60px);
    top: 25px;
  }

  .km-landing-teacher-wrap .km-phone-tutor-1,
  .km-landing-teacher-wrap .km-phone-tutor-2 {
    width: 155px;
  }

  .km-landing-teacher-wrap .km-hero-sticker-teacher {
    left: calc(50% + 110px);
    top: 15px;
  }

  .km-landing-parent-wrap .km-landing-footer,
  .km-landing-teacher-wrap .km-landing-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-top: 20px;
  }

  .km-landing-parent-wrap .km-footer-links,
  .km-landing-teacher-wrap .km-footer-links {
    justify-content: center;
    gap: 8px 20px;
  }
}

@media (max-width: 480px) {
  .km-landing-parent-wrap .km-hero-mockups {
    min-height: 360px;
  }

  .km-landing-parent-wrap .km-phone-float-1 {
    width: 160px;
  }

  .km-landing-parent-wrap .km-phone-float-2 {
    width: 106px;
    left: calc(50% - 144px);
    bottom: 14px;
  }

  .km-landing-parent-wrap .km-phone-float-2 .phone {
    border-radius: 20px;
    padding: 6px;
  }

  .km-landing-parent-wrap .km-phone-float-2 .screen {
    border-radius: 15px;
    font-size: 11px;
    padding: 6px 4px;
  }

  .km-landing-parent-wrap .km-hero-sticker {
    left: calc(50% + 46px);
    top: 15px;
    width: 70px;
    height: 70px;
    font-size: 13px;
  }

  .km-landing-teacher-wrap .km-hero-mockups {
    min-height: 380px;
  }

  .km-landing-teacher-wrap .km-hero-mockups-tutor-pair {
    gap: 10px;
  }

  .km-landing-teacher-wrap .km-phone-tutor-1,
  .km-landing-teacher-wrap .km-phone-tutor-2 {
    width: 125px;
  }

  .km-landing-teacher-wrap .km-hero-sticker-teacher {
    left: calc(50% + 80px);
    top: 10px;
    width: 70px;
    height: 70px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .km-landing-parent-wrap .blob,
  .km-landing-teacher-wrap .blob,
  .km-landing-parent-wrap .float,
  .km-landing-teacher-wrap .float,
  .km-landing-parent-wrap .best,
  .km-landing-teacher-wrap .best,
  .km-landing-parent-wrap .bgimg,
  .km-landing-teacher-wrap .bgimg {
    animation: none !important;
  }

  .km-landing-parent-wrap .lift,
  .km-landing-teacher-wrap .lift,
  .km-landing-parent-wrap .tilt,
  .km-landing-teacher-wrap .tilt,
  .km-landing-parent-wrap .ico,
  .km-landing-teacher-wrap .ico,
  .km-landing-parent-wrap .ph img,
  .km-landing-teacher-wrap .ph img,
  .km-landing-parent-wrap .cta::after,
  .km-landing-teacher-wrap .cta::after {
    transition: none !important;
  }
}
