/* About Konto: the owner's story as nine illustrated pages, told by the cast.
   Prefix ab-. Desktop: each chapter is a 1440 x 900 frame (base.css .kframe);
   phones: the words, then the scene scaled to the width (.kfit). */

/* ---------- the page frame: 48 px targets in the bar and the footer ---------- */
.ks.ab-page .brand, .ks.gt-page .brand { min-height: 48px; }
.ks.ab-page .langs button, .ks.gt-page .langs button { min-height: 48px; }
.ks.ab-page .nav .btn, .ks.gt-page .nav .btn { min-height: 48px; }
.ks.ab-page .nav-links a, .ks.gt-page .nav-links a { display: inline-flex; align-items: center; min-height: 48px; }
.ks.ab-page .nav-links a.on { color: var(--ink); background: rgba(15, 29, 34, .07); }
.ks.ab-foot .fi-brand, .ks.ab-foot .fi-links a { min-height: 48px; }
.ks.ab-foot .fi-langs button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; font-size: 14px; font-weight: 700; color: #C9DCE2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.ks.ab-foot .fi-langs button.on { background: #fff; color: #06141C; box-shadow: none; }
.ks.ab-foot .fi-legal { line-height: 1.6; }
.ks.ab-foot .fi-legal a { display: inline-block; padding-block: 12px; margin-block: -12px; }

/* ---------- chapters ---------- */
.ks.ab-ch { background: #FCF4E6; }
.ks .ab-sky { overflow: hidden; }
.ks .ab-copy { position: absolute; z-index: 3; inset-inline-start: 96px; top: 72px; bottom: 32px; width: 560px; display: flex; flex-direction: column; justify-content: center; }
.ks .ab-stage { position: absolute; z-index: 2; inset-inline-end: 56px; top: 132px; width: 680px; height: 700px; }
.ks .ab-scn { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ks .ab-fig { position: absolute; }
.ks .ab-fig > svg { display: block; width: 100%; height: auto; }
.ks .ab-front { z-index: 1; pointer-events: none; }
.ks .ab-front ~ .ab-fig { z-index: 2; }

/* words arrive when the chapter does; people step in */
.ks.ab-ch .ab-in { opacity: 0; }
.ks.ab-ch.play .ab-in { animation: k-rise .8s var(--ease) var(--d, 0s) both; }
.ks.ab-ch .ab-stage { opacity: 0; }
.ks.ab-ch.play .ab-stage { animation: ab-stage-in 1.1s var(--ease) .15s both; }
.ks.ab-ch.play .ab-fig { animation: ab-fig-in .9s var(--ease) .35s both; }
.ks.ab-ch.play .ab-fig:nth-of-type(2n) { animation-delay: .55s; }
.ks.ab-ch.play .ab-fig:nth-of-type(3n) { animation-delay: .75s; }

/* type */
.ks .ab-h1 { font-size: 76px; line-height: 1.02; }
.ks .ab-lead1 { display: block; font-size: 32px; font-weight: 700; line-height: 1.3; color: var(--ink-2); letter-spacing: 0; margin-bottom: 14px; }
.ks .ab-hero { display: inline-block; }
.ks .ab-h2 { font-size: 54px; line-height: 1.06; }
.ks[dir="rtl"] .ab-h1 { font-size: 66px; line-height: 1.3; }
.ks[dir="rtl"] .ab-h2 { font-size: 48px; line-height: 1.32; }
.ks .ab-lead2 { margin: 0 0 18px; font-size: 26px; font-weight: 700; line-height: 1.4; color: var(--ink-2); }
.ks .ab-copy .lead { margin-top: 20px; }
.ks .ab-h2 + .ab-lead2 { margin-top: 22px; }
.ks .eyebrow .ab-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c500); flex: none; }

/* 1 · Our story: dawn over the city */
.ks .ab-sky1 { background: linear-gradient(180deg, #F6E1C0 0%, #FBEBD3 55%, #FCF4E6 100%); }
.ks .ab-city { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 30%; opacity: .5; }
.ks .ab-bird { position: absolute; width: 16px; height: 6px; border-top: 2px solid rgba(90,70,60,.42); border-radius: 50% 50% 0 0; animation: ab-fly 34s linear infinite; }
.ks .ab-bird::after { content: ""; position: absolute; left: 13px; top: -2px; width: 16px; height: 6px; border-top: 2px solid rgba(90,70,60,.42); border-radius: 50% 50% 0 0; }
.ks .ab-bird.b1 { top: 18%; animation-delay: -6s; }
.ks .ab-bird.b2 { top: 24%; animation-delay: -19s; transform: scale(.75); }
.ks .ab-sunglow { animation: ab-glow 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.ks .ab-palm { animation: ab-sway 4.4s ease-in-out infinite alternate; transform-box: view-box; }
.ks .abc-belief .mark { --mark: #A3E4EE; }

/* 2 · Toil: three arches, three working days */
.ks .ab-sky2 { background: linear-gradient(180deg, #F6D58A 0%, #F0C25E 100%); }
.ks.abc-toil { --ink-2: #3A2C10; }
.ks .ab-words { list-style: none; margin: 0; padding: 0; }
.ks .ab-words li { font-size: 60px; font-weight: 900; line-height: 1.08; color: var(--ink); letter-spacing: -.015em; }
.ks .ab-words li:nth-child(2) { color: #FFFFFF; text-shadow: 0 2px 0 rgba(143,106,31,.25); }
.ks[dir="rtl"] .ab-words li { font-size: 56px; line-height: 1.34; letter-spacing: 0; }
.ks.abc-toil .lead { color: #3A2C10; font-weight: 600; }
.ks .ab-plinth { position: absolute; left: -20px; right: -20px; top: 600px; height: 24px; border-radius: 12px; background: rgba(143,106,31,.28); }
.ks .ab-arch { position: absolute; width: 196px; height: 300px; border-radius: 98px 98px 16px 16px; overflow: hidden; box-shadow: 0 0 0 9px #FFF7EA, 0 22px 40px rgba(120,72,30,.28); isolation: isolate; }
.ks .ab-arch.a1 { left: 14px; top: 290px; }
.ks .ab-arch.a2 { left: 242px; top: 200px; }
.ks .ab-arch.a3 { left: 470px; top: 290px; }
.ks.ab-ch.play .ab-arch { animation: ab-arch-in 1s var(--ease) both; }
.ks.ab-ch.play .ab-arch.a1 { animation-delay: .5s; }
.ks.ab-ch.play .ab-arch.a2 { animation-delay: .85s; }
.ks.ab-ch.play .ab-arch.a3 { animation-delay: 1.2s; }
.ks .ab-arch .ab-fig { animation: none !important; opacity: 1; }
.ks .ab-lamp { animation: ab-glow 3s ease-in-out infinite alternate; }
.ks .ab-bob { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #FFF7EA; box-shadow: 0 10px 22px rgba(120,72,30,.22); animation: ab-bob 3s ease-in-out infinite alternate; }
.ks .ab-bob svg { width: 34px; height: 34px; }
.ks .ab-heart { left: 80px; top: 196px; color: #E5487A; }
.ks .ab-heart svg { animation: ab-beat 1.3s ease-in-out infinite; }
.ks .ab-moonbub { left: 536px; top: 196px; color: #4F5FC7; animation-delay: -1.4s; }

/* 3 · Best: tools made for somewhere else */
.ks .ab-sky3 { background: linear-gradient(180deg, #EEF3FC 0%, #E1E9F8 100%); }
.ks .ab-else { list-style: none; margin: 22px 0 0; padding: 0 0 0 0; border-inline-start: 3px solid #B9C4DA; padding-inline-start: 16px; }
.ks .ab-else li { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--ink-3); }
.ks .ab-pains { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ks .ab-pains li { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; color: var(--ink); }
.ks .ab-pains i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bad-50); color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad-200); }
.ks .ab-pains svg { width: 18px; height: 18px; }
.ks .ab-alien { position: absolute; left: 190px; top: 60px; width: 250px; height: 340px; filter: drop-shadow(0 18px 30px rgba(40,60,100,.22)); transform: rotate(-4deg); }
.ks .ab-alien > svg { display: block; width: 100%; height: 100%; }
.ks.ab-ch.play .ab-alien { animation: ab-alien 5.5s ease-in-out 1.4s infinite; }
.ks .ab-gear { transform-box: view-box; animation: ab-spin 6s linear infinite; }
.ks .ab-tag { position: absolute; inset-inline-end: -26px; top: 46px; padding: 8px 14px; border-radius: 12px; background: var(--bad); color: #fff; font-size: 26px; font-weight: 900; direction: ltr; transform: rotate(10deg); box-shadow: 0 8px 18px rgba(192,57,43,.35); }
.ks .ab-qm { position: absolute; font-size: 56px; font-weight: 900; color: #6D7DA3; opacity: 0; }
.ks .ab-qm.q1 { left: 120px; top: 300px; }
.ks .ab-qm.q2 { left: 470px; top: 260px; }
.ks .ab-qm.q3 { left: 60px; top: 380px; font-size: 40px; }
.ks.ab-ch.play .ab-qm { animation: ab-qm 3.6s ease-in-out infinite; }
.ks.ab-ch.play .ab-qm.q1 { animation-delay: 1.8s; }
.ks.ab-ch.play .ab-qm.q2 { animation-delay: 2.6s; }
.ks.ab-ch.play .ab-qm.q3 { animation-delay: 3.4s; }

/* 4 · Hostage: the records, chained */
.ks .ab-sky4 { background: radial-gradient(70% 60% at 70% 55%, rgba(232,198,106,.12), rgba(232,198,106,0) 70%), linear-gradient(180deg, #0E1A30 0%, #0A1626 60%, #06141C 100%); }
.ks .ab-stars { position: absolute; inset: 0 0 45%; opacity: .7; background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 28% 42%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 46% 12%, #fff 50%, transparent 52%), radial-gradient(1.1px 1.1px at 63% 30%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 78% 16%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 91% 44%, #fff 50%, transparent 52%); animation: ab-twinkle 3.4s ease-in-out infinite alternate; }
.ks .ab-chain path { stroke-dashoffset: 0; }
.ks.ab-ch.play .ab-chain path { animation: ab-chain 1.2s 1.4s var(--ease) both; }
.ks .ab-lock { transform-box: view-box; }
.ks.ab-ch.play .ab-lock { animation: ab-lock-in .7s 2.4s var(--spring) both, ab-wiggle 3.2s 3.4s ease-in-out infinite; }
.ks.abc-hostage .lead { color: #C9DCE2; }
.ks.abc-hostage .ab-h2 { color: #fff; }

/* 5 · The question */
.ks .ab-sky5 { background: linear-gradient(170deg, #6366F1 0%, #4338CA 58%, #2E2A78 120%); }
.ks.abc-question { --ink-2: #DCDDFE; --mark: rgba(11,186,216,.7); }
.ks .ab-q-h { display: block; }
.ks .ab-new { margin-top: 18px; }
.ks .ab-oldwrap { display: block; font-size: 34px; line-height: 1.3; }
.ks .ab-old { display: inline; font-size: 34px; line-height: 1.3; font-weight: 800; color: #DCDDFE;
  background: linear-gradient(#E8C66A, #E8C66A) no-repeat 0 58% / 0 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ks[dir="rtl"] .ab-old { background-position: 100% 58%; }
.ks.ab-ch.play .ab-old { animation: k-rise .8s var(--ease) .4s both, ab-strike .7s 3.4s var(--ease) forwards; }
.ks .ab-new { display: block; opacity: 0; color: #fff; }
.ks.ab-ch.play .ab-new { animation: k-rise .9s var(--ease) 3.9s both; }
.ks .ab-q { position: absolute; left: 20px; right: 20px; top: 90px; height: 86px; }
.ks .ab-q > .ab-chip { position: absolute; top: 0; }
.ks .ab-q > .ab-people { left: 0; }
.ks .ab-q > .ab-apps { left: 100%; transform: translateX(-100%); }
.ks[dir="rtl"] .ab-q > .ab-people { left: auto; right: 0; }
.ks[dir="rtl"] .ab-q > .ab-apps { left: auto; right: 100%; transform: translateX(100%); }
.ks .ab-q > .ab-qarrow { position: absolute; left: 50%; top: 1px; translate: -50% 0; }
.ks .ab-chip { display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px 16px 18px; border-radius: 24px; background: #fff; color: #0F1D22; box-shadow: 0 16px 34px rgba(20,20,80,.35); }
.ks[dir="rtl"] .ab-chip { padding: 16px 18px 16px 26px; }
.ks .ab-chip i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #EEF0FF; color: #4338CA; }
.ks .ab-chip svg { width: 34px; height: 34px; }
.ks .ab-chip b { font-size: 34px; font-weight: 900; line-height: 1.1; }
.ks .ab-qarrow { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #E8C66A; color: #2E2A78; box-shadow: 0 10px 26px rgba(20,20,80,.35); }
.ks .ab-qarrow svg { width: 46px; height: 46px; }
.ks[dir="rtl"] .ab-qarrow svg { transform: scaleX(-1); }
.ks.ab-ch.play .ab-people { animation: ab-bend 1.4s .9s ease-in-out 2, ab-swap-a 1.2s 3.5s cubic-bezier(.6,0,.3,1) both; }
.ks.ab-ch.play .ab-apps { animation: ab-swap-b 1.2s 3.5s cubic-bezier(.6,0,.3,1) both, ab-bend 1.4s 4.9s ease-in-out 2; }
.ks.ab-ch.play[dir="rtl"] .ab-people { animation-name: ab-bend, ab-swap-a-rtl; }
.ks.ab-ch.play[dir="rtl"] .ab-apps { animation-name: ab-swap-b-rtl, ab-bend; }
.ks.ab-ch.play .ab-qarrow { animation: ab-nudge .5s 4.6s var(--spring) both; }
@keyframes ab-swap-a { 0% { left: 0; transform: translateX(0) } 50% { translate: 0 -78px } 100% { left: 100%; transform: translateX(-100%); translate: 0 0 } }
@keyframes ab-swap-b { 0% { left: 100%; transform: translateX(-100%) } 50% { translate: 0 78px } 100% { left: 0; transform: translateX(0); translate: 0 0 } }
@keyframes ab-swap-a-rtl { 0% { right: 0; transform: translateX(0) } 50% { translate: 0 -78px } 100% { right: 100%; transform: translateX(100%); translate: 0 0 } }
@keyframes ab-swap-b-rtl { 0% { right: 100%; transform: translateX(100%) } 50% { translate: 0 78px } 100% { right: 0; transform: translateX(0); translate: 0 0 } }
@keyframes ab-nudge { 0% { scale: 1 } 45% { scale: 1.18 } 100% { scale: 1 } }
.ks.ab-ch.play .ab-people i { animation: ab-hl .6s 4.2s both; }
.ks .ab-thought { opacity: 0; }
.ks.ab-ch.play .ab-thought { animation: k-rise .6s 1s both; }
.ks .ab-bulb { opacity: 0; transform-box: view-box; }
.ks.ab-ch.play .ab-bulb { animation: ab-bulb .7s 3.6s var(--spring) both; }

/* 6 · Ours */
.ks .ab-sky6 { background: linear-gradient(180deg, #FDF1F5 0%, #F8E2EB 100%); }
.ks .ab-three { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.ks .ab-three li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; }
.ks .ab-three i { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--c600); box-shadow: var(--shadow-1); }
.ks .ab-three svg { width: 24px; height: 24px; }
.ks .ab-three b { font-size: 20px; font-weight: 900; line-height: 1.3; }
.ks .ab-three span { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.ks .ab-oursw { font-weight: 900; color: var(--ink); --mark: #F5B7CC; }
.ks .ab-sway { transform-box: fill-box; transform-origin: 50% 0; animation: ab-sway 4s ease-in-out infinite alternate; }
.ks .ab-ring { animation: ab-glow 2.8s ease-in-out infinite alternate; }
.ks .ab-kbadge { position: absolute; left: 236px; top: 44px; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 34px; background: linear-gradient(150deg, #0BBAD8, #06707F); box-shadow: 0 18px 36px rgba(6,112,127,.35); animation: ab-float 4.6s ease-in-out infinite alternate; }
.ks .ab-kmark { width: 56px; height: 62px; }
.ks .ab-bub { position: absolute; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: 0 10px 22px rgba(120,40,70,.16); animation: ab-float 3.6s ease-in-out infinite alternate; }
.ks .ab-bub svg { width: 28px; height: 28px; }
.ks .ab-bub.b1 { left: 392px; top: 150px; color: #D68910; animation-delay: -.8s; }
.ks .ab-bub.b2 { left: 470px; top: 56px; color: #E5487A; animation-delay: -2s; }
.ks .ab-bub.b3 { left: 360px; top: 262px; color: #1E8449; animation-delay: -1.3s; }
.ks.ab-ch .ab-bub, .ks.ab-ch .ab-kbadge { opacity: 0; }
.ks.ab-ch.play .ab-kbadge { opacity: 1; animation: k-pop .7s .9s var(--spring) both, ab-float 4.6s 1.6s ease-in-out infinite alternate; }
.ks.ab-ch.play .ab-bub { opacity: 1; animation: k-pop .6s 1.3s var(--spring) both, ab-float 3.6s 1.9s ease-in-out infinite alternate; }
.ks.ab-ch.play .ab-bub.b2 { animation-delay: 1.5s, 2.1s; }
.ks.ab-ch.play .ab-bub.b3 { animation-delay: 1.7s, 2.3s; }

/* 7 · Numbers: behind every balance */
.ks .ab-sky7 { background: radial-gradient(100% 55% at 50% 0, rgba(11,186,216,.25), rgba(11,186,216,0) 70%), linear-gradient(180deg, #0B2A33 0%, #06141C 100%); }
.ks.abc-numbers .ab-h2 { color: #fff; }
.ks .ab-behind { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.ks .ab-behind li { padding: 16px 20px; border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 18px; line-height: 1.5; color: #C9DCE2; }
.ks .ab-behind b { display: block; font-size: 22px; font-weight: 900; color: #fff; }
.ks .ab-easier { margin: 26px 0 0; font-size: 28px; font-weight: 800; line-height: 1.4; color: #fff; }
.ks .ab-struck { color: #9FB6BF; text-decoration: line-through; text-decoration-color: #F5B7B1; text-decoration-thickness: 4px; }
.ks .ab-easy { color: #fff; --mark: rgba(11,186,216,.55); }
.ks .ab-win { position: absolute; width: 300px; height: 400px; }
.ks .ab-win.w1 { left: 14px; top: 170px; }
.ks .ab-win.w2 { left: 364px; top: 230px; }
.ks .ab-win-in { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 8px #FFF7EA, 0 26px 50px rgba(0,0,0,.4); isolation: isolate; }
.ks .ab-win .ab-fig { animation: none !important; opacity: 1; }
.ks .ab-curtain { position: absolute; inset: 0; z-index: 4; transform-origin: 50% 0; background: repeating-linear-gradient(180deg, #2C5068 0 22px, #24475D 22px 26px); }
.ks.ab-ch.play .ab-w1 .ab-curtain, .ks.ab-ch.play .w1 .ab-curtain { animation: ab-curtain 1.1s .9s var(--ease) both; }
.ks.ab-ch.play .w2 .ab-curtain { animation: ab-curtain 1.1s 2.2s var(--ease) both; }
.ks .ab-sign { position: absolute; z-index: 5; left: 50%; top: 150px; min-width: 230px; translate: -50% 0; padding: 12px 20px 14px; border-radius: 20px; background: #fff; color: #0F1D22; text-align: center; box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.ks .ab-sign small { display: block; font-size: 24px; font-weight: 800; line-height: 1.3; color: var(--c700); }
.ks .ab-sign b.num { display: block; font-size: 34px; font-weight: 900; line-height: 1.2; }
.ks .ab-signic { display: grid; place-items: center; margin: 4px auto 0; width: 54px; height: 54px; border-radius: 16px; background: var(--c50); color: var(--c600); }
.ks .ab-signic svg { width: 34px; height: 34px; }
.ks.ab-ch.play .w1 .ab-sign { animation: ab-sign .9s 1s var(--ease) both; }
.ks.ab-ch.play .w2 .ab-sign { animation: ab-sign .9s 2.3s var(--ease) both; }

/* 8 · Love */
.ks .ab-sky8 { background: linear-gradient(180deg, #FCE6CC 0%, #FAD1BA 60%, #F5BFA6 100%); }
.ks .ab-born { margin: 0 0 22px; font-size: 26px; font-weight: 700; line-height: 1.4; color: var(--ink-2); }
.ks .ab-kname { display: block; font-size: 84px; font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: var(--c700); }
.ks[dir="rtl"] .ab-kname { letter-spacing: 0; line-height: 1.3; }
.ks .ab-love { margin: 16px 0 0; font-size: 34px; font-weight: 900; line-height: 1.3; color: var(--ink); }
.ks .ab-love .mark { --mark: #FFD48A; }
.ks .ab-kbadge.big { left: 420px; top: 92px; width: 96px; height: 96px; z-index: 2; }
.ks .ab-heartup { position: absolute; color: #E5487A; opacity: 0; }
.ks .ab-heartup svg { width: 100%; height: 100%; }
.ks .ab-heartup.h1 { left: 168px; top: 230px; width: 34px; height: 34px; }
.ks .ab-heartup.h2 { left: 500px; top: 250px; width: 28px; height: 28px; }
.ks .ab-heartup.h3 { left: 190px; top: 300px; width: 24px; height: 24px; color: #E8C66A; }
.ks .ab-heartup.h4 { left: 520px; top: 200px; width: 30px; height: 30px; }
.ks.ab-ch.play .ab-heartup { animation: ab-heartup 3.6s ease-out 1.6s infinite; }
.ks.ab-ch.play .ab-heartup.h2 { animation-delay: 2.5s; }
.ks.ab-ch.play .ab-heartup.h3 { animation-delay: 3.3s; }
.ks.ab-ch.play .ab-heartup.h4 { animation-delay: 4.1s; }

/* 9 · What Konto believes: a title page, then one full page per belief */
.ks .ab-skyb0 { background: radial-gradient(70% 55% at 50% 42%, rgba(11,186,216,.28), rgba(11,186,216,0) 70%), #06141C; }
.ks.abc-beliefs .ab-btitle { position: absolute; inset: 72px 40px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 52px; text-align: center; }
.ks.abc-beliefs .ab-h2 { font-size: 76px; line-height: 1.05; color: #fff; --mark: rgba(232,198,106,.6); }
.ks[dir="rtl"].abc-beliefs .ab-h2 { font-size: 66px; line-height: 1.3; }
.ks .ab-tiles { display: grid; grid-template-columns: repeat(3, 116px); gap: 24px; }
.ks .ab-tile { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 34px; background: var(--c); color: var(--k); box-shadow: 0 18px 36px rgba(0,0,0,.38), inset 0 -6px 0 rgba(0,0,0,.12); }
.ks .ab-tile svg { width: 54px; height: 54px; }
.ks .ab-tile.t1 { --fx: -420px; --fy: -220px; --fr: -40deg; }
.ks .ab-tile.t2 { --fx: 0px; --fy: -380px; --fr: 30deg; }
.ks .ab-tile.t3 { --fx: 420px; --fy: -240px; --fr: 40deg; }
.ks .ab-tile.t4 { --fx: -440px; --fy: 260px; --fr: 35deg; }
.ks .ab-tile.t5 { --fx: 0px; --fy: 420px; --fr: -30deg; }
.ks .ab-tile.t6 { --fx: 440px; --fy: 240px; --fr: -40deg; }
.ks.ab-ch .ab-tile { opacity: 0; }
.ks.ab-ch.play .ab-tile { animation: ab-tilefly .95s cubic-bezier(.16,.9,.3,1.15) both, ab-float 4s ease-in-out infinite alternate;
  animation-delay: calc(.1s + var(--i) * .1s), calc(1.4s + var(--i) * .3s); }
@keyframes ab-tilefly { from { opacity: 0; translate: var(--fx) var(--fy); rotate: var(--fr); scale: .6 } to { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1 } }

/* every belief: its colour, its number, its words */
.ks.abc-bel .ab-belkick { display: inline-flex; align-items: center; gap: 10px; }
.ks .ab-beln { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--bk, #0F1D22); color: var(--bkc, #fff); font-size: 16px; font-weight: 900; }
.ks.abc-bel .ab-belh { font-size: 70px; line-height: 1.04; color: var(--bt, #fff); }
.ks[dir="rtl"].abc-bel .ab-belh { font-size: 60px; line-height: 1.3; }
.ks.abc-bel .ab-bellead { margin-top: 26px; font-size: 24px; line-height: 1.5; max-width: 480px; color: var(--bl, rgba(255,255,255,.9)); }
.ks.abc-bel .eyebrow { color: var(--be, #CFF3F8); }
.ks .ab-bignum { position: absolute; z-index: 0; inset-inline-end: -20px; top: -70px; font-size: 540px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--numc, rgba(255,255,255,.2)); pointer-events: none; font-family: 'Lama Sans', system-ui, sans-serif; }
.ks.ab-ch .ab-bignum { opacity: 0; }
.ks.ab-ch.play .ab-bignum { animation: ab-numin 1.3s var(--ease) .05s both; }
@keyframes ab-numin { from { opacity: 0; translate: 0 70px; scale: .88 } to { opacity: 1; translate: 0 0; scale: 1 } }
.ks .ab-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.13) 1.6px, transparent 1.8px); background-size: 28px 28px; -webkit-mask: linear-gradient(180deg, #000, transparent 75%); mask: linear-gradient(180deg, #000, transparent 75%); }
.ks.abc-bel .ab-stage > .ab-scn { z-index: 0; }

.ks .ab-skyb1 { background: linear-gradient(162deg, #0BBAD8 0%, #0796AF 45%, #06707F 100%); }
.ks.abc-bel1 { --mark: rgba(232,198,106,.6); --bk: #fff; --bkc: #06707F; }
.ks .ab-skyb2 { background: linear-gradient(180deg, #F6D58A 0%, #F0C25E 100%); overflow: hidden; }
.ks.abc-bel2 { --mark: #FFFFFF; --bt: #0F1D22; --bl: #3A2C10; --be: #7A5A14; --numc: rgba(58,44,16,.14); }
.ks .ab-sun2 { position: absolute; width: 720px; height: 720px; border-radius: 50%; inset-inline-end: -160px; top: -220px; background: rgba(255,255,255,.18); animation: ab-glow 4s ease-in-out infinite alternate; }
.ks .ab-skyb3 { background: radial-gradient(70% 60% at 72% 52%, rgba(46,204,113,.3), rgba(46,204,113,0) 70%), #0F1D22; }
.ks.abc-bel3 { --mark: rgba(46,204,113,.55); --be: #7BE3A6; --bk: #2ECC71; --bkc: #0B3B22; --numc: rgba(123,227,166,.18); }
.ks .ab-skyb4 { background: linear-gradient(170deg, #6366F1 0%, #4338CA 58%, #2E2A78 120%); }
.ks.abc-bel4 { --mark: rgba(232,198,106,.6); --be: #DCDDFE; --bk: #E8C66A; --bkc: #2E2A78; }
.ks .ab-skyb5 { background: radial-gradient(70% 60% at 66% 60%, rgba(11,186,216,.3), rgba(11,186,216,0) 70%), #06141C; }
.ks.abc-bel5 { --mark: rgba(11,186,216,.6); --be: #8FE3EE; --bk: #0BBAD8; --bkc: #04242B; --numc: rgba(143,227,238,.16); }
.ks .ab-skyb6 { background: linear-gradient(180deg, #0E8A9C 0%, #06707F 45%, #05333C 100%); }
.ks.abc-bel6 { --mark: rgba(232,198,106,.6); --be: #BFF0F6; --bk: #E8C66A; --bkc: #3A2C10; }

/* 1 · users come first: the same app, in the language you speak */
.ks .ab-p1 { left: 120px; top: 108px; z-index: 1; }
.ks .ab-p1 .ab-shot.ar { opacity: 0; }
.ks.ab-ch.play .ab-p1 .ab-shot.ar { animation: ab-langshow 6s 1.8s ease-in-out infinite; }
.ks .ab-lang { position: absolute; z-index: 1; left: 384px; padding: 10px 20px; border-radius: 999px; font-size: 22px; font-weight: 800; line-height: 1.3; background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.ks .ab-lang.l-en { top: 130px; background: #fff; color: #06707F; box-shadow: 0 10px 22px rgba(6,60,70,.3); }
.ks .ab-lang.l-ar { top: 196px; font-family: 'Lama Sans', system-ui, sans-serif; }
.ks.ab-ch .ab-lang { opacity: 0; }
.ks.ab-ch.play .ab-lang { animation: k-pop .6s .9s var(--spring) both; }
.ks.ab-ch.play .ab-lang.l-ar { animation: k-pop .6s 1.1s var(--spring) both, ab-chipon 6s 1.8s ease-in-out infinite; }
.ks.ab-ch.play .ab-lang.l-en { animation: k-pop .6s .9s var(--spring) both, ab-chipoff 6s 1.8s ease-in-out infinite; }
@keyframes ab-langshow { 0%, 42% { opacity: 0 } 50%, 92% { opacity: 1 } 100% { opacity: 0 } }
@keyframes ab-chipon { 0%, 42% { background: rgba(255,255,255,.16); color: #fff } 50%, 92% { background: #fff; color: #06707F } 100% { background: rgba(255,255,255,.16); color: #fff } }
@keyframes ab-chipoff { 0%, 42% { background: #fff; color: #06707F } 50%, 92% { background: rgba(255,255,255,.16); color: #fff } 100% { background: #fff; color: #06707F } }
.ks .ab-spark { position: absolute; z-index: 1; width: 30px; height: 30px; color: #FFE27A; }
.ks .ab-spark svg { width: 100%; height: 100%; }
.ks .ab-spark.s1 { left: 354px; top: 84px; }
.ks .ab-spark.s2 { left: 74px; top: 300px; width: 22px; height: 22px; }
.ks.ab-ch.play .ab-spark { animation: ab-twinkle2 2.2s ease-in-out infinite; }
.ks.ab-ch.play .ab-spark.s2 { animation-delay: -1.1s; }
@keyframes ab-twinkle2 { 0%, 100% { scale: .5; opacity: .3 } 50% { scale: 1.1; opacity: 1 } }
.ks.ab-ch .ab-p1, .ks.ab-ch .ab-p4 { opacity: 0; }
.ks.ab-ch.play .ab-p1, .ks.ab-ch.play .ab-p4 { animation: ab-phonein 1s var(--ease) .3s both; }
@keyframes ab-phonein { from { opacity: 0; translate: 0 60px } to { opacity: 1; translate: 0 0 } }

/* 2 · free for everyone, forever */
.ks .ab-price { position: absolute; z-index: 1; left: 150px; top: 96px; width: 380px; height: 116px; padding: 0 22px; box-sizing: border-box; border-radius: 32px; background: #fff; box-shadow: 0 24px 46px rgba(120,72,30,.3); overflow: hidden; }
.ks .ab-price-in > span { display: block; height: 116px; line-height: 116px; font-size: 56px; font-weight: 900; color: #0F1D22; text-align: center; white-space: nowrap; direction: ltr; letter-spacing: -.01em; }
.ks .ab-price-in > .ab-free { color: #1E8449; font-size: 68px; direction: inherit; }
.ks.ab-ch .ab-price { opacity: 0; }
.ks.ab-ch.play .ab-price { animation: k-pop .7s .35s var(--spring) both; }
.ks.ab-ch.play .ab-price-in { animation: ab-odo3 2.6s 1.1s cubic-bezier(.4,0,.1,1) both; }
.ks.ab-ch.play .ab-price { animation: k-pop .7s .35s var(--spring) both, ab-thump .5s 3.6s var(--spring) both; }
@keyframes ab-odo3 { 0% { transform: translateY(0) } 30% { transform: translateY(-116px) } 62% { transform: translateY(-232px) } 100% { transform: translateY(-348px) } }
@keyframes ab-thump { 0% { scale: 1 } 40% { scale: 1.08 } 100% { scale: 1 } }
.ks .ab-confs { position: absolute; z-index: 2; left: 340px; top: 154px; width: 0; height: 0; }
.ks .ab-conf { position: absolute; left: -5px; top: -8px; width: 11px; height: 17px; border-radius: 3px; background: var(--c); opacity: 0; }
.ks.ab-ch.play .ab-conf { animation: ab-conf 1.5s calc(3.6s + var(--i) * .02s) cubic-bezier(.2,.7,.3,1) both; }
@keyframes ab-conf { 0% { opacity: 0; transform: rotate(var(--a)) translateX(0) rotate(0deg) } 8% { opacity: 1 } 80% { opacity: 1 } 100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(540deg) } }
.ks .ab-inf { position: absolute; z-index: 1; left: 212px; top: 228px; width: 256px; height: 96px; overflow: visible; }
.ks .ab-inf path { fill: none; stroke: #0F1D22; stroke-width: 11; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ks.ab-ch.play .ab-inf path { animation: ab-stroke 1.6s 3.9s cubic-bezier(.5,0,.3,1) forwards; }
@keyframes ab-stroke { to { stroke-dashoffset: 0 } }

/* 3 · your data, is yours */
.ks .ab-shield { position: absolute; z-index: 1; left: 210px; top: 66px; width: 260px; height: 299px; overflow: visible; }
.ks .ab-shield path { fill: rgba(46,204,113,.1); stroke: #2ECC71; stroke-width: 6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ks.ab-ch.play .ab-shield path { animation: ab-stroke 1.4s .5s cubic-bezier(.5,0,.3,1) forwards; }
.ks .ab-slock { position: absolute; z-index: 2; left: 292px; top: 126px; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: #2ECC71; color: #0B3B22; box-shadow: 0 0 0 12px rgba(46,204,113,.18), 0 16px 34px rgba(0,0,0,.4); }
.ks .ab-slock svg { width: 50px; height: 50px; }
.ks.ab-ch .ab-slock { opacity: 0; }
.ks.ab-ch.play .ab-slock { animation: k-pop .7s 2.5s var(--spring) both; }
.ks .ab-ring { position: absolute; z-index: 1; left: 250px; top: 84px; width: 180px; height: 180px; border-radius: 50%; border: 3px solid rgba(46,204,113,.7); opacity: 0; }
.ks.ab-ch.play .ab-ring { animation: ab-ripple 2.6s 3.1s ease-out infinite; }
@keyframes ab-ripple { 0% { opacity: .9; scale: .55 } 100% { opacity: 0; scale: 1.7 } }
.ks .ab-tok { position: absolute; z-index: 2; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: #fff; color: #1E8449; box-shadow: 0 12px 24px rgba(0,0,0,.35); }
.ks .ab-tok svg { width: 30px; height: 30px; }
.ks .ab-tok.k1 { left: 250px; top: 246px; --fx: -300px; --fy: -150px; }
.ks .ab-tok.k2 { left: 311px; top: 266px; --fx: 0px; --fy: -320px; }
.ks .ab-tok.k3 { left: 372px; top: 246px; --fx: 300px; --fy: -170px; }
.ks.ab-ch .ab-tok { opacity: 0; }
.ks.ab-ch.play .ab-tok { animation: ab-tokin .9s cubic-bezier(.3,1.25,.5,1) both; }
.ks.ab-ch.play .ab-tok.k1 { animation-delay: 1.3s; }
.ks.ab-ch.play .ab-tok.k2 { animation-delay: 1.55s; }
.ks.ab-ch.play .ab-tok.k3 { animation-delay: 1.8s; }
@keyframes ab-tokin { from { opacity: 0; translate: var(--fx) var(--fy); rotate: 25deg; scale: .7 } to { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1 } }

/* 4 · freedom without limits */
.ks .ab-p4 { left: 104px; top: 108px; z-index: 1; }
.ks .ab-off { position: absolute; z-index: 2; left: 62px; top: 72px; width: 78px; height: 78px; border-radius: 26px; display: grid; place-items: center; background: #fff; color: #4338CA; box-shadow: 0 14px 30px rgba(20,20,80,.4); }
.ks .ab-off svg { width: 42px; height: 42px; }
.ks.ab-ch .ab-off { opacity: 0; }
.ks.ab-ch.play .ab-off { animation: k-pop .6s 1.1s var(--spring) both, ab-float 3.4s 1.8s ease-in-out infinite alternate; }
.ks .ab-flock { position: absolute; z-index: 2; left: 444px; top: 76px; width: 92px; height: 92px; border-radius: 50%; background: #E8C66A; color: #2E2A78; box-shadow: 0 14px 30px rgba(20,20,80,.4); }
.ks .ab-flock b { position: absolute; inset: 0; display: grid; place-items: center; }
.ks .ab-flock svg { width: 48px; height: 48px; }
.ks .ab-flock .l2 { opacity: 0; }
.ks.ab-ch .ab-flock { opacity: 0; }
.ks.ab-ch.play .ab-flock { animation: k-pop .6s 1.5s var(--spring) both; }
.ks.ab-ch.play .ab-flock .l1 { animation: ab-out .3s 2.6s forwards; }
.ks.ab-ch.play .ab-flock .l2 { animation: ab-in .2s 2.6s forwards, ab-wiggle 1s 2.7s ease-in-out both; }
@keyframes ab-out { to { opacity: 0 } }
@keyframes ab-in { to { opacity: 1 } }
.ks .ab-file { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border-radius: 18px; background: #fff; color: #0F1D22; box-shadow: 0 14px 30px rgba(20,20,80,.4); }
.ks[dir="rtl"] .ab-file { padding: 10px 10px 10px 20px; }
.ks .ab-file i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.ks .ab-file i svg { width: 26px; height: 26px; }
.ks .ab-file b { font-size: 24px; font-weight: 900; }
.ks .ab-file.f1 { left: 396px; top: 196px; }
.ks .ab-file.f1 i { background: #EEF0FF; color: #4338CA; }
.ks .ab-file.f2 { left: 452px; top: 266px; }
.ks .ab-file.f2 i { background: #FDECEA; color: #C0392B; }
.ks.ab-ch .ab-file { opacity: 0; }
.ks.ab-ch.play .ab-file { animation: ab-filefly .9s cubic-bezier(.2,.9,.3,1.15) both, ab-float 3.6s ease-in-out infinite alternate; }
.ks.ab-ch.play .ab-file.f1 { animation-delay: 3s, 4s; --fx: -200px; --fy: 150px; }
.ks.ab-ch.play .ab-file.f2 { animation-delay: 3.3s, 4.3s; --fx: -250px; --fy: 90px; }
@keyframes ab-filefly { from { opacity: 0; translate: var(--fx) var(--fy); scale: .4 } to { opacity: 1; translate: 0 0; scale: 1 } }

/* 5 · fairness and transparency */
.ks .ab-bars { position: absolute; z-index: 1; left: 170px; top: 280px; width: 340px; height: 270px; display: flex; align-items: flex-end; justify-content: space-between; }
.ks .ab-bar { position: relative; width: 66px; height: 230px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.ks .ab-bar-in { display: block; width: 100%; height: 100%; border-radius: 18px 18px 8px 8px; background: var(--c); transform-origin: 50% 100%; transform: scaleY(var(--h)); box-shadow: inset 0 -8px 0 rgba(0,0,0,.12); }
/* every price starts high and comes down to the same level: the same access and pricing for everyone */
.ks.ab-ch.play .ab-bar-in { animation: ab-level2 1.9s cubic-bezier(.45,0,.2,1) both; animation-delay: calc(1.1s + var(--i) * .08s); }
@keyframes ab-level2 { 0% { transform: scaleY(var(--h)) } 60% { transform: scaleY(.5) } 100% { transform: scaleY(.55) } }
.ks .ab-bar-ok { position: absolute; top: 52px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #0F1D22; box-shadow: 0 8px 18px rgba(0,0,0,.35); }
.ks .ab-bar-ok svg { width: 24px; height: 24px; }
.ks.ab-ch .ab-bar-ok { opacity: 0; }
.ks.ab-ch.play .ab-bar-ok { animation: k-pop .5s var(--spring) both; animation-delay: calc(3.2s + var(--i) * .12s); }
.ks .ab-bar-ic { position: absolute; bottom: -50px; width: 38px; height: 38px; color: #fff; }
.ks .ab-bar-ic svg { width: 100%; height: 100%; }
.ks .ab-levelline { position: absolute; left: -26px; right: -26px; top: 142px; height: 3px; background: repeating-linear-gradient(90deg, #fff 0 10px, transparent 10px 18px); transform-origin: 0 50%; transform: scaleX(0); }
.ks[dir="rtl"] .ab-levelline { transform-origin: 100% 50%; }
.ks.ab-ch.play .ab-levelline { animation: ab-draw .8s 2.9s cubic-bezier(.6,0,.3,1) both; }
@keyframes ab-draw { to { transform: scaleX(1) } }

/* 6 · proudly Iraqi, made for everyone */
.ks.abc-bel6 .ab-orbit-dots { transform-box: view-box; animation: ab-spin 26s linear infinite; }
.ks.abc-bel6 .ab-orbit { transform-box: view-box; transform-origin: 340px 290px; animation: ab-spin 60s linear infinite reverse; }
.ks .ab-bubble { position: absolute; z-index: 3; padding: 10px 20px; font-size: 22px; font-weight: 800; line-height: 1.3; box-shadow: 0 12px 26px rgba(0,0,0,.3); }
.ks .ab-bubble.b1 { left: 70px; top: 262px; border-radius: 22px 22px 22px 6px; background: #fff; color: #06707F; }
.ks .ab-bubble.b2 { left: 466px; top: 238px; border-radius: 22px 22px 6px 22px; background: #E8C66A; color: #3A2C10; font-family: 'Lama Sans', system-ui, sans-serif; }
.ks.ab-ch .ab-bubble { opacity: 0; }
.ks.ab-ch.play .ab-bubble.b1 { animation: k-pop .6s 1.5s var(--spring) both, ab-float 3s 2.2s ease-in-out infinite alternate; }
.ks.ab-ch.play .ab-bubble.b2 { animation: k-pop .6s 1.8s var(--spring) both, ab-float 3s 2.6s ease-in-out infinite alternate; }

/* 6 · the date palm grows as it did on the first About page: roots, trunk, fronds, dates */
.ks .ab-palmg { overflow: visible; }
.ks .ab-proot { fill: none; stroke: rgba(201,162,74,.85); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ks.ab-ch.play .ab-proot { animation: ab-stroke .8s var(--d) cubic-bezier(.6,0,.2,1) forwards; }
.ks .ab-pg { transform-box: view-box; transform: scale(0); }
.ks.ab-ch.play .ab-pg { animation: ab-pgrow var(--g) var(--d) cubic-bezier(.2,.9,.3,1.12) forwards; }
.ks.ab-ch.play .ab-pg.ab-pgy { animation-name: ab-pgrowy; animation-timing-function: cubic-bezier(.3,.8,.3,1); }
.ks .ab-pg.ab-pgy { transform: scaleY(0); }
@keyframes ab-pgrow { from { transform: scale(0) } to { transform: scale(1) } }
@keyframes ab-pgrowy { from { transform: scaleY(0) } to { transform: scaleY(1) } }
.ks .ab-psway { transform-box: view-box; }
.ks.ab-ch.play .ab-psway { animation: ab-sway 4.4s 3.8s ease-in-out infinite alternate; }

/* the last page is the Get page's own section (sec-get.css); its animations
   wait until the story reaches it */
.ks.ab-getsec:not(.play), .ks.ab-getsec:not(.play) * { animation-play-state: paused !important; }
html.kp-narrow .ks.gt-get.ab-getsec { height: var(--kscreen, 100svh); min-height: 480px; overflow: hidden; }

/* what pops in stays (k-pop leaves opacity to the rule) */
.ks.ab-ch.play :is(.ab-lang, .ab-price, .ab-slock, .ab-off, .ab-flock, .ab-bar-ok, .ab-bubble) { opacity: 1; }

/* the people stand in front of every belief's scene */
.ks.abc-bel .ab-fig { z-index: 3; }

@media (prefers-reduced-motion: reduce) {
  .ks.ab-ch .ab-tile, .ks.ab-ch .ab-bignum, .ks.ab-ch .ab-lang, .ks.ab-ch .ab-price, .ks.ab-ch .ab-slock, .ks.ab-ch .ab-tok, .ks.ab-ch .ab-off, .ks.ab-ch .ab-flock,
  .ks.ab-ch .ab-file, .ks.ab-ch .ab-bar-ok, .ks.ab-ch .ab-bubble, .ks.ab-ch .ab-p1, .ks.ab-ch .ab-p4 { opacity: 1; animation: none !important; }
  .ks .ab-price-in { transform: translateY(-348px); animation: none !important; }
  .ks .ab-inf path, .ks .ab-shield path { stroke-dashoffset: 0; animation: none !important; }
  .ks .ab-bar-in { transform: scaleY(.55); animation: none !important; }
  .ks .ab-levelline { transform: none; animation: none !important; }
  .ks .ab-flock .l1 { opacity: 0; } .ks .ab-flock .l2 { opacity: 1; animation: none !important; }
  .ks .ab-conf, .ks .ab-ring { display: none; }
  .ks .ab-proot { stroke-dashoffset: 0; animation: none !important; }
  .ks .ab-pg, .ks .ab-pg.ab-pgy { transform: none; animation: none !important; }
}

/* phones: each belief is one screen too */
html.kp-narrow .ks.abc-beliefs .ab-btitle { inset: 64px 20px calc(16px + var(--kbar, 0px)); gap: 34px; }
html.kp-narrow .ks.abc-beliefs .ab-h2 { font-size: clamp(36px, 10.4vw, 46px); }
html.kp-narrow .ks[dir="rtl"].abc-beliefs .ab-h2 { font-size: clamp(32px, 9.4vw, 42px); }
html.kp-narrow .ks .ab-tiles { grid-template-columns: repeat(3, 88px); gap: 16px; }
html.kp-narrow .ks .ab-tile { width: 88px; height: 88px; border-radius: 26px; }
html.kp-narrow .ks .ab-tile svg { width: 42px; height: 42px; }
html.kp-narrow .ks.abc-bel .ab-belh { font-size: clamp(34px, 10vw, 42px); line-height: 1.08; }
html.kp-narrow .ks[dir="rtl"].abc-bel .ab-belh { font-size: clamp(30px, 9vw, 38px); line-height: 1.32; }
html.kp-narrow .ks.abc-bel .ab-bellead { margin-top: 14px; font-size: 18px; }

/* phones: the wide scenes are recomposed for the tall screen (their data-crop
   box is the phone's view): people step in from the edges so the scene can be
   drawn larger and fill the page under its words */
html.kp-narrow .ks .fk-karim1 { left: 95px !important; }
html.kp-narrow .ks .fk-student1 { left: 410px !important; }
html.kp-narrow .ks .fk-abualiB1 { left: 20px !important; }
html.kp-narrow .ks .fk-noorB1 { left: 330px !important; }
html.kp-narrow .ks .fk-zainabB2 { left: 80px !important; }
html.kp-narrow .ks .fk-abualiB2 { left: 330px !important; }
html.kp-narrow .ks .fk-zainabB3 { left: 70px !important; }
html.kp-narrow .ks .fk-karimB3 { left: 330px !important; }
html.kp-narrow .ks .fk-studentB4 { left: 330px !important; }
html.kp-narrow .ks .ab-file.f1 { left: 372px; }
html.kp-narrow .ks .ab-file.f2 { left: 400px; }
html.kp-narrow .ks .fk-abualiB5, html.kp-narrow .ks .fk-saraB5 { display: none; }
html.kp-narrow .ks .fk-noorB6 { left: 100px !important; }
html.kp-narrow .ks .fk-karimB6 { left: 360px !important; }
html.kp-narrow .ks .ab-bubble.b1 { left: 120px; }
html.kp-narrow .ks .ab-bubble.b2 { left: 420px; }

/* ---------- motion ---------- */
@keyframes ab-stage-in { from { opacity: 0; transform: translateY(26px) } to { opacity: 1; transform: none } }
@keyframes ab-fig-in { from { opacity: 0; translate: 0 22px } to { opacity: 1; translate: 0 0 } }
@keyframes ab-arch-in { from { opacity: 0; translate: 0 36px } to { opacity: 1; translate: 0 0 } }
@keyframes ab-fly { from { left: -60px } to { left: calc(100% + 60px) } }
@keyframes ab-glow { from { opacity: .45 } to { opacity: .8 } }
@keyframes ab-sway { from { transform: rotate(-1.6deg) } to { transform: rotate(1.6deg) } }
@keyframes ab-bob { from { translate: 0 0 } to { translate: 0 -10px } }
@keyframes ab-float { from { translate: 0 0 } to { translate: 0 -12px } }
@keyframes ab-beat { 0%, 100% { transform: scale(1) } 30% { transform: scale(1.18) } 50% { transform: scale(.96) } }
@keyframes ab-alien { 0%, 70%, 100% { transform: rotate(-4deg) } 74% { transform: rotate(-6deg) translateX(-4px) } 78% { transform: rotate(-2deg) translateX(4px) } 82% { transform: rotate(-5deg) } }
@keyframes ab-spin { to { transform: rotate(360deg) } }
@keyframes ab-qm { 0%, 100% { opacity: 0; transform: translateY(10px) scale(.7) } 20%, 60% { opacity: .9; transform: none } 80% { opacity: 0; transform: translateY(-14px) } }
@keyframes ab-twinkle { from { opacity: .4 } to { opacity: .9 } }
@keyframes ab-chain { from { stroke-dashoffset: 120; opacity: 0 } to { stroke-dashoffset: 0; opacity: 1 } }
@keyframes ab-lock-in { from { opacity: 0; transform: translateY(-40px) scale(.6) } to { opacity: 1; transform: none } }
@keyframes ab-wiggle { 0%, 80%, 100% { rotate: 0deg } 84% { rotate: -7deg } 88% { rotate: 6deg } 92% { rotate: -4deg } 96% { rotate: 2deg } }
@keyframes ab-strike { to { background-size: 100% 4px; opacity: .55 } }
@keyframes ab-bend { 0%, 100% { scale: 1; rotate: 0deg } 40% { scale: .92; rotate: -4deg } 70% { scale: 1.03; rotate: 2deg } }
@keyframes ab-hl { to { background: #E8C66A; color: #2E2A78 } }
@keyframes ab-bulb { from { opacity: 0; transform: scale(.4) } to { opacity: 1; transform: none } }
@keyframes ab-curtain { from { transform: scaleY(1) } to { transform: scaleY(0) } }
@keyframes ab-sign { from { top: 150px } to { top: -46px } }
@keyframes ab-heartup { 0% { opacity: 0; transform: translateY(0) scale(.6) } 15% { opacity: 1 } 100% { opacity: 0; transform: translateY(-150px) scale(1.1) } }
@keyframes ab-odo { 0% { transform: translateY(0) } 30% { transform: translateY(-60px) } 60% { transform: translateY(-120px) } 100% { transform: translateY(-180px) } }
@keyframes ab-breathe { from { transform: scale(1) } to { transform: scale(1.06) } }
@keyframes ab-level { to { transform: scaleY(.62) } }

/* ---------- 1060 px and below on the frame: nothing; phones (< 760 px): words, then the scene ---------- */
/* each chapter is one screen: the words, then the scene scaled to the room left (kpage.js, data-h) */
html.kp-narrow .ks.ab-ch { height: var(--kscreen, 100svh); min-height: 480px; }
html.kp-narrow .ks.ab-ch .kframe { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; padding: 78px 20px calc(10px + var(--kbar, 0px)); }
html.kp-narrow .ks .ab-copy { position: relative; inset: auto; width: auto; display: block; }
html.kp-narrow .ks .ab-stage { position: relative; inset: auto; flex: none; zoom: var(--kfit, .5); margin: auto auto 0; }
/* a scene with data-crop is placed by kpage.js: its important part fills the room under the words */
html.kp-narrow .ks .ab-stage[data-cropped] { position: absolute; left: var(--sx, 0px); top: var(--sy, 0px); margin: 0; }
html.kp-narrow .ks .ab-h1 { font-size: clamp(36px, 10.4vw, 46px); line-height: 1.06; }
html.kp-narrow .ks[dir="rtl"] .ab-h1 { font-size: clamp(32px, 9.4vw, 42px); line-height: 1.32; }
html.kp-narrow .ks .ab-lead1 { font-size: 21px; margin-bottom: 8px; }
html.kp-narrow .ks .ab-h2 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.1; }
html.kp-narrow .ks[dir="rtl"] .ab-h2 { font-size: clamp(27px, 7.8vw, 34px); line-height: 1.36; }
html.kp-narrow .ks .ab-lead2 { font-size: 19px; margin-bottom: 10px; }
html.kp-narrow .ks .ab-words li { font-size: clamp(38px, 11vw, 46px); }
html.kp-narrow .ks[dir="rtl"] .ab-words li { font-size: clamp(36px, 10.4vw, 44px); }
html.kp-narrow .ks .ab-else li { font-size: 17px; }
html.kp-narrow .ks .ab-pains li { font-size: 16px; }
html.kp-narrow .ks .ab-old, html.kp-narrow .ks .ab-oldwrap { font-size: 22px; }
html.kp-narrow .ks .ab-three b { font-size: 18px; }
html.kp-narrow .ks .ab-three span { font-size: 15px; }
html.kp-narrow .ks .ab-behind li { font-size: 16px; padding: 14px 16px; }
html.kp-narrow .ks .ab-behind b { font-size: 19px; }
html.kp-narrow .ks .ab-easier { font-size: 22px; }
html.kp-narrow .ks .ab-born { font-size: 19px; margin-bottom: 14px; }
html.kp-narrow .ks .ab-kname { font-size: clamp(48px, 14vw, 60px); }
html.kp-narrow .ks .ab-love { font-size: 26px; }
html.kp-narrow .ks.ab-foot .fi-foot-in { padding: 26px 20px 30px; }
html.kp-narrow .ks.ab-foot .fi-f1 { flex-direction: column; align-items: flex-start; }
.ks .w2 .ab-sign { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ks .w2 .ab-sign small { display: inline; }
.ks .w2 .ab-signic { margin: 0; width: 44px; height: 44px; flex: none; }
.ks .w2 .ab-signic svg { width: 28px; height: 28px; }
.ks.ab-page .brand, .ks.gt-page .brand { min-width: 48px; justify-content: center; }
.ks.ab-page .langs button, .ks.gt-page .langs button { min-width: 48px; }
.ks.ab-foot .fi-legal a { display: inline-flex; align-items: center; min-height: 48px; padding-block: 0; margin-block: -12px; }
html.kp-narrow .ks .ab-bird { display: none; }

/* 1 · the city's landmarks, standing on the ground behind the people:
   Kahramana (the first About page's picture, cut from its background and
   traced to SVG) and the Baghdad Tower picture */
.ks .ab-kstatue { position: absolute; left: 46px; top: 157px; width: 520px; height: auto; filter: drop-shadow(0 0 2px rgba(96,64,28,.7)); }
.ks .ab-ktower { position: absolute; left: 506px; top: 202px; width: auto; height: 400px; }
.ks.ab-ch .ab-kstatue, .ks.ab-ch .ab-ktower { opacity: 0; }
.ks.ab-ch.play .ab-kstatue { animation: ab-ktower 1.1s cubic-bezier(.22,1,.36,1) .3s both; }
.ks.ab-ch.play .ab-ktower { animation: ab-ktower 1.1s cubic-bezier(.22,1,.36,1) .6s both; }
@keyframes ab-ktower { from { opacity: 0; transform: translateY(70px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .ks.ab-ch .ab-kstatue, .ks.ab-ch .ab-ktower { opacity: 1; animation: none !important; } }

/* 4 · the records, held hostage: the app's own list of transactions, chained and locked */
.ks .ab-over { z-index: 1; }
.ks .ab-tab { position: absolute; left: 196px; top: 262px; width: 288px; height: 210px; padding: 9px; box-sizing: border-box; border-radius: 22px; background: #0F1D22; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 22px 40px rgba(0,0,0,.45); }
.ks .ab-tab-scr { position: relative; height: 100%; border-radius: 14px; overflow: hidden; background: #FFFFFF; padding: 10px 12px 0; box-sizing: border-box; }
.ks .ab-tab-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ks .ab-tab-hd b { width: 108px; height: 9px; border-radius: 5px; background: #0F1D22; }
.ks .ab-tab-hd i { width: 34px; height: 9px; border-radius: 5px; background: #8FD9E6; }
.ks .ab-txs { list-style: none; margin: 0; padding: 0; }
.ks .ab-tx { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid #EEF1F3; }
.ks .ab-tx > i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.ks .ab-tx > i svg { width: 16px; height: 16px; }
.ks .ab-tx.sale > i { background: #E3F7EC; color: #1E8449; }
.ks .ab-tx.exp > i { background: #FDECEA; color: #C0392B; }
.ks .ab-tx.buy > i { background: #E6F4FF; color: #2F80ED; }
.ks .ab-tx-n { flex: 1; min-width: 0; display: grid; gap: 5px; }
.ks .ab-tx-n b { display: block; height: 8px; border-radius: 4px; background: #C9D3D9; }
.ks .ab-tx-n b.sm { width: 38%; height: 6px; background: #E3E8EB; }
.ks .ab-tx-a { flex: none; font-size: 13.5px; font-weight: 800; white-space: nowrap; unicode-bidi: isolate; }
.ks .ab-tx-a.in { color: #1E8449; }
.ks .ab-tx-a.out { color: #C0392B; }
.ks .ab-tab-dim { position: absolute; inset: 0; background: rgba(10,22,38,.42); opacity: 0; }
.ks.ab-ch .ab-tx { opacity: 0; }
.ks.ab-ch.play .ab-tx { animation: k-rise .5s var(--ease) both; animation-delay: calc(.25s + var(--i) * .14s); }
.ks.ab-ch.play .ab-tab-dim { animation: ab-dim .6s 2.3s ease-out both; }
.ks.ab-ch.play .ab-txs { animation: ab-frost .6s 2.3s ease-out both; }
@keyframes ab-dim { to { opacity: 1 } }
@keyframes ab-frost { to { filter: blur(1.2px) grayscale(.6) } }
@media (prefers-reduced-motion: reduce) { .ks.ab-ch .ab-tx { opacity: 1; animation: none !important; } .ks.ab-ch .ab-tab-dim { opacity: 1; animation: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .ks .ab-q > .ab-people { left: 100%; transform: translateX(-100%); }
  .ks .ab-q > .ab-apps { left: 0; transform: none; }
  .ks[dir="rtl"] .ab-q > .ab-people { left: auto; right: 100%; transform: translateX(100%); }
  .ks[dir="rtl"] .ab-q > .ab-apps { left: auto; right: 0; transform: none; }
}

/* 8 · Konto: the app's own main screen rises behind the people like the sun */
.ks .ab-rise { position: absolute; left: -200px; right: -200px; top: -200px; height: 806px; overflow: hidden; pointer-events: none; }
.ks .ab-rays { position: absolute; left: 50%; top: 620px; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,255,255,.34) 0 6deg, rgba(255,255,255,0) 6deg 18deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%); mask: radial-gradient(closest-side, #000 30%, transparent 100%); opacity: 0; }
.ks .ab-phone { position: absolute; width: 230px; height: 498px; padding: 7px; box-sizing: border-box; border-radius: 36px;
  background: linear-gradient(145deg, #2B3A44 0%, #101A21 46%, #1D2A33 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 26px 50px rgba(6,20,28,.35); rotate: -4deg; }
.ks[dir="rtl"] .ab-phone { rotate: 4deg; }
.ks .ab-phone > .ab-scr { position: relative; height: 100%; border-radius: 29px; overflow: hidden; background: #fff; }
.ks .ab-shot { display: block; width: 100%; height: 100%; border-radius: 29px; object-fit: cover; object-position: top; }
.ks .ab-phone > .ab-scr .ab-shot { position: absolute; inset: 0; border-radius: 0; }
.ks .ab-rise .ab-phone { left: 425px; top: 330px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 26px 50px rgba(120,60,30,.35); }
.ks.ab-ch .ab-rise .ab-phone { translate: 0 520px; }
.ks.ab-ch.play .ab-rise .ab-phone { animation: ab-sunrise 1.6s cubic-bezier(.2,.8,.2,1) .5s both, ab-float 5s 2.2s ease-in-out infinite alternate; }
.ks.ab-ch.play .ab-rays { animation: k-fade .8s 1.2s both, ab-spin 60s linear infinite; }
.ks.ab-ch.play .abc-love .ab-kbadge, .ks.ab-ch.play.abc-love .ab-kbadge { animation: k-pop .7s 2s var(--spring) both, ab-float 4.6s 2.7s ease-in-out infinite alternate; }
@keyframes ab-sunrise { from { translate: 0 520px } to { translate: 0 0 } }
@keyframes k-fade { from { opacity: 0 } to { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .ks.ab-ch .ab-rise .ab-phone { translate: 0 0; animation: none !important; } .ks.ab-ch .ab-rays { opacity: 1; animation: none !important; } }

/* 6 · the hero's own clothes rack and ring light, in Noor's room */
.ks .ab-hsway { transform-box: fill-box; transform-origin: 50% 0; animation: ab-sway 4.6s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.ks .ab-hglow { animation: ab-glow 3.2s ease-in-out infinite alternate; }
