/* =====================================================================
   الصفحة التعريفية · فوق رموز «الدفتر» (system.css وcolor.css)
   حبران: الحبر لما استقر، والأزرق لما ينتظر إنسانًا (أزرار القرار والختم). الأزرق الفاتح جوّ لا إشارة.
   Markazi Text للعناوين والأرقام، وVazirmatn للواجهة. سلّم الخط حتى 40 (ق٣). لا تباعد حروف على العربية.
   الحركة: transform وopacity فقط، بمدد ومنحنيات system.css. «تقليل الحركة»: لا حركة، والكل ظاهر ومكتمل.
   الجوال أولًا: كل قاعدة للحاسوب داخل min-width.
   ===================================================================== */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--paper); }
.lp { overflow-x: clip; }
.lp-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.lp-narrow { width: min(820px, 100% - 32px); }
.lp-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: var(--r-2); transition: top var(--d-ui) var(--ease-out); }
.lp-skip:focus { top: 12px; }
.num { font-family: var(--f-display); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- الأزرار ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; font-size: var(--t-14); font-weight: 600; white-space: nowrap;
  transition: transform var(--d-press) var(--ease-out), box-shadow var(--d-fast) ease, background-color var(--d-fast) ease; }
.lp-btn svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lp-btn:active { transform: scale(.97); }
.lp-btn--lg { min-height: 52px; padding: 0 26px; font-size: var(--t-15); }
.lp-btn--blue { color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 88%, #fff) 0%, var(--blue) 55%, #2437B3 100%);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--blue) 70%, transparent); }
.lp-btn--blue:hover { box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--blue) 80%, transparent); }
:root[data-theme="dark"] .lp-btn--blue { color: #0C0E13; background: var(--blue); }
.lp-btn--ink { color: var(--ink); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule-2), var(--shadow-1); }
.lp-btn--ink:hover { box-shadow: inset 0 0 0 1px var(--ink-4), var(--shadow-2); }
.lp-btn--ghost { color: var(--ink); }
.lp-btn--ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.lp-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink-2); }
.lp-icon-btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.lp-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- الرأس ---------- */
.lp-top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--d-ui) ease, box-shadow var(--d-ui) ease; }
.lp-top.is-stuck { border-color: var(--rule); box-shadow: 0 8px 24px -20px rgba(23, 24, 28, .4); }
.lp-top-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); min-height: 44px; }
.lp-logo .display { font-size: var(--t-24); font-weight: 600; line-height: 1; }
.lp-logo-mark .lg-line { fill: var(--blue); opacity: .55; }
.lp-logo-mark .lg-dia rect { fill: var(--blue); }
.lp-nav { display: none; gap: 4px; margin-inline-start: 18px; }
.lp-nav a { padding: 10px 12px; border-radius: 999px; color: var(--ink-2); font-size: var(--t-14); }
.lp-nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.lp-top-acts { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
/* R-07 (المراجعة): «الدخول» ظاهر في رأس الجوال أيضًا، بمسافات أضيق حتى يتسع الرأس على 375 */
@media (max-width: 759px) {
  .lp-top-acts { gap: 2px; }
  .lp-top-acts .lp-btn { padding: 0 12px; }
  .lp-logo .display { font-size: var(--t-20); }
  .lp-logo-mark { width: 28px; height: 25px; }
  .lp-logo .display { white-space: nowrap; }
}
/* N-04 (إعادة الفحص الثانية): على أضيق الشاشات (320) لا يتسع الرأس للاسم والأزرار الثلاثة. يبقى المعيّن وحده، والاسم في
   aria-label الرابط وفي المقدمة والتذييل، فتبقى «الدخول» و«انضم معنا» كاملتين داخل الشاشة. */
@media (max-width: 359px) { .lp-top .lp-logo .display { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (min-width: 980px) { .lp-nav { display: flex; } }

/* ---------- القسم الأول ---------- */
.lp-hero { position: relative; isolation: isolate; padding: 18px 0 48px;
  background:
    radial-gradient(900px 380px at 78% -120px, var(--wash), transparent 70%),
    radial-gradient(700px 320px at 12% -140px, var(--wash-2), transparent 70%); }
.lp-hero .sh-layer { z-index: 0; }
#sh-ms.lp-wait { opacity: 0; }
/* المعيّن الكبير خلف البطاقة (backdrop.js يضعه بإزاحة 200): على الجوال 240 بدل 400، والهامش 80 يبقيه في وسط البطاقة،
   فيبقى داخل الشاشة كله حتى وهو مائل يطفو (قطره نحو 346 على شاشة 375). */
@media (max-width: 420px) { .lp-hero #sh-big { width: 240px; height: 240px; margin: 80px 0 0 80px; } }
#sh-ms { transition: opacity var(--d-ui) ease; }
#sh-ms.sh-layer { z-index: 4; }
.lp-hero-in { position: relative; z-index: 2; display: grid; gap: 28px; }
.lp-copy { min-width: 0; padding-top: 10px; }
.lp-eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-13); font-weight: 600;
  color: color-mix(in srgb, var(--blue) 75%, var(--ink-3)); }
.lp-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; background: var(--blue); transform: rotate(45deg); }
.lp-h1 { margin: 14px 0 0; font-size: var(--t-40); line-height: 1.2; font-weight: 700; color: var(--ink); text-wrap: balance; }
.lp-h1 .w { display: block; }
.lp-ink { color: var(--blue); }
.lp-lead { margin: 16px 0 0; font-size: var(--t-17); line-height: 1.9; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lp-note { margin: 12px 0 0; font-size: var(--t-13); color: var(--ink-3); }
.lp-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--t-13); color: var(--ink-2); }
.lp-trust li { display: inline-flex; align-items: center; gap: 6px; }
.lp-trust svg { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-copy .notice { margin-bottom: 14px; padding: 12px 14px; border-radius: var(--r-2); background: var(--blue-tint); color: var(--ink); font-size: var(--t-14); }

/* بطاقة الجاهزية: ورقة من «الدفتر» يقف عليها شاهد. المسافة فوقها لجسمه وفقاعته */
.lp-demo { position: relative; min-width: 0; padding-top: 150px; display: grid; justify-items: center; }
.lp-card { position: relative; z-index: 3; width: min(440px, 100%); background: var(--sheet); border-radius: var(--r-4);
  padding: 20px 22px; box-shadow: var(--shadow-3); outline: 1px solid var(--rule);
  transition: outline-color var(--d-fast) ease, transform var(--d-ui) var(--ease-out); }
.lp-card.is-hot { outline: 2px solid var(--blue); transform: translateY(-2px); }
.lp-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-card-h h2 { margin: 0; font-size: var(--t-17); font-weight: 700; }
.lp-badge { font-size: var(--t-12); font-weight: 600; color: var(--blue); background: var(--blue-tint); padding: 4px 10px; border-radius: 999px; }
.lp-ring-row { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.lp-ring { flex: none; }
.lp-ring circle { fill: none; stroke-width: 10; }
.lp-ring .track { stroke: var(--blue-tint); }
.lp-ring .arc { stroke: var(--blue); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%;
  transition: stroke-dasharray var(--d-dry) var(--ease-ink); }
.lp-ring text { font-size: 24px; font-weight: 700; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.lp-ring-note { margin: 0; font-size: var(--t-14); line-height: 1.8; color: var(--ink-2); }
.lp-ring-note b { color: var(--ink); }
.lp-done-note { color: var(--blue); font-weight: 700; }
.lp-std { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-row-h { display: flex; justify-content: space-between; gap: 8px; font-size: var(--t-14); }
.lp-row-h .num { color: var(--ink-3); font-size: var(--t-15); }
.lp-bar { height: 7px; margin-top: 6px; border-radius: 99px; background: var(--blue-tint); overflow: hidden; }
.lp-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--blue); transform-origin: 100% 50%;
  transform: scaleX(var(--p, .8)); transition: transform var(--d-dry) var(--ease-ink); }
.lp-slot { margin-top: 7px; display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-12); color: var(--ink-2);
  border: 1px dashed var(--blue-line); border-radius: 8px; padding: 4px 10px; min-height: 28px; transition: background-color var(--d-ui) ease; }
.lp-slot-f { display: none; align-items: center; gap: 5px; }
.lp-slot svg { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lp-slot.is-full { border-style: solid; border-color: transparent; background: var(--blue-tint); color: var(--blue); font-weight: 600; }
.lp-slot.is-full .lp-slot-e { display: none; }
.lp-slot.is-full .lp-slot-f { display: inline-flex; }
.lp-slot.is-wet { animation: lp-wet var(--d-dry) var(--ease-ink); }
@keyframes lp-wet { from { opacity: .4; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* الملفات تحت البطاقة: تظهر حين يعمل JavaScript فقط */
.lp-tray { display: none; width: min(440px, 100%); margin-top: 16px; position: relative; z-index: 6; }
.js .lp-tray { display: block; }
.lp-tray-h { margin: 0 0 10px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--t-13); color: var(--ink-2); }
.lp-tray-h svg { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-file { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px;
  background: var(--sheet); color: var(--ink); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--rule-2), var(--shadow-1);
  font-size: var(--t-13); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  transition: box-shadow var(--d-fast) ease; }
.lp-file svg { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; }
.lp-file:hover { box-shadow: inset 0 0 0 1px var(--blue), 0 10px 24px -12px color-mix(in srgb, var(--blue) 60%, transparent); }
.lp-file.is-drag { cursor: grabbing; z-index: 30; box-shadow: inset 0 0 0 1.5px var(--blue), 0 22px 44px -16px rgba(23, 24, 28, .35); }
.lp-file[aria-disabled="true"] { pointer-events: none; }
.lp-file[hidden] { display: none; }
.lp-reset { display: flex; margin: 12px auto 0; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  color: var(--blue); font-weight: 600; box-shadow: inset 0 0 0 1px var(--blue-line); }
.lp-reset[hidden] { display: none; }
.lp-confetti { position: absolute; inset-inline-start: 50%; top: 170px; width: 0; height: 0; z-index: 8; pointer-events: none; }
.lp-confetti i { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); opacity: 0; }
.lp-confetti i:nth-child(3n) { background: var(--ink); width: 10px; height: 5px; }
.lp-confetti i:nth-child(3n+1) { background: #8F9CF0; width: 6px; height: 10px; }

@media (min-width: 980px) {
  .lp-hero { padding: 26px 0 72px; }
  .lp-hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; }
  .lp-copy { padding-top: 0; }
  .lp-demo { padding-top: 160px; }
}

/* ---------- الأقسام ---------- */
.lp-sec { padding: 72px 0; position: relative; }
.lp-sec + .lp-sec { border-top: 1px solid var(--rule); }
.lp-sec-h { max-width: 640px; }
.lp-center { text-align: center; margin-inline: auto; }
.lp-center .lp-eyebrow { justify-content: center; }
.lp-h2 { margin: 10px 0 0; font-size: var(--t-30); line-height: 1.25; font-weight: 700; text-wrap: balance; }
.lp-split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) {
  .lp-sec { padding: 104px 0; }
  .lp-h2 { font-size: var(--t-40); }
  .lp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}

/* المشكلة: دفتر بسطور، والأوراق تطير إليها */
.lp-ledger { position: relative; min-height: 380px; display: grid; place-items: center; }
.lp-ledger-sheet { width: min(420px, 100%); background: var(--sheet); border-radius: var(--r-4); box-shadow: var(--shadow-3);
  outline: 1px solid var(--rule); padding: 18px 20px 20px; }
.lp-ledger-t { margin: 0 0 6px; display: flex; align-items: center; justify-content: space-between; }
.lp-ledger-t .display { font-size: var(--t-20); font-weight: 600; }
.lp-ledger-face { width: 22px; height: 22px; border-radius: 4px; background: var(--blue); transform: rotate(45deg) scale(.8); }
.lp-ledger-lines { list-style: none; margin: 0; padding: 0; }
.lp-ledger-lines li { border-bottom: 1px solid var(--rule); min-height: 50px; display: flex; align-items: center; }
.lp-paper { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 7px 12px; border-radius: 10px;
  background: var(--sheet-2); box-shadow: inset 0 0 0 1px var(--rule); font-size: var(--t-13); will-change: transform; }
.lp-paper b { font-weight: 600; color: var(--ink); }
.lp-paper s { text-decoration: none; color: var(--ink-3); }
.lp-paper .ck { fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.lp-paper.is-home { background: transparent; box-shadow: none; padding-inline: 2px; }
.lp-paper.is-home s { text-decoration: line-through; text-decoration-color: var(--ink-4); }
.lp-paper.is-home .ck { opacity: 1; }
.lp-paper.is-scattered { box-shadow: inset 0 0 0 1px var(--rule-2), 0 14px 30px -14px rgba(23, 24, 28, .3); background: var(--sheet); }

/* المميزات */
.lp-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 680px) { .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.lp-feat { position: relative; background: var(--sheet); border-radius: var(--r-4); padding: 22px; outline: 1px solid var(--rule);
  box-shadow: var(--shadow-1); transition: transform var(--d-ui) var(--ease-out), box-shadow var(--d-ui) ease, outline-color var(--d-ui) ease; }
.lp-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); outline-color: var(--blue-line); }
.lp-feat-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); }
.lp-feat-ic svg, .lp-values svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-feat-ic .fill { fill: currentColor; stroke: none; }
.lp-feat h3 { margin: 14px 0 0; font-size: var(--t-17); font-weight: 700; }
.lp-feat p { margin: 6px 0 0; color: var(--ink-2); font-size: var(--t-14); line-height: 1.85; }
.lp-seal { position: absolute; top: 16px; inset-inline-end: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue-line); transform: rotate(-12deg); }
.lp-seal svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* كيف تبدأ */
.lp-track { position: relative; margin-top: 48px; }
.lp-track-line { display: none; }
.lp-walker { display: none; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-step { background: var(--sheet); border-radius: var(--r-4); padding: 22px; outline: 1px solid var(--rule); box-shadow: var(--shadow-1); }
.lp-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: var(--t-20); font-weight: 700;
  color: #fff; background: var(--ink-3); transition: background-color var(--d-ui) ease, transform var(--d-ui) var(--ease-out); }   /* ink-3: تباين 5.6 مع الأبيض */
.lp-step.is-lit .lp-step-n { background: var(--blue); transform: scale(1.06); }
:root[data-theme="dark"] .lp-step-n { color: #0C0E13; }
.lp-step h3 { margin: 12px 0 0; font-size: var(--t-17); font-weight: 700; }
.lp-step p { margin: 6px 0 0; color: var(--ink-2); line-height: 1.85; }
@media (min-width: 860px) {
  .lp-track { padding-top: 74px; }
  .lp-track-line { display: block; position: absolute; top: 60px; inset-inline: 8%; height: 3px; border-radius: 3px; background: var(--rule-2); overflow: hidden; }
  .lp-track-line i { display: block; height: 100%; background: var(--blue); transform-origin: 100% 50%; transform: scaleX(var(--p, 1)); }
  .js .lp-walker { display: block; position: absolute; top: 4px; inset-inline-start: 8%; z-index: 2; translate: calc(var(--x, 0px) * -1) 0; }
  .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
.lp-walker svg path { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; }
.lp-walker .wb { fill: var(--blue); }
.lp-walker .we { fill: #fff; }
.lp-walker .lgA, .lp-walker .lgB { transform-box: view-box; transform-origin: 0 -30px; }
.lp-walker.is-moving .lgA { animation: lp-leg .5s ease-in-out infinite; }
.lp-walker.is-moving .lgB { animation: lp-leg .5s ease-in-out infinite reverse; }
@keyframes lp-leg { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(-18deg); } }

/* من نحن */
.lp-disclaimer { margin: 18px 0 0; display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-2);
  background: var(--sheet); outline: 1px solid var(--rule); color: var(--ink-2); font-size: var(--t-13); line-height: 1.8; }
.lp-disclaimer svg { flex: none; margin-top: 4px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; }
.lp-values { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-values li { display: flex; gap: 14px; align-items: flex-start; background: var(--sheet); border-radius: var(--r-3); padding: 18px; outline: 1px solid var(--rule); }
.lp-values h3 { margin: 0; font-size: var(--t-17); font-weight: 700; }
.lp-values p { margin: 4px 0 0; color: var(--ink-2); }
.lp-dia { flex: none; width: 14px; height: 14px; margin-top: 8px; border-radius: 3px; background: var(--blue); transform: rotate(45deg); }

/* الأسئلة */
.lp-qs { margin-top: 36px; display: grid; gap: 10px; }
.lp-q { background: var(--sheet); border-radius: var(--r-3); outline: 1px solid var(--rule); }
.lp-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 12px 18px; font-weight: 600; font-size: var(--t-15); }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q .chev { flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--d-ui) var(--ease-out); }
.lp-q[open] .chev { transform: rotate(180deg); }
.lp-q p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); line-height: 1.9; }

/* الدعوة الأخيرة */
.lp-join-card { position: relative; overflow: hidden; text-align: center; background: var(--sheet); border-radius: 28px; padding: 48px 22px;
  outline: 1px solid var(--rule); box-shadow: var(--shadow-3); isolation: isolate; }
.lp-join-card::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; z-index: -1; filter: blur(40px);
  background: radial-gradient(40% 50% at 30% 30%, color-mix(in srgb, var(--blue) 18%, transparent), transparent 70%),
              radial-gradient(40% 50% at 75% 40%, color-mix(in srgb, #B9C3FB 40%, transparent), transparent 70%); }
:root[data-theme="dark"] .lp-join-card::before { opacity: .45; }
.lp-join-mark svg { width: 56px; height: 50px; }
.lp-join-card .lp-lead { margin-inline: auto; }
.lp-center-row { justify-content: center; }
.lp-join-card .lp-link { display: inline-block; margin-top: 18px; }

/* التذييل */
.lp-foot { border-top: 1px solid var(--rule); padding: 36px 0 40px; }
.lp-foot-in { display: grid; gap: 14px; }
.lp-foot-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.lp-foot-nav a { color: var(--ink-2); min-height: 40px; display: inline-flex; align-items: center; }
.lp-foot-nav a:hover { color: var(--ink); }
.lp-foot-note, .lp-foot-c { margin: 0; color: var(--ink-3); font-size: var(--t-13); }

/* ---------- المقدمة «النقطة على السطر» ---------- */
.lp-intro { display: none; }
.js:not(.lp-seen) .lp-intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 10px;
  background: var(--paper); }
.lp-intro-mark svg { overflow: visible; }
.lp-intro .i-dot, .lp-intro .i-dia rect { fill: var(--blue); }
.lp-intro .i-line { fill: var(--ink); opacity: .85; }
.lp-intro .i-dia, .lp-intro .i-dot { transform-box: fill-box; transform-origin: center; }
.lp-intro .i-line { transform-box: fill-box; transform-origin: center; }
.lp-intro-t { margin: 0; text-align: center; display: grid; gap: 2px; }
.lp-intro-t b { font-size: var(--t-40); font-weight: 700; color: var(--ink); }
.lp-intro-t span { color: var(--ink-3); font-size: var(--t-15); }
.lp-intro-skip { position: absolute; bottom: 24px; inset-inline-start: 24px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-2); }

/* ---------- شاهد المرافق ---------- */
.lp-buddy { display: none; }
.js .lp-buddy { display: block; position: fixed; z-index: 60; inset-inline-end: 18px; bottom: 16px; pointer-events: none;
  opacity: 0; transform: translateY(36px) scale(.7); transform-origin: 50% 100%;
  transition: opacity var(--d-sheet) ease, transform var(--d-sheet) var(--spring); }
.js .lp-buddy.is-shown { opacity: 1; transform: none; pointer-events: auto; }
/* R-05 (المراجعة): على الجوال يغطي المرافق أسئلة ونصوصًا وأزرارًا، وشاهد الكبير في القسم الأول يكفي. يظهر من 760 فأعلى */
@media (max-width: 759px) { .js .lp-buddy { display: none; } }
.lp-buddy-btn { display: block; width: 64px; height: 94px; border-radius: 16px; }
.lp-buddy svg path, .lp-buddy .a { fill: none; stroke: var(--sh-ink, #17181C); stroke-width: 4; stroke-linecap: round; }
.lp-buddy .legs path { stroke-width: 4; }
.lp-buddy .ft { fill: var(--sh-ink, #17181C); }
.lp-buddy .sh { fill: var(--sh-ink, #17181C); opacity: .12; }
.lp-buddy .bd { fill: var(--sh-blue, #2B3FC4); }
.lp-buddy .ew { fill: #fff; }
.lp-buddy .ep { fill: #17181C; }
.lp-buddy .m { display: none; fill: none; stroke: #17181C; stroke-width: 2; stroke-linecap: round; }
.lp-buddy .m-big { fill: #fff; stroke: none; }
.lp-buddy .m-o { fill: #17181C; stroke: none; }
.lp-buddy .a { display: none; }
.lp-buddy[data-m="smile"] .m-smile, .lp-buddy[data-m="big"] .m-big, .lp-buddy[data-m="o"] .m-o { display: inline; }
.lp-buddy[data-p="down"] .a-down, .lp-buddy[data-p="wave"] .a-wave, .lp-buddy[data-p="up"] .a-up, .lp-buddy[data-p="point"] .a-point { display: inline; }
.lp-buddy[data-p="wave"] .a-wave { transform-box: view-box; transform-origin: 15px -44px; animation: lp-wave .6s ease-in-out infinite; }
@keyframes lp-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-18deg); } }
.lp-buddy .body { animation: lp-bob 2.4s ease-in-out infinite; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.lp-bubble { position: absolute; bottom: 92px; inset-inline-end: 0; margin: 0; width: max-content; max-width: 220px; padding: 8px 12px;
  background: var(--sheet); color: var(--ink); border-radius: 14px; box-shadow: inset 0 0 0 1.3px var(--blue), var(--shadow-2);
  font-size: var(--t-13); font-weight: 600; line-height: 1.6; opacity: 0; transform: translateY(6px) scale(.92); transform-origin: 80% 100%;
  transition: opacity var(--d-ui) ease, transform var(--d-ui) var(--spring); }
.lp-bubble.is-on { opacity: 1; transform: none; }
:root[data-theme="dark"] .lp-buddy svg path, :root[data-theme="dark"] .lp-buddy .a { stroke: #ECEEF4; }
:root[data-theme="dark"] .lp-buddy .ft { fill: #ECEEF4; }

/* ---------- الظهور مع التمرير ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity var(--d-sheet) var(--ease-out), transform var(--d-sheet) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .lp-h1 .w { opacity: 0; transform: translateY(.4em); }
.js .lp-hero.is-go .lp-h1 .w { animation: lp-word var(--d-sheet) var(--ease-out) forwards; }
.js .lp-hero.is-go .lp-h1 .w + .w { animation-delay: 120ms; }
@keyframes lp-word { to { opacity: 1; transform: none; } }
.js .lp-feat .lp-seal { opacity: 0; transform: scale(2) rotate(-30deg); }
.js .lp-feat.in .lp-seal { animation: lp-stamp .5s cubic-bezier(.2, 1.6, .4, 1) forwards; animation-delay: calc(300ms + var(--i, 0) * 90ms); }
@keyframes lp-stamp { 0% { opacity: 0; transform: scale(2) rotate(-30deg); } 60% { opacity: 1; transform: scale(.92) rotate(-10deg); } 100% { opacity: 1; transform: scale(1) rotate(-12deg); } }

/* ---------- تقليل الحركة: لا حركة، وكل شيء ظاهر ومكتمل ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .lp-h1 .w, .js .lp-feat .lp-seal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .js .lp-feat .lp-seal { transform: rotate(-12deg) !important; }
  .lp-buddy .body, .lp-buddy[data-p="wave"] .a-wave, .lp-walker .lgA, .lp-walker .lgB { animation: none !important; }
  .lp-bar i, .lp-ring .arc, .lp-card, .lp-feat, .lp-btn { transition: none !important; }
}
