@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/inter-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/tajawal-400.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/tajawal-500.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/tajawal-700.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/tajawal-800.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}


:root {
  color-scheme: light;
  --page: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #edf4fb;
  --ink: #101c33;
  --muted: #53647a;
  --line: #dbe4ee;
  --accent: #10619f;
  --blue: #4ba4db;
  --hero-blue: #8ad0fa;
  --navy: #091427;
  --dark-line: #2a3a53;
  --on-dark: #f5f8fd;
  --quiet-dark: #b0c1d8;
  --shadow: 0 14px 36px #173c6514;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: min(1180px, calc(100% - 80px));
  --mast-bg: #f6faff;
  --mast-text: #101e34;
  --mast-muted: #52647b;
  --mast-accent: #10619f;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --mast-bg: #0b1424;
  --mast-text: #f2f6fd;
  --mast-muted: #aab8cc;
  --mast-accent: #8dccff;
  --page: #0d1728;
  --surface: #121f33;
  --surface-alt: #172a43;
  --ink: #f1f6fd;
  --muted: #adbed4;
  --line: #283c55;
  --accent: #99d6ff;
  --shadow: 0 14px 36px #0003;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, Roboto, Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.58;
  transition: color .28s ease, background-color .28s ease;
}
body:has(.mobile-dialog[open]) { overflow: hidden; }
section[id] { scroll-margin-top: 88px; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 15px; color: var(--ink); background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); white-space: nowrap; overflow: hidden; }

.header {
  position: sticky;
  top: -33px;
  z-index: 10;
  color: var(--mast-text);
  background: var(--mast-bg);
}
.utility-inner { min-height: 33px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 11px; font-weight: 700; }
.utility-inner > a { color: var(--mast-accent); border-inline-end: 1px solid var(--mast-muted); padding-inline-end: 12px; line-height: 1; }
.utility-inner > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.utility-inner .theme-toggle { width: 24px; height: 26px; border: 0; border-radius: 5px; }
.utility-inner .theme-toggle .icon { width: 15px; height: 15px; }
.utility-inner .theme-toggle:hover, .nav-actions .menu-toggle:hover { color: var(--mast-accent); background: var(--surface-alt); }
.nav-inner, .nav-actions, .desktop-nav { display: flex; align-items: center; }
.nav-inner { min-height: 53px; gap: clamp(14px, 2.8vw, 36px); }
.brand { display: grid; align-items: center; align-self: center; width: 154px; height: 47px; overflow: hidden; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; max-width: none; margin-top: -20px; mix-blend-mode: screen; }
.desktop-nav { margin-inline-end: auto; gap: clamp(12px, 1.8vw, 26px); white-space: nowrap; font-size: 13px; font-weight: 700; }
.desktop-nav > a, .nav-group summary { color: var(--mast-text); }
.desktop-nav > a:hover, .nav-group summary:hover, .nav-group[open] summary { color: var(--mast-accent); }
.nav-group { position: relative; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.nav-group summary { display: flex; align-items: center; gap: 5px; min-height: 42px; }
.nav-group summary .icon { width: 13px; height: 13px; transition: transform .24s var(--ease); }
details[open] > summary .icon { transform: rotate(180deg); }
.nav-popup { position: absolute; top: calc(100% + 10px); inset-inline-start: -12px; min-width: 200px; display: grid; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.nav-group[open] .nav-popup { animation: appear .24s var(--ease) both; }
.nav-popup a { padding: 9px 11px; border-radius: 6px; }
.nav-popup a:hover { background: var(--surface-alt); color: var(--accent); }
.nav-actions { gap: 14px; white-space: nowrap; font-size: 13px; font-weight: 750; }
.login-link:hover { color: var(--mast-accent); }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--dark-line); border-radius: 8px; background: transparent; color: inherit; transition: background-color .22s ease, border-color .22s ease, color .22s ease; }
.icon-button:hover { color: #d7efff; background: #20314b; border-color: #5d799d; }
.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle .icon { position: absolute; width: 18px; height: 18px; transition: opacity .23s ease, transform .32s var(--ease); }
.dark-icon, [data-theme="dark"] .light-icon { opacity: 0; transform: rotate(-35deg) scale(.7); }
[data-theme="dark"] .dark-icon { opacity: 1; transform: none; }
.menu-toggle { display: none; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 49px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 800; line-height: 1.35; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button .icon { width: 17px; height: 17px; }
.button-primary { color: #081727; background: #82c9f4; border-color: #82c9f4; }
.button-primary:hover { background: #addfff; border-color: #addfff; box-shadow: 0 8px 24px #52b9f440; }
.button-outline { color: var(--accent); border-color: var(--line); background: var(--surface); }
.button-outline:hover { background: var(--surface-alt); border-color: var(--blue); }
.button-inverse { color: var(--on-dark); border-color: #63778f; background: #0c172944; }
.button-inverse:hover { border-color: var(--hero-blue); background: #263e5b; }
.nav-cta { min-height: 34px; padding-inline: 12px; border-radius: 6px; color: #fff; background: #165f9a; border-color: #165f9a; font-size: 12px; }
.nav-cta:hover { background: #0e4f83; border-color: #0e4f83; }
[data-theme="dark"] .nav-cta { color: #101e34; background: #f4f7fd; border-color: #f4f7fd; }
[data-theme="dark"] .nav-cta:hover { background: #dbeaff; border-color: #dbeaff; }
[data-theme="light"] .nav-inner .brand img {
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: multiply;
}

.mobile-dialog { position: fixed; inset-block: 0; inset-inline: auto 0; width: min(370px, calc(100% - 24px)); max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; overflow: auto; color: var(--on-dark); border: 0; border-inline-start: 1px solid var(--dark-line); background: var(--navy); }
.mobile-dialog::backdrop { background: #020918a8; }
.mobile-dialog[open] { animation: drawer-in .32s var(--ease) both; }
.mobile-dialog[open]::backdrop { animation: backdrop-in .3s ease both; }
.mobile-dialog[open].closing { animation: drawer-out .24s ease both; }
.mobile-dialog[open].closing::backdrop { animation: backdrop-out .24s ease both; }
.drawer { display: flex; flex-direction: column; min-height: 100%; padding: 18px 22px 27px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--dark-line); }
.mobile-nav { display: grid; }
.mobile-nav > *, .mobile-nav summary { display: block; }
.mobile-nav > * { border-bottom: 1px solid var(--dark-line); }
.mobile-nav > a, .mobile-nav summary { display: flex; align-items: center; justify-content: space-between; min-height: 55px; gap: 12px; font-weight: 750; }
.mobile-nav .icon { width: 16px; height: 16px; color: var(--hero-blue); transition: transform .24s var(--ease); }
.mobile-nav details > a { display: block; min-height: 42px; padding: 9px 14px; color: var(--quiet-dark); }
.mobile-nav a:hover, .mobile-nav summary:hover { color: var(--hero-blue); }
.drawer-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 27px; }
@keyframes drawer-in { from { transform: translateX(102%); } to { transform: translateX(0); } }
@keyframes drawer-out { from { transform: translateX(0); } to { transform: translateX(102%); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { from { opacity: 1; } to { opacity: 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 11px; font-weight: 800; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 16px; height: 2px; color: inherit; background: currentColor; border-radius: 2px; }
.platform-panel .eyebrow, .start-panel .eyebrow { color: #a1dcff; }
@keyframes appear { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.facts { border-bottom: 1px solid var(--line); background: var(--surface); }
.facts-grid { min-height: 112px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; }
.facts-grid > div { min-width: 0; display: grid; row-gap: 4px; align-content: center; border-inline-start: 1px solid var(--line); padding: 10px 26px; }
.facts-grid > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.facts-grid strong { color: var(--ink); font-size: clamp(22px, 3vw, 37px); letter-spacing: -.05em; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.facts-grid strong small { font-size: .57em; letter-spacing: -.025em; }
.facts-grid span, .facts-note { color: var(--muted); font-weight: 650; }
.facts-grid span { font-size: 13px; }
.facts-note { margin-top: -6px; padding-bottom: 16px; font-size: 11px; }
.facts-note a, .account-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.section { padding: 72px 0; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(230px, 375px); align-items: end; gap: 28px; margin-bottom: 26px; }
h2 { margin-top: 10px; font-size: clamp(29px, 4.05vw, 52px); font-weight: 800; letter-spacing: -.065em; line-height: 1.08; }
.section-heading > p, .account-note { color: var(--muted); font-size: 14px; font-weight: 600; }
.markets-section { background: var(--page); }
.market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.market-card { display: flex; align-items: center; gap: 11px; min-height: 91px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: transform .25s var(--ease), background-color .26s ease, border-color .26s ease, box-shadow .26s ease; }
.market-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.market-icon { display: inline-grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 9px; background: var(--surface-alt); color: var(--accent); }
.market-meta { display: grid; gap: 3px; min-width: 0; }
.market-meta strong { font-size: 14px; line-height: 1.24; }
.market-meta small { color: var(--muted); font-size: 10.5px; font-weight: 650; line-height: 1.4; }
.card-arrow { margin-inline-start: auto; align-self: flex-start; width: 15px; height: 15px; color: var(--accent); }
.market-all { background: var(--surface-alt); }
.market-all .market-icon { background: var(--surface); }

.platform-section { padding-block: 6px 36px; }
.platform-panel { position: relative; min-height: 384px; display: grid; grid-template-columns: .95fr 1.05fr; isolation: isolate; overflow: hidden; border-radius: 19px; background: #10203a; color: var(--on-dark); }
.platform-copy { position: relative; z-index: 1; padding: 45px clamp(23px, 4vw, 56px); align-self: center; }
.platform-copy h2 { margin-bottom: 20px; }
.platform-image { height: 100%; width: 100%; object-fit: cover; object-position: center; }
.platform-panel::after { content: ""; position: absolute; z-index: 0; inset: 0 36% 0 42%; background: linear-gradient(90deg, #10203a, transparent); pointer-events: none; }
.platform-tabs { display: inline-flex; gap: 4px; padding: 3px; margin-bottom: 16px; border: 1px solid #435976; border-radius: 9px; background: #08132455; }
.platform-tabs button { min-height: 39px; padding: 6px 10px; white-space: nowrap; color: #c9daee; border: 0; border-radius: 6px; background: transparent; font-size: 12px; font-weight: 800; transition: background-color .2s ease, color .2s ease; }
.platform-tabs button:hover, .platform-tabs button[aria-selected="true"] { color: #09223a; background: #b6dfff; }
[role="tabpanel"] p { max-width: 350px; margin-bottom: 18px; color: #c9daee; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.platform-panel .text-link, .start-panel .text-link { color: #a7dcff; }

.accounts-section { padding-top: 46px; }
.account-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.account-card { display: flex; flex-direction: column; padding: 22px 17px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.account-card.featured { border-color: #61b5e9; box-shadow: inset 0 3px #61b5e9, var(--shadow); }
.account-card h3, .feature-grid h3, .start-support h3 { font-size: 19px; font-weight: 800; letter-spacing: -.035em; }
.account-card > p { min-height: 45px; margin-top: 5px; color: var(--muted); font-size: 12px; }
.account-card dl { margin: 12px 0 20px; }
.account-card dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 7px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 12px; }
.account-card dt { color: var(--muted); }
.account-card dd { margin: 0; font-weight: 800; white-space: nowrap; }
.account-card .button { margin-top: auto; min-height: 43px; padding-inline: 8px; font-size: 12px; }
.account-note { margin-top: 13px; font-size: 11px; }

.tools-section { border-block: 1px solid var(--line); background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.feature-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: var(--page); }
.feature-grid h3, .start-support h3 { margin-top: 13px; }
.feature-grid p { margin: 5px 0 16px; color: var(--muted); font-size: 13px; }

.start-section { padding-block: 66px; }
.start-panel { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 28px; padding: clamp(24px, 4vw, 51px); border-radius: 16px; color: var(--on-dark); background: radial-gradient(ellipse at 86% 25%, #22456c, transparent 70%), #101f37; }
.start-panel p:not(.eyebrow) { margin-top: 11px; color: #cad9eb; font-size: 14px; }
.start-panel .button-row { margin-top: 23px; }
.start-support { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-inline-start: 28px; border-inline-start: 1px solid #526884; }
.start-support .market-icon { background: #263f60; color: #a7dcff; }
.start-support .text-link { margin-top: 14px; }

.footer { padding: 43px 0 25px; background: #091427; color: var(--quiet-dark); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 22px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer .brand { align-self: flex-start; }
.footer-brand p { max-width: 245px; }
.footer-grid h2 { margin: 0 0 5px; color: var(--on-dark); font-size: 14px; font-weight: 800; letter-spacing: 0; }
.footer a:hover { color: #d5efff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: grid; gap: 8px; border-block: 1px solid #29384e; margin-top: 30px; padding-block: 18px; font-size: 11px; line-height: 1.55; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 15px; font-size: 11px; font-weight: 700; }

.facts, .facts-grid > div, .facts-grid strong, .facts-grid span, .facts-note, .markets-section, .tools-section, .market-icon, .account-card, .feature-grid article, .section-heading > p, .account-note { transition: background-color .28s ease, border-color .28s ease, color .28s ease; }
.motion-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .64s var(--ease), transform .64s var(--ease); }
.motion-ready .reveal.in-view, .motion-ready .reveal:focus-within { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  :root { --wrap: calc(100% - 48px); }
  .nav-inner { gap: 15px; }
  .desktop-nav { gap: 15px; }
  .nav-actions { gap: 10px; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .desktop-nav, .login-link { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .menu-toggle { display: grid; }
}
@media (max-width: 920px) {
  .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  :root { --wrap: calc(100% - 32px); }
  section[id] { scroll-margin-top: 70px; }
  .nav-cta { display: none; }
  .nav-inner { min-height: 51px; }
  .brand { width: 137px; height: 41px; }
  .brand img { margin-top: -17px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 9px; }
  .facts-grid > div { min-height: 72px; padding-inline: 10px 5px; }
  .facts-grid > div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts-note { margin-top: 0; padding-top: 5px; }
  .section { padding-block: 45px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
  .market-grid { gap: 8px; }
  .market-card { min-height: 78px; padding: 9px 7px; gap: 6px; }
  .market-meta strong { font-size: 12px; }
  .market-meta small { font-size: 9px; }
  .market-icon { width: 29px; height: 29px; flex-basis: 29px; border-radius: 7px; }
  .market-icon .icon { width: 16px; height: 16px; }
  .card-arrow { width: 12px; height: 12px; }
  .platform-section { padding-top: 0; padding-bottom: 16px; }
  .platform-panel { grid-template-columns: 1fr; min-height: 0; border-radius: 15px; }
  .platform-copy { padding: 24px 19px 13px; }
  .platform-image { height: auto; max-height: 240px; aspect-ratio: 16/9; object-position: center 54%; }
  .platform-panel::after { display: none; }
  .account-grid { gap: 8px; }
  .account-card { padding: 14px 9px 9px; }
  .account-card h3 { font-size: 16px; }
  .account-card > p, .account-card dl div { font-size: 10.5px; }
  .account-card .button { font-size: 10px; gap: 3px; }
  .account-card .button .icon { width: 13px; height: 13px; }
  .account-card dl { margin-block: 7px 10px; }
  .feature-grid, .start-panel { grid-template-columns: 1fr; gap: 10px; }
  .feature-grid article { padding: 18px; }
  .start-support { margin-top: 8px; padding: 14px 0 0; border-inline-start: 0; border-top: 1px solid #526884; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 13px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 355px) {
  :root { --wrap: calc(100% - 24px); }
  .market-grid, .account-grid { grid-template-columns: 1fr; }
  .account-card > p { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001s !important; transition-duration: .001s !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}


[dir="rtl"] .platform-panel::after { inset-inline: 42% 36%; background: linear-gradient(270deg, #10203a, transparent); }
.hero {
  --hero-panel: #fff;
  --hero-text: var(--mast-text);
  --hero-muted: var(--mast-muted);
  --hero-accent: var(--mast-accent);
  --hero-line: #d6e3f0;
  color: var(--hero-text);
  background-color: var(--mast-bg);
  border-block-end: 1px solid var(--hero-line);
}
[data-theme="dark"] .hero {
  --hero-panel: #131e30;
  --hero-line: #253650;
}
.hero-intro { position: relative; isolation: isolate; overflow: clip; }
.hero-chart {
  position: absolute;
  z-index: -1;
  left: 50%;
  translate: -50%;
  inset-block-end: -12px;
  width: min(1190px, 112%);
  max-width: none;
  height: auto;
  pointer-events: none;
  opacity: .39;
  mask-image: radial-gradient(ellipse 69% 61% at 52% 54%, #000 50%, transparent 100%);
}
[data-theme="dark"] .hero-chart { opacity: .58; }
.hero-content {
  min-width: 0;
  padding-block: clamp(38px, 6.5vw, 80px) clamp(24px, 4.2vw, 46px);
  text-align: center;
  animation: appear .52s var(--ease) both;
}
.hero-kicker { color: var(--hero-muted); font-size: 12px; font-weight: 750; }
.hero h1 {
  margin-block: 12px 17px;
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 800;
  letter-spacing: -.066em;
  line-height: 1.02;
  text-wrap: balance;
}
.hero h1 em { color: var(--hero-muted); font-style: normal; }
.hero-description {
  max-width: 565px;
  margin-inline: auto;
  color: var(--hero-muted);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  text-wrap: balance;
}
.hero-actions { margin-block-start: 23px; }
.hero-actions .button { min-height: 45px; padding-inline: 19px; }
.hero-actions .button-primary { color: #fff; background: #0866ad; border-color: #0866ad; }
.hero-actions .button-primary:hover { background: #0d75c2; border-color: #0d75c2; }
.hero-terms { margin-block-start: 9px; color: var(--hero-muted); font-size: 11px; }
.hero-terms a { text-decoration: underline; text-underline-offset: 3px; }
.hero-markets { max-width: 720px; margin: clamp(25px, 4.7vw, 51px) auto 0; }
.hero-markets h2 { margin: 0 0 11px; font-size: 13px; font-weight: 750; letter-spacing: normal; }
.hero-market-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.hero-market-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 1px solid var(--hero-line);
  border-radius: 8px;
  color: var(--hero-text);
  background: var(--hero-panel);
  font-size: 13px;
  font-weight: 700;
  transition: border-color .2s ease;
}
.hero-market-links a:hover { border-color: var(--hero-accent); }
.hero-market-links .icon { width: 17px; height: 17px; color: var(--hero-accent); }

.hero-awards { display: grid; grid-template-columns: minmax(138px, 180px) minmax(0, 1fr); gap: 15px; align-items: center; padding-block: 15px 21px; border-block-start: 1px solid var(--hero-line); }
.awards-header h2 { margin: 0 0 7px; font-size: 18px; font-weight: 800; letter-spacing: -.035em; line-height: 1.13; }
.awards-header .text-link { color: var(--hero-accent); }
.award-window {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--hero-line) transparent;
}
.award-window.is-running {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.award-track { display: flex; width: max-content; direction: ltr; }
.award-window.is-running .award-track { animation: award-marquee 42s linear infinite; }
[dir="rtl"] .award-window.is-running .award-track { animation-direction: reverse; }
.award-window:is(:hover, :focus-within) .award-track { animation-play-state: paused; }
@keyframes award-marquee {
  to { transform: translateX(-50%); }
}
.award-list {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  margin: 0;
  padding: 4px 10px 5px 0;
  list-style: none;
}
.award-list li {
  display: grid;
  flex: 0 0 120px;
  grid-template-rows: 55px minmax(25px, auto) auto;
  justify-items: center;
  align-items: center;
  padding: 3px 8px;
  text-align: center;
  color: var(--hero-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
}
.award-list img {
  width: 64px;
  height: 53px;
  object-fit: contain;
  opacity: .68;
  filter: brightness(.72);
}
[data-theme="dark"] .award-list img { opacity: .73; filter: brightness(1.38); }
.award-list li > span { unicode-bidi: plaintext; }
.award-list small { font-size: 9px; font-weight: 600; opacity: .85; }

.locale-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mast-text);
  font-size: 11px;
  font-weight: 700;
}
.locale-toggle .icon { width: 12px; height: 12px; color: var(--mast-accent); }
.locale-toggle [lang="ar"] { font-family: Tajawal, Inter, sans-serif; font-size: 13px; }
.locale-toggle [lang="en"] { font-family: Inter, sans-serif; }
.locale-toggle:hover { color: var(--mast-accent); }

:lang(ar) body { font-family: Tajawal, Inter, Roboto, Tahoma, Arial, sans-serif; font-size: 16px; }
:lang(ar) :is(h1, h2, h3, .eyebrow, .hero-kicker, .facts-grid strong) { letter-spacing: normal; }
:lang(ar) .hero h1 { line-height: 1.16; font-size: clamp(38px, 4.7vw, 68px); }
:lang(ar) .hero-kicker { font-size: 13px; }
:lang(ar) .hero-description { font-size: clamp(16px, 1.6vw, 21px); }
:lang(ar) .award-list li { font-size: 11px; }
:lang(ar) .utility-inner { font-size: 12px; }
:lang(ar) .desktop-nav > :is(a, details), :lang(ar) .nav-actions { font-size: 14px; }
:lang(ar) .facts-grid strong, :lang(ar) .account-card dd { direction: ltr; text-align: right; unicode-bidi: isolate; }
:lang(ar) .button .icon:has(use[href="#arrow"]),
:lang(ar) .text-link .icon:has(use[href="#arrow"]),
:lang(ar) .card-arrow:has(use[href="#arrow"]),
:lang(ar) .mobile-nav .icon:has(use[href="#next"]) { scale: -1 1; }
[dir="rtl"] .mobile-dialog[open] { animation-name: drawer-in-rtl; }
[dir="rtl"] .mobile-dialog[open].closing { animation-name: drawer-out-rtl; }
@keyframes drawer-in-rtl { from { transform: translateX(-102%); } to { transform: translateX(0); } }
@keyframes drawer-out-rtl { from { transform: translateX(0); } to { transform: translateX(-102%); } }

@media (max-width: 920px) {
  .hero h1 { font-size: clamp(36px, 6.2vw, 56px); }
  .hero-awards { grid-template-columns: minmax(115px, 135px) minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .hero-content { padding-block: 35px 23px; }
  .hero-chart { inset-block-end: -4px; width: 690px; }
  .hero h1 { margin-block: 10px 12px; font-size: clamp(38px, 9vw, 54px); }
  :lang(ar) .hero h1 { font-size: clamp(36px, 8.7vw, 51px); }
  .hero-actions { margin-block-start: 17px; }
  .hero-market-links { gap: 6px; }
  .hero-market-links a { min-height: 40px; gap: 4px; font-size: 11px; }
  .hero-market-links .icon { width: 13px; height: 13px; }
  .hero-actions .button { min-height: 44px; padding-inline: 11px; font-size: 12px; }
  .hero-terms { margin-block-start: 11px; font-size: 11px; }
  .hero-awards { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 13px 12px; }
  .awards-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
  .awards-header h2 { margin: 0; font-size: 16px; }
  .awards-header .text-link { font-size: 11px; gap: 4px; }
  .award-list li { flex-basis: 108px; }
}
@media (max-width: 355px) {
  .nav-actions { gap: 6px; }
  .nav-inner .brand { width: 125px; }
  .hero-market-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
