/* موقع أدرك: شكل خاص فيه (عمار 13 ت2: «غير الموديل شوي عن مدارك الرقمية»).
   موقع منتج: صفحة فاتحة، صورة النظام بالواجهة، عناوين عربية بلا ترقيم، وأزرار بزوايا. البترولي لون قائد متل النظام نفسه. */
:root {
  --bg: #f6f9fa;
  --surface: #ffffff;
  --tint: #eaf2f5;
  --tint-2: #d9e9ee;
  --ink: #10262d;
  --ink-2: #465c65;
  --ink-3: #566b74;
  --line: #dbe5e9;
  --line-2: #c3d2d8;
  --petrol: #0e6b86;
  --petrol-h: #0b5a71;
  --deep: #07303c;
  --deeper: #05252f;
  --aqua: #3fb8d1;
  --on-deep: #f1f8fa;
  --on-deep-2: #a8c4cd;
  --btn: #0e6b86;
  --btn-h: #0b5a71;
  --btn-ink: #ffffff;
  --soon-bg: #fbf0d9;
  --soon: #8f5b00;
  --good: #17784f;
  --bad: #b3261e;
  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 28px 56px -32px rgb(7 48 60 / 0.38), 0 2px 8px -2px rgb(7 48 60 / 0.1);
  --f: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --wrap: 1160px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}
/* الليلي: نفس القيم مرتين، مرة لاختيار الزائر ومرة لإعداد جهازه إذا السكربت ما اشتغل. */
:root[data-theme="dark"] {
  --bg: #06212a;
  --surface: #0b2e39;
  --tint: #092834;
  --tint-2: #103947;
  --ink: #eef6f8;
  --ink-2: #b4cbd3;
  --ink-3: #8fabb5;
  --line: #16404d;
  --line-2: #235566;
  --petrol: #62c8de;
  --petrol-h: #86d6e8;
  --deep: #0c3340;
  --deeper: #041a21;
  --btn: #3fb8d1;
  --btn-h: #62c8de;
  --btn-ink: #04222b;
  --soon-bg: #3a2c0c;
  --soon: #f0c56a;
  --good: #5fd0a0;
  --bad: #ff9b93;
  --shadow: 0 28px 56px -32px rgb(0 0 0 / 0.7), 0 2px 8px -2px rgb(0 0 0 / 0.4);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #06212a;
    --surface: #0b2e39;
    --tint: #092834;
    --tint-2: #103947;
    --ink: #eef6f8;
    --ink-2: #b4cbd3;
    --ink-3: #8fabb5;
    --line: #16404d;
    --line-2: #235566;
    --petrol: #62c8de;
    --petrol-h: #86d6e8;
    --deep: #0c3340;
    --deeper: #041a21;
    --btn: #3fb8d1;
    --btn-h: #62c8de;
    --btn-ink: #04222b;
    --soon-bg: #3a2c0c;
    --soon: #f0c56a;
    --good: #5fd0a0;
    --bad: #ff9b93;
    --shadow: 0 28px 56px -32px rgb(0 0 0 / 0.7), 0 2px 8px -2px rgb(0 0 0 / 0.4);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
.site {
  overflow-x: clip;
  letter-spacing: 0;
  font-synthesis: none;
  accent-color: var(--petrol);
  caret-color: var(--petrol);
}
::selection {
  background: var(--tint-2);
  color: var(--ink);
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
fieldset {
  border: 0;
  min-width: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.num {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* الأيقونات: Phosphor duotone، والخطية للأسهم والقائمة */
.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico.ph {
  fill: currentColor;
  stroke: none;
}
.ico.ph .tone {
  opacity: 0.18;
}

/* الأزرار: زوايا 10، مو حبّة */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.16s,
    border-color 0.16s,
    color 0.16s,
    transform 0.12s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-p {
  background: var(--btn);
  color: var(--btn-ink);
}
.btn-p:hover {
  background: var(--btn-h);
}
.btn-s {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-s:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--petrol);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.35em;
  transition: text-decoration-color 0.16s;
}
.more:hover {
  text-decoration-color: currentColor;
}
.more .ico {
  width: 1em;
  height: 1em;
  transition: transform 0.2s var(--ease);
}
.more:hover .ico {
  transform: translateX(-3px);
}

/* الترويسة */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  flex: none;
}
.brand img {
  width: 132px;
  height: auto;
}
.logo-d,
:root[data-theme="dark"] .logo-l {
  display: none;
}
:root[data-theme="dark"] .logo-d {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-l {
    display: none;
  }
  :root:not([data-theme]) .logo-d {
    display: block;
  }
}
.nav {
  display: flex;
  gap: 4px;
  margin-inline-end: auto;
}
.nav a {
  position: relative;
  padding: 8px 12px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.16s;
}
.nav a:hover {
  color: var(--ink);
}
.nav a.on {
  color: var(--ink);
  font-weight: 600;
}
.nav a.on::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: -14px;
  height: 2px;
  background: var(--petrol);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    border-color 0.16s,
    color 0.16s;
}
.icon-btn:hover {
  border-color: var(--line-2);
  color: var(--ink);
}
.thm .sun,
:root[data-theme="dark"] .thm .moon {
  display: none;
}
:root[data-theme="dark"] .thm .sun {
  display: block;
}
.burger {
  display: none;
}
@media (max-width: 860px) {
  .nav,
  .hdr .desk {
    display: none;
  }
  .hdr .wrap {
    gap: 10px;
    min-height: 60px;
  }
  .brand {
    margin-inline-end: auto;
  }
  .brand img {
    width: 118px;
  }
  .burger {
    display: inline-grid;
  }
}

/* درج الجوال: بيفتح من جهة البداية (اليمين) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(5 37 47 / 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0s 0.2s;
}
/* بيبين فوراً حتى زر الإغلاق ياخد التركيز، وبيختفي بعد ما يخلص التلاشي */
.drawer.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s;
}
.drawer .panel {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(86vw, 340px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  overflow-y: auto;
}
.drawer.open .panel {
  transform: none;
}
.drawer .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.drawer .top img {
  width: 118px;
}
.drawer a.l {
  padding: 13px 4px;
  font-weight: 600;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.drawer .btns {
  margin-top: 20px;
}
.drawer .btns .btn {
  flex: 1;
}

/* الواجهة: النص من جهة، وصورة النظام من الجهة التانية وطالعة عن حد الصفحة */
.hero {
  background: linear-gradient(180deg, var(--tint), var(--bg));
  padding-block: clamp(40px, 6vw, 76px) clamp(56px, 7vw, 92px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.tag {
  font-size: 15px;
  font-weight: 600;
  color: var(--petrol);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2rem, 3.9vw, 2.95rem);
  line-height: 1.3;
}
.hero h1 em {
  font-style: normal;
  color: var(--petrol);
}
.lead {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.hero .lead {
  margin-top: 18px;
}
.hero .btns {
  margin-top: 28px;
}
.hero-shot {
  position: relative;
  min-width: 0;
}
.hero-shot .desk {
  width: 136%;
  max-width: none;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.hero-shot .phone {
  position: absolute;
  inset-inline-start: -22px;
  bottom: -30px;
  width: 23%;
  min-width: 112px;
  border: 5px solid #0b1a1f;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #0b1a1f;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-shot {
    margin-bottom: 18px;
  }
  .hero-shot .desk {
    width: 100%;
  }
  .hero-shot .phone {
    inset-inline-start: -6px;
    bottom: -22px;
    width: 27%;
    border-width: 4px;
    border-radius: 16px;
  }
}

/* ثلاث حقائق تحت الواجهة */
.facts {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.facts ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.facts li {
  padding: 20px 24px;
  border-inline-start: 1px solid var(--line);
}
.facts li:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}
.facts b {
  display: block;
  font-weight: 600;
}
.facts span {
  display: block;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
}
@media (max-width: 700px) {
  .facts ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts li {
    padding: 14px 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .facts li:first-child {
    border-top: 0;
  }
}

/* الأقسام */
.sec {
  padding-block: clamp(56px, 8vw, 100px);
}
.sec.surface {
  background: var(--surface);
}
.sec.tint {
  background: var(--tint);
}
.shead {
  max-width: 40em;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.shead h2,
.split h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
}
.shead .lead,
.split .lead {
  margin-top: 10px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.split > .side {
  position: sticky;
  top: 100px;
}
.split .more {
  margin-top: 18px;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .split > .side {
    position: static;
  }
}

/* نقاط بأيقونة: بلا بطاقات */
.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
}
.points.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.points .ico {
  width: 30px;
  height: 30px;
  color: var(--petrol);
  margin-bottom: 10px;
}
.points h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
.points p {
  margin-top: 4px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
}
@media (max-width: 860px) {
  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}
@media (max-width: 520px) {
  .points,
  .points.two {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .points > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
  }
  .points .ico {
    grid-row: span 2;
    margin: 4px 0 0;
  }
}

/* اختيار من مجموعة: للتبويب ولسؤالي الباقة */
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--tint-2);
  border-radius: 12px;
  max-width: 100%;
}
.seg button,
.seg label > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  transition:
    background-color 0.16s,
    color 0.16s;
}
.seg button:hover,
.seg label:hover > span {
  color: var(--ink);
}
.seg button[aria-selected="true"],
.seg input:checked + span {
  background: var(--surface);
  color: var(--petrol);
  box-shadow: 0 1px 3px rgb(7 48 60 / 0.16);
}
.seg label {
  position: relative;
  display: inline-flex;
}
.seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.seg input:focus-visible + span {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
}

/* اللوحة يلي بتنفتح بتدخل بهدوء، وهي ظاهرة من الأصل */
[data-panel]:not([hidden]),
[data-plan]:not([hidden]) {
  animation: panel-in 0.22s var(--ease);
}
@keyframes panel-in {
  from {
    opacity: 0.35;
    transform: translateY(4px);
  }
}

/* الأنشطة: نص وصورة من النظام لكل نشاط */
.act {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: 28px;
}
.act h3 {
  font-size: 1.35rem;
}
.act .from {
  margin-top: 6px;
  color: var(--ink-2);
}
.act .from b {
  color: var(--ink);
  font-weight: 600;
}
.act .ticks {
  margin-top: 16px;
}
.act .more {
  margin-top: 20px;
}
.shot {
  min-width: 0;
}
.shot img {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.shot figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-3);
}
@media (max-width: 860px) {
  .act {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-block: 5px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}
.ticks li .ico {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--petrol);
}
.ticks li > span {
  min-width: 0;
}
.soon {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 0 8px;
  border-radius: 99px;
  background: var(--soon-bg);
  color: var(--soon);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.7;
  vertical-align: 1px;
}

/* الخطوات الست بالرئيسية: الرقم هو الترتيب */
.steps6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  counter-reset: s;
}
.steps6 li {
  counter-increment: s;
  padding-top: 16px;
  border-top: 2px solid var(--petrol);
}
.steps6 li::before {
  content: counter(s);
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--petrol);
  font-variant-numeric: tabular-nums;
}
.steps6 h3 {
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 600;
}
.steps6 p {
  margin-top: 4px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
}
.sec .after {
  margin-top: 32px;
}
@media (max-width: 860px) {
  .steps6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 24px;
  }
}
@media (max-width: 520px) {
  .steps6 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* الباقة من سؤالين */
.picker {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.picker .qs {
  display: grid;
  gap: 26px;
}
.picker legend {
  padding: 0;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.1rem;
}
.plan {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.plan .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--petrol);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.price b {
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
}
.price span {
  color: var(--ink-2);
}
.plan .terms {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 16px;
}
.plan .terms li + li {
  margin-top: 2px;
}
.plan .has {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
}
.plan .ticks {
  margin-top: 4px;
}
.plan .btn {
  margin-top: 20px;
  width: 100%;
}
@media (max-width: 860px) {
  .picker {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .picker .seg {
    display: flex;
  }
  .picker .seg label {
    flex: 1 1 auto;
  }
  .picker .seg label > span {
    width: 100%;
    padding: 0 12px;
  }
}

/* درجات الحجم بصفحة الباقات: لوحة وحدة بأربع أعمدة */
.ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.ladder > div {
  padding: 26px 22px;
  border-inline-start: 1px solid var(--line);
}
.ladder > div:first-child {
  border-inline-start: 0;
}
.ladder h3 {
  font-size: 1.15rem;
}
.ladder .users {
  font-size: 15px;
  color: var(--ink-3);
}
.ladder .price b {
  font-size: 2.2rem;
}
.ladder .setup {
  font-size: 15px;
  color: var(--ink-2);
}
.ladder .has {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
}
.ladder .ticks li {
  font-size: 15px;
  padding-block: 3px;
}
.note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--ink-3);
  max-width: 52em;
}
@media (max-width: 960px) {
  .ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ladder > div:nth-child(3) {
    border-inline-start: 0;
  }
  .ladder > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 520px) {
  .ladder {
    grid-template-columns: minmax(0, 1fr);
  }
  .ladder > div {
    border-inline-start: 0;
  }
  .ladder > div + div {
    border-top: 1px solid var(--line);
  }
}

/* طرق الدفع: صف واحد بفواصل */
.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line-2);
}
.ways > div {
  padding: 24px 28px;
  border-inline-start: 1px solid var(--line-2);
}
.ways > div:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}
.ways h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
.ways p {
  color: var(--ink-2);
  font-size: 16px;
}
@media (max-width: 700px) {
  .ways {
    grid-template-columns: minmax(0, 1fr);
  }
  .ways > div {
    padding: 16px 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line-2);
  }
  .ways > div:first-child {
    border-top: 0;
  }
}

/* رأس الصفحات الداخلية */
.phead {
  background: var(--tint);
  padding-block: clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.crumb {
  display: flex;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.crumb a:hover {
  color: var(--petrol);
}
.crumb span {
  color: var(--line-2);
}
.phead h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}
.phead .lead {
  margin-top: 10px;
}

/* طريقة العمل: خط زمني عمودي، وجنبه ما نلتزم به */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.tl {
  counter-reset: s;
}
.tl li {
  position: relative;
  counter-increment: s;
  padding-inline-start: 60px;
  padding-bottom: 30px;
}
.tl li::before {
  content: counter(s);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--petrol);
  border-radius: 50%;
  background: var(--bg);
  color: var(--petrol);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tl li::after {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  top: 44px;
  bottom: 6px;
  width: 2px;
  background: var(--line-2);
}
.tl li:last-child {
  padding-bottom: 0;
}
.tl li:last-child::after {
  display: none;
}
.tl h3 {
  font-size: 1.15rem;
  padding-top: 3px;
}
.tl p {
  margin-top: 4px;
  color: var(--ink-2);
  max-width: 36em;
}
.assure {
  position: sticky;
  top: 100px;
  padding: 26px 26px 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.assure h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.assure dt {
  font-weight: 600;
}
.assure dd {
  margin-bottom: 16px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
@media (max-width: 860px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .assure {
    position: static;
  }
}

/* من العرض إلى القبض: أربع مستندات وبيناتها سهم */
.chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.chain .doc {
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.chain .doc .ico {
  width: 28px;
  height: 28px;
  color: var(--petrol);
  margin-bottom: 10px;
}
.chain h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
.chain p {
  margin-top: 4px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.chain .to {
  display: grid;
  place-items: center;
  color: var(--petrol);
}
.chain .to .ico {
  width: 22px;
  height: 22px;
}
@media (max-width: 960px) {
  .chain {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .chain .to .ico {
    transform: rotate(-90deg);
  }
}

/* الجاهز اليوم وما يأتي بعده */
.status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.status h3 {
  font-size: 1.15rem;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--petrol);
}
.status .later h3 {
  border-bottom-color: var(--line-2);
  color: var(--ink-2);
}
.status .later .ticks li .ico {
  color: var(--ink-3);
}
@media (max-width: 700px) {
  .status {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* من وراءه */
.who {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.who h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
}
.who .lead {
  margin-top: 10px;
}
.who .btn {
  margin-top: 22px;
}
.who dl {
  border-top: 1px solid var(--line-2);
}
.who dl > div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-2);
}
.who dt {
  font-weight: 600;
}
.who dd {
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .who {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .who dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* الدعوة للتجربة: لوحة جوّا الصفحة، مو شريط بعرضها */
.cta {
  padding-block: clamp(40px, 6vw, 72px);
}
.cta .panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: 20px;
  background: var(--deep);
  color: var(--on-deep);
}
.cta h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.cta p {
  margin-top: 6px;
  color: var(--on-deep-2);
}
.cta .btn-p {
  background: #ffffff;
  color: #07303c;
}
.cta .btn-p:hover {
  background: #e3f1f5;
}
.cta .btn-s {
  background: transparent;
  border-color: rgb(255 255 255 / 0.32);
  color: var(--on-deep);
}
.cta .btn-s:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* طلب التجربة */
.try {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.try h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
.try .tl {
  margin-top: 22px;
}
.tform {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.tform label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}
.tform .wide {
  grid-column: 1 / -1;
}
.tform input,
.tform select,
.tform textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--bg);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.tform textarea {
  resize: vertical;
}
.tform input:focus,
.tform select:focus,
.tform textarea:focus {
  outline: 2px solid var(--aqua);
  outline-offset: 1px;
  border-color: var(--petrol);
}
.tform input::placeholder {
  color: var(--ink-3);
}
.tform .hp {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tform .msg {
  min-height: 1.6em;
  font-size: 15px;
  font-weight: 600;
}
.tform .msg[data-tone="bad"] {
  color: var(--bad);
}
.tform .msg[data-tone="good"] {
  color: var(--good);
}
.tform .btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
@media (max-width: 860px) {
  .try {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .tform {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* التذييل */
.ftr {
  background: var(--deeper);
  color: var(--on-deep-2);
  padding-block: 48px calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: 15.5px;
}
.ftr .cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 3fr);
  gap: 32px 48px;
}
.ftr img {
  width: 132px;
}
.ftr .about {
  margin-top: 14px;
  max-width: 30em;
  line-height: 1.8;
}
.ftr h4 {
  margin-bottom: 10px;
  color: var(--on-deep);
  font-size: 15.5px;
  font-weight: 600;
}
.ftr li {
  padding-block: 3px;
}
.ftr a {
  transition: color 0.16s;
}
.ftr a:hover {
  color: #ffffff;
}
.ftr .bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 14.5px;
}
.ftr .bot a {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
@media (max-width: 700px) {
  .ftr .cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ftr .cols > div:first-child {
    grid-column: 1 / -1;
  }
}

/* واتساب العائم (بيظهر بس إذا في رقم) */
.waf {
  position: fixed;
  inset-inline-end: max(18px, env(safe-area-inset-left, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #128c7e;
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.5);
}
.waf .ico {
  width: 28px;
  height: 28px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
@media print {
  .hdr,
  .drawer,
  .cta,
  .waf {
    display: none;
  }
}
