/* The section keeps the Framer slot's breakpoint order. Its children own the scroll layout. */
html.ohx-home #main .oe-section {
  display: block;
  overflow: visible;
  padding: clamp(52px, 7vw, 104px) 0;
  background: #fff;
  color: #111;
  font-family: "Orcas Hero", sans-serif;
  scroll-margin-block-start: 120px;
}
.oe-section *, .oe-section *::before, .oe-section *::after { box-sizing: border-box; }
.oe-inner { width: 100%; }
.oe-inner h2 {
  max-width: 22ch;
  margin: 0 auto clamp(32px, 4.5vw, 64px);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-align: center;
}
.oe-inner h2 { font-weight: 900; text-wrap: balance; }
.oe-stack { display: grid; gap: clamp(25px, 3vw, 44px); isolation: isolate; }
.oe-card {
  --accent: #009ade;
  --panel: #ccecf9;
  --ink: #00658d;
  --tilt: -5deg;
  position: sticky;
  top: 132px;
  align-self: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(22px, 4vw, 64px);
  padding: clamp(18px, 2.5vw, 36px);
  background: white;
  border: 1px solid #d8e3dd;
  border-radius: 30px;
  box-shadow: 0 5px 18px -10px #224d3a38;
}
.oe-card--package { --accent: #ffc000; --panel: #ffebae; --ink: #885500; --tilt: 4deg; top: 144px; }
.oe-card--sessions { --accent: #85c99c; --panel: #d2efdb; --ink: #286540; --tilt: -3deg; top: 156px; }
.oe-copy { padding-inline-start: clamp(4px, 2vw, 30px); }
.oe-copy h3 { margin: 0 0 24px; }
.oe-copy ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.oe-copy li { display: flex; align-items: baseline; gap: 12px; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.5; }
.oe-copy li::before { content: ""; flex: 0 0 16px; height: 16px; align-self: flex-start; margin-top: .32em; background: url("/_assets/home-hero/check-outlined.svg") center / contain no-repeat; }
.oe-inner[dir="rtl"] h2 { letter-spacing: 0; line-height: 1.4; }

/* A small vignette from the app on a screen-printed colour field. */
.oe-art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 260px;
  aspect-ratio: 1.36;
  border-radius: 19px;
  background: var(--panel);
}
.oe-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ink) .8px, transparent 1px);
  background-size: 12px 12px;
  opacity: .18;
}
.oe-orbit {
  position: absolute;
  width: 73%;
  aspect-ratio: 1;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(6%, -1%);
}
.oe-card--package .oe-orbit { border-radius: 23%; transform: rotate(-13deg); }
.oe-card--sessions .oe-orbit { border-radius: 55% 55% 15% 15%; transform: rotate(12deg); }
.oe-app-card {
  position: relative;
  width: min(67%, 252px);
  padding: clamp(14px, 1.8vw, 24px);
  background: #fff;
  border: 1px solid #121d2420;
  border-radius: 16px;
  box-shadow: 0 8px 0 -3px var(--panel), 0 18px 26px -12px #24353e66;
  transform: rotate(var(--tilt));
}
.oe-app-card strong, .oe-app-card small { display: block; }
.oe-app-card strong { font-size: clamp(17px, 1.8vw, 23px); line-height: 1.3; font-weight: 900; }
.oe-app-card small { color: #566273; font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; }
.oe-profile, .oe-session, .oe-setting, .oe-review, .oe-stepper { display: flex; align-items: center; gap: 9px; }
.oe-avatar { width: 44px; height: 46px; border-radius: 9px; object-fit: cover; }
.oe-review { margin: 12px 0; padding-bottom: 10px; border-bottom: 1px solid #dce3e7; font-weight: 600; }
.oe-review span { color: #e6a300; }
.oe-chip { display: inline-block; background: var(--panel); color: var(--ink); border-radius: 7px; padding: 4px 9px; font-size: 12px; font-weight: 600; }
.oe-setting, .oe-session { justify-content: space-between; }
.oe-setting + .oe-setting { border-top: 1px solid #dce3e7; padding-top: 12px; margin-top: 12px; }
.oe-stepper { gap: 5px; direction: ltr; }
.oe-stepper span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #009ade;
}
.oe-stepper span::before, .oe-stepper .oe-plus::after {
  content: "";
  grid-area: 1 / 1;
  width: 9px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
}
.oe-stepper .oe-plus::after { transform: rotate(90deg); }
.oe-session { margin: 10px 0 15px; }
.oe-session .oe-avatar { width: 36px; height: 36px; border-radius: 50%; }
.oe-progress { height: 7px; border-radius: 8px; background: #e7ebee; overflow: hidden; }
.oe-progress i { display: block; width: 45%; height: 100%; background: #009ade; border-radius: inherit; }
.oe-sticker {
  position: absolute;
  inset-inline-end: 5%;
  inset-block-end: 8%;
  display: grid;
  place-items: center;
  width: clamp(54px, 6vw, 84px);
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #d3dadd;
  border-radius: 50%;
  transform: rotate(9deg);
  box-shadow: 0 4px 7px #18232c1c;
}
.oe-sticker img { width: 67%; height: 67%; object-fit: contain; }
@media (max-width: 899.98px) {
  .oe-card { top: 124px; gap: 18px; border-radius: 24px; }
  .oe-card--package { top: 133px; }
  .oe-card--sessions { top: 142px; }
  .oe-art { min-height: 230px; }
  .oe-copy h3 { margin-bottom: 16px; }
  .oe-copy ul { gap: 8px; }
}
@media (max-width: 640px) {
  .oe-card { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 15px; }
  .oe-copy { padding: 4px 5px; }
  .oe-art { min-height: 0; height: 170px; aspect-ratio: auto; border-radius: 14px; }
  .oe-orbit { width: 160px; }
  .oe-app-card { width: min(67%, 210px); padding: 12px 16px; }
  .oe-avatar { width: 34px; height: 36px; }
  .oe-review { margin: 7px 0; padding-bottom: 7px; }
  .oe-sticker { inset-inline-end: 9%; }
}
/* Leave a normal reading flow when the pinned header and booking bar consume too much space. */
@media (prefers-reduced-motion: reduce), (max-height: 660px) {
  .oe-card { position: relative; top: auto; }
}

.framer-ytDgF .framer-115mx9n .framer-sznhg0 p.framer-text {
  font-family: "Avenir Next World Medium", "Avenir Next World Medium Placeholder", sans-serif;
}
.framer-ytDgF .framer-115mx9n:lang(ar) > .framer-sznhg0 {
  order: -1;
}

/* Keep the decorated panels clipped to their rounded edges. */
html.ohx-home #main :is(#reviews, #cta) {
  box-sizing: border-box;
  overflow: hidden;
  scroll-margin-block-start: 120px;
  border-radius: 30px;
}
html.ohx-home #main #reviews {
  background:
    radial-gradient(ellipse at top center, #fff8df 6%, transparent 54%),
    repeating-radial-gradient(circle at 100% 0, transparent 0 13px, #bb800033 14px 15px, transparent 16px 25px) top right / 92px 92px no-repeat,
    repeating-radial-gradient(circle at 0 100%, transparent 0 13px, #bb800033 14px 15px, transparent 16px 25px) bottom left / 92px 92px no-repeat,
    radial-gradient(circle, #b5843042 1px, transparent 1.4px) center / 16px 16px,
    #fff0bc;
}
html.ohx-home #main #cta {
  --cta-blue: var(--token-976ae196-8159-4d80-8837-8361e97a46e3, #009ade);
  --cta-yellow: var(--token-649c3a5b-6919-40ad-abb4-28335141e272, #ffc000);
  --cta-green: var(--token-1f723487-e16a-4655-8a75-e25bef950e9a, #85c99c);
  position: relative;
  isolation: isolate;
  background-image:
    radial-gradient(circle at 88% 32%, color-mix(in srgb, var(--cta-yellow) 65%, transparent) 0 7px, transparent 8px),
    radial-gradient(circle at 91% 36%, color-mix(in srgb, var(--cta-green) 80%, transparent) 0 3px, transparent 4px),
    radial-gradient(circle at 12% 66%, color-mix(in srgb, var(--cta-blue) 48%, transparent) 0 5px, transparent 6px);
}
#cta .ohx-booking-rocket {
  border-radius: 12px;
  overflow: visible;
  cursor: pointer;
}
#cta .ohx-booking-rocket:focus-visible {
  outline: 2px solid var(--cta-blue);
  outline-offset: 4px;
}
@property --ohx-rocket-hover-offset {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}
@property --ohx-rocket-hover-strength {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #cta .ohx-booking-rocket:not(.is-replaying) > .framer-1qsl08y {
    /* Freeze the current offset on exit, then ease its contribution to zero. */
    --ohx-rocket-hover-displacement: calc(var(--ohx-rocket-hover-offset) * var(--ohx-rocket-hover-strength));
    translate: var(--ohx-rocket-hover-displacement) calc(-1 * var(--ohx-rocket-hover-displacement));
    transition: --ohx-rocket-hover-strength 280ms ease-out;
    animation: ohx-rocket-hover 1.35s ease-in-out infinite paused;
  }
  #cta .ohx-booking-rocket:hover:not(.is-replaying) > .framer-1qsl08y {
    --ohx-rocket-hover-strength: 1;
    animation-play-state: running;
  }
}
@keyframes ohx-rocket-hover {
  0%, 100% { --ohx-rocket-hover-offset: 0px; }
  25% { --ohx-rocket-hover-offset: 8px; }
  75% { --ohx-rocket-hover-offset: -6px; }
}
/* Rounded loops echo the soft corners of the Orcas shapes and frame the copy. */
html.ohx-home #main #cta::before,
html.ohx-home #main #cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  box-sizing: border-box;
  width: clamp(135px, 20vw, 300px);
  aspect-ratio: 1.6;
  border: clamp(14px, 2vw, 30px) solid;
  border-radius: 100vw;
  transform: rotate(-34deg);
  pointer-events: none;
}
html.ohx-home #main #cta::before {
  top: -5%;
  right: -4%;
  border-color: color-mix(in srgb, var(--cta-blue) 18%, transparent);
}
html.ohx-home #main #cta::after {
  bottom: -8%;
  left: -5%;
  border-color: color-mix(in srgb, var(--cta-green) 40%, transparent);
}
@media (max-width: 767px) {
  html.ohx-home #main #cta {
    background-image:
      radial-gradient(circle at 88% 15%, color-mix(in srgb, var(--cta-yellow) 65%, transparent) 0 4px, transparent 5px),
      radial-gradient(circle at 13% 89%, color-mix(in srgb, var(--cta-blue) 48%, transparent) 0 3px, transparent 4px);
  }
  html.ohx-home #main #cta::before,
  html.ohx-home #main #cta::after {
    width: clamp(100px, 28vw, 150px);
  }
}
#reviews > .framer-1k8b85p { width: 100%; max-width: none; }
#reviews h2 { padding-inline: 16px; }
/* The tallest quote sets the shared card height at each viewport width. */
#reviews .framer-1gakib6-container { height: auto; }
#reviews .framer-slideshow,
#reviews .framer-slideshow > div,
#reviews .framer-slideshow ul,
#reviews [data-framer-name="Review1"] { height: auto !important; }
#reviews .framer-slideshow > div { position: relative !important; padding-block: 12px !important; }
#reviews .framer-slideshow ul { align-items: stretch !important; }
#reviews .framer-slideshow {
  position: relative;
  padding-block: 0 !important;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent) !important;
}
#reviews [data-framer-name="Review1"] {
  box-sizing: border-box;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  padding: clamp(16px, 1.45vw, 20px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 14px -8px #704a1c40;
}
#reviews [data-framer-name="Stars"] { gap: 3px; }
#reviews [data-framer-name="ic_star"] { width: 16px; height: 16px; }
#reviews [data-framer-name="Review content"] {
  flex: 1 0 auto;
  flex-direction: column-reverse;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
}
#reviews [data-framer-name="Review content"] > div { width: 100%; }
#reviews [data-framer-name="Review content"] :is(p,h4) { text-align: start; }
#reviews [data-framer-name="Review content"] p {
  color: #162835;
  font: 500 16px/1.45 "Orcas Hero", sans-serif;
}
#reviews [data-framer-name="Review content"] h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #465662;
  font: 600 14px/1.4 "Orcas Hero", sans-serif;
}
@media (max-width: 899.98px) {
  html.ohx-home #main :is(#reviews, #cta) { border-radius: 24px; }
}

#reviews .review-subject {
  box-sizing: content-box;
  flex: none;
  width: 24px;
  height: 24px;
  padding: 7px;
  border-radius: 12px;
  background: #e0f2fb;
}
#reviews .review-subject:is([data-subject="math"], [data-subject="french"]) { background: #ffe8b0; }
#reviews .review-subject:is([data-subject="physics"], [data-subject="arabic"]) { background: #d9efdf; }
