/* Avora Money — brand ink, mint and sand from the app design. Mint marks money in, sand marks money out. */
:root {
  /* layout idea: wide editorial columns, left-aligned type, thin rules instead of boxes; cards only for product objects */
  --ink: #081a2b;
  --surface: #0d2538;
  --surface-2: #123047;
  --line: #1f4059;
  --text: #f3efe6;
  --muted: #9FB2BC;
  --in: #00C2A8;
  --out: #E3B873;
  --font-display: "Bricolage Grotesque", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(18px, 4vw, 40px);
  color-scheme: dark;
}
html[lang="ar"] {
  --font-display: "IBM Plex Sans Arabic", "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Hanken Grotesk", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { line-height: 1.85; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--in); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--text); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { inset-inline-start: 12px; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ink) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 600; font-size: 25px; letter-spacing: -0.04em; direction: ltr; color: #fff; }
.brand svg { width: 30px; height: 30px; flex: none; margin-inline-end: -2px; }
.brand small { font: 500 11px/1 "Space Grotesk", system-ui, sans-serif; color: var(--out); letter-spacing: 0.34em; text-transform: uppercase; align-self: center; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: 600 16px/1 var(--font-body); padding: 15px 22px; border-radius: 12px; background: var(--text); color: var(--ink); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.nav .btn { color: var(--ink); padding: 11px 16px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--surface); }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 9px 12px; font: 600 14px/1 var(--font-body); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .lang { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 13px 0; }
  .nav .btn { margin-top: 16px; border: 0; padding: 15px; }
}

/* hero */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, color-mix(in srgb, var(--in) 16%, transparent), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -45% -15%; width: 680px; height: 680px; background: radial-gradient(closest-side, color-mix(in srgb, var(--out) 11%, transparent), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--in); display: inline-block; }
.eyebrow.out i { background: var(--out); }
.hero h1 { font-size: clamp(42px, 6.6vw, 84px); font-weight: 800; }
.hero h1 .in { color: var(--in); } .hero h1 .out { color: var(--out); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 54ch; margin-top: 24px; }
.waitlist { display: flex; gap: 10px; margin-top: 32px; max-width: 520px; flex-wrap: wrap; }
.waitlist input { flex: 1 1 220px; min-width: 0; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 15px 16px; font: 500 16px/1.2 var(--font-body); }
.waitlist input::placeholder { color: #6f8799; }
.form-note { flex-basis: 100%; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-note.err { color: #ff9d8a; } .form-note.ok { color: var(--in); }
.fine { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 56ch; }

/* hero product illustration */
.device { position: relative; padding-bottom: 150px; direction: ltr; }
.panel { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 26px; padding: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.panel-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.balance { font: 800 clamp(34px, 4.4vw, 48px)/1.1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.03em; margin: 10px 0 18px; }
.balance span { font-size: .45em; color: var(--muted); font-weight: 600; margin-inline-end: 6px; letter-spacing: 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.rows b { font-weight: 600; display: block; }
.rows small { color: var(--muted); font-size: 13px; }
.amt { font-weight: 700; white-space: nowrap; }
.amt.in { color: var(--in); } .amt.out { color: var(--out); }
.card { position: absolute; inset-inline-end: -8px; bottom: 0; width: min(270px, 72%); aspect-ratio: 1.586; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, #0A1F33 0%, #0C2E3A 48%, #0B4A45 105%); border: 1px solid color-mix(in srgb, var(--out) 45%, var(--line)); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transform: rotate(-4deg); }
.card .c-brand { font: 600 20px/1 "Space Grotesk", system-ui, sans-serif; letter-spacing: -0.03em; display: flex; justify-content: space-between; }
.card .c-brand em { font: 600 11px/1 var(--font-body); letter-spacing: .12em; color: var(--out); text-transform: uppercase; font-style: normal; }
.card .chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f2cf8a, #b98a3a); }
.card .c-num { font-size: 15px; letter-spacing: .14em; color: var(--muted); }
.illus-note { position: absolute; left: 4px; bottom: 6px; max-width: 34%; line-height: 1.35; text-align: start; font-size: 12px; color: #6f8799; }

/* flow strip */
.flow { border-block: 1px solid var(--line); }
.flow ol { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flow li { display: flex; flex-direction: column; gap: 4px; padding-inline-start: 16px; border-inline-start: 2px solid var(--line); }
.flow li:nth-child(1) { border-color: var(--in); } .flow li:nth-child(3) { border-color: var(--out); }
.flow b { font-family: var(--font-display); font-size: 18px; }
.flow span { color: var(--muted); font-size: 15px; }

/* sections */
section { padding-block: clamp(56px, 8vw, 104px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); }
.sec-head p { color: var(--muted); font-size: 18px; max-width: 52ch; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); padding-inline: 0 28px; }
.feature svg { width: 30px; height: 30px; color: var(--in); margin-bottom: 18px; }
.out-set .feature svg { color: var(--out); }
.feature h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 16px; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: s; }
.steps li::before { content: "0" counter(s); font: 800 56px/1 "Bricolage Grotesque", system-ui, sans-serif; color: transparent; -webkit-text-stroke: 1px #3a6480; display: block; margin-bottom: 18px; direction: ltr; text-align: start; }
html[dir="rtl"] .steps li::before { text-align: right; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare > div { border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.compare .with { background: var(--surface-2); border-color: color-mix(in srgb, var(--in) 40%, var(--line)); }
.compare h3 { font-size: 20px; margin-bottom: 16px; }
.compare ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--muted); }
.compare li { padding-inline-start: 26px; position: relative; }
.compare li::before { content: "×"; position: absolute; inset-inline-start: 0; color: #6f8799; font-weight: 700; }
.compare .with li { color: var(--text); }
.compare .with li::before { content: "✓"; color: var(--in); }

.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.who article { border-top: 2px solid var(--line); padding-top: 20px; }
.who h3 { font-size: 21px; margin-bottom: 8px; }
.who p { color: var(--muted); }

/* blog cards */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.alt .post { background: var(--ink); }
.post:hover { border-color: #3a6480; transform: translateY(-2px); }
.post .tag { font-size: 13px; font-weight: 600; color: var(--in); letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .post .tag { letter-spacing: 0; font-size: 14px; }
.post .tag.gold { color: var(--out); }
.post h3 { font-size: 23px; line-height: 1.2; }
html[lang="ar"] .post h3 { line-height: 1.45; }
.post p { color: var(--muted); font-size: 16px; }
.post .meta { margin-top: auto; padding-top: 10px; font-size: 14px; color: #7f97a6; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font: 600 20px/1.3 var(--font-display); display: flex; justify-content: space-between; gap: 20px; }
html[lang="ar"] .faq summary { line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 65ch; }

/* closing cta */
.cta { text-align: start; }
.cta .box { border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 64px); background: linear-gradient(120deg, color-mix(in srgb, var(--in) 10%, var(--surface)), var(--surface) 45%, color-mix(in srgb, var(--out) 10%, var(--surface))); }
.cta h2 { font-size: clamp(30px, 4.4vw, 54px); max-width: 18ch; }
.cta p.lede { margin-top: 16px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 44px 56px; color: var(--muted); font-size: 15px; }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; align-items: flex-start; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-foot a { text-decoration: none; } .site-foot a:hover { color: var(--text); }
.legal { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; max-width: 90ch; color: #7f97a6; }

/* blog index + article */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(38px, 5.6vw, 68px); max-width: 20ch; }
.page-head .lede { margin-top: 18px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--text); }
.byline { margin-top: 22px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.article { padding-block: 0 clamp(56px, 8vw, 96px); }
.article .wrap { max-width: 780px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(25px, 3vw, 32px); margin-top: 52px; line-height: 1.2; }
html[lang="ar"] .prose h2 { line-height: 1.5; }
.prose h3 { font-size: 20px; margin-top: 32px; line-height: 1.3; }
.prose p, .prose li { color: #d6d3cb; font-size: 18px; }
.prose ul, .prose ol { padding-inline-start: 24px; display: grid; gap: 10px; }
.prose a { color: var(--in); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 16px; }
.prose th, .prose td { text-align: start; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); font-weight: 600; color: var(--text); }
.prose tr:last-child td { border-bottom: 0; }
.prose td { color: #d6d3cb; }
.sources { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 20px; margin: 0 0 12px; }
.sources ol { padding-inline-start: 22px; display: grid; gap: 8px; }
.sources li { font-size: 15px; color: var(--muted); }
.sources a { color: var(--muted); }
.disclaimer { font-size: 14.5px !important; color: var(--muted) !important; font-style: italic; }

@media (max-width: 900px) {
  .hero .wrap, .sec-head, .compare { grid-template-columns: 1fr; }
  .features, .steps, .who, .posts { grid-template-columns: 1fr 1fr; }
  .device { max-width: 460px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .features, .steps, .who, .posts, .flow ol { grid-template-columns: 1fr; }
  .feature { padding-inline: 0; }
  .card { inset-inline-end: 0; }
  .brand small { display: none; }
}


/* pictures */
.fig { margin: 0 auto 44px; max-width: 980px; padding-inline: var(--gutter); }
.fig img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.thumb { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 6px; background: var(--surface); }
.post:hover .thumb { border-color: #3a6480; }

/* motion */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rowin { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cardfloat { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-14px); } }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(50px,36px,0) scale(1.12); } }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--in) 70%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes shift { to { background-position: 100% 50%; } }
.hero .eyebrow, .hero h1, .hero .lede, .hero .waitlist, .hero .fine { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .eyebrow { animation-delay: .05s; } .hero h1 { animation-delay: .15s; } .hero .lede { animation-delay: .3s; } .hero .waitlist { animation-delay: .42s; } .hero .fine { animation-delay: .52s; }
.hero::before { animation: drift 16s ease-in-out infinite alternate; }
.hero::after { animation: drift 20s ease-in-out infinite alternate-reverse; }
.device { animation: rise 1s .25s cubic-bezier(.2,.7,.2,1) both; }
.panel { animation: floaty 7s 1.4s ease-in-out infinite; }
.card { animation: cardfloat 8s 1.2s ease-in-out infinite; }
.rows li { animation: rowin .6s cubic-bezier(.2,.7,.2,1) both; }
.rows li:nth-child(1) { animation-delay: .7s; } .rows li:nth-child(2) { animation-delay: .9s; } .rows li:nth-child(3) { animation-delay: 1.1s; } .rows li:nth-child(4) { animation-delay: 1.3s; }
.pill::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--in); margin-inline-end: 7px; animation: live 1.8s ease-out infinite; }
.btn:active { transform: scale(.98); }
.btn::after { content: ""; }
.feature svg { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.feature:hover svg { transform: translateY(-4px) scale(1.08); }
.eyebrow i { animation: live 2.2s ease-out infinite; }
.ticker { overflow: hidden; border-top: 1px solid var(--line); padding: 18px 0; direction: ltr; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: tick 40s linear infinite; }
.ticker span { white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; font: 600 16px/1 var(--font-display); color: var(--muted); }
.ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--out); }
.ticker:hover .ticker-track { animation-play-state: paused; }
.cta .box { background-size: 220% 220%; animation: shift 14s ease-in-out infinite alternate; }
.steps li::before { transition: -webkit-text-stroke-color .8s ease; }
.steps li.in::before { -webkit-text-stroke-color: var(--in); }
.compare .with li { transition: opacity .5s ease, transform .5s ease; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--in), var(--out)); transform-origin: left center; transform: scaleX(0); }
html[dir="rtl"] .progress i { transform-origin: right center; }
.rv-on .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.rv-on .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv-on .rv { opacity: 1; transform: none; }
}
