/* ==========================================================================
   Algrow — landing
   Mobile first (375px), logical properties throughout so RTL mirrors cleanly.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Arabic faces: only fetched when Arabic text uses them (i.e. when the page is in Arabic). */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/plex-arabic-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/plex-arabic-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Markazi Text";
  src: url("../fonts/markazi-arabic.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0F0D0A;
  --surface: #1A1712;
  --text: #F4EFE6;
  --muted: #B3A999;
  --accent: #F5B83D;
  --accent-deep: #C98F1E;
  --ink: #17120A;
  --line: rgba(244, 239, 230, .10);
  --line-strong: rgba(244, 239, 230, .18);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --display-scale: 1;
  --display-lh: 1.06;
  --display-track: -0.022em;
  --body-lh: 1.6;

  --pad: 20px;
  --maxw: 1180px;
  --section: 76px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[lang="ar"] {
  --font-display: "Markazi Text", "Fraunces", "Traditional Arabic", serif;
  --font-body: "IBM Plex Sans Arabic", "Hanken Grotesk", system-ui, "Segoe UI", Tahoma, sans-serif;
  --font-ui: "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif;
  --display-scale: 1.24;
  --display-lh: 1.14;
  --display-track: 0;
  --body-lh: 1.9;
}
@media (min-width: 900px) {
  :root { --pad: 40px; --section: 132px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--body-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.lang-pending body { visibility: hidden; }
img, svg, picture { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
main { overflow-x: clip; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }

.sprite { position: absolute; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.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; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; padding: 14px 18px; background: var(--accent); color: var(--ink); font-weight: 600; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

.ico { width: 22px; height: 22px; flex: none; }
.ico-22 { width: 22px; height: 22px; flex: none; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: var(--display-lh);
  letter-spacing: var(--display-track);
  font-optical-sizing: auto;
  text-wrap: balance;
}
html[lang="ar"] .display { font-weight: 600; }
.display em { font-style: normal; color: var(--accent); }
h2.display { font-size: calc(clamp(2rem, 7.8vw, 2.7rem) * var(--display-scale)); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 34em; text-wrap: pretty; }
.body-lg { font-size: 1.0625rem; color: var(--muted); max-width: 33em; text-wrap: pretty; }
.kicker {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex: none; }
html[lang="ar"] .kicker { font-size: 1rem; letter-spacing: 0; text-transform: none; }
.fig-note { font-size: .9375rem; color: var(--muted); }
@media (min-width: 900px) {
  h2.display { font-size: calc(clamp(2.75rem, 4.1vw, 3.6rem) * var(--display-scale)); }
  .lead { font-size: 1.25rem; }
  .body-lg { font-size: 1.1875rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
html[lang="ar"] .btn { font-weight: 600; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(245, 184, 61, .55); }
.btn--primary:hover { background: #FFC85A; }
.btn--primary:focus-visible { outline-color: var(--text); }
.btn--sm { min-height: 48px; padding: 0 18px; font-size: 1rem; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--ghost .ico { color: var(--accent); }

/* ---------- Grain + glow ---------- */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 13, 10, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; min-height: 48px; flex: none; }
.brand img { width: 126px; }
.header__tools { display: flex; align-items: center; gap: 12px; }
.header__wa { display: none; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; }
.lang__btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-ui); font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: var(--muted);
  -webkit-tap-highlight-color: transparent;
}
.lang__btn span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; transition: background-color .2s, color .2s; }
/* system Arabic face here so the Arabic webfonts are not fetched on FR/EN pages */
.lang__btn--ar { font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", sans-serif; font-size: 1.125rem; letter-spacing: 0; }
.lang__btn--ar span { padding-bottom: 4px; }
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-pressed="true"] { color: var(--text); }
.lang__btn[aria-pressed="true"] span { background: rgba(244, 239, 230, .12); }
@media (min-width: 600px) {
  .header__wa { display: inline-flex; }
  .brand img { width: 140px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 28px 64px; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset-inline: -20%; bottom: -6%; height: 70%;
  background: radial-gradient(46% 46% at 50% 55%, rgba(245, 184, 61, .16), rgba(245, 184, 61, 0) 70%);
}
.hero__grid { display: grid; gap: 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 1rem; font-weight: 500; color: var(--muted); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245, 184, 61, .16); flex: none; }
.hero__title { font-size: calc(clamp(2.375rem, 10.2vw, 3.25rem) * var(--display-scale)); margin-bottom: 20px; }
.hero__cta { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.hero__cta .btn { width: 100%; }
.hero__note { font-size: 1rem; color: var(--muted); text-align: center; }
.hero__demo { display: flex; justify-content: center; }
@media (min-width: 600px) {
  .hero__cta { flex-direction: row; align-items: center; gap: 20px; }
  .hero__cta .btn { width: auto; }
  .hero__note { text-align: start; }
}
@media (min-width: 900px) {
  .hero { padding-block: 64px 120px; }
  .hero::before { inset-inline: 48% -10%; top: 0; bottom: 0; height: auto; background: radial-gradient(42% 46% at 50% 52%, rgba(245, 184, 61, .17), rgba(245, 184, 61, 0) 72%); }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 56px; }
  .hero__title { font-size: calc(clamp(3.4rem, 5.5vw, 5rem) * var(--display-scale)); margin-bottom: 26px; }
  .hero__cta { margin-top: 36px; }
  .eyebrow { margin-bottom: 26px; }
}

/* ---------- Phone demo ---------- */
.demo { width: min(100%, 300px); }
.phone {
  width: 100%; aspect-ratio: 300 / 600; padding: 9px;
  border-radius: 46px; background: #060606;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 1px #000, 0 50px 90px -40px rgba(0, 0, 0, .9), 0 30px 60px -30px rgba(245, 184, 61, .12);
}
.phone__screen {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: 37px; background: #0B0E12; color: #fff;
  font-family: var(--font-ui); line-height: 1.38;
}
.ph-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 4px; font-size: .8125rem; font-weight: 600; flex: none; }
.ph-time { font-variant-numeric: tabular-nums; direction: ltr; }
.ph-sys { display: flex; align-items: center; gap: 6px; }
.ph-signal { width: 17px; height: 11px; }
.ph-battery { width: 26px; height: 12px; }
.ph-head { display: flex; align-items: center; gap: 9px; padding: 8px 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); flex: none; }
.ph-back { width: 22px; height: 22px; flex: none; }
.ph-avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; background: linear-gradient(140deg, #5b6472, #2e333c); }
.ph-who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.ph-who b { font-size: .9375rem; font-weight: 600; }
.ph-who small { font-size: .75rem; color: #9aa1ab; }
.ph-act { width: 22px; height: 22px; flex: none; margin-inline-start: 6px; }
.ph-chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; flex: 1; min-height: 0; padding: 10px 11px 8px; overflow: hidden; transition: opacity .45s; }
.ph-chat.is-fading { opacity: 0; }
.ph-composer { display: flex; align-items: center; gap: 10px; margin: 0 9px 11px; padding: 5px 14px 5px 5px; min-height: 40px; border-radius: 999px; background: #1c2027; color: #8f96a1; font-size: .875rem; flex: none; }
[dir="rtl"] .ph-composer { padding: 5px 5px 5px 14px; }
.ph-cam { width: 30px; height: 30px; border-radius: 50%; background: #5B51F5; flex: none; }

.bub { max-width: 84%; padding: 9px 13px; border-radius: 20px; font-family: var(--font-ui); font-size: .875rem; line-height: 1.38; color: #fff; overflow-wrap: anywhere; }
html[lang="ar"] .bub { line-height: 1.6; }
.bub--in { align-self: flex-start; background: #262A31; border-end-start-radius: 6px; }
.bub--out { align-self: flex-end; background: linear-gradient(180deg, #A537F0, #5E4CF5); border-end-end-radius: 6px; }
.bub-by { align-self: flex-end; margin-top: -1px; margin-bottom: 2px; font-family: var(--font-ui); font-size: .6875rem; line-height: 1.3; color: #9aa1ab; }
html[lang="ar"] .bub-by { font-size: .75rem; }
.bub-by b { font-weight: 600; color: var(--accent); }

.typing { display: none; align-items: center; gap: 4px; padding: 13px 14px; border-radius: 20px; }
.typing.is-on { display: inline-flex; }
.typing--in { align-self: flex-start; background: #262A31; }
.typing--out { align-self: flex-end; background: linear-gradient(180deg, #A537F0, #5E4CF5); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .85); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }

.js .ph-chat [data-step]:not(.is-in) { display: none; }
.js .ph-chat [data-step].is-in { animation: bub-in .34s var(--ease) both; }
@keyframes bub-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.ph-toast {
  position: absolute; inset-inline: 8px; top: 8px; z-index: 2;
  display: flex; gap: 10px; padding: 10px 12px 11px;
  border-radius: 22px; background: #2C2C30;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.js .ph-toast { transform: translateY(-135%); opacity: 0; transition: transform .55s cubic-bezier(.2, .9, .25, 1), opacity .3s; }
.js .ph-toast.is-in { transform: none; opacity: 1; }
.ph-toast__ico { width: 34px; height: 34px; flex: none; margin-top: 1px; }
.ph-toast__body { min-width: 0; flex: 1; }
.ph-toast__top { display: flex; justify-content: space-between; gap: 8px; font-size: .6875rem; color: #a8adb5; text-transform: uppercase; letter-spacing: .04em; }
html[lang="ar"] .ph-toast__top { letter-spacing: 0; font-size: .75rem; }
.ph-toast__title { font-size: .8125rem; font-weight: 600; margin-top: 1px; }
.ph-toast__text { font-size: .8125rem; line-height: 1.36; color: #e9e9ec; }
html[lang="ar"] .ph-toast__text { line-height: 1.55; }

.demo__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-inline-start: 6px; min-height: 48px; }
.demo__caption { font-size: .9375rem; color: var(--muted); }
.demo__toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--muted); cursor: pointer; flex: none; -webkit-tap-highlight-color: transparent; }
.demo__toggle::before { content: ""; grid-area: 1 / 1; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); }
.demo__toggle .ico { grid-area: 1 / 1; width: 16px; height: 16px; }
.demo__toggle:hover { color: var(--text); }
.demo__toggle .ico--play, .demo__toggle.is-paused .ico--pause { display: none; }
.demo__toggle.is-paused .ico--play { display: block; }
html:not(.js) .demo__toggle, .demo.is-static .demo__toggle { visibility: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section__head { margin-bottom: 40px; }
@media (min-width: 900px) { .section__head { margin-bottom: 64px; max-width: 820px; } }

/* ---------- Problem ---------- */
.problem { border-top: 1px solid var(--line); }
.problem__grid { display: grid; gap: 56px; }
.problem__copy h2 { margin-bottom: 20px; }
.moments { margin-top: 40px; position: relative; }
.moment { position: relative; padding-inline-start: 30px; padding-bottom: 28px; }
.moment::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--muted); background: var(--bg); z-index: 1; }
.moment::after { content: ""; position: absolute; inset-inline-start: 4px; top: 1.1em; bottom: -.5em; width: 1px; background: var(--line-strong); }
.moment--last { padding-bottom: 0; }
.moment--last::after { display: none; }
.moment--last::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(245, 184, 61, .16); }
.moment__when { font-family: var(--font-display); font-size: calc(1.375rem * var(--display-scale)); font-weight: 500; line-height: 1.25; margin-bottom: 6px; }
html[lang="ar"] .moment__when { font-weight: 600; }
.moment--last .moment__when { color: var(--accent); }
.moment p { color: var(--muted); max-width: 30em; }
html[lang="ar"] .moment::before { top: .8em; }
html[lang="ar"] .moment::after { top: 1.5em; }

.inbox__card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; font-family: var(--font-ui); }
.inbox__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 600; }
.inbox__clock { margin-inline-start: auto; font-size: .875rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.inbox__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av body time" "av miss miss"; align-items: start; gap: 7px 12px; padding: 14px 16px; }
.inbox__avatar { grid-area: av; }
.inbox__body { grid-area: body; }
.inbox__meta { display: contents; }
.inbox__time { grid-area: time; padding-top: 2px; }
.inbox__miss { grid-area: miss; justify-self: start; }
.inbox__row + .inbox__row { border-top: 1px solid var(--line); }
.inbox__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, #4a4338, #2a251d); }
.inbox__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.inbox__body b { font-size: .9375rem; font-weight: 600; }
.inbox__body span { font-size: .9375rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox__time { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.inbox__miss { font-size: .75rem; font-weight: 600; color: var(--muted); padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 999px; white-space: nowrap; }
html[lang="ar"] .inbox__miss { font-size: .8125rem; }
.inbox .fig-note { margin-top: 10px; }
.js .inbox .inbox__row { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .inbox .inbox__miss { opacity: 0; transition: opacity .5s; }
.js .inbox.is-in .inbox__row { opacity: 1; transform: none; }
.js .inbox.is-in .inbox__row:nth-child(1) { transition-delay: .15s; }
.js .inbox.is-in .inbox__row:nth-child(2) { transition-delay: .4s; }
.js .inbox.is-in .inbox__row:nth-child(3) { transition-delay: .65s; }
.js .inbox.is-in .inbox__row:nth-child(4) { transition-delay: .9s; }
.js .inbox.is-in .inbox__miss { opacity: 1; transition-delay: 1.5s; }
.js .inbox.is-in .inbox__row:nth-child(-n+3) .inbox__body { opacity: .62; transition: opacity .8s 1.7s; }

.punch { margin-top: 36px; font-size: calc(clamp(1.625rem, 6.4vw, 2.125rem) * var(--display-scale)); line-height: 1.16; }
html[lang="ar"] .punch { line-height: 1.22; }
.problem__test { margin-top: 20px; padding-inline-start: 16px; border-inline-start: 1px solid var(--accent-deep); color: var(--muted); max-width: 32em; }
@media (min-width: 900px) {
  .problem__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 88px; align-items: start; }
  .problem__visual { padding-top: 56px; }
  .moments { margin-top: 52px; }
  .punch { margin-top: 44px; }
}

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg, rgba(26, 23, 18, 0), rgba(26, 23, 18, .7) 30%, rgba(26, 23, 18, .7) 70%, rgba(26, 23, 18, 0)); }
.steps { display: grid; gap: 44px; }
.step__ui {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  min-height: 196px; padding: 18px; margin-bottom: 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #14110D;
}
.ui-app { display: flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: .875rem; font-weight: 600; color: var(--muted); }
.ui-langs, .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-langs span, .chip { padding: 4px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--font-ui); font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.chip.is-on { border-color: var(--accent); color: var(--accent); }
.alert-card { display: flex; flex-direction: column; align-self: flex-start; max-width: 100%; padding: 10px 14px 11px; border-radius: 6px 16px 16px 16px; background: #fff; color: #17181a; font-family: var(--font-ui); font-size: .875rem; line-height: 1.5; }
[dir="rtl"] .alert-card { border-radius: 16px 6px 16px 16px; }
.alert-card b { font-weight: 600; }
.mask { display: inline-block; width: 52px; height: .95em; border-radius: 5px; background: #C6CBD2; vertical-align: -.12em; }
.step__num { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1rem; font-weight: 500; color: var(--accent); margin-bottom: 8px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.step__title { font-family: var(--font-display); font-size: calc(1.5rem * var(--display-scale)); font-weight: 500; line-height: 1.2; margin-bottom: 8px; }
html[lang="ar"] .step__title { font-weight: 600; }
.step__text { color: var(--muted); max-width: 30em; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .step:nth-child(2) { margin-top: 36px; }
  .step:nth-child(3) { margin-top: 72px; }
  .step__ui { min-height: 216px; padding: 22px; }
}

/* ---------- Proof ---------- */
.proof__caption { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 22px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 16px; font-size: 1rem; font-weight: 500; line-height: 1.45; color: var(--text); }
.proof__caption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.proof__grid { display: grid; gap: 48px; justify-items: center; }
.shot { width: 100%; display: flex; flex-direction: column; align-items: center; }
.frame-phone { width: min(100%, 286px); padding: 8px; border-radius: 40px; background: #060606; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.frame-phone img { width: 100%; border-radius: 32px; background: #0B0E12; }
.frame-card { width: min(100%, 406px); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-strong), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.frame-card img { width: 100%; background: #b9cf9c; }
.shot__cap { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; max-width: 406px; font-size: 1rem; color: var(--muted); line-height: 1.5; }
html[lang="ar"] .shot__cap { line-height: 1.8; }
.shot__cap svg { margin-top: 1px; }
.proof__note { margin-top: 32px; text-align: center; }
@media (min-width: 900px) {
  .proof__grid { grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 96px; }
  .frame-phone { width: 316px; }
  .shot { width: auto; }
  .shot--tg { margin-top: 64px; }
  .proof__note { margin-top: 56px; }
}

/* ---------- Why ---------- */
.why { border-top: 1px solid var(--line); }
.why__list { border-top: 1px solid var(--line-strong); counter-reset: why; }
.why__item { counter-increment: why; display: grid; gap: 6px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.why__item h3 { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-size: calc(1.5rem * var(--display-scale)); font-weight: 500; line-height: 1.2; }
html[lang="ar"] .why__item h3 { font-weight: 600; }
.why__item h3::before { content: counter(why, decimal-leading-zero); font-family: "Fraunces", Georgia, serif; font-size: .875rem; font-weight: 500; color: var(--accent); letter-spacing: .04em; flex: none; min-width: 1.6em; }
.why__item p { color: var(--muted); padding-inline-start: calc(1.6em * .875 + 14px); max-width: 34em; }
@media (min-width: 900px) {
  .why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .why__head { position: sticky; top: 120px; margin-bottom: 0; }
  .why__item { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: baseline; padding-block: 30px; }
  .why__item p { padding-inline-start: 0; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 16px; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 600; line-height: 1.35; -webkit-tap-highlight-color: transparent; }
.qa summary::-webkit-details-marker { display: none; }
.qa__ico { width: 22px; height: 22px; flex: none; color: var(--accent); transition: transform .3s var(--ease); }
.qa[open] .qa__ico { transform: rotate(45deg); }
.qa p { padding-bottom: 22px; color: var(--muted); max-width: 38em; }
@media (min-width: 900px) {
  .faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .faq .section__head { margin-bottom: 0; }
  .qa summary { font-size: 1.1875rem; min-height: 72px; }
}

/* ---------- Coming soon ---------- */
.soon { padding-block: 28px; border-block: 1px solid var(--line); }
.soon__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.soon__label { font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
html[lang="ar"] .soon__label { font-size: 1rem; letter-spacing: 0; }
.soon__label { flex-basis: 100%; }
.soon__text { color: var(--muted); flex: 1 1 220px; }
@media (min-width: 900px) { .soon__label { flex-basis: auto; } .soon__text { flex: 1 1 auto; } }
.soon__list { display: flex; flex-wrap: wrap; gap: 8px; }
.soon__list li { padding: 6px 14px; border: 1px dashed var(--line-strong); border-radius: 999px; font-size: 1rem; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { padding-block: 88px 96px; text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 50% 100%, rgba(245, 184, 61, .15), rgba(245, 184, 61, 0) 70%); }
.final__in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final__title { font-size: calc(clamp(2.25rem, 9.4vw, 3rem) * var(--display-scale)); max-width: 15em; }
.final .lead { max-width: 30em; }
.final .btn { margin-top: 10px; width: 100%; max-width: 360px; }
@media (min-width: 900px) {
  .final { padding-block: 150px 160px; }
  .final__title { font-size: calc(clamp(3.4rem, 5.4vw, 4.75rem) * var(--display-scale)); }
  .final .btn { width: auto; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px calc(112px + env(safe-area-inset-bottom)); }
.footer__in { display: grid; gap: 28px; }
.footer__brand img { width: 126px; }
.footer__brand p { margin-top: 12px; color: var(--muted); max-width: 26em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding-inline-end: 6px; text-decoration: none; font-weight: 500; }
.footer__links a:hover { color: var(--accent); }
.footer__links .ico { color: #25D366; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; font-size: .9375rem; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .site-footer { padding-block: 56px 48px; }
  .footer__in { grid-template-columns: 1fr auto; align-items: start; }
  .footer__legal { grid-column: 1 / -1; }
}

/* ---------- Sticky WhatsApp bar (mobile) ---------- */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  padding: 18px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(15, 13, 10, .98) 62%, rgba(15, 13, 10, 0));
  transform: translateY(110%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s .4s;
}
.sticky-cta.is-on { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.sticky-cta .btn { display: flex; width: 100%; max-width: 460px; margin-inline: auto; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .inbox .inbox__row, .js .inbox .inbox__miss { opacity: 1; transform: none; }
}
