:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f9fafd;
  --ink: #0b0f24;
  --text-2: #454c68;
  --mute: #596079;
  --line: #e5e8f1;
  --line-soft: #eff1f6;
  --primary: #5670f3;
  --primary-ink: #3346b8;
  --primary-soft: #eef1fe;
  --f-lilac: #e9e2ff;
  --f-lilac-2: #f5f1ff;
  --f-peri: #dfe5ff;
  --f-peri-2: #f1f4ff;
  --f-sky: #d5f2fa;
  --f-butter: #ffefc9;
  --f-mint: #daf4e9;
  --f-rose: #ffe3ec;
  --ok: #12a870;
  --ok-ink: #0a6e48;
  --ok-bg: #e5f6ee;
  --warn-ink: #8a5606;
  --warn-bg: #fdf3e3;
  --btn: #0b0f24;
  --btn-ink: #ffffff;
  --shadow: 0 34px 80px -36px rgba(36, 48, 110, 0.42);
  --shadow-sm: 0 12px 30px -16px rgba(11, 15, 36, 0.28);
  --ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --en: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.3, 0.5, 1);
  --spring: linear(
    0,
    0.025,
    0.088,
    0.175,
    0.275,
    0.379,
    0.48,
    0.575,
    0.662,
    0.738,
    0.803,
    0.858,
    0.903,
    0.939,
    0.967,
    0.988,
    1.003,
    1.014,
    1.02,
    1.024,
    1.025,
    1.025,
    1.024,
    1.022,
    1.019,
    1.017,
    1.014,
    1.012,
    1.009,
    1.007,
    1.006,
    1.004,
    1.003,
    1.002,
    1.001,
    1,
    1
  );
  --r-lg: 28px;
}
:root[data-theme='dark'] {
  --bg: #080b18;
  --bg-soft: #0c1021;
  --surface: #11162a;
  --surface-2: #0e1326;
  --ink: #f3f5fb;
  --text-2: #c0c6da;
  --mute: #9aa1bc;
  --line: #242b46;
  --line-soft: #1a2038;
  --primary: #7489f7;
  --primary-ink: #b3c0fa;
  --primary-soft: #1a2249;
  --f-lilac: #1f1a3c;
  --f-lilac-2: #15122a;
  --f-peri: #18203f;
  --f-peri-2: #111831;
  --f-sky: #0d2730;
  --f-butter: #2a2313;
  --f-mint: #0d271e;
  --f-rose: #2b1420;
  --ok-bg: #0c291e;
  --ok-ink: #6fd9ab;
  --warn-bg: #2a2212;
  --warn-ink: #f2c774;
  --btn: #f3f5fb;
  --btn-ink: #0b0f24;
  --shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.8);
  --shadow-sm: 0 12px 30px -16px rgba(0, 0, 0, 0.7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #080b18;
    --bg-soft: #0c1021;
    --surface: #11162a;
    --surface-2: #0e1326;
    --ink: #f3f5fb;
    --text-2: #c0c6da;
    --mute: #9aa1bc;
    --line: #242b46;
    --line-soft: #1a2038;
    --primary: #7489f7;
    --primary-ink: #b3c0fa;
    --primary-soft: #1a2249;
    --f-lilac: #1f1a3c;
    --f-lilac-2: #15122a;
    --f-peri: #18203f;
    --f-peri-2: #111831;
    --f-sky: #0d2730;
    --f-butter: #2a2313;
    --f-mint: #0d271e;
    --f-rose: #2b1420;
    --ok-bg: #0c291e;
    --ok-ink: #6fd9ab;
    --warn-bg: #2a2212;
    --warn-ink: #f2c774;
    --btn: #f3f5fb;
    --btn-ink: #0b0f24;
    --shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.8);
    --shadow-sm: 0 12px 30px -16px rgba(0, 0, 0, 0.7);
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ar);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
}
bdi {
  unicode-bidi: isolate;
}
.en {
  font-family: var(--en);
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 16px var(--ar);
  border: 0;
  cursor: pointer;
  transition:
    transform 0.55s var(--spring),
    box-shadow 0.2s;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.96);
  transition-duration: 0.12s;
}
.btn-dark {
  background: var(--btn);
  color: var(--btn-ink);
}
.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-line:hover {
  box-shadow: inset 0 0 0 1px var(--mute);
}
.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--surface);
}
.eyebrow i.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--warn-ink);
  background: var(--warn-bg);
  border-radius: 999px;
  padding: 3px 10px;
}
.h2 {
  font-size: clamp(30px, 6.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.lead {
  font-size: 17px;
  color: var(--text-2);
}
.cap {
  font-size: 13px;
  color: var(--mute);
}
.lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--mute);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.section {
  padding: 88px 0;
}
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.sec-head .h2 {
  margin: 16px 0 12px;
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.land {
  transform: translateY(42px) scale(0.985);
  transition:
    opacity 0.6s var(--ease),
    transform 1.1s var(--spring);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.w {
  display: inline-block;
}
.sec-head.reveal,
.steps.reveal {
  opacity: 1;
  transform: none;
}
.sec-head .eyebrow,
.sec-head .lead {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.sec-head .lead {
  transition-delay: 0.38s;
}
.sec-head .w,
.closing .reveal .w {
  opacity: 0;
  transform: translateY(0.4em);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: calc(0.08s + var(--i) * 45ms);
}
.sec-head.in .eyebrow,
.sec-head.in .lead,
.sec-head.in .w,
.closing .reveal.in .w {
  opacity: 1;
  transform: none;
}
.steps .step {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition:
    opacity 0.6s var(--ease),
    transform 1s var(--spring);
  transition-delay: calc(var(--i) * 110ms);
}
.steps.in .step {
  opacity: 1;
  transform: none;
}
.intro [data-in='rise'],
.intro [data-in='line'] {
  animation: inRise 0.6s var(--ease) both;
  animation-delay: var(--d);
}
.intro [data-in='words']:not(.split) {
  opacity: 0;
}
.intro [data-in='words'] .w {
  animation: inRise 0.7s var(--ease) both;
  animation-delay: calc(var(--d) + var(--i) * 55ms);
}
.intro [data-in='line'] i {
  animation: lineDraw 0.7s var(--ease) both;
  animation-delay: calc(var(--d) + 0.15s);
}
.intro [data-in='spring'] > * {
  animation: inLand 0.9s var(--spring) both;
  animation-delay: var(--d);
}
.intro [data-in='spring'] > :nth-child(2) {
  animation-delay: calc(var(--d) + 0.08s);
}
.intro [data-in='chips'] .cap {
  animation: inRise 0.5s var(--ease) both;
  animation-delay: var(--d);
}
.intro [data-in='chips'] .sbtn {
  animation: inLand 0.8s var(--spring) both;
  animation-delay: calc(var(--d) + 0.1s + var(--k, 0) * 45ms);
}
.intro [data-in='land'] {
  animation: inLandBig 1.1s var(--spring) both;
  animation-delay: var(--d);
}
@keyframes inRise {
  from {
    opacity: 0;
    transform: translateY(0.45em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes inLand {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes inLandBig {
  from {
    opacity: 0;
    transform: translateY(56px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes lineDraw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
