/* Emtelaak — app landing, version C. Follows getstake.com's page structure and
   motion (hero collage, sticky "how it works", product cards, phones on solid
   shapes, a moving reel, tabbed safety, download card) in the app's identity:
   tokens from packages/tokens, the logo mark in place of the reference's
   circles. */

@font-face { font-family: "Lab Grotesque"; src: url("/assets/fonts/LabGrotesque-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lab Grotesque"; src: url("/assets/fonts/LabGrotesque-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lab Grotesque"; src: url("/assets/fonts/LabGrotesque-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Arabic uses GE Dinar One Medium for every weight, as emtelaak.com does */
@font-face { font-family: "GE Dinar One"; src: url("/assets/fonts/GEDinarOne-Medium.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #032941;        /* primary / brand-500 */
  --navy-deep: #001827;   /* primary-pressed */
  --lime: #cde428;        /* secondary-500 */
  --muted: #eef1f4;       /* emtelaak.com --muted */
  --ink-muted: #606a70;   /* neutral-600 */
  --line: #e4e6e7;        /* neutral-100 */
  --canvas: #f6f7f9;
  --font: "Lab Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:lang(ar) { --font: "GE Dinar One", Cairo, "Lab Grotesque", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--canvas); color: var(--navy); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }
.ico { width: 22px; height: 22px; flex: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

/* ---------- Header ---------- */
.site { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 82%); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgb(3 41 65 / 7%); }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand img { width: 128px; height: auto; }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: #2b3941; transition: color .2s; }
.nav a:hover { color: var(--navy); }
.bar-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border: 1px solid #d8dee2; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s; }
.lang:hover { border-color: var(--navy); }
.lang svg { width: 17px; height: 17px; }
.lang[lang="ar"] { font-family: "GE Dinar One", sans-serif; }
.lang[lang="en"] { font-family: "Lab Grotesque", sans-serif; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .2s, transform .2s; }
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #d8dee2; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost .ico { width: 20px; height: 20px; color: var(--navy); }

/* ---------- Shared ---------- */
.pill { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--lime); color: var(--navy); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
:lang(ar) .pill { letter-spacing: 0; font-size: 15px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgb(205 228 40 / 22%); color: var(--navy); font-size: 14px; font-weight: 500; }
h2 { margin-top: 10px; font-size: clamp(32px, 4vw, 50px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
:lang(ar) h2 { font-weight: 500; line-height: 1.3; letter-spacing: 0; }
.sub { margin-top: 16px; color: var(--ink-muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; text-wrap: balance; }
:lang(ar) .sub { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.75; }
.get { margin-top: 26px; font-size: 15px; font-weight: 500; }
:lang(ar) .get { font-size: 17px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.store { display: block; height: 46px; }
.store img { height: 100%; width: auto; }

.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #fff; box-shadow: 0 14px 30px -12px rgb(3 41 65 / 35%); color: var(--navy); font-size: 14px; font-weight: 500; white-space: nowrap; }
[dir="rtl"] .float-chip { padding: 10px 10px 10px 16px; }
.float-chip .ico { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--navy); color: var(--lime); }

/* ---------- Phones ---------- */
.phone { --w: 240px; position: relative; width: var(--w); padding: calc(var(--w) * .035); border-radius: calc(var(--w) * .16); background: #0d1215; box-shadow: inset 0 0 0 1.5px #3a4248, 0 30px 60px -22px rgb(3 41 65 / 45%), 0 12px 24px -12px rgb(3 41 65 / 30%); }
.phone .screen { overflow: hidden; border-radius: calc(var(--w) * .13); display: flex; flex-direction: column; background: var(--top); }
.phone .screen img { width: 100%; height: auto; }
.status { display: flex; align-items: center; justify-content: space-between; height: calc(var(--w) * .135); padding: calc(var(--w) * .02) calc(var(--w) * .085) 0; direction: ltr; color: var(--status); font-family: "Lab Grotesque", system-ui, sans-serif; font-size: calc(var(--w) * .052); font-weight: 700; }
.status svg { width: calc(var(--w) * .2); height: auto; }
.t-light { --top: #eef1ee; --status: #032941; }
.t-gray  { --top: #e4e6e7; --status: #032941; }
.t-sky   { --top: #78abe0; --status: #fff; }
.t-dark  { --top: #415e70; --status: #fff; }
.phone::after { content: ""; position: absolute; inset-block-start: calc(var(--w) * .062); left: 50%; width: 30%; height: calc(var(--w) * .075); border-radius: 999px; background: #0d1215; transform: translateX(-50%); }

/* ---------- Logo mark (the reference's solid circles) ---------- */
.mark { position: absolute; aspect-ratio: 1; pointer-events: none; -webkit-mask: url("/assets/emblem.svg") center / contain no-repeat; mask: url("/assets/emblem.svg") center / contain no-repeat; }
.mark-pine { background: linear-gradient(140deg, #164a6b, var(--navy) 80%); }
.mark-lime { background: linear-gradient(140deg, #dcee5e, var(--lime) 70%); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; min-height: min(760px, calc(100svh - 68px)); display: flex; align-items: center; color: #fff;
  background: radial-gradient(900px at 18% 18%, rgb(222 224 95 / 12%), transparent 48%), radial-gradient(700px at 82% 72%, rgb(222 224 95 / 8%), transparent 45%), linear-gradient(135deg, #04223a, #062c47 50%, #000a1a); }
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.glow-a { width: 620px; height: 620px; inset-block-start: -260px; inset-inline-end: -180px; background: rgb(205 228 40 / 10%); }
.glow-b { width: 520px; height: 420px; inset-block-end: -220px; inset-inline-start: 22%; background: rgb(205 228 40 / 12%); }
.hero-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.hero-copy { padding-block: 72px; }
.hero .store img { border-radius: 9px; box-shadow: 0 0 0 1px rgb(255 255 255 / 22%); }
h1 { margin-top: 22px; font-size: clamp(44px, 5.2vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
h1 span { display: block; }
h1 .accent { color: var(--lime); }
:lang(ar) h1 { font-weight: 500; line-height: 1.28; letter-spacing: 0; }
.lead { margin-top: 22px; max-width: 30em; color: rgb(255 255 255 / 75%); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
:lang(ar) .lead { font-weight: 400; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.75; }
.hero-copy > * { animation: rise .8s var(--ease) backwards; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4), .hero-copy > :nth-child(5) { animation-delay: .18s; }

.hero-art { --s: .94; position: relative; align-self: stretch; min-height: calc(640px * var(--s)); }
/* The three phones sit on a straight grid with even gaps, and the whole grid
   is tilted. Each phone floats on its own slow, offset rhythm, so the group
   drifts like something on water. */
.collage { position: absolute; inset-block-start: 50%; left: 50%; width: 482px; height: 1046px; translate: calc(-50% + var(--gx, 30px)) calc(-50% - 40px); rotate: -22deg; scale: var(--s); }
.collage .phone { box-shadow: inset 0 0 0 1.5px #5b6b77, 0 40px 70px -24px rgb(0 8 20 / 70%); --w: 230px; position: absolute; translate: 0 calc(var(--p, 0) * var(--k) * 1px); animation: drop 1.1s var(--ease) backwards, float var(--fd, 8s) ease-in-out var(--fo, 0s) infinite; }
.h1p { --k: -.06; --fd: 7.6s; --fo: -1.2s; inset-block-start: 0; left: 0; z-index: 2; }
.h2p { --k: -.12; --fd: 9s; --fo: -4.4s; inset-block-start: 226px; left: 252px; z-index: 1; }
.h3p { --k: -.18; --fd: 8.2s; --fo: -2.8s; inset-block-start: 534px; left: 0; z-index: 3; }
.notif { position: absolute; z-index: 4; inset-block-start: 700px; left: -96px; display: flex; align-items: center; gap: 12px; width: 320px; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / 90%); backdrop-filter: blur(12px); box-shadow: 0 20px 44px -18px rgb(3 41 65 / 40%); color: var(--navy); animation: drop 1.1s var(--ease) .45s backwards, float 6.4s ease-in-out -3s infinite; }
/* Arabic: the same group, mirrored */
[dir="rtl"] .collage { --gx: -30px; rotate: 22deg; }
[dir="rtl"] .h1p, [dir="rtl"] .h3p { left: 252px; }
[dir="rtl"] .h2p { left: 0; }
[dir="rtl"] .notif { left: 258px; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  33% { transform: translate3d(2px, -9px, 0) rotate(.5deg); }
  66% { transform: translate3d(-2px, -4px, 0) rotate(-.4deg); }
}
.notif img { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--lime); }
.notif div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif strong { font-size: 14px; }
.notif span { color: var(--ink-muted); font-size: 13px; }
.notif em { margin-inline-start: auto; align-self: flex-start; color: #8094a0; font-size: 12px; font-style: normal; }

@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@keyframes drop { from { opacity: 0; translate: 0 90px; } }

/* ---------- Strip (in place of "featured in") ---------- */
.strip { padding: 30px 0 34px; background: #fff; border-bottom: 1px solid var(--line); }
.strip-label { margin-bottom: 20px; color: var(--ink-muted); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
:lang(ar) .strip-label { font-size: 15px; letter-spacing: 0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 88px; width: max-content; padding-inline-end: 88px; animation: slide 34s linear infinite; }
/* all marks share one optical height; InstaPay is a wide wordmark, so it runs a little shorter */
.marquee-track li { display: flex; align-items: center; height: 36px; flex: none; }
.marquee-track img { height: 30px; width: auto; opacity: .6; transition: opacity .3s; }
.marquee-track .pay-instapay img { height: 22px; }
.marquee-track .pay-mastercard img { height: 34px; }
.marquee:hover .marquee-track img { opacity: .9; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- How it works (sticky story) ---------- */
.how { padding: clamp(80px, 9vw, 128px) 0 clamp(40px, 5vw, 80px); }
.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; margin-top: 24px; }
.step { min-height: 56vh; display: flex; flex-direction: column; justify-content: center; opacity: .18; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.step-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 18px; font-weight: 500; }
.step h3 { margin-top: 10px; font-size: clamp(28px, 2.8vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
:lang(ar) .step h3 { font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.step-text { margin-top: 14px; max-width: 26em; color: var(--ink-muted); font-size: 17px; line-height: 1.6; }
:lang(ar) .step-text { font-size: 19px; line-height: 1.75; }
.step-panel { display: none; }

.sticky-col { position: relative; }
.panel { position: sticky; top: calc(50vh - 220px + 34px); height: 440px; border-radius: 28px; overflow: hidden; isolation: isolate; background: var(--navy); transition: background-color .6s var(--ease); }
.panel[data-active="1"] { background: var(--lime); }
.panel[data-active="2"] { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.panel[data-active="3"] { background: var(--muted); }
.shot { position: absolute; inset: 0; opacity: 0; translate: 0 40px; transition: opacity .5s var(--ease), translate .6s var(--ease); }
.panel[data-active="0"] .shot[data-shot="0"], .panel[data-active="1"] .shot[data-shot="1"],
.panel[data-active="2"] .shot[data-shot="2"], .panel[data-active="3"] .shot[data-shot="3"] { opacity: 1; translate: 0 0; }
.panel-phone { --w: 270px; position: absolute !important; inset-block-start: 44px; left: 50%; margin-left: calc(var(--w) / -2); }
.shot .float-chip { inset-block-end: 54px; left: 50%; translate: -50% 0; }
.panel-badge { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--lime); color: var(--navy); box-shadow: 0 16px 30px -12px rgb(0 16 26 / 45%); }
.panel-badge .ico { width: 32px; height: 32px; }
.panel .panel-badge { position: absolute; z-index: 4; inset-block-start: 56px; left: calc(50% - 200px); opacity: 0; scale: .6; transition: opacity .4s var(--ease), scale .5s var(--ease); }
.panel[data-active="0"] .panel-badge[data-shot="0"], .panel[data-active="1"] .panel-badge[data-shot="1"],
.panel[data-active="2"] .panel-badge[data-shot="2"], .panel[data-active="3"] .panel-badge[data-shot="3"] { opacity: 1; scale: 1; }
.panel[data-active="1"] .panel-badge, .panel[data-active="2"] .panel-badge, .panel[data-active="3"] .panel-badge,
.tone-1 .panel-badge, .tone-2 .panel-badge, .tone-3 .panel-badge { background: var(--navy); color: var(--lime); }

/* Decoration behind the frames: a woven pattern of small logo marks in rows,
   each turned the opposite way from its neighbour, filling the background.
   Upright and turned marks take two different tints. */
.panel::before, .panel::after, .step-panel::before, .step-panel::after, .card-art::before, .card-art::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask: var(--m) center / var(--tile, 104px) repeat; mask: var(--m) center / var(--tile, 104px) repeat;
  transition: background-color .6s var(--ease);
}
.panel::before, .step-panel::before, .card-art::before { --m: url("/assets/tile-a.svg"); background: var(--d1); }
.panel::after, .step-panel::after, .card-art::after { --m: url("/assets/tile-b.svg"); background: var(--d2); }
/* tints per background: navy, lime, white, muted */
.panel, .step-panel, .art-navy { --d1: rgb(255 255 255 / 7%); --d2: rgb(205 228 40 / 13%); }
/* on lime: tone-on-tone, both marks in a deeper lime, no white */
.panel[data-active="1"], .step-panel.tone-1, .art-lime { --d1: rgb(150 170 10 / 22%); --d2: rgb(150 170 10 / 36%); }
.panel[data-active="2"], .panel[data-active="3"], .step-panel.tone-2, .step-panel.tone-3 { --d1: rgb(3 41 65 / 5%); --d2: rgb(205 228 40 / 40%); }

/* ---------- Product cards ---------- */
.cards { padding: clamp(64px, 8vw, 112px) 0; }
.card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 40px; padding: 18px; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 rgb(3 41 65 / 4%); }
.card.flip .card-art { order: 2; }
.card-art { position: relative; height: 380px; border-radius: 20px; overflow: hidden; isolation: isolate; }
.art-lime { background: var(--lime); }
.art-navy { background: var(--navy); }
.card-phone { --w: 250px; position: absolute !important; inset-block-start: 38px; left: 50%; margin-left: -125px; transition: translate .7s var(--ease); }
.card:hover .card-phone { translate: 0 -10px; }
/* the same slow floating as the hero: phone, photo and chips each on their own rhythm */
.card-phone { animation: float 8.4s ease-in-out -2s infinite; }
.card-photo { animation: float 7.2s ease-in-out -4.6s infinite; }
.card .float-chip.c1 { animation: float 6.6s ease-in-out -1.3s infinite; }
.card .float-chip.c2 { animation: float 7.8s ease-in-out -3.4s infinite; }
.card.flip .card-phone { animation-delay: -5.1s; }
.card.flip .card-photo { animation-delay: -.8s; }
.card-photo { position: absolute; z-index: 2; inset-block-start: 40px; inset-inline-end: 30px; width: 150px; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 30% 60%; border: 6px solid #fff; border-radius: 16px; rotate: 7deg; box-shadow: 0 18px 36px -16px rgb(0 16 26 / 50%); }
.card .float-chip.c1 { inset-block-start: 150px; inset-inline-start: 24px; rotate: -4deg; }
.card .float-chip.c2 { inset-block-end: 34px; inset-inline-end: 28px; rotate: 3deg; }
.card-copy { padding: 16px 24px 16px 8px; }
[dir="rtl"] .card-copy { padding: 16px 8px 16px 24px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--canvas); font-size: 14px; font-weight: 500; }
[dir="rtl"] .tag { padding: 6px 8px 6px 14px; }
.tag .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--navy); color: var(--lime); }
.card h3 { margin-top: 16px; font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
:lang(ar) .card h3 { font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.card p { margin-top: 12px; color: var(--ink-muted); font-size: 17px; line-height: 1.6; }
:lang(ar) .card p { font-size: 19px; line-height: 1.75; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Your investment: phones on solid marks ---------- */
.grow { position: relative; isolation: isolate; overflow: clip; padding: clamp(72px, 8vw, 112px) 0; }
.glow-c { width: 560px; height: 560px; inset-block-start: 30%; inset-inline-end: -260px; background: rgb(205 228 40 / 14%); }
.grow-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.grow-row.flip .grow-art { order: 2; }
.grow-art { position: relative; isolation: isolate; height: 560px; }
/* The mark frames the phone: the phone sits in its open middle, so both
   corners of the logo stay whole on either side. */
.grow-art .mark { z-index: -1; width: 470px; inset-block-start: 50%; left: 50%; translate: -50% -50%; }
.grow-row.flip .grow-art .mark { rotate: 180deg; }
.grow-phone { --w: 214px; position: absolute !important; inset-block-start: 50%; left: 50%; margin: calc(var(--w) * -1.09 - 24px) 0 0 calc(var(--w) / -2); }
.grow-copy h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
:lang(ar) .grow-copy h3 { font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.grow-copy p { margin-top: 14px; max-width: 28em; color: var(--ink-muted); font-size: 17px; line-height: 1.6; }
:lang(ar) .grow-copy p { font-size: 19px; line-height: 1.75; }
.stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 28px; }
.stats li { display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
:lang(ar) .stats strong { font-weight: 500; letter-spacing: 0; }
.stats span { color: var(--ink-muted); font-size: 14px; }
:lang(ar) .stats span { font-size: 15.5px; }

/* ---------- Inside the app: features + moving reel ---------- */
.app { padding: clamp(72px, 8vw, 112px) 0 clamp(64px, 7vw, 96px); background: #fff; overflow: clip; }
.app .section-head .btn { margin-top: 26px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; text-align: center; }
.feat-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgb(205 228 40 / 22%); color: var(--navy); }
.feat-icon .ico { width: 30px; height: 30px; }
.feats h3 { margin-top: 18px; font-size: 19px; font-weight: 700; }
:lang(ar) .feats h3 { font-weight: 500; font-size: 21px; }
.feats p { margin: 8px auto 0; max-width: 18em; color: var(--ink-muted); font-size: 15.5px; line-height: 1.55; }
:lang(ar) .feats p { font-size: 17px; line-height: 1.7; }
.reel { max-width: 1200px; margin: 56px auto 0; padding-inline: 24px; }
.reel-band { position: relative; overflow: hidden; padding: 44px 0 30px; border-radius: 28px; background: linear-gradient(180deg, #e9f2a8 0%, #dfe6ec 100%); }
.reel-track { display: flex; gap: 22px; width: max-content; padding-inline: 11px; animation: slide 46s linear infinite; }
.reel-band:hover .reel-track { animation-play-state: paused; }
.reel-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reel-phone { --w: 210px; }
.reel-item figcaption { padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / 80%); font-size: 14px; font-weight: 500; }
:lang(ar) .reel-item figcaption { font-family: "GE Dinar One", sans-serif; font-size: 15px; }

/* ---------- Safety (navy, tabbed) ---------- */
.safety { padding: clamp(72px, 9vw, 120px) 0; background: var(--navy); color: #fff; }
.safety .eyebrow { color: var(--lime); }
.tabs { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 10px; background: transparent; color: rgb(255 255 255 / 75%); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .25s, color .25s; }
.tab .ico { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: rgb(205 228 40 / 14%); color: var(--lime); }
.tab:hover { color: #fff; }
.tab-box { max-width: 960px; margin: 24px auto 0; padding: 18px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 24px; background: rgb(255 255 255 / 4%); }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; animation: fade .45s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; translate: 0 10px; } }
.tp-main { padding: 22px 18px; }
.tp-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(205 228 40 / 14%); color: var(--lime); }
.tp-main h3 { margin-top: 18px; font-size: 26px; font-weight: 700; }
:lang(ar) .tp-main h3 { font-weight: 500; }
.tp-main p { margin-top: 12px; color: rgb(255 255 255 / 75%); font-size: 16.5px; line-height: 1.65; }
:lang(ar) .tp-main p { font-size: 18px; line-height: 1.8; }
.tp-list { display: grid; gap: 14px; }
.tp-list li { padding: 20px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 18px; background: rgb(255 255 255 / 4%); }
.mini-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--navy); }
.mini-icon .ico { width: 20px; height: 20px; }
.tp-list h4 { margin-top: 14px; font-size: 17px; font-weight: 700; }
:lang(ar) .tp-list h4 { font-weight: 500; font-size: 19px; }
.tp-list p { margin-top: 6px; color: rgb(255 255 255 / 68%); font-size: 14.5px; line-height: 1.55; }
:lang(ar) .tp-list p { font-size: 16px; line-height: 1.7; }

/* ---------- Download card ---------- */
.download { padding: clamp(64px, 8vw, 112px) 0; background: #fff; }
.cta-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 380px; padding: 0 56px; border-radius: 28px; background: radial-gradient(600px at 85% 20%, rgb(205 228 40 / 16%), transparent 60%), linear-gradient(135deg, #04223a, #062c47 55%, #000a1a); color: #fff; }
.cta-card::before { content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; inset-block-start: -160px; inset-inline-start: -170px; -webkit-mask: url("/assets/emblem.svg") center / contain no-repeat; mask: url("/assets/emblem.svg") center / contain no-repeat; background: rgb(255 255 255 / 6%); }
.cta-copy { padding-block: 56px; }
.cta-eyebrow { color: var(--lime); font-size: 16px; font-weight: 500; }
.cta-card h2 { margin-top: 10px; color: #fff; font-size: clamp(30px, 3.4vw, 46px); }
.cta-art { position: relative; align-self: stretch; }
.cta-art .phone { position: absolute; rotate: -16deg; }
.c1p { --w: 250px; inset-block-start: -60px; inset-inline-start: 6%; }
.c2p { --w: 230px; inset-block-start: 120px; inset-inline-start: 48%; }
.cta-chip { inset-block-start: 70px; inset-inline-end: -6px; rotate: -8deg; }

/* ---------- Footer ---------- */
.site-foot { padding: 64px 0 40px; background: var(--navy-deep); color: #fff; }
.foot-top { display: flex; flex-wrap: wrap; gap: 48px 96px; }
.foot-brand { display: flex; flex-direction: column; gap: 22px; margin-inline-end: auto; }
.foot-logo { width: 170px; height: auto; }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / 8%); color: #fff; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--lime); color: var(--navy); }
.social svg { width: 20px; height: 20px; }
.fcol h4 { color: rgb(255 255 255 / 55%); font-size: 14px; font-weight: 500; }
.fcol ul { display: grid; gap: 10px; margin-top: 14px; }
.fcol a { text-decoration: none; font-size: 15px; }
.fcol a:hover { color: var(--lime); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 14px; color: rgb(255 255 255 / 70%); }
.lang-dark { border-color: rgb(255 255 255 / 20%); background: transparent; color: #fff; }
.lang-dark:hover { border-color: var(--lime); }
.disclaimer { margin-top: 20px; color: rgb(255 255 255 / 45%); font-size: 13px; line-height: 1.6; }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; translate: 0 34px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .reveal-mark { scale: .55; opacity: 0; transition: scale 1s var(--ease), opacity .6s var(--ease); }
.js .reveal-mark.in { scale: 1; opacity: 1; }
.js .reveal-phone { opacity: 0; translate: 0 70px; transition: opacity .8s var(--ease) .1s, translate 1s var(--ease) .1s; }
.js .reveal-phone.in { opacity: 1; translate: 0 0; }
.js .feats .reveal:nth-child(2) { transition-delay: .08s; }
.js .feats .reveal:nth-child(3) { transition-delay: .16s; }

/* shorter desktop windows: a smaller group, so the phones keep the same crop */
@media (min-width: 1101px) and (max-height: 780px) { .hero-art { --s: .8; } }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hero-art { --s: .72; }
}
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 56px 0; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .stores { justify-content: center; }
  /* full width of the screen, fading out at the bottom (no hard edges) */
  .hero-art { --s: .8; min-height: 0; height: calc(820px * var(--s)); margin: 8px -24px 0; overflow: clip;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent); }
  .collage { --gx: 0px; translate: -50% -50%; }

  /* the sticky story becomes a list: each step carries its own panel */
  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .sticky-col { display: none; }
  .step { min-height: 0; opacity: 1; margin-top: 48px; text-align: center; }
  .step-text { margin-inline: auto; }
  .step-panel { position: relative; isolation: isolate; display: block; height: 380px; margin-top: 26px; border-radius: 24px; overflow: hidden; background: var(--navy); }
  .step-panel.tone-1 { background: var(--lime); }
  .step-panel.tone-2 { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .step-panel.tone-3 { background: var(--muted); }
  .step-panel .panel-phone { --w: 230px; inset-block-start: 40px; }
  .step-panel .float-chip { inset-block-end: 40px; left: 50%; translate: -50% 0; }
  .step-panel .panel-badge { position: absolute; z-index: 4; inset-block-start: 50px; left: calc(50% - 170px); width: 60px; height: 60px; }

  .card, .grow-row { grid-template-columns: 1fr; gap: 20px; }
  .card.flip .card-art, .grow-row.flip .grow-art { order: 0; }
  .card-copy, [dir="rtl"] .card-copy { padding: 8px 10px 18px; text-align: center; }
  .card-actions { justify-content: center; }
  .grow-copy { text-align: center; }
  .grow-copy p { margin-inline: auto; }
  .stats { justify-content: center; }
  .feats { grid-template-columns: 1fr; gap: 36px; }
  .tab-panel { grid-template-columns: 1fr; }
  .tabs { gap: 6px; }
  .tab { flex: 1 1 0; justify-content: center; padding: 10px 8px; font-size: 14px; white-space: nowrap; }
  .cta-card { grid-template-columns: 1fr; padding: 0 28px; text-align: center; }
  .cta-copy { padding-block: 48px 8px; }
  .cta-copy .stores { justify-content: center; }
  .cta-art { min-height: 330px; }
  .c1p { --w: 200px; inset-block-start: 30px; inset-inline-start: calc(50% - 190px); }
  .c2p { --w: 190px; inset-block-start: 90px; inset-inline-start: calc(50% - 10px); }
  .cta-chip { inset-block-start: 40px; inset-inline-end: calc(50% - 170px); }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .bar { height: 62px; gap: 12px; }
  .brand img { width: 108px; }
  .lang { padding: 7px 10px 7px 8px; font-size: 13px; }
  .bar-actions .btn { padding: 9px 12px; font-size: 13px; }
  .store { height: 42px; }
  .hero-art { --s: .56; margin-inline: -16px; }
  .glow-a { width: 420px; height: 420px; }
  .card { padding: 12px; }
  .card-art { height: 330px; }
  .card-phone { --w: 210px; margin-left: -105px; }
  .card-photo { width: 110px; inset-inline-end: 14px; }
  .card .float-chip.c1 { inset-inline-start: 10px; inset-block-start: 130px; }
  .card .float-chip.c2 { inset-inline-end: 12px; }
  .grow-art { height: 400px; }
  .grow-art .mark { width: min(86vw, 340px); }
  .grow-phone { --w: min(38vw, 154px); }
  .reel { padding-inline: 16px; }
  .reel-phone { --w: 170px; }
  .float-chip { font-size: 13px; }
  .card-photo { width: 96px; inset-block-start: 22px; inset-inline-end: 12px; border-width: 4px; }
  .cta-card { padding: 0 20px; }
  .cta-art { min-height: 290px; }
  .c1p { --w: 150px; inset-block-start: 40px; inset-inline-start: calc(50% - 146px); }
  .c2p { --w: 150px; inset-block-start: 84px; inset-inline-start: calc(50% + 4px); }
  .cta-chip { inset-block-start: 22px; inset-inline-end: 4px; }
  .tab-box { padding: 12px; }
  .step-panel .panel-badge { left: 14px; }
  .step-panel, .card-art { --tile: 88px; }
  .foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .reel-track { animation: none; }
  .marquee, .reel-band { overflow-x: auto; }
  .hero-copy > *, .collage .phone, .notif, .card-phone, .card-photo, .card .float-chip { animation: none; }
  .collage .phone { translate: none; }
}
