/* ==========================================================================
   وضح — صفحة الهبوط
   الهوية: «وضوح النهار». القيم هنا هي المصدر الوحيد — لا تكرّرها في HTML.
   ========================================================================== */

:root {
  /* الأسطح */
  --bg:        #FBFAF7;
  --surface:   #FFFFFF;
  --sand:      #F4F1EA;
  --sand-deep: #F7F5F0;

  /* الحبر */
  --ink:       #1C2124;
  --ink-2:     #4C5254;
  --muted:     #777C7F;
  --muted-2:   #9CA1A4;

  /* الحدود */
  --line:      #E8E3DA;
  --line-soft: #F1EEE8;
  --line-firm: #DCD6CB;

  /* العلامة */
  --brand:      #12A355;
  --brand-deep: #0B7A3E;
  --brand-lite: #6ED696;
  --brand-tint: #E8F6EE;
  --brand-edge: #C5E9D3;

  /* التنبيه / الدين */
  --warn:       #C97A1E;
  --warn-tint:  #FDF0E2;
  --gold:       #E7B96B;
  --gold-tint:  #FDF4E4;
  --gold-edge:  #EBD9B4;
  --gold-ink:   #8A5A12;

  /* داخل الأقسام الداكنة */
  --dark:        #1C2124;
  --dark-2:      #242A2E;
  --dark-line:   #313940;
  --dark-field:  #161B1E;
  --dark-edge:   #3A434A;
  --on-dark:     #E7EAEC;
  --on-dark-2:   #C7CDD0;
  --on-dark-3:   #ABB2B6;
  --on-dark-4:   #929A9E;
  --on-dark-5:   #838B8F;
  --on-dark-6:   #6B7276;

  /* مكوّنات RGB — كل ‎rgba()‎ في الملف يشتقّ منها، فلا يبقى لون حرفيّ يتخلّف عن العلامة */
  --brand-rgb:      18,163,85;
  --brand-lite-rgb: 110,214,150;
  --ink-rgb:        28,33,36;

  /* ألوان كانت مكتوبة حرفيّة خارج هذا الجدول */
  --dot:       #C9C2B6;
  --mute-tint: #EFF1F0;

  --radius-btn:  12px;
  --radius-fld:  10px;
  --radius-card: 18px;
  --radius-lg:   20px;
  --radius-form: 30px;   /* = ‎--radius-fld‎ + الحشوة الأفقية للبطاقة (10 + 20) */

  /* الظلال — العمق يتكيّف مع أي خلفية، بخلاف الحدّ الصلب */
  --shadow-sm:    0 1px 2px -1px rgba(var(--ink-rgb), .06), 0 2px 6px -2px rgba(var(--ink-rgb), .05);
  --shadow-md:    0 2px 4px -2px rgba(var(--ink-rgb), .07), 0 10px 24px -10px rgba(var(--ink-rgb), .16);
  --shadow-cta:   0 8px 20px -8px rgba(var(--brand-rgb), .45);
  --shadow-cta-h: 0 12px 26px -10px rgba(var(--brand-rgb), .58);

  /* الحركة — منحنى واحد وثلاث مدد، لا أرقام متناثرة */
  --ease:     cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: .15s;
  --dur:      .28s;
  --dur-slow: .55s;

  --nav-h: 74px;

  --display: "Readex Pro", "Segoe UI", system-ui, sans-serif;
  --body:    "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;

  --pad-x: 20px;
  --pad-y: 44px;
}

@media (min-width: 768px)  { :root { --pad-x: 40px; --pad-y: 72px; } }
@media (min-width: 1100px) { :root { --pad-x: 80px; --pad-y: 92px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* بدونها تختفي عناوين ‎#who‎ و‎#features‎ خلف الترويسة اللاصقة عند النقر على الروابط */
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* من يطلب تقليل الحركة يحصل على الصفحة كاملةً بلا حركة — لا محتوى مخفيّاً */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.ticks, .card__d, .faq__a, .woe__d, .flow__d, .checkline span { text-wrap: pretty; }
img, svg { max-width: 100%; }

/* عرض الضربة يأتي من CSS لا من سمة الرمز، حتى يتناسب مع حجم العرض في كل سياق.
   الوزن الفعليّ = العرض هنا × (حجم العرض ÷ 24). الهدف ≈1.8 بجانب نصّ عاديّ، و2 بجانب نصّ 600. */
svg { stroke-width: 1.8; }

/* أرقام متساوية العرض حيثما تتغيّر القيمة أو تصطفّ في عمود */
.phone__total, .phone__amt, .plan__num, .ladder__amt,
.step__n, .flow__n, [data-seats], [data-year] { font-variant-numeric: tabular-nums; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  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 {
  position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 100;
  background: var(--brand); color: #FFF; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { inset-inline-start: 8px; color: #FFF; }

/* ---------- تخطيط ---------- */

.wrap { max-width: 1120px; margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.band--sand { background: var(--sand); }
.band--dark { background: var(--dark); color: var(--on-dark); }
.stack { display: flex; flex-direction: column; }

.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }
/* العربية خطّ متّصل: ‎letter-spacing‎ يقطع وصلات الحروف. التمييز هنا بالحجم والوزن واللون. */
.eyebrow {
  font-size: 12.5px; font-weight: 600; color: var(--brand);
}
.band--dark .eyebrow { color: var(--brand-lite); }

.h1 { font-size: clamp(2.35rem, 8vw, 4.25rem); line-height: 1.28; font-weight: 700; }
.h2 { font-size: clamp(1.75rem, 4.6vw, 2.625rem); line-height: 1.28; font-weight: 600; }
.h3 { font-size: 1.25rem; font-weight: 600; }
.lede { font-size: clamp(1rem, 2.1vw, 1.25rem); line-height: 1.8; color: var(--ink-2); }
.body { font-size: 1rem; line-height: 1.85; color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.75; color: var(--muted-2); }

/* ---------- أزرار وأوسمة ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px; border-radius: var(--radius-btn);
  font-family: var(--body); font-size: 1.0625rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition-property: background-color, color, border-color, box-shadow, scale;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
/* لمسة ملموسة عند الضغط — وحدها التغذية الراجعة على الشاشات التي لا ‎hover‎ فيها */
.btn:active { scale: .96; }
.btn--primary { background: var(--brand); color: #FFF; box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--brand-deep); color: #FFF; box-shadow: var(--shadow-cta-h); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-firm); }
.btn--ghost:hover { color: var(--ink); border-color: var(--muted-2); box-shadow: var(--shadow-sm); }
.btn--light { background: #FFF; color: var(--brand-deep); font-weight: 700; }
.btn--light:hover { background: var(--brand-tint); color: var(--brand-deep); }
.btn--outline-lite { background: transparent; color: var(--brand-lite); border-color: var(--brand-lite); min-height: 48px; font-size: 1rem; }
.btn--outline-lite:hover { background: rgba(var(--brand-lite-rgb), .12); color: var(--brand-lite); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 15px; padding-inline-start: 13px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
  background: var(--brand-tint); border: 1px solid var(--brand-edge); color: var(--brand-deep);
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.badge--on-dark { background: rgba(var(--brand-lite-rgb), .14); border-color: rgba(var(--brand-lite-rgb), .3); color: var(--brand-lite); }
.badge--on-dark .badge__dot { background: var(--brand-lite); }
.badge--gold { background: var(--gold-tint); border-color: var(--gold-edge); color: var(--gold-ink); }

.pill { padding: 4px 11px; border-radius: 999px; font-size: 0.71875rem; font-weight: 700; white-space: nowrap; }
.pill--brand { background: var(--brand); color: #FFF; }
.pill--tint  { background: var(--brand-tint); color: var(--brand-deep); }
.pill--gold  { background: var(--gold); color: var(--ink); }
.pill--mute  { background: var(--sand); color: var(--muted); }

/* ---------- الترويسة ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.93);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition-property: box-shadow, background-color;
  transition-duration: var(--dur);
  transition-timing-function: var(--ease);
}
/* يرتفع الشريط بصرياً فور مغادرة أعلى الصفحة */
.nav.is-stuck { background: rgba(251,250,247,.97); box-shadow: 0 10px 26px -20px rgba(var(--ink-rgb), .55); }
.nav__inner {
  max-width: 1120px; margin: 0 auto; padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); padding-block: 6px; }
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; }
.brand__name { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.nav__links { display: none; align-items: center; gap: 26px; font-size: 0.9375rem; }
/* الحشوة الرأسية ترفع مساحة النقر من ‎24px‎ إلى ‎40px‎ — الحدّ الأدنى لواجهة مكتبية كثيفة */
.nav__links a:not(.btn) {
  position: relative; color: var(--muted);
  padding-block: 8px;
  transition: color var(--dur-fast) ease-out;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--brand); border-radius: 2px;
  scale: 0 1; transform-origin: center;
  transition: scale var(--dur) var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn):hover::after,
.nav__links a.is-current::after { scale: 1 1; }
.nav__links a.is-current { color: var(--ink); }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ---------- الهيرو ---------- */

.hero { padding: 34px var(--pad-x) 30px; }
.hero__grid { display: grid; gap: 34px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.hero__lede { max-width: 540px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 14px; font-size: 0.8125rem; color: var(--muted);
}
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--dot); flex: none; }
.hero__art { display: flex; justify-content: center; position: relative; }
.hero__art::before {
  content: ""; position: absolute; inset: -6% -14%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--brand-rgb), .11), transparent 68%);
}

@media (min-width: 900px) {
  .hero { padding-top: 72px; padding-bottom: 64px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .hero__copy { gap: 26px; }
  .hero__actions { flex-direction: row; align-items: center; }
  .hero__actions .btn { flex: none; }
  .hero__meta { justify-content: flex-start; gap: 10px 22px; }
}

/* ---------- محاكاة الجوال ---------- */

.phone { position: relative; z-index: 1; width: min(328px, 100%); border-radius: 41px; background: var(--ink); padding: 11px; box-shadow: 0 40px 70px -30px rgba(var(--ink-rgb), .45); }
.phone__screen { border-radius: 30px; background: #FFF; overflow: hidden; }
.phone__head { padding: 26px 18px 16px; background: var(--brand); color: #FFF; }
.phone__headrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.phone__shift { font-size: .9375rem; opacity: .85; }
.phone__sync { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(255,255,255,.18); border-radius: 999px; font-size: .75rem; font-weight: 600; }
.phone__total { padding-top: 14px; font-family: var(--display); font-size: 2.125rem; font-weight: 700; }
.phone__sub { font-size: .84375rem; opacity: .8; }
.phone__row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
.phone__row:last-of-type { border-bottom: 0; }
.phone__icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.phone__icon--tint { background: var(--brand-tint); }
.phone__icon--warn { background: var(--warn-tint); }
.phone__icon--mute { background: var(--mute-tint); }
.phone__grow { flex: 1 1 auto; min-width: 0; }
.phone__t { font-size: .90625rem; font-weight: 600; }
.phone__d { font-size: .78125rem; color: var(--muted); }
.phone__amt { font-size: .90625rem; font-weight: 600; }
.phone__amt--warn { color: var(--warn); }
.phone__offline { margin: 8px 14px 16px; padding: 12px 14px; background: var(--sand-deep); border: 1px dashed var(--line-firm); border-radius: 14px; display: flex; align-items: center; gap: 10px; }
.phone__offline span { font-size: .8125rem; color: var(--ink-2); line-height: 1.6; }

/* ---------- شريط الثقة ---------- */

.strip {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden;
}
@media (min-width: 900px) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strip__cell {
  background: var(--surface); padding: 20px 18px; display: flex; flex-direction: column; gap: 8px;
  transition: background-color var(--dur) var(--ease);
}
.strip__cell:hover { background: var(--sand-deep); }
@media (min-width: 900px) { .strip__cell { padding: 26px 24px; } }
.strip__t { font-size: .96875rem; font-weight: 600; }
.strip__d { font-size: .84375rem; color: var(--muted); line-height: 1.7; display: none; }
@media (min-width: 900px) { .strip__d { display: block; } }

/* ---------- شبكات عامة ---------- */

.grid { display: grid; gap: 20px; }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px)  { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition-property: box-shadow, border-color, transform;
  transition-duration: var(--dur);
  transition-timing-function: var(--ease);
}
.card:not(.onboarding-state):hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card--dark:hover, .card--dashed:hover { box-shadow: none; }
.card--dark:hover { border-color: var(--dark-edge); }
.card--dashed:hover { border-color: var(--muted-2); }
.card--dark { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.card--dark .card__d { color: var(--on-dark-3); }
.card--sel { border: 2px solid var(--brand); }
.card--dashed { background: var(--sand); border: 1px dashed var(--line-firm); }
.card__d { font-size: .90625rem; line-height: 1.9; color: var(--muted); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* قائمة صحّ */
.ticks { display: flex; flex-direction: column; gap: 11px; font-size: .9375rem; color: var(--ink-2); }
.tick { display: flex; align-items: flex-start; gap: 9px; }
.tick svg { flex: none; margin-top: 4px; }
.card--dark .ticks { color: var(--on-dark-2); }

/* ---------- المشكلة ---------- */
.woe {
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius-card);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 9px;
  transition: border-color var(--dur) var(--ease);
}
.woe:hover { border-color: var(--dark-edge); }
.woe__t { font-family: var(--display); font-size: .9375rem; font-weight: 600; color: var(--gold); }
.woe__d { font-size: .90625rem; line-height: 1.8; color: var(--on-dark-3); }

/* ---------- الخطوات ---------- */
.step { display: flex; flex-direction: column; gap: 13px; }
.step__top { display: flex; align-items: center; gap: 12px; }
.step__n { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #FFF; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 1.0625rem; flex: none; }
.step__rule { flex: 1 1 auto; height: 1px; background: var(--line); }

/* ---------- الأوفلاين ---------- */
.offline { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 24px; display: grid; gap: 32px; align-items: center; }
@media (min-width: 950px) { .offline { grid-template-columns: .92fr 1.08fr; gap: 52px; padding: 52px 48px; } }
.flow { display: flex; flex-direction: column; }
.flow__row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.flow__row:last-child { border-bottom: 0; }
.flow__n { width: 36px; height: 36px; border-radius: 10px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: .8125rem; font-weight: 700; color: var(--ink-2); flex: none; }
.flow__n--done { background: var(--brand-tint); }
.flow__t { font-size: 1rem; font-weight: 600; padding-bottom: 5px; }
.flow__d { font-size: .90625rem; line-height: 1.75; color: var(--muted); }

/* ---------- الأسعار ---------- */
.plans { display: grid; gap: 20px; align-items: start; }
@media (min-width: 950px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 18px;
  transition-property: box-shadow, border-color, transform;
  transition-duration: var(--dur);
  transition-timing-function: var(--ease);
}
.plan:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan--top:hover { box-shadow: none; border-color: var(--dark-edge); }
.plan--featured { border: 2px solid var(--brand); }
.plan--top { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__num { font-family: var(--display); font-size: 2.875rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.plan__num--text { letter-spacing: normal; }
.plan--top .plan__num { color: var(--on-dark); font-size: 2.125rem; font-weight: 600; }
.plan__cur { font-size: 1.1875rem; font-weight: 600; }
.plan__per { font-size: .9375rem; color: var(--muted-2); }
.plan__for { font-size: .875rem; color: var(--muted-2); line-height: 1.7; }
.plan--top .plan__for { color: var(--on-dark-4); }
.plan__rule { height: 1px; background: var(--line-soft); }
.plan--top .plan__rule { background: var(--dark-line); }
.plan__plus { font-weight: 600; color: var(--ink); }
.plan--top .plan__plus { color: var(--on-dark); }

.founder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; display: grid; gap: 26px; align-items: center; }
@media (min-width: 950px) { .founder { grid-template-columns: 1fr 1fr; gap: 40px; padding: 34px 32px; } }
.founder__copy { display: flex; flex-direction: column; gap: 12px; }
.ladder { display: flex; flex-direction: column; gap: 12px; }
.ladder__row { display: flex; align-items: center; gap: 14px; padding: 15px 17px; background: var(--sand-deep); border-radius: 14px; }
.ladder__row--open { background: transparent; border: 1px dashed var(--line-firm); }
.ladder__grow { flex: 1 1 auto; min-width: 0; }
.ladder__k { font-size: .8125rem; color: var(--muted); }
.ladder__v { font-size: .96875rem; font-weight: 600; }
.ladder__amt { font-family: var(--display); font-size: 1.375rem; font-weight: 700; display: flex; align-items: baseline; gap: 4px; }
.ladder__amt--free { color: var(--brand); }

.pay { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.pay svg { flex: none; }

/* ---------- النموذج ---------- */
.lead { display: grid; gap: 32px; align-items: start; max-width: 1000px; margin: 0 auto; }
@media (min-width: 950px) { .lead { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.lead__copy { display: flex; flex-direction: column; gap: 16px; }
.lead__rule { height: 1px; background: var(--dark-line); margin: 4px 0; }

/* متراكز: نصف قطر البطاقة = نصف قطر الحقل + الحشوة الأفقية (10 + 20 = 30) */
.formcard { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius-form); padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 700px) { .formcard { padding: 34px 32px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: .84375rem; font-weight: 600; color: var(--on-dark-2); }
.field__opt { font-weight: 400; color: var(--on-dark-5); }
.field__hint { font-size: .78125rem; color: var(--on-dark-5); }
.pair { display: grid; gap: 16px; }
@media (min-width: 620px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.input, .select, .textarea {
  width: 100%; min-height: 50px; background: var(--dark-field);
  border: 1px solid var(--dark-edge); border-radius: var(--radius-fld);
  padding: 0 14px; color: var(--on-dark); font-family: var(--body); font-size: .90625rem;
}
.textarea { min-height: 82px; padding: 13px 14px; line-height: 1.7; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--on-dark-6); }
.input, .select, .textarea { transition-property: border-color, box-shadow; transition-duration: var(--dur-fast); transition-timing-function: ease-out; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-lite); outline: none; box-shadow: 0 0 0 3px rgba(var(--brand-lite-rgb), .22); }
.input[dir="ltr"] { text-align: start; }
.select {
  appearance: none; padding-inline-end: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23838B8F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat; background-position: left 14px center;
}

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices--col { flex-direction: column; }
.choice { flex: 1 1 auto; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 14px; background: var(--dark-field); border: 1px solid var(--dark-edge);
  border-radius: var(--radius-fld); font-size: .90625rem; color: var(--on-dark-3);
  cursor: pointer; text-align: center;
  /* ‎all‎ كان يحرّك سُمك الحدّ ووزن الخطّ معاً، فيرتجّ النصّ في كل اختيار */
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
/* الحلقة الداخلية تعطي ثِقل الحدّ ‎1.5px‎ دون تغيير المقاس، فلا يتزحزح النصّ */
.choice input:checked + span {
  background: rgba(var(--brand-lite-rgb), .12);
  border-color: var(--brand-lite);
  box-shadow: inset 0 0 0 1px var(--brand-lite);
  color: var(--brand-lite);
}
.choice input:focus-visible + span { outline: 3px solid var(--brand-lite); outline-offset: 2px; }

.form__note { font-size: .78125rem; color: var(--on-dark-5); text-align: center; line-height: 1.7; }
.form__status { border-radius: var(--radius-fld); padding: 14px 16px; font-size: .90625rem; line-height: 1.75; }
.form__status[hidden] { display: none; }
/* الافتراضي للأسطح الداكنة (‎.formcard‎) */
.form__status--ok  { background: rgba(var(--brand-lite-rgb), .12); border: 1px solid rgba(var(--brand-lite-rgb), .35); color: var(--brand-lite); }
.form__status--err { background: rgba(231,185,107,.10); border: 1px solid rgba(231,185,107,.35); color: var(--gold); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- تجهيز المقبولين ---------- */
.onboarding-header {
  max-width: 1000px; margin: 0 auto; padding: 22px var(--pad-x);
}
.onboarding-page { min-height: calc(100vh - 85px); padding: 24px var(--pad-x) 70px; }
.onboarding-shell { max-width: 760px; margin: 0 auto; display: grid; gap: 26px; }
.onboarding-intro { display: flex; flex-direction: column; gap: 14px; }
.onboarding-intro .body { max-width: 650px; }
.onboarding-steps { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.onboarding-step {
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted-2); font-size: .78rem; background: var(--surface);
}
.onboarding-step--on { color: var(--brand-deep); border-color: var(--brand-edge); background: var(--brand-tint); }
.onboarding-state { align-items: flex-start; }
.onboarding-state[hidden], .onboarding-form[hidden] { display: none; }
.onboarding-form { color: var(--on-dark); }
.onboarding-form fieldset { border: 0; margin: 0; padding: 0; }
.slug-field {
  display: flex; align-items: center; background: var(--dark-field);
  border: 1px solid var(--dark-edge); border-radius: var(--radius-fld); overflow: hidden;
}
.slug-field .input { border: 0; border-radius: 0; min-width: 100px; text-align: left; }
.slug-field > span { color: var(--on-dark-5); font-size: .8rem; padding: 0 12px; white-space: nowrap; }
.onboarding-options { gap: 10px; }
.checkline {
  display: flex; align-items: flex-start; gap: 11px; padding: 12px 13px;
  border: 1px solid var(--dark-edge); background: var(--dark-field);
  border-radius: var(--radius-fld); cursor: pointer;
  transition-property: border-color, background-color;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.checkline:hover:not(:has(input:disabled)) { border-color: var(--on-dark-6); }
.checkline:has(input:checked) { border-color: var(--brand-lite); background: rgba(var(--brand-lite-rgb), .08); }
.checkline input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--brand-lite); flex: none; }
.checkline span { display: flex; flex-direction: column; color: var(--on-dark-2); font-size: .9rem; }
.checkline small { color: var(--on-dark-5); font-size: .78rem; line-height: 1.6; }
.checkline:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.checkline--terms { background: transparent; }
.onboarding-success { align-items: center; text-align: center; padding: 34px 28px; }
.onboarding-check {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand);
}
.onboarding-result { width: 100%; display: grid; gap: 8px; margin: 4px 0; }
.onboarding-result div { padding: 13px 15px; background: var(--sand-deep); border-radius: 12px; }
.onboarding-result dt { color: var(--muted); font-size: .78rem; }
.onboarding-result dd { margin: 3px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.onboarding-result a[aria-disabled="true"], .btn[aria-disabled="true"] {
  pointer-events: none; opacity: .55; cursor: wait;
}
.onboarding-security { width: 100%; margin: 2px 0; }
/* وداخل البطاقات الفاتحة (‎onboarding‎) تنقلب الألوان — بنطاقٍ حتى لا تطغى على ما فوق */
.card .form__status--ok { background: var(--brand-tint); border: 1px solid var(--brand-edge); color: var(--brand-deep); }
@media (max-width: 560px) {
  .slug-field { align-items: stretch; flex-direction: column; }
  .slug-field > span { padding: 8px 12px 12px; }
}

/* ---------- الأسئلة ---------- */
.faq { display: flex; flex-direction: column; max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
/* الحشوة كانت على العنصر الأب، فكان ‎27px‎ فقط من الصفّ يستجيب للنقر */
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  font-size: 1.0625rem; font-weight: 600; cursor: pointer; list-style: none;
  transition: color var(--dur-fast) ease-out;
}
.faq__q:hover { color: var(--brand-deep); }
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { flex: none; transition: transform var(--dur) var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { font-size: .96875rem; line-height: 1.9; color: var(--muted); padding-bottom: 20px; }

/* ---------- الخاتمة ---------- */
.cta-final { background: var(--brand); padding: var(--pad-y) var(--pad-x); }
.cta-final__inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 900px) { .cta-final__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; } }
.cta-final h2 { color: #FFF; }
.cta-final p { color: rgba(255,255,255,.88); font-size: 1.0625rem; line-height: 1.8; max-width: 520px; }

.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 32px var(--pad-x); }
.footer__inner {
  max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column;
  align-items: center; gap: 16px; font-size: .875rem; color: var(--muted); text-align: center;
}
@media (min-width: 900px) { .footer__inner { flex-direction: row; justify-content: space-between; text-align: start; } }
.footer__links { display: flex; align-items: center; gap: 24px; }
/* ‎11px‎ رأسياً ترفع الهدف إلى ‎44px‎ للمس. الفجوة ‎24px‎ فلا تتصادم مساحات النقر. */
.footer__links a { color: var(--muted); padding-block: 11px; transition: color var(--dur-fast) ease-out; }
.footer__links a:hover { color: var(--ink); }

.ltr { direction: ltr; display: inline-block; unicode-bidi: isolate; }

/* ---------- سجل التحديثات ---------- */

.changelog-wrap { max-width: 860px; margin: 0 auto; }
.changelog-hero {
  padding: clamp(64px, 10vw, 112px) var(--pad-x) clamp(52px, 8vw, 82px);
  background:
    radial-gradient(circle at 18% 30%, rgba(var(--brand-rgb), .10), transparent 34%),
    var(--sand-deep);
  border-bottom: 1px solid var(--line);
}
.changelog-hero .stack { gap: 18px; }
.changelog-hero__title { font-size: clamp(2.25rem, 7vw, 3.75rem); }
.changelog-promise {
  align-self: flex-start; padding: 10px 14px; border: 1px solid var(--brand-edge);
  border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep);
  font-size: .875rem; font-weight: 500;
}

.release-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 38px; }
.release { display: grid; gap: 16px; }
.release__meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .875rem; }
.release__meta time { font-variant-numeric: tabular-nums; }
.release__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
}
.release__head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.release__kicker { color: var(--brand); font-size: .8125rem; font-weight: 600; }
.release__title { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.release__group { display: grid; gap: 12px; padding-top: 24px; }
.release__kind {
  width: max-content; margin: 0; padding: 5px 11px; border-radius: 999px;
  font-family: var(--body); font-size: .75rem; font-weight: 700;
}
.release__kind--new { color: var(--brand-deep); background: var(--brand-tint); }
.release__kind--improved { color: var(--ink-2); background: var(--sand); }
.release__kind--fixed { color: var(--gold-ink); background: var(--gold-tint); }
.release__items { margin: 0; padding-inline-start: 1.25rem; color: var(--ink-2); }
.release__items li { padding-inline-start: 6px; line-height: 1.9; }
.release__items li + li { margin-top: 8px; }
.release__items li::marker { color: var(--brand); }

.changelog-start {
  display: flex; align-items: flex-start; gap: 16px; margin-top: 34px; padding: 22px;
  border: 1px dashed var(--line-firm); border-radius: var(--radius-card); background: var(--sand-deep);
}
.changelog-start__mark { width: 12px; height: 12px; margin-top: 7px; border: 3px solid var(--brand); border-radius: 50%; flex: none; }
.changelog-start .body { padding-top: 5px; }

.changelog-teaser {
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  padding: 26px 24px; border: 1px solid var(--brand-edge); border-radius: var(--radius-lg);
  background: var(--brand-tint);
}
.changelog-teaser .body { max-width: 650px; }
.changelog-teaser .btn { flex: none; }

@media (min-width: 760px) {
  .release { grid-template-columns: 150px minmax(0, 1fr); align-items: start; }
  .release__meta { position: sticky; top: calc(var(--nav-h) + 22px); flex-direction: column; align-items: flex-start; padding-top: 6px; }
  .release__card { padding: 34px 32px; }
  .changelog-start { margin-inline-start: 166px; }
  .changelog-teaser { flex-direction: row; align-items: center; justify-content: space-between; padding: 30px 32px; }
}

/* زرّ الترويسة على الشاشات الضيّقة — نسخة ثانية تختفي حين تظهر قائمة الروابط */
[data-hide-on-desktop] { display: inline-flex; }
@media (min-width: 900px) { [data-hide-on-desktop] { display: none !important; } }

/* ==========================================================================
   وزن الأيقونات حسب السياق
   الوزن الفعليّ = ‎stroke-width‎ × (حجم العرض ÷ 24). نستهدف ‎1.8‎ بجانب النصّ
   العاديّ و‎2‎ بجانب نصّ ‎600‎، فتحمل الأيقونة ثِقل النصّ الذي تجاوره.
   ========================================================================== */

.strip__cell svg    { stroke-width: 1.8;  }  /* 24px → 1.80 */
.card > svg,
.card__head svg     { stroke-width: 1.7;  }  /* 26px → 1.84 */
.pay svg            { stroke-width: 1.45; }  /* 30px → 1.81 */
.phone__row svg     { stroke-width: 2.3;  }  /* 19px → 1.82 */
.phone__offline svg,
.flow__n svg        { stroke-width: 2.4;  }  /* 18px → 1.80 */
.tick svg           { stroke-width: 2.55; }  /* 17px → 1.81 */
.phone__sync svg    { stroke-width: 3.5;  }  /* 13px → 1.90، بجانب نصّ 600 */
.faq__chev          { stroke-width: 2.4;  }  /* 20px → 2.00، بجانب نصّ 600 */
.form-done__check   { stroke-width: 1.3;  }  /* 44px → 2.38، مستقلّة وبارزة */

/* ==========================================================================
   الحركة
   دخولٌ مرحليّ يُروى مرّة واحدة (‎keyframes‎)، وتغذية راجعة للتفاعل (‎transition‎).
   لا شيء هنا يعمل لمن طلب تقليل الحركة — الحارس في أعلى الملف يعطّله كلّه.
   ========================================================================== */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* الإخفاء مشروط بـ‎.js‎: لو تعطّل السكربت ظهرت الصفحة كاملةً بلا حركة */
.js [data-enter] {
  opacity: 0;
  animation: rise .6s var(--ease) var(--d, 0ms) forwards;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition-property: opacity, transform;
  transition-duration: var(--dur-slow);
  transition-timing-function: var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* خطّ الخطوة يمتدّ من الرقم إلى الخارج حين يدخل القسم المشهد */
.js .step__rule {
  scale: 0 1; transform-origin: right center;
  transition: scale .7s var(--ease) 220ms;
}
.js .step.is-in .step__rule { scale: 1 1; }

/* «بانتظار المزامنة» ينبض ثلاث مرّات ثم يسكن — يروي وعد المنتج، ولا يبقى يلحّ */
@keyframes sync-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .45; }
}
.js .phone__sync svg { animation: sync-pulse 1.7s ease-in-out 1.5s 3; }

/* رسائل الحالة تدخل بانزلاق قصير بدل أن تقفز */
.form__status:not([hidden]) { animation: rise var(--dur) var(--ease); }

/* جواب السؤال ينزلق للأسفل عند الفتح. الإغلاق فوريّ — ‎<details>‎ يزيل المحتوى
   من العرض، ولا يمكن تحريك خروجه بلا جافاسكربت. */
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.js .faq__item[open] .faq__a { animation: faq-open var(--dur) var(--ease); }

/* شاشة «وصلنا طلبك» — دخول مرحليّ لأنها لحظة تُرى مرّة واحدة */
.form-done { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 18px 0; }
