/* binkly Auth product page (/auth.html, /ar/auth). Loaded after landing.css and site.css, which own the tokens,
   the top bars, the footer and the FAQ. The page is dark end to end, like the app: Deep Graphite pushed to near black,
   binkly lilac as the one light source, the app's own charcoal (#151515) for every phone surface and Cairo inside the
   phone, as in the app. Layout of this file:
     1. Page tokens and chrome     5. Scroll film (sticky phone + chapters)
     2. Hero                       6. Chapter widgets (rows, live code, encryption, PIN)
     3. Live demo: browser         7. Accounts, steps, FAQ, closing
     4. Live demo: phone           8. Arabic, motion, smaller screens
   Everything works without JavaScript: the demo shows its first state and the film shows a screen per chapter. */

/* ===== 1. Page tokens and chrome ===== */
body.ah {
  --ah-bg: #0B0B0F; --ah-1: #121218; --ah-2: #191920; --ah-3: #22222B; --ph-bg: #151515; --ph-1: #1E1E1E; --ph-2: #262626;
  --lil: #AFA8FF; --lil-2: #8B84FF; --lil-wash: rgba(255, 255, 255, .06); --ok-c: #3DD68C; --no-c: #FF7A6B; --no-wash: rgba(255, 122, 107, .12);
  --fg: #F5F5F8; --fg-2: #B9B9C6; --fg-3: #8E8E9C; --fg-soft: var(--fg-2);
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16); --line-strong: rgba(255, 255, 255, .6);
  --well: var(--ah-2); --well-2: var(--ah-3); --raised: var(--ah-1); --bg: var(--ah-bg); --bg-alt: var(--ah-1); --focus: var(--lil);
  --ease-q: cubic-bezier(.22, 1, .36, 1);
  background: var(--ah-bg); color: var(--fg-2);
}
.ah-main { display: block; overflow-x: clip; color: var(--fg-2); }
.ah-main h1, .ah-main h2, .ah-main h3 { color: var(--fg); text-wrap: balance; }
.ah-main p { text-wrap: pretty; }
.ah-main :focus-visible { outline: 2px solid var(--lil); outline-offset: 3px; }
.ah-wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.ah .ah-sn { background: rgba(11, 11, 15, .82); border-bottom-color: var(--line); }
.ah .ah-sn .sn-brand, .ah .ah-sn .sn-brand:hover { color: var(--fg); }
.ah .fx { background: var(--ah-bg); border-top-color: var(--line); }
.ah .ah-sn .sn-in::after { background: linear-gradient(90deg, rgba(11, 11, 15, 0), #0B0B0F) !important; }
html[dir="rtl"] .ah .ah-sn .sn-in::after { background: linear-gradient(270deg, rgba(11, 11, 15, 0), #0B0B0F) !important; }

/* "Coming soon" store button: a store-shaped object that says plainly it is not out yet. No other brand's mark. */
.ah-store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 22px 6px 16px; border-radius: 14px; background: var(--fg); color: var(--ah-bg); }
.ah-store svg { width: 22px; height: 22px; flex: none; }
.ah-store span { display: grid; gap: 1px; font-size: 12px; line-height: 1.2; font-weight: 500; color: #4A4A55; }
.ah-store b { font-size: 17px; font-weight: 600; color: var(--ah-bg); letter-spacing: -0.01em; }
/* The second store, the Chrome extension: the same shape in the dark, so Google Play stays the main one. */
.ah-store--alt { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.ah-store--alt span { color: rgba(255, 255, 255, .62); }
.ah-store--alt b { color: var(--fg); }
a.ah-store { text-decoration: none; transition: box-shadow var(--d-color, .15s) ease, background-color var(--d-color, .15s) ease; }
a.ah-store--alt:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }

/* ===== 2. Hero ===== */
.hx { position: relative; isolation: isolate; padding: 72px 0 104px; }
.hx-aura { position: absolute; z-index: -1; inset: -120px 0 auto; height: 900px; pointer-events: none;
  background: none; }
html[dir="rtl"] .hx-aura { transform: scaleX(-1); }
.hx-in { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hx-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hx-brand { display: inline-flex; align-items: center; gap: 14px; }
.hx-brand img { width: 52px; height: 52px; border-radius: 13px; }
.hx-brand > span { display: grid; gap: 1px; }
.hx-brand b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.hx-brand b i { font-style: normal; color: var(--lil); }
.hx-brand small { font-size: 14px; color: var(--fg-3); }
.hx h1 { font-size: clamp(40px, 4.3vw, 66px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; max-width: 12em; }
.hx h1 .hx-2 { color: #84848F; }
.hx-lead { font-size: 19px; line-height: 1.6; color: var(--fg-2); max-width: 31em; }
.hx-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hx-try { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--fg); text-decoration: none; padding: 8px 0; }
.hx-try svg { width: 18px; height: 18px; transition: transform var(--d-move) var(--ease-q); }
.hx-try:hover { color: var(--lil); }
.hx-try:hover svg { transform: translateX(3px); }
.hx-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--fg-3); }
.hx-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hx-facts svg { width: 15px; height: 15px; color: var(--ok-c); flex: none; }

/* One load sequence: the copy rises line by line, then the demo arrives. */
@keyframes ah-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hx-copy > * { animation: ah-rise .9s var(--ease-q) both; }
.hx-copy > :nth-child(2) { animation-delay: .06s; }
.hx-copy > :nth-child(3) { animation-delay: .14s; }
.hx-copy > :nth-child(4) { animation-delay: .22s; }
.hx-copy > :nth-child(5) { animation-delay: .28s; }
.hx-demo { animation: ah-rise 1.1s .2s var(--ease-q) both; }

/* ===== 3. Live demo: the browser ===== */
.dm { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 8px; }
.dm-web { width: 78%; border-radius: 16px; background: var(--ah-1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.dm-bar { display: flex; align-items: center; justify-content: center; position: relative; height: 44px; border-bottom: 1px solid var(--line); }
.dm-bar i { position: absolute; inset-inline-start: 16px; width: 44px; height: 8px; border-radius: 4px; background: var(--ah-3); }
.dm-bar span { padding: 5px 14px; border-radius: 8px; background: var(--ah-2); font: 500 12.5px/1.2 var(--font); color: var(--fg-3); }
.dm-body { position: relative; display: grid; min-height: 430px; }
.dm-v { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 36px 28px; padding-inline-end: 34%; text-align: center; transition: opacity .45s var(--ease-q), transform .45s var(--ease-q); }
.dm-v:not(.dm-v-idle) { opacity: 0; transform: translateY(10px); pointer-events: none; }
.dm-logo { width: 48px; height: 38px; margin-bottom: 6px; }
.dm-logo svg { width: 100%; height: 100%; }
.dm-t { font-size: 21px; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.dm-s { font-size: 14.5px; line-height: 1.5; color: var(--fg-2); max-width: 22em; }
.dm-n { margin-top: 10px; display: grid; place-items: center; width: 120px; height: 104px; border-radius: 20px; background: var(--ah-2); font: 600 54px/1 var(--font); letter-spacing: -0.02em; color: var(--fg); font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px var(--line), 0 0 0 0 rgba(175, 168, 255, .35); }
.dm-w { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13.5px; color: var(--fg-3); }
.dm-w i { width: 5px; height: 5px; border-radius: 50%; background: var(--lil); animation: ah-dot 1.2s ease-in-out infinite; }
.dm-w i:nth-child(2) { animation-delay: .15s; }
.dm-w i:nth-child(3) { animation-delay: .3s; margin-inline-end: 6px; }
@keyframes ah-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.dm-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 6px; }
.dm-badge svg { width: 30px; height: 30px; }
.dm-badge.ok { background: rgba(61, 214, 140, .14); color: var(--ok-c); }
.dm-badge.no { background: var(--no-wash); color: var(--no-c); }
.dm[data-state="ok"] .dm-v-idle, .dm[data-state="no"] .dm-v-idle, .dm[data-state="wrong"] .dm-v-idle { opacity: 0; transform: translateY(-10px); }
.dm[data-state="ok"] .dm-v-ok, .dm[data-state="no"] .dm-v-no, .dm[data-state="wrong"] .dm-v-wrong { opacity: 1; transform: none; }
.dm[data-state="confirm"] .dm-n { animation: none; box-shadow: inset 0 0 0 2px var(--lil); }

/* ===== 4. Live demo: the phone (drawn like the app, in Cairo) ===== */
.dm-phone { position: absolute; inset-inline-end: 0; top: 34px; width: min(300px, 46%); }
.dm-phone::before { content: ""; position: absolute; inset: 10% -14% -6%; z-index: -1; border-radius: 50%; background: none; filter: blur(10px); }
.ph { position: relative; display: flex; flex-direction: column; aspect-ratio: 300 / 590; padding: 18px 16px 16px; border-radius: 42px; background: var(--ph-bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 7px #0E0E12, 0 0 0 8px rgba(255, 255, 255, .08); overflow: hidden; font-family: var(--font-ar); color: #EDEDED; }
.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-clock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ph-1); font: 600 12px/1 var(--font); color: #CFCFCF; }
.ph-clock i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #CFCFCF; }
.ph-close { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ph-close svg { width: 14px; height: 14px; }
.ph-app { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 11px; color: #9A9A9A; }
.ph-app svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: var(--ph-1); color: #CFCFCF; }
.ph-app > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-q { margin-top: 10px; font-size: 21px; line-height: 1.25; font-weight: 600; color: #F5F5F5; }
.ph-hint { margin-top: 4px; font-size: 12px; color: #9A9A9A; }
.ph-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.pn { height: 70px; border-radius: 16px; background: var(--ph-1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); font: 600 28px/1 var(--font-ar); color: #F5F5F5; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease, transform .2s var(--ease-q); }
.pn:hover { background: var(--ph-2); box-shadow: inset 0 0 0 1.5px var(--lil); }
.pn:active { transform: scale(.96); }
.pn.is-bad { background: var(--no-wash); box-shadow: inset 0 0 0 1.5px var(--no-c); color: var(--no-c); animation: ah-shake .4s ease; }
.pn.is-good { background: rgba(175, 168, 255, .16); box-shadow: inset 0 0 0 2px var(--lil); }
@keyframes ah-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.ph-from { margin-top: 18px; font-size: 11.5px; color: #9A9A9A; }
.ph-rows { margin-top: 8px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ph-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; font-size: 12px; }
.ph-rows li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.ph-rows span { color: #9A9A9A; }
.ph-rows b { font-weight: 600; color: #EDEDED; }
.ph-notme { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 14px; background: #2A1716; box-shadow: inset 0 0 0 1px rgba(255, 122, 107, .35); font: 600 13.5px/1 var(--font-ar); color: var(--no-c); cursor: pointer; transition: background-color .2s ease; }
.ph-notme:hover { background: #351C1A; }
.ph-notme svg { width: 16px; height: 16px; }
.ph-sheet { position: absolute; inset: auto 0 0; display: grid; justify-items: center; gap: 4px; padding: 26px 16px 30px; border-radius: 26px 26px 0 0; background: #1C1C1C; box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); transform: translateY(105%); transition: transform .5s var(--ease-q); }
.ph-sheet b { margin-top: 8px; font-size: 15px; color: #F5F5F5; }
.ph-sheet small { font-size: 12px; color: #9A9A9A; }
.ph-fp { position: relative; display: grid; place-items: center; width: 64px; height: 64px; color: var(--lil); }
.ph-fp > svg:last-child { width: 32px; height: 32px; }
.ph-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ph-ring circle { fill: none; stroke: var(--lil); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 182.2; stroke-dashoffset: 182.2; }
.dm[data-state="confirm"] .ph-sheet { transform: none; }
.dm[data-state="confirm"] .ph-ring circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1.15s .35s cubic-bezier(.4, 0, .2, 1); }
.ph-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; background: var(--ph-bg); opacity: 0; transform: scale(.97); pointer-events: none; transition: opacity .4s var(--ease-q), transform .4s var(--ease-q); }
.ph-end b { font-size: 19px; color: #F5F5F5; }
.ph-end small { font-size: 12.5px; color: #9A9A9A; }
.dm[data-state="ok"] .ph-end-ok, .dm[data-state="no"] .ph-end-no, .dm[data-state="wrong"] .ph-end-wrong { opacity: 1; transform: none; }
.dm[data-state="ok"] .ph-end-ok .dm-badge, .dm[data-state="no"] .ph-end-no .dm-badge, .dm[data-state="wrong"] .ph-end-wrong .dm-badge { animation: ah-pop .5s var(--ease-q) both; }
@keyframes ah-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

.dm-foot { display: flex; align-items: center; gap: 16px; min-height: 48px; margin-top: 22px; width: 52%; }
.dm-tip { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--fg-2); }
.dm-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lil); box-shadow: 0 0 0 0 rgba(175, 168, 255, .5); }
.dm-again { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: 14px; color: var(--fg); cursor: pointer; }
.dm-again svg { width: 16px; height: 16px; }
.dm-again:hover { background: var(--ah-2); }
.dm[data-state="ok"] .dm-again, .dm[data-state="no"] .dm-again, .dm[data-state="wrong"] .dm-again { display: inline-flex; }
.dm[data-state="ok"] .dm-tip, .dm[data-state="no"] .dm-tip, .dm[data-state="wrong"] .dm-tip, .dm[data-state="confirm"] .dm-tip { display: none; }

/* ===== 5. Scroll film ===== */
.film { --glow: rgba(98, 86, 255, .34); position: relative; border-top: 1px solid var(--line); }
.film[data-step="1"] { --glow: rgba(255, 229, 138, .2); }
.film[data-step="2"] { --glow: rgba(61, 214, 140, .2); }
.film[data-step="3"] { --glow: rgba(175, 168, 255, .3); }
.film-in { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.ch { min-height: 96vh; display: flex; align-items: center; padding: 96px 0; }
.ch-in { max-width: 520px; }
.ch h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; }
.ch-p { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--fg-2); }
.ch-note { margin-top: 16px; font-size: 14.5px; color: var(--fg-3); }
.ch-shot { display: none; }
.film-stage { position: relative; }
.film-sticky { position: sticky; top: calc(50vh - 320px); height: 640px; display: grid; place-items: center; }
.film-glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: none; transition: background .8s ease; }
.scr { position: relative; width: 100%; max-width: 280px; aspect-ratio: 390 / 800; border-radius: 40px; overflow: hidden; background: var(--ph-bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 7px #0E0E12, 0 0 0 8px rgba(255, 255, 255, .08); }
.scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.scr-lg { max-width: 300px; }
.scr-lg img { opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease-q), transform .8s var(--ease-q); }
.scr-lg img.on { opacity: 1; transform: none; }

/* ===== 6. Chapter widgets ===== */
.w-rows, .w-code, .w-enc, .w-pin { margin-top: 32px; }
.w-rows { border-radius: 16px; background: var(--ah-1); box-shadow: inset 0 0 0 1px var(--line); }
.w-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 20px; }
.w-rows div + div { border-top: 1px solid var(--line); }
.w-rows dt { font-size: 14.5px; color: var(--fg-3); }
.w-rows dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--fg); text-align: end; }
.w-rows div:last-child dd { color: var(--lil); }

.wc-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--ah-1); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.wc-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ah-2); font: 600 18px/1 var(--font-ar); color: var(--fg); }
.wc-main { display: grid; gap: 2px; min-width: 0; }
.wc-main small { font-size: 13px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-main small b { color: var(--fg); font-weight: 600; }
.wc-num { font: 600 40px/1.1 var(--font-ar); letter-spacing: .02em; color: var(--fg); font-variant-numeric: tabular-nums; transition: opacity .25s ease, filter .25s ease; }
.wc-num.swap { opacity: 0; filter: blur(4px); }
.wc-ring { grid-column: 3; grid-row: 1; width: 48px; height: 48px; transform: rotate(-90deg); }
.wc-ring circle { fill: none; stroke-width: 2.6; }
.wc-track { stroke: var(--ah-3); }
.wc-arc { stroke: var(--lil); stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.wc-arc.late { stroke: #FFE58A; }
.wc-sec { grid-column: 3; grid-row: 1; justify-self: center; font: 600 12px/1 var(--font); color: var(--fg-2); }
.wc-cap { margin-top: 10px; font-size: 13px; color: var(--fg-3); }
.wc-search { margin-top: 18px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15px; color: var(--fg-2); }
.wc-search svg { width: 16px; height: 16px; color: var(--fg-3); }
.wc-search b { padding: 4px 10px; border-radius: 8px; background: var(--lil-wash); color: var(--lil); font-weight: 600; }

.w-enc { border-radius: 16px; background: var(--ah-1); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 20px; }
.we-label { position: relative; height: 20px; font-size: 13px; font-weight: 600; }
.we-label span { position: absolute; inset-inline-start: 0; transition: opacity .5s ease, transform .5s var(--ease-q); }
.we-a { color: var(--fg-2); }
.we-b { color: var(--ok-c); opacity: 0; transform: translateY(6px); }
.w-enc.is-on .we-a { opacity: 0; transform: translateY(-6px); }
.w-enc.is-on .we-b { opacity: 1; transform: none; }
.w-enc ul { margin-top: 12px; display: grid; }
.w-enc li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; font-size: 14px; color: var(--fg-2); }
.w-enc li + li { border-top: 1px solid var(--line); }
.w-enc code { font: 600 15px/1.2 var(--mono); color: var(--fg); background: none; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62%; }
.w-enc.is-on code { color: var(--ok-c); }
.we-lock { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); color: var(--fg-3); }
.we-lock svg { width: 14px; height: 14px; }

.w-pin { display: grid; justify-items: start; gap: 14px; padding: 22px 24px; border-radius: 16px; background: var(--ah-1); box-shadow: inset 0 0 0 1px var(--line); position: relative; max-width: 360px; }
.w-pin p { font-size: 15px; font-weight: 600; color: var(--fg); }
.wp-dots { display: flex; gap: 14px; }
.wp-dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--fg-3); }
.wp-ok { position: absolute; inset-inline-end: 22px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(61, 214, 140, .14); color: var(--ok-c); opacity: 0; }
.wp-ok svg { width: 22px; height: 22px; }
.ch.on .wp-dots i { animation: ah-pin 1.2s var(--ease-q) forwards; }
.ch.on .wp-dots i:nth-child(2) { animation-delay: .3s; }
.ch.on .wp-dots i:nth-child(3) { animation-delay: .6s; }
.ch.on .wp-dots i:nth-child(4) { animation-delay: .9s; }
.ch.on .wp-ok { animation: ah-okk 2.2s var(--ease-q) forwards; }
@keyframes ah-pin { 0% { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fg-3); } 30%, 100% { background: var(--lil); box-shadow: inset 0 0 0 1.5px var(--lil); } }
@keyframes ah-okk { 0%, 60% { opacity: 0; transform: scale(.9); } 100% { opacity: 1; transform: none; } }

/* ===== 7. Accounts, steps, FAQ, closing ===== */
.ac { padding: 128px 0; border-top: 1px solid var(--line); }
.ac-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: 56px; }
.ac-head h2, .sp h2, .fq h2 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.ac-head p { font-size: 18px; line-height: 1.6; color: var(--fg-2); }
.ac-list > li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 6fr); gap: 12px 40px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.ac-list > li:last-child { border-bottom: 1px solid var(--line); }
.ac-list h3 { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.ac-list > li > p { font-size: 15.5px; color: var(--fg-3); }
.ac-list ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-list ul li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--fg-2); transition: box-shadow .3s ease, color .3s ease; }
.ac-list > li:hover ul li { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); }
/* Links in the list and the answers (to the Auth API page) take the page's one light source, so they read as links on the dark. */
.ac-list a, .ah .faq p a { color: var(--lil); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ac-list a:hover, .ah .faq p a:hover { color: var(--fg); }

.sp { padding: 0 0 128px; }
.sp-list { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.sp-list::before { content: ""; position: absolute; top: 22px; inset-inline: 22px 22px; height: 1px; background: rgba(175, 168, 255, .35); }
html[dir="rtl"] .sp-list::before { background: rgba(175, 168, 255, .35); }
.sp-list li { position: relative; }
.sx { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ah-bg); box-shadow: inset 0 0 0 1.5px var(--lil); font: 600 16px/1 var(--font); color: var(--lil); }
.sp-list h3 { margin-top: 24px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.sp-list p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--fg-2); max-width: 26em; }

.fq { padding: 128px 0; border-top: 1px solid var(--line); }
.fq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.ah .faq summary { color: var(--fg); }
.ah .faq details[open] summary::after { background: var(--lil); color: var(--ah-bg); }

.en { position: relative; isolation: isolate; padding: 144px 0 152px; border-top: 1px solid var(--line); text-align: center; }
.en::before { content: ""; position: absolute; z-index: -1; inset: 0; background: none; }
.en-in { display: grid; justify-items: center; gap: 20px; }
.en-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.en h2 { margin-top: 8px; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; max-width: 14em; }
.en-in > p:not(.en-legal) { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 34em; }
.en-act { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 12px; }
.en-act .btn { min-height: 56px; border-radius: 14px; }
.en-legal { margin-top: 28px; font-size: 13.5px; color: var(--fg-3); }
.en-legal a { color: var(--fg-2); }

/* ===== 8. Arabic, motion, smaller screens ===== */
html[dir="rtl"] .hx h1 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.22; letter-spacing: 0; }
html[dir="rtl"] .ch h2, html[dir="rtl"] .ac-head h2, html[dir="rtl"] .sp h2, html[dir="rtl"] .fq h2, html[dir="rtl"] .en h2 { line-height: 1.25; letter-spacing: 0; }
html[dir="rtl"] .ac-list h3, html[dir="rtl"] .sp-list h3, html[dir="rtl"] .hx-brand b { letter-spacing: 0; }
html[dir="rtl"] .ah-store { padding: 6px 16px 6px 22px; }
html[dir="rtl"] .hx-try svg { transform: scaleX(-1); }
html[dir="rtl"] .hx-try:hover svg { transform: scaleX(-1) translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .ah *, .ah *::before, .ah *::after { animation: none !important; transition-duration: .01ms !important; }
  .ch.on .wp-dots i { background: var(--lil); box-shadow: inset 0 0 0 1.5px var(--lil); }
}

@media (max-width: 1100px) {
  .hx-in { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hx-copy { max-width: 680px; }
  .hx-demo { max-width: 720px; width: 100%; }
}
@media (max-width: 1000px) {
  .film-in { grid-template-columns: minmax(0, 1fr); }
  .film-stage { display: none; }
  .ch { min-height: 0; padding: 72px 0; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: center; }
  .ch + .ch { border-top: 1px solid var(--line); }
  .ch-shot { display: block; }
  .ch-shot .scr { max-width: 240px; }
  .ac-head, .fq-in { grid-template-columns: minmax(0, 1fr); }
  .ac-list > li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ac { padding: 96px 0; }
  .fq { padding: 96px 0; }
}
@media (max-width: 700px) {
  .hx { padding: 44px 0 72px; }
  .hx-lead { font-size: 17.5px; }
  .dm-web { width: 100%; }
  .dm-body { min-height: 0; }
  .dm-v { padding: 28px 20px 30px; }
  .dm-n { width: 104px; height: 88px; font-size: 46px; }
  .dm-phone { position: relative; inset: auto; top: auto; width: min(300px, 86%); margin: -18px auto 0; }
  .dm-foot { width: 100%; justify-content: center; }
  .ch { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 64px 0; }
  .ch-shot .scr { max-width: 250px; margin-inline: auto; }
  .wc-num { font-size: 34px; }
  .sp-list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sp-list::before { top: 22px; bottom: 22px; inset-inline: 22px auto; width: 1px; height: auto; background: rgba(175, 168, 255, .35); }
  html[dir="rtl"] .sp-list::before { background: rgba(175, 168, 255, .35); }
  .sp-list li { padding-inline-start: 68px; }
  .sx { position: absolute; inset-inline-start: 0; top: 0; }
  /* The number carries dir="ltr", which would flip its start side: in Arabic it sits on the right, on the line. */
  html[dir="rtl"] .sx { inset-inline-start: auto; left: auto; right: 0; }
  .sp-list h3 { margin-top: 8px; }
  .en { padding: 104px 0 112px; }
  .en-act { width: 100%; flex-direction: column; }
  .en-act > * { width: 100%; justify-content: center; }
  .hx-act .ah-store { width: 100%; justify-content: center; }
}
/* The two store pills sit together; the "try it" link keeps its wider gap. */
.hx-act .ah-store + .ah-store { margin-inline-start: -16px; }
@media (max-width: 700px) { .hx-act .ah-store + .ah-store { margin-inline-start: 0; } }

/* Steps in motion. When the list comes into view (js/site.js adds .is-in) the line draws itself from 1 to 3 and each
   number lights as the line reaches it; then a light keeps running along the line, like a request on its way to the
   phone, and each number gives a small pulse as it passes. Without the script, or with motion reduced or paused,
   the list stays still and complete. */
.sp-list li { --i: 0; }
.sp-list li:nth-child(2) { --i: 1; }
.sp-list li:nth-child(3) { --i: 2; }
.sp-list .sx { z-index: 1; transition: background-color .5s ease, color .5s ease, box-shadow .5s ease; transition-delay: calc(var(--i) * .62s); }
.sp-list::after { content: ""; position: absolute; z-index: 0; top: 21px; inset-inline: 22px; height: 3px; border-radius: 3px; pointer-events: none; opacity: 0;
  background: var(--lil); }
.sx::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0; pointer-events: none; }
/* In Arabic the line starts at step 1 on the right, so it is brightest there. */
@media (min-width: 701px) {
  html[dir="rtl"] .sp-list::after { background: var(--lil); }
}
.sp-list.anim::before { opacity: .35; }
.sp-list.anim .sx { color: rgba(175, 168, 255, .45); box-shadow: inset 0 0 0 1.5px rgba(175, 168, 255, .3); }
.sp-list.anim::after { opacity: 1; transform: scaleX(0); transform-origin: left center; }
html[dir="rtl"] .sp-list.anim::after { transform-origin: right center; background-position: 150% 0, 0 0; }
.sp-list.anim.is-in .sx { color: #FFFFFF; background: var(--ah-2); box-shadow: inset 0 0 0 1.5px var(--lil); }
.sp-list.anim.is-in::after { animation: sp-draw 1.35s cubic-bezier(.22, 1, .36, 1) forwards; }
html[dir="rtl"] .sp-list.anim.is-in::after { animation-name: sp-draw; }
@keyframes sp-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .sp-list::after { top: 22px; bottom: 22px; inset-inline: 21px auto; width: 3px; height: auto;
    background: var(--lil); }
  .sp-list.anim::after, html[dir="rtl"] .sp-list.anim::after { transform: scaleY(0); transform-origin: center top; background-position: 0 -50%, 0 0; }
  .sp-list.anim.is-in::after, html[dir="rtl"] .sp-list.anim.is-in::after { animation-name: sp-draw-down; }
  @keyframes sp-draw-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
@media (prefers-reduced-motion: reduce) {
  .sp-list.anim::after, html[dir="rtl"] .sp-list.anim::after { transform: none; animation: none !important; }
  .sp-list.anim .sx { transition: none; }
  .sp-list .sx::after { animation: none !important; }
}
.motion-off .sp-list.anim::after { animation-play-state: paused; }
.motion-off .sp-list .sx::after { animation: none; }

/* ===== 9. Quiet surfaces (design pass, December 2026) =====
   The hero, phone and closing sit on the plain page colour, with no glow layers behind them. */
.hx-aura, .film-glow { display: none; }
.dm-phone::before, .en::before { content: none; }
