/* ==========================================================================
   InsightCart — public pages
   Built on the InsightCart UI design system (ui-redesign/tokens.css):
   teal primary, gold accent, light surfaces, Inter / Tajawal, fixed type scale.
   Tokens are copied verbatim so this repo stays standalone — if the app's
   tokens.css changes, re-sync the :root block below and nothing else.
   ========================================================================== */

:root {
  /* Brand */
  --teal:        #0D7A6B;
  --teal-dark:   #095E52;
  --teal-darker: #063D36;
  --teal-tint:   #E6F4F2;
  --teal-tint-2: #EAF5F3;
  --gold:        #D4A017;
  --gold-deep:   #A67C0C;
  --gold-tint:   #FFF4D6;
  --gold-cream:  #FFFDF4;

  /* Neutral ramp */
  --ink:      #111827;
  --body:     #374151;
  --muted:    #6B7280;
  --faint:    #9CA3AF;
  --line:     #E5E7EB;
  --line-2:   #D1D5DB;
  --surface:  #FFFFFF;
  --sunken:   #F9FAFB;
  --sunken-2: #F3F4F6;

  /* Semantic */
  --ok: #22C55E;  --ok-dk: #15803D;
  --warn: #F59E0B;
  --err: #EF4444; --err-dk: #DC2626;

  /* Radii / shadow / motion */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-full: 999px;
  --sh-1: 0 1px 2px rgba(17,24,39,.06), 0 1px 3px rgba(17,24,39,.08);
  --sh-2: 0 4px 12px rgba(17,24,39,.08);
  --sh-3: 0 10px 30px rgba(17,24,39,.12);
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Type scale */
  --fs-display: clamp(1.9rem, 6vw, 2.6rem);
  --fs-h1: clamp(1.5rem, 4.5vw, 2rem);
  --fs-h2: 1.25rem;
  --fs-lg: 1.0625rem;
  --fs-base: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .75rem;

  /* Layout */
  --page-max: 1120px;
  --gutter: 16px;
  --header-h: 56px;
  --pad: clamp(16px, 4vw, 32px);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Tajawal", "Noto Sans Arabic", system-ui, sans-serif;

  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding keeps #how from landing under the fixed bar. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-block-start: var(--header-h); }
body {
  margin: 0;
  background: var(--sunken);
  color: var(--body);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[dir="rtl"] body, [lang="ar"] body { font-family: var(--font-ar); }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; text-wrap: balance; }
p, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--teal-tint); color: var(--teal-darker); }
.tabular { font-variant-numeric: tabular-nums; }
.brand-lock { unicode-bidi: isolate; }

/* ---------- ambient wash (light, very restrained) ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}
.aurora span:nth-child(1) { width: 40vw; height: 40vw; inset-inline-start: -6%; top: -12%; background: radial-gradient(circle, var(--teal-tint), transparent 68%); }
.aurora span:nth-child(2) { width: 34vw; height: 34vw; inset-inline-end: -8%; top: 4%;  background: radial-gradient(circle, var(--gold-tint), transparent 68%); }
.aurora span:nth-child(3) { width: 46vw; height: 46vw; inset-inline-start: 30%; bottom: -18%; background: radial-gradient(circle, var(--teal-tint-2), transparent 70%); }

.grid-veil { display: none; }   /* the dark-theme grid has no place on a light page */

/* ---------- layout ---------- */
.page { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: clamp(40px, 6vw, 72px); }

/* ---------- floating app bar ---------- */
/* Fully transparent and out of flow: it rides over the page while scrolling,
   so only the brand and the language keys are clickable — the empty middle
   must let clicks through to the content underneath. */
.site-head {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 20;
  background: transparent;
  pointer-events: none;
}
.site-head .wrap { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.site-head .brand,
.site-head .lang-toggle { pointer-events: auto; }

/* The bar no longer occupies space, so the first section reserves it. */
.site-head + section { padding-block-start: calc(var(--header-h) + clamp(16px, 3vw, 32px)); }

/* The wordmark is a proper noun — it keeps Latin order and Latin metrics in RTL. */
.brand {
  display: inline-flex;
  align-items: center;
  /* No flex gap: <b>Cart</b> is a flex item, and a gap would split the wordmark. */
  gap: 0;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
  direction: ltr;
  unicode-bidi: isolate;
  font-family: var(--font);
}
.brand .mark {
  width: 30px; height: 30px; flex: none;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: grid; place-items: center;
  color: #fff;
  margin-inline-end: 8px;
}
.brand .mark svg { width: 16px; height: 16px; }
.brand b { color: var(--teal); font-weight: 800; }
.brand .suffix { color: var(--muted); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .04em; margin-inline-start: 6px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
  padding: 3px;
  border-radius: var(--r-full);
  background: var(--sunken-2);
}
.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 800;
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
  /* Arabic and Latin metrics differ — pin the box so both keys match. */
  line-height: 1;
  min-width: 34px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
}
.lang-toggle button[data-lang="ar"] { font-family: var(--font-ar); font-size: var(--fs-sm); }
.lang-toggle button[aria-pressed="true"] { background: var(--teal); color: #fff; }

/* ---------- atoms ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding-inline: 12px;
  border-radius: var(--r-full);
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.h-xl { font-size: var(--fs-display); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.h-lg { font-size: var(--fs-h1); line-height: 1.18; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.h-md { font-size: var(--fs-h2); line-height: 1.3; font-weight: 800; color: var(--ink); }
[lang="ar"] .h-xl, [lang="ar"] .h-lg { letter-spacing: 0; line-height: 1.35; }
.lede { color: var(--muted); font-size: var(--fs-lg); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--muted); }

/* The brand gradient is teal→gold; it is used once per page, on the phrase that
   carries the promise. Never on body copy — gold on white needs --gold-deep. */
.grad {
  /* Gold arrives late — mid-word it muddies into olive against white. */
  background: linear-gradient(96deg, var(--teal) 0%, var(--teal-dark) 62%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 20px;
  border: 0;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s var(--ease), transform .1s var(--ease), box-shadow .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: var(--sunken-2); color: var(--body); }
.btn-ghost:hover { background: var(--line); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .arrow { transition: transform .15s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(2px); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 56px) clamp(32px, 5vw, 56px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-block: 16px 12px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-note { margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }

.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; }
[lang="ar"] .rotator { padding-block: .06em .14em; }
.rotator > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.rotator > span.is-live { opacity: 1; transform: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-60%); }

/* ---------- hero screenshot of the real results screen ---------- */
.shot {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1494;   /* reserve the box before the file lands */
}
[dir="rtl"] .shot img { aspect-ratio: 1600 / 1657; }
.shot figcaption {
  padding: 10px 14px;
  border-block-start: 1px solid var(--line);
  background: var(--sunken);
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* ---------- retailer marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 16px;
  background: var(--surface);
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--faint);
  white-space: nowrap;
  transition: color .15s var(--ease);
}
.marquee-track span:hover { color: var(--teal); }
@keyframes slide { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* ---------- section head ---------- */
.sec-head { max-width: 62ch; margin-block-end: clamp(22px, 3vw, 36px); }
.sec-head .h-lg { margin-block: 12px 10px; }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  position: relative;
  padding: 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.feature:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), var(--teal-tint-2), transparent 65%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; }
.feature .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--teal-tint);
  margin-block-end: 14px;
  font-size: 1.1rem;
}
.feature h3 { font-size: var(--fs-base); font-weight: 800; margin-block-end: 6px; }
.feature p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.feature .idx {
  position: absolute;
  top: 16px; inset-inline-end: 18px;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--line-2);
}
.feature.wide { grid-column: span 2; }
@media (max-width: 600px) { .feature.wide { grid-column: span 1; } }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px 20px; border-inline-end: 1px solid var(--line); }
.step:last-child { border-inline-end: 0; }
@media (max-width: 780px) {
  .step { border-inline-end: 0; border-block-end: 1px solid var(--line); }
  .step:last-child { border-block-end: 0; }
}
.step .n {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-block-end: 10px;
}
[lang="ar"] .step .n { letter-spacing: 0; text-transform: none; }
.step h3 { font-size: var(--fs-base); font-weight: 800; margin-block-end: 5px; }
.step p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 16px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.stat .v {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.08;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.stat .k { font-size: var(--fs-xs); color: var(--muted); margin-block-start: 5px; line-height: 1.45; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-xl);
  border: 1px solid color-mix(in srgb, var(--teal) 20%, transparent);
  background: linear-gradient(135deg, var(--teal-tint-2) 0%, var(--surface) 58%, var(--gold-cream) 100%);
  text-align: center;
}
.cta-band .h-lg { margin-block-end: 10px; }
.cta-band .lede { margin-inline: auto; }
.cta-band .btn { margin-block-start: 20px; }

/* ---------- forms ---------- */
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 940px) { .form-shell { grid-template-columns: 1fr; } }

.form-card { padding: clamp(20px, 3vw, 30px); }
.field { margin-block-end: 14px; }
.field > label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--ink);
  margin-block-end: 6px;
}
.field .req { color: var(--err-dk); }
.control {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--fs-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.control::placeholder { color: var(--faint); }
.control:hover { border-color: var(--muted); }
.control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-tint);
}
.control:user-invalid { border-color: var(--err); }
textarea.control { min-height: 110px; resize: vertical; line-height: 1.55; }
select.control {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-inline-end: 34px;
}
[dir="rtl"] select.control { background-position: 14px calc(50% + 1px), 19px calc(50% + 1px); }

.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .two-up { grid-template-columns: 1fr; } }

/* chip multi-select — the design system's .chip, made selectable */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding-inline: 12px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--body);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.chip span:hover { border-color: var(--line-2); }
.chip input:checked + span {
  background: var(--teal-tint);
  color: var(--teal-dark);
  border-color: transparent;
  font-weight: 800;
}
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.consent input { margin-block-start: 2px; accent-color: var(--teal); width: 16px; height: 16px; flex: none; }

/* honeypot — never shown to humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg {
  display: none;
  margin-block-start: 12px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  border: 1px solid;
}
.form-msg.is-on { display: block; }
.form-msg.ok  { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: #F0FDF4; color: var(--ok-dk); }
.form-msg.err { border-color: color-mix(in srgb, var(--err) 40%, transparent); background: #FEF2F2; color: var(--err-dk); }

/* success takeover */
.success { display: none; text-align: center; padding: clamp(22px, 4vw, 40px) clamp(14px, 3vw, 30px); }
.success.is-on { display: block; }
.success .seal {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-tint);
  animation: pop .45s var(--ease) both;
}
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.success .seal svg { width: 28px; height: 28px; stroke: var(--teal); }
.queue-badge {
  display: inline-flex; align-items: center; gap: 7px;
  margin-block-start: 14px;
  min-height: 32px; padding-inline: 14px;
  border-radius: var(--r-full);
  background: var(--gold-tint);
  color: var(--gold-deep);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.queue-badge b { font-weight: 800; font-variant-numeric: tabular-nums; }

/* side rail */
.rail { display: grid; gap: 10px; }
.rail-item {
  display: flex; gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: box-shadow .2s var(--ease);
}
.rail-item:hover { box-shadow: var(--sh-2); }
.rail-item .ico { font-size: 1.1rem; line-height: 1.5; }
.rail-item h4 { font-size: var(--fs-sm); font-weight: 800; margin-block-end: 2px; }
.rail-item p { font-size: var(--fs-xs); color: var(--muted); line-height: 1.55; }
.rail-item a { color: var(--teal-dark); font-weight: 700; }

/* ---------- FAQ (design system's collapse, as <details>) ---------- */
.faq { display: grid; gap: 8px; max-width: 820px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding-inline: 16px;
  box-shadow: var(--sh-1);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: 13px;
  font-weight: 800;
  font-size: var(--fs-sm);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-dark); }
.faq summary::after {
  content: "";
  margin-inline-start: auto;
  flex: none;
  width: 8px; height: 8px;
  margin-block-start: -4px;
  border-inline-end: 2px solid var(--muted);
  border-block-end: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-block-start: 2px; }
.faq .a { padding-block: 0 14px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }

/* ---------- footer ---------- */
.site-foot {
  background: var(--surface);
  border-block-start: 1px solid var(--line);
  padding-block: 26px 30px;
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: var(--fs-sm); }
.foot-links a { color: var(--muted); font-weight: 700; }
.foot-links a:hover { color: var(--teal-dark); }
.foot-note {
  width: 100%;
  margin-block-start: 18px;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--faint);
  line-height: 1.55;
}

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- bilingual ----------
   Copy is swapped by site.js via data-i18n keys; only direction-sensitive
   tweaks live here. Nothing is duplicated in the markup. */
[lang="ar"] .eyebrow { font-weight: 700; }
.no-js-hide { visibility: hidden; }
