/* Landing v4 · 4 «من قريب» (owner 2026-12-05: «نحكم كل خاصية ونظهرها حقيقة… بطريقة إبداعية ونضيف تأثيرات الجلاس»).
   Four chapters on the ink, each a real film of the action inside a glass Mac window (the hero's), its steps beside it as glass
   pills that light up with the film. Ink, white and the platform's own state colours; Nora keeps her AI touch.
   Motion language: the page's ease (.16, 1, .3, 1), 160 ms unit; every film rests on its final frame under reduced motion. */

.deep { position: relative; isolation: isolate; overflow: clip; padding-block: 88px 104px; color: #fff;
  background: radial-gradient(72% 560px at 50% 0, rgb(52 64 92 / .6), transparent 72%), #0E1219; } /* the hero's light-blue stage light on the ink (owner 2026-12-05: «اللون الأزرق الفاتح فوق الحبري… أعجبني») */
@media (min-width: 1024px) { .deep { padding-block: 128px 144px; } }
/* the lights the glass frosts: they drift slowly, ink-blue and a little pink, never bright */
.deep::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(30% 18% at 80% 12%, rgb(52 64 92 / .8), transparent 70%), radial-gradient(26% 14% at 16% 34%, rgb(235 72 94 / .22), transparent 70%),
    radial-gradient(30% 16% at 78% 58%, rgb(235 72 94 / .16), transparent 70%), radial-gradient(34% 16% at 22% 78%, rgb(52 64 92 / .7), transparent 70%);
  animation: deep-drift 26s ease-in-out infinite alternate; }
@keyframes deep-drift { to { transform: translate(2%, -1.5%) scale(1.05); } }
.deep .chap h2 { color: #fff; }
.deep .chap h2 span { color: #F4A3AE; }
.deep .chap .t-lead, .deep .chap .ey.ft { color: #A8ACB5; }

/* a chapter: the words and their steps, the window beside them; sides alternate on a computer */
.dc { display: grid; gap: 28px; align-items: center; margin-top: 72px; }
@media (min-width: 960px) { .dc { grid-template-columns: 5fr 6fr; gap: 64px; margin-top: 112px; } .dc:nth-of-type(even) .dc-txt { order: 1; } }
.dc-k { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #A8ACB5; }
.dc-k .u-n { display: grid; place-items: center; min-width: 34px; height: 24px; padding-inline: 8px; border-radius: 999px; font-size: 12px; color: #fff;
  background: rgb(255 255 255 / .08); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), inset 0 0 0 1px rgb(255 255 255 / .1); }
.dc h3 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.25; font-weight: 700; text-wrap: balance; }
.dc-txt > p { margin: 12px 0 0; max-width: 44ch; font-size: 16px; line-height: 1.75; color: #A8ACB5; }
.dc-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; max-width: 420px; }
.dc-steps li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border-radius: 14px; overflow: hidden;
  font-size: 15px; font-weight: 500; color: #A8ACB5; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: color .32s var(--ease-out), background-color .32s var(--ease-out), box-shadow .32s var(--ease-out); }
.dc-steps li .u-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; background: rgb(255 255 255 / .08); flex: none; transition: background-color .32s, color .32s; }
.dc-steps li.on { color: #fff; background: rgb(255 255 255 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 0 0 1px rgb(255 255 255 / .14); }
.dc-steps li.on .u-n { background: #fff; color: #161B25; }
.dc-steps li.past { color: #D7D9DE; }
.dc-steps li.past .u-n { background: rgb(124 196 154 / .22); color: #7CC49A; }
/* the step's time runs as a thin light along its foot */
.dc-steps li::after { content: ""; position: absolute; inset-inline: 14px; bottom: 0; height: 2px; border-radius: 2px; background: rgb(255 255 255 / .5); transform: scaleX(0); transform-origin: right; }
.dc-steps li.on::after { animation: step-run var(--d, 2.4s) linear forwards; }
@keyframes step-run { to { transform: scaleX(1); } }
@media (max-width: 959px) { .dc-txt { display: contents; } .dc-k, .dc h3, .dc-txt > p { grid-column: 1; } .dc-steps { order: 2; margin-top: 0; max-width: none; } .dc-k { margin-bottom: -18px; } .dc-txt > p { margin-top: -16px; } }

/* the window: the hero's thin glass bezel and small lights */
.dw { position: relative; width: 100%; max-width: 560px; justify-self: center; padding: 0 4px 4px; border-radius: 16px;
  background: linear-gradient(rgb(255 255 255 / .16), rgb(255 255 255 / .05) 30%, rgb(255 255 255 / .08)), rgb(124 134 156 / .12);
  -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .34), inset 0 0 0 1px rgb(255 255 255 / .1), 0 60px 110px -50px rgb(0 0 0 / .7); }
.dw-bar { display: flex; align-items: center; height: 26px; padding-inline: 8px; direction: ltr; }
.dw .lights { display: flex; gap: 5px; } .dw .lights i { width: 8px; height: 8px; border-radius: 50%; }
.dw .lights i:nth-child(1) { background: #FF5F57; } .dw .lights i:nth-child(2) { background: #FEBC2E; } .dw .lights i:nth-child(3) { background: #28C840; }
.dw-screen { position: relative; aspect-ratio: 480 / 560; overflow: hidden; border-radius: 11px; background: #F7F8FA; box-shadow: 0 0 0 1px rgb(0 0 0 / .28); }
@media (max-width: 767px) { .dw { padding: 0 3px 3px; border-radius: 13px; } .dw-bar { height: 22px; } .dw .lights i { width: 7px; height: 7px; } .dw-screen { border-radius: 10px; } }

/* the film's canvas: 480 × 560, scaled to the window (deep.js sets --k) */
.dv { position: absolute; top: 0; left: 0; width: 480px; height: 560px; transform: scale(var(--k, 1)); transform-origin: 0 0; color: #161B25; font-size: 15px; line-height: 1.5; direction: rtl; }
.dv .u-n { font-family: "Easycod", sans-serif; font-variant-numeric: tabular-nums; }
.dv svg { display: block; }
/* a percentage keeps «78 %» in its order inside the Arabic line */
.w-fig em, .w-ring .ring b, .dp-net em b, .dn-ans b, .dp-rows b, .dk-top > b { direction: ltr; unicode-bidi: isolate; }
.dv-cur { position: absolute; top: 0; left: 0; width: 26px; height: 26px; z-index: 9; pointer-events: none; opacity: 0; transform: translate(var(--x, 240px), var(--y, 600px));
  transition: transform .72s cubic-bezier(.45, 0, .2, 1), opacity .32s; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .25)); }
.dv-cur.on { opacity: 1; }
.dv-cur svg { width: 26px; height: 26px; transition: transform .12s; }
.dv-cur.click svg { transform: scale(.84); }
.dv .press { transform: scale(.95); }
.dv-toast { position: absolute; inset-inline: 0; bottom: 18px; width: max-content; margin-inline: auto; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
  background: #161B25; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 16px 32px -12px rgb(0 0 0 / .4); opacity: 0; transform: translateY(12px); transition: opacity .32s var(--ease-out), transform .48s var(--ease-out); }
.dv-toast .ok { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #2F9A5E; font-size: 12px; }
.dv-toast.on { opacity: 1; transform: none; }

/* 01 · the dashboard you build */
.dd-head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding-inline: 18px; background: #fff; border-bottom: 1px solid #E6E8EC; }
.dd-head b { font-size: 16px; }
.dd-btns { display: flex; gap: 6px; }
.dd-btns span { display: grid; place-items: center; height: 30px; padding-inline: 12px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: transform .16s; }
.dd-add { box-shadow: inset 0 0 0 1px #D7D9DE; background: #fff; }
.dd-save { background: #161B25; color: #fff; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 104px 112px 96px; gap: 10px; padding: 16px; }
.dd-slot { position: relative; border-radius: 14px; box-shadow: inset 0 0 0 1.5px #D7D9DE; background: repeating-linear-gradient(135deg, transparent 0 8px, rgb(22 27 37 / .025) 8px 16px); transition: box-shadow .24s; }
.dd-slot.wide { grid-column: 1 / -1; }
.dd-slot.hot { box-shadow: inset 0 0 0 2px #161B25; }
.dd-w { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E6E8EC, 0 6px 16px -10px rgb(22 27 37 / .3);
  opacity: 0; transform: scale(.92); transition: opacity .24s var(--ease-out), transform .48s var(--ease-out); }
.dd-slot.in .dd-w { opacity: 1; transform: none; }
.dd-w small { font-size: 12px; color: #6B717E; }
.w-fig b { margin-top: auto; font-size: 30px; line-height: 1.1; font-weight: 700; }
.w-fig em { font-style: normal; font-size: 12px; color: #2F9A5E; margin-top: 4px; }
.w-ring { flex-direction: row; justify-content: space-between; align-items: flex-start; }
.w-ring .ring { position: relative; width: 76px; height: 76px; align-self: center; }
.w-ring svg { width: 76px; height: 76px; transform: rotate(-90deg); }
.w-ring circle { fill: none; stroke: #E6E8EC; stroke-width: 3.4; }
.w-ring circle.vl { stroke: #161B25; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--ease-out) .2s; }
.dd-slot.in .w-ring circle.vl { stroke-dasharray: 78 100; }
.w-ring .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; }
.w-line svg { flex: 1; width: 100%; margin-top: 6px; }
.w-line .ln { fill: none; stroke: #161B25; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-out) .2s; }
.w-line .ar { fill: rgb(22 27 37 / .07); opacity: 0; transition: opacity .6s .8s; }
.dd-slot.in .w-line .ln { stroke-dashoffset: 0; } .dd-slot.in .w-line .ar { opacity: 1; }
.w-bars .bars { flex: 1; display: flex; flex-direction: column; justify-content: space-between; margin-top: 6px; }
.w-bars i { position: relative; display: block; height: 10px; width: calc(var(--h) * 62%); border-radius: 5px; background: #161B25; transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-out); }
.w-bars i:nth-child(n+2) { background: #6B717E; } .w-bars i:nth-child(n+4) { background: #9AA0AC; }
.w-bars em { position: absolute; inset-inline-start: calc(100% + 8px); top: 50%; transform: translateY(-50%); font-style: normal; font-size: 11px; color: #6B717E; white-space: nowrap; }
.dd-slot.in .w-bars i { transform: none; }
.dd-slot.in .w-bars i:nth-child(2) { transition-delay: .06s; } .dd-slot.in .w-bars i:nth-child(3) { transition-delay: .12s; } .dd-slot.in .w-bars i:nth-child(4) { transition-delay: .18s; } .dd-slot.in .w-bars i:nth-child(5) { transition-delay: .24s; }
.dd-lib { position: absolute; inset-inline: 0; bottom: 0; padding: 14px 16px 18px; background: rgb(255 255 255 / .82); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border-top: 1px solid #E6E8EC; border-radius: 18px 18px 0 0; box-shadow: 0 -18px 40px -20px rgb(22 27 37 / .3); transform: translateY(105%); transition: transform .56s var(--ease-out); }
.dd-lib.on { transform: none; }
.dd-lib p { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.dd-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dd-t { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #E6E8EC; font-size: 11.5px; font-weight: 500; text-align: center; transition: opacity .24s, transform .16s; }
.dd-t svg, .dd-ghost svg { width: 22px; height: 22px; fill: none; stroke: #161B25; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dd-t.used { opacity: .35; }
.dd-ghost { position: absolute; top: 0; left: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; padding: 10px 4px; border-radius: 12px; background: #fff; font-size: 11.5px; font-weight: 500;
  box-shadow: 0 0 0 1px #D7D9DE, 0 18px 36px -12px rgb(22 27 37 / .45); opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)) scale(var(--s, 1));
  transition: transform .72s cubic-bezier(.45, 0, .2, 1), opacity .2s; }
.dd-ghost.on { opacity: 1; }

/* 02 · the profit of one order, then of the month */
.dv-prof { padding: 18px; }
.dp-order { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E6E8EC; opacity: 0; transform: translateY(10px); transition: opacity .32s var(--ease-out), transform .48s var(--ease-out); }
.dp-order.on { opacity: 1; transform: none; }
.dp-order img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.dp-order div { flex: 1; min-width: 0; }
.dp-order div b { display: block; font-size: 15px; }
.dp-order small { font-size: 12px; color: #6B717E; }
.dp-price { font-size: 18px; white-space: nowrap; }
.dp-bar { display: flex; height: 26px; margin: 18px 0 14px; border-radius: 8px; overflow: hidden; background: #E6E8EC; transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-out); }
.dp-bar.on { transform: none; }
.dp-bar i { height: 100%; background: #161B25; transition: background-color .4s var(--ease-out), transform .56s var(--ease-out); }
.dp-bar .net { width: 42.69%; } .dp-bar .s5 { width: 1.57%; } .dp-bar .s4 { width: 2%; } .dp-bar .s3 { width: 13.07%; } .dp-bar .s2 { width: 8.67%; } .dp-bar .s1 { width: 32%; }
.dp-bar i.off { background: #C9CDD5; transform: translateY(5px); }
.dp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dp-rows li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #E6E8EC; font-size: 14px;
  opacity: 0; transform: translateX(-14px); transition: opacity .24s var(--ease-out), transform .4s var(--ease-out), box-shadow .32s; }
.dp-rows li.on { opacity: 1; transform: none; }
.dp-rows li.hl { box-shadow: 0 0 0 2px #161B25; }
.dp-rows li b { color: #C93C40; }
.dp-net { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #161B25; color: #fff; }
.dp-net small { grid-column: 1 / -1; font-size: 12px; color: #A8ACB5; }
.dp-net p { margin: 0; font-size: 16px; }
.dp-net p b { font-size: 30px; line-height: 1.15; }
.dp-net em { font-style: normal; font-size: 13px; color: #A8ACB5; opacity: 0; transition: opacity .4s; }
.dp-net.done em { opacity: 1; }
.dp-month { position: absolute; inset-inline: 18px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 14px; border-radius: 16px;
  background: rgb(255 255 255 / .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px #E6E8EC, 0 -12px 30px -16px rgb(22 27 37 / .3);
  opacity: 0; transform: translateY(24px); transition: opacity .32s var(--ease-out), transform .56s var(--ease-out); }
.dp-month.on { opacity: 1; transform: none; }
.dp-month small { display: block; font-size: 12px; color: #6B717E; }
.dp-month b { font-size: 22px; }
.dp-month .mb { display: flex; align-items: flex-end; gap: 3px; height: 44px; }
.dp-month .mb i { width: 6px; height: calc(var(--h) * 100%); border-radius: 2px; background: #161B25; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); }
.dp-month.on .mb i { transform: none; }

/* 03 · the call centre */
.dv-call { padding: 16px; }
.dk-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E6E8EC; font-size: 13px; }
.dk-top > span:first-child { color: #6B717E; }
.dk-top > b { font-size: 15px; }
.dk-meter { flex: 1 1 100%; order: 3; height: 6px; border-radius: 3px; background: #E6E8EC; overflow: hidden; }
.dk-meter i { display: block; height: 100%; width: 75%; border-radius: inherit; background: #161B25; transition: width .6s var(--ease-out); }
.dk-q { margin-inline-start: auto; color: #6B717E; }
.dk-q b { color: #161B25; }
.dk-card { position: relative; margin-top: 12px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #E6E8EC, 0 18px 36px -22px rgb(22 27 37 / .35);
  opacity: 0; transform: translateX(-40px); transition: opacity .32s var(--ease-out), transform .56s var(--ease-out); }
.dk-card.on { opacity: 1; transform: none; }
.dk-card.out { opacity: 0; transform: translateX(60px) rotate(2deg); }
.dk-h { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.dk-st { padding: 2px 10px; border-radius: 999px; background: #EEF0F3; font-size: 12px; }
.dk-who { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.dk-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #161B25; color: #fff; font-weight: 700; font-size: 18px; }
.dk-who b { display: block; font-size: 16px; }
.dk-who small { font-size: 13px; color: #6B717E; }
.dk-rows p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; border-top: 1px solid #EEF0F3; font-size: 13.5px; }
.dk-rows span { color: #6B717E; }
.dk-rows b { font-weight: 600; text-align: end; }
.dk-call { position: relative; height: 48px; margin-top: 12px; }
.dk-cb, .dk-ring { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: opacity .24s, transform .16s; }
.dk-cb { background: #161B25; color: #fff; }
.dk-cb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.dk-ring { background: #EAF6EF; color: #1E6B42; opacity: 0; }
.dk-ring i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #2F9A5E; }
.dk-ring i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #2F9A5E; animation: ring-pulse 1.1s ease-out infinite; }
@keyframes ring-pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.dk-call.ringing .dk-cb { opacity: 0; } .dk-call.ringing .dk-ring { opacity: 1; }
.dk-dec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; opacity: .35; transition: opacity .32s; }
.dk-dec.on { opacity: 1; }
.dk-dec span { display: grid; place-items: center; height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600; transition: transform .16s, background-color .24s, color .24s; }
.dk-dec .ok { background: #EAF6EF; color: #1E6B42; } .dk-dec .na { background: #FBF1E1; color: #8A5A14; } .dk-dec .pp { background: #EFEEFE; color: #4B44B8; } .dk-dec .no { background: #FCECEC; color: #A3292D; }
.dk-dec .ok.chosen { background: #2F9A5E; color: #fff; }
.dk-stamp { position: absolute; top: 46%; inset-inline: 0; width: max-content; margin-inline: auto; padding: 8px 18px; border-radius: 12px; border: 3px solid #2F9A5E; color: #2F9A5E; background: rgb(255 255 255 / .9);
  font-size: 22px; font-weight: 800; transform: rotate(-8deg) scale(1.6); opacity: 0; transition: opacity .16s, transform .32s var(--ease-out); }
.dk-stamp.on { opacity: 1; transform: rotate(-8deg) scale(1); }

/* 04 · Nora (her AI touch: white with soft lights at the edges, a gradient hairline, her orb) */
.dv-ai { display: flex; flex-direction: column; padding: 16px; }
.dn-head { display: flex; align-items: center; gap: 14px; padding: 4px 4px 12px; }
.dn-head .nora { --s: 22px; transform: scale(1.7); margin: 6px; }
.dn-head b { display: block; font-size: 16px; }
.dn-head small { font-size: 12px; color: #6B717E; }
.dn-chat { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.dn-chat > * { opacity: 0; transform: translateY(8px); transition: opacity .32s var(--ease-out), transform .48s var(--ease-out); }
.dn-chat > .on { opacity: 1; transform: none; }
.dn-me { align-self: flex-end; max-width: 78%; margin: 0; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #161B25; color: #fff; font-size: 14.5px; }
.dn-think { display: flex; gap: 5px; margin: 0; padding: 12px 14px; width: max-content; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgb(183 174 255 / .45); }
.dn-think i { width: 7px; height: 7px; border-radius: 50%; background: #7C6CFF; animation: think 1s ease-in-out infinite; }
.dn-think i:nth-child(2) { animation-delay: .15s; } .dn-think i:nth-child(3) { animation-delay: .3s; }
@keyframes think { 50% { transform: translateY(-4px); opacity: .5; } }
.dn-think.gone { display: none; }
.dn-ans { margin: 0; padding: 12px 14px; border-radius: 16px 16px 4px 16px; font-size: 14.5px; line-height: 1.7;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(260deg, #EB485E, #7C6CFF 55%, #22B8E6) border-box; border: 1px solid transparent; }
.dn-ans .wd { opacity: 0; transition: opacity .2s; } .dn-ans .wd.on { opacity: 1; }
.dn-cmp { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E6E8EC; }
.dn-cmp p { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 13px; }
.dn-cmp i { height: 10px; width: calc(var(--w) * 100%); border-radius: 5px; background: #9AA0AC; transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-out) .2s; }
.dn-cmp p:nth-child(2) i { background: #161B25; }
.dn-cmp.on i { transform: none; }
.dn-cmp small { font-size: 11.5px; color: #6B717E; }
.dn-sug { position: relative; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgb(183 174 255 / .55), 0 12px 28px -18px rgb(91 75 240 / .45); }
.dn-sug p { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.dn-btns { display: flex; gap: 8px; transition: opacity .24s; }
.dn-do { position: relative; display: grid; place-items: center; height: 36px; padding-inline: 20px; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 700; isolation: isolate; overflow: hidden; background: #161B25; transition: transform .16s; }
.dn-do::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(#EB485E, #7C6CFF, #22B8E6, #EB485E); animation: ai-turn 3s linear infinite; }
.dn-do::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 8px; background: #161B25; }
@keyframes ai-turn { to { transform: rotate(1turn); } }
.dn-no { display: grid; place-items: center; height: 36px; padding-inline: 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px #D7D9DE; font-size: 13.5px; }
.dn-done { position: absolute; inset-inline-start: 14px; bottom: 12px; display: flex; align-items: center; height: 36px; font-size: 14px; font-weight: 700; color: #1E6B42; opacity: 0; transition: opacity .32s .1s; }
.dn-sug.done .dn-btns { opacity: 0; } .dn-sug.done .dn-done { opacity: 1; }
.dn-input { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: rgb(255 255 255 / .8); box-shadow: 0 0 0 1px #E6E8EC; font-size: 13.5px; color: #9AA0AC; }

/* The films set free (owner 2026-12-05: «لم يعجبني شكلها هكذا مستطيل… نجعل الأنيميشن حرة بدون إطار وتتركب»): no window, no
   screen; the platform's pieces float on the ink and assemble themselves when the film starts (each .pc flies in from its own
   side, --sx --sy --sr, in the order --o), then the film plays among them. */
.dw { max-width: 520px; padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dw-screen { overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.dv .pc { transition: opacity .5s var(--ease-out) calc(var(--o, 0) * 90ms), translate .9s var(--ease-out) calc(var(--o, 0) * 90ms), rotate .9s var(--ease-out) calc(var(--o, 0) * 90ms); }
.dv:not(.built) .pc { opacity: 0; translate: var(--sx, 0) var(--sy, 40px); rotate: var(--sr, 0deg); }
.dv.snap .pc { transition: none; }
.dv .dd-w, .dk-card, .dp-order, .dp-rows li, .dp-month, .dn-ans, .dn-cmp, .dn-sug { box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 24px 48px -22px rgb(0 0 0 / .7); }
.dd-head { margin-inline: 16px; height: 52px; border-radius: 14px; border-bottom: 0; box-shadow: 0 20px 44px -22px rgb(0 0 0 / .7); }
.dd-slot { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .16); background: repeating-linear-gradient(135deg, transparent 0 8px, rgb(255 255 255 / .03) 8px 16px); }
.dd-slot.hot { box-shadow: inset 0 0 0 2px rgb(255 255 255 / .8); }
.dd-lib { inset-inline: 16px; bottom: 6px; border-radius: 18px; border-top: 0; background: rgb(255 255 255 / .94); box-shadow: 0 24px 48px -20px rgb(0 0 0 / .7); }
.dd-lib:not(.on) { opacity: 0; transform: translateY(40px) rotate(-2deg); }
.dd-lib { transition: transform .64s var(--ease-out), opacity .32s var(--ease-out); }
.dv-toast { background: #fff; color: #161B25; }
.dp-order:not(.on) { transform: translate(0, -36px) rotate(-3deg); }
.dp-rows li { transition: opacity .32s var(--ease-out), transform .64s var(--ease-out), box-shadow .32s; }
.dp-rows li:nth-child(odd):not(.on) { transform: translate(-70px, 6px) rotate(-5deg); }
.dp-rows li:nth-child(even):not(.on) { transform: translate(70px, 6px) rotate(5deg); }
.dp-rows li.hl { box-shadow: 0 0 0 2px #fff, 0 24px 48px -22px rgb(0 0 0 / .7); }
.dp-bar { background: rgb(255 255 255 / .1); }
.dp-bar i { background: #fff; }
.dp-bar i.off { background: rgb(255 255 255 / .16); }
.dp-net { background: #fff; color: #161B25; box-shadow: 0 24px 48px -22px rgb(0 0 0 / .7); }
.dp-net small, .dp-net em { color: #6B717E; }
.dp-month:not(.on) { transform: translate(0, 60px) rotate(2deg); }
.dk-card:not(.on) { transform: translate(-90px, 24px) rotate(-5deg); }
.dk-card.out { transform: translate(90px, -10px) rotate(6deg); }
.dk-top { box-shadow: 0 20px 44px -22px rgb(0 0 0 / .7); }
.dv-ai::before { content: ""; position: absolute; inset: 0 -6% 10%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 28% at 72% 22%, rgb(255 122 140 / .22), transparent 70%), radial-gradient(42% 30% at 26% 58%, rgb(165 160 255 / .24), transparent 70%), radial-gradient(40% 26% at 64% 86%, rgb(103 212 245 / .18), transparent 70%); }
.dn-head b { color: #fff; } .dn-head small { color: #A8ACB5; }
.dn-me { background: rgb(255 255 255 / .12); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 0 0 1px rgb(255 255 255 / .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dn-me:not(.on) { transform: translate(60px, 10px) rotate(4deg); }
.dn-ans:not(.on) { transform: translate(-60px, 10px) rotate(-3deg); }
.dn-cmp:not(.on) { transform: translate(0, 40px) rotate(2deg); }
.dn-sug:not(.on) { transform: translate(0, 60px) rotate(-2deg); }
.dn-chat > * { transition: opacity .36s var(--ease-out), transform .72s var(--ease-out); }
.dn-input { background: rgb(255 255 255 / .06); color: #A8ACB5; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }

@media (prefers-reduced-motion: reduce) {
  .deep::before, .dn-think i, .dk-ring i::after, .dn-do::before { animation: none; }
  .dc-steps li.on::after { animation: none; transform: scaleX(1); }
  .dv *, .dv-cur { transition: none !important; }
}
/* the wilaya bars: the name first, at the reading side, then its bar */
.w-bars i { width: calc(var(--h) * (100% - 64px)); margin-inline-start: 64px; }
.w-bars em { inset-inline-start: -64px; width: 58px; }

/* Glass, not white on the black (owner 2026-12-05: «لماذا تستعمل الأبيض فوق الأسود؟ استعمله تأثير قلاسي»): every piece of the
   films is a pane of frosted glass with light words, over a soft light of its own (ink-blue and a little pink) that the glass
   catches. State colours keep their hue, in their dark-mode tints. */
.dw::before { content: ""; position: absolute; inset: 6% 2%; z-index: -1; pointer-events: none;
  background: radial-gradient(52% 42% at 32% 30%, rgb(64 80 118 / .9), transparent 70%), radial-gradient(42% 34% at 72% 74%, rgb(235 72 94 / .26), transparent 70%); }
.dc:nth-of-type(even) .dw::before { background: radial-gradient(52% 42% at 68% 30%, rgb(64 80 118 / .9), transparent 70%), radial-gradient(42% 34% at 28% 74%, rgb(235 72 94 / .22), transparent 70%); }
.dc[data-film="ai"] .dw::before { background: radial-gradient(46% 36% at 70% 24%, rgb(255 122 140 / .3), transparent 70%), radial-gradient(48% 38% at 28% 56%, rgb(165 160 255 / .34), transparent 70%), radial-gradient(44% 30% at 62% 88%, rgb(103 212 245 / .26), transparent 70%); }
.dv-ai::before { display: none; }
.dv { color: #fff; }
.dd-head, .dd-w, .dd-lib, .dd-t, .dd-ghost, .dv-toast, .dp-order, .dp-rows li, .dp-net, .dp-month, .dk-top, .dk-card, .dn-think, .dn-cmp, .dn-sug {
  background: linear-gradient(160deg, rgb(255 255 255 / .15), rgb(255 255 255 / .05) 60%); color: #fff;
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 0 0 1px rgb(255 255 255 / .1), 0 24px 48px -22px rgb(0 0 0 / .6); }
.dv small, .dk-rows span, .dk-top > span:first-child, .dk-q, .w-bars em, .dp-net small, .dp-net em { color: #A8ACB5; }
.dk-q b { color: #fff; }
.dd-btns .dd-add { background: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
.dd-btns .dd-save { background: rgb(255 255 255 / .18); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25); color: #fff; }
.dd-lib p { color: #fff; }
.dd-t svg, .dd-ghost svg { stroke: #fff; }
.w-fig em { color: #7CC49A; }
.w-ring circle { stroke: rgb(255 255 255 / .14); } .w-ring circle.vl { stroke: #fff; }
.w-line .ln { stroke: #fff; } .w-line .ar { fill: rgb(255 255 255 / .08); }
.w-bars i { background: #fff; } .w-bars i:nth-child(n+2) { background: rgb(255 255 255 / .6); } .w-bars i:nth-child(n+4) { background: rgb(255 255 255 / .35); }
.dd-slot.hot { box-shadow: inset 0 0 0 2px rgb(255 255 255 / .6); }
.dp-rows li b { color: #FF8A8E; }
.dp-rows li.hl { box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 0 0 1.5px rgb(255 255 255 / .7), 0 24px 48px -22px rgb(0 0 0 / .6); }
.dp-bar i { background: rgb(255 255 255 / .9); } .dp-bar i.off { background: rgb(255 255 255 / .14); }
.dp-month .mb i { background: #fff; }
.dk-meter { background: rgb(255 255 255 / .12); } .dk-meter i { background: #fff; }
.dk-st { background: rgb(255 255 255 / .1); }
.dk-av { background: rgb(255 255 255 / .14); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2); }
.dk-rows p { border-top-color: rgb(255 255 255 / .08); }
.dk-cb { background: rgb(255 255 255 / .16); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), inset 0 0 0 1px rgb(255 255 255 / .1); }
.dk-ring { background: rgb(124 196 154 / .16); color: #7CC49A; } .dk-ring i, .dk-ring i::after { background: #7CC49A; border-color: #7CC49A; } .dk-ring i::after { background: none; }
.dk-dec .ok { background: rgb(124 196 154 / .18); color: #7CC49A; } .dk-dec .na { background: rgb(226 176 98 / .16); color: #E2B062; }
.dk-dec .pp { background: rgb(165 160 255 / .16); color: #A5A0FF; } .dk-dec .no { background: rgb(255 122 128 / .14); color: #FF8A8E; }
.dk-dec .ok.chosen { background: #2F9A5E; color: #fff; }
.dk-stamp { border-color: #7CC49A; color: #7CC49A; background: rgb(14 18 25 / .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dn-think i { background: #A5A0FF; }
.dn-ans { color: #fff; background: linear-gradient(rgb(26 30 54 / .72), rgb(26 30 54 / .72)) padding-box, linear-gradient(260deg, #FF7A8C, #A5A0FF 55%, #67D4F5) border-box;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 24px 48px -22px rgb(0 0 0 / .6); }
.dn-cmp i { background: rgb(255 255 255 / .35); } .dn-cmp p:nth-child(2) i { background: #fff; }
.dn-sug { box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 0 0 1px rgb(165 160 255 / .35), 0 24px 48px -22px rgb(0 0 0 / .6); }
.dn-no { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); color: #fff; }
.dn-done { color: #7CC49A; }
.dv-toast .ok { background: #2F9A5E; color: #fff; }

/* Out of the frame (owner 2026-12-05: «كن مبدعًا، اخرج عن الإطار»): the scene is real space. Each piece sits at its own depth
   (--z), flies in from deep inside the scene when the film starts, the whole scene sways slowly and leans towards the pointer,
   and each film has its own idea: a drafting grid that ripples where a card lands, the costs breaking off the price like shards,
   the day's goal as a great ring behind the call, Nora's light at the head of her talk. */
@property --rx { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --ry { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --sway { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.dw-screen { perspective: 1400px; }
.dv { transform-style: preserve-3d; transition: --rx .7s var(--ease-out), --ry .7s var(--ease-out);
  transform: scale(var(--k, 1)) translate(240px, 280px) rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--sway))) translate(-240px, -280px);
  animation: sway 14s ease-in-out infinite alternate; }
@keyframes sway { from { --sway: -5deg; } to { --sway: 5deg; } }
.dd-grid, .dd-slot, .dp-rows, .dn-chat, .dk-card { transform-style: preserve-3d; }
.dv .pc { translate: 0 0 var(--z, 0px); }
.dv:not(.built) .pc { translate: var(--sx, 0) var(--sy, 40px) -260px; }
.dd-head { --z: 40px; } .dd-slot[data-s="1"] { --z: 60px; } .dd-slot[data-s="2"] { --z: 24px; } .dd-slot[data-s="4"] { --z: 40px; }
.dd-lib { translate: 0 0 90px; } .dd-ghost { translate: 0 0 130px; } .dv-toast { translate: 0 0 110px; }
.dp-order { translate: 0 0 60px; } .dp-bar { translate: 0 0 20px; } .dp-rows li:nth-child(odd) { translate: 0 0 44px; } .dp-rows li:nth-child(even) { translate: 0 0 12px; }
.dp-net { --z: 90px; } .dp-month { translate: 0 0 36px; }
.dk-top { --z: 30px; } .dk-card { translate: 0 0 70px; }
.dn-head { --z: 70px; } .dn-me { translate: 0 0 50px; } .dn-ans { translate: 0 0 20px; } .dn-cmp { translate: 0 0 40px; } .dn-sug { translate: 0 0 90px; } .dn-input { --z: 10px; }
/* 01 · a drafting grid under the board, and a ring of light where each card lands */
.dd-grid { position: relative; }
.dd-grid::before { content: ""; position: absolute; inset: -60px -80px; translate: 0 0 -60px; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); }
.dd-slot.in::after { content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .7); animation: land .9s var(--ease-out) forwards; }
@keyframes land { to { transform: scale(1.14); opacity: 0; } }
/* 02 · the costs break off the price like shards; what stays is the net */
.dp-bar { overflow: visible; background: none; border-radius: 0; gap: 2px; }
.dp-bar i { border-radius: 6px; box-shadow: none; transition: transform 1s var(--ease-out), opacity .8s var(--ease-out) .2s, background-color .3s; }
.dp-bar i.off { opacity: 0; background: rgb(255 255 255 / .5); }
.dp-bar .s1.off { transform: translate(-30px, 120px) rotate(-22deg); } .dp-bar .s2.off { transform: translate(14px, -80px) rotate(18deg); }
.dp-bar .s3.off { transform: translate(-24px, 140px) rotate(28deg); } .dp-bar .s4.off { transform: translate(30px, -70px) rotate(-16deg); } .dp-bar .s5.off { transform: translate(0, 100px) rotate(34deg); }
.dp-net p b { font-size: 44px; letter-spacing: -.01em; }
/* 03 · the queue behind the call (owner 2026-12-05: the ring dropped): the next orders wait as glass cards stacked into the
   scene; when one is confirmed and leaves, the whole stack steps forward one place */
.dk-stack { position: absolute; inset-inline: 28px; top: 92px; height: 380px; transform-style: preserve-3d; pointer-events: none; }
.dk-stack i { position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(160deg, rgb(255 255 255 / .14), rgb(255 255 255 / .05) 60%);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / .22), inset 0 0 0 1px rgb(255 255 255 / .14); transition: translate .7s var(--ease-out), opacity .7s var(--ease-out); }
.dk-stack i:nth-child(1) { translate: 0 18px 20px; opacity: .9; } .dk-stack i:nth-child(2) { translate: 0 36px -30px; opacity: .6; } .dk-stack i:nth-child(3) { translate: 0 54px -80px; opacity: .35; }
.dk-stack.adv i:nth-child(1) { translate: 0 0 70px; opacity: 0; } .dk-stack.adv i:nth-child(2) { translate: 0 18px 20px; opacity: .9; } .dk-stack.adv i:nth-child(3) { translate: 0 36px -30px; opacity: .6; }
/* 04 · Nora's light at the head of her talk */
.dn-head { flex-direction: column; text-align: center; gap: 6px; padding-bottom: 8px; }
.dn-head .nora { transform: scale(2.4); margin: 30px auto 30px; overflow: visible; background: none; box-shadow: none; } /* open, no shell (owner 2026-12-05: «اجعلها بدون دائرة، اجعلها مفتوحة») */
.dn-head .nora::after { display: none; }
.dn-head .nora .cloud { inset: -46%; filter: blur(4px); opacity: .95; }
.dn-head .nora .eyes i { box-shadow: 0 0 3px rgb(255 255 255 / .9), 0 0 6px rgb(165 160 255 / .8); }
@media (prefers-reduced-motion: reduce) { .dv { animation: none; } .dd-slot.in::after { display: none; } }

/* From the white into the ink (owner 2026-12-05: «الانتقال… مباشر، أظنه مزعج» and «لا تجعله gradient… أضف له شيء… element فوقه»):
   the ink is a great sheet with round shoulders rising over the white page, and a glass bar sits right on the seam, half on each,
   holding the section's four chapters as links; the chapter being read lights up in it */
.deep { border-radius: 28px 28px 0 0; padding-top: 72px; }
@media (min-width: 1024px) { .deep { border-radius: 48px 48px 0 0; padding-top: 112px; } }
.seam { position: relative; z-index: 6; height: 0; display: flex; align-items: flex-start; justify-content: center; padding-inline: 16px; }
.deep-index { display: flex; gap: 2px; max-width: 100%; padding: 5px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; translate: 0 -50%;
  background: linear-gradient(rgb(255 255 255 / .08), rgb(255 255 255 / .02)), rgb(22 27 37 / .74); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 0 0 1px rgb(255 255 255 / .1), 0 22px 44px -18px rgb(14 18 25 / .45); }
.deep-index::-webkit-scrollbar { display: none; }
.deep-index a { display: flex; align-items: center; gap: 8px; min-height: 40px; padding-inline: 12px 16px; border-radius: 999px; white-space: nowrap; text-decoration: none;
  font-size: 14px; font-weight: 500; color: #C9CCD3; transition: background-color .24s var(--ease-out), color .24s var(--ease-out); }
.deep-index a .u-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 11px; background: rgb(255 255 255 / .08); }
.deep-index a:hover { color: #fff; background: rgb(255 255 255 / .06); }
.deep-index a.on { color: #fff; background: rgb(255 255 255 / .14); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2); }
.deep-index a.on .u-n { background: #fff; color: #161B25; }
.deep-index a:focus-visible { outline: 2px solid rgb(255 255 255 / .7); outline-offset: 2px; }
@media (max-width: 520px) { .deep-index a { gap: 6px; padding-inline: 5px 9px; font-size: 13px; } .deep-index a .u-n { width: 22px; height: 22px; } }
.dc { scroll-margin-top: 96px; }
.feat { padding-bottom: 64px; }
@media (min-width: 1024px) { .feat { padding-bottom: 88px; } }

