/* Celvo — the main site (decision 57). Dark and cinematic: near-black with a green glow
   and grain, one glowing line a purchase travels along, large thin numerals, outline pills.
   Static, no framework. Motion is transform and opacity only (the hero's sphere is moved by
   script along its path) and stops for visitors who ask for less motion. */

:root {
  --bg-0: #040908;
  --bg-1: #08110F;
  --bg-2: #0D1917;
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .14);
  --text: #EAF3F0;
  --text-2: #A3B6B0;
  --text-3: #73877F;
  --mint: #3FE3BF;
  --mint-2: #19B3A0;
  --deep: #0C5A4B;
  --silver: #C8D1CE;
  --ink: #0F2236;
  --ink-2: #34485F;
  --muted: #5B6B80;
  --paper: #FFFFFF;
  --paper-2: #F3F6F8;
  --paper-line: #E2E8EE;
  --radius: 16px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Outfit', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg-0); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text);
  background: var(--bg-0); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::after { /* film grain, fixed and inert */
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-family: var(--display); }
p { margin: 0; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.4; }
.num { font-family: var(--mono); font-feature-settings: 'tnum'; direction: ltr; unicode-bidi: isolate; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg-0); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

/* ── Buttons: pills ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px;
  padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 500;
  font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, border-color .25s, box-shadow .3s var(--ease), opacity .3s, color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
[dir="rtl"] .btn svg.arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg.arrow { transform: scaleX(-1) translateX(3px); }
.btn-primary { background: var(--mint); color: #03201A; box-shadow: 0 0 0 1px rgba(63, 227, 191, .4), 0 10px 40px -10px rgba(63, 227, 191, .55); }
.btn-primary:hover { background: #6CF0D3; box-shadow: 0 0 0 1px rgba(63, 227, 191, .6), 0 14px 50px -10px rgba(63, 227, 191, .75); }
.btn-ghost { border-color: rgba(63, 227, 191, .35); color: var(--text); background: rgba(63, 227, 191, .04); }
.btn-ghost:hover { border-color: rgba(63, 227, 191, .7); background: rgba(63, 227, 191, .09); }
.btn-ghost svg { color: var(--mint); }
.btn.swap { opacity: 0; }

/* ── Header ──────────────────────────────────────── */
.site-head { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background-color .4s, box-shadow .4s; }
.site-head .bar { display: flex; align-items: center; gap: 28px; height: 74px; }
.site-head.scrolled { background: rgba(4, 9, 8, .72); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 23px; letter-spacing: .01em; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 28px; margin-inline-start: 14px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--text-2); transition: color .2s; }
.nav a:hover { color: var(--text); }
.head-end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.head-end .lang, .head-end .signin { text-decoration: none; font-size: 15px; color: var(--text-2); padding: 8px 12px; transition: color .2s; }
.head-end .lang:hover, .head-end .signin:hover { color: var(--text); }
.head-end .btn { min-height: 42px; padding: 8px 18px; font-size: 15px; }

/* ── Hero: the glowing line ─────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: max(100dvh, 760px);
  padding: 118px 0 48px; display: flex; flex-direction: column; text-align: center;
  background:
    radial-gradient(900px 520px at 50% 72%, rgba(12, 90, 75, .55), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgba(200, 209, 206, .16), transparent 70%),
    var(--bg-0);
}
.hero > .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); font-size: 14px; color: var(--text-2); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.hero h1 { margin: 24px auto 0; max-width: 21ch; font-size: clamp(38px, 5.4vw, 76px); font-weight: 200; letter-spacing: -.035em; line-height: 1.02; }
:lang(ar) .hero h1 { font-weight: 300; letter-spacing: 0; line-height: 1.3; max-width: 19ch; }
.hero h1 .hl { color: var(--mint); text-shadow: 0 0 40px rgba(63, 227, 191, .35); }
.flow { position: relative; flex: 1; min-height: 250px; margin: 8px 0 4px; }
.flow svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
[dir="rtl"] .flow svg { transform: scaleX(-1); }
.flow .glow { stroke: url(#tube); stroke-width: 18; fill: none; filter: blur(14px); opacity: .65; }
.flow .tube { stroke: url(#tube); stroke-width: 7; fill: none; stroke-linecap: round; }
.flow .sheen { stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; fill: none; stroke-linecap: round; transform: translateY(-2px); }
.flow .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sphere { position: absolute; left: 0; top: 0; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFFFFF 0%, #DFFBF3 22%, #7EE9CF 52%, #1E8E77 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 30px 6px rgba(63, 227, 191, .55), 0 10px 24px rgba(0, 0, 0, .5);
  opacity: 0; transition: opacity .6s; will-change: transform; }
.flow.ready .sphere { opacity: 1; }
.marker { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; transition: opacity .6s; }
.marker i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-0); border: 2px solid rgba(63, 227, 191, .45); transition: background-color .4s, box-shadow .4s, border-color .4s; }
.marker span { position: absolute; left: 0; top: 18px; transform: translateX(-50%); white-space: nowrap; font-size: 14px; color: var(--text-3); text-align: center; line-height: 1.35; transition: color .4s, opacity .4s; }
.marker.up span { top: auto; bottom: 18px; }
.marker small { display: block; font-family: var(--display); font-size: 11px; letter-spacing: .14em; color: var(--text-3); }
.marker.lit i { background: var(--mint); border-color: #CFFFF1; box-shadow: 0 0 16px 3px rgba(63, 227, 191, .7); }
.marker.lit span { color: var(--text); }
.flow:not(.ready) .marker { opacity: 0; }
.hero .lede { margin: 0 auto; max-width: 60ch; font-size: clamp(16px, 1.4vw, 18px); color: var(--text-2); }
.hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero .fine { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--text-3); }
.hero .fine span { display: inline-flex; align-items: center; gap: 7px; }
.hero .fine svg { width: 15px; height: 15px; color: var(--mint); }

/* ── Strip of modules ───────────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--bg-1); color: var(--text-2); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 56s linear infinite; }
[dir="rtl"] .marquee { animation-name: marquee-rtl; }
.strip:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 22px; padding: 20px 24px; font-size: 15px; white-space: nowrap; }
.marquee li::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ── Sections ───────────────────────────────────── */
main { overflow-x: clip; } /* the glows reach past the edges; the page never scrolls sideways */
section { position: relative; }
.sec { padding: 120px 0; }
.sec-head { max-width: 760px; }
.sec-head .tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); font-family: var(--display); }
:lang(ar) .sec-head .tag { letter-spacing: 0; font-family: var(--font); font-size: 14px; }
.sec-head .tag::before { content: ''; width: 22px; height: 1px; background: var(--mint); }
.sec-head h2 { margin-top: 14px; font-size: clamp(32px, 4vw, 54px); font-weight: 300; letter-spacing: -.025em; }
:lang(ar) .sec-head h2 { letter-spacing: 0; font-weight: 400; }
.sec-head p { margin-top: 18px; font-size: 18px; color: var(--text-2); max-width: 62ch; }

/* Watch it run: the approval window on its own stage */
.run { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.run-points { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.run-points li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.run-points .n { font-family: var(--display); font-weight: 200; font-size: 34px; line-height: 1; color: var(--mint); }
.run-points b { display: block; font-weight: 500; }
.run-points span { color: var(--text-2); font-size: 15.5px; }
.scene { position: relative; perspective: 1600px; }
.scene::before { content: ''; position: absolute; inset: 10% -6% -10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(63, 227, 191, .22), transparent); filter: blur(20px); }
.window { position: relative; z-index: 1; border-radius: 18px; overflow: hidden; color: var(--ink); background: var(--paper);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1); transform: rotateY(-6deg) rotateX(2deg); transition: transform 1.2s var(--ease); }
[dir="rtl"] .window { transform: rotateY(6deg) rotateX(2deg); }
.scene:hover .window { transform: none; }
.win-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--paper-line); }
.win-top i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCE4; }
.win-top .path { margin-inline-start: 10px; font-size: 12.5px; color: var(--muted); }
.win-body { display: grid; grid-template-columns: 1.15fr 1fr; }
.req { padding: 20px; border-inline-end: 1px solid #EEF2F5; }
.req .kicker { font-size: 12px; font-weight: 600; color: #0B6E69; }
.req h3 { margin-top: 4px; font-size: 17px; font-family: var(--font); }
.req .meta { margin-top: 2px; font-size: 13px; color: var(--muted); }
.lines { margin: 14px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--paper-line); }
.lines li span:first-child { color: var(--ink-2); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--paper-line); font-weight: 700; }
.steps { position: relative; padding: 20px; background: #FBFCFD; }
.steps .kicker { font-size: 12px; font-weight: 600; color: var(--muted); }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; margin-top: 12px; }
.step .tick { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--paper-line); background: #fff; transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.step .tick svg { position: absolute; inset: 4px; width: 16px; height: 16px; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.step .who { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.step .who small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.step.on .tick { background: #12A08C; border-color: #12A08C; }
.step.on .tick svg { opacity: 1; transform: none; }
.step.wait .tick { border-color: #12A08C; animation: wait 1.2s ease-in-out infinite; }
@keyframes wait { 50% { transform: scale(1.12); } }
.stamp { position: absolute; inset-inline-end: 22px; bottom: 22px; padding: 6px 14px; border: 2px solid #1E7F4F; border-radius: 8px; color: #1E7F4F; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .9); opacity: 0; transform: rotate(-8deg) scale(1.6); transition: opacity .3s, transform .5s var(--ease); }
:lang(ar) .stamp { letter-spacing: 0; }
.stamp.on { opacity: 1; transform: rotate(-8deg) scale(1); }
.po { position: relative; z-index: 2; margin: -16px 0 0; margin-inline-start: 36px; width: min(340px, 82%); padding: 16px 18px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); border: 1px solid var(--paper-line); opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.po.on { opacity: 1; transform: none; }
.po .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.po .badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(59, 170, 92, .12); color: #1E7F4F; }
.po .num-big { font-family: var(--mono); font-weight: 600; font-size: 15px; direction: ltr; }
.po .to { margin-top: 4px; font-size: 13px; color: var(--muted); }
.po .bar { position: relative; height: 8px; margin-top: 14px; border-radius: 999px; background: #EEF2F5; overflow: hidden; }
.po .bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #12A08C, #3FE3BF); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
[dir="rtl"] .po .bar i { transform-origin: right; }
.po .bar.on i { transform: scaleX(.86); }
.po .bar.done i { transform: scaleX(1); }
.po .stage { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.toast { position: absolute; z-index: 3; inset-inline-end: 24px; top: -26px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(13, 25, 23, .94); color: var(--text); font-size: 13px; border: 1px solid rgba(63, 227, 191, .3); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-10px); transition: opacity .5s, transform .6s var(--ease); }
.toast.on { opacity: 1; transform: none; }
.toast .live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

/* The cycle in six, with large thin numerals */
.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 64px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.stage-card { position: relative; padding: 28px 22px 8px; border-inline-start: 1px solid var(--line); }
.stage-card:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stage-card::before { content: ''; position: absolute; top: -1px; inset-inline-start: 0; width: 0; height: 1px; background: var(--mint); box-shadow: 0 0 10px var(--mint); transition: width 1s var(--ease); transition-delay: calc(var(--i) * 160ms + 200ms); }
.stages.in .stage-card::before { width: 100%; }
.stage-card .n { font-family: var(--display); font-weight: 200; font-size: 54px; line-height: 1; color: var(--text); }
.stage-card .icon { margin-top: 20px; width: 26px; height: 26px; color: var(--mint); }
.stage-card h3 { margin-top: 12px; font-size: 19px; font-weight: 500; font-family: var(--font); }
.stage-card p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }

/* Bento of glass tiles */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 60px; }
.tile { position: relative; overflow: hidden; padding: 32px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--glass-2), var(--glass)); border: 1px solid var(--line); isolation: isolate; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(63, 227, 191, .10), transparent 60%); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 22px; font-weight: 400; }
:lang(ar) .tile h3 { font-weight: 500; font-family: var(--font); }
.tile p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; max-width: 46ch; }
.t-action { grid-column: span 4; }
.t-rules, .t-docs, .t-live, .t-secure { grid-column: span 2; }
.t-reports, .t-phone { grid-column: span 3; }

.inbox { position: relative; margin-top: 26px; height: 236px; }
.inbox .item { position: absolute; inset-inline: 0; display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; height: 64px; padding: 0 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: transform .9s var(--ease), background-color .4s, border-color .4s, box-shadow .4s; }
.inbox .item .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--mint); background: rgba(63, 227, 191, .08); border: 1px solid rgba(63, 227, 191, .25); }
.inbox .item .ic svg { width: 20px; height: 20px; }
.inbox .item b { display: block; font-size: 15px; font-weight: 500; }
.inbox .item small { color: var(--text-3); font-size: 13px; }
.inbox .item .due { font-size: 12.5px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.inbox .item.top { background: rgba(63, 227, 191, .07); border-color: rgba(63, 227, 191, .4); box-shadow: 0 0 30px -10px rgba(63, 227, 191, .5); }
.inbox .item.top .due { border-color: rgba(63, 227, 191, .5); color: var(--mint); }

.chips { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.chip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.chip b { font-weight: 500; color: var(--text); }
.chip .arrow-s { color: var(--mint); }
[dir="rtl"] .chip .arrow-s { transform: scaleX(-1); display: inline-block; }
.chip .k { font-family: var(--mono); font-size: 12.5px; color: var(--mint); direction: ltr; unicode-bidi: isolate; }

.paper { position: relative; margin-top: 22px; height: 210px; }
.sheet { position: absolute; inset: 0; padding: 16px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); font-size: 12px; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.sheet .hd { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-weight: 700; font-size: 13px; }
.sheet .rows i { display: block; height: 7px; margin: 9px 0; border-radius: 4px; background: #EEF2F5; }
.sheet .rows i:nth-child(2) { width: 82%; } .sheet .rows i:nth-child(3) { width: 64%; }
.sheet .sig { position: absolute; inset-inline: 16px; bottom: 14px; display: flex; gap: 8px; color: var(--muted); font-size: 11px; }
.sheet .sig span { flex: 1; padding-top: 6px; border-top: 1px solid var(--paper-line); text-align: center; }
.sheet.en { opacity: 0; transform: translateY(8px) rotate(1.5deg); }
.paper.flip .sheet.ar { opacity: 0; transform: translateY(-8px) rotate(-1.5deg); }
.paper.flip .sheet.en { opacity: 1; transform: none; }

.people { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.av { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--bg-0); font-weight: 700; font-size: 15px; background: var(--c); }
.av::after { content: ''; position: absolute; inset-inline-end: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); border: 2px solid var(--bg-1); }
.wire { position: relative; flex: 1; height: 2px; background: rgba(63, 227, 191, .18); overflow: hidden; border-radius: 2px; }
.wire::after { content: ''; position: absolute; inset-block: 0; width: 30%; background: linear-gradient(90deg, transparent, var(--mint), transparent); animation: travel 1.8s var(--ease) infinite; }
[dir="rtl"] .wire::after { animation-direction: reverse; }
@keyframes travel { from { transform: translateX(-120%); } to { transform: translateX(380%); } }
.live-note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(63, 227, 191, .3); color: var(--mint); font-size: 13px; }
.live-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.lock { display: flex; gap: 12px; margin-top: 24px; }
.lock .box { flex: 1; padding: 16px 12px; border-radius: 14px; border: 1px dashed var(--line-2); text-align: center; font-size: 13px; color: var(--text-2); }
.lock .box b { display: block; color: var(--text); font-size: 14px; font-weight: 500; }
.lock svg { width: 22px; height: 22px; margin: 0 auto 8px; color: var(--mint); }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 30px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: 100%; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, rgba(63, 227, 191, .95), rgba(12, 90, 75, .35)); box-shadow: 0 0 20px -6px rgba(63, 227, 191, .6); transform: scaleY(.06); transform-origin: bottom; transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.in .bars i, .bars.in i { transform: scaleY(var(--h)); }

.phone-wrap { display: flex; gap: 28px; align-items: center; }
.phone { flex: none; width: 150px; height: 250px; padding: 9px; border-radius: 30px; background: #0A1210; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 40px -10px rgba(63, 227, 191, .35); }
.phone .scr { height: 100%; border-radius: 22px; background: #fff; padding: 14px 10px; overflow: hidden; }
.phone .scr i { display: block; height: 28px; margin-bottom: 8px; border-radius: 9px; background: #F3F6F8; border: 1px solid #E8EDF1; }
.phone .scr i:first-child { height: 46px; background: linear-gradient(135deg, #12A08C, #3FE3BF); border: 0; }

/* Three steps, one large thin numeral each */
.start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 60px 0 0; padding: 0; list-style: none; }
.start li { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.start li::before { content: ''; position: absolute; top: -1px; inset-inline-start: 0; width: 0; height: 1px; background: var(--mint); box-shadow: 0 0 10px var(--mint); transition: width 1.4s var(--ease); transition-delay: calc(var(--i) * 250ms); }
.start.in li::before { width: 100%; }
.start .big { font-family: var(--display); font-weight: 200; font-size: 84px; line-height: 1; color: var(--text); }
.start h3 { margin-top: 14px; font-size: 21px; font-weight: 500; font-family: var(--font); }
.start p { margin-top: 8px; color: var(--text-2); }

/* The offer as a poster: one line, one sphere, one number */
.poster { position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 130px; text-align: center; border-top: 1px solid var(--line);
  background: radial-gradient(800px 500px at 30% 85%, rgba(12, 90, 75, .6), transparent 70%), radial-gradient(600px 420px at 100% 100%, rgba(200, 209, 206, .14), transparent 70%), var(--bg-0); }
.poster svg.curve { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
[dir="rtl"] .poster svg.curve { transform: scaleX(-1); }
.poster .curve .glow { stroke: url(#tube2); stroke-width: 16; fill: none; filter: blur(14px); opacity: .6; }
.poster .curve .tube { stroke: url(#tube2); stroke-width: 6; fill: none; stroke-linecap: round; }
.poster .curve .sheen { stroke: rgba(255, 255, 255, .45); stroke-width: 1.4; fill: none; transform: translateY(-2px); }
.poster .curve .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); }
.poster.in .curve .draw { stroke-dashoffset: 0; }
.poster .orb { opacity: 0; transition: opacity .8s 2s; }
.poster.in .orb { opacity: 1; }
.poster .label { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; color: var(--text-2); }
.poster .label svg { width: 20px; height: 20px; color: var(--mint); }
[dir="rtl"] .poster .label svg { transform: scaleX(-1); }
.poster .big { margin-top: 6px; font-family: var(--display); font-weight: 200; font-size: clamp(120px, 20vw, 260px); line-height: .95; letter-spacing: -.04em; direction: ltr; }
.poster h2 { margin: 34px auto 0; max-width: 30ch; font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; font-family: var(--font); }
.poster p { margin: 14px auto 0; max-width: 58ch; color: var(--text-2); }
.poster .btn { margin-top: 34px; }

/* Prices */
.toggle { display: inline-flex; margin-top: 34px; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.toggle button { min-height: 42px; padding: 8px 22px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 500; font-size: 15px; color: var(--text-2); cursor: pointer; transition: color .2s, background-color .3s var(--ease); }
.toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg-0); }
.toggle .save { margin-inline-start: 8px; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: rgba(63, 227, 191, .16); color: var(--mint); }
.toggle button[aria-pressed="true"] .save { background: rgba(12, 90, 75, .15); color: var(--deep); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: linear-gradient(180deg, var(--glass-2), var(--glass)); border: 1px solid var(--line); }
.plan.pick { border-color: rgba(63, 227, 191, .55); box-shadow: 0 0 0 1px rgba(63, 227, 191, .2), 0 30px 70px -30px rgba(63, 227, 191, .45); background: linear-gradient(180deg, rgba(63, 227, 191, .09), var(--glass)); }
.plan .pick-tag { position: absolute; top: -13px; inset-inline-start: 24px; padding: 3px 12px; border-radius: 999px; background: var(--mint); color: #03201A; font-size: 12.5px; font-weight: 600; }
.plan h3 { font-size: 21px; font-weight: 400; }
.plan .seats { margin-top: 4px; color: var(--text-2); font-size: 14.5px; }
.plan .price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-height: 58px; }
.plan .price .amt { font-family: var(--display); font-size: 46px; font-weight: 200; letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate; transition: opacity .25s, transform .35s var(--ease); }
.plan .price .amt.flip { opacity: 0; transform: translateY(-8px); }
.plan .price .per, .plan .price .from { color: var(--text-3); font-size: 14px; }
.plan .first { margin-top: 4px; min-height: 22px; font-size: 13.5px; color: var(--mint); }
.plan ul { margin: 20px 0 26px; padding: 0; list-style: none; font-size: 14.5px; color: var(--text-2); flex: 1; }
.plan li { display: flex; gap: 10px; padding: 6px 0; }
.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 5px; color: var(--mint); }
.plan .btn { width: 100%; }
.price-note { margin-top: 24px; font-size: 14.5px; color: var(--text-3); }

/* FAQ */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color .3s, background-color .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 10px; right: 10px; top: 16px; height: 1px; background: var(--text); transition: transform .35s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { border-color: rgba(63, 227, 191, .6); background: rgba(63, 227, 191, .08); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .ans { padding: 0 0 26px; color: var(--text-2); max-width: 72ch; }
.faq details[open] .ans { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* Closing band */
.close-band { position: relative; overflow: hidden; isolation: isolate; padding: 130px 0; text-align: center; border-top: 1px solid var(--line);
  background: radial-gradient(700px 420px at 50% 100%, rgba(12, 90, 75, .6), transparent 70%), var(--bg-0); }
.close-band img.mark { width: 84px; height: 84px; margin: 0 auto 28px; filter: drop-shadow(0 0 24px rgba(63, 227, 191, .35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(4deg); } }
.close-band h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 200; letter-spacing: -.03em; max-width: 20ch; margin-inline: auto; }
:lang(ar) .close-band h2 { font-weight: 300; letter-spacing: 0; }
.close-band p { margin: 20px auto 0; max-width: 56ch; color: var(--text-2); font-size: 18px; }
.close-band .ctas { justify-content: center; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

footer { color: var(--text-3); border-top: 1px solid var(--line); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; padding-block: 36px; }
footer .brand { color: var(--text); font-size: 20px; }
footer .brand img { width: 28px; height: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-inline-start: auto; }
footer a { text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--text); }

/* ── Terms and privacy (site/legal.mjs): one readable column, no motion ── */
.legal { padding: 140px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 300; letter-spacing: -.025em; }
.legal .updated { margin-top: 14px; color: var(--text-3); font-size: 15px; }
.legal .lead { margin-top: 28px; font-size: 18.5px; color: var(--text); }
.legal p, .legal ul { margin: 14px 0 0; color: var(--text-2); }
.legal ul { padding-inline-start: 1.3em; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--mint-2); }
.legal a { color: var(--mint); text-underline-offset: 3px; }
.legal .ltr { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.legal .toc { margin-top: 40px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.legal .toc h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); font-weight: 400; }
.legal .toc ol { margin: 12px 0 0; padding-inline-start: 1.4em; columns: 2; column-gap: 32px; font-size: 15.5px; }
.legal .toc li { break-inside: avoid; margin: 0 0 6px; }
.legal .toc a { color: var(--text-2); text-decoration: none; }
.legal .toc a:hover { color: var(--text); }
.legal section { margin-top: 48px; scroll-margin-top: 90px; }
.legal section h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 400; color: var(--text); }
.legal section h2 .n { font-family: var(--mono); font-size: 14px; color: var(--mint); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ── Smaller screens ─────────────────────────────── */
@media (max-width: 1080px) {
  .nav { display: none; }
  .run { grid-template-columns: 1fr; gap: 56px; }
  .scene { max-width: 640px; }
  .window, [dir="rtl"] .window { transform: none; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage-card:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .stage-card:nth-child(n+4) { border-top: 1px solid var(--line); }
  .t-action, .t-reports, .t-phone { grid-column: span 6; }
  .t-rules, .t-docs, .t-live, .t-secure { grid-column: span 3; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .site-head .bar { gap: 10px; height: 64px; }
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
  .head-end .signin { display: none; }
  .head-end .btn { padding: 7px 14px; font-size: 14px; min-height: 40px; }
  .hero { padding: 108px 0 56px; min-height: 0; }
  .flow { min-height: 230px; flex: none; }
  .marker span { font-size: 12.5px; }
  .marker:not(.lit) span { opacity: 0; }
  .marker small { display: none; }
  .win-body { grid-template-columns: 1fr; }
  .req { border-inline-end: 0; border-bottom: 1px solid #EEF2F5; }
  .po { margin-inline-start: 12px; }
  .toast { inset-inline-end: 6px; }
  .stamp { bottom: auto; top: 14px; }
  .sec { padding: 84px 0; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-card, .stage-card:nth-child(4) { padding-inline: 14px; border-inline-start: 1px solid var(--line); }
  .stage-card:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .stage-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stage-card .n { font-size: 42px; }
  .bento { gap: 14px; }
  .t-rules, .t-docs, .t-live, .t-secure { grid-column: span 6; }
  .tile { padding: 24px; }
  .start { grid-template-columns: 1fr; }
  .start .big { font-size: 64px; }
  .poster { padding: 100px 0 90px; }
  .plans { grid-template-columns: 1fr; }
  .phone-wrap { flex-direction: column; align-items: flex-start; }
  footer nav { margin-inline-start: 0; }
  .legal { padding: 108px 0 72px; }
  .legal .toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul + ul { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; }
  .rv { opacity: 1; transform: none; }
}
