/* matner.app — everything local, no outside requests */
@font-face { font-family: Pop; src: url(poppins-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Pop; src: url(poppins-700-latin.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Taj; src: url(tajawal-400-arabic.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Taj; src: url(tajawal-700-arabic.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
:root { --ink: #fff; --muted: rgba(233, 227, 255, .74); --line: rgba(255, 255, 255, .13); --panel: rgba(255, 255, 255, .055);
  --pink: #ff5fa8; --violet: #9b7bff; --amber: #ffc24b; --grad: linear-gradient(100deg, #ffc24b, #ff5fa8 48%, #a78bfa); --pad: max(20px, env(safe-area-inset-left)); --padr: max(20px, env(safe-area-inset-right)); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #0e0726; scroll-padding-top: 16px; }
body { margin: 0; font-family: Pop, Taj, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); line-height: 1.6; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, .mq:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
/* The background on its own fixed layer (a fixed background-attachment is ignored on iPhones) */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1100px 700px at 88% -8%, rgba(255, 95, 168, .30), transparent 62%), radial-gradient(900px 760px at -12% 28%, rgba(124, 92, 255, .34), transparent 62%), radial-gradient(900px 800px at 105% 105%, rgba(56, 189, 248, .16), transparent 60%), linear-gradient(180deg, #0e0726, #190c3f 52%, #0e0726); }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.6px) 0 0 / 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 75%); }
.wrap { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: var(--pad); padding-right: var(--padr); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #1b0f3b; padding: 12px 16px; border-radius: 10px; font-weight: 700; z-index: 9; }
.skip:focus { left: 12px; }
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.nw { white-space: nowrap; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 76px; padding-top: calc(16px + env(safe-area-inset-top)); box-sizing: content-box; }
.brand { font-weight: 700; font-size: 23px; letter-spacing: -.01em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 0 13px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; transition: color .2s, background .2s; white-space: nowrap; }
.top nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.top nav a.lang { color: #fff; border: 1px solid var(--line); margin: 0 4px; gap: 7px; font-weight: 700; font-size: 14.5px; }
.top nav a.lang svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.top nav a.pill { color: #fff; font-weight: 700; padding: 0 18px; border: 1px solid transparent; background: linear-gradient(#1d1147, #1d1147) padding-box, var(--grad) border-box; }
.top nav a.pill:hover { background: linear-gradient(#2a1a63, #2a1a63) padding-box, var(--grad) border-box; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 30px; align-items: center; padding-top: 26px; padding-bottom: 44px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffd9a0; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.hero h1 { font-size: clamp(34px, 5.1vw, 64px); line-height: 1.06; letter-spacing: -.025em; margin: 16px 0 18px; text-wrap: balance; }
.hero .lead { font-size: clamp(16px, 1.45vw, 18.5px); color: var(--muted); max-width: 33em; text-wrap: pretty; margin-bottom: 28px; }
/* "Coming soon": a status label, not a button (nothing to tap yet) */
.soon { display: inline-flex; align-items: center; gap: 11px; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.35; border: 1px solid transparent;
  background: linear-gradient(#1d1147, #1d1147) padding-box, var(--grad) border-box; box-shadow: 0 14px 40px rgba(255, 95, 168, .22); }
.soon i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14.5px; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 17px; height: 17px; flex: none; fill: none; stroke: #5eead4; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* The showcase: a phone in real phone proportions showing real screens of the app, fading into each other,
   and two finished designs behind it. Every size hangs on --pw (the phone's width), so it never sticks out. */
.stage { --pw: min(clamp(170px, 31vh, 262px), 20vw); --sw: .74; --so: .56; position: relative; direction: ltr; width: calc(var(--pw) * 2.04); max-width: 100%; margin: 0 auto; padding: calc(var(--pw) * .06) 0 calc(var(--pw) * .2); display: grid; justify-items: center; }
.stage::before { content: ""; position: absolute; left: 50%; top: 46%; width: 100%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 95, 168, .42), rgba(124, 92, 255, .22) 55%, transparent); filter: blur(10px); }
.phone { position: relative; z-index: 2; width: var(--pw); padding: calc(var(--pw) * .036); border-radius: calc(var(--pw) * .16);
  background: linear-gradient(150deg, #5a4a96, #0d0722 38%, #0d0722 62%, #3d2e6f);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), inset 0 0 0 1.5px rgba(255, 255, 255, .08), 0 calc(var(--pw) * .16) calc(var(--pw) * .3) calc(var(--pw) * -.08) rgba(4, 0, 20, .85); }
.phone::before { content: ""; position: absolute; right: -3px; top: 24%; width: 3px; height: 9%; border-radius: 0 3px 3px 0; background: #3d2e6f; }
.screen { position: relative; aspect-ratio: 390 / 844; border-radius: calc(var(--pw) * .125); overflow: hidden; background: #0d0e12; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.side { position: absolute; z-index: 1; top: 46%; left: 50%; width: calc(var(--pw) * var(--sw)); height: auto; border-radius: calc(var(--pw) * .085); box-shadow: 0 30px 60px rgba(4, 0, 20, .6), 0 0 0 1px rgba(255, 255, 255, .14); }
.side.l { transform: translate(calc(-50% - var(--pw) * var(--so)), -50%) rotate(-8deg); }
.side.r { transform: translate(calc(-50% + var(--pw) * var(--so)), -50%) rotate(8deg); }
/* three screens, 5 s each */
.fade { animation: fade 15s linear infinite both; }
.fade:nth-child(1) { animation-delay: -.75s; }
.fade:nth-child(2) { animation-delay: 4.25s; }
.fade:nth-child(3) { animation-delay: 9.25s; }
@keyframes fade { 0% { opacity: 0; } 5%, 33.33% { opacity: 1; } 38.33%, 100% { opacity: 0; } }
.cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: calc(var(--pw) * .17); font-size: clamp(11.5px, calc(var(--pw) * .052), 14px); color: var(--muted); text-align: center; }
.cap span { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); animation-name: fadecap; }
@keyframes fadecap { 0%, 3% { opacity: 0; } 6%, 31% { opacity: 1; } 33.33%, 100% { opacity: 0; } }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; font-size: clamp(11.5px, calc(var(--pw) * .05), 13.5px); font-weight: 700; white-space: nowrap;
  background: rgba(24, 12, 60, .82); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 12px 30px rgba(4, 0, 20, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: bob 6s ease-in-out infinite; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #ff5fa8); box-shadow: 0 0 10px var(--c, #ff5fa8); }
.chip.c1 { left: 0; top: 9%; }
.chip.c2 { right: 0; top: 30%; --c: #ffc24b; animation-delay: -2s; }
.chip.c3 { left: 1%; bottom: 20%; --c: #5eead4; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* ---------- numbers strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; background: var(--panel); overflow: hidden; }
.stats div { padding: 22px 14px; text-align: center; border-inline-start: 1px solid var(--line); }
.stats div:first-child { border-inline-start: 0; }
.stats b { display: block; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
.stats span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- sections ---------- */
.sec { padding-top: clamp(64px, 9vw, 112px); }
.head { text-align: center; max-width: 740px; margin: 0 auto clamp(28px, 4vw, 46px); }
.head .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.head h2 { font-size: clamp(27px, 3.7vw, 42px); line-height: 1.14; letter-spacing: -.022em; margin: 12px 0 12px; text-wrap: balance; }
.head p { color: var(--muted); font-size: clamp(15.5px, 1.4vw, 17.5px); text-wrap: pretty; }

/* ---------- how it is made: four steps, each with a real screen of the app ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; padding: 14px 14px 20px; border-radius: 28px; border: 1px solid transparent; counter-increment: step;
  background: linear-gradient(180deg, rgba(34, 19, 80, .92), rgba(22, 11, 54, .94)) padding-box, linear-gradient(145deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .05) 38%, rgba(255, 95, 168, .5)) border-box; box-shadow: 0 24px 50px -18px rgba(4, 0, 20, .7); }
.shot { position: relative; margin: 0 auto 18px; width: 100%; max-width: 250px; padding: 5px; border-radius: 30px; background: linear-gradient(150deg, #5a4a96, #0d0722 38%, #0d0722 62%, #3d2e6f); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 22px 40px -16px rgba(4, 0, 20, .9); }
.shot img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 25px; }
.step h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.25; letter-spacing: -.01em; margin: 0 4px 8px; }
.step h3::before { content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; color: #1b0f3b; background: var(--grad); }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 4px; text-wrap: pretty; }

/* ---------- feature cards: a real picture made in the app, set into the card ---------- */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.card { grid-column: span 2; position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: 28px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(34, 19, 80, .92), rgba(22, 11, 54, .94)) padding-box, linear-gradient(145deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .05) 38%, rgba(255, 95, 168, .5)) border-box;
  box-shadow: 0 24px 50px -18px rgba(4, 0, 20, .7); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.card.w3 { grid-column: span 3; }
.card.w6 { grid-column: span 6; }
.card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -18px rgba(4, 0, 20, .8), 0 0 60px -12px rgba(255, 95, 168, .45); }
.pic { position: relative; aspect-ratio: 16 / 10; border-radius: 19px; overflow: hidden; background: #1a0c3d; }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .pic img { transform: scale(1.045); }
.pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); pointer-events: none; }
.body { padding: 20px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.ttl { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #ff5fa8, #8b5cf6); box-shadow: 0 10px 22px rgba(255, 95, 168, .35), inset 0 1px 0 rgba(255, 255, 255, .4); }
.ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: clamp(18px, 1.7vw, 20.5px); line-height: 1.25; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.62; text-wrap: pretty; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 16px 0 0; margin: auto 0 0; }
.tags li { font-size: 12.5px; font-weight: 700; color: #f3e9ff; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
/* «Every size»: the same design saved in four sizes */
.card.w6 { flex-direction: row; align-items: stretch; }
.card.w6 .body { flex: 1 1 42%; justify-content: center; padding: 22px; }
.card.w6 .tags { margin-top: 0; }
.frames { flex: 1 1 58%; direction: ltr; display: flex; align-items: flex-end; justify-content: center; gap: 3.2%; padding: 26px 4% 20px; border-radius: 19px; background: radial-gradient(120% 130% at 15% 0%, rgba(255, 95, 168, .28), transparent 60%), linear-gradient(135deg, #24104f, #3b1a80); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.frames figure { margin: 0; text-align: center; flex: 0 1 auto; min-width: 0; }
.frames img { width: 100%; height: auto; border-radius: 9px; box-shadow: 0 14px 28px rgba(4, 0, 20, .55), 0 0 0 1.5px rgba(255, 255, 255, .5); }
.frames figcaption { font-size: 12px; font-weight: 700; margin-top: 9px; color: #f3e9ff; white-space: nowrap; }
.frames figure:nth-child(1) { width: 13.5%; } .frames figure:nth-child(2) { width: 19%; } .frames figure:nth-child(3) { width: 23%; } .frames figure:nth-child(4) { width: 35%; }

/* ---------- the toolbox: every control, by group ---------- */
.box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kit { border-radius: 24px; padding: 22px 20px 20px; background: var(--panel); border: 1px solid var(--line); }
.kit h3 { display: flex; align-items: center; gap: 11px; font-size: 18px; line-height: 1.25; margin-bottom: 14px; }
.kit h3 small { margin-inline-start: auto; font-size: 12.5px; font-weight: 700; color: #1b0f3b; background: var(--grad); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.kit .ic { width: 36px; height: 36px; border-radius: 11px; }
.kit .ic svg { width: 19px; height: 19px; }
.kit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.kit li { font-size: 13.5px; color: #efe6ff; padding: 6px 11px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }

/* ---------- gallery: two slow rows that can be dragged ---------- */
.mq { overflow: hidden; padding: 6px 0 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); direction: ltr; }
.mq + .mq { padding-bottom: 46px; }
.track { display: flex; gap: 20px; width: max-content; animation: mq 90s linear infinite; }
.mq.rev .track { animation-direction: reverse; }
.mq:hover .track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(calc(-50% - 10px)); } }
.track img { flex: none; width: clamp(140px, 40vw, 214px); height: auto; border-radius: 20px; box-shadow: 0 22px 44px -14px rgba(4, 0, 20, .8), 0 0 0 1px rgba(255, 255, 255, .14); -webkit-user-drag: none; }
/* with the script: moved by the page, dragged with the mouse or a finger */
.js-mq .mq, .mq.grab { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.js-mq .mq.drag, .mq.grab.drag { cursor: grabbing; }
.js-mq .track { animation: none; will-change: transform; }
.hint { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: -18px; }

/* ---------- private by design ---------- */
.priv { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; }
.lockup { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(26px, 3.4vw, 44px); border: 1px solid transparent; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 120% at 0% 0%, rgba(124, 92, 255, .5), transparent 55%) padding-box, radial-gradient(120% 120% at 100% 100%, rgba(255, 95, 168, .38), transparent 55%) padding-box, linear-gradient(#1c1046, #1c1046) padding-box, linear-gradient(145deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .05) 40%, rgba(255, 95, 168, .55)) border-box; }
.lockup .ic { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 20px; }
.lockup .ic svg { width: 30px; height: 30px; }
.lockup h3 { font-size: clamp(23px, 2.7vw, 32px); line-height: 1.18; letter-spacing: -.02em; margin-bottom: 12px; text-wrap: balance; }
.lockup p { color: var(--muted); font-size: 16px; max-width: 30em; text-wrap: pretty; }
.lockup a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; font-weight: 700; text-decoration: none; color: #ffd9a0; align-self: flex-start; }
.lockup a:hover { text-decoration: underline; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust div { border-radius: 22px; padding: 20px 18px; background: var(--panel); border: 1px solid var(--line); transition: transform .3s, background .3s; }
.trust div:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .085); }
.trust .ic { margin-bottom: 14px; }
.trust b { display: block; font-size: 17px; line-height: 1.3; }
.trust b + span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* ---------- closing ---------- */
.cta { position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: clamp(36px, 6vw, 68px) 22px; border: 1px solid rgba(255, 255, 255, .16);
  background: radial-gradient(70% 130% at 50% 120%, rgba(255, 95, 168, .5), transparent 62%), radial-gradient(60% 120% at 0% 0%, rgba(124, 92, 255, .55), transparent 60%), radial-gradient(60% 120% at 100% 0%, rgba(255, 194, 75, .22), transparent 60%), #1a0e44; }
.cta h2 { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.cta p { color: var(--muted); max-width: 34em; margin: 14px auto 26px; font-size: clamp(15.5px, 1.4vw, 17.5px); text-wrap: balance; }
.cta small { display: block; margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.cta small a { display: inline-block; padding: 11px 2px; }

/* ---------- download page ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; color: #1b0f3b; background: var(--grad); box-shadow: 0 16px 36px -10px rgba(255, 95, 168, .6); transition: transform .25s, box-shadow .25s; white-space: nowrap; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -10px rgba(255, 95, 168, .75); }
.btn:focus-visible { border-radius: 999px; }
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.plat { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); padding: clamp(18px, 2.4vw, 30px); border-radius: 28px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(34, 19, 80, .92), rgba(22, 11, 54, .94)) padding-box, linear-gradient(145deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .05) 38%, rgba(255, 95, 168, .5)) border-box; box-shadow: 0 24px 50px -18px rgba(4, 0, 20, .7); }
.dev { flex: none; width: clamp(104px, 13vw, 150px); padding: 5px; border-radius: 26px; background: linear-gradient(150deg, #5a4a96, #0d0722 38%, #0d0722 62%, #3d2e6f); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 22px 40px -14px rgba(4, 0, 20, .9); }
.dev-screen { aspect-ratio: 390 / 844; border-radius: 21px; overflow: hidden; background: #0d0e12; }
.dev-screen img { width: 100%; height: 100%; object-fit: cover; }
.plat-body { min-width: 0; }
.os { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffd9a0; margin-bottom: 6px; }
.plat h2 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 6px; }
.plat p { color: var(--muted); font-size: 15px; }
.plat .ticks { margin: 12px 0 18px; gap: 6px 16px; }
.plat .soon { font-size: 14px; padding: 10px 15px; }
.notify { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 22px; padding: clamp(22px, 3vw, 34px); border-radius: 28px; border: 1px solid rgba(255, 255, 255, .16);
  background: radial-gradient(80% 160% at 100% 100%, rgba(255, 95, 168, .42), transparent 60%), radial-gradient(70% 150% at 0% 0%, rgba(124, 92, 255, .5), transparent 60%), #1a0e44; }
.notify h2 { font-size: clamp(20px, 2.4vw, 27px); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 6px; text-wrap: balance; }
.notify p { color: var(--muted); font-size: 15.5px; max-width: 34em; }

/* ---------- contact page ---------- */
.contact { padding-top: clamp(18px, 4vw, 44px); }
.contact .head h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; letter-spacing: -.025em; margin: 12px 0 14px; text-wrap: balance; }
.contact .head p a:not(.btn), .tips a, .form a { color: #ffd9a0; font-weight: 700; }
.contact .head .after { margin-top: 26px; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 28px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(34, 19, 80, .92), rgba(22, 11, 54, .94)) padding-box, linear-gradient(145deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .05) 38%, rgba(255, 95, 168, .5)) border-box; box-shadow: 0 24px 50px -18px rgba(4, 0, 20, .7); }
.form h2 { grid-column: 1 / -1; font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -.015em; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(8, 3, 26, .55); color: #fff; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-end: 40px; }
.field select option { color: #111; }
.field input::placeholder, .field textarea::placeholder { color: rgba(233, 227, 255, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #ff8fc4; box-shadow: 0 0 0 3px rgba(255, 95, 168, .3); }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form .send { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
.form .send p { color: var(--muted); font-size: 13.5px; flex: 1 1 220px; }
.ways { display: grid; gap: 14px; }
.way { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 16px 18px; min-height: 76px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); transition: transform .3s, background .3s; }
.way:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .085); }
.way:focus-visible { border-radius: 22px; }
.way h2 { font-size: 17px; line-height: 1.3; }
.way p { color: var(--muted); font-size: 14px; }
.way .go { margin-inline-start: auto; color: #ffd9a0; font-weight: 700; font-size: 20px; }
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.tips > div { border-radius: 24px; padding: 24px; background: var(--panel); border: 1px solid var(--line); }
.tips h2 { font-size: 18px; margin-bottom: 10px; }
.tips ul { margin: 0; padding: 0; padding-inline-start: 20px; color: var(--muted); font-size: 15px; }
.tips li { margin: 6px 0; }
.tips li::marker { color: var(--pink); }

footer.wrap { margin-top: clamp(54px, 7vw, 88px); padding-top: 18px; padding-bottom: max(52px, calc(env(safe-area-inset-bottom) + 36px)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; justify-content: space-between; }
footer a { display: inline-block; padding: 12px 2px; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; }

/* ---------- questions ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: background .25s; }
.faq details[open] { background: rgba(255, 255, 255, .085); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 14px 20px; font-weight: 700; font-size: clamp(15.5px, 1.4vw, 17px); border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; line-height: 1; color: #1b0f3b; background: var(--grad); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.faq details p { padding: 0 20px 20px; color: var(--muted); font-size: 15.5px; max-width: 62em; text-wrap: pretty; }
.faq details p a { color: #ffd9a0; font-weight: 700; }

/* ---------- sizes ---------- */
/* Computer / tablet: the first part fills the first screen, so the next section does not peek in under it */
@media (min-width: 901px) and (min-height: 560px) { .hero { min-height: calc(100vh - 92px); min-height: calc(100svh - 92px); padding-top: 10px; padding-bottom: 40px; } }
@media (max-width: 920px) { .top nav a.opt { display: none; } }
@media (max-width: 1040px) { .grid { gap: 18px; } .card, .card.w3 { grid-column: span 3; } .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .box { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 36px; padding-top: 14px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .ticks { justify-content: center; }
  .stage { --pw: min(48vw, 250px); --sw: .62; --so: .4; width: calc(var(--pw) * 1.62); }
  .priv, .split { grid-template-columns: minmax(0, 1fr); }
  .card.w6 { flex-direction: column; } .card.w6 .body { padding: 20px 14px 16px; } .card.w6 .tags { padding-top: 16px; } .frames { order: -1; }
  .dl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) { .top nav a:not(.pill):not(.lang) { display: none; } }
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(30px, 9.2vw, 44px); }
  .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-inline-start: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid, .box, .tips { grid-template-columns: minmax(0, 1fr); } .card, .card.w3, .card.w6 { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); } .step { flex-direction: row; align-items: center; gap: 16px; padding: 14px; } .shot { flex: none; width: 42%; max-width: 170px; margin: 0; border-radius: 24px; } .shot img { border-radius: 19px; }
  .frames { padding: 20px 3% 16px; gap: 2.4%; } .frames figcaption { font-size: 10.5px; }
  .form { grid-template-columns: minmax(0, 1fr); } .form .send .btn, .notify .btn { width: 100%; }
  footer.wrap { justify-content: center; text-align: center; } footer nav { justify-content: center; }
}
/* A phone held sideways: text and the phone side by side again */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); text-align: start; gap: 18px; }
  .hero h1 { font-size: 30px; } .hero .lead { margin-left: 0; margin-right: 0; font-size: 15px; } .ticks { justify-content: flex-start; }
  .stage { --pw: clamp(96px, 17vw, 130px); } .chip { display: none; }
  .top { height: 60px; padding-top: calc(6px + env(safe-area-inset-top)); }
}
@media (max-width: 400px) { .trust { grid-template-columns: minmax(0, 1fr); } .soon { font-size: 14px; padding: 11px 15px; } .chip { padding: 6px 10px; } .top nav a.lang { padding: 0 10px; } .top nav a.pill { padding: 0 14px; } .brand { font-size: 21px; } }
@media (max-width: 380px) { .plat { flex-direction: column; text-align: center; } .plat .ticks { justify-content: center; } }
@media (max-width: 340px) { .chip { display: none; } .top nav a.lang span { display: none; } }

@media (max-width: 640px) { .top { padding-top: calc(8px + env(safe-area-inset-top)); } }

/* ---------- Arabic pages (right to left) ---------- */
[dir="rtl"] body { font-family: Taj, Pop, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.75; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .eyebrow, [dir="rtl"] .os, [dir="rtl"] .stats b { letter-spacing: 0; }
[dir="rtl"] .hero h1 { line-height: 1.3; } [dir="rtl"] .head h2, [dir="rtl"] .cta h2, [dir="rtl"] .contact .head h1, [dir="rtl"] .lockup h3 { line-height: 1.35; }
[dir="rtl"] .brand, [dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .field select { background-position: 16px 50%, 22px 50%; }
[dir="rtl"] .skip { left: auto; right: -999px; } [dir="rtl"] .skip:focus { right: 12px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @supports (animation-timeline: view()) {
    .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes rise { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .soon i, .chip, .fade { animation: none; }
  .fade:nth-child(n+2), .cap span:nth-child(n+2) { opacity: 0; }
  .card, .pic img, .trust div, .way, .btn { transition: none; } .card:hover, .card:hover .pic img, .trust div:hover, .way:hover, .btn:hover { transform: none; }
  /* the gallery stands still and is scrolled by hand */
  .mq { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-left: var(--pad); padding-right: var(--padr); }
  .track { animation: none; } .track .dup { display: none; }
}

/* ---------- 2026-11-21: menu with its own pages, a menu button on smaller screens ---------- */
.top nav .menu { display: none; position: relative; }
.top nav .menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); color: #fff; margin-inline-start: 4px; }
.top nav .menu summary::-webkit-details-marker { display: none; }
.top nav .menu summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.top nav .menu[open] summary { background: rgba(255, 255, 255, .1); }
.top nav .menu summary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.top nav .drop { position: absolute; z-index: 50; top: calc(100% + 10px); inset-inline-end: 0; min-width: 230px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  border-radius: 20px; background: rgba(24, 12, 58, .97); border: 1px solid var(--line); box-shadow: 0 24px 60px -10px rgba(4, 0, 20, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top nav .menu .drop a { display: flex !important; color: #fff; font-size: 16px; padding: 0 16px; min-height: 48px; border-radius: 14px; }
.top nav .menu .drop a[aria-current="page"] { background: rgba(255, 255, 255, .1); }
.top nav a[aria-current="page"]:not(.pill) { color: #fff; }
@media (max-width: 1180px) { .top nav a.opt { display: none; } .top nav .menu { display: block; } }
@media (max-width: 430px) { .top nav a.pill .fr { display: none; } }
@media (max-width: 360px) { .top nav a.lang { padding: 0 9px; } .top nav .menu summary { width: 44px; height: 44px; } }
/* standalone pages: the first heading is an h1 */
.head h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -.024em; margin: 12px 0 14px; text-wrap: balance; }
[dir="rtl"] .head h1 { line-height: 1.35; }
.more { text-align: center; margin-top: clamp(22px, 3vw, 34px); }
.more a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 700; color: #fff;
  border: 1px solid transparent; background: linear-gradient(#1d1147, #1d1147) padding-box, var(--grad) border-box; }
.more a:hover { background: linear-gradient(#2a1a63, #2a1a63) padding-box, var(--grad) border-box; }

/* Layouts card: two real app screens (the layouts window, an empty layout with + in each cell) */
.card.lay .duo { flex: 1 1 58%; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 34px); padding: 24px 4%; border-radius: 19px; direction: ltr;
  background: radial-gradient(120% 130% at 85% 0%, rgba(155, 123, 255, .3), transparent 60%), linear-gradient(135deg, #24104f, #3b1a80); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.card.lay .duo .dev { width: clamp(120px, 15vw, 190px); }
.card.lay .duo .dev:first-child { transform: rotate(-4deg); } .card.lay .duo .dev:last-child { transform: rotate(4deg) translateY(10px); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 920px; margin: 0 auto; }
.plan { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.plan.pro { border: 1px solid transparent; background: linear-gradient(#1a0e44, #1a0e44) padding-box, var(--grad) border-box; box-shadow: 0 24px 60px -18px rgba(255, 95, 168, .45); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.015em; }
.badge { font-size: 12.5px; font-weight: 700; color: #1b0f3b; background: var(--grad); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.price { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; margin-top: 14px; line-height: 1.15; }
.plan.pro .price { font-size: clamp(24px, 3vw, 32px); }
.per { color: var(--muted); font-size: 15px; margin: 4px 0 18px; }
.ticks2 { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks2 li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.5; }
.ticks2 svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke: #5eead4; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 760px) {
  .card.lay { flex-direction: column; }
  .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .card.lay .duo .dev { transform: none; } }
@media (max-width: 900px) { .card.lay .duo { order: -1; } }

/* ---------- phones: the top bar fits inside the page margins ---------- */
@media (max-width: 480px) {
  .top { gap: 8px; }
  .top nav { gap: 6px; }
  .top nav a.lang { width: 44px; min-height: 44px; padding: 0; margin: 0; justify-content: center; }
  .top nav a.lang span { display: none; }
  .top nav a.pill { padding: 0 16px; min-height: 44px; }
  .top nav .menu summary { width: 44px; height: 44px; margin: 0; }
}
@media (max-width: 360px) {
  .brand { font-size: 20px; }
  .top nav { gap: 5px; }
  .top nav a.pill { padding: 0 12px; font-size: 14.5px; }
}

/* ---------- wide screens: the menu links sit in the middle of the top bar ---------- */
.top nav .links, .top nav .end { display: contents; }
@media (min-width: 1181px) {
  .top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; }
  .top .brand { justify-self: start; }
  .top nav { display: contents; }
  .top nav .links { display: flex; align-items: center; gap: 2px; }
  .top nav .end { display: flex; align-items: center; gap: 4px; justify-self: end; }
}
@media (max-width: 340px) { .brand { font-size: 19px; } .top { gap: 6px; } .top nav { gap: 4px; } .top nav a.pill { padding: 0 10px; font-size: 14px; } }
.faq details.closing summary::after { transform: none; }
.faq details.closing { background: var(--panel); }
.faq summary::after { transition: transform .3s cubic-bezier(.32, .72, 0, 1); }

/* ---------- What's new (changelog) ---------- */
.log { max-width: 820px; margin: 0 auto; display: grid; gap: 22px; }
.rel { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--panel); border: 1px solid var(--line); }
.rel-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.rel-top .ver { font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; color: #1b0f3b; background: var(--grad); }
.rel-top time { color: var(--muted); font-size: 14px; }
.rel h2 { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.2; margin: 0 0 6px; text-wrap: balance; }
.rel .lead { color: var(--muted); margin: 0 0 18px; }
.rel .grp + .grp { margin-top: 18px; }
.rel h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #ffd9a0; margin: 0 0 8px; }
.rel ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; }
.rel li { color: rgba(240, 236, 255, .9); text-wrap: pretty; }
.rel li::marker { color: #ff8fc4; }
[dir="rtl"] .rel h3 { letter-spacing: 0; }
.head .more-line { margin-top: 10px; font-size: 15px; }
.head .more-line a { color: #ffd9a0; font-weight: 700; text-decoration: none; }
.head .more-line a:hover { text-decoration: underline; }
