@font-face {
  font-family: Nunito;
  src: url("assets/fonts/Nunito-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("assets/fonts/Nunito-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("assets/fonts/Nunito-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Cairo;
  src: url("assets/fonts/Cairo-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Cairo;
  src: url("assets/fonts/Cairo-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1d1b4b;
  --muted: #62667d;
  --indigo: #5355d4;
  --indigo-dark: #403fbb;
  --indigo-wash: #e8e9ff;
  --mint: #d9f5ee;
  --mint-dark: #079a75;
  --paper: #fbfbff;
  --workflow: #f6f6fd;
  --focus: #214fc6;
  font-family: Nunito, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.5;
}

::selection {
  color: #1e1b4b;
  background: #c7d2fe;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-shell {
  width: min(100%, 1586px);
  margin-inline: auto;
  container-type: inline-size;
  overflow: clip;
  background: var(--paper);
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-150%);
  border-radius: 0.5rem;
  color: #fff;
  background: var(--ink);
  font-size: 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 4.414cqw;
  padding-inline: 10.97% 7.57%;
  background: #fbfbff;
}

.wordmark {
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 2.96cqw;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 2.45cqw;
  margin-inline-start: auto;
}

.site-nav a {
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #211e49;
  font-size: 1.14cqw;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--indigo-dark);
}

.header-divider {
  position: static;
  flex: 0 0 1px;
  height: 2.2cqw;
  margin-inline: 0.4cqw 1.8cqw;
  background: #c9c7f5;
}

.language-switch {
  position: static;
  flex: 0 0 8.45cqw;
  width: 8.45cqw;
  min-width: max-content;
  height: 2.71cqw;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55cqw;
  padding: 0 0.45cqw;
  border: 0;
  border-radius: 999px;
  color: #312fa3;
  background: #ececff;
  font: inherit;
  font-size: 1.03cqw;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.language-switch:hover {
  background: #e3e4ff;
}

.language-switch__globe {
  width: 1.22cqw;
  height: 1.22cqw;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-switch__chevron {
  width: 0.9cqw;
  height: 0.9cqw;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  display: flow-root;
  height: auto;
  min-height: 50.756cqw;
  isolation: isolate;
  overflow: visible;
  background: #f5f4f3;
}

.hero-plate {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-ornament {
  position: absolute;
  top: 8.64cqw;
  left: 49.05%;
  width: 1.95%;
  height: 1.95cqw;
  color: #258969;
}

.hero-ornament img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-core {
  position: relative;
  width: 29.76%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 12.42cqw auto 0;
  text-align: center;
}

.hero-core h1 {
  width: 100%;
  height: auto;
  margin: 0;
  color: #1d1a4a;
  font-size: 2.4cqw;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  white-space: pre-line;
}

.hero-core__copy {
  width: 86%;
  min-height: 3.22cqw;
  margin: 0.82cqw 0 0;
  color: var(--muted);
  font-size: 1.08cqw;
  font-weight: 400;
  line-height: 1.35;
  white-space: pre-line;
}

.primary-link {
  width: max-content;
  min-width: 58.1%;
  max-width: 100%;
  min-height: 3.66cqw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.0cqw;
  margin-top: 1.38cqw;
  padding: 0.5cqw 1cqw;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(105deg, #5a5bd8, #4f59d2);
  box-shadow: 0 3px 9px rgb(62 62 163 / 15%);
  font-size: 1.22cqw;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.primary-link:hover {
  background: linear-gradient(105deg, #4f50cd, #464fc7);
  box-shadow: 0 5px 13px rgb(62 62 163 / 21%);
}

.primary-link:active {
  transform: translateY(1px);
}

.primary-link svg {
  width: 1.28cqw;
  height: 1.28cqw;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

html[dir="rtl"] .primary-link svg {
  transform: rotate(180deg);
}

.availability {
  width: 100%;
  margin: 0.5cqw 0 0;
  color: var(--muted);
  font-size: 0.9cqw;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
}

.feature-card {
  position: absolute;
  z-index: 1;
  display: grid;
  grid-template-columns: 3.09cqw minmax(0, 1fr) 0.9cqw;
  align-content: center;
  align-items: center;
  gap: 0.53cqw;
  height: auto;
  min-height: 5.99cqw;
  padding: 0.55cqw 1.2cqw;
  border-radius: 0.92cqw;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 4px 13px rgb(40 36 72 / 16%);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 160ms ease;
}

.feature-card:hover {
  box-shadow: 0 6px 16px rgb(40 36 72 / 19%);
}

.feature-card--annual {
  top: 8.83cqw;
  left: 7.44%;
  width: 18.92%;
}

.feature-card--classes {
  top: 9.14cqw;
  left: 74.59%;
  width: 19.04%;
}

.feature-card--pedagogy {
  position: relative;
  top: auto;
  inset-inline-start: 40.04%;
  width: 20.11%;
  margin-top: 10.94cqw;
  gap: 0.68cqw;
  padding-inline: 1cqw;
}

.feature-card__icon {
  width: 3.09cqw;
  height: 3.09cqw;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.feature-card__icon--indigo {
  color: #585be2;
  background: #e7e9ff;
}

.feature-card__icon--mint {
  color: #098a6e;
  background: #dcf5ee;
}

.feature-card__icon svg {
  width: 54%;
  height: 54%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__icon--mint svg:first-child circle {
  fill: currentColor;
  stroke: none;
}

.feature-card__text {
  min-width: 0;
  display: block;
  flex: 1 1 auto;
}

.feature-card--annual .feature-card__text {
  max-width: 12.86cqw;
}

.feature-card--classes .feature-card__text {
  max-width: 12.95cqw;
}

.feature-card--pedagogy .feature-card__text {
  max-width: 13.18cqw;
}

.feature-card h2 {
  margin: 0;
  color: #22203f;
  font-size: 1.135cqw;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.feature-card p {
  margin: 0.17cqw 0 0;
  color: var(--muted);
  font-size: 0.88cqw;
  font-weight: 400;
  line-height: 1.38;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.feature-card--classes p {
  font-size: 0.81cqw;
  letter-spacing: -0.015em;
}

.feature-card__arrow {
  width: 0.9cqw;
  height: 0.9cqw;
  flex: 0 0 auto;
  fill: none;
  stroke: #74768c;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow {
  min-height: 36rem;
  padding: 2.32cqw clamp(2rem, 7vw, 7rem) 5rem;
  text-align: center;
  background: var(--workflow);
}

.workflow__title {
  width: 46cqw;
  margin: 0.63cqw auto 0;
  color: #1d1a4a;
  font-size: 2.52cqw;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

.workflow__body {
  width: min(100%, 70rem);
  margin: 4rem auto 0;
  text-align: start;
}

.workflow__copy {
  max-width: 52ch;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: center;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  min-height: 9rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid #dcddee;
  scroll-margin-block-start: 1.5rem;
}

.workflow-step__number {
  color: var(--indigo);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.workflow-steps h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.35;
}

.workflow-steps p {
  max-width: 29ch;
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem clamp(2rem, 7vw, 7rem);
  color: #f6f5ff;
  background: #1e1b4b;
}

.wordmark--footer {
  position: static;
  transform: none;
  color: #fff;
  font-size: 1.25rem;
}

.site-footer p {
  margin: 0;
  color: #e3e1f6;
}

.back-to-top {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.back-to-top:hover {
  text-decoration: underline;
}

html[lang="ar"] {
  font-family: Cairo, Nunito, sans-serif;
}

html[lang="ar"] body,
html[lang="ar"] .language-switch {
  font-family: Cairo, Nunito, sans-serif;
}

html[lang="ar"] .feature-card__text,
html[lang="ar"] .workflow__body {
  text-align: start;
}

html[lang="ar"] .feature-card__arrow {
  transform: rotate(180deg);
}

html[lang="ar"] .workflow-steps {
  direction: rtl;
}

@media (min-width: 681px) and (max-width: 900px) and (hover: hover) and (pointer: fine) {
  .site-nav a,
  .language-switch {
    min-height: 0;
  }

  .language-switch {
    height: 2.71cqw;
  }
}

@media (max-width: 680px) {
  .site-shell {
    overflow: hidden;
  }

  .site-header {
    height: auto;
    min-height: 4.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.25rem 1rem;
    padding: 0.4rem 1.25rem 0;
  }

  .wordmark {
    position: static;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: max-content;
    max-width: 100%;
    transform: none;
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
    margin-inline-start: 0;
    padding-block: 0.25rem 0.5rem;
  }

  .site-nav a {
    position: static;
    min-height: 44px;
    transform: none;
    color: var(--ink);
    font-size: 0.9rem;
  }

  .header-divider {
    display: none;
  }

  .language-switch {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
    min-width: 6.3rem;
    height: auto;
    min-height: 44px;
    gap: 0.4rem;
    padding-inline: 0.7rem;
    font-size: 0.9rem;
  }

  .language-switch__globe {
    width: 1rem;
    height: 1rem;
  }

  .language-switch__chevron {
    width: 0.75rem;
    height: 0.75rem;
  }

  .hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem 1rem 1.25rem;
  }

  .hero-plate {
    opacity: 0.34;
    object-fit: cover;
  }

  .hero-ornament {
    display: none;
  }

  .hero-core {
    position: relative;
    inset: auto;
    width: min(100%, 34rem);
    margin: 0 auto 0.5rem;
    text-align: center;
  }

  .hero-core h1 {
    height: auto;
    font-size: clamp(1.25rem, 6.5vw, 2.25rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    white-space: normal;
  }

  .hero-core__copy {
    position: static;
    width: 100%;
    height: auto;
    margin: 1rem auto 1.25rem;
    color: #54586b;
    font-size: 1rem;
    line-height: 1.65;
    white-space: normal;
  }

  .primary-link {
    position: static;
    width: max-content;
    min-width: min(12rem, 100%);
    max-width: 100%;
    height: auto;
    min-height: 3.25rem;
    margin-inline: auto;
    margin-top: 0;
    gap: min(0.7rem, 3vw);
    padding-inline: min(1.2rem, 5vw);
    padding-block: 0.5rem;
    font-size: 1rem;
  }

  .primary-link svg {
    width: 1rem;
    height: 1rem;
  }

  .availability {
    position: static;
    width: auto;
    margin: 0.75rem auto 0;
    color: #55586a;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
  }

  .feature-card {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: min(2.8rem, 14vw) minmax(0, 1fr) auto;
    width: min(100%, 32rem);
    min-height: 5.2rem;
    height: auto;
    gap: min(0.75rem, 3.75vw);
    margin-inline: auto;
    padding: min(0.8rem, 4vw) min(1rem, 5vw);
    border-radius: 0.85rem;
    box-shadow: 0 3px 12px rgb(40 36 72 / 13%);
  }

  .feature-card--annual .feature-card__text,
  .feature-card--classes .feature-card__text,
  .feature-card--pedagogy .feature-card__text {
    max-width: none;
  }

  .feature-card--pedagogy {
    margin-block-start: 0;
  }

  .feature-card__text {
    transform: none;
  }

  .feature-card__icon {
    width: min(2.8rem, 14vw);
    height: min(2.8rem, 14vw);
  }

  .feature-card h2 {
    font-size: 1rem;
    line-height: 1.35;
    white-space: normal;
  }

  .feature-card p {
    margin-top: 0.18rem;
    font-size: 0.86rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .feature-card__arrow {
    position: static;
    width: min(0.9rem, 4vw);
    height: min(0.9rem, 4vw);
  }

  .workflow {
    min-height: 0;
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .workflow__title {
    width: auto;
    max-width: 39rem;
    margin-top: 0.6rem;
    font-size: clamp(1.8rem, 5.5vw, 2.6rem);
    line-height: 1.18;
  }

  .workflow__body {
    margin-top: 2.4rem;
  }

  .workflow__copy {
    font-size: 1rem;
    text-align: start;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .workflow-steps li {
    min-height: 0;
    padding-block: 1.25rem;
  }

  .site-footer {
    min-height: 0;
    flex-wrap: wrap;
    padding: 1.5rem 1.25rem;
  }

  .site-footer p {
    width: 100%;
    order: 3;
  }
}

@media (max-width: 400px) {
  .site-header {
    column-gap: min(1rem, 3vw);
    padding-inline: 1rem;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .language-switch {
    min-width: auto;
    font-size: clamp(0.75rem, 3.5vw, 0.9rem);
    gap: min(0.4rem, 3vw);
    padding-inline: min(0.7rem, 4vw);
  }

  .language-switch__globe {
    width: min(1rem, 4vw);
    height: min(1rem, 4vw);
  }

  .language-switch__chevron {
    width: min(0.75rem, 3vw);
    height: min(0.75rem, 3vw);
  }

  .site-footer {
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
