/* Aura - the public site. Plain CSS, no build step, no web fonts.
   The colours are Aura's own: the :root tokens of the app's theme
   (frontend/public/theme/theme.css). Dark is the default; the light look
   follows the system setting, or the toggle in the header (data-theme). */

:root {
  color-scheme: dark;
  --page:        #05070d;
  --surface:     #0b101b;
  --surface-2:   #0f1524;
  --surface-3:   #131b2d;
  --sidebar:     #060911;
  --ink:         #edf1fa;
  --ink-2:       #a9b2c6;
  --ink-muted:   #7f89a3;
  --grid:        #161e2f;
  --hairline:    rgba(148, 168, 220, .12);
  --hairline-2:  rgba(148, 168, 220, .20);
  --wash:        rgba(148, 168, 220, .055);
  --series-1:    #5b9bff;
  --series-prior:#5d6788;
  --up:          #34d399;
  --down:        #ff5d6c;
  --accent:      #5b9bff;
  --accent-2:    #8f7bff;
  --accent-grad: linear-gradient(135deg, #5b9bff 0%, #7a86ff 52%, #a27bff 100%);
  --btn-grad:    linear-gradient(135deg, #2f6bff 0%, #5b6cff 52%, #8a5cff 100%);
  --tone-grey:   #8b94aa;
  --tone-red:    #ff6b78;
  --tone-gold:   #e8bd4f;
  --tone-green:  #3ddc97;
  --tone-teal:   #2dd4bf;
  --tone-blue:   #5b9bff;
  --glow-a:      .16;
  --glow-b:      .12;
  --grid-line:   rgba(148, 168, 220, .035);
  --header-bg:   rgba(5, 7, 13, .72);
  --elev-1: inset 0 1px 0 rgba(255, 255, 255, .035), 0 1px 2px rgba(0, 0, 0, .45),
            0 10px 28px -16px rgba(0, 0, 0, .75);
  --elev-2: inset 0 1px 0 rgba(255, 255, 255, .05), 0 2px 6px rgba(0, 0, 0, .4),
            0 22px 48px -18px rgba(0, 0, 0, .8);
  --elev-3: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(148, 168, 220, .08),
            0 30px 80px -20px rgba(0, 0, 0, .85), 0 8px 24px -8px rgba(0, 0, 0, .55);

  --font:         "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-num:     "Bahnschrift", "Segoe UI Variable Display", "DIN Alternate", system-ui, sans-serif;
  --radius:    14px;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --ease:      cubic-bezier(.2, .8, .2, 1);
  --gutter:    16px;
}

/* The light look - the same values twice: once for the system setting, once for the toggle. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --page:        #f2f4f9;
    --surface:     #ffffff;
    --surface-2:   #f7f8fc;
    --surface-3:   #ffffff;
    --ink:         #0b1020;
    --ink-2:       #46506a;
    --ink-muted:   #687089;
    --grid:        #e7eaf2;
    --hairline:    rgba(16, 28, 60, .10);
    --hairline-2:  rgba(16, 28, 60, .16);
    --wash:        rgba(16, 28, 60, .04);
    --series-1:    #2f6bff;
    --series-prior:#8c94ad;
    --up:          #0b8a5a;
    --down:        #dc3349;
    --accent:      #2f6bff;
    --accent-2:    #7a5cff;
    --accent-grad: linear-gradient(135deg, #2f6bff 0%, #5b6cff 52%, #8a5cff 100%);
    --tone-grey:   #6b7280;
    --tone-red:    #d6334a;
    --tone-gold:   #a27500;
    --tone-green:  #138a4a;
    --tone-teal:   #0d9488;
    --tone-blue:   #2f6bff;
    --glow-a:      .10;
    --glow-b:      .07;
    --grid-line:   rgba(16, 28, 60, .035);
    --header-bg:   rgba(242, 244, 249, .80);
    --elev-1: 0 1px 2px rgba(16, 28, 60, .06), 0 8px 24px -14px rgba(16, 28, 60, .18);
    --elev-2: 0 2px 6px rgba(16, 28, 60, .07), 0 18px 40px -16px rgba(16, 28, 60, .22);
    --elev-3: 0 0 0 1px rgba(16, 28, 60, .06), 0 28px 70px -18px rgba(16, 28, 60, .32),
              0 6px 18px -6px rgba(16, 28, 60, .12);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --page:        #f2f4f9;
  --surface:     #ffffff;
  --surface-2:   #f7f8fc;
  --surface-3:   #ffffff;
  --ink:         #0b1020;
  --ink-2:       #46506a;
  --ink-muted:   #687089;
  --grid:        #e7eaf2;
  --hairline:    rgba(16, 28, 60, .10);
  --hairline-2:  rgba(16, 28, 60, .16);
  --wash:        rgba(16, 28, 60, .04);
  --series-1:    #2f6bff;
  --series-prior:#8c94ad;
  --up:          #0b8a5a;
  --down:        #dc3349;
  --accent:      #2f6bff;
  --accent-2:    #7a5cff;
  --accent-grad: linear-gradient(135deg, #2f6bff 0%, #5b6cff 52%, #8a5cff 100%);
  --tone-grey:   #6b7280;
  --tone-red:    #d6334a;
  --tone-gold:   #a27500;
  --tone-green:  #138a4a;
  --tone-teal:   #0d9488;
  --tone-blue:   #2f6bff;
  --glow-a:      .10;
  --glow-b:      .07;
  --grid-line:   rgba(16, 28, 60, .035);
  --header-bg:   rgba(242, 244, 249, .80);
  --elev-1: 0 1px 2px rgba(16, 28, 60, .06), 0 8px 24px -14px rgba(16, 28, 60, .18);
  --elev-2: 0 2px 6px rgba(16, 28, 60, .07), 0 18px 40px -16px rgba(16, 28, 60, .22);
  --elev-3: 0 0 0 1px rgba(16, 28, 60, .06), 0 28px 70px -18px rgba(16, 28, 60, .32),
            0 6px 18px -6px rgba(16, 28, 60, .12);
}

/* Arabic: a font with Arabic letters, more room between lines, no letter-spacing (it breaks the joins). */
:root:lang(ar) {
  --font:         "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif;
  --font-display: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif;
}
:lang(ar) * { letter-spacing: 0 !important; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
:lang(ar) body { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50;
  background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-2);
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.top-in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav tools";
  align-items: center; gap: 12px 24px;
  min-height: 68px;
}
.brand { grid-area: brand; display: inline-flex; color: var(--ink); border-radius: 8px; }
.brand svg { width: 120px; height: auto; }
.nav { grid-area: nav; display: flex; gap: 4px; justify-content: center; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--ink); background: var(--wash); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--wash); box-shadow: inset 0 0 0 1px var(--hairline); }
.tools { grid-area: tools; display: flex; align-items: center; gap: 8px; }
.lang {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--hairline);
}
.lang:hover { color: var(--ink); text-decoration: none; background: var(--wash); }
.lang:lang(ar) { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif; }
.theme-btn {
  display: none; /* shown when scripts run (html.js) */
  width: 38px; height: 38px; place-items: center; padding: 0;
  border-radius: 999px; border: 1px solid var(--hairline); background: transparent; color: var(--ink-2);
  cursor: pointer;
}
.js .theme-btn { display: inline-grid; }
.theme-btn:hover { color: var(--ink); background: var(--wash); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="dark"]) .theme-btn .i-moon { display: none; }
}

@media (max-width: 899px) {
  .top-in { grid-template-columns: 1fr auto; grid-template-areas: "brand tools" "nav nav"; gap: 6px 12px; padding-block: 10px 8px; }
  .nav { justify-content: space-between; gap: 2px; }
  .nav a { flex: 1; text-align: center; padding: 7px 8px; }
  .brand svg { width: 108px; }
}
@media (max-width: 479px) { .tools .btn { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font: 600 15px/1.2 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  color: #fff; background: var(--btn-grad);
  box-shadow: 0 8px 24px -10px rgba(91, 108, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(91, 108, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--hairline-2); box-shadow: var(--elev-1); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 9vw, 104px) clamp(40px, 6vw, 72px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(91, 155, 255, var(--glow-a)), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(162, 123, 255, var(--glow-b)), transparent 70%),
    radial-gradient(35% 35% at 10% 40%, rgba(91, 155, 255, var(--glow-b)), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
}
.hero-text { text-align: center; max-width: 820px; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2);
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--hairline-2); background: var(--wash);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-grad); box-shadow: 0 0 10px rgba(122, 134, 255, .8); }
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.1rem, 4.6vw + .6rem, 3.75rem);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.07;
  text-wrap: balance;
}
:lang(ar) .hero h1 { line-height: 1.3; }
.grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 18px; font-size: clamp(1.05rem, .5vw + .95rem, 1.22rem); color: var(--ink-2); text-wrap: pretty; }
.hero .lead { max-width: 680px; margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .cta-row { justify-content: center; }
@media (max-width: 479px) { .hero .cta-row .btn { flex: 1 1 100%; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section + .section { padding-top: 0; }
.page-head + .section { padding-top: clamp(16px, 3vw, 32px); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section h2 { font-size: clamp(1.6rem, 1.6vw + 1.1rem, 2.25rem); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
:lang(ar) .section h2 { line-height: 1.35; }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 1.05rem; }
.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

.page-head { position: relative; overflow: hidden; padding-block: clamp(44px, 7vw, 80px) clamp(20px, 3vw, 32px); }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 80% at 50% 0%, rgba(91, 155, 255, var(--glow-a)), transparent 70%);
}
.page-head h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
:lang(ar) .page-head h1 { line-height: 1.3; }
.page-head .lead { max-width: 720px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--elev-1);
}
.card h3 { font-size: 1.1rem; font-weight: 650; line-height: 1.3; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: .97rem; }
.ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  color: var(--accent); background: linear-gradient(135deg, rgba(91, 155, 255, .16), rgba(162, 123, 255, .16));
  box-shadow: inset 0 0 0 1px rgba(122, 134, 255, .25);
}
.ico svg { width: 22px; height: 22px; }
.tag {
  position: absolute; top: 22px; inset-inline-end: 22px;
  font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--hairline-2); background: var(--wash);
}

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.step { padding-top: 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  font: 700 15px/1 var(--font-num); color: #fff; background: var(--btn-grad);
}

/* ---------- call to action band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border-radius: 24px; border: 1px solid var(--hairline-2); background: var(--surface); box-shadow: var(--elev-2);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 90% at 50% 0%, rgba(122, 134, 255, var(--glow-a)), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2.1rem); font-weight: 700; }
.cta-band p { margin: 12px auto 0; max-width: 560px; color: var(--ink-2); }
.cta-band .cta-row { justify-content: center; }

/* ---------- pictures of Aura (made-up figures) ---------- */
.shot { margin: clamp(36px, 6vw, 64px) auto 0; max-width: 1080px; position: relative; }
.shot::before {
  content: ""; position: absolute; inset: 8% 6% -4%; z-index: -1; border-radius: 40px;
  background: var(--accent-grad); opacity: .22; filter: blur(48px);
}
.shot figcaption, .note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ink-muted); }

.win {
  border-radius: 16px; overflow: hidden; background: var(--page);
  border: 1px solid var(--hairline-2); box-shadow: var(--elev-3);
  font-family: var(--font); color: var(--ink); text-align: start;
}
.win-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--hairline); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline-2); }
.win-url {
  flex: 1; max-width: 360px; margin-inline: auto; text-align: center; font-size: 12px; color: var(--ink-muted);
  padding: 4px 10px; border-radius: 999px; background: var(--wash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); }
.m-side { background: #060911; color: #a9b2c6; padding: 16px 12px; border-inline-end: 1px solid rgba(148, 168, 220, .10); }
.m-logo { display: flex; align-items: center; gap: 8px; padding: 2px 8px 16px; color: #edf1fa; font: 700 14px/1 var(--font-display); letter-spacing: .14em; }
.m-logo img { width: 24px; height: 24px; }
.m-group { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b7590; padding: 10px 8px 4px; }
.m-nav { display: flex; align-items: center; gap: 10px; font-size: 12.5px; padding: 5px 8px; border-radius: 8px; }
.m-nav::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .55; flex: none; }
.m-nav.on { color: #edf1fa; background: rgba(91, 155, 255, .14); box-shadow: inset 2px 0 0 #5b9bff; }
[dir="rtl"] .m-nav.on { box-shadow: inset -2px 0 0 #5b9bff; }
.m-nav.on::before { opacity: 1; color: #5b9bff; }
.m-main { padding: 18px; min-width: 0; }
.m-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.m-head b { font: 700 18px/1.2 var(--font-display); margin-inline-end: auto; }
.m-chip { font-size: 11.5px; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--surface); white-space: nowrap; }
.m-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.m-kpi { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; box-shadow: var(--elev-1); min-width: 0; }
.m-kpi span { display: block; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-kpi b { display: block; margin-top: 4px; font: 600 21px/1.2 var(--font-num); letter-spacing: .01em; white-space: nowrap; }
.m-kpi small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; }
.m-kpi small.up { color: var(--up); }
.m-cols { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.m-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 14px; box-shadow: var(--elev-1); min-width: 0; }
.m-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.m-card-head b { font-size: 13px; font-weight: 600; }
.m-legend { display: flex; gap: 12px; font-size: 11.5px; color: var(--ink-2); }
.m-legend span { display: inline-flex; align-items: center; gap: 6px; }
.m-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--series-1); }
.m-legend i.prior { background: var(--series-prior); }
.m-chart svg { width: 100%; height: auto; }
[dir="rtl"] .m-chart svg { transform: scaleX(-1); }
.m-chart .bar { fill: var(--series-1); }
.m-chart .bar.prior { fill: var(--series-prior); }
.m-chart .gl { stroke: var(--grid); stroke-width: 1; }
.m-chart .base { stroke: var(--hairline-2); stroke-width: 1; }
.m-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 6px; font-size: 10.5px; color: var(--ink-muted); text-align: center; }
.m-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.m-rank li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 12.5px; }
.m-rank li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.m-rank li b { font: 600 12.5px/1.4 var(--font-num); color: var(--ink-2); }
.m-rank li i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--wash); position: relative; overflow: hidden; }
.m-rank li i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w, 50%); border-radius: 4px; background: var(--series-1); }
.m-rank .w100 { --w: 100%; } .m-rank .w90 { --w: 90%; } .m-rank .w70 { --w: 70%; } .m-rank .w63 { --w: 63%; } .m-rank .w48 { --w: 48%; }

@media (max-width: 899px) {
  .win-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .m-side { display: none; }
  .m-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
  .m-main { padding: 12px; }
  .m-kpi { padding: 10px 12px; }
  .m-kpi b { font-size: 18px; }
  .m-months span:nth-child(even) { visibility: hidden; }
  .win-url { display: none; }
}

/* the Tracking Orders table */
.showcase { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .showcase { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; } }
.m-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.m-table th { text-align: start; font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); padding: 8px 10px; background: var(--surface-2); border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.m-table td { padding: 10px; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.m-table tr:last-child td { border-bottom: 0; }
.m-table td.num { font-family: var(--font-num); color: var(--ink-2); }
.m-table td.late { color: var(--tone-red); }
.m-table .pad { padding: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--wash); color: var(--ink); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.gold { color: var(--tone-gold); } .pill.blue { color: var(--tone-blue); } .pill.teal { color: var(--tone-teal); }
.pill.green { color: var(--tone-green); } .pill.grey { color: var(--tone-grey); }
.m-scroll { overflow: hidden; border: 1px solid var(--hairline); border-radius: 10px; }
@media (max-width: 639px) { .m-table .c-sup { display: none; } }
@media (max-width: 419px) { .m-table .c-due { display: none; } }

/* the phone */
.phone {
  width: 100%; max-width: 300px; margin-inline: auto; padding: 10px; border-radius: 40px;
  background: #0a0e18; border: 1px solid rgba(148, 168, 220, .22); box-shadow: var(--elev-3);
}
.phone-screen { border-radius: 31px; overflow: hidden; background: var(--page); display: flex; flex-direction: column; height: 520px; }
.ph-status { display: flex; justify-content: space-between; padding: 10px 22px 4px; font: 600 11px/1 var(--font-num); color: var(--ink); }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--hairline); background: var(--surface); }
.ph-ava { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; background: var(--btn-grad); flex: none; }
.ph-head b { display: block; font-size: 13.5px; }
.ph-head small { display: block; font-size: 11px; color: var(--up); }
.ph-call { margin-inline-start: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: var(--wash); }
.ph-call svg { width: 16px; height: 16px; }
.ph-msgs { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; overflow: hidden; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; background: var(--surface); border: 1px solid var(--hairline); }
.msg small { display: block; font-size: 10.5px; color: var(--ink-muted); margin-bottom: 2px; font-weight: 600; }
.msg.me { align-self: flex-end; color: #fff; border-color: transparent; background: var(--btn-grad); }
.msg.me small { color: rgba(255, 255, 255, .75); }
.msg-voice { display: flex; align-items: center; gap: 8px; }
.msg-voice svg { width: 100px; height: 20px; color: var(--accent); }
.msg-voice em { font-style: normal; font-size: 11px; color: var(--ink-muted); font-family: var(--font-num); }
.ph-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 14px; border-top: 1px solid var(--hairline); background: var(--surface); }
.ph-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 10px; color: var(--ink-muted); }
.ph-tabs span::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 1.6px solid currentColor; }
.ph-tabs span.on { color: var(--accent); }

/* ---------- plans ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; }
.plan h2 { font-size: 1.45rem; font-weight: 700; }
.plan .users { margin-top: 6px; font-weight: 600; color: var(--accent); font-size: .95rem; }
.plan .sub { margin-top: 6px; color: var(--ink-2); }
@media (min-width: 640px) { .plan .sub { min-height: 3.2em; } :lang(ar) .plan .sub { min-height: 3.6em; } }
.plan .btn { margin-top: 20px; }
.plan-list { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--hairline); display: grid; gap: 10px; }
.plan-list .from { color: var(--ink-muted); font-size: .9rem; font-weight: 600; }
.plan-list li:not(.from) { position: relative; padding-inline-start: 26px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.plan-list li:not(.from)::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .1em; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(91, 155, 255, .16) no-repeat center / 11px 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%237a86ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.plan.top { border-color: rgba(122, 134, 255, .45); box-shadow: var(--elev-2), 0 0 0 1px rgba(122, 134, 255, .25); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hairline-2); background: var(--surface); font-size: .93rem; color: var(--ink-2); }

.addon { display: flex; flex-direction: column; }
.addon p { flex: 1; }
.addon .btn { margin-top: 16px; align-self: flex-start; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--elev-1); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; border-inline-end: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact-btns { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .contact-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cbtn {
  display: flex; align-items: center; gap: 18px; padding: 24px; min-height: 112px;
  border-radius: 20px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline-2); box-shadow: var(--elev-2);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s;
}
.cbtn:hover { text-decoration: none; }
a.cbtn[href]:hover { transform: translateY(-2px); border-color: rgba(122, 134, 255, .5); }
.cbtn .cico { width: 56px; height: 56px; border-radius: 16px; flex: none; display: grid; place-items: center; color: #fff; }
.cbtn .cico svg { width: 28px; height: 28px; }
.cbtn-wa .cico { background: linear-gradient(135deg, #1fa855, #128c4a); }
.cbtn-mail .cico { background: var(--btn-grad); }
.cbtn b { display: block; font-size: 1.25rem; font-weight: 700; }
.cbtn small { display: block; margin-top: 2px; color: var(--ink-2); font-size: .95rem; }
.cbtn .cval { display: block; margin-top: 4px; font-size: .9rem; color: var(--ink-muted); direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
[dir="rtl"] .cbtn .cval { text-align: right; }
.cbtn.is-off { cursor: not-allowed; opacity: .6; box-shadow: none; }
.cbtn .go { margin-inline-start: auto; color: var(--ink-muted); }
.cbtn .go svg { width: 20px; height: 20px; }
[dir="rtl"] .cbtn .go svg { transform: scaleX(-1); }
.cbtn.is-off .go { display: none; }
.asked { display: none; margin-top: 20px; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--wash); border: 1px solid var(--hairline-2); color: var(--ink-2); font-size: .95rem; }
.asked.on { display: inline-flex; }
.asked b { color: var(--ink); }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tips li { position: relative; padding-inline-start: 22px; color: var(--ink-2); }
.tips li::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-grad); }

.card .tips { margin-top: 14px; }
.next { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: n; }
.next li { position: relative; padding-inline-start: 42px; color: var(--ink-2); min-height: 28px; }
.next li::before {
  counter-increment: n; content: counter(n); position: absolute; inset-inline-start: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font: 700 13px/1 var(--font-num); color: #fff; background: var(--btn-grad);
}
.next li b { display: block; color: var(--ink); }
.note-start { text-align: start; }

/* the add-ons strip on Features */
.addon-strip { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; }
.addon-strip .ico { grid-row: 1 / span 2; margin: 0; }
.addon-strip h3 { grid-column: 2; }
.addon-strip p { grid-column: 2; margin-top: 4px; }
.addon-strip .cta-row { grid-column: 1 / -1; margin-top: 18px; }
@media (min-width: 900px) {
  .addon-strip { grid-template-columns: auto minmax(0, 1fr) auto; }
  .addon-strip .cta-row { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}

/* the glows sit behind their own section only */
.hero, .page-head, .shot { isolation: isolate; }

/* ---------- footer ---------- */
.foot { margin-top: clamp(8px, 2vw, 24px); border-top: 1px solid var(--hairline); padding-block: 36px 40px; color: var(--ink-muted); font-size: 14px; }
.foot-in { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .foot-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand img { width: 36px; height: 36px; flex: none; }
.foot-brand b { display: block; color: var(--ink); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 900px) { .foot-links { justify-content: flex-end; } }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-small { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 13px; }

/* ---------- not found ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.nf img { width: 72px; height: 72px; margin: 0 auto 20px; }
.nf h1 { font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem); }
.nf p { margin-top: 10px; color: var(--ink-2); }
.nf .cta-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .top, .foot, .cta-band, .theme-btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* "+5 users" under the add-ons grid */
.addon-users { margin-top: 16px; }
