/* =========================================================================
   تمرين — نظام الموقع البصري
   الألوان والاستدارات منقولة من TamrinTheme في التطبيق، والزجاج يتبع
   Liquid Glass كما تستخدمه أزرار iOS 26 (.glass / .glassProminent).
   الموقع فاتح دائمًا — لا يتبع تفضيل النظام الداكن.
   ========================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: light;

  /* ألوان الهوية */
  --lime:   #c2eb64;   /* TamrinTheme.lime  */
  --mint:   #9edbb8;   /* TamrinTheme.mint  */
  --peach:  #fac29c;   /* TamrinTheme.peach */
  --green:  #57ba78;   /* TamrinTheme.brandGreen */
  --ink:    #141414;   /* TamrinTheme.ink   */

  /* الأسطح */
  --page:       #f3f3f3;
  --card:       #ffffff;
  --secondary:  #eaeaea;
  --line:       rgba(20, 20, 20, .10);
  --line-strong:rgba(20, 20, 20, .16);

  --text:   #141414;
  --text-2: #5c5c5c;
  --text-3: #6e6e6e;   /* نصوص صغيرة — يبقى فوق 4.5:1 مقابل page */

  /* الأشرطة الداكنة (المشكلة / الخصوصية) — إيقاع بصري داخل موقع فاتح */
  --band:      #141414;
  --band-text: #f2f2f2;
  --band-soft: rgba(255, 255, 255, .68);
  --band-dim:  rgba(255, 255, 255, .5);
  --band-card: rgba(255, 255, 255, .06);
  --band-line: rgba(255, 255, 255, .1);

  --shadow-card: 0 10px 34px -14px rgba(0, 0, 0, .22);
  --shadow-lift: 0 34px 80px -30px rgba(0, 0, 0, .45);

  /* الاستدارات — TamrinTheme.corner و EventPosterCard */
  --r-pill: 999px;
  --r-card: 24px;
  --r-bar:  28px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;   /* ارتفاع الشريط العلوي */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: 'Thmanyah Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;            /* TamrinFont.body */
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* ss01 هو البديل المقصود في هوية ثمانية، والتطبيق يفعّله في كل نص يُرسم */
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'rlig' 1, 'ss01' 1, 'swsh' 1;
}

html[lang="en"] body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;          /* التطبيق يتوقف عند Bold — لا يوجد Black */
  line-height: 1.22;
  letter-spacing: -.01em;
}

p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a  { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 10px; }

.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:focus-visible {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px;
  width: auto; height: auto; clip: auto; margin: 0; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-weight: 700;
}

/* -------------------------------------------------------------- utilities */
.wrap        { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.wrap-narrow { width: 100%; max-width: 720px;  margin-inline: auto; padding-inline: 20px; }

section { padding-block: 88px; }
@media (max-width: 720px) { section { padding-block: 64px; } }

.eyebrow { font-size: 13px; font-weight: 700; color: var(--text-3); letter-spacing: .02em; margin-bottom: 14px; }

.h-display { font-size: clamp(2.15rem, 7.2vw, 3.7rem); line-height: 1.12; }
.h-section { font-size: clamp(1.75rem, 5vw, 2.6rem); }
.h-feature { font-size: clamp(1.4rem, 3.6vw, 1.85rem); }

.lede  { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: var(--text-2); line-height: 1.75; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700;
  background: var(--secondary); color: var(--text-2);
}
.pill-lime { background: color-mix(in srgb, var(--lime) 34%, transparent); color: var(--text); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ====================================================================
   Liquid Glass
   مادة شفافة بتمويه عالٍ، وحافة ضوئية داخلية تحاكي انكسار الحافة، وظل
   خارجي واسع خفيف — كما تُرسم عناصر iOS 26. المحتوى فوقها معتم بالكامل.
   ==================================================================== */
.glass {
  background: rgba(255, 255, 255, .58);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  backdrop-filter: blur(26px) saturate(185%);
  border: .5px solid rgba(255, 255, 255, .5);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .05),
    0 8px 26px -8px rgba(0, 0, 0, .15),
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(255, 255, 255, .3);
}

/* النظير المُبرز: زجاج مصبوغ بالحبر — نفس دور .glassProminent في التطبيق */
.glass-prominent {
  color: #fff;
  background: rgba(20, 20, 20, .82);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  backdrop-filter: blur(26px) saturate(185%);
  border: .5px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .12),
    0 10px 30px -8px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(0, 0, 0, .3);
}
.glass-prominent:hover { background: rgba(20, 20, 20, .9); }

/* المتصفحات بلا backdrop-filter تحصل على سطح معتم بدل مادة شبه شفافة */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .94); }
  .glass-prominent { background: var(--ink); }
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 16px;
  transition: transform .2s var(--ease), background-color .25s, opacity .2s;
}
.btn:active { transform: scale(.97); }

.btn-primary   { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: var(--secondary); color: var(--text); }
.btn-secondary:hover { background: var(--line-strong); }

/* شارة App Store — الإجراء الرئيسي للصفحة */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px 12px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  transition: transform .2s var(--ease), opacity .2s, background-color .25s;
}
.btn-store:hover  { opacity: .9; }
.btn-store:active { transform: scale(.97); }
.btn-store svg  { width: 27px; height: 27px; flex: none; fill: currentColor; }
.btn-store .l1  { display: block; font-size: 11px; font-weight: 500; opacity: .78; line-height: 1.3; }
.btn-store .l2  { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; }
.btn-store .txt { text-align: start; }

/* ==========================================================  الشريط العلوي
   بسيط: الهوية في جهة، وزر التحميل في الجهة الأخرى. الحبّتان تتحوّلان إلى
   Liquid Glass عند النزول، وتبقيان شفافتين في أعلى الصفحة. */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 90;
  padding-block: 12px;
  pointer-events: none;      /* الفراغ بين الحبّتين لا يحجب الصفحة */
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.nav-row > * { pointer-events: auto; }

.nav-pill {
  display: inline-flex; align-items: center;
  border-radius: var(--r-pill);
  background: transparent; border: .5px solid transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease), backdrop-filter .35s var(--ease),
              -webkit-backdrop-filter .35s var(--ease);
}

.brand { gap: 10px; padding: 7px 16px 7px 7px; }
.brand img  { width: 38px; height: 38px; border-radius: 22.37%; }  /* نسبة أيقونة iOS */
.brand span { font-size: 19px; font-weight: 700; }

.nav-end { display: flex; align-items: center; gap: 8px; }

.lang-btn {
  justify-content: center;
  min-width: 46px; height: 46px; padding-inline: 14px;
  font-size: 14px; font-weight: 700; color: var(--text-2);
  transition: color .2s, background-color .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease), backdrop-filter .35s var(--ease),
              -webkit-backdrop-filter .35s var(--ease);
}
.lang-btn:hover { color: var(--text); }

.nav-cta {
  gap: 8px; height: 46px; padding-inline: 18px;
  font-size: 15px; font-weight: 700;
  /* الإجراء الرئيسي يبقى مرئيًا من أول لحظة، فهو زجاج مُبرز دائمًا */
  color: #fff;
  background: rgba(20, 20, 20, .82);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  backdrop-filter: blur(26px) saturate(185%);
  border: .5px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .12),
    0 10px 30px -8px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(0, 0, 0, .3);
  transition: transform .2s var(--ease), background-color .25s;
}
.nav-cta:hover  { background: rgba(20, 20, 20, .9); }
.nav-cta:active { transform: scale(.97); }
.nav-cta svg { width: 17px; height: 17px; fill: currentColor; }

/* الزجاج يظهر عند النزول */
.nav.stuck .brand,
.nav.stuck .lang-btn {
  background: rgba(255, 255, 255, .58);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  backdrop-filter: blur(26px) saturate(185%);
  border-color: rgba(255, 255, 255, .5);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .05),
    0 8px 26px -8px rgba(0, 0, 0, .15),
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(255, 255, 255, .3);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.stuck .brand, .nav.stuck .lang-btn { background: rgba(255, 255, 255, .94); }
  .nav-cta { background: var(--ink); }
}

/* على الشاشات الضيقة يبقى نص الزر مختصرًا */
.nav-cta .full { display: none; }
@media (min-width: 560px) {
  .nav-cta .full  { display: inline; }
  .nav-cta .short { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero { padding-block: 136px 40px; position: relative; overflow: hidden; }
@media (max-width: 720px) { .hero { padding-block: 112px 24px; } }

/* الوهج المستعار من AuroraBackdrop */
.hero::before {
  content: ''; position: absolute; z-index: -1;
  inset-block-start: -180px; inset-inline-end: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: var(--lime); opacity: .3; filter: blur(90px);
}
.hero::after {
  content: ''; position: absolute; z-index: -1;
  inset-block-start: 40px; inset-inline-start: -180px;
  width: 380px; height: 380px; border-radius: 50%;
  background: var(--mint); opacity: .22; filter: blur(95px);
}

.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero-copy h1 { margin-block: 16px 20px; }
.hero-copy .lede { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--text-2); }
.hero-note li { display: flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; flex: none; color: var(--green); }

@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 380px; gap: 56px; } }

/* ============================================== الجهاز ولقطات التطبيق
   اللقطات حقيقية من التطبيق (1206×2622)، والإطار هنا مجرد حامل. */
.phone {
  --w: 290px;
  width: var(--w);
  margin-inline: auto;
  padding: 9px;
  border-radius: 54px;
  background: linear-gradient(160deg, #3a3a3c, #1c1c1e 42%, #2c2c2e);
  box-shadow: var(--shadow-lift), inset 0 0 0 .5px rgba(255, 255, 255, .22);
}
.phone-screen {
  border-radius: 46px;
  overflow: hidden;
  background: #0f0f0f;
  aspect-ratio: 1206 / 2622;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .phone { --w: 330px; } }

/* --------------------------------------------------------- قسم المشكلة */
.problem { background: var(--band); color: var(--band-text); }
.problem .eyebrow { color: var(--band-dim); }
.problem h2 { max-width: 18ch; }
.problem .lede { color: var(--band-soft); }

.chat { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.bubble {
  align-self: flex-start; max-width: 84%;
  padding: 12px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .09);
  font-size: 15px; line-height: 1.55;
}
.bubble.me { align-self: flex-end; background: rgba(194, 235, 100, .16); color: #e8f6c4; }
.bubble .who { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; color: var(--mint); }
.chat-note { margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--lime); }

.problem-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .problem-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* --------------------------------------------------------- خطوات التجربة */
.steps-grid { display: grid; gap: 40px; }
.step { padding-top: 28px; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; padding-top: 0; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 12px; background: var(--lime); color: var(--ink);
  font-size: 15px; font-weight: 700;
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p  { color: var(--text-2); }
.step-phone { margin-top: 26px; }   /* الجهاز داخل التدفّق — الجوال فقط */

.steps-sticky { display: none; }

@media (min-width: 900px) {
  .steps-layout { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; }
  .step-phone   { display: none; }
  .steps-sticky { display: block; position: sticky; inset-block-start: 110px; }
  .steps-sticky .stage { position: relative; }
  .steps-sticky .phone + .phone { position: absolute; inset-block-start: 0; inset-inline: 0; }
  .steps-sticky .phone {
    opacity: 0; transform: translateY(14px) scale(.985);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    pointer-events: none;
  }
  .steps-sticky .phone.active { opacity: 1; transform: none; pointer-events: auto; }

  .steps-grid { gap: 0; }
  .step { padding-block: 15vh 0; border-top: 0; opacity: .4; transition: opacity .45s var(--ease); }
  .step:first-of-type { padding-top: 4vh; }
  .step:last-of-type  { padding-bottom: 22vh; }
  .step.active { opacity: 1; }
}

/* -------------------------------------------------------------- الميزات */
.feature {
  display: grid; gap: 32px; align-items: center;
  padding-block: 52px;
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; }
.feature h3 { margin-block: 12px 12px; }
.feature p  { color: var(--text-2); max-width: 44ch; }

.feature-visual {
  border-radius: var(--r-card);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 20px;
}
/* حين يكون المشهد جهازًا، لا حاجة لبطاقة تحته */
.feature-visual.bare { background: none; border: 0; box-shadow: none; padding: 0; }

@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 72px; }
  .feature.flip .feature-copy   { order: 2; }
  .feature.flip .feature-visual { order: 1; }
}

/* صفوف الحسبة */
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.calc-row + .calc-row { border-top: 1px solid var(--line); }
.calc-row .k { font-size: 15px; color: var(--text-2); }
.calc-row .v { font-size: 16px; font-weight: 700; }
.calc-total {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 6px; padding: 16px; border-radius: 18px; background: var(--secondary);
}
.calc-total .k { font-size: 14px; color: var(--text-2); }
.calc-total .v { font-size: 30px; font-weight: 700; }
.calc-total .v small { font-size: 15px; font-weight: 500; color: var(--text-2); }

/* قائمة تحقّق داخل الميزة */
.ticks { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green); }

/* ------------------------------------------------------- الميزات الثانوية */
.more-grid { display: grid; gap: 12px; margin-top: 34px; }
@media (min-width: 620px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .more-grid { grid-template-columns: repeat(4, 1fr); } }
.more { padding: 22px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.more svg { width: 22px; height: 22px; color: var(--green); margin-bottom: 12px; }
.more h4 { font-size: 16px; margin-bottom: 6px; }
.more p  { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* -------------------------------------------------------------- الخصوصية */
.trust { background: var(--band); color: var(--band-text); }
.trust .eyebrow { color: var(--band-dim); }
.trust-grid { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 780px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card { padding: 26px; border-radius: var(--r-card); background: var(--band-card); border: 1px solid var(--band-line); }
.trust-card svg { width: 24px; height: 24px; color: var(--lime); margin-bottom: 14px; }
.trust-card h3  { font-size: 17px; margin-bottom: 8px; }
.trust-card p   { font-size: 14.5px; color: var(--band-soft); line-height: 1.65; }

/* ------------------------------------------------------------------ FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  width: 100%; padding-block: 22px;
  text-align: start; font-size: 17px; font-weight: 700; line-height: 1.5;
}
.faq-btn .chev { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--text-3); transition: transform .3s var(--ease); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease); }
/* الطيّ بالشبكة يترك المحتوى بارتفاع صفر لكنه يبقى في شجرة الوصول، فيقرأه
   قارئ الشاشة وهو مغلق. visibility تخرجه منها، ويتأخر إخفاؤها حتى ينتهي الطيّ. */
.faq-body > div { overflow: hidden; visibility: hidden; transition: visibility 0s .34s; }
.faq-item.open .faq-body > div { visibility: visible; transition-delay: 0s; }
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body p { padding-bottom: 22px; color: var(--text-2); font-size: 16px; }

/* ------------------------------------------------------------- CTA ختامي */
.cta { text-align: center; }
.cta-box { padding: 60px 24px; border-radius: 40px; background: var(--lime); color: var(--ink); }
.cta-box h2 { max-width: 16ch; margin-inline: auto; }
.cta-box p  { max-width: 42ch; margin: 14px auto 30px; color: rgba(20, 20, 20, .7); }
.cta-box .btn-store { background: var(--ink); color: #fff; }
.cta-box .note { margin-top: 18px; font-size: 14px; color: rgba(20, 20, 20, .58); }
@media (min-width: 720px) { .cta-box { padding: 84px 40px; } }

/* --------------------------------------------------------------- الفوتر */
.footer { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer h3 { font-size: 14px; margin-bottom: 14px; }
.footer li + li { margin-top: 10px; }
.footer a { font-size: 15px; color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer .brand { padding: 0; }
.footer-about { font-size: 15px; color: var(--text-2); max-width: 38ch; margin-top: 14px; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  justify-content: space-between; align-items: center;
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-3);
}

/* ------------------------------------------------- صفحات النصوص الطويلة */
.doc-head { padding-block: 120px 8px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.doc-head h1 { font-size: clamp(1.9rem, 5.4vw, 2.6rem); margin-block: 10px 12px; }
.doc-head .stamp { font-size: 14px; color: var(--text-3); margin-bottom: 34px; }

.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: 1.3rem; margin-top: 2.6rem; margin-bottom: .7rem; }
.prose h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: .35rem; }
.prose p, .prose li { color: var(--text-2); line-height: 1.95; }
.prose ul { list-style: disc; padding-inline-start: 1.4rem; }
.prose li { margin-top: .4rem; }
.prose li::marker { color: var(--text-3); }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--green); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------- صفحة الروابط / 404 */
.stub {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px;
}
.stub .mark { width: 76px; height: 76px; border-radius: 22.37%; box-shadow: var(--shadow-card); }
.stub h1 { font-size: clamp(1.5rem, 5vw, 2rem); margin-top: 28px; }
.stub p  { margin-top: 12px; color: var(--text-2); max-width: 42ch; }
.stub .ref { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--green); }
.stub .acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------------------------------------------------- الظهور عند التمرير */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* -------------------------------------------------- احترام تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .steps-sticky .phone { transition: none; }
  .step { opacity: 1 !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
