
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

:root{
  --bg:#F3F5F9; --surface:#FFFFFF; --surface-alt:#E9EDF3;
  --text:#151A21; --text-2:#525C6B; --text-3:#68717F;
  --border:#DDE3EC; --border-2:#C7D0DC;
  /* Brand amber as a surface. Text on it is near-black, never white. */
  --brand:#E0863B; --brand-strong:#C87230; --on-brand:#151A21;
  /* Amber that is legible as text on white. */
  --brand-ink:#A85E1B;
  --ring:rgba(224,134,59,.38);
  --shadow:0 1px 2px rgba(21,26,33,.05),0 8px 24px rgba(21,26,33,.06);
  --shadow-lg:0 2px 4px rgba(21,26,33,.06),0 20px 48px rgba(21,26,33,.10);
  --radius:14px; --radius-lg:22px;
  --maxw:1140px;
  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

:root[data-theme="dark"]{
  --bg:#14161B; --surface:#1E212A; --surface-alt:#262B36;
  --text:#F5F7FA; --text-2:#AEB6C2; --text-3:#8B95A3;
  --border:#2E3440; --border-2:#3C4453;
  --brand:#F4A460; --brand-strong:#E8924A; --on-brand:#14161B;
  --brand-ink:#F4A460;
  --ring:rgba(244,164,96,.42);
  --shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.34);
  --shadow-lg:0 2px 4px rgba(0,0,0,.34),0 20px 48px rgba(0,0,0,.44);
}

body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);
  font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{max-width:100%;height:auto;display:block}
a{color:var(--brand-ink);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid var(--ring);outline-offset:2px;border-radius:6px}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.2;letter-spacing:-.02em;font-weight:800}
h1{font-size:clamp(2.1rem,5.2vw,3.4rem)}
h2{font-size:clamp(1.6rem,3.4vw,2.3rem)}
h3{font-size:1.15rem;font-weight:700;letter-spacing:-.01em}
p{margin:0 0 1em}
.lead{font-size:clamp(1.02rem,1.7vw,1.2rem);color:var(--text-2);max-width:62ch}
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 22px}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Skip link — the first tab stop on every page. */
/* Hidden off-flow rather than off-canvas: left:-9999px is safe in LTR only.
   In RTL the document grows leftwards, so it added ~10 000px of horizontal
   scroll to every Arabic page and pushed the real content out of the viewport. */
.skip{position:absolute;inset-inline-start:0;top:0;z-index:100;background:var(--surface);
  color:var(--text);padding:12px 18px;border-radius:0 0 var(--radius) 0;box-shadow:var(--shadow);
  transform:translateY(-200%)}
.skip:focus{transform:translateY(0)}

/* Header */
.hdr{position:sticky;top:0;z-index:900;background:color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.hdr__in{display:flex;align-items:center;gap:18px;height:66px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.15rem;
  color:var(--text);letter-spacing:-.02em}
.brand:hover{text-decoration:none}
/* The mark is a transparent PNG with its own gradient, so it needs no plate
   behind it and reads on both themes unchanged. */
.brand__mark{width:34px;height:34px;flex:0 0 auto;display:block}
.nav{display:flex;gap:4px;margin-left:auto;align-items:center}
.nav a{color:var(--text-2);font-weight:600;font-size:.94rem;padding:8px 12px;border-radius:9px}
.nav a:hover{color:var(--text);background:var(--surface-alt);text-decoration:none}
.nav a[aria-current="page"]{color:var(--text);background:var(--surface-alt)}
.hdr__cta{display:flex;gap:8px;align-items:center}
.navtoggle{display:none;background:none;border:1px solid var(--border);color:var(--text);
  width:40px;height:40px;border-radius:10px;cursor:pointer;align-items:center;justify-content:center}
@media (max-width:900px){
  /* Mobile nav is an off-canvas side drawer (not a dropdown); RTL flips side. */
  .nav{position:fixed;top:66px;bottom:0;inset-inline-end:0;width:min(84vw,328px);
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--surface);border-inline-start:1px solid var(--border);border-top:1px solid var(--border);
    padding:12px 22px 28px;box-shadow:0 20px 60px rgba(0,0,0,.28);
    height:calc(100dvh - 66px);overflow-y:auto;z-index:120;display:flex;margin-left:0;
    transform:translateX(100%);transition:transform .28s ease}
  [dir="rtl"] .nav{transform:translateX(-100%)}
  .nav.open{transform:translateX(0)}
  /* Nav items = clean full-width divider list (lang chips keep their own style). */
  .nav a{padding:15px 2px;font-size:1.02rem;font-weight:600;color:var(--text);border-radius:0;border-bottom:1px solid var(--border);text-align:start}
  .nav a:hover{background:transparent;color:var(--brand-ink)}
  .nav a[aria-current="page"]{background:var(--surface-alt);color:var(--brand-ink)}
  .navtoggle{display:flex}
  /* nav becomes a fixed dropdown here, so push the actions cluster to the far
     edge (RTL-safe) instead of letting the icons float in the middle. */
  .hdr__cta{margin-inline-start:auto}
  .hdr__cta .btn--ghost{display:none}
  .navscrim{position:fixed;inset:0;background:rgba(4,10,20,.62);opacity:0;visibility:hidden;transition:opacity .28s ease;z-index:800}
  .navscrim.open{opacity:1;visibility:visible}
  .nav-langs{display:flex;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}
  .nav-langs a{flex:1;text-align:center;padding:11px 8px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-2);font-weight:700}
  .nav-langs a[aria-current]{color:var(--brand-ink);border-color:var(--brand);background:var(--surface-alt)}
}
.navscrim{display:none}
.nav-langs{display:none}
@media (max-width:900px){.navscrim{display:block}.nav-langs{display:flex}}
@media (max-width:600px){.nav{width:100%;border-inline-start:0}}

/* Google Play download badge */
.play-badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.play-badge{display:inline-flex;align-items:center;gap:11px;padding:9px 17px 9px 13px;border-radius:13px;background:#0f1216;color:#fff;border:1px solid rgba(255,255,255,.14);transition:transform .16s,box-shadow .16s,border-color .16s}
.play-badge:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,0,0,.18);border-color:rgba(255,255,255,.28)}
.play-badge__logo{flex:none}
.play-badge__txt{display:flex;flex-direction:column;line-height:1.12;text-align:start}
.play-badge__txt small{font-size:.57rem;font-weight:600;letter-spacing:.11em;opacity:.82}
.play-badge__txt b{font-size:.98rem;font-weight:700}
.ftr .play-badges{margin-top:16px}
@media (max-width:720px){.hdr .wrap{padding-left:12px;padding-right:12px}}
@media (max-width:460px){.play-badge{width:100%}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:12px 22px;border-radius:11px;font-weight:700;font-size:.96rem;
  border:1px solid transparent;cursor:pointer;transition:transform .12s,box-shadow .12s;
  text-align:center}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn:active{transform:none}
.btn--primary{background:var(--brand);color:var(--on-brand);box-shadow:var(--shadow)}
.btn--primary:hover{background:var(--brand-strong);box-shadow:var(--shadow-lg)}
.btn--ghost{background:transparent;color:var(--text);border-color:var(--border-2)}
.btn--ghost:hover{background:var(--surface-alt)}
.btn--lg{padding:15px 30px;font-size:1.02rem}

/* Sections */
.sec{padding:clamp(56px,8vw,104px) 0}
.sec--tint{background:var(--surface-alt)}
.sec__head{max-width:62ch;margin-bottom:clamp(28px,4vw,48px)}
.eyebrow{display:inline-block;font-size:.78rem;font-weight:800;letter-spacing:.14em;
  text-transform:uppercase;color:var(--brand-ink);margin-bottom:12px}

/* Hero */
.hero{padding:clamp(56px,9vw,116px) 0 clamp(44px,6vw,80px);position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;top:-30%;right:-10%;width:60%;height:150%;
  background:radial-gradient(closest-side,var(--ring),transparent);opacity:.5;pointer-events:none}
.hero__in{position:relative;display:grid;gap:clamp(32px,5vw,60px);align-items:center}
@media (min-width:960px){.hero__in{grid-template-columns:1.05fr .95fr}}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero__note{margin-top:16px;font-size:.9rem;color:var(--text-3)}

/* Cards */
.grid{display:grid;gap:18px}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:26px;box-shadow:var(--shadow)}
.card h3{margin-bottom:8px}
.card p{color:var(--text-2);margin-bottom:0;font-size:.96rem}
.card__ico{width:42px;height:42px;border-radius:11px;background:var(--surface-alt);
  display:grid;place-items:center;margin-bottom:16px;color:var(--brand-ink)}
.card__ico svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round}

/* Feature list */
.flist{list-style:none;padding:0;margin:0;display:grid;gap:13px}
.flist li{display:flex;gap:12px;align-items:flex-start;color:var(--text-2)}
.flist svg{width:19px;height:19px;flex:0 0 auto;margin-top:3px;color:var(--brand-ink);
  stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.flist strong{color:var(--text);font-weight:700}

/* Image slot — a real <img> when art exists, a labelled placeholder when not.
   No aspect is forced on a real image: three of these are phone shots in
   portrait and squaring them off would cut the phone in half. Portrait art is
   centred and width-capped instead, so it cannot tower over the text beside it. */
.shot{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border);
  background:var(--surface);box-shadow:var(--shadow-lg)}
.shot img{width:100%;display:block}
.shot--portrait{max-width:min(340px,100%);margin-inline:auto}
.shot--empty{aspect-ratio:16/10;display:grid;place-items:center;background:var(--surface-alt);
  color:var(--text-3);font-size:.86rem;text-align:center;padding:22px}

/* Pricing */
.plans{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));align-items:start}
.plan{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:30px;box-shadow:var(--shadow);display:flex;flex-direction:column;height:100%}
.plan--featured{border-color:var(--brand);box-shadow:var(--shadow-lg)}
.plan__tag{display:inline-block;background:var(--brand);color:var(--on-brand);font-size:.72rem;
  font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:5px 11px;border-radius:99px;
  margin-bottom:14px;align-self:flex-start}
.plan__price{font-size:2.3rem;font-weight:800;letter-spacing:-.03em;margin:6px 0 2px}
.plan__price span{font-size:.95rem;font-weight:600;color:var(--text-3)}
.plan .flist{margin:20px 0 26px}
.plan .btn{margin-top:auto;width:100%}

/* Steps */
.steps{counter-reset:s;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.step{position:relative;padding-top:52px}
.step::before{counter-increment:s;content:counter(s);position:absolute;top:0;left:0;
  width:38px;height:38px;border-radius:11px;background:var(--brand);color:var(--on-brand);
  display:grid;place-items:center;font-weight:800}
.step h3{margin-bottom:6px}
.step p{color:var(--text-2);margin:0;font-size:.95rem}

/* Table */
.tblwrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);
  background:var(--surface)}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:.94rem}
th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--border)}
th{font-weight:700;background:var(--surface-alt)}
tr:last-child td{border-bottom:0}

/* Form beside a map. Below 900px the map drops under the form rather than
   shrinking to a strip that shows nothing useful. */
.formgrid{display:grid;gap:26px;align-items:start}
@media (min-width:900px){.formgrid{grid-template-columns:1.05fr .95fr}}
.formcard{background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:clamp(22px,3vw,32px);box-shadow:var(--shadow)}
.map{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow);background:var(--surface-alt)}
.map iframe{display:block;width:100%;height:340px;border:0;
  /* The tiles are a light raster; in dark mode they glare next to the page. */
  filter:none}
:root[data-theme="dark"] .map iframe{filter:invert(.92) hue-rotate(180deg) brightness(.95) contrast(.92)}
.mapfoot{padding:16px 20px;display:grid;gap:8px;font-size:.94rem;color:var(--text-2)}
.mapfoot strong{color:var(--text)}
.mapfoot a{font-weight:600}

/* Form */
.form{display:grid;gap:15px}
/* Two short fields side by side; anything that needs room stays full width. */
.field--half{grid-column:span 1}
@media (min-width:560px){
  .form{grid-template-columns:1fr 1fr}
  .form>*{grid-column:1/-1}
  .form>.field--half{grid-column:span 1}
}
.field{display:grid;gap:6px}
.field .req{color:var(--brand-ink);font-weight:800}
.field label{font-weight:700;font-size:.9rem}
.field input,.field textarea,.field select{font:inherit;font-size:.96rem;color:var(--text);
  background:var(--surface);border:1px solid var(--border-2);border-radius:11px;padding:12px 14px;
  width:100%}
.field textarea{min-height:120px;resize:vertical}
.formnote{font-size:.86rem;color:var(--text-3)}
.formmsg{padding:12px 15px;border-radius:11px;font-size:.93rem;display:none}
.formmsg.ok{display:block;background:var(--surface-alt);color:var(--text);
  border:1px solid var(--brand)}
.formmsg.bad{display:block;background:var(--surface-alt);color:var(--text);
  border:1px solid var(--border-2)}

/* CTA band */
.band{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:clamp(32px,5vw,56px);text-align:center;box-shadow:var(--shadow-lg)}
.band h2{margin-bottom:10px}
.band p{color:var(--text-2);max-width:56ch;margin:0 auto 24px}
.band .hero__cta{justify-content:center;margin-top:0}

/* Footer */
.ftr{background:var(--surface);border-top:1px solid var(--border);padding:56px 0 30px;margin-top:0}
.ftr__grid{display:grid;gap:32px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  margin-bottom:34px}
.ftr h4{font-size:.79rem;letter-spacing:.13em;text-transform:uppercase;color:var(--text-3);
  margin-bottom:14px;font-weight:800}
.ftr ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.ftr a{color:var(--text-2);font-size:.94rem}
.ftr a:hover{color:var(--text)}
.ftr__bar{border-top:1px solid var(--border);padding-top:22px;display:flex;flex-wrap:wrap;
  gap:14px;justify-content:space-between;align-items:center;color:var(--text-3);font-size:.87rem}
.ftr__credit{display:flex;flex-wrap:wrap;gap:6px;align-items:center}

/* Right-to-left. Logical properties handle most of it; these are the cases
   where a physical direction was the right call in LTR and has to flip. */
[dir="rtl"] .nav{margin-left:0;margin-right:auto}
[dir="rtl"] .navtoggle{margin-left:0;margin-right:auto}
[dir="rtl"] .hero::before{right:auto;left:-10%}
[dir="rtl"] .step{padding-left:0;padding-right:0}
[dir="rtl"] .step::before{left:auto;right:0}
[dir="rtl"] .skip{border-radius:0 0 0 var(--radius)}
[dir="rtl"] th,[dir="rtl"] td{text-align:right}
[dir="rtl"] .form,[dir="rtl"] .flist li{text-align:right}
@media (max-width:900px){[dir="rtl"] .nav{margin-right:0}}

/* Language switcher */
.langs{display:flex;gap:2px;border:1px solid var(--border-2);border-radius:10px;padding:2px}
.langs a{padding:6px 9px;border-radius:8px;font-size:.82rem;font-weight:700;color:var(--text-2);
  line-height:1.2}
.langs a:hover{background:var(--surface-alt);color:var(--text);text-decoration:none}
.langs a[aria-current="true"]{background:var(--brand);color:var(--on-brand)}
@media (max-width:640px){.langs{display:none}}
.langs--foot{display:flex}

/* Theme toggle */
.themebtn{background:transparent;border:1px solid var(--border-2);color:var(--text);
  width:40px;height:40px;border-radius:10px;cursor:pointer;display:grid;place-items:center}
.themebtn:hover{background:var(--surface-alt)}
.themebtn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}
:root[data-theme="dark"] .themebtn .ico-sun,
.themebtn .ico-moon{display:block}
:root[data-theme="dark"] .themebtn .ico-moon,
.themebtn .ico-sun{display:none}

/* Reveal on scroll — starts visible so the page is readable without JS. */
.reveal{opacity:1;transform:none}
.js .reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.js .reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none}}
