@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Readex+Pro:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f6f3e9;
  --paper-deep: #ece8da;
  --ink: #183d3a;
  --ink-soft: #54706a;
  --teal: #17695e;
  --teal-dark: #104e48;
  --lime: #d8e59a;
  --coral: #df7155;
  --gold: #e8ba55;
  --line: rgba(24, 61, 58, .17);
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-display: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  --shadow: 0 22px 60px rgba(27, 56, 49, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
.skip-link {
  position: absolute; top: 10px; right: 10px; z-index: 30;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(24,61,58,.1);
  background: rgba(246,243,233,.92);
  backdrop-filter: blur(16px);
}
.nav-row {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.06em;
}
.brand-mark {
  display: grid; place-items: center; width: 39px; height: 39px; border-radius: 13px 13px 13px 4px;
  background: var(--teal); color: var(--lime); font-family: var(--font-display); font-size: 1.2rem;
  transform: rotate(-5deg);
}
.brand-mark span { transform: rotate(5deg); }
.nav-links { display: flex; align-items: center; gap: 31px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: .93rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--coral); }
.nav-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 21px; border: 1px solid transparent; border-radius: 6px;
  background: var(--teal); color: var(--paper); text-decoration: none; font-weight: 600;
  transition: transform .22s, background-color .22s, color .22s;
}
.nav-cta:hover, .button:hover { background: var(--teal-dark); transform: translateY(-2px); }
.nav-cta { min-height: 42px; padding: 7px 16px; font-size: .9rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 5px;
  color: var(--ink); background: transparent; cursor: pointer;
}
.hero {
  position: relative; overflow: hidden; padding: 94px 0 104px;
  background: var(--paper);
}
.hero::after {
  content: ""; position: absolute; width: 550px; height: 550px; border: 1px solid rgba(23,105,94,.13);
  border-radius: 50%; left: -190px; top: -285px; box-shadow: 0 0 0 50px rgba(23,105,94,.025), 0 0 0 100px rgba(23,105,94,.02);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr .92fr; gap: 52px; align-items: center; position: relative; z-index: 1;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 22px;
  color: var(--teal); font-size: .84rem; font-weight: 700; letter-spacing: .03em;
}
.eyebrow::before { content: ""; width: 27px; height: 2px; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.28; }
h1 { max-width: 650px; margin-bottom: 24px; font-size: clamp(2.65rem, 5.2vw, 4.55rem); letter-spacing: -.065em; }
h1 em { position: relative; color: var(--teal); font-style: normal; white-space: nowrap; }
h1 em::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -3px; height: 10px;
  background: var(--lime); z-index: -1; transform: rotate(-1.2deg);
}
.hero-copy { max-width: 545px; margin-bottom: 30px; color: var(--ink-soft); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.text-link span { color: var(--coral); transition: transform .2s; }
.text-link:hover span { transform: translateX(-4px); }
.hero-note { margin: 20px 0 0; color: var(--ink-soft); font-size: .84rem; }
.hero-art {
  min-height: 438px; position: relative; display: grid; place-items: center;
  isolation: isolate;
}
.art-orbit {
  position: absolute; width: 365px; height: 365px; border: 1px solid rgba(23,105,94,.24);
  border-radius: 50%; transform: rotate(-21deg);
}
.art-orbit::before, .art-orbit::after {
  content: ""; position: absolute; border: 1px solid rgba(23,105,94,.16); border-radius: 50%;
}
.art-orbit::before { inset: 27px -18px; transform: rotate(48deg); }
.art-orbit::after { inset: 70px 35px; transform: rotate(-53deg); }
.learning-card {
  position: relative; z-index: 2; width: min(330px, 80%); padding: 27px 25px 23px;
  background: #fffdf5; border: 1px solid rgba(24,61,58,.17); border-radius: 3px 3px 26px 3px;
  box-shadow: var(--shadow); transform: rotate(2.5deg);
  animation: card-arrive .8s cubic-bezier(.2,.8,.2,1) both;
}
.card-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.card-label { font-size: .75rem; color: var(--ink-soft); }
.card-seal { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--teal); font-size: .75rem; font-weight: 700; }
.card-title { margin: 17px 0 6px; font-family: var(--font-display); font-size: 1.23rem; }
.card-subtitle { margin: 0 0 20px; color: var(--ink-soft); font-size: .8rem; }
.signal-row { display: flex; align-items: center; gap: 10px; margin: 13px 0; font-size: .78rem; }
.signal-name { width: 78px; color: var(--ink-soft); }
.signal-track { height: 7px; flex: 1; overflow: hidden; border-radius: 8px; background: var(--paper-deep); }
.signal-fill { height: 100%; border-radius: inherit; background: var(--teal); transform-origin: right; animation: bar-grow 1s .4s both; }
.signal-row:nth-of-type(2) .signal-fill { background: var(--coral); }
.signal-row:nth-of-type(3) .signal-fill { background: var(--gold); }
.signal-value { width: 29px; text-align: left; color: var(--ink); font-family: var(--font-display); font-size: .72rem; }
.card-foot { margin-top: 20px; padding-top: 13px; border-top: 1px dashed var(--line); color: var(--ink-soft); font-size: .72rem; }
.orbit-dot { position: absolute; z-index: 3; width: 15px; height: 15px; border-radius: 50%; background: var(--coral); }
.dot-one { top: 47px; left: 21%; }
.dot-two { bottom: 56px; right: 13%; width: 10px; height: 10px; background: var(--gold); }
.sticky-note {
  position: absolute; z-index: 3; left: 3%; bottom: 49px; padding: 13px 16px; max-width: 180px;
  color: var(--ink); background: var(--lime); font-size: .78rem; line-height: 1.6;
  box-shadow: 0 10px 25px rgba(27,56,49,.1); transform: rotate(-7deg);
}
.section { padding: 104px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-kicker {
  margin-bottom: 15px; color: var(--coral); font-size: .8rem; font-weight: 700;
  letter-spacing: .04em;
}
h2 { margin-bottom: 17px; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.05em; }
.section-intro { color: var(--ink-soft); font-size: 1.06rem; }
.purpose-section { background: var(--teal); color: var(--paper); }
.purpose-section .section-kicker { color: var(--lime); }
.purpose-section .section-intro { color: rgba(246,243,233,.76); }
.purpose-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.purpose-section h2 { max-width: 470px; }
.purpose-quote {
  margin: 10px 0 0; padding: 31px 34px; border: 1px solid rgba(246,243,233,.25);
  border-inline-start: 4px solid var(--lime); font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.7;
}
.purpose-quote strong { color: var(--lime); font-weight: 600; }
.purpose-caption { margin: 18px 34px 0; color: rgba(246,243,233,.66); font-size: .82rem; }
.steps-section { background: var(--paper-deep); }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.step { padding: 30px 27px 34px; min-height: 220px; border-inline-start: 1px solid var(--line); }
.step:first-child { border-inline-start: 0; }
.step-num { display: flex; align-items: center; justify-content: space-between; margin-bottom: 29px; color: var(--coral); font-family: var(--font-display); font-size: .92rem; }
.step-num::after { content: ""; width: 26px; height: 1px; background: var(--coral); }
.step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step p { max-width: 280px; margin: 0; color: var(--ink-soft); font-size: .94rem; }
.organize-section { overflow: hidden; }
.organize-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }
.grade-visual {
  position: relative; min-height: 360px; padding: 36px; background: var(--lime);
  border-radius: 3px 90px 3px 3px; overflow: hidden;
}
.grade-visual::before {
  content: ""; position: absolute; width: 280px; height: 280px; left: -70px; bottom: -130px;
  border: 1px solid rgba(24,61,58,.2); border-radius: 50%; box-shadow: 0 0 0 30px rgba(24,61,58,.035), 0 0 0 60px rgba(24,61,58,.035);
}
.grade-sheet {
  position: relative; z-index: 1; max-width: 390px; margin: 0 auto; padding: 20px 23px 16px;
  background: #fffdf5; box-shadow: 0 16px 45px rgba(24,61,58,.14); transform: rotate(-2deg);
}
.sheet-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.sheet-heading strong { font-family: var(--font-display); font-size: .92rem; }
.sheet-heading span { color: var(--ink-soft); font-size: .7rem; }
.grade-line { display: grid; grid-template-columns: 1.2fr .7fr .65fr; gap: 9px; padding: 9px 0; border-bottom: 1px solid rgba(24,61,58,.08); font-size: .73rem; }
.grade-line:first-of-type { color: var(--ink-soft); font-size: .68rem; }
.grade-line:not(:first-of-type) span:nth-child(2) { color: var(--teal); font-weight: 600; }
.grade-line:not(:first-of-type) span:last-child { text-align: left; }
.sheet-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; color: var(--teal); font-size: .7rem; }
.sheet-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.organize-copy p { color: var(--ink-soft); }
.organize-points { list-style: none; margin: 23px 0 0; padding: 0; }
.organize-points li { display: flex; align-items: baseline; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.organize-points li::before { content: "+"; color: var(--coral); font-family: var(--font-display); font-weight: 700; }
.boundary-section { padding: 0 0 104px; }
.boundary {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  padding: 31px 35px; background: #f0dfce; border-inline-start: 5px solid var(--coral);
}
.boundary-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(24,61,58,.3);
  border-radius: 50%; font-family: var(--font-display); font-weight: 700;
}
.boundary h2 { margin-bottom: 7px; font-size: 1.34rem; }
.boundary p { margin: 0; color: #4e625d; }
.boundary strong { color: var(--ink); }
.contact-section { padding: 92px 0 98px; background: var(--ink); color: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-section .section-kicker { color: var(--lime); }
.contact-section h2 { max-width: 430px; }
.contact-copy { max-width: 390px; color: rgba(246,243,233,.72); }
.contact-form { padding: 30px; background: #f6f3e9; color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.13); }
.form-grid { display: grid; gap: 19px; }
.field label { display: block; margin-bottom: 7px; font-size: .87rem; font-weight: 600; }
.field input, .field textarea {
  display: block; width: 100%; border: 1px solid rgba(24,61,58,.28); border-radius: 3px;
  background: #fffdf5; color: var(--ink); padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8a9a93; }
.field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,105,94,.12); outline: none; }
.field textarea { min-height: 128px; resize: vertical; }
.form-help { margin: 0; color: var(--ink-soft); font-size: .79rem; }
.form-submit { width: 100%; cursor: pointer; border: 0; }
.form-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.form-status { min-height: 1.7em; margin: 0; font-size: .88rem; font-weight: 600; }
.form-status[data-state="success"] { color: var(--teal); }
.form-status[data-state="error"] { color: #a44431; }
.site-footer { padding: 24px 0; background: #12332f; color: rgba(246,243,233,.75); font-size: .82rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { color: var(--paper); font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.footer-note { margin: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
@keyframes card-arrive { from { opacity: 0; transform: translateY(18px) rotate(5deg); } to { opacity: 1; transform: translateY(0) rotate(2.5deg); } }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .hero { padding: 70px 0 78px; }
  .hero-grid { gap: 24px; grid-template-columns: 1fr  .85fr; }
  .hero-art { min-height: 370px; }
  .art-orbit { width: 300px; height: 300px; }
  .sticky-note { left: 0; bottom: 22px; }
  .purpose-layout, .contact-layout { gap: 48px; }
  .organize-layout { gap: 45px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 36px, 540px); }
  .nav-row { min-height: 68px; }
  .menu-toggle { display: grid; place-items: center; }
  .menu-toggle svg { width: 21px; height: 21px; }
  .nav-cta { margin-inline-start: auto; min-height: 39px; padding-inline: 12px; font-size: .82rem; }
  .nav-links {
    position: absolute; top: calc(100% + 1px); inset-inline: 0; display: none; align-items: stretch;
    gap: 0; padding: 8px 18px 18px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .hero { padding: 57px 0 55px; }
  .hero-grid { grid-template-columns: 1fr; gap: 15px; }
  h1 { max-width: 520px; font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero-copy { font-size: 1.02rem; }
  .hero-art { min-height: 380px; margin-top: 6px; }
  .section { padding: 75px 0; }
  .section-head { margin-bottom: 34px; }
  .purpose-layout, .organize-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .purpose-quote { padding: 23px; }
  .purpose-caption { margin-inline: 23px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 22px 8px 26px; border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step-num { margin-bottom: 14px; }
  .step p { max-width: 100%; }
  .grade-visual { min-height: 315px; padding: 27px 16px; }
  .boundary-section { padding-bottom: 72px; }
  .boundary { gap: 16px; padding: 24px 20px; }
  .contact-section { padding: 72px 0; }
  .contact-form { padding: 23px 19px; }
  .footer-row { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (max-width: 390px) {
  .nav-cta { padding-inline: 9px; font-size: .76rem; }
  .brand { gap: 7px; font-size: 1.2rem; }
  .brand-mark { width: 35px; height: 35px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .learning-card { padding: 23px 19px 20px; }
  .sticky-note { max-width: 150px; font-size: .72rem; }
}
