/* باياتي — bayati.ly. System fonts only, no external requests. */
:root {
  color-scheme: light dark;
  --bg: #F3F5F9;
  --surface: #FFFFFF;
  --soft: #F1F4F9;
  --raised: #E4E9F2;
  --ink: #131C30;
  --muted: #5A657B;
  --soften: #414C63;
  --line: #E3E8F1;
  --deep: #1F5EEA;
  --deep-2: #1A4FC9;
  --blue: #1A4FC9;
  --mint: #E6EEFE;
  --mark: #1F5EEA;
  --dot: #1F5EEA;
  --brass: #F2B33D;
  --shadow: 0 1px 2px rgba(20, 48, 110, .06), 0 12px 32px rgba(20, 48, 110, .08);
  --radius: 22px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Arabic", "SF Pro Text", "Segoe UI", "Noto Kufi Arabic", "Noto Sans Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0F19;
    --surface: #141B29;
    --soft: #1D2534;
    --raised: #1F2738;
    --ink: #EFF3FA;
    --muted: #9DA9C0;
    --soften: #B6C2D9;
    --line: #222A3A;
    --deep: #2F6BEF;
    --deep-2: #1F5EEA;
    --blue: #8FB6FF;
    --mint: #142A58;
    --mark: #8FB6FF;
    --dot: #F2B33D;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 16px 40px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .on-hero :focus-visible { outline-color: #FFFFFF; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
bdi { unicode-bidi: isolate; }

.skip {
  position: absolute; inset-inline-start: 12px; top: 12px; z-index: 10;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 12px;
  font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; box-shadow: var(--shadow); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); margin-inline: auto; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.top.on-hero { position: absolute; inset-inline: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand svg { width: 34px; height: 34px; }
.brand .b { fill: var(--mark); }
.brand .c { fill: var(--dot); }
.on-hero .brand { color: #FFFFFF; }
.on-hero .brand .b { fill: #FFFFFF; }
.on-hero .brand .c { fill: var(--brass); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--soften); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--mint); }
.on-hero .nav a { color: rgba(255, 255, 255, .9); }
.on-hero .nav a:hover { background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.nav .lang { border: 1px solid var(--line); }
.on-hero .nav .lang { border-color: rgba(255, 255, 255, .35); }

/* hero */
.hero {
  position: relative; overflow: hidden; color: #FFFFFF;
  background: radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, .16), transparent 55%), linear-gradient(160deg, #2465F0 0%, #1F5EEA 40%, #1A4FC9 100%);
  padding: 108px 0 0;
}
@media (prefers-color-scheme: dark) {
  .hero { background: radial-gradient(110% 80% at 85% 0%, rgba(143, 182, 255, .16), transparent 55%), linear-gradient(170deg, #182544 0%, #141B29 45%, #0A0F19 100%); }
}
.hero-ghost { position: absolute; inset-inline-end: -8%; bottom: -12%; width: min(70vw, 640px); opacity: .07; pointer-events: none; }
.hero-ghost path { fill: #FFFFFF; }
.hero .wrap { position: relative; display: grid; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: 8px; }
.app-icon { width: 88px; height: 88px; border-radius: 22.5%; box-shadow: 0 10px 30px rgba(6, 20, 60, .35), inset 0 0 0 1px rgba(255, 255, 255, .12); margin-bottom: 22px; }
.eyebrow { display: inline-block; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .85); margin-bottom: 10px; }
.hero h1 { font-size: clamp(2rem, 6.4vw, 3.4rem); line-height: 1.3; margin-bottom: 16px; text-wrap: balance; }
.hero .lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: rgba(255, 255, 255, .9); max-width: 34em; margin-bottom: 28px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 8px; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000000; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px; padding: 10px 18px 10px 20px; min-height: 58px;
}
.badge-soon svg { width: 26px; height: 26px; fill: #FFFFFF; flex: none; }
.badge-soon span { display: flex; flex-direction: column; line-height: 1.25; }
.badge-soon small { font-size: .78rem; opacity: .8; }
.badge-soon strong { font-size: 1.1rem; font-weight: 700; }
.badge-soon .ltr { display: inline; }
.cta-note { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.hero-phones { display: flex; justify-content: center; gap: 18px; margin-bottom: -2px; }
.hero-phones .phone { width: min(58vw, 290px); border-radius: 36px 36px 0 0; border-bottom: 0; }
.hero-phones .phone img { border-radius: 30px 30px 0 0; }
.hero-phones .phone.back { display: none; }

/* phone frame */
.phone {
  background: #0B0F17; padding: 8px; border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px rgba(6, 20, 60, .28);
}
.phone img { width: 100%; height: auto; border-radius: 32px; background: var(--soft); aspect-ratio: 800 / 1739; }

/* sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 4.2vw, 2.3rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature h3 { font-size: 1.2rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }
.ficon { width: 48px; height: 48px; border-radius: 15px; background: var(--mint); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pair { display: inline-flex; gap: 6px; margin-top: 12px; }
.chip { font-size: .85rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--soft); color: var(--soften); }
.chip.on { background: var(--deep); color: #FFFFFF; }

/* screenshots */
.shots-band { background: var(--surface); }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(68vw, 260px); gap: 20px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots figure { margin: 0; scroll-snap-align: center; }
.shots .phone { box-shadow: 0 18px 40px rgba(20, 48, 110, .16); }
.shots figcaption { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 12px; }

/* trust strip */
.trust { display: grid; gap: 14px; grid-template-columns: 1fr; }
.trust li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
.trust svg { width: 22px; height: 22px; flex: none; margin-top: 4px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
ul.clean { list-style: none; margin: 0; padding: 0; }
.more { margin-top: 22px; font-weight: 600; }

/* closing */
.closing { text-align: center; }
.closing .card { background: linear-gradient(160deg, #1F5EEA, #1A4FC9); color: #FFFFFF; border-radius: 28px; padding: 44px 24px; }
@media (prefers-color-scheme: dark) { .closing .card { background: linear-gradient(160deg, #182544, #141B29); box-shadow: inset 0 0 0 1px rgba(143, 182, 255, .14); } }
.closing h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.closing p { color: rgba(255, 255, 255, .88); }
.closing .badge-soon { margin-top: 8px; }

/* documents (privacy / support) */
.doc-head { padding: 40px 0 8px; }
.doc-head h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 8px; }
.doc-head .meta { color: var(--muted); }
.doc { padding: 16px 0 72px; }
.doc h2 { font-size: 1.35rem; margin-top: 2.2em; padding-top: .2em; scroll-margin-top: 90px; }
.doc h3 { font-size: 1.1rem; margin-top: 1.6em; }
.doc ul { padding-inline-start: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: .45em; }
.doc li::marker { color: var(--blue); }
.summary { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin: 24px 0 8px; }
.summary h2 { margin-top: 0; font-size: 1.15rem; }
.summary ul { margin-bottom: 0; }
.toc { background: var(--soft); border-radius: 18px; padding: 16px 22px; margin: 18px 0; }
.toc ol { margin: 0; padding-inline-start: 1.3em; columns: 2 220px; column-gap: 28px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; border-radius: 16px; box-shadow: var(--shadow); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: start; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.path { display: inline-block; background: var(--mint); color: var(--blue); border-radius: 10px; padding: 1px 10px; font-weight: 600; }
.mail { font-weight: 700; }
.note { background: var(--mint); border-radius: 16px; padding: 14px 18px; color: var(--soften); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > * { min-width: 0; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .a { padding: 0 22px 18px; color: var(--soften); }
.faq .a p:last-child, .faq .a ul:last-child { margin-bottom: 0; }
.contact { margin-top: 36px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; }
.contact h2 { margin-top: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--deep); color: #FFFFFF; text-decoration: none; font-weight: 700; border-radius: 14px; padding: 12px 22px; min-height: 48px; }
.btn:hover { background: var(--deep-2); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.lost svg { width: 96px; height: 96px; margin: 0 auto 20px; }
.lost .b { fill: var(--mark); } .lost .c { fill: var(--dot); }
.lost h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.lost p { color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: .95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--soften); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--blue); text-decoration: underline; }

@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .hero-phones .phone.back { display: block; width: 240px; align-self: flex-end; opacity: .96; transform: translateY(40px); }
}
@media (min-width: 980px) {
  .hero { padding-top: 120px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .hero-copy { padding-bottom: 96px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature.wide { grid-column: span 2; }
  .shots { grid-auto-columns: 1fr; overflow: visible; }
  section { padding: 96px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .top, .foot, .skip { display: none; }
  body { background: #FFFFFF; color: #000000; }
  .summary, .table-wrap, .faq details { box-shadow: none; border: 1px solid #CCCCCC; }
}
.closing a { color: #FFFFFF; }
.hero .eyebrow, .hero .cta-note { color: rgba(255, 255, 255, .94); }
@media (max-width: 480px) {
  .top .wrap { gap: 8px; }
  .nav { flex-wrap: nowrap; gap: 0; }
  .nav a { padding: 7px 9px; font-size: .9rem; }
  .brand { font-size: 1.1rem; gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  section { padding: 56px 0; }
  .hero { padding-top: 92px; }
}
.path { display: inline; padding: 2px 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; unicode-bidi: isolate; }
