@charset "UTF-8";

:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --surface-2: #F1F2F5;
  --line: #E4E6EB;
  --ink: #17171C;
  --ink-2: #55575E;
  --accent-a: #D6008C;
  --accent-b: #A814C4;
  --accent-c: #7A2BDD;
  --accent-grad: linear-gradient(90deg, #D6008C 0%, #A814C4 50%, #7A2BDD 100%);
  --pos: #157F42;
  --neg: #B01A2E;
  --radius: 16px;
  --bar-h: 72px;
  --wrap: 1280px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  padding-bottom: var(--bar-h);
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, "Segoe UI Arabic", sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0 0 10px; line-height: 1.25; font-weight: 800; }
h1 { font-size: 26px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; font-weight: 700; }
p  { margin: 0 0 16px; }
a  { color: var(--accent-c); }

p, li, td, th, dd, dt, figcaption { text-align: left; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--accent-grad);
  color: #FFFFFF;
  font: 700 17px/1.2 inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}
.cta:hover  { filter: brightness(1.07); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible { outline: 3px solid #17171C; outline-offset: 2px; }

.cta--block { display: flex; width: 100%; }
.cta--sm    { min-height: 44px; padding: 10px 16px; font-size: 15px; }

.cta-slot { margin: 4px 0 24px; }
.cta-slot .cta { width: 100%; }

.buttons { display: flex; width: 100%; }

.btn {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--accent-grad);
  color: #FFFFFF;
  font: 700 17px/1.2 inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}
.btn:hover  { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }

.btn:focus-visible { outline: 3px solid #17171C; outline-offset: 2px; }

.buttons--sm, .buttons--bar { width: auto; flex: 0 0 auto; }
.buttons--sm .btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 15px;
}
.buttons--bar .btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 15px;
}

.top-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 15px;
}

.top-bar__brand { display: flex; align-items: center; min-height: 44px; }
.top-bar__logo { display: block; height: 38px; width: auto; }
.top-bar__right { display: flex; align-items: center; gap: 10px; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: 600 14px/1 inherit;
  text-transform: uppercase;
  cursor: pointer;
}
.lang-btn__caret { font-size: 10px; color: var(--ink-2); }
.lang-btn img { width: 22px; height: 17px; border-radius: 3px; }

.page {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 15px 20px;
}

.crumbs { margin: 0 0 6px; font-size: 13px; line-height: 1.5; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.crumbs a {
  display: inline-block;
  padding: 14px 0;
  margin: -14px 0;
  color: var(--ink-2);
}

.box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin: 0 0 16px;
}
.box > *:last-child { margin-bottom: 0; }

.hero { padding: 10px 10px 18px; }

.demo {
  position: relative;
  margin: 0 auto 14px;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  background: #0E1116;
  aspect-ratio: 1600 / 984;
}
.demo__poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo__scrim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(6, 8, 12, .28) 0%, rgba(6, 8, 12, .48) 100%);
}
.demo__btn { min-width: min(320px, 80%); }

.demo__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo--live .demo__poster,
.demo--live .demo__scrim { display: none; }

.demo__err {
  max-width: 900px;
  margin: 0 auto 12px;
  color: var(--neg);
  font-size: 13px;
  font-weight: 600;
}

.hero__cta { max-width: 900px; margin: 0 auto 16px; }

.hero__title { margin-bottom: 16px; }

.hero__specs { margin-bottom: 0; }
.hero__specs table { min-width: 0; }
.hero__specs tbody th { width: 42%; font-weight: 600; }
.hero__specs thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

.toc { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; }
.toc h2 { font-size: 16px; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 1; }
.toc li { margin-bottom: 0; }

.toc a {
  display: block;
  padding: 11px 0;
  color: var(--ink);
  text-decoration: none;
}
.toc a:hover { color: var(--accent-c); text-decoration: underline; }

.t-scroll { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; }
caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 8px;
  color: var(--ink-2);
  font-size: 13.5px;
}
th, td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--surface-2); font-weight: 700; white-space: nowrap; }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

figure { margin: 0 0 18px; }
figure img { display: block; width: 100%; border-radius: 12px; }
figcaption { margin-top: 8px; color: var(--ink-2); font-size: 13.5px; }

.pc { display: grid; grid-template-columns: 1fr; gap: 14px; }
.pc__col { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.pc__col h3 { margin-bottom: 8px; }
.pc ul { margin: 0; padding: 0; list-style: none; }
.pc li { position: relative; margin-bottom: 8px; padding-left: 26px; font-size: 15px; }
.pc li::before { position: absolute; left: 0; top: 0; }
.pc--pro li::before { content: "\2705"; }
.pc--con li::before { content: "\274C"; }
.pc__col--pro { border-color: #BFE3CD; }
.pc__col--con { border-color: #F2C9CF; }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 700 16px/1.4 inherit;
  text-align: left;
  cursor: pointer;
}
.faq__q::after {
  content: "";
  flex: 0 0 auto;
  width: 9px; height: 9px;
  border: solid var(--ink-2);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.faq__q[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.faq__a { padding: 0 0 14px; }
.faq__a[hidden] { display: none; }
.faq__a p:last-child { margin-bottom: 0; }

.footer {
  background: #14141A;
  color: #C3C5CC;
  padding: 26px 15px 30px;
  font-size: 14px;
  line-height: 1.7;
}
.footer a { color: #FFFFFF; }
.footer__inner { max-width: var(--wrap); margin: 0 auto; }
.footer__logo { height: 34px; width: auto; margin-bottom: 14px; }
.footer__nav ul, .footer__rg ul {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin: 0 0 14px; padding: 0; list-style: none;
}

.footer__nav a, .footer__rg a {
  display: inline-block;
  padding: 13px 0;
  margin: -13px 0;
}
.footer h2 { font-size: 14px; color: #FFFFFF; margin-bottom: 6px; }
.footer__age {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border: 1px solid #4A4A55;
  border-radius: 999px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
}
.footer__copy { margin: 14px 0 0; color: #8D8F98; font-size: 13px; }

.offer-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  max-height: var(--bar-h);
  padding: 8px 10px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .12);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.offer-bar[data-shown] { transform: none; }
.offer-bar[hidden] { display: none; }
.offer-bar__logo { flex: 0 0 auto; width: 42px; height: 42px; }
.offer-bar__text { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.offer-bar__figure {
  display: block;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offer-bar__rating { display: block; font-size: 12px; color: var(--ink-2); }
.offer-bar__rating span { color: #E8A200; }
.offer-bar .buttons { flex: 0 0 auto; }
.offer-bar__close {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: block;
  padding: 5vh 15px 24px;
  background: rgba(0, 0, 0, .55);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modal[hidden] { display: none; }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--surface);
}
.modal__panel h2 {
  font-size: 20px;
  text-align: left;
  margin: 0 52px 14px 0;
}
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 16px; line-height: 1; cursor: pointer;
}
.modal__close:hover { background: var(--line); }

.langs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.langs a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.langs a:hover { background: var(--line); }
.langs [aria-current] { outline: 2px solid var(--accent-c); }
.langs img { flex: 0 0 auto; width: 24px; height: 18px; border-radius: 3px; }

.scroll-up {
  position: fixed;
  right: 16px;
  bottom: calc(var(--bar-h) + 14px);
  z-index: 35;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(20, 20, 26, .55);
  color: #FFFFFF;
  font-size: 18px; line-height: 1;
  cursor: pointer;
}
.scroll-up[hidden] { display: none; }

.legal h2 { margin-top: 26px; }
.legal h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal__updated { color: var(--ink-2); font-size: 14px; }

@media (min-width: 560px) {
  .pc { grid-template-columns: 1fr 1fr; }
  .offer-bar__logo { width: 48px; height: 48px; }
  .offer-bar__figure { font-size: 15.5px; }
}

@media (min-width: 860px) {
  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  h3 { font-size: 19px; }
  body { font-size: 17px; }
  .page { padding: 76px 20px 24px; }
  .box { padding: 26px 32px; }
  .hero { padding: 18px; }
  .hero__cta { margin-bottom: 18px; }
  .toc ol { columns: 2; column-gap: 30px; }
  .offer-bar { gap: 16px; padding: 10px 22px; min-height: 72px; max-height: 90px; }
  .offer-bar__logo { width: 54px; height: 54px; }
  .offer-bar__figure { font-size: 17px; }
  .offer-bar .buttons--bar .btn { min-height: 52px; padding: 12px 26px; font-size: 16px; }
  body { padding-bottom: 90px; }
  .scroll-up { bottom: 104px; right: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .offer-bar { transition: none; }
}

/* Right-to-left locales (/ar/). Flips only the properties this sheet sets
   with a physical side; everything else follows dir="rtl" on its own. */
[dir="rtl"] p,
[dir="rtl"] li,
[dir="rtl"] td,
[dir="rtl"] th,
[dir="rtl"] dd,
[dir="rtl"] dt,
[dir="rtl"] figcaption { text-align: right; }

[dir="rtl"] .crumbs li + li::before { margin-right: 0; margin-left: 6px; }

[dir="rtl"] .toc ol { padding-left: 0; padding-right: 20px; }

[dir="rtl"] caption { text-align: right; }
[dir="rtl"] .num { text-align: left; }

[dir="rtl"] .pc li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .pc li::before { left: auto; right: 0; }

[dir="rtl"] .faq__q { text-align: right; }

[dir="rtl"] .modal__panel h2 { text-align: right; margin: 0 0 14px 52px; }
[dir="rtl"] .modal__close { right: auto; left: 12px; }

[dir="rtl"] .scroll-up { right: auto; left: 16px; }

[dir="rtl"] .legal ul { padding-left: 0; padding-right: 20px; }

@media (min-width: 860px) {
  [dir="rtl"] .scroll-up { right: auto; left: 26px; }
}
