/* SI marketing site.
   Layout: dark navy hero and dashboard tour framing the product; cream and white reading sections between them.
   One type pair: Readex Pro for headings, IBM Plex Sans Arabic for text; Josefin Sans for the brand's Latin labels. */
:root {
  --night: #050d1c;
  --night-2: #071226;
  --navy: #0b1f44;
  --navy-2: #13306a;
  --blue: #2563eb;
  --blue-press: #1d4ed8;
  --blue-hi: #60a5fa;
  --sky: #93c5fd;
  --cream: #f8f5ec;
  --cream-2: #f1ece0;
  --paper: #ffffff;
  --ink: #0b1f44;
  --ink-2: #33405c;
  --soft: #5f6a82;
  --on-night: #e7ecf6;
  --on-night-soft: #9fadc8;
  --line: #e6e0d2;
  --line-cool: #e3e8f1;
  --line-night: rgba(255, 255, 255, 0.1);
  --ok: #16a34a;
  --f-head: 'Readex Pro', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --f-text: 'IBM Plex Sans Arabic', 'Readex Pro', Tahoma, sans-serif;
  --f-latin: 'Josefin Sans', 'Readex Pro', sans-serif;
  --wrap: 1200px;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --shadow: 0 1px 2px rgba(11, 31, 68, 0.04), 0 8px 24px rgba(11, 31, 68, 0.06);
  --shadow-lg: 0 30px 80px rgba(3, 10, 25, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--f-head);
  margin: 0;
  line-height: 1.3;
  text-wrap: balance;
  letter-spacing: -0.005em;
}
p {
  margin: 0;
}
.num {
  font-family: var(--f-head);
  font-variant-numeric: lining-nums tabular-nums;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
/* focus ring: deep blue on light sections (5.2:1), light blue on the dark ones */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.hdr :focus-visible,
.hero :focus-visible,
.facts :focus-visible,
.dark :focus-visible,
.cta-panel :focus-visible,
.ftr :focus-visible,
.legal-hero :focus-visible {
  outline-color: var(--blue-hi);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease),
    box-shadow 0.2s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 16.5px;
  border-radius: 14px;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 10px 30px rgba(37, 99, 235, 0.35);
}
.btn-blue:hover {
  background: var(--blue-press);
}
.btn-line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
.btn-line:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-2);
}
.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-white:hover {
  background: var(--cream);
}

/* Latin text inside Arabic lines (e-mail, phone) never breaks */
bdi[dir='ltr'] {
  white-space: nowrap;
}

/* motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
