@font-face {
  font-family: "Cairo Brand";
  src: url("../fonts/brand/cairo-arabic-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo Brand";
  src: url("../fonts/brand/cairo-arabic-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo Brand";
  src: url("../fonts/brand/cairo-arabic-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo Brand";
  src: url("../fonts/brand/cairo-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cairo Brand";
  src: url("../fonts/brand/cairo-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cairo Brand";
  src: url("../fonts/brand/cairo-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal Brand";
  src: url("../fonts/brand/tajawal-arabic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal Brand";
  src: url("../fonts/brand/tajawal-arabic-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal Brand";
  src: url("../fonts/brand/tajawal-arabic-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal Brand";
  src: url("../fonts/brand/tajawal-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal Brand";
  src: url("../fonts/brand/tajawal-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal Brand";
  src: url("../fonts/brand/tajawal-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --accent: #c44536;
  --accent-ink: #fff8f3;
  --paper: #f6f1ea;
  --surface: #fffaf6;
  --ink: #1c1614;
  --muted: #5e534c;
  --line: #e4d9cf;
  --hero: #c44536;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, var(--surface));
  --shadow: 0 18px 40px color-mix(in srgb, var(--accent) 12%, rgb(28 22 20 / 10%));
  --radius: 20px;
  --nav: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
html.dark {
  --paper: #10151f;
  --surface: #182033;
  --ink: #f6f1ea;
  --muted: #c4b8ae;
  --line: #2c3548;
  --hero: #1e3a8a;
  --accent-soft: color-mix(in srgb, var(--accent) 18%, var(--surface));
  --shadow: 0 18px 40px rgb(0 0 0 / 35%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body.glance {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Tajawal Brand", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: clip;
}
h1, h2, h3, .btn, .stat b, .brand-name, .ticker, .signature strong { font-family: "Cairo Brand", "Tajawal Brand", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  z-index: 30;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
}
.skip:focus { top: 12px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--nav);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav-in, .nav-links, .nav-actions, .brand { display: flex; align-items: center; }
.nav-in { width: min(1180px, calc(100% - 40px)); min-height: var(--nav); margin-inline: auto; justify-content: space-between; gap: 16px; }
.icon-btn.nav-toggle { display: none; }
.mobile-menu { display: none; }
.brand { gap: 10px; min-width: 0; }
.brand img { width: auto; height: 40px; max-width: 156px; object-fit: contain; object-position: center; background: transparent; }
html.dark .brand img { filter: invert(1); }
.brand-name { font-weight: 800; font-size: 1rem; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-family: "Tajawal Brand", sans-serif; font-weight: 500; font-size: .78rem; }
.nav-links { gap: 6px; color: var(--muted); font-weight: 700; }
.nav-links a { padding: 6px 12px; border-radius: 999px; transition: color .25s var(--ease), background .25s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.nav-actions { gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), background .25s ease, color .25s ease, box-shadow .3s var(--ease), border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-solid { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: var(--accent-ink); color: #1c1614; box-shadow: 0 12px 28px rgb(0 0 0 / 18%); }
.btn-light i { transition: transform .3s var(--ease); }
.btn-light:hover i { transform: translateX(4px); }
[dir="rtl"] .btn-light:hover i.flip { transform: scaleX(-1) translateX(4px); }
.btn-outline-light { background: transparent; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 55%, transparent); }
.btn-outline-light:hover { background: color-mix(in srgb, var(--accent-ink) 12%, transparent); }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .4; cursor: default; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hero);
  color: var(--accent-ink);
  border-end-start-radius: 40px;
  border-end-end-radius: 40px;
  min-height: min(calc(100dvh - var(--nav)), 760px);
  display: flex;
  align-items: stretch;
}
.hero-glow {
  position: absolute;
  inset: -10%;
  z-index: -1;
  background:
    radial-gradient(40rem 28rem at 80% 10%, color-mix(in srgb, var(--accent-ink) 16%, transparent), transparent 60%),
    radial-gradient(30rem 24rem at 10% 100%, color-mix(in srgb, #000 22%, transparent), transparent 70%);
  animation: glow-drift 18s ease-in-out infinite alternate;
}
[dir="rtl"] .hero-glow { transform: scaleX(-1); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 24px;
  align-items: center;
}
.hero-copy { padding: 48px 0; animation: rise .8s var(--ease) both; }
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .95rem;
  opacity: .92;
}
.tagline::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.hero h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 15ch;
  letter-spacing: -.01em;
}
[dir="rtl"] .hero h1 { letter-spacing: 0; }
.hero p { margin: 0; max-width: 42ch; color: var(--accent-ink); opacity: .9; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.stage {
  position: relative;
  align-self: end;
  height: min(640px, calc(100dvh - var(--nav) - 20px));
  min-height: 460px;
  display: grid;
  place-items: end center;
  animation: rise 1s .1s var(--ease) both;
}
.stage-blob {
  position: absolute;
  bottom: 6%;
  width: min(440px, 92%);
  aspect-ratio: 1;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent-ink) 34%, transparent), color-mix(in srgb, var(--accent-ink) 8%, transparent));
  border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
  animation: blob-morph 14s ease-in-out infinite, spin 60s linear infinite;
}
.stage-ring {
  position: absolute;
  bottom: 1%;
  width: min(520px, 108%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--accent-ink) 40%, transparent);
  animation: spin 50s linear infinite;
}
.stage-orbit { position: absolute; inset: 0; pointer-events: none; }
.stage-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--accent-ink);
  color: var(--accent);
  font-family: "Cairo Brand", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 0 16px 30px rgb(0 0 0 / 18%);
  animation: float 6s ease-in-out infinite;
}
.stage-orbit span:nth-child(1) { top: 16%; inset-inline-start: 6%; transform: rotate(-8deg); }
.stage-orbit span:nth-child(2) { top: 34%; inset-inline-end: 2%; animation-delay: -1.5s; width: 48px; height: 48px; font-size: 1.3rem; }
.stage-orbit span:nth-child(3) { bottom: 22%; inset-inline-start: 0; animation-delay: -3s; width: 52px; height: 52px; }
.stage-orbit span:nth-child(4) { top: 6%; inset-inline-end: 22%; animation-delay: -4.5s; width: 42px; height: 42px; font-size: 1.15rem; background: color-mix(in srgb, var(--accent-ink) 22%, transparent); color: var(--accent-ink); box-shadow: none; }
.stage-person {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  margin-inline: auto;
  width: auto;
  height: 94%;
  max-width: none;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 24px 40px rgb(0 0 0 / 28%));
  transform-origin: bottom center;
  animation: breathe 7s ease-in-out infinite;
}

/* Ticker */
.about-section, .closing-section { overflow: clip; }
.ticker {
  overflow: clip;
  padding: 26px 0 0;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
[dir="rtl"] .ticker-track { animation-direction: reverse; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: var(--ink);
}
.ticker-list li { display: inline-flex; align-items: center; gap: 28px; padding-inline-end: 28px; white-space: nowrap; }
.ticker-list li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--muted); }
.ticker-list i { font-size: .8rem; color: var(--accent); -webkit-text-stroke: 0; animation: spin 8s linear infinite; }
html[dir="rtl"] .ticker-list { direction: rtl; }

/* Stats */
.stats-strip { padding: 40px 0 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 22px 26px;
}
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat i {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.15rem;
}
.stat b { display: block; color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-weight: 500; }

/* Sections */
.section { padding: 88px 0; }
.section h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.25; }
.lead { margin: 0 0 28px; color: var(--muted); max-width: 62ch; }

/* Why */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: stretch; }
.feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  border-radius: 28px;
  padding: 30px 28px 0;
  background:
    radial-gradient(24rem 20rem at 50% 110%, color-mix(in srgb, var(--accent) 36%, transparent), transparent 70%),
    var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  display: flex;
  flex-direction: column;
}
.feature-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.feature-copy p { margin: 0; color: var(--muted); max-width: 34ch; }
.feature-art { position: absolute; inset-inline: 0; bottom: -30%; display: grid; place-items: center; z-index: -1; }
.pulse-ring {
  grid-area: 1 / 1;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
  animation: pulse-ring 4.8s ease-out infinite;
}
.pulse-ring.delay { animation-delay: -2.4s; }
.feature-person {
  margin-top: auto;
  margin-inline: auto;
  width: auto;
  height: 400px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 30px rgb(0 0 0 / 22%));
  animation: breathe 8s -2s ease-in-out infinite;
  transform-origin: bottom center;
}
.why-list > h2 { margin-bottom: 22px; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s var(--ease);
}
.reason:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.reason h3 { margin: 0; font-size: 1.08rem; line-height: 1.4; }
.reason p { margin: 4px 0 0; color: var(--muted); font-size: .97rem; }
.reason-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  animation: bob 5s calc(var(--i, 0) * -.8s) ease-in-out infinite;
}

/* Courses */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 4px; }
.section-head .lead { margin-bottom: 24px; }
.rail-controls { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, calc((100% - 36px) / 3));
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.course {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.course-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--accent-soft); }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.course-media img.course-logo-fallback { object-fit: contain; background: #fffaf6; padding: 12%; box-sizing: border-box; }
.course:hover .course-media img { transform: scale(1.06); }
.course:hover .course-media img.course-logo-fallback { transform: none; }
.course-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course h3 { margin: 0; font-size: 1.12rem; line-height: 1.4; }
.course h3 a:hover { color: var(--accent); }
.course p { margin: 0; color: var(--muted); font-size: .95rem; }
.course-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: "Cairo Brand", sans-serif; font-weight: 800; color: var(--accent); font-size: 1.1rem; }
.price s { color: var(--muted); font-weight: 500; font-size: .85rem; margin-inline-start: 6px; }
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty i { font-size: 2rem; color: var(--accent); }
.empty h3 { color: var(--ink); margin: 12px 0 4px; }
.empty p { margin: 0; }

/* Path */
.path-section { background: var(--surface); border-block: 1px solid var(--line); }
.path {
  position: relative;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
  gap: 24px;
}
.path::before {
  content: "";
  position: absolute;
  top: 31px;
  inset-inline: calc(100% / var(--steps) / 2);
  height: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 26px);
  background-size: 26px 3px;
  opacity: .55;
  animation: dash-flow 1.4s linear infinite;
}
[dir="rtl"] .path::before { animation-direction: reverse; }
.step { position: relative; text-align: center; }
.step-node {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--surface);
}
.step-node::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: node-ping 4s calc(var(--i, 0) * 1s) ease-out infinite;
}
.step h3 { margin: 0 0 6px; font-size: 1.12rem; }
.step p { margin: 0 auto; color: var(--muted); max-width: 26ch; font-size: .97rem; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.halo { position: relative; display: grid; place-items: end center; aspect-ratio: 1; max-width: 500px; width: 100%; margin-inline: auto; }
.halo-disc {
  position: absolute;
  bottom: 0;
  inset-inline: 8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #1c1614));
  box-shadow: 0 30px 60px color-mix(in srgb, var(--accent) 30%, transparent);
}
.halo-ring {
  position: absolute;
  bottom: -4%;
  inset-inline: 4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, var(--accent) 78%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: spin 9s linear infinite;
}
.halo img {
  position: relative;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(42% 44.7% at 50% 55.3%, #000 99%, transparent 100%), linear-gradient(#000 0 55.3%, transparent 55.3%);
  mask-image: radial-gradient(42% 44.7% at 50% 55.3%, #000 99%, transparent 100%), linear-gradient(#000 0 55.3%, transparent 55.3%);
  animation: breathe 8s -4s ease-in-out infinite;
  transform-origin: bottom center;
}
.about-copy .lead { font-size: 1.12rem; }
.about-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.about-points i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .8rem;
}
.signature { display: grid; padding-inline-start: 16px; border-inline-start: 3px solid var(--accent); }
.signature strong { font-size: 1.15rem; }
.signature span { color: var(--muted); }

/* Closing */
.closing-section { padding-top: 0; }
.close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(120deg, var(--hero), color-mix(in srgb, var(--hero) 70%, #1c1614), var(--hero));
  background-size: 220% 220%;
  animation: gradient-pan 14s ease-in-out infinite alternate;
  color: var(--accent-ink);
  border-radius: 32px;
  padding: 52px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.close h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.close p { margin: 0; max-width: 46ch; opacity: .9; }
.close-letters { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.close-letters span {
  position: absolute;
  font-family: "Cairo Brand", sans-serif;
  font-weight: 800;
  line-height: 1;
  color: color-mix(in srgb, var(--accent-ink) 12%, transparent);
  animation: float 9s ease-in-out infinite;
}
.close-letters span:nth-child(1) { font-size: 9rem; top: -18%; inset-inline-end: 4%; }
.close-letters span:nth-child(2) { font-size: 6rem; bottom: -10%; inset-inline-end: 24%; animation-delay: -2s; }
.close-letters span:nth-child(3) { font-size: 7rem; top: 10%; inset-inline-end: 40%; animation-delay: -4s; }
.close-letters span:nth-child(4) { font-size: 5rem; bottom: 0; inset-inline-start: 46%; animation-delay: -6s; }
.close-letters span:nth-child(5) { font-size: 4.5rem; top: 4%; inset-inline-start: 30%; animation-delay: -7s; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 40px 0 24px; flex-wrap: wrap; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); max-width: 40ch; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; color: var(--muted); }
.footer nav a:hover { color: var(--accent); }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.support {
  position: fixed;
  z-index: 25;
  inset-inline-end: 16px;
  bottom: 16px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--paper) 70%, transparent), 0 14px 30px rgb(0 0 0 / 22%);
}
.support i { color: var(--accent); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.012); } }
@keyframes blob-morph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; }
  33% { border-radius: 58% 42% 40% 60% / 56% 52% 48% 44%; }
  66% { border-radius: 40% 60% 52% 48% / 42% 58% 42% 58%; }
}
@keyframes glow-drift { from { translate: 0 0; } to { translate: -4% 3%; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse-ring { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes node-ping { 0% { transform: scale(.9); opacity: .7; } 40%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes dash-flow { to { background-position: 26px 0; } }
@keyframes gradient-pan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

@media (max-width: 1080px) {
  .why-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; flex-direction: row; align-items: end; gap: 20px; padding-bottom: 0; }
  .feature-copy { padding-bottom: 30px; }
  .feature-person { height: 300px; margin-inline: 0; flex: 0 0 auto; }
}
@media (max-width: 900px) {
  .nav-links, .nav .brand small { display: none; }
  .icon-btn.nav-toggle { display: inline-grid; }
  .nav .brand-name { max-width: 8.5rem; overflow: hidden; text-overflow: ellipsis; }
  .mobile-menu:not([hidden]) {
    display: grid;
    width: min(1180px, calc(100% - 40px));
    gap: 4px;
    padding: 0 0 14px;
  }
  .mobile-menu a {
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--ink);
  }
  .mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
  .hero, .stage { overflow: hidden; }
  .hero { min-height: auto; border-end-start-radius: 28px; border-end-end-radius: 28px; }
  .hero-grid, .about { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 0 0; text-align: center; }
  .hero h1, .hero p { margin-inline: auto; }
  .tagline { justify-content: center; }
  .hero-actions { justify-content: center; }
  .stage { height: 440px; min-height: 0; margin-top: 12px; }
  .stage-ring { width: min(420px, 94%); }
  .stage-blob { width: min(340px, 80%); }
  .stage-orbit span { width: 46px; height: 46px; font-size: 1.25rem; }
  .rail { grid-auto-columns: 78%; }
  .path { grid-template-columns: 1fr; gap: 0; }
  .path::before {
    top: 32px;
    bottom: 32px;
    inset-inline: auto;
    inset-inline-start: 31px;
    width: 3px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--accent) 0 14px, transparent 14px 26px);
    background-size: 3px 26px;
    animation-name: dash-flow-y;
  }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: start; padding-bottom: 26px; }
  .step-node { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 8px; }
  .step p { margin: 0; max-width: none; }
  .halo { max-width: 380px; }
  .close { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .section { padding: 64px 0; }
}
@keyframes dash-flow-y { to { background-position: 0 26px; } }
@media (max-width: 720px) {
  .wrap, .nav-in, .mobile-menu:not([hidden]) { width: min(1180px, calc(100% - 28px)); }
  .nav .brand-name { display: none; }
  .nav .brand img { height: 34px; max-width: 96px; }
  .nav-login, .nav .btn-solid { display: none; }
  .hero h1 { font-size: clamp(1.85rem, 8.6vw, 2.45rem); }
  .hero p { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 9rem; }
  .close-letters { display: none; }
  .footer-base { padding-bottom: 88px; }
  .icon-btn { width: 38px; height: 38px; flex-basis: 38px; }
  .btn { padding: 0 14px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-inline-start: 0; border-top: 1px solid var(--line); }
  .reasons { grid-template-columns: 1fr; }
  .feature { flex-direction: column; align-items: stretch; }
  .feature-person { height: 280px; margin-inline: auto; }
  .section-head { flex-direction: column; align-items: stretch; }
  .rail-controls { margin-bottom: 18px; }
  .rail-controls .btn { margin-inline-start: auto; }
  .stage { height: 360px; }
  .support span, .support { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .rail { scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--surface); backdrop-filter: none; }
}
