/* Wafra, a neobank app demo. The marketing page is dark; inside the iPhone
   frame a light iOS app prototype runs as real, tappable screens. One
   stylesheet, English (ltr) and Arabic (rtl) via logical properties. Motion is
   progressive enhancement; with no JS the app shows its Home screen. */

:root {
  --ink: #0E1015;
  --ink-2: #15181F;
  --ink-3: #1E222B;
  --cream: #F4F6F5;
  --cream-2: #B9C0C4;
  --slate-d: rgba(244,246,245,.62);
  --mint: #2FD18C;
  --mint-2: #23B879;
  --line-d: rgba(244,246,245,.12);
  --line-d2: rgba(244,246,245,.06);
  /* iOS app (light) */
  --app-bg: #EFF1F5;
  --app-card: #FFFFFF;
  --app-ink: #0F1317;
  --app-slate: #5E646A;
  --app-line: rgba(15,19,23,.09);
  --app-mint: #12A767;
  /* darker mint for text/links on light, the bright one fails AA below ~18px */
  --app-mint-ink: #0A7A48;
  --sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ar: "Tajawal", "Satoshi", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 64px);
  --gut: clamp(44px, 6vw, 92px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
[dir="rtl"] body { font-family: var(--ar); line-height: 1.85; }
body.noscroll { overflow: hidden; }
img { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--mint); color: var(--ink); }

h1, h2, h3 { font-family: var(--sans); font-weight: 900; margin: 0; letter-spacing: -.02em; line-height: 1.08; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--ar); font-weight: 700; letter-spacing: 0; line-height: 1.3; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--gut); }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; font-weight: 600; color: var(--mint); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.display { font-size: clamp(2.1rem, 4.8vw, 3.6rem); letter-spacing: -.03em; }
[dir="rtl"] .display { letter-spacing: 0; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--slate-d); line-height: 1.55; }
.lat { direction: ltr; unicode-bidi: isolate; }
.num { direction: ltr; unicode-bidi: isolate; font-feature-settings: "tnum" 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--sans); font-weight: 700; font-size: .98rem; padding: .9em 1.7em; background: var(--mint); color: var(--ink); border: 1px solid var(--mint); border-radius: 100px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; }
[dir="rtl"] .btn { font-family: var(--ar); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(47,209,140,.5); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-d); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); box-shadow: none; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: .7em 1.2em; border: 1px solid var(--line-d); border-radius: 14px; background: rgba(244,246,245,.04); transition: border-color .3s, background .3s; }
.store:hover { border-color: var(--mint); }
.store svg { width: 24px; height: 24px; flex: none; }
.store .st { display: flex; flex-direction: column; line-height: 1.15; }
.store .st .s { font-size: .68rem; color: var(--slate-d); }
.store .st .b { font-weight: 700; font-size: 1rem; }

html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.d2 { transition-delay: .1s; } html.js .reveal.d3 { transition-delay: .2s; } html.js .reveal.d4 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------------------------------------------------------------- nav, a floating pill */
.nav { position: fixed; inset-block-start: clamp(12px, 2vw, 20px); inset-inline: 0; z-index: 70; display: flex; justify-content: center; padding-inline: 16px; pointer-events: none; }
.nav-inner { pointer-events: auto; display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px); padding: 8px 8px 8px 20px; border-radius: 100px; background: rgba(20,23,30,.64); border: 1px solid rgba(244,246,245,.08); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 20px 44px -24px rgba(0,0,0,.75); transition: background .4s; max-width: calc(100vw - 32px); }
.nav.scrolled .nav-inner { background: rgba(20,23,30,.82); }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand .mark { width: 26px; height: 26px; flex: none; }
.brand .mark svg { width: 100%; height: 100%; display: block; }
.brand-en { font-weight: 800; font-size: 1.04rem; letter-spacing: -.02em; }
[dir="rtl"] .brand-en { font-family: var(--ar); font-weight: 700; }
.nav-sep { width: 1px; height: 18px; background: var(--line-d); margin-inline: 3px; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 22px); }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--cream); opacity: .78; transition: opacity .25s, color .25s; }
.nav-links a:hover { opacity: 1; color: var(--mint); }
.nav-links a.btn { color: var(--ink); opacity: 1; padding: .62em 1.3em; font-size: .86rem; margin-inline-start: clamp(2px, 0.5vw, 6px); }
.nav-links a.btn:hover { color: var(--ink); transform: none; box-shadow: none; }
.lang { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.lang .globe { width: 15px; height: 15px; } .lang .globe svg { width: 100%; height: 100%; display: block; }
.nav-toggle { display: none; width: 36px; height: 36px; border: 0; background: transparent; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero, the product up front */
.hero { position: relative; padding-block: clamp(124px, 19vh, 196px) clamp(34px, 6vw, 80px); text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset-block-start: 6%; inset-inline: 0; margin-inline: auto; width: min(640px, 88vw); height: 640px; background: radial-gradient(circle at 50% 34%, rgba(47,209,140,.20), transparent 58%); pointer-events: none; z-index: 0; }
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.6rem); letter-spacing: -.045em; line-height: .96; max-width: 15ch; margin-inline: auto; }
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.16; }
.hero h1 .hl { color: var(--mint); }
.hero-sub { margin-block: clamp(18px,2.4vw,26px) 0; max-width: 50ch; margin-inline: auto; font-size: clamp(1.04rem, 1.55vw, 1.22rem); color: var(--slate-d); }
.hero-proof { display: inline-flex; align-items: center; gap: 13px; margin-block-start: 24px; font-size: .9rem; color: var(--slate-d); }
.hero-proof b { color: var(--cream); font-weight: 700; }
.hero-proof .stars { color: var(--mint); letter-spacing: 2px; font-size: .8rem; }
.hero-proof .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-d); }
.hero-phone { display: flex; justify-content: center; margin-block-start: clamp(34px, 5vw, 58px); }
.hero-phone .phone { animation: floaty 6.5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-phone .phone { animation: none; } }
.hero-dl { display: flex; gap: 12px; justify-content: center; margin-block-start: clamp(28px, 4vw, 44px); flex-wrap: wrap; }

/* ---------------------------------------------------------------- iPhone device + iOS app */
.phone { position: relative; width: min(335px, 84vw); aspect-ratio: 9 / 19.3; background: #050507; border-radius: 54px; padding: 11px; box-shadow: 0 60px 100px -45px rgba(0,0,0,.85), inset 0 0 0 2px rgba(244,246,245,.07); }
.phone::before { content: ""; position: absolute; inset-inline-end: -3px; inset-block-start: 27%; width: 3px; height: 64px; background: #16181d; border-radius: 0 3px 3px 0; }
.phone::after { content: ""; position: absolute; inset-inline-start: -3px; inset-block-start: 21%; width: 3px; height: 38px; background: #16181d; border-radius: 3px 0 0 3px; box-shadow: 0 56px 0 #16181d, 0 112px 0 #16181d; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--app-bg); display: flex; flex-direction: column; isolation: isolate; }
.island { position: absolute; inset-block-start: 11px; inset-inline: 0; margin-inline: auto; width: 92px; height: 28px; background: #050507; border-radius: 15px; z-index: 30; }
.ios-status { flex: none; height: 50px; padding: 16px 26px 0; display: flex; align-items: center; justify-content: space-between; font-size: .78rem; font-weight: 700; color: var(--app-ink); }
.ios-status .ic { display: inline-flex; gap: 5px; align-items: center; }
.ios-status .ic svg { height: 13px; width: auto; display: block; color: var(--app-ink); }

/* iOS 26 tab bar: a floating, centered pill on glass, filled glyphs, colour signals selection */
.ios-tabbar { position: absolute; inset-block-end: 17px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 24px); z-index: 18; display: flex; gap: 1px; padding: 6px 8px; border-radius: 100px; background: rgba(250,250,252,.7); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 12px 30px -10px rgba(15,19,23,.32), inset 0 0 0 .5px rgba(255,255,255,.55); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 13px; border-radius: 100px; background: none; border: 0; color: var(--app-slate); font-size: 9.5px; font-weight: 600; line-height: 1; cursor: pointer; transition: color .2s; }
.tab svg { width: 25px; height: 25px; display: block; }
.tab.active { color: var(--app-mint-ink); }
.home-ind { position: absolute; inset-inline: 0; inset-block-end: 7px; margin-inline: auto; width: 126px; height: 5px; border-radius: 3px; background: var(--app-ink); opacity: .8; z-index: 17; pointer-events: none; }

.app { position: relative; flex: 1; overflow: hidden; }
.screen { position: absolute; inset: 0; overflow-y: auto; padding: 4px 16px 92px; opacity: 0; transform: translateX(7%); pointer-events: none; transition: opacity .34s var(--ease), transform .34s var(--ease); -webkit-overflow-scrolling: touch; }
.screen.active { opacity: 1; transform: none; pointer-events: auto; }
[dir="rtl"] .screen { transform: translateX(-7%); }
[dir="rtl"] .screen.active { transform: none; }
.screen::-webkit-scrollbar { width: 0; }
html:not(.js) .screen { position: relative; opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .screen:not(#scr-home) { display: none; }

.app-h { display: flex; align-items: center; justify-content: space-between; padding-block: 8px 4px; }
.app-h .hi { font-size: .82rem; color: var(--app-slate); }
.app-h .nm { font-weight: 700; font-size: 1.05rem; color: var(--app-ink); }
.app-h .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), #1a8f5d); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.lg-title { font-weight: 900; font-size: 1.75rem; color: var(--app-ink); margin: 8px 0 14px; letter-spacing: -.02em; }
[dir="rtl"] .lg-title { font-weight: 700; letter-spacing: 0; }

.bal-card { border-radius: 22px; padding: 20px; background: linear-gradient(140deg, #15181F, #25303a 130%); color: #fff; position: relative; overflow: hidden; box-shadow: 0 18px 30px -18px rgba(15,19,23,.4); }
.bal-card::after { content: ""; position: absolute; inset-block-start: -40px; inset-inline-end: -30px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(47,209,140,.45), transparent 65%); }
.bal-card .lbl { font-size: .78rem; opacity: .7; }
.bal-card .amt { font-weight: 900; font-size: 2.1rem; margin-block: 4px 2px; letter-spacing: -.02em; }
[dir="rtl"] .bal-card .amt { font-weight: 700; }
.bal-card .sub { font-size: .8rem; opacity: .7; }
.bal-card .chip { position: absolute; inset-block-end: 18px; inset-inline-end: 18px; font-size: .72rem; background: rgba(47,209,140,.2); color: var(--mint); padding: .3em .7em; border-radius: 100px; font-weight: 700; }

.qa { display: flex; justify-content: space-between; margin-block: 18px 6px; }
.qa button { display: flex; flex-direction: column; align-items: center; gap: 7px; background: 0; border: 0; color: var(--app-ink); font-size: .72rem; font-weight: 600; flex: 1; }
.qa .qi { width: 50px; height: 50px; border-radius: 16px; background: var(--app-card); display: grid; place-items: center; color: var(--app-mint); box-shadow: 0 6px 14px -10px rgba(15,19,23,.3); }
.qa .qi svg { width: 23px; height: 23px; }

.sec-h { display: flex; align-items: center; justify-content: space-between; margin-block: 22px 10px; }
.sec-h .t { font-weight: 700; font-size: 1rem; color: var(--app-ink); }
.sec-h .a { font-size: .82rem; color: var(--app-mint-ink); font-weight: 600; }
.spark { background: var(--app-card); border-radius: 18px; padding: 16px; box-shadow: 0 6px 16px -12px rgba(15,19,23,.25); }
.spark .row { display: flex; align-items: baseline; justify-content: space-between; }
.spark .row .v { font-weight: 800; font-size: 1.3rem; color: var(--app-ink); }
.spark .row .d { font-size: .76rem; color: var(--app-mint-ink); font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; margin-block-start: 12px; }
.bars span { flex: 1; background: linear-gradient(to top, var(--app-mint), #5fe0ad); border-radius: 5px 5px 0 0; opacity: .85; }
.bars span.lo { opacity: .35; background: var(--app-slate); }

.txn { background: var(--app-card); border-radius: 18px; padding: 6px 14px; box-shadow: 0 6px 16px -12px rgba(15,19,23,.25); }
.txn-row { display: flex; align-items: center; gap: 12px; padding-block: 11px; border-block-end: 1px solid var(--app-line); }
.txn-row:last-child { border-block-end: 0; }
.txn-row .ti { width: 40px; height: 40px; border-radius: 12px; background: #EEF1F4; display: grid; place-items: center; color: var(--app-slate); flex: none; }
.txn-row .ti svg { width: 20px; height: 20px; }
.txn-row .tn { font-weight: 600; font-size: .92rem; color: var(--app-ink); }
.txn-row .td { font-size: .76rem; color: var(--app-slate); }
.txn-row .ta { margin-inline-start: auto; font-weight: 700; font-size: .95rem; color: var(--app-ink); }
[dir="rtl"] .txn-row .ta { margin-inline-start: 0; margin-inline-end: auto; }
.txn-row .ta.in { color: var(--app-mint-ink); }

/* card screen */
.bank-card { aspect-ratio: 1.586; border-radius: 20px; padding: 22px; color: #fff; background: linear-gradient(135deg, #1f7d57, #12A767 55%, #0f1317); position: relative; overflow: hidden; box-shadow: 0 22px 34px -20px rgba(18,167,103,.55); margin-block-start: 6px; }
.bank-card::after { content: ""; position: absolute; inset-block-start: -30%; inset-inline-start: -10%; width: 70%; height: 160%; background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 60%); transform: rotate(8deg); }
.bank-card .br { display: flex; justify-content: space-between; align-items: flex-start; }
.bank-card .chip2 { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f5d77a, #cfa23f); }
.bank-card .no { font-size: 1.12rem; letter-spacing: .14em; margin-block-start: 30px; font-variant-numeric: tabular-nums; }
.bank-card .bt { display: flex; justify-content: space-between; margin-block-start: 16px; font-size: .8rem; opacity: .9; }
.card-ctrl { display: grid; gap: 10px; margin-block-start: 18px; }
.ctrl-row { display: flex; align-items: center; gap: 12px; background: var(--app-card); border-radius: 14px; padding: 14px 16px; box-shadow: 0 6px 16px -12px rgba(15,19,23,.2); }
.ctrl-row .ci { width: 36px; height: 36px; border-radius: 10px; background: #EEF1F4; display: grid; place-items: center; color: var(--app-slate); } .ctrl-row .ci svg { width: 19px; height: 19px; }
.ctrl-row .ct { font-weight: 600; font-size: .92rem; color: var(--app-ink); }
.ctrl-row .cs { font-size: .76rem; color: var(--app-slate); }
.toggle { margin-inline-start: auto; width: 44px; height: 26px; border-radius: 100px; background: #d6dade; position: relative; flex: none; transition: background .3s; border: 0; }
[dir="rtl"] .toggle { margin-inline-start: 0; margin-inline-end: auto; }
.toggle::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle.on { background: var(--app-mint); }
.toggle.on::after { transform: translateX(18px); }
[dir="rtl"] .toggle.on::after { transform: translateX(-18px); }

/* insights screen */
.seg { display: flex; background: #E3E7EB; border-radius: 12px; padding: 3px; margin-block: 6px 18px; }
.seg button { flex: 1; border: 0; background: 0; padding: .55em; border-radius: 9px; font-size: .82rem; font-weight: 600; color: var(--app-slate); transition: background .25s, color .25s; }
.seg button.on { background: var(--app-card); color: var(--app-ink); box-shadow: 0 2px 6px -3px rgba(0,0,0,.2); }
.donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--app-card); border-radius: 20px; padding: 22px; box-shadow: 0 6px 16px -12px rgba(15,19,23,.2); }
.donut { width: 150px; height: 150px; position: relative; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut .ctr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; }
.donut .ctr .n { font-weight: 900; font-size: 1.4rem; line-height: 1; color: var(--app-ink); } [dir="rtl"] .donut .ctr .n { font-weight: 800; }
.donut .ctr .l { font-size: .72rem; line-height: 1.1; color: var(--app-slate); }
.cats { display: grid; gap: 10px; margin-block-start: 16px; }
.cat { display: flex; align-items: center; gap: 11px; font-size: .88rem; color: var(--app-ink); }
.cat .dot { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.cat .cv { margin-inline-start: auto; font-weight: 700; } [dir="rtl"] .cat .cv { margin-inline-start: 0; margin-inline-end: auto; }

/* profile screen */
.prof-top { display: flex; align-items: center; gap: 14px; background: var(--app-card); border-radius: 18px; padding: 16px; box-shadow: 0 6px 16px -12px rgba(15,19,23,.2); }
.prof-top .av { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), #1a8f5d); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.prof-top .pn { font-weight: 700; color: var(--app-ink); } .prof-top .pe { font-size: .8rem; color: var(--app-slate); }
.prof-list { background: var(--app-card); border-radius: 18px; margin-block-start: 14px; box-shadow: 0 6px 16px -12px rgba(15,19,23,.2); overflow: hidden; }
.prof-list .pr { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-block-end: 1px solid var(--app-line); font-size: .92rem; color: var(--app-ink); }
.prof-list .pr:last-child { border-block-end: 0; }
.prof-list .pr svg { width: 19px; height: 19px; color: var(--app-slate); }
.prof-list .pr .chev { margin-inline-start: auto; opacity: .5; } [dir="rtl"] .prof-list .pr .chev { margin-inline-start: 0; margin-inline-end: auto; transform: scaleX(-1); }

/* send sheet */
.sheet { position: absolute; inset: 0; z-index: 25; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.sheet-bd { position: absolute; inset: 0; background: rgba(15,19,23,.4); opacity: 0; transition: opacity .35s; }
.sheet.open { pointer-events: auto; } .sheet.open .sheet-bd { opacity: 1; }
.sheet-panel { position: relative; background: var(--app-card); border-radius: 26px 26px 0 0; padding: 10px 18px 24px; transform: translateY(102%); transition: transform .4s var(--ease); max-height: 88%; overflow-y: auto; }
.sheet.open .sheet-panel { transform: none; }
.sheet-grab { width: 40px; height: 5px; border-radius: 3px; background: #d2d6da; margin: 6px auto 12px; }
.sheet-panel h4 { font-weight: 800; font-size: 1.15rem; color: var(--app-ink); margin: 0 0 14px; }
.recips { display: flex; gap: 14px; overflow-x: auto; padding-block-end: 6px; }
.recip { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; color: var(--app-ink); flex: none; }
.recip .ra { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.amt-in { text-align: center; margin-block: 18px; }
.amt-in .big { font-weight: 900; font-size: 2.6rem; color: var(--app-ink); letter-spacing: -.02em; }
.amt-in .lbl { font-size: .8rem; color: var(--app-slate); }
.sheet-panel .btn { width: 100%; background: var(--app-mint); color: #fff; border-color: var(--app-mint); }

/* ---------------------------------------------------------------- section intro */
.intro-block { max-width: 38ch; margin-block-end: clamp(6px, 1.6vw, 18px); }
.intro-block .kicker { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--mint); margin-block-end: 12px; }
.intro-block h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.035em; line-height: 1.02; }
[dir="rtl"] .intro-block h2 { letter-spacing: 0; line-height: 1.22; }

/* feature rows: a real app screen plus copy, alternating sides */
.frow { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 6vw, 86px); align-items: center; padding-block: clamp(30px, 5vw, 66px); }
.frow + .frow { border-block-start: 1px solid var(--line-d2); }
.frow:nth-child(even) .frow-media { order: 1; }
.frow-media { display: flex; justify-content: center; }
.frow-media img { width: min(286px, 72vw); filter: drop-shadow(0 44px 70px rgba(0,0,0,.62)); }
.frow-copy .n { font-weight: 800; font-size: .98rem; color: var(--mint); display: block; margin-block-end: 13px; font-variant-numeric: tabular-nums; }
.frow-copy h3 { font-size: clamp(1.65rem, 3.3vw, 2.55rem); letter-spacing: -.03em; line-height: 1.05; }
[dir="rtl"] .frow-copy h3 { letter-spacing: 0; line-height: 1.24; }
.frow-copy p { color: var(--slate-d); margin-block: 15px 0; max-width: 40ch; font-size: 1.06rem; }

/* security, one dark band with inline assurances, not cards */
.guard { background: linear-gradient(165deg, #141a23, #0c1016); border: 1px solid var(--line-d2); border-radius: clamp(22px, 2.4vw, 34px); padding: clamp(38px, 5.5vw, 78px) clamp(24px, 4vw, 56px); text-align: center; }
.guard h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.035em; max-width: 18ch; margin-inline: auto; }
[dir="rtl"] .guard h2 { letter-spacing: 0; }
.guard p { color: var(--slate-d); max-width: 46ch; margin: 16px auto 0; }
.guard-row { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(16px, 4vw, 52px); margin-block-start: clamp(28px, 4vw, 46px); }
.guard-item { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); font-weight: 600; font-size: .98rem; }
.guard-item svg { width: 21px; height: 21px; color: var(--mint); flex: none; }

.cta { text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.7rem); letter-spacing: -.04em; max-width: 16ch; margin: 0 auto clamp(24px, 3vw, 34px); line-height: 1.02; }
[dir="rtl"] .cta h2 { letter-spacing: 0; line-height: 1.18; }

/* ---------------------------------------------------------------- footer, oversized wordmark */
.footer { padding-block: clamp(54px, 8vw, 108px) 30px; border-block-start: 1px solid var(--line-d2); overflow: hidden; }
.footer-big { font-weight: 900; font-size: clamp(3.4rem, 15vw, 10.5rem); line-height: .86; letter-spacing: -.05em; color: var(--cream); }
[dir="rtl"] .footer-big { letter-spacing: 0; line-height: 1; font-family: var(--ar); font-weight: 800; }
.footer-big .dot { color: var(--mint); }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-block-start: clamp(24px, 4vw, 44px); }
.footer-blurb { color: var(--slate-d); max-width: 30ch; font-size: .96rem; }
.footer-links { display: flex; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; font-size: .92rem; }
.footer-links a { color: var(--slate-d); transition: color .25s; } .footer-links a:hover { color: var(--cream); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block-start: clamp(30px, 4vw, 50px); padding-block-start: 22px; border-block-start: 1px solid var(--line-d2); font-size: .82rem; color: var(--slate-d); }
.credit { display: inline-flex; align-items: center; gap: 12px; }
.credit-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--slate-d); }
[dir="rtl"] .credit-label { letter-spacing: 0; text-transform: none; font-size: .9rem; font-family: var(--ar); }
.wlogo { display: inline-flex; align-items: center; gap: 11px; opacity: .9; transition: opacity .4s; } .wlogo:hover { opacity: 1; }
.wlogo-mark { height: 38px; width: auto; display: block; } .wlogo-word { height: 26px; width: auto; display: block; }

/* ---------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,6,8,.7); backdrop-filter: blur(4px); }
.modal-card { position: relative; background: var(--ink-2); border: 1px solid var(--line-d); max-width: 440px; width: 100%; padding: clamp(28px, 4vw, 42px); border-radius: 20px; text-align: center; }
.modal-card .mk { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px; background: rgba(47,209,140,.14); color: var(--mint); display: grid; place-items: center; } .modal-card .mk svg { width: 26px; height: 26px; }
.modal-card h3 { font-size: 1.4rem; } .modal-card p { color: var(--slate-d); margin: 12px 0 0; }
.modal-close { margin-block-start: 22px; }

.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--mint); color: var(--ink); padding: 10px 16px; z-index: 200; border-radius: 8px; } .skip:focus { inset-inline-start: 12px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) { .frow { gap: clamp(24px, 5vw, 50px); } }
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-sep { display: none; }
  /* pill drops a glass card below itself. fixed positioning can't escape the
     nav-inner backdrop-filter containing block, so anchor the panel instead. */
  .nav-links { position: absolute; inset-block-start: calc(100% + 12px); inset-inline-end: -2px; z-index: 65; width: min(248px, calc(100vw - 80px)); flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 22px; background: rgba(22,25,33,.94); border: 1px solid rgba(244,246,245,.1); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 28px 60px -28px rgba(0,0,0,.85); opacity: 0; transform: translateY(-10px) scale(.97); transform-origin: top right; transition: opacity .28s var(--ease), transform .32s var(--ease); pointer-events: none; }
  [dir="rtl"] .nav-links { transform-origin: top left; }
  body.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-size: 1rem; opacity: .9; padding: 11px 14px; border-radius: 12px; transition: background .2s, color .2s, opacity .2s; }
  .nav-links a:hover, .nav-links a:active { background: rgba(244,246,245,.06); opacity: 1; }
  .nav-links a.btn { justify-content: center; font-size: .96rem; padding: .85em 1.2em; margin-block-start: 4px; margin-inline-start: 0; }
  .nav-links a.btn:hover { background: var(--mint); color: var(--ink); }
  .nav-links .lang { gap: 8px; }
  .frow { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .frow .frow-media, .frow:nth-child(even) .frow-media { order: -1; }
  .frow-copy p { margin-inline: auto; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
