/* فريلانس ببساطة — soft, rounded style (after the reference), in the channel's orange + navy. */
:root {
  --orange: #f7941d;
  --orange-hi: #ffb347;
  --orange-lo: #f06418;
  --grad: linear-gradient(135deg, #ffad42 0%, #f7841d 50%, #ef5a1c 100%);
  --navy: #0d1b3a;
  --navy-2: #1a2c55;
  --ink: #16182b;
  --body: #4a4d63;
  --muted: #7b7e93;
  --bg: #fdfaf6;
  --peach: #fff1e3;
  --peach-2: #ffe4c9;
  --lav: #f1edff;
  --white: #ffffff;
  --line: #f0e6da;
  --shadow-sm: 0 2px 10px rgba(240, 120, 30, .07);
  --shadow: 0 14px 40px -12px rgba(220, 110, 30, .22);
  --shadow-lg: 0 30px 70px -24px rgba(220, 110, 30, .35);
  --r: 22px;
  --mercor: #3446c8; --micro1: #8a3ad0; --turing: #0f7bc7; --invisible: #d0531b; --terac: #1f9a49; --afterquery: #c51f6f;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font: 16px/1.85 "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.35; margin: 0 0 .4em; font-weight: 800; }
p { margin: 0 0 1em; }
bdi { unicode-bidi: isolate; direction: ltr; }
.nw { white-space: nowrap; unicode-bidi: isolate; }
[dir="auto"] { text-align: right; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--orange-hi); outline-offset: 2px; border-radius: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hand { font-family: "Aref Ruqaa", "Cairo", serif; font-weight: 700; color: var(--orange-lo); line-height: 1.4; }
.spark { width: 22px; height: 22px; color: var(--orange-hi); display: inline-block; vertical-align: middle; }
.bar { display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--grad); margin: 14px 0 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 11px 26px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--grad, .btn--orange { background: var(--grad); color: var(--white); box-shadow: 0 10px 24px -8px rgba(240, 100, 24, .55); }
.btn--grad:hover, .btn--orange:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(240, 100, 24, .6); }
.btn--outline { border-color: var(--orange); color: var(--orange-lo); background: var(--white); }
.btn--outline:hover { background: var(--peach); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); }
.btn--sm { padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--orange-lo); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(253, 250, 246, .85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(240, 230, 218, .7); }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: var(--white); font-weight: 900; font-size: 1.3rem; line-height: 1; box-shadow: 0 6px 14px -6px rgba(240, 100, 24, .7); }
.logo__text { font-weight: 700; font-size: 1.2rem; }
.logo__text b { font-weight: 900; color: var(--orange-lo); }
.logo--light { color: var(--white); }
.logo--light .logo__text b { color: var(--orange-hi); }
.nav { display: flex; gap: 6px; margin-inline: auto; }
.nav a { position: relative; color: var(--body); text-decoration: none; padding: 6px 12px; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.nav a:hover { color: var(--orange-lo); }
.nav a[aria-current="page"] { color: var(--orange-lo); font-weight: 800; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--grad); }
@media (max-width: 860px) {
  .hdr__in { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; min-height: 0; }
  .hdr__cta { margin-inline-start: auto; }
  .nav { order: 3; width: 100%; margin: 4px 0 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
  .nav a { padding: 4px 10px; font-size: .92rem; }
}
@media (max-width: 400px) { .hdr__cta span { display: none; } .hdr__cta { padding: 9px; } }

/* ---------- socials ---------- */
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--orange-lo); border: 1.5px solid var(--peach-2); background: var(--white); transition: .15s; }
.socials a:hover { background: var(--grad); color: var(--white); border-color: transparent; }
.socials svg { width: 19px; height: 19px; }
.socials--light a { color: var(--white); background: transparent; border-color: rgba(255,255,255,.3); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; padding: 48px 0 24px; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; inset-inline-end: -160px; top: -200px; background: radial-gradient(circle, rgba(255,179,71,.28), transparent 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; inset-inline-start: -200px; bottom: -220px; background: radial-gradient(circle, rgba(241,237,255,.9), transparent 70%); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.hero__hello { font-family: "Aref Ruqaa", serif; font-weight: 700; font-size: 1.6rem; color: var(--orange-lo); margin: 0 0 4px; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 900; line-height: 1.25; margin: 0; }
.hero__sub { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 10px 0 0; }
.hero__lead { max-width: 52ch; font-size: 1.05rem; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 22px; }
.hero__art { position: relative; justify-self: center; width: min(100%, 440px); }
.blob {
  position: relative; aspect-ratio: 1; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; overflow: hidden;
  background: var(--grad); box-shadow: var(--shadow-lg); animation: morph 14s ease-in-out infinite;
}
.blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }
  50% { border-radius: 44% 56% 46% 54% / 56% 44% 56% 44%; }
}
.badge-rot { position: absolute; top: -6px; inset-inline-start: -10px; width: 112px; height: 112px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; }
.badge-rot svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge-rot text { font: 800 11px "Cairo", sans-serif; letter-spacing: 1px; fill: var(--ink); direction: ltr; unicode-bidi: plaintext; }
.badge-rot__dot { width: 20px; height: 20px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 6px #dcfce7; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__note { position: absolute; top: 34%; inset-inline-end: -14px; font-size: 1.3rem; transform: rotate(-8deg); text-align: center; margin: 0; background: rgba(253,250,246,.9); padding: 6px 12px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.hero__note svg { display: block; width: 56px; height: 28px; margin: 2px auto 0; color: var(--orange-lo); }
.plane { position: absolute; bottom: 8%; inset-inline-start: -28px; width: 52px; color: var(--orange); transform: rotate(-10deg); }
.deco { position: absolute; border-radius: 50%; pointer-events: none; }
.deco--ring { width: 46px; height: 46px; border: 6px solid var(--orange-hi); top: 70%; inset-inline-start: 46%; opacity: .7; }
.deco--dot { width: 14px; height: 14px; background: #a78bfa; top: 54%; inset-inline-start: 50%; opacity: .6; }
.spark--a { position: absolute; top: 14%; inset-inline-start: 48%; width: 22px; }
.spark--b { position: absolute; top: 30%; inset-inline-end: 3%; width: 18px; color: #a78bfa; }
@media (prefers-reduced-motion: reduce) { .blob, .badge-rot svg { animation: none; } }
@media (max-width: 860px) {
  .hero { padding-top: 28px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { width: min(84%, 340px); margin-top: 12px; }
  .hero__note { font-size: 1.05rem; inset-inline-end: -8px; }
  .badge-rot { width: 92px; height: 92px; }
  .badge-rot text { font-size: 12.5px; }
  .deco--ring, .deco--dot, .spark--a { display: none; }
}

/* ---------- featured panel ---------- */
.panel { position: relative; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 30px; padding: 26px; box-shadow: var(--shadow); margin-top: 24px; }
.panel__hd { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.panel__hd h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font: inherit; font-weight: 700; font-size: .92rem; padding: 6px 20px; border-radius: 999px; border: 1.5px solid var(--peach-2); background: var(--white); color: var(--body); cursor: pointer; }
.pill:hover { border-color: var(--orange); }
.pill.is-on { background: var(--grad); color: var(--white); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(240,100,24,.6); }
.wgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wgrid[hidden] { display: none; }
@media (max-width: 900px) { .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wgrid { grid-template-columns: 1fr; } .panel { padding: 18px; border-radius: 24px; } }
.wcard { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wcard__top { position: relative; min-height: 112px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; overflow: hidden; }
.wcard__top::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; inset-inline-end: -40px; bottom: -70px; background: rgba(255,255,255,.35); }
.wcard__top--mercor { background: linear-gradient(135deg, #e8ebff, #c9d0ff); }
.wcard__top--micro1 { background: linear-gradient(135deg, #f4eaff, #dcc4fb); }
.wcard__top--turing { background: linear-gradient(135deg, #e3f3ff, #bfe1fb); }
.wcard__top--invisible { background: linear-gradient(135deg, #fff0e6, #ffd2b8); }
.wcard__top--terac { background: linear-gradient(135deg, #e6f8ec, #bfeccc); }
.wcard__top--afterquery { background: linear-gradient(135deg, #ffe9f2, #fbc6dc); }
.wcard__pay { font-weight: 900; font-size: 1.7rem; color: var(--ink); line-height: 1.2; position: relative; z-index: 1; }
.wcard__pay small { font-weight: 600; font-size: .8rem; color: var(--body); margin-inline-start: 4px; }
.wcard__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 18px 16px; flex: 1; }
.wcard h3 { font-size: 1.02rem; margin: 0; overflow-wrap: anywhere; line-height: 1.5; }
.wcard p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.wcard__go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: var(--orange-lo); transition: .2s; }
.wcard__go svg { width: 18px; height: 18px; transform: scaleX(-1); }
.wcard:hover .wcard__go { background: var(--grad); color: var(--white); }
.panel__more { display: inline-block; margin-top: 18px; font-weight: 800; color: var(--orange-lo); text-decoration: none; }
.panel__more:hover { text-decoration: underline; }

/* ---------- fields ---------- */
.fields { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 24px; }
.fields h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.fields__art { position: relative; justify-self: center; width: min(100%, 320px); }
.fields__circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--lav); box-shadow: 0 0 0 14px var(--lav), var(--shadow); }
.fields__circle img { width: 100%; height: 100%; object-fit: cover; }
.fields__note { position: absolute; top: 10%; inset-inline-start: -30px; font-size: 1.25rem; transform: rotate(-10deg); background: var(--white); padding: 6px 12px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin-top: 18px; }
.tile { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; padding: 12px; border-radius: 18px; transition: background .15s; }
.tile:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.tile b { display: block; color: var(--ink); font-size: 1.05rem; }
.tile b small { font-size: .78rem; color: var(--orange-lo); background: var(--peach); border-radius: 999px; padding: 0 8px; margin-inline-start: 4px; font-weight: 700; }
.tile span span { font-size: .9rem; color: var(--muted); line-height: 1.6; display: block; }
.tile__icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--white); box-shadow: 0 10px 20px -10px rgba(0,0,0,.35); }
.tile__icon svg { width: 26px; height: 26px; }
.tile__icon--orange { background: linear-gradient(135deg, #ffb347, #f06418); }
.tile__icon--blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.tile__icon--green { background: linear-gradient(135deg, #4ade80, #16a34a); }
.tile__icon--purple { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.tile__icon--pink { background: linear-gradient(135deg, #f9a8d4, #db2777); }
.tile__icon--teal { background: linear-gradient(135deg, #5eead4, #0d9488); }
@media (max-width: 860px) { .fields { grid-template-columns: 1fr; gap: 24px; padding-top: 44px; } .fields__art { width: 210px; } .fields__note { font-size: 1.05rem; inset-inline-start: -50px; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: 2.2fr repeat(3, 1fr); align-items: center; background: linear-gradient(120deg, var(--lav) 0%, var(--peach) 100%); border-radius: 30px; padding: 26px 30px; margin: 40px 0 70px; box-shadow: var(--shadow-sm); }
.stats__quote { margin: 0; padding-inline-end: 24px; }
.stats blockquote { margin: 0 0 12px; font-size: 1.12rem; font-weight: 700; color: var(--ink); line-height: 1.7; }
.stats figcaption { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); }
.stats figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.stats figcaption b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.stat { text-align: center; padding: 6px 10px; border-inline-start: 1px solid rgba(240,100,24,.18); text-decoration: none; display: flex; flex-direction: column; align-items: center; }
.stat svg { width: 30px; height: 30px; color: var(--orange-lo); }
.stat b { font-size: 2rem; font-weight: 900; color: var(--ink); line-height: 1.3; }
.stat span { font-size: .88rem; color: var(--body); }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(3, 1fr); padding: 22px 16px; gap: 18px 0; }
  .stats__quote { grid-column: 1 / -1; padding: 0; }
  .stat:nth-child(2) { border: 0; }
  .stat b { font-size: 1.55rem; }
}

/* ---------- inner page header ---------- */
.pagehead { position: relative; overflow: hidden; overflow: clip; padding: 44px 0 40px; background: linear-gradient(120deg, var(--peach) 0%, var(--lav) 100%); }
.pagehead::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; inset-inline-start: -90px; top: -140px; background: radial-gradient(circle, rgba(255,179,71,.35), transparent 65%); }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); font-weight: 900; margin: 0; }
.pagehead p { margin: 6px 0 0; max-width: 70ch; font-weight: 600; }
.pagehead--job h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); margin-top: 8px; overflow-wrap: anywhere; }
.back { display: inline-block; font-weight: 700; text-decoration: none; color: var(--orange-lo); margin-bottom: 10px; }
.back:hover { text-decoration: underline; }
.jobhead .tag { margin-inline-end: 6px; }

/* ---------- tags ---------- */
.tag { display: inline-block; font-weight: 800; font-size: .78rem; padding: 2px 12px; border-radius: 999px; background: var(--white); line-height: 1.7; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.tag--lg { font-size: 1.1rem; padding: 3px 16px; margin: 0; }
.tag--mercor { color: var(--mercor); } .tag--micro1 { color: var(--micro1); } .tag--turing { color: var(--turing); }
.tag--invisible { color: var(--invisible); } .tag--terac { color: var(--terac); } .tag--afterquery { color: var(--afterquery); }
.tag--ar { color: var(--white); background: var(--grad); }

/* ---------- job rows (jobs page) ---------- */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 20px; text-decoration: none; background: var(--white); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.row__plat { justify-self: start; background: var(--bg); }
.row__main { display: flex; flex-direction: column; min-width: 0; }
.row__title { font-weight: 800; color: var(--ink); font-size: 1.03rem; line-height: 1.5; overflow-wrap: anywhere; }
.row__meta { color: var(--muted); font-size: .85rem; }
.row__meta .ar { color: var(--orange-lo); font-weight: 800; }
.pay { font-weight: 900; color: var(--ink); font-size: 1.15rem; white-space: nowrap; text-align: end; }
.pay small { font-weight: 600; font-size: .78rem; color: var(--muted); margin-inline-start: 4px; }
.pay--na { font-weight: 600; font-size: .8rem; color: var(--muted); white-space: normal; max-width: 150px; line-height: 1.5; }
.pay--big { font-size: 2.3rem; display: block; text-align: start; }
.pay--big small { font-size: .95rem; }
.pay--big.pay--na { font-size: 1rem; max-width: none; color: var(--ink); }
@media (max-width: 640px) {
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "plat pay" "main main"; gap: 4px 12px; padding: 14px 16px; }
  .row__plat { grid-area: plat; } .row__main { grid-area: main; } .row > .pay { grid-area: pay; }
}

/* ---------- jobs page ---------- */
.jobs { padding-top: 0; padding-bottom: 60px; }
.filters { position: relative; z-index: 2; margin-top: -22px; display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 12px; background: var(--white); border-radius: 24px; padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.f label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.f input, .f select { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.f input:focus, .f select:focus { border-color: var(--orange); outline: none; background: var(--white); }
.filters__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--orange-lo); }
@media (max-width: 980px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f--q { grid-column: 1 / -1; } }
.note { font-size: .9rem; color: var(--muted); }
.loadmore { text-align: center; margin: 26px 0; }
.empty { background: var(--white); border: 2px dashed var(--peach-2); border-radius: 22px; padding: 40px 16px; text-align: center; font-weight: 600; }

/* ---------- job page ---------- */
.job { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "body apply"; gap: 32px; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.job__body { grid-area: body; min-width: 0; }
.apply { grid-area: apply; position: sticky; top: 92px; background: var(--white); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.apply .btn { margin: 14px 0 10px; font-size: 1.08rem; padding: 13px; }
.apply__note { font-size: .85rem; color: var(--muted); margin: 0; }
.facts { margin: 14px 0 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: .9rem; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; text-align: end; font-weight: 700; color: var(--ink); }
.facts .pay { font-size: .9rem; }
.skills { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.skills li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 1px 12px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.desc { background: var(--white); border-radius: 24px; padding: 20px 24px; overflow-wrap: anywhere; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.desc [dir="ltr"] { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .95rem; line-height: 1.7; color: #3b3e52; }
.desc h3 { font-size: 1rem; margin-top: 1.2em; font-weight: 800; }
.desc ul, .desc ol { padding-inline-start: 1.3em; }
.desc__note { color: var(--muted); font-size: .85rem; font-weight: 600; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.desc--empty { color: var(--muted); font-weight: 600; }
.about-plat { margin-top: 20px; background: linear-gradient(120deg, var(--peach), var(--lav)); border-radius: 24px; padding: 20px 24px; }
.about-plat h2 { font-size: 1.15rem; }
.about-plat a { font-weight: 800; color: var(--orange-lo); text-decoration: none; }
@media (max-width: 860px) { .job { grid-template-columns: 1fr; grid-template-areas: "apply" "body"; gap: 20px; } .apply { position: static; } }

/* ---------- prose pages ---------- */
.prose { max-width: 780px; padding-top: 30px; padding-bottom: 60px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose a:not(.btn) { color: var(--orange-lo); font-weight: 700; }
.lead { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.me { display: flex; gap: 20px; align-items: center; background: var(--white); border-radius: 26px; padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.me img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 6px var(--peach); }
.me .lead { margin-bottom: 12px; }
@media (max-width: 560px) { .me { flex-direction: column; text-align: center; } }
.demo { background: var(--white); border-radius: 24px; padding: 20px; display: grid; gap: 10px; margin-bottom: 1em; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.demo__q { margin: 0; color: var(--ink); }
.demo__opt { text-align: start; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 16px; cursor: pointer; }
.demo__opt b { display: block; font-size: .85rem; color: var(--muted); }
.demo__opt:hover { border-color: var(--orange); }
.demo__opt.is-right { border-color: #22c55e; background: #f0fdf4; }
.demo__opt.is-wrong { border-color: #ef4444; background: #fef2f2; }
.demo__res { margin: 0; font-weight: 700; min-height: 1.5em; color: var(--ink); }

/* platforms page */
.plats { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding-top: 30px; padding-bottom: 60px; }
.plat { background: var(--white); border-radius: 26px; padding: 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.plat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.plat__hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.plat__hd .tag { background: var(--bg); }
.plat__hd b { font-weight: 900; color: var(--ink); }
.plat__btns { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 6px; }
@media (max-width: 380px) { .plats { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { position: relative; color: #c9d3e6; }
.ftr__wave { display: block; width: 100%; height: 60px; color: var(--navy); margin-bottom: -1px; }
.ftr__body { background: var(--navy); padding: 20px 0 22px; }
.ftr__in { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 30px; }
.ftr__brand p { margin: 10px 0 0; color: var(--white); font-weight: 600; }
.ftr__brand .ftr__small { color: #9fb0cc; font-weight: 400; font-size: .88rem; max-width: 52ch; }
.ftr__nav { display: grid; gap: 4px; align-content: start; }
.ftr__nav b { color: var(--white); margin-bottom: 6px; font-size: 1.05rem; }
.ftr__nav a { color: #c9d3e6; text-decoration: none; font-size: .93rem; }
.ftr__nav a:hover { color: var(--orange-hi); }
.ftr .socials a:hover { color: var(--white); }
.hand--light { color: var(--orange-hi); font-size: 1.3rem; transform: rotate(-6deg); display: inline-block; margin-top: 14px; }
.ftr__base { border-top: 1px solid var(--navy-2); margin-top: 26px; padding-top: 14px; font-size: .82rem; color: #8797b5; }
@media (max-width: 760px) { .ftr__in { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* redirect page */
.go { display: grid; place-items: center; min-height: 100vh; background: linear-gradient(120deg, var(--peach), var(--lav)); font-weight: 700; color: var(--ink); }
.go__box { text-align: center; padding: 16px; }

/* ---------- language switcher + LTR (English) ---------- */
.lang { display: inline-flex; align-items: center; gap: 6px; flex: none; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--peach-2); background: var(--white); }
.lang:hover { border-color: var(--orange); color: var(--orange-lo); }
.lang svg { width: 17px; height: 17px; color: var(--orange-lo); }
.lang[lang="ar"] { font-family: "Cairo", sans-serif; }
@media (max-width: 860px) { .lang { margin-inline-start: auto; } .lang + .hdr__cta { margin-inline-start: 0; } }
@media (max-width: 400px) { .lang span { display: none; } .lang { padding: 8px; } }
html[dir="ltr"] [dir="auto"] { text-align: left; }
html[lang="en"] .hand, html[lang="en"] .hero__hello { font-family: "Caveat", cursive; }
html[lang="en"] .hero__hello { font-size: 1.9rem; }
html[lang="en"] .hand { font-size: 1.45rem; }
html[lang="en"] .hero__note { font-size: 1.5rem; }
html[dir="rtl"] .wcard__go svg, html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="ltr"] .wcard__go svg { transform: none; }
