/* The MARN Engine website (xmarn.com): one long cinematic page, dark by design, the engine's amber on charcoal.
   kit.css (copied from engine/src/design by npm run build) gives the --m- tokens and the form fields; everything else
   is here. Phone first; right to left follows <html dir>. The privacy and terms pages (scripts/legal.mjs) and the
   not-found page use the .bar, .status, .legal and .lost rules at the end. */
@font-face { font-family: Plex; src: url(../fonts/plex-lat-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
@font-face { font-family: Plex; src: url(../fonts/plex-lat-500.woff2) format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
@font-face { font-family: Plex; src: url(../fonts/plex-lat-600.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
@font-face { font-family: Plex; src: url(../fonts/plex-lat-700.woff2) format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
@font-face { font-family: Plex; src: url(../fonts/plex-ar-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; src: url(../fonts/plex-ar-500.woff2) format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; src: url(../fonts/plex-ar-600.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; src: url(../fonts/plex-ar-700.woff2) format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --m-font: Plex, 'Segoe UI', system-ui, -apple-system, sans-serif;
  --bg: #0E0F12; --bg-2: #131418; --bg-3: #1A1B21; --line: #26272E; --line-2: #34353E;
  --ink: #F3EFE7; --ink-2: #B9B4AA; --ink-3: #7F7B74;
  --amber: #EBA53F; --amber-2: #F6BE62; --amber-ink: #1A1205; --amber-glow: rgba(235, 165, 63, .35);
  --nav-h: 64px; --gut: max(16px, env(safe-area-inset-left, 0px)); --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1200px; --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gut: max(32px, env(safe-area-inset-left, 0px)); --gut-r: max(32px, env(safe-area-inset-right, 0px)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--m-font); overflow-x: hidden; min-height: 100svh; display: flex; flex-direction: column; }
:lang(ar) { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--amber-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; text-wrap: balance; letter-spacing: -.015em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { line-height: 1.4; letter-spacing: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
code { font-family: var(--m-mono); font-size: .86em; background: var(--bg-3); border: 1px solid var(--line); border-radius: 5px; padding: .05em .35em; direction: ltr; unicode-bidi: isolate; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) + var(--gut-r)); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2); font-size: inherit; text-align: start; }
.link-btn:hover { color: var(--ink); }

/* ---------------------------------------------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 10px;
  font: 600 15px/1.2 var(--m-font); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 8px 28px -10px var(--amber-glow); }
.btn-amber:hover { background: var(--amber-2); color: var(--amber-ink); box-shadow: 0 12px 34px -8px var(--amber-glow); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: var(--ink); border-color: #4a4b55; }
.btn-xl { min-height: 54px; padding: 0 28px; font-size: 16.5px; border-radius: 12px; }
.btn[aria-disabled="true"] { background: var(--bg-3); border-color: var(--line-2); color: var(--ink-2); box-shadow: none; cursor: default; }
.btn .arr, .btn .ext { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] .btn .arr { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.btn:hover .ext { transform: translate(2px, -2px); }

/* ---------------------------------------------------------------------------------------------------- the top bar */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.solid, .nav.open { background: rgba(14, 15, 18, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.nav-in { height: var(--nav-h); max-width: calc(var(--wrap) + var(--gut) + var(--gut-r)); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); display: flex; align-items: center; gap: 18px; }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 17px; white-space: nowrap; letter-spacing: .01em; }
.nav-brand b { font-weight: 700; }
.nav-brand:hover { color: var(--ink); }
.nav-links { display: none; gap: 4px; margin-inline-start: 18px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.nav-lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.nav-lang a { min-width: 38px; height: 34px; display: grid; place-items: center; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-lang a.on { background: rgba(255, 255, 255, .08); color: var(--ink); }
.nav-get { display: none; min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.nav-burger { width: 42px; height: 38px; display: grid; place-content: center; gap: 6px; background: none; border: 1px solid var(--line-2); border-radius: 9px; cursor: pointer; }
.nav-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.nav.open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1019px) {
  .nav.open .nav-links { display: grid; position: absolute; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); inset-inline: 0; margin: 0; padding: 10px var(--gut-r) 18px var(--gut);
    background: rgba(14, 15, 18, .97); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a { font-size: 17px; padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (min-width: 560px) { .nav-get { display: inline-flex; } }
@media (min-width: 1020px) { .nav-links { display: flex; } .nav-burger { display: none; } }

/* ---------------------------------------------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(48px, 10vh, 110px)) 0 0; text-align: center; }
.hero-sky { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 70% at 50% 0%, #1b1712 0%, transparent 60%),
  linear-gradient(180deg, #0B0C0F 0%, var(--bg) 100%); }
.hero-glow { position: absolute; left: 50%; top: 52%; width: min(1300px, 160vw); aspect-ratio: 2; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(235, 165, 63, .22), rgba(235, 165, 63, .06) 55%, transparent 75%); filter: blur(10px); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .65; transform: translate(-50%, -50%) scale(1.06); } }
.hero-paths { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-paths .p { stroke: var(--amber); stroke-width: 2; stroke-opacity: .5; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.4s var(--ease) forwards; }
.hero-paths .p1 { stroke-width: 3; stroke-opacity: .8; animation-delay: .1s; }
.hero-paths .p2 { stroke-width: 3; stroke-opacity: .8; animation-delay: .3s; }
.hero-paths .p3, .hero-paths .p4 { stroke-opacity: .35; animation-delay: .9s; }
.hero-paths .p5, .hero-paths .p6 { stroke-opacity: .28; animation-delay: 1.2s; }
.hero-paths .p7, .hero-paths .p8 { stroke-opacity: .2; animation-delay: 1.5s; }
.hero-paths .nodes circle { fill: var(--bg); stroke: var(--amber); stroke-width: 2.5; opacity: 0; animation: pop .6s var(--ease) forwards 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: .9; } }
.hero-grain { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); }
.hero-copy { position: relative; max-width: 980px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid rgba(235, 165, 63, .35); background: rgba(235, 165, 63, .08);
  border-radius: 999px; color: var(--amber-2); font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
:lang(ar) .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(235, 165, 63, .2); }
.hero h1 { margin-top: 24px; font-size: clamp(42px, 8.6vw, 104px); line-height: .98; letter-spacing: -.035em;
  background: linear-gradient(180deg, #FFF8EA 30%, #D9C9AE 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:lang(ar) .hero h1 { line-height: 1.3; letter-spacing: 0; font-size: clamp(40px, 8vw, 92px); }
.hero-lead { margin: 24px auto 0; max-width: 46ch; color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-screen { position: relative; margin: clamp(48px, 8vh, 80px) auto 0; max-width: 1180px; padding-left: var(--gut); padding-right: var(--gut-r); perspective: 1600px; }
.hero-screen .screen-frame { transform: rotateX(6deg); transform-origin: 50% 100%; animation: rise 1.4s var(--ease) both .3s; }
@keyframes rise { from { opacity: 0; transform: rotateX(18deg) translateY(40px) scale(.96); } }
.hero-screen::after { content: ""; position: absolute; inset: auto 0 -2px; height: 10%; background: linear-gradient(180deg, transparent, rgba(14, 15, 18, .55)); pointer-events: none; }

.screen-frame { position: relative; border-radius: 14px; overflow: hidden; background: #0b0b0d; border: 1px solid #2e2f37;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 80px -20px var(--amber-glow); }
.screen-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #17181c; border-bottom: 1px solid #2a2b31; color: var(--ink-3); font-size: 12px; direction: ltr; }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: #34353d; }
.screen-bar span { margin-left: 10px; }
.screen-frame img { width: 100%; height: auto; }

/* ---------------------------------------------------------------------------------------------------- numbers */
.stats { position: relative; z-index: 1; margin-top: clamp(28px, 5vw, 56px); padding-bottom: 20px; }
.stats-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 auto; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; padding: 0; }
.stats-row > div { background: var(--bg-2); padding: 22px 20px; }
.stats-row dd { margin: 0; font-size: clamp(34px, 5vw, 52px); font-weight: 700; line-height: 1; color: var(--amber); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats-row dt { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
.stats .wrap.stats-row { max-width: calc(var(--wrap) - 0px); width: calc(100% - var(--gut) - var(--gut-r)); }
@media (min-width: 860px) { .stats-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats-row > div { padding: 28px 28px; } }

/* ---------------------------------------------------------------------------------------------------- section heads */
section { position: relative; }
.engine, .features, .projects, .faq, .contact { padding: clamp(80px, 12vw, 140px) 0 0; }
.sect-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.sect-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--amber); font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .kicker { letter-spacing: 0; font-size: 15px; }
.sect-head h2 { margin-top: 12px; font-size: clamp(32px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.03em; }
:lang(ar) .sect-head h2 { line-height: 1.35; letter-spacing: 0; }
.sect-lead { margin-top: 18px; color: var(--ink-2); font-size: clamp(16.5px, 1.7vw, 19px); max-width: 58ch; }
.sect-head.center .sect-lead { margin-inline: auto; }

/* ---------------------------------------------------------------------------------------------------- the engine: showcase rows */
.show { display: grid; gap: 28px; align-items: center; padding: clamp(36px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.show:first-of-type { border-top: 0; padding-top: 0; }
.show-copy { min-width: 0; max-width: 520px; }
.show-n { display: block; font-size: 14px; font-weight: 700; color: var(--ink-3); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.show h3 { margin-top: 10px; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; }
.show p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; color: var(--ink); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: rgba(235, 165, 63, .14);
  -webkit-mask: none; box-shadow: inset 0 0 0 1px rgba(235, 165, 63, .5); }
.ticks li::after { content: ""; position: absolute; inset-inline-start: 6px; top: calc(.42em + 5px); width: 6px; height: 4px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.show-media { margin: 0; min-width: 0; position: relative; }
.show-media::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(235, 165, 63, .16), transparent); filter: blur(30px); z-index: -1; }
.show-media.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 2vw, 18px); padding: 10px 0; }
.show-media .phone { width: 30%; max-width: 210px; height: auto; border-radius: 22px; border: 6px solid #1c1d22; box-shadow: 0 0 0 1px #33343c, 0 30px 70px -25px rgba(0, 0, 0, .9); background: #000; }
.show-media.phones .phone:nth-child(2) { width: 34%; max-width: 240px; transform: translateY(-18px); }
.show-media.phones.two .phone { width: 42%; max-width: 250px; }
.show-media.phones.two .phone:nth-child(2) { width: 42%; transform: translateY(26px); }
@media (min-width: 900px) {
  .show { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); }
  .show.flip .show-copy { order: 2; }
  .show.flip .show-media { order: 1; }
}
/* five targets around the mark */
.show-media.ship { aspect-ratio: 1.25; max-width: 560px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.ship-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ship-lines path { fill: none; stroke: var(--amber); stroke-opacity: .45; stroke-width: 1.5; stroke-dasharray: 5 7; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.ship-core { position: relative; z-index: 1; width: 128px; height: 128px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(160deg, #1f2026, #121317);
  border: 1px solid rgba(235, 165, 63, .5); box-shadow: 0 0 60px -6px var(--amber-glow); }
.ship-t { position: absolute; z-index: 1; display: grid; justify-items: center; gap: 8px; padding: 16px 18px; min-width: 116px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 14px; }
.ship-t svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ship-t svg .fill, .ship-t.play svg path { fill: var(--ink); stroke: none; }
.ship-t.web { left: 4%; top: 6%; } .ship-t.win { right: 4%; top: 6%; } .ship-t.and { left: 4%; bottom: 6%; } .ship-t.play { right: 4%; bottom: 6%; }
.ship-t.play svg path { fill: var(--amber); }

/* ---------------------------------------------------------------------------------------------------- features grid */
.fgrid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.fcard { position: relative; padding: 26px 24px 28px; border-radius: 16px; background: linear-gradient(180deg, var(--bg-2), #101115); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); overflow: hidden; }
.fcard::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(235, 165, 63, .09), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fcard:hover { border-color: #3a3b44; transform: translateY(-3px); }
.fcard:hover::after { opacity: 1; }
.fcard svg { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: rgba(235, 165, 63, .1); fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { margin-top: 18px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.fcard p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* ---------------------------------------------------------------------------------------------------- projects */
.poa { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(620px, 88vh, 860px); display: flex; align-items: center; border-block: 1px solid var(--line); }
.poa-art { position: absolute; inset: 0; z-index: -2; background: url(../img/poa/key.webp) 50% 30% / cover no-repeat; transform: scale(1.05); }
.poa-art::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 9, 12, .96) 0%, rgba(10, 9, 12, .82) 38%, rgba(10, 9, 12, .25) 70%, rgba(10, 9, 12, .55) 100%),
  linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 70%, var(--bg) 100%); }
[dir="rtl"] .poa-art::after { background:
  linear-gradient(270deg, rgba(10, 9, 12, .96) 0%, rgba(10, 9, 12, .82) 38%, rgba(10, 9, 12, .25) 70%, rgba(10, 9, 12, .55) 100%),
  linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 70%, var(--bg) 100%); }
.poa-cast { position: absolute; z-index: -1; bottom: 0; right: max(2vw, 8px); display: flex; align-items: flex-end; direction: ltr; height: clamp(240px, 58%, 520px); opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
[dir="rtl"] .poa-cast { right: auto; left: max(2vw, 8px); }
.poa-cast img { height: 100%; width: auto; margin-inline: -1.4%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
/* Sami and Karim the same height, a little taller than the parents; Lina a child */
.poa-cast img { height: 92%; }
.poa-cast img.lead, .poa-cast img:nth-child(4) { height: 100%; }
.poa-cast img.kid { height: 62%; }
.poa-in { position: relative; padding-block: 80px; }
.poa-copy { max-width: 560px; }
.poa-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--ink-2); font-size: 14.5px; }
.badge-live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(120, 200, 140, .12); color: #9fdcae; border: 1px solid rgba(120, 200, 140, .35); font-weight: 600; font-size: 13px; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7fd394; box-shadow: 0 0 0 3px rgba(127, 211, 148, .2); }
.poa h3 { margin-top: 18px; font-size: clamp(44px, 7vw, 84px); line-height: .98; letter-spacing: -.035em; text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
:lang(ar) .poa h3 { line-height: 1.3; letter-spacing: 0; }
.poa h3 small { display: block; margin-top: 10px; font-size: .42em; font-weight: 600; color: var(--amber-2); letter-spacing: 0; line-height: 1.4; }
.poa-line { margin-top: 18px; font-size: clamp(18px, 2.2vw, 22px); color: var(--ink); font-weight: 500; }
.poa-about { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.poa-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 28px 0 0; }
.poa-facts div { display: flex; flex-direction: column-reverse; }
.poa-facts dd { margin: 0; font-size: 34px; font-weight: 700; line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; }
.poa-facts dt { color: var(--ink-3); font-size: 13.5px; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
:lang(ar) .poa-facts dt { text-transform: none; letter-spacing: 0; font-size: 14.5px; }
.poa-on { margin-top: 24px; color: var(--ink-2); font-size: 14.5px; }
.poa .btn { margin-top: 26px; }
.poa-url { margin-top: 10px; color: var(--ink-3); font-size: 13.5px; }
@media (max-width: 759px) {
  .poa { align-items: flex-start; min-height: 0; }
  .poa-art { background-position: 50% 20%; }
  .poa-art::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 9, 12, .55) 18%, rgba(10, 9, 12, .75) 50%, rgba(10, 9, 12, .97) 78%, var(--bg) 100%); }
  [dir="rtl"] .poa-art::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 9, 12, .55) 18%, rgba(10, 9, 12, .75) 50%, rgba(10, 9, 12, .97) 78%, var(--bg) 100%); }
  .poa-cast, [dir="rtl"] .poa-cast { position: relative; inset: auto; height: 300px; justify-content: center; margin: 0 auto -10px; }
  .poa { flex-direction: column; }
  .poa-in { padding-top: 0; padding-bottom: 64px; order: 2; }
  .poa-cast { order: 1; margin-top: 40px; }
}

/* the next one: nothing but its name */
.soon { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(28px, 5vw, 48px); min-height: 280px; border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(135deg, #121318, #0c0d10); display: flex; align-items: flex-end; padding: clamp(28px, 4vw, 48px); }
.soon-fog { position: absolute; inset: -40%; z-index: -1; background:
  radial-gradient(30% 40% at 30% 60%, rgba(235, 165, 63, .10), transparent 70%),
  radial-gradient(35% 45% at 70% 40%, rgba(120, 130, 170, .10), transparent 70%); animation: drift 18s ease-in-out infinite alternate; filter: blur(20px); }
@keyframes drift { to { transform: translate(6%, -4%) rotate(6deg); } }
.soon::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px); }
.soon-n { position: absolute; inset-inline-end: clamp(20px, 4vw, 48px); top: 50%; transform: translateY(-50%); font-size: clamp(120px, 22vw, 260px); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(235, 165, 63, .28); letter-spacing: -.05em; font-variant-numeric: tabular-nums; user-select: none; }
.soon h3 { margin-top: 8px; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; }
:lang(ar) .soon h3 { letter-spacing: 0; }

/* ---------------------------------------------------------------------------------------------------- questions */
.faq-in { display: grid; gap: 8px; }
@media (min-width: 960px) { .faq-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 60px; } .faq .sect-head { position: sticky; top: calc(var(--nav-h) + 30px); align-self: start; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 18px; font-weight: 600; }
[dir="rtl"] .faq-list summary { padding: 22px 0 22px 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; inset-inline-end: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-list summary:hover { color: var(--amber-2); }
.faq-list details p { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; }

/* ---------------------------------------------------------------------------------------------------- contact */
.contact { padding-bottom: clamp(80px, 12vw, 140px); }
.contact-in { display: grid; gap: 34px; }
@media (min-width: 960px) { .contact-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; } }
.contact-copy h2 { margin-top: 12px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.025em; }
:lang(ar) .contact-copy h2 { letter-spacing: 0; }
.contact-copy p { margin-top: 14px; color: var(--ink-2); }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form .m-field { min-width: 0; }
.form .m-in { width: 100%; }
.form textarea.m-in { resize: vertical; min-height: 130px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { margin-top: 4px; accent-color: var(--amber); }
.bad, .m-in.bad { border-color: #c2756d !important; }
.send { justify-self: start; }
.form-status { min-height: 1.4em; font-size: 14px; }
.form-status.ok { color: #9fdcae; }
.form-status.err { color: #e59a90; }
.captcha-note { font-size: 12.5px; color: var(--ink-3); }
.captcha-note a { color: var(--ink-2); }
.captcha-box.loading { color: var(--ink-3); font-size: 14px; }

/* ---------------------------------------------------------------------------------------------------- footer */
.foot { margin-top: auto; border-top: 1px solid var(--line); background: #0B0C0E; padding: 56px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.foot-brand p { margin-top: 14px; color: var(--ink-3); max-width: 32ch; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot-cols div { display: grid; align-content: start; gap: 10px; }
.foot-cols h4 { font-size: 13px; color: var(--ink); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
:lang(ar) .foot-cols h4 { letter-spacing: 0; font-size: 14.5px; }
.foot-cols a, .foot-cols .link-btn { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--ink); }
.foot-soon { color: var(--ink-3); font-size: 15px; }
.foot-fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 44px; color: var(--ink-3); font-size: 13.5px; }
.foot-fine > div { display: contents; }
.foot-fine::before { content: ""; flex: 0 0 100%; height: 1px; background: var(--line); margin-bottom: 14px; }

/* ---------------------------------------------------------------------------------------------------- consent */
.consent { position: fixed; z-index: 60; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin-inline: auto; padding: 18px; display: grid; gap: 14px;
  background: rgba(22, 23, 27, .97); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); font-size: 14.5px; color: var(--ink-2); }
.consent b { color: var(--ink); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------------------------------------------------------------------------------------------------- reveal on scroll (only with script) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------------------------------------- privacy, terms and not found */
.bar { position: sticky; top: 0; z-index: 40; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 var(--gut-r) 0 var(--gut); background: rgba(14, 15, 18, .92); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bar-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 16px; white-space: nowrap; }
.bar-brand b { font-weight: 700; }
.bar-brand:hover { color: var(--ink); }
.bar-gap { flex: 1; }
.bar .m-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.bar .m-seg a { min-width: 38px; height: 34px; display: grid; place-items: center; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; }
.bar .m-seg a.on { background: rgba(255, 255, 255, .08); color: var(--ink); }
.bar .m-btn { text-decoration: none; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 16px var(--gut-r) calc(16px + env(safe-area-inset-bottom, 0px)) var(--gut); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); margin-top: auto; }
.status-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.status-links a { color: var(--ink-2); text-decoration: none; }
.status-links a:hover { color: var(--ink); }
.status-fine { margin-inline-start: auto; }
.legal-top { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.legal-top .wrap, .legal .wrap { max-width: 860px; }
.legal-top h1 { font-size: clamp(30px, 5vw, 44px); padding-top: 34px; }
.legal-top p { color: var(--ink-3); margin-top: 4px; }
.legal-tabs { display: flex; gap: 4px; margin-top: 18px; }
.legal-tabs a { padding: 10px 12px 9px; color: var(--ink-3); text-decoration: none; font-weight: 600; }
.legal-tabs a[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--amber); }
.legal { padding: 32px 0 70px; }
.legal-body h2 { font-size: 22px; margin: 36px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 17px; margin: 22px 0 6px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p { margin-top: 10px; }
.legal-body ul, .legal-body ol { padding-inline-start: 22px; display: grid; gap: 6px; margin: 10px 0; }
.legal-body .toc { list-style: none; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.legal-body th, .legal-body td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lost { flex: 1; display: grid; place-items: center; padding: 40px var(--gut-r) 40px var(--gut); text-align: center; }
.lost > div { display: grid; justify-items: center; gap: 14px; max-width: 520px; }
.lost h1 { font-size: clamp(28px, 5vw, 40px); }
.lost p { color: var(--ink-2); }
