/* Arvix showcase — loud and flat. Brand colours and Tajawal kept from the app. */
:root {
  --green: #12c887;
  --deep: #063a28;
  --black: #050806;
  --ink: #050806;
  --cream: #e7e8e3;
  --silver: #c9ced3;
  --white: #f4fff9;
  --soft: #3b4a42;

  --f: 'Tajawal', system-ui, sans-serif;
  --t-d1: clamp(88px, 14vw, 230px);
  --t-d2: clamp(46px, 7.4vw, 124px);
  --t-d3: clamp(26px, 3.2vw, 52px);
  --t-body: 19px;
  --t-small: 16px;

  --m: clamp(16px, 3vw, 44px);
  --r: 0px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--ink);
  font-family: var(--f); font-size: var(--t-body); line-height: 1.55; font-weight: 500;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--black); color: var(--green); }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
[data-ink="light"] :focus-visible, .try :focus-visible, .cta :focus-visible { outline-color: var(--green); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px;
  font-weight: 800; font-size: 19px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(1px) scale(.97); }
.btn-ink { background: var(--black); color: var(--green); }
.btn-ink:hover { background: var(--deep); color: var(--white); }
.btn-green { background: var(--green); color: var(--black); }
.btn-green:hover { background: var(--white); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: var(--t-small); }
.link-ink { font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.link-ink:hover { text-decoration-color: var(--white); }

/* ---------- bar (takes the ink of the chapter beneath) ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--m); color: var(--black);
  transition: color .3s, transform .45s var(--ease);
}
.bar.is-hidden { transform: translateY(-110%); }
.bar-mark img { width: 112px; height: auto; transition: filter .3s; }
.bar-links { display: flex; gap: 26px; margin-inline-start: auto; font-size: var(--t-small); font-weight: 700; }
.bar-links a { text-decoration: none; position: relative; }
.bar-links a::after { content: ''; position: absolute; inset: auto 0 -4px 0; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.bar-links a:hover::after { transform: scaleX(1); }
.bar-cta { min-height: 46px; padding: 0 22px; font-size: 16px; transition: background-color .3s, color .3s, transform .25s var(--ease); }
.bar.on-light { color: var(--white); }
.bar.on-light .bar-cta { background: var(--green); color: var(--black); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--green); color: var(--black);
  padding: calc(15svh + 20px) var(--m) 0; overflow: clip;
}
.hero-title {
  font-size: var(--t-d1); font-weight: 900; line-height: .9; letter-spacing: -.02em;
  display: flex; flex-direction: column; position: relative; z-index: 2;
}
.hl { display: block; }
.hl-a { color: var(--black); }
.hl-b > span { display: inline-block; background: var(--black); color: var(--green); padding: 0 .12em .2em; margin-top: .06em; line-height: 1; }
.hero-foot {
  position: absolute; z-index: 3; inset-inline-start: var(--m); bottom: 8svh; width: min(34vw, 470px);
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.hero-sub { font-size: var(--t-body); line-height: 1.5; color: var(--black); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-shot {
  position: absolute; z-index: 1; inset-inline-end: -5vw; top: 30svh; width: min(58vw, 1000px);
  transform: rotate(-5deg); transform-origin: 30% 80%;
}
.hero-shot img { width: 100%; }

/* ---------- scene: the screen opens ---------- */
.scene-open { background: var(--black); color: var(--white); }
.scene-open .scene-stage { min-height: 100svh; padding: 18svh var(--m) var(--m); display: grid; gap: 40px; align-content: start; }
.open-title { font-size: var(--t-d2); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.open-pic { overflow: clip; }
.open-pic video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top right; background: #050806; }
.open-cap {
  justify-self: start; max-width: 640px; background: var(--green); color: var(--black);
  font-weight: 800; font-size: var(--t-body); padding: 16px 22px;
}
.scene-open.is-live .scene-stage { display: block; padding: 0; }
.scene-open.is-live .open-title { position: absolute; inset: 20svh var(--m) auto; z-index: 1; }
.scene-open.is-live .open-pic { position: absolute; inset: 0; z-index: 2; clip-path: inset(46% 30% 8% 30%); }
.scene-open.is-live .open-cap { position: absolute; z-index: 3; inset-inline-start: var(--m); bottom: var(--m); }

/* ---------- versions ---------- */
.versions { display: grid; grid-template-columns: 1fr 1fr; }
.ver { position: relative; padding: 140px var(--m) 0; display: flex; flex-direction: column; gap: 56px; overflow: clip; min-height: 100svh; }
.ver-web { background: var(--green); }
.ver-desk { background: var(--cream); }
.ver-text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; max-width: 560px; }
.ver-h { font-size: var(--t-d2); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.ver-p { font-size: var(--t-body); font-weight: 700; max-width: 34em; }
.ver-list { display: grid; gap: 8px; font-size: var(--t-body); margin-bottom: 8px; }
.ver-list li { display: flex; gap: 12px; align-items: baseline; }
.ver-list li::before { content: ''; flex: none; width: 12px; height: 12px; background: var(--black); transform: translateY(-1px); }
.ver-pic { margin-top: auto; margin-inline-end: calc(var(--m) * -2.5); background: #0b0f0d; transform-origin: 50% 100%; }
.tilt-r { transform: rotate(-3.5deg) translateY(30px); }
.tilt-l { transform: rotate(3.5deg) translateY(30px); }
.win-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #161b18; color: #a9b3ad; font-size: 14px; direction: ltr; }
.win-bar .dots { display: flex; gap: 7px; } .win-bar .dots i { width: 12px; height: 12px; border-radius: 50%; background: #3a423e; }
.win-bar .url { flex: 1; background: #0b0f0d; border-radius: 999px; padding: 4px 14px; color: #dfe6e2; }
.win-bar-desk { justify-content: space-between; }
.win-title { display: flex; gap: 8px; align-items: center; color: #dfe6e2; }
.win-ctl { display: flex; gap: 22px; font-style: normal; } .win-ctl i { font-style: normal; }

/* ---------- try (headline you can type) ---------- */
.try { background: var(--black); color: var(--white); min-height: 92svh; padding: 160px var(--m) 140px; }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.try-label { display: block; font-size: var(--t-d3); font-weight: 800; color: var(--green); margin-bottom: 8px; }
.try-line { position: relative; }
.try-input {
  width: 100%; border: 0; background: transparent; outline: 0; padding: 0; color: var(--white);
  font: 900 clamp(56px, 9vw, 150px)/1.15 var(--f); letter-spacing: -.02em; caret-color: transparent;
}
.try-mirror { position: absolute; visibility: hidden; white-space: pre; font: 900 clamp(56px, 9vw, 150px)/1.15 var(--f); letter-spacing: -.02em; }
.try-caret { position: absolute; top: .18em; width: .08em; height: .9em; background: var(--green); font-size: clamp(56px, 9vw, 150px); animation: blink 1s steps(1) infinite; right: 0; }
@keyframes blink { 50% { opacity: 0; } }
.try-results { margin-top: 40px; max-width: 620px; display: grid; gap: 8px; min-height: 236px; }
.res {
  display: grid; grid-template-columns: 52px 1fr auto auto; gap: 16px; align-items: center;
  background: #121714; padding: 12px 14px; border-radius: 14px; font-size: var(--t-small);
  transition: background-color .2s, transform .3s var(--ease);
}
.res:hover { background: #18201b; transform: translateX(-4px); }
.res-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: var(--black); }
.res-name b { display: block; font-weight: 800; font-size: var(--t-body); }
.res-name span { color: #9fb0a7; font-size: var(--t-small); }
.res-price { font-weight: 800; color: var(--green); direction: ltr; }
.res-add { border: 0; border-radius: 999px; background: var(--green); color: var(--black); font-weight: 800; padding: 10px 18px; min-height: 44px; transition: transform .2s var(--ease), background-color .2s; }
.res-add:hover { background: var(--white); }
.res-add:active { transform: scale(.94); }
.res-none { color: #9fb0a7; padding: 14px 0; }
.try-examples { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: var(--t-body); }
.try-examples button { background: none; border: 0; padding: 6px 0; color: var(--white); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--green); }
.try-examples button:hover { color: var(--green); }

.try-inv { background: #0e1310; border-radius: 22px; padding: 22px; display: grid; gap: 16px; position: sticky; top: 100px; }
.inv-head { display: flex; justify-content: space-between; align-items: baseline; }
.inv-head b { color: var(--green); font-size: 19px; } .inv-head span { color: #8c9a92; font-size: var(--t-small); }
.inv-items { display: grid; gap: 8px; }
.inv-items li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; background: #151b17; border-radius: 10px; padding: 10px 12px; font-size: 16px; animation: pop .35s var(--ease); }
.inv-items li .q { color: #9fb0a7; font-size: var(--t-small); }
.inv-items li b { direction: ltr; }
.inv-items li button { border: 0; background: none; color: #ff7a6b; font-size: var(--t-body); width: 32px; height: 32px; border-radius: 8px; }
.inv-items li button:hover { background: #2a1714; }
@keyframes pop { from { transform: scale(.92) translateY(8px); opacity: 0; } }
.inv-empty { color: #8c9a92; font-size: 16px; padding: 18px 0; text-align: center; }
.inv-cur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.inv-cur button { border: 0; border-radius: 10px; background: #151b17; min-height: 44px; font-weight: 800; color: #c8d3cd; transition: background-color .2s, color .2s; }
.inv-cur button.is-on { background: var(--green); color: var(--black); }
.inv-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 22px; font-weight: 900; color: var(--green); }
.inv-total b { direction: ltr; font-size: 30px; }
.inv-done { border: 0; border-radius: 14px; min-height: 56px; background: var(--green); color: var(--black); font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 12px; transition: transform .2s var(--ease), background-color .2s; }
.inv-done:hover { background: var(--white); }
.inv-done:active { transform: scale(.97); }
.inv-done kbd { font: 700 13px var(--f); background: var(--black); color: var(--green); padding: 3px 8px; border-radius: 6px; direction: ltr; }
.inv-receipt { background: var(--cream); color: var(--black); border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 700; animation: pop .4s var(--ease); }

/* ---------- features: sentences with switches ---------- */
.feat {
  display: flex; align-items: center; gap: 32px; min-height: 20vh; padding: 28px var(--m);
  background: var(--black); color: var(--soft);
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.feat-text { flex: 1; min-width: 0; }
.feat-s { font-size: var(--t-d3); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.feat-c { font-size: var(--t-body); font-weight: 700; max-width: 52em; display: grid; grid-template-rows: 0fr; opacity: 0; transition: opacity .4s, margin .4s; overflow: hidden; height: 0; }
.feat.is-on .feat-c { opacity: 1; height: auto; margin-top: 8px; }
.feat.is-on[data-tone="green"] { background: var(--green); color: var(--black); }
.feat.is-on[data-tone="cream"] { background: var(--cream); color: var(--black); }
.feat.is-on[data-tone="deep"] { background: var(--deep); color: var(--white); }
.feat.is-on[data-tone="silver"] { background: var(--silver); color: var(--black); }
.feat.is-on[data-tone="black"] { background: #101512; color: var(--green); }
.feat.is-on[data-tone="black"] .feat-c { color: var(--white); }
.feat:not(.is-on) { color: #56645c; }
.feat + .feat:not(.is-on) { background: #070b09; }
.sw {
  flex: none; position: relative; width: 2.1em; height: 1.1em; font-size: var(--t-d3);
  border: 0; border-radius: 999px; background: #26302b; padding: 0; transition: background-color .3s;
}
.sw::after { content: ''; position: absolute; inset: -10px; }
.sw i { position: absolute; top: .12em; right: .12em; width: .86em; height: .86em; border-radius: 50%; background: #7d8b84; transition: transform .35s var(--ease), background-color .3s; }
.sw[aria-checked="true"] { background: var(--black); }
.sw[aria-checked="true"] i { transform: translateX(-1em); background: var(--green); }
.feat[data-tone="black"] .sw[aria-checked="true"] { background: var(--green); }
.feat[data-tone="black"] .sw[aria-checked="true"] i { background: var(--black); }
.feat[data-tone="deep"] .sw[aria-checked="true"] { background: var(--green); }
.feat[data-tone="deep"] .sw[aria-checked="true"] i { background: var(--deep); }

/* ---------- souq ---------- */
.souq { position: relative; background: var(--deep); color: var(--white); padding: 0 0 160px; overflow: clip; }
.souq-big { position: relative; margin-inline-end: 22vw; }
.souq-big img { width: 100%; height: 86svh; object-fit: cover; }
.souq-bar { position: absolute; inset-inline-start: 0; bottom: -96px; width: min(54%, 720px); background: var(--green); color: var(--black); padding: 36px var(--m) 40px; display: grid; gap: 14px; }
.souq-h { font-size: var(--t-d3); font-weight: 900; line-height: 1.1; }
.souq-bar p { font-size: var(--t-body); font-weight: 700; }
.souq-cut { position: absolute; width: min(26vw, 400px); background: var(--black); }
.souq-cut img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.souq-cut figcaption { padding: 10px 16px; font-weight: 800; font-size: var(--t-small); color: var(--green); }
.c1 { inset-inline-end: var(--m); top: 18svh; transform: rotate(4deg); }
.c2 { inset-inline-end: 9vw; top: 58svh; transform: rotate(-5deg); }
.faq-head { position: relative; overflow: clip; }
.faq-pic { position: absolute; inset-block: 0; inset-inline-end: 0; width: 48%; height: 100%; object-fit: cover; }
.foot-credits { font-size: var(--t-small); max-width: 70em; }
.foot-credits a { text-underline-offset: 4px; }

/* ---------- flow: one invoice, four fields ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); }
.field { position: relative; min-height: 84svh; padding: 120px 28px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.f1 { background: var(--green); } .f2 { background: var(--deep); color: var(--white); }
.f3 { background: var(--cream); } .f4 { background: var(--black); color: var(--white); }
.flow-h { position: absolute; top: 40px; inset-inline: 28px; font-size: clamp(26px, 2.2vw, 36px); font-weight: 900; line-height: 1.1; }
.card {
  margin-top: 14svh; align-self: center; width: min(100%, 290px); background: #0e1310; color: var(--white);
  border-radius: 16px; padding: 16px; display: grid; gap: 12px; font-size: var(--t-small);
  transition: transform .3s var(--ease);
}
.f4 .card { background: #18201b; }
.field:hover .card { transform: translateY(-6px); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-top b { font-size: var(--t-small); }
.tag { background: var(--green); color: var(--black); border-radius: 999px; padding: 2px 10px; font-weight: 800; font-size: 13px; }
.card-rows { display: grid; gap: 6px; }
.card-rows li { display: flex; justify-content: space-between; gap: 10px; background: #151b17; padding: 8px 10px; border-radius: 8px; }
.card-rows b { color: var(--green); }
.card-sum { display: flex; justify-content: space-between; font-weight: 900; font-size: var(--t-small); color: var(--green); }
.flow-c { font-size: clamp(22px, 2vw, 32px); font-weight: 900; line-height: 1.15; }

/* ---------- scene: reel of real screens ---------- */
.scene-reel { background: var(--cream); }
.scene-reel .scene-stage { padding: 140px var(--m) 120px; display: grid; gap: 48px; }
.reel-h { font-size: var(--t-d2); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.reel-track { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.reel-item { background: var(--black); }
.reel-item img { width: 100%; }
.reel-item figcaption { background: var(--green); color: var(--black); font-weight: 800; font-size: var(--t-body); padding: 12px 18px; }
.r1 { transform: rotate(-2deg); } .r2 { transform: rotate(2.5deg); } .r3 { transform: rotate(1.5deg); } .r4 { transform: rotate(-3deg); }
.scene-reel.is-live .scene-stage { display: block; padding: 0; }
.scene-reel.is-live .reel-h { position: absolute; top: 13svh; inset-inline-start: var(--m); z-index: 1; }
.scene-reel.is-live .reel-track { position: absolute; top: 0; bottom: 7svh; inset-inline-start: 0; display: flex; align-items: flex-end; gap: 5vw; padding-inline: 40vw 8vw; width: max-content; }
.scene-reel.is-live .reel-item { width: min(44vw, calc((100svh - 46svh) * 1.6), 760px); flex: none; }

/* ---------- pricing ---------- */
.pricing { background: var(--green); min-height: 90svh; padding: 160px var(--m) 120px; display: flex; flex-direction: column; gap: 64px; }
.price-s { font-size: clamp(48px, 7.6vw, 130px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.price-blk { display: inline-block; background: var(--black); color: var(--green); padding: 0 .15em; line-height: 1.05; }
.price-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.price-p { max-width: 560px; font-size: var(--t-body); font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 12px; }
.plans li { display: flex; flex-direction: column; gap: 4px; padding: 26px 22px; background: var(--black); color: var(--white); transition: background-color .3s, transform .3s var(--ease); }
.plans li:nth-child(2) { background: #0b130f; } .plans li:nth-child(3) { background: var(--deep); } .plans li:nth-child(4) { background: var(--white); color: var(--black); }
.plans li:hover { transform: translateY(-8px); }
.plans b { font-size: 22px; font-weight: 900; }
.plans .pr { font-size: clamp(44px, 4.4vw, 72px); font-weight: 900; line-height: 1; color: var(--green); direction: ltr; text-align: right; }
.plans li:nth-child(4) .pr { color: var(--deep); }
.plans .pr em { font-style: normal; }
.plans span:last-child { font-size: 16px; }

/* ---------- faq ---------- */
.faq-head { background: var(--green); min-height: 40svh; display: flex; align-items: flex-end; padding: 40px var(--m); }
.faq-head h2 { font-size: var(--t-d2); font-weight: 900; line-height: 1; }
.qa { display: grid; grid-template-columns: 5fr 1fr 6fr; padding: 56px var(--m); }
.qa h3 { grid-column: 1; font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; line-height: 1.2; }
.qa p { grid-column: 3; font-size: var(--t-body); line-height: 1.6; }
.qa[data-ink="light"] { background: var(--black); color: var(--white); }
.qa[data-ink="dark"] { background: var(--cream); color: var(--black); }

/* ---------- cta ---------- */
.cta { background: var(--black); color: var(--green); min-height: 92svh; padding: 18svh var(--m) 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.cta-h { font-size: clamp(64px, 10vw, 170px); font-weight: 900; line-height: .98; letter-spacing: -.02em; }
.cta-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta-p { max-width: 520px; color: var(--white); font-size: var(--t-body); font-weight: 700; }

/* ---------- footer ---------- */
.foot { background: var(--cream); padding: 80px var(--m) 32px; display: grid; gap: 56px; }
.blocks { display: flex; align-items: flex-end; gap: 4px; height: 34svh; direction: ltr; }
.b { flex: 1; display: grid; place-items: center; font-weight: 900; font-size: min(22svh, 15vw); line-height: 1; color: var(--cream); background: var(--black); transform-origin: bottom; }
.b1 { height: 78%; } .b2 { height: 92%; } .b3 { height: 100%; background: var(--green); color: var(--black); } .b4 { height: 64%; } .b5 { height: 86%; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr) 2fr; gap: 32px; font-size: var(--t-small); font-weight: 700; }
.foot-cols ul { display: grid; gap: 10px; }
.foot-cols a { text-decoration: none; } .foot-cols a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-note { font-size: var(--t-small); }
.foot-last { display: flex; justify-content: space-between; align-items: center; font-size: var(--t-small); }

/* ---------- entrances (only when script runs) ---------- */
html.js .rv { opacity: 0; transform: translateY(26px); }
html.js .rv.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .bar-links { display: none; }
  .bar-cta { margin-inline-start: auto; }
  .try-grid { grid-template-columns: 1fr; }
  .try-inv { position: relative; top: 0; max-width: 520px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .souq-big { margin-inline-end: 0; }
  .souq-cut { display: none; }
  .souq-bar { width: 80%; }
  .versions { grid-template-columns: 1fr; }
  .ver { min-height: 0; padding-top: 120px; }
  .ver-pic { margin-inline-end: 0; width: 88%; align-self: center; }
  .hero-foot { width: min(44vw, 420px); }
  .plans { grid-template-columns: 1fr 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  :root { --m: 16px; --t-body: 18px; }
  .bar { padding: 12px 16px; }
  .bar-mark img { width: 92px; }
  .bar-cta { min-height: 44px; padding: 0 16px; font-size: var(--t-small); }
  .hero { padding-top: 16svh; min-height: 100svh; }
  .hero-title { font-size: 23vw; line-height: .95; }
  .hero-foot { position: relative; inset: auto; width: 100%; margin-top: 30px; gap: 18px; }
  .hero-sub { width: 90%; }
  .hero-shot { position: relative; inset: auto; width: 128%; margin: 36px -16px -40px 0; transform: rotate(-5deg); }
  .open-title { font-size: 11vw; }
  .scene-open.is-live .open-title { top: 16svh; }
  .ver { padding: 96px 16px 0; gap: 40px; }
  .ver-h { font-size: 14vw; }
  .ver-pic { width: 112%; margin-inline-end: -8%; }
  .try { padding: 110px 16px 96px; }
  .try-input, .try-mirror { font-size: 15vw; }
  .try-caret { font-size: 15vw; }
  .try-label { font-size: 24px; }
  .try-results { margin-top: 28px; min-height: 0; }
  .res { grid-template-columns: 44px 1fr auto; gap: 10px; }
  .res-ico { width: 44px; height: 44px; }
  .res-price { grid-column: 2; grid-row: 2; }
  .res-add { grid-column: 3; grid-row: 1 / span 2; }
  .try-examples { gap: 10px; }
  .try-examples button { background: #121714; text-decoration: none; padding: 0 18px; min-height: 44px; border-radius: 999px; }
  .feat { min-height: 132px; padding: 24px 16px; gap: 16px; }
  .feat-s { font-size: 6.6vw; }
  .feat-c { font-size: var(--t-small); }
  .sw { font-size: 26px; }
  .flow { grid-template-columns: 1fr; }
  .field { min-height: 64svh; padding: 28px 20px; justify-content: flex-start; }
  .flow-h { position: static; font-size: 30px; }
  .flow-c { order: -1; font-size: 24px; }
  .card { margin-top: 0; align-self: flex-start; }
  .scene-reel .scene-stage { padding: 96px 16px; }
  .reel-track { grid-template-columns: 1fr; gap: 28px; }
  .scene-reel.is-live .reel-h { top: 14svh; font-size: 11vw; }
  .scene-reel.is-live .reel-track { padding-inline: 16px 16px; gap: 10vw; }
  .scene-reel.is-live .reel-item { width: 84vw; }
  .scene-reel.is-live .reel-track { align-items: center; top: 24svh; bottom: 0; }
  .open-pic video { object-position: 60% top; }
  .pricing { padding: 110px 16px 80px; gap: 40px; }
  .price-s { font-size: 9.6vw; }
  .price-foot, .cta-foot { flex-direction: column; align-items: stretch; }
  .price-foot .btn, .cta-foot .btn { width: 100%; }
  .plans { grid-template-columns: 1fr 1fr; }
  .faq-head { min-height: 30svh; }
  .faq-pic { width: 42%; }
  .souq { padding-bottom: 0; }
  .souq-big img { height: 56svh; }
  .souq-bar { position: relative; bottom: 0; width: 100%; padding: 28px 16px 36px; }
  .hero-shot { inset: auto; top: auto; }
  .faq-head h2 { font-size: 15vw; }
  .qa { grid-template-columns: 1fr; gap: 12px; padding: 32px 20px; }
  .qa h3, .qa p { grid-column: 1; }
  .qa h3 { font-size: 22px; }
  .cta { min-height: 80svh; padding-top: 14svh; }
  .cta-h { font-size: 11.5vw; }
  .blocks { height: 22svh; }
  .b { font-size: 13vw; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-note { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  html.js .rv { opacity: 1; transform: none; }
}

/* ---------- left-to-right (English) ---------- */
:root[lang="en"] { --f: 'Archivo', system-ui, sans-serif; }
[dir="ltr"] .try-caret { right: auto; }
[dir="ltr"] .res:hover { transform: translateX(4px); }
[dir="ltr"] .sw i { right: auto; left: .12em; }
[dir="ltr"] .sw[aria-checked="true"] i { transform: translateX(1em); }
[dir="ltr"] .bar-links a::after { transform-origin: left; }
[dir="ltr"] .plans .pr { text-align: left; }
[dir="ltr"] .hero-title, [dir="ltr"] .cta-h, [dir="ltr"] .price-s, [dir="ltr"] .open-title, [dir="ltr"] .reel-h, [dir="ltr"] .ver-h { letter-spacing: -.035em; }
[dir="ltr"] .hero-title { line-height: .92; }
@media (max-width: 767px) {
  [dir="ltr"] .hero-title { font-size: 15vw; }
  [dir="ltr"] .hero-shot { margin: 36px 0 -40px 0; }
}
@media (max-width: 767px) {
  [dir="ltr"] .price-s { font-size: 8vw; }
  [dir="ltr"] .feat-s { font-size: 6vw; }
}
@media (min-width: 768px) {
  .hero-shot { top: 50svh; width: min(52vw, 900px); inset-inline-end: -3vw; }
}
@media (max-width: 767px) {
  [dir="rtl"] .hero-title { font-size: 17vw; }
}

/* ======================================================================
   v2 — bigger, softer, more to look at: tour video + screen gallery
   ====================================================================== */
:root { --t-d2: clamp(52px, 8.4vw, 148px); --t-d3: clamp(28px, 3.6vw, 60px); --t-body: 20px; --rr: 22px; }

/* real screens get rounded corners, depth and a hover lift */
.ver-pic, .reel-item, .hero-shot img, .open-pic, .souq-cut { border-radius: var(--rr); overflow: clip; }
.hero-shot img { box-shadow: 0 40px 90px -20px rgba(5, 8, 6, .55); }
.ver-pic { box-shadow: 0 34px 80px -24px rgba(5, 8, 6, .5); }
.ver-pic img { transition: transform .8s var(--ease); }
.ver-pic:hover img { transform: scale(1.03); }
.reel-item { box-shadow: 0 30px 70px -26px rgba(5, 8, 6, .55); transition: transform .5s var(--ease); }
.reel-item figcaption { font-size: 22px; padding: 16px 22px; }
.btn { min-height: 62px; padding: 0 36px; font-size: 20px; box-shadow: 0 10px 28px -12px rgba(5, 8, 6, .5); }
.hero-sub { font-size: 22px; }
.hero-title { font-size: clamp(96px, 15.5vw, 260px); }
.feat { min-height: 24vh; padding: 36px var(--m); }
.feat-c { font-size: 21px; }
.versions .ver { min-height: 108svh; }

/* ---------- tour: the app moving ---------- */
.tour { background: var(--deep); color: var(--white); padding: 160px var(--m) 140px; display: grid; gap: 56px; }
.tour-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.tour-h { font-size: var(--t-d2); font-weight: 900; line-height: 1; letter-spacing: -.02em; max-width: 12em; }
.tour-h .price-blk { background: var(--green); color: var(--black); }
.tour-p { max-width: 460px; font-size: 22px; font-weight: 700; color: #cfe9de; }
.tour-frame { position: relative; border-radius: 28px; overflow: clip; background: #0b0f0d; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(18, 200, 135, .25); }
.tour-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #0b0f0d; }
.tour-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.tour-chips li { background: var(--green); color: var(--black); font-weight: 800; padding: 10px 20px; border-radius: 999px; font-size: 18px; }
.tour-chips li:nth-child(even) { background: var(--black); color: var(--green); }

/* ---------- gallery: more screens, big ---------- */
.gal { background: var(--cream); color: var(--black); padding: 150px var(--m) 150px; display: grid; gap: 60px; }
.gal-h { font-size: var(--t-d2); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.gal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.gal-item { grid-column: span 6; background: var(--black); border-radius: var(--rr); overflow: clip; box-shadow: 0 30px 70px -30px rgba(5, 8, 6, .55); transition: transform .5s var(--ease), box-shadow .5s; }
.gal-item.wide { grid-column: span 12; }
.gal-item:hover { transform: translateY(-10px); box-shadow: 0 50px 90px -30px rgba(5, 8, 6, .65); }
.gal-item img { width: 100%; transition: transform .8s var(--ease); }
.gal-item:hover img { transform: scale(1.025); }
.gal-item figcaption { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; background: var(--green); color: var(--black); padding: 16px 24px; font-size: 22px; font-weight: 900; }
.gal-item figcaption span { font-size: 17px; font-weight: 700; opacity: .8; }

@media (max-width: 1100px) { .gal-item { grid-column: span 12; } }
@media (max-width: 767px) {
  .tour { padding: 100px 16px 90px; gap: 36px; }
  .tour-frame { border-radius: 16px; }
  .tour-frame video { aspect-ratio: 16 / 11; }
  .tour-p { font-size: 19px; }
  .tour-h, .gal-h { font-size: 13vw; }
  .gal { padding: 100px 16px; gap: 36px; }
  .gal-grid { gap: 20px; }
  .gal-item figcaption { flex-direction: column; gap: 2px; font-size: 20px; }
  .btn { min-height: 56px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .gal-item, .gal-item img, .ver-pic img { transition: none; } }
