:root {
  --cream: #f7f3eb;
  --paper: #fffdf8;
  --ink: #192e3b;
  --muted: #6c777b;
  --coral: #f36b54;
  --coral-dark: #dc553e;
  --mint: #d9ede5;
  --line: #e4e1d8;
  --font-ar: "Tajawal", sans-serif;
  --font-latin: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 18px;
  line-height: 1.55;
}
html[lang="en"] body,
html[lang="fr"] body {
  font-family: var(--font-latin);
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -80px;
  inset-inline-start: 12px;
  background: var(--ink);
  color: white;
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(25, 46, 59, 0.08);
  position: relative;
  z-index: 20;
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark {
  width: 48px;
  height: 48px;
  background: var(--coral);
  border-radius: 14px 14px 14px 3px;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 22px var(--font-latin);
  transform: rotate(-8deg);
}
.brand-mark span:last-child {
  position: absolute;
  inset-inline-end: 5px;
  bottom: 2px;
  font: 700 16px var(--font-ar);
}
.brand-name {
  font-weight: 800;
  font-size: 20px;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.brand-name span {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-top: 4px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
}
.main-nav a:hover,
.text-link:hover {
  color: var(--coral-dark);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.locale-switch {
  display: flex;
  background: #ece9e1;
  border-radius: 100px;
  padding: 3px;
  gap: 1px;
}
.locale-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 700 11px var(--font-latin);
  padding: 8px;
  border-radius: 100px;
  min-width: 38px;
}
.locale-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 7px #192e3b16;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 9px;
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-3px);
}
.button-small {
  font-size: 14px;
  padding: 14px 20px;
}
.button-dark {
  background: var(--ink);
  color: white;
}
.button-primary {
  background: var(--coral);
  color: white;
  padding: 19px 25px;
  font-size: 17px;
  box-shadow: 0 10px 25px #f36b5429;
}
.button-primary:hover {
  background: var(--coral-dark);
}
.arrow {
  font-family: var(--font-latin);
  font-size: 20px;
}
.hero {
  overflow: hidden;
}
.hero-grid {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}
.hero-copy {
  padding: 65px 0 80px;
}
.eyebrow,
.section-kicker {
  font-size: 14px;
  color: var(--coral-dark);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--coral);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 1.11;
  letter-spacing: -0.035em;
  margin: 20px 0 24px;
  font-weight: 800;
}
h1 em,
h2 em {
  color: var(--coral);
  font-style: normal;
}
.hero-description {
  font-size: 20px;
  max-width: 545px;
  color: #5c6b70;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.text-link {
  font-weight: 800;
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: #efad9f;
  text-underline-offset: 6px;
}
.text-link span {
  display: inline-block;
  margin-inline-start: 4px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #768080;
  font-size: 14px;
  margin-top: 62px;
}
.note-icon {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--mint);
  color: #438c75;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.hero-art {
  height: 540px;
  position: relative;
  isolation: isolate;
}
.art-orbit {
  position: absolute;
  border: 1px solid #d3dfd7;
  border-radius: 50%;
  z-index: -1;
}
.orbit-one {
  width: 460px;
  height: 460px;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
}
.orbit-two {
  width: 330px;
  height: 330px;
  top: 104px;
  left: 50%;
  transform: translateX(-50%);
}
.art-star {
  position: absolute;
  color: #e49d73;
}
.star-one {
  top: 35px;
  left: 24%;
  font-size: 45px;
}
.star-two {
  bottom: 90px;
  right: 8%;
  font-size: 34px;
}
.language-card {
  width: 285px;
  height: 185px;
  border-radius: 14px;
  position: absolute;
  box-shadow: 0 22px 35px #1e343b22;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  direction: ltr;
  transition: transform 0.3s;
}
.language-card:hover {
  transform: translateY(-7px) rotate(0);
}
.card-label {
  font: 700 13px var(--font-latin);
  letter-spacing: 0.13em;
}
.language-card strong {
  font: 700 45px var(--font-latin);
  line-height: 1;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 700 12px var(--font-latin);
  opacity: 0.7;
}
.card-bottom span {
  font-size: 20px;
}
.card-french {
  background: #f8bfa7;
  color: #853f34;
  top: 55px;
  left: 8%;
  transform: rotate(-10deg);
}
.card-english {
  background: #cbe8dd;
  color: #1e5a4f;
  top: 161px;
  right: 5%;
  transform: rotate(9deg);
}
.card-arabic {
  background: #273f54;
  color: white;
  top: 295px;
  left: 14%;
  transform: rotate(-5deg);
  direction: rtl;
}
.card-arabic .card-label,
.card-arabic strong {
  font-family: var(--font-ar);
}
.card-arabic .card-bottom {
  direction: ltr;
}
.art-caption {
  position: absolute;
  bottom: 8px;
  right: 13%;
  background: #fff;
  padding: 12px 17px;
  border-radius: 50px;
  box-shadow: 0 9px 24px #192e3b12;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}
.caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.ticker {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.ticker-inner {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  white-space: nowrap;
  font: 700 14px var(--font-latin);
  letter-spacing: 0.09em;
}
.ticker i {
  font-size: 16px;
  color: var(--coral);
  font-style: normal;
}
.section {
  padding: 110px 0;
}
.approach {
  background: var(--paper);
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.section-intro h2,
.section-heading h2,
.faq-grid h2,
.join-copy h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 16px 0 22px;
}
.section-intro p,
.section-heading p,
.join-copy p {
  color: var(--muted);
  line-height: 1.85;
  max-width: 500px;
}
.section-intro .text-link {
  display: inline-block;
  margin-top: 20px;
}
.features {
  display: grid;
  gap: 14px;
}
.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f7f6f0;
  border: 1px solid #efede5;
  border-radius: 16px;
  padding: 23px 25px;
}
.feature-icon {
  background: #dceee8;
  color: #397b6b;
  min-width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font: 800 16px var(--font-latin);
}
.feature h3 {
  font-size: 21px;
  margin: 0 0 5px;
}
.feature p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.language-section {
  background: #f4f0e8;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading p {
  max-width: 310px;
  margin-bottom: 4px;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.course-card {
  min-height: 365px;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px #192e3b18;
}
.course-ar {
  background: #d9eae4;
  color: #20544a;
}
.course-en {
  background: #f6c6b4;
  color: #853f34;
}
.course-fr {
  background: #d7dfe9;
  color: #294662;
}
.course-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  font-size: 14px;
  font-weight: 800;
}
.course-symbol {
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font: 700 18px var(--font-latin);
}
.course-word {
  font-size: clamp(48px, 5vw, 75px);
  font-weight: 800;
  text-align: center;
  flex: 1;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
  letter-spacing: -0.06em;
}
.course-en .course-word,
.course-fr .course-word {
  font-family: var(--font-latin);
}
.course-fr .course-word {
  font-size: clamp(40px, 4.6vw, 64px);
}
.course-bottom {
  border-top: 1px solid currentColor;
  padding-top: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}
.course-bottom h3 {
  font-size: 21px;
  margin: 0 0 3px;
}
.course-bottom p {
  font-size: 15px;
  opacity: 0.8;
  margin: 0;
}
.course-bottom a {
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  font: 20px var(--font-latin);
}
.steps-section {
  background: var(--paper);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
.step > span {
  color: var(--coral);
  font: 700 15px var(--font-latin);
}
.step h3 {
  font-size: 23px;
  margin: 22px 0 7px;
}
.step p {
  color: var(--muted);
  font-size: 16px;
  max-width: 300px;
}
.join-section {
  background: #21394b;
  color: white;
  position: relative;
  overflow: hidden;
}
.join-section:after {
  content: "✳";
  position: absolute;
  font-size: 440px;
  color: #ffffff07;
  bottom: -270px;
  left: -60px;
  line-height: 1;
  pointer-events: none;
}
.join-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 90px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.join-copy .section-kicker {
  color: #f9af9d;
}
.join-copy h2 {
  font-size: clamp(43px, 4.4vw, 65px);
}
.join-copy p {
  color: #c4d1d6;
}
.join-decoration {
  height: 140px;
  position: relative;
  margin-top: 45px;
}
.join-decoration span {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 11px;
  padding: 9px 17px;
  font: 700 20px var(--font-latin);
  box-shadow: 0 12px 20px #0002;
  transform: rotate(-9deg);
}
.join-decoration span:nth-child(2) {
  left: 32%;
  top: 47px;
  background: #f7bdab;
  transform: rotate(7deg);
}
.join-decoration span:nth-child(3) {
  left: 64%;
  top: 4px;
  background: #cce9dd;
  font-family: var(--font-ar);
  transform: rotate(-5deg);
}
.form-panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 19px;
  padding: 38px;
  box-shadow: 0 28px 50px #1429354d;
}
.form-panel h3 {
  font-size: 28px;
  margin: 0 0 5px;
}
.form-panel > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 25px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}
.field label {
  font-size: 15px;
  font-weight: 800;
}
.field input,
.field select {
  width: 100%;
  border: 1px solid #dce0dc;
  background: #fff;
  border-radius: 9px;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  font-size: 16px;
  min-height: 50px;
}
.field input:focus,
.field select:focus {
  border-color: #e58774;
  box-shadow: 0 0 0 3px #f36b5425;
}
.field input::placeholder {
  color: #9ba2a1;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 5px;
}
.form-message {
  font-size: 14px;
  line-height: 1.55;
  margin: 14px 0 0;
  color: #2c7562;
}
.form-message:empty {
  display: none;
}
.form-message.error {
  color: #b44236;
}
.form-privacy {
  font-size: 12px;
  color: #87908e;
  text-align: center;
  margin: 13px 0 0;
}
.faq-section {
  background: var(--paper);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  font: 500 26px var(--font-latin);
  color: var(--coral);
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list p {
  color: var(--muted);
  font-size: 16px;
  margin: 10px 0 2px;
  max-width: 600px;
}
.site-footer {
  background: #eae9df;
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 18px;
}
.footer-inner .brand-mark span:last-child {
  font-size: 12px;
}
.footer-inner .brand-name {
  font-size: 16px;
}
.footer-inner .brand-name span {
  font-size: 10px;
}
.footer-inner p,
.copyright {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
html[dir="ltr"] .brand-mark {
  transform: rotate(-8deg);
}
html[dir="ltr"] .hero-art {
  direction: rtl;
}
html[dir="ltr"] .text-link span {
  transform: scaleX(-1);
}
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .hero-grid {
    min-height: 570px;
  }
  .hero-art {
    transform: scale(0.88);
    transform-origin: center;
  }
  .approach-grid,
  .join-grid {
    gap: 45px;
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 580px);
  }
  .header-inner {
    min-height: 72px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-name span {
    font-size: 10px;
  }
  .header-actions {
    gap: 7px;
  }
  .header-actions > .button {
    display: none;
  }
  .locale-switch button {
    font-size: 10px;
    min-width: 32px;
    padding: 7px 5px;
  }
  .hero-grid,
  .approach-grid,
  .join-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 0;
  }
  .hero-copy {
    padding: 55px 0 25px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-note {
    margin-top: 32px;
  }
  .hero-art {
    height: 435px;
    transform: scale(0.8);
    transform-origin: top center;
    margin-bottom: -70px;
  }
  .language-card {
    width: 260px;
    height: 170px;
  }
  .card-french {
    left: 0;
  }
  .card-english {
    right: 0;
  }
  .card-arabic {
    left: 9%;
    top: 275px;
  }
  .orbit-one {
    width: 395px;
    height: 395px;
  }
  .orbit-two {
    width: 280px;
    height: 280px;
  }
  .art-caption {
    bottom: 3px;
  }
  .ticker-inner {
    width: max-content;
    gap: 25px;
    padding-inline: 20px;
  }
  .section {
    padding: 75px 0;
  }
  .approach-grid,
  .join-grid,
  .faq-grid {
    gap: 35px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 20px;
  }
  .language-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .course-card {
    min-height: 285px;
  }
  .course-word {
    font-size: 64px;
  }
  .steps-grid {
    gap: 30px;
  }
  .join-decoration {
    display: none;
  }
  .form-panel {
    padding: 25px;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
  .footer-inner p {
    display: none;
  }
}
@media (max-width: 350px) {
  .brand-name {
    display: none;
  }
  .hero-art {
    margin-inline: -25px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  h1 {
    font-size: 44px;
  }
}
