@font-face {
  font-family: OwnInter;
  src: url('/brand/fonts/inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: OwnArabic;
  src: url('/brand/fonts/arabic.ttf') format('truetype');
  font-weight: 100 500;
  font-display: swap;
}
@font-face {
  font-family: OwnArabic;
  src: url('/brand/fonts/arabic-semibold.ttf') format('truetype');
  font-weight: 550 900;
  font-display: swap;
}
:root {
  --navy: #0f172a;
  --blue: #0284c7;
  --action: #036da6;
  --sky: #38bdf8;
  --mist: #f0f9ff;
  --ink: #142638;
  --muted: #506579;
  --edge: #dbe5ec;
  --surface: #fff;
  --shadow: 0 12px 40px rgba(21, 62, 91, 0.065);
  font-family: OwnInter, Inter, 'Segoe UI', Arial, sans-serif;
  color: var(--navy);
  background: #fff;
  font-synthesis: weight;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}
html[dir='rtl'] {
  font-family: OwnArabic, 'Segoe UI', Tahoma, Arial, sans-serif;
}
html[dir='rtl'] h1,
html[dir='rtl'] h2,
html[dir='rtl'] h3,
html[dir='rtl'] .eyebrow,
html[dir='rtl'] .tagline {
  letter-spacing: 0;
}
html[dir='rtl'] :is(.hero-copy h1, .page-heading h1, .detail-heading h1, .onboard h1) {
  line-height: 1.3;
}
html[dir='rtl'] :is(.panel h2, .section-heading h2, .dialog-head h2, .btn, .pill) {
  line-height: 1.42;
}
html[dir='rtl'] :is(input[inputmode='decimal'], input[type='number'], input[type='date'], input[type='email'], input[type='tel']) {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
html[dir='rtl'] :is(.ticket-asset, .instrument-id) small[dir='ltr'] {
  text-align: right;
}
html[dir='rtl'] :is(bdi.positive, bdi.negative, bdi.neutral, bdi.ref, .allocation-key bdi) {
  direction: ltr;
  unicode-bidi: isolate;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
a,
button,
select,
input,
summary {
  touch-action: manipulation;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.43;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #1494d1;
  outline-offset: 3px;
}
main:focus {
  outline: 0;
}
button,
a {
  transition:
    background-color 0.14s,
    color 0.14s,
    border-color 0.14s,
    box-shadow 0.14s;
}
svg {
  display: block;
  flex-shrink: 0;
}
img {
  max-width: 100%;
  display: block;
}
bdi {
  font-variant-numeric: tabular-nums;
}
small,
.meta,
.muted {
  color: var(--muted);
}
small,
.meta {
  font-size: 0.825rem;
  line-height: 1.55;
}
p {
  margin: 0.45rem 0 1rem;
  color: var(--muted);
}
h1,
h2,
h3,
strong,
b {
  color: var(--navy);
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.17;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
}
h2 {
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
}
h3 {
  font-size: 1.1rem;
}
h1 + p,
h2 + p,
h3 + p {
  margin-top: 0.65rem;
}
.ui-icon {
  display: inline-block;
  vertical-align: middle;
}
.container {
  width: min(1312px, calc(100% - clamp(40px, 8.5vw, 144px)));
  margin-inline: auto;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 100;
  background: #fff;
  padding: 8px;
}
.loading {
  display: grid;
  place-items: center;
  min-height: 85vh;
}
.btn,
.icon-btn,
.pill,
.text-link,
.mini,
.toggle,
.round-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.48rem;
  vertical-align: middle;
  border: 0;
  text-decoration: none;
  line-height: 1.2;
  font-weight: 620;
}
.btn {
  min-height: 44px;
  padding: 0.76rem 1.15rem;
  border-radius: 10px;
  font-size: 0.91rem;
  white-space: normal;
  text-align: center;
}
.primary {
  background: var(--action);
  color: #fff;
  border: 1px solid var(--action);
  box-shadow: 0 3px 7px #075d8822;
}
.primary:hover {
  background: #075c8d;
  box-shadow: 0 5px 12px #075d882c;
}
.secondary {
  background: #fff;
  color: #21364b;
  border: 1px solid #cfdde6;
}
.secondary:hover,
.icon-btn:hover,
.mini:hover {
  background: #f1f8fb;
  border-color: #94bdcf;
}
.danger {
  color: #99364a;
  background: #fff4f4;
  border: 1px solid #ebc7ce;
}
.compact {
  min-height: 36px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}
.icon-btn,
.round-action {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  flex-shrink: 0;
  position: relative;
}
.text-link {
  color: #00679b;
  background: none;
  padding: 0.3rem 0.05rem;
  font-size: 0.87rem;
}
.text-link:hover {
  text-decoration: underline;
}
.full {
  width: 100%;
}
.positive,
.screen-pass {
  color: #127752 !important;
}
.negative,
.screen-fail {
  color: #ad3c52 !important;
}
.neutral,
.screen-review {
  color: var(--muted);
}
.grow {
  flex: 1;
}
.center {
  text-align: center;
}
.site-header,
.app-header {
  position: relative;
  background: #fff;
  z-index: 5;
  border-bottom: 1px solid #e5edf2;
}
.header-inner,
.app-header {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  width: 139px;
  height: 35px;
  object-fit: contain;
  object-position: left center;
}
[dir='rtl'] .brand img {
  object-position: right center;
}
.desktop-nav,
.header-end,
.selectors,
.select-caps,
.account-brand {
  display: flex;
  align-items: center;
}
.desktop-nav {
  gap: clamp(16px, 2.15vw, 34px);
  font-size: 0.89rem;
  font-weight: 570;
}
.desktop-nav a {
  color: #40576b;
}
.desktop-nav a.current,
.desktop-nav a:hover {
  color: #037bad;
}
.header-end {
  gap: clamp(10px, 1.45vw, 22px);
}
.selectors {
  gap: 7px;
  border: 1px solid #d5e2e9;
  background: #fff;
  border-radius: 24px;
  padding: 1px 7px;
  color: #30475a;
  flex-shrink: 0;
  direction: ltr;
}
.selector-divider {
  height: 14px;
  width: 1px;
  background: #d6e2e9;
}
.select-caps {
  gap: 2px;
}
.select-caps select {
  height: 33px;
  min-width: 0;
  border: 0;
  background-color: transparent;
  font-weight: 620;
  font-size: 0.77rem;
  padding-inline: 4px 17px;
  background-position: right 3px center;
  border-radius: 7px;
}
.select-caps svg {
  margin-inline-start: 3px;
}
.sign-in {
  font-weight: 620;
  font-size: 0.88rem;
}
.hdr-start {
  min-height: 40px;
  padding: 0.65rem 1rem;
}
.menu-btn,
.mobile-menu,
.bottom-nav {
  display: none;
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: clamp(30px, 5.7vw, 105px);
  padding-block: clamp(40px, 5.2vw, 85px) clamp(40px, 5.2vw, 80px);
}
.hero-copy {
  padding-block: 9px;
}
.tagline,
.eyebrow {
  color: #066d9d;
  font-weight: 690;
  font-size: 0.79rem;
  letter-spacing: 0.075em;
}
.tagline {
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.tagline span {
  width: 34px;
  height: 2px;
  background: #10a5d8;
}
.hero-copy h1 {
  font-size: clamp(3.25rem, 4.55vw, 4.85rem);
  line-height: 1.045;
  font-weight: 640;
  letter-spacing: -0.065em;
  max-width: 650px;
  text-wrap: balance;
}
.hero-copy h1 em {
  font-style: normal;
  color: #0479ad;
}
.hero-copy p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  margin: 23px 0 27px;
  max-width: 560px;
}
.hero-actions,
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-actions .btn {
  min-height: 47px;
  padding-inline: 1.3rem;
}
.product-stage {
  isolation: isolate;
  position: relative;
  height: clamp(375px, 30.6vw, 465px);
  overflow: hidden;
  border: 1px solid #c7e3f0;
  border-radius: 24px;
  background: linear-gradient(148deg, #f3fbfe 3%, #d9f0fa 58%, #b3deee);
  box-shadow: inset 0 1px 0 #fff;
}
.stage-wash {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, #569abb0c 1px, transparent 1px),
    linear-gradient(#569abb0c 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -1;
}
.sculpture {
  position: absolute;
  width: 76%;
  height: 87%;
  inset-inline-end: -12%;
  top: 1%;
  object-fit: contain;
  z-index: -1;
}
.stage-top {
  display: flex;
  gap: 7px;
  align-items: center;
  position: absolute;
  top: 18px;
  inset-inline-start: 22px;
  color: #315f77;
  font-size: 0.75rem;
  font-weight: 620;
}
.stage-top span {
  width: 7px;
  height: 7px;
  background: #2689b4;
  border-radius: 50%;
}
.preview-account,
.preview-quote {
  position: absolute;
  background: #fffffffa;
  border: 1px solid #d5e4ec;
  border-radius: 15px;
  box-shadow: 0 12px 25px #2457721c;
  padding: 17px 20px;
}
.preview-account {
  width: 51%;
  inset-inline-start: 5.6%;
  top: 18%;
  transform: rotate(-2deg);
  z-index: 1;
}
.preview-head,
.preview-cash,
.preview-cash span,
.preview-quote-head,
.preview-quote-body {
  display: flex;
  align-items: center;
}
.preview-head {
  gap: 7px;
}
.preview-head b {
  font-size: 0.79rem;
  letter-spacing: -0.015em;
}
.preview-label {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 18px;
}
.preview-value {
  font-size: clamp(1.65rem, 2.17vw, 2.25rem);
  letter-spacing: -0.065em;
  line-height: 1.28;
  display: block;
  white-space: nowrap;
}
.preview-cash {
  margin-top: 14px;
  justify-content: space-between;
  gap: 4px;
  border-top: 1px solid #e7edf0;
  padding-top: 9px;
  font-size: 0.68rem;
  color: #405a6d;
}
.preview-cash span {
  gap: 4px;
}
.preview-cash bdi {
  font-weight: 650;
}
.preview-link {
  display: inline-block;
  color: #006c9f;
  font-size: 0.72rem;
  font-weight: 660;
  margin-top: 5px;
}
.preview-quote {
  width: 57%;
  inset-inline-end: 5.4%;
  bottom: 7%;
  transform: rotate(2deg);
  z-index: 2;
  text-align: start;
  padding: 15px 16px 11px;
}
.preview-quote-head,
.preview-quote-body {
  justify-content: space-between;
  gap: 8px;
}
.preview-quote-head .instrument-id {
  gap: 8px;
}
.preview-quote-head .instrument-id strong {
  font-size: 0.9rem;
}
.preview-quote-head .instrument-id small {
  font-size: 0.66rem;
}
.preview-quote-head .instrument-logo {
  width: 34px;
  height: 34px;
}
.round-action {
  height: 28px;
  width: 28px;
  background: #edf7fb;
  color: #1679a3;
}
.preview-quote-body {
  margin-block: 11px;
}
.preview-quote-body strong {
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}
.preview-quote-body small {
  display: block;
  font-size: 0.675rem;
}
.preview-spark {
  width: 45%;
  height: 32px;
}
.spot-tabs {
  display: flex;
  gap: 2px;
  padding-top: 7px;
  border-top: 1px solid #e5edf1;
  direction: ltr;
}
.spot {
  font-size: 0.65rem;
  font-weight: 600;
  border: 0;
  color: #4a6171;
  flex: 1;
  background: none;
  padding: 5px 1px;
  border-radius: 4px;
}
.spot.active {
  color: #00689e;
  background: #e4f4fb;
}
.home-brands {
  background: #f7fbfd;
  border-block: 1px solid #e1ebf1;
}
.brand-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  min-height: 74px;
  align-items: center;
  gap: 12px;
}
.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-inline-end: 1px solid #dce7ed;
}
.brand-link:last-child {
  border-inline-end: 0;
}
.brand-link strong {
  font-size: 1.03rem;
  letter-spacing: -0.04em;
  color: #33495d;
  font-weight: 650;
}
.brand-link:nth-child(2) strong,
.brand-link:nth-child(6) strong {
  letter-spacing: 0.025em;
}
.home-section {
  padding-block: clamp(40px, 4.2vw, 68px);
}
.section-heading,
.between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
}
.section-heading {
  margin-bottom: 22px;
}
.section-heading h2,
.faq h2,
.home-stories h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.65rem);
  font-weight: 630;
  letter-spacing: -0.055em;
}
.section-heading .eyebrow {
  margin-bottom: 6px;
}
.home-section .instrument-table {
  margin-top: 16px;
}
.journey-section {
  background: #edf7fc;
  border-block: 1px solid #d7e9f2;
}
.journey-grid,
.home-stories {
  display: grid;
  gap: 24px;
}
.journey-grid {
  grid-template-columns: repeat(3, 1fr);
}
.journey-grid article {
  border-inline-start: 1px solid #bed8e6;
  padding-inline-start: 24px;
}
.journey-icon,
.feature-icon,
.row-icon,
.empty-symbol {
  display: inline-grid;
  place-items: center;
  color: #0a729f;
  background: #e9f5fb;
  border-radius: 13px;
  width: 47px;
  height: 47px;
}
.journey-icon {
  border: 1px solid #c1dfec;
  background: #fff;
}
.journey-grid h3,
.story-box h2 {
  margin-block: 14px 8px;
}
.journey-grid p,
.story-box p {
  margin: 0;
  max-width: 43ch;
}
.home-stories {
  grid-template-columns: 1fr 1fr;
  padding-bottom: 16px;
}
.story-box {
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.story-box .text-link {
  margin-top: 14px;
}
.faq {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
}
.faq details {
  border-bottom: 1px solid var(--edge);
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: #29435b;
}
.faq summary {
  padding: 15px 0;
}
.site-footer {
  border-top: 1px solid var(--edge);
  padding: 30px 0;
  background: #f8fbfd;
}
.site-footer > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer .brand img {
  width: 112px;
}
.site-footer small {
  display: block;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
}
.app-header {
  padding: 0 clamp(18px, 3vw, 52px);
  min-height: 68px;
}
.account-brand {
  gap: 20px;
}
.account-brand > span {
  border-inline-start: 1px solid var(--edge);
  padding-inline-start: 19px;
  font-size: 0.87rem;
  color: var(--muted);
}
.app-header .brand img {
  width: 120px;
}
.search-trigger {
  border: 1px solid var(--edge);
  background: #f6f9fb;
  border-radius: 9px;
  height: 37px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: #506678;
  font-size: 0.85rem;
}
.badge-btn b {
  position: absolute;
  inset-inline-end: -3px;
  top: -1px;
  min-width: 15px;
  padding: 1px 3px;
  line-height: 1.3;
  border-radius: 10px;
  background: #0877a9;
  color: white;
  font-size: 0.63rem;
}
.profile-btn {
  background: #eaf6fc;
  border-radius: 50%;
  color: #176588;
}
.account-shell {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
  background: #f5f9fc;
}
.sidebar {
  background: #fff;
  border-inline-end: 1px solid var(--edge);
  padding: 24px 13px;
  display: flex;
  flex-direction: column;
  gap: 38px;
}
.sidebar nav {
  display: grid;
  gap: 4px;
  align-content: start;
}
.side-link,
.side-home {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  padding: 8px 13px;
  border-radius: 9px;
  color: #42586d;
  font-size: 0.87rem;
  font-weight: 550;
}
.side-link.selected,
.side-link:hover {
  background: #e5f4fc;
  color: #066c9d;
}
.side-link.selected {
  font-weight: 700;
}
.side-home {
  border-top: 1px solid var(--edge);
  border-radius: 0;
  color: var(--muted);
}
.workspace {
  padding: clamp(22px, 3vw, 49px);
  min-width: 0;
  width: 100%;
  max-width: 1660px;
  margin: 0 auto;
}
.workspace main {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 4px;
}
.page-heading h1,
.detail-heading h1,
.onboard h1 {
  font-size: clamp(1.95rem, 2.8vw, 3.15rem);
  font-weight: 650;
  letter-spacing: -0.055em;
}
.page-heading p {
  margin: 0.4rem 0 0;
  max-width: 72ch;
  font-size: 0.99rem;
}
.panel,
.stat-band,
.asset-card,
.instrument-table,
.wallet-hero {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 16px;
  min-width: 0;
}
.panel {
  padding: clamp(17px, 1.9vw, 28px);
}
.panel h2 {
  font-weight: 650;
}
.panel h3 {
  margin-block: 18px 6px;
}
.panel > h2:first-child {
  margin-bottom: 15px;
}
.panel .between h2 {
  margin: 0;
}
.panel .instrument-table {
  border: 0;
}
.panel .instrument-row {
  padding-inline: 0;
}
.split,
.detail-grid,
.overview-top,
.stat-grid,
.stat-band,
.holding-nums,
.split-tight {
  display: grid;
  gap: 18px;
}
.split,
.overview-top,
.split-tight,
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wide {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}
.detail-grid {
  grid-template-columns: minmax(0, 1.9fr) minmax(220px, 1fr);
}
.stat-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 19px 23px;
  gap: 14px;
}
.stat-band.two,
.stat-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat-band.four,
.holding-nums {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-width: 0;
}
.stat > span {
  color: var(--muted);
  font-size: 0.82rem;
}
.stat > strong {
  display: block;
  margin-block: 4px 0;
  font-size: clamp(1.05rem, 1.55vw, 1.55rem);
  font-weight: 630;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.stat bdi {
  white-space: normal;
}
.balance-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 17px;
  background: #12394c;
  color: #e4f7ff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  padding: 26px 30px;
}
.balance-card > strong,
.wallet-hero > div > strong {
  font-size: clamp(2.3rem, 3.5vw, 3.8rem);
  letter-spacing: -0.06em;
}
.balance-card > strong {
  color: #fff;
}
.balance-card > div,
.balance-card > span {
  font-size: 0.9rem;
}
.balance-card > div bdi {
  font-weight: 650;
  color: #fff;
}
.balance-mark {
  width: 90%;
  max-width: 300px;
  position: absolute;
  inset-inline-end: -145px;
  bottom: 0;
  opacity: 0.11;
  z-index: -1;
}
.wallet-hero {
  background: #e9f6fc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}
.wallet-hero > div:first-child,
.currency-card > div:last-child {
  display: flex;
  flex-direction: column;
}
.wallet-hero > div > span {
  font-size: 0.91rem;
  color: #375c73;
}
.wallet-actions,
.filter-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.currency-card {
  display: flex;
  align-items: center;
  gap: 15px;
}
.currency-card strong {
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}
.ccy-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #e9f2fa;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  color: #23547c;
}
.ccy-symbol.AED {
  background: #e4f5ee;
  color: #286449;
}
.allocation {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.donut {
  width: 118px;
  height: 118px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.donut > div {
  width: 85px;
  height: 85px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  align-content: center;
  justify-items: center;
}
.donut strong {
  font-size: 1.5rem;
}
.allocation-key {
  flex: 1;
  min-width: 98px;
}
.allocation-key summary,
.legend {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}
.allocation-key summary {
  list-style: none;
  justify-content: space-between;
  padding-block: 4px;
}
.allocation-key i,
.legend i {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
}
.allocation-key details > bdi {
  color: var(--muted);
  font-size: 0.8rem;
}
.allocation-key p {
  font-size: 0.9rem;
}
.filters,
.stack {
  display: grid;
  gap: 15px;
}
.field {
  display: grid;
  gap: 5px;
  color: #394f63;
  font-size: 0.84rem;
  font-weight: 570;
  min-width: 0;
}
.filter-row .field {
  flex: 1 1 125px;
}
select,
input:not([type='checkbox']):not([type='range']) {
  border: 1px solid #cbdbe5;
  background-color: white;
  border-radius: 8px;
  color: #243d50;
  min-height: 39px;
  min-width: 0;
  padding: 7px 10px;
  font-size: 0.9rem;
}
select {
  appearance: none;
  padding-inline-end: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23536778' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
html[dir='rtl'] select {
  background-position: left 10px center;
}
html[dir='rtl'] .selectors {
  direction: rtl;
}
html[dir='rtl'] .selectors .select-caps select {
  background-position: left 3px center;
  padding: 4px 3px 4px 18px;
  direction: ltr;
}
.selectors .select-caps select {
  border: 0;
  min-height: 32px;
  background-color: transparent;
  font-size: 0.77rem;
  padding: 4px 18px 4px 3px;
}
.field input,
.field select {
  width: 100%;
}
.check-field,
.choice,
.drip-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
}
.check-field {
  min-height: 39px;
}
.check-field input,
.choice input {
  width: 18px;
  height: 18px;
  accent-color: #0879b1;
}
input[type='range'] {
  accent-color: #047ab1;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cadae4;
  background: white;
  border-radius: 10px;
  color: #587081;
  padding: 0 12px;
  min-width: 0;
}
.search-box:focus-within {
  outline: 2px solid #68b9dd;
}
.search-box input:not([type='checkbox']):not([type='range']) {
  border: 0;
  background: transparent;
  outline: none;
  flex: 1;
  width: 100%;
  min-height: 43px;
  padding-inline: 0;
}
.pills,
.segmented,
.chart-tools,
.wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pill {
  border-radius: 20px;
  background: #f5f8fa;
  color: #486174;
  border: 1px solid #dce5ea;
  padding: 8px 14px;
  font-size: 0.83rem;
  min-height: 35px;
  font-weight: 580;
}
.pill.selected,
.mini.active,
.pill:hover {
  background: #e2f3fc;
  border-color: #9fd1e6;
  color: #086891;
}
.small-pills .pill {
  min-height: 29px;
  padding: 4px 9px;
  font-size: 0.76rem;
}
.segmented {
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 2px;
  gap: 1px;
  background: #f8fafb;
}
.mini {
  width: 34px;
  height: 32px;
  background: none;
  border-radius: 6px;
}
.results-bar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(204px, 1fr));
  gap: 13px;
}
.asset-card {
  padding: 17px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px #31577506;
}
.asset-card:hover {
  border-color: #b4d3e0;
  box-shadow: 0 6px 22px #2357710b;
}
.asset-name {
  display: block;
  margin: 13px 0 7px;
  flex: 1;
}
.asset-name h3 {
  line-height: 1.32;
  margin-top: 1px;
  font-size: 1rem;
}
.ticker {
  font-size: 0.72rem;
  font-weight: 630;
  letter-spacing: 0.04em;
}
.asset-quote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.asset-quote > strong {
  font-size: 1.01rem;
}
.asset-quote > bdi {
  font-size: 0.8rem;
}
.spark-area {
  height: 31px;
  margin-block: 8px;
}
.spark {
  width: 100%;
  height: 100%;
  min-height: 18px;
}
.asset-bottom {
  border-top: 1px solid #e4edf2;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.asset-bottom small {
  font-size: 0.73rem;
}
.asset-bottom a {
  font-size: 0.75rem;
}
.instrument-id,
.simple-quote,
.instrument-row,
.tx-row,
.notice,
.search-hit,
.ticket-asset {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.instrument-id span:not(.instrument-logo):not(.wordmark):not(.flags) {
  min-width: 0;
}
.instrument-id small,
.instrument-id strong,
.table-price small,
.table-price strong,
.rvalue small,
.tx-main small,
.notice small,
.ticket-asset small {
  display: block;
}
.instrument-id strong {
  line-height: 1.3;
  font-size: 0.93rem;
}
.instrument-id small {
  font-size: 0.73rem;
}
.instrument-logo {
  container-type: inline-size;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f7f9fb;
  border: 1px solid #e3eaf0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  color: #224968;
}
.instrument-logo > img,
.instrument-logo > svg {
  width: 60%;
  height: 60%;
  object-fit: contain;
}
.instrument-logo.big {
  width: 62px;
  height: 62px;
  border-radius: 17px;
}
.instrument-logo.strip-logo {
  border: 0;
  background: transparent;
  width: 31px;
  height: 31px;
  border-radius: 3px;
}
.strip-logo > img,
.strip-logo > svg {
  width: 83%;
  height: 83%;
}
.strip-logo .wordmark {
  font-size: 0.55rem;
}
.wordmark {
  font-family: Georgia, serif;
  letter-spacing: -0.04em;
  font-size: min(0.67rem, 24cqw);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.wm-EMAAR,
.wm-EMAARDEV {
  color: #505c65;
  letter-spacing: 0.025em;
  font-weight: 550;
}
.wm-SALIK,
.wm-DIB,
.wm-DEWA {
  color: #147653;
}
.wm-EMIRATESNBD,
.wm-ADNOCGAS,
.wm-ADNOCDRILL,
.wm-ADNOCDIST {
  color: #195999;
}
.monogram {
  font-weight: 750;
  letter-spacing: -0.04em;
  font-size: 0.77rem;
}
.flags {
  position: relative;
  width: 33px;
  height: 27px;
  display: block;
  direction: ltr;
}
.currency-flag {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d4dee4;
}
.currency-flag + svg {
  top: 7px;
  left: 12px;
}
.star {
  width: 33px;
  height: 33px;
  color: #718395;
}
.star.on {
  color: #0878aa;
}
.star.on svg {
  fill: #dbf1fb;
}
.instrument-table {
  width: 100%;
  overflow: hidden;
}
.instrument-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.6fr) minmax(105px, 0.85fr) minmax(72px, 0.6fr) minmax(
      68px,
      0.8fr
    ) 34px;
  padding: 12px 19px;
  border-top: 1px solid #e8eff3;
  gap: 12px;
}
.row-head {
  background: #f7fafc;
  color: #5d7181;
  font-size: 0.75rem;
  font-weight: 600;
  border-top: 0;
  padding-block: 9px;
}
.table-price strong {
  font-weight: 600;
  font-size: 0.9rem;
}
.table-price small {
  font-size: 0.71rem;
}
.table-spark {
  display: inline-block;
  width: min(120px, 100%);
  height: 28px;
}
.instrument-row > bdi,
.instrument-row > span bdi {
  font-size: 0.85rem;
}
.empty,
.chart-missing {
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  min-height: 120px;
}
.empty p,
.chart-missing p {
  max-width: 44ch;
  margin: 0;
  font-size: 0.92rem;
}
.empty-symbol {
  width: 44px;
  height: 44px;
}
.simple-quote,
.search-hit,
.tx-row,
.notice {
  justify-content: space-between;
  padding: 12px 0;
  border-block-end: 1px solid #e8eef2;
}
.simple-quote:last-child,
.tx-row:last-child,
.notice:last-child {
  border-bottom: 0;
}
.tx-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e8eef2;
  background: white;
  text-align: start;
}
.tx-row:hover {
  background: #f5fbfe;
}
.tx-main,
.notice > div {
  flex: 1;
  min-width: 0;
}
.tx-main strong {
  font-size: 0.9rem;
}
.rvalue {
  text-align: end;
}
.row-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.rvalue strong {
  font-size: 0.99rem;
}
.holding,
.div-record {
  padding-block: 16px;
  border-bottom: 1px solid #e2ebf0;
}
.holding:last-child,
.div-record:last-child {
  border: 0;
}
.holding-nums {
  gap: 12px;
  margin-block: 14px;
}
.holding-nums .stat > strong {
  font-size: 0.99rem;
}
.holding-nums .stat > span {
  font-size: 0.77rem;
}
.holding .inline-actions {
  margin-top: 10px;
}
.toggle {
  border: 1px solid #cbd8df;
  background: #f4f7f9;
  border-radius: 20px;
  color: #526372;
  font-size: 0.79rem;
  padding: 6px 13px;
  min-width: 48px;
  min-height: 32px;
}
.toggle.on {
  background: #dff3fb;
  color: #006b99;
  border-color: #99ccdf;
}
.kv,
.kv-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid #e4edf2;
  padding: 10px 0;
  font-size: 0.88rem;
}
.kv > span,
.kv-list dt {
  color: var(--muted);
}
.kv strong,
.kv-list dd {
  text-align: end;
  margin: 0;
  font-weight: 600;
}
.kv-list {
  margin: 0 0 12px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.85rem;
}
.breadcrumbs a,
.source-line a,
.provider a {
  color: #046a99;
  text-decoration: underline;
}
.detail-heading,
.quote-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.detail-heading h1 {
  margin-top: 4px;
}
.quote-hero {
  font-size: clamp(1.75rem, 2.8vw, 2.8rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  display: block;
}
.quote-panel > .between > div:last-child {
  text-align: end;
}
.quote-panel small {
  display: block;
}
.chart-tools {
  justify-content: space-between;
  margin-block: 18px 10px;
}
.chart {
  width: 100%;
  margin: 12px 0;
  color: #4e677a;
}
.chart-caption,
.chart-x {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
  color: #576d7d;
}
.chart-caption {
  min-height: 24px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.chart-caption output {
  font-weight: 640;
  color: #24485c;
}
.chart-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 9px;
}
.chart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.67rem;
  min-width: 38px;
  text-align: end;
}
.chart-body svg {
  width: 100%;
  height: clamp(142px, 15vw, 217px);
  overflow: visible;
  touch-action: pan-y;
}
.chart-body .cross {
  stroke: #598ca4;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.chart-body .dot {
  fill: #027bb5;
  stroke: #fff;
  stroke-width: 1.6;
}
.chart-x {
  grid-column: 2;
  font-size: 0.7rem;
}
.chart-x span:only-child {
  margin-inline: auto;
}
.chart-caption output bdi {
  white-space: nowrap;
}
.legend {
  justify-content: center;
  margin-top: 8px;
}
.legend i {
  background: #0284c7;
}
.legend i.alt {
  background: #75869a;
}
.chart-data {
  margin-top: 12px;
  font-size: 0.8rem;
}
.chart-data > div {
  max-height: 180px;
  overflow: auto;
}
.chart-data p {
  display: flex;
  justify-content: space-between;
  margin: 2px 0;
}
.source-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.78rem;
  color: #506575;
  line-height: 1.5;
  margin: 16px 0 4px;
}
.source-line .ui-icon {
  margin-top: 2px;
}
.provider,
.disclosure {
  margin-top: 12px;
  font-size: 0.87rem;
}
.provider-frame iframe {
  width: 100%;
  height: 335px;
  border: 0;
  margin-top: 10px;
}
.trade-side h2 {
  margin: 16px 0 7px;
}
.trade-side .stack {
  margin-top: 17px;
  gap: 8px;
}
.related {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.notice.unread {
  background: #f4faff;
}
.calc-grid {
  grid-template-columns: minmax(225px, 0.8fr) minmax(0, 1.45fr);
}
.calc-field {
  display: grid;
  grid-template-columns: 1fr 100px;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
}
.calc-field input.range {
  grid-column: 1/-1;
  width: 100%;
}
.calc-value small,
.calc-value strong {
  display: block;
}
.calc-value strong {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.25;
  letter-spacing: -0.055em;
}
.calc-output .stat-band {
  border: 0;
  background: #f2f8fc;
  margin-block: 17px;
}
.account-footer {
  color: #5c7282;
  font-size: 0.78rem;
  margin-block: 26px 0;
}
.onboard {
  width: min(490px, calc(100% - 32px));
  margin: 45px auto 62px;
  padding: 28px 32px;
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.onboard-mark {
  width: 48px;
  margin-bottom: 18px;
}
.step-line {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.step-line i {
  height: 3px;
  flex: 1;
  background: #deebf1;
  border-radius: 9px;
}
.step-line .done {
  background: #1293c8;
}
.onboard > p {
  margin: 14px 0 21px;
}
.skip-setup {
  display: block;
  text-align: center;
  color: #146c95;
  margin-top: 14px;
  font-size: 0.88rem;
}
dialog {
  color: var(--navy);
  background: #fff;
  border: 1px solid #d2e3ed;
  border-radius: 19px;
  padding: 0;
  width: min(478px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  box-shadow: 0 20px 90px #12374940;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #17314764;
  backdrop-filter: blur(3px);
}
.dialog-inner {
  padding: 24px;
}
.dialog-head,
.ticket-asset {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}
.dialog-head h2 {
  font-size: 1.34rem;
}
.ticket-asset {
  padding: 10px 0;
  border-bottom: 1px solid var(--edge);
}
.ticket-asset .instrument-logo {
  width: 44px;
  height: 44px;
}
.ticket-asset > div {
  flex: 1;
}
.live-quote {
  background: #f3f9fc;
  padding: 8px 12px;
  border-radius: 11px;
  color: #4a6174;
  font-size: 0.87rem;
}
.live-quote .kv,
.review .kv {
  padding-block: 6px;
}
.live-quote .kv:last-child {
  border: 0;
}
.form-error:empty {
  display: none;
}
.form-error {
  font-size: 0.87rem;
  color: #a32d46;
}
.sim-notice {
  background: #f0f8fb;
  color: #3c637d;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0;
}
.ref {
  font-size: 0.73rem;
  overflow-wrap: anywhere;
}
.success-mark {
  width: 60px;
  height: 60px;
  margin: 16px auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #15835d;
  background: #e5f5ed;
}
.dialog-inner > .stack {
  margin-top: 15px;
}
.choice {
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 9px;
}
.search-results {
  max-height: min(50vh, 380px);
  overflow: auto;
}
.search-hit {
  gap: 8px;
}
.search-hit .instrument-id {
  flex: 1;
}
.search-hit > bdi {
  font-size: 0.82rem;
}
#toast {
  position: fixed;
  z-index: 30;
  inset-inline-start: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: #123448;
  color: #fff;
  border-radius: 11px;
  padding: 8px 16px;
  font-size: 0.88rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  width: max-content;
  max-width: min(36rem, calc(100vw - 1.5rem));
  overflow-wrap: anywhere;
}
html[dir='rtl'] #toast {
  transform: translateX(50%);
}
#toast.show {
  opacity: 1;
}
@media (min-width: 1600px) {
  .hero-copy h1 {
    font-size: 4.9rem;
  }
  .product-stage {
    height: 460px;
  }
}
@media (max-width: 1150px) {
  .header-inner {
    gap: 12px;
  }
  .desktop-nav {
    gap: 15px;
  }
  .header-inner .brand img {
    width: 115px;
  }
  .header-end {
    gap: 9px;
  }
  .home-hero {
    gap: 30px;
  }
  .hero-copy h1 {
    font-size: clamp(2.95rem, 5vw, 3.7rem);
  }
  .account-shell {
    grid-template-columns: 188px minmax(0, 1fr);
  }
  .sidebar {
    padding: 20px 8px;
  }
  .side-link {
    padding-inline: 10px;
    font-size: 0.82rem;
  }
  .workspace {
    padding: 23px;
  }
  .wide {
    grid-template-columns: 1fr 1fr;
  }
  .holding-nums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .desktop-nav,
  .sign-in {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .mobile-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px 5vw 20px;
    gap: 6px;
  }
  .mobile-menu a {
    padding: 8px;
    border-radius: 7px;
    background: #f3f8fa;
    font-size: 0.9rem;
  }
  .home-hero {
    grid-template-columns: 1fr 1.03fr;
    gap: 25px;
  }
  .hero-copy h1 {
    font-size: clamp(2.65rem, 5.4vw, 3.1rem);
  }
  .hero-copy p {
    font-size: 0.98rem;
    margin-block: 15px 21px;
  }
  .product-stage {
    height: 344px;
    border-radius: 18px;
  }
  .preview-account {
    width: 60%;
    inset-inline-start: 4%;
    padding: 13px;
  }
  .preview-quote {
    width: 65%;
    padding: 11px;
    bottom: 5%;
  }
  .preview-value {
    font-size: 1.55rem;
  }
  .brand-strip {
    gap: 7px;
  }
  .brand-link {
    gap: 5px;
  }
  .brand-link strong {
    font-size: 0.9rem;
  }
  .account-shell {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .sidebar.open {
    position: absolute;
    z-index: 8;
    inset-inline-end: 12px;
    top: 67px;
    display: flex;
    padding: 12px;
    width: min(290px, calc(100% - 24px));
    border: 1px solid var(--edge);
    box-shadow: var(--shadow);
    border-radius: 12px;
    gap: 4px;
  }
  .account-brand > span {
    display: none;
  }
  .sidebar.open .side-link {
    min-height: 38px;
  }
  .wide {
    grid-template-columns: 1.15fr 1fr;
  }
  .preview-spark {
    width: 34%;
  }
  .preview-head b {
    font-size: 0.7rem;
  }
  .preview-label {
    margin-top: 11px;
  }
  .preview-cash {
    font-size: 0.62rem;
    margin-top: 9px;
  }
  .journey-grid {
    gap: 12px;
  }
}
@media (max-width: 720px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 65px;
  }
  .hdr-start {
    min-height: 36px;
    font-size: 0.78rem;
    padding: 0.55rem 0.7rem;
  }
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    padding-block: 33px;
  }
  .hero-copy h1 {
    font-size: clamp(2.8rem, 8.9vw, 4.5rem);
    max-width: 570px;
  }
  .hero-copy p {
    max-width: 540px;
  }
  .tagline {
    margin-bottom: 13px;
  }
  .product-stage {
    height: clamp(300px, 60vw, 380px);
    max-width: 550px;
    margin-inline: auto;
  }
  .preview-account {
    width: 52%;
    inset-inline-start: 6%;
    top: 18%;
  }
  .preview-quote {
    width: 56%;
    inset-inline-end: 5%;
    bottom: 6%;
  }
  .preview-spark {
    width: 42%;
  }
  .preview-value {
    font-size: clamp(1.55rem, 5.75vw, 2rem);
  }
  .preview-head b {
    font-size: 0.78rem;
  }
  .preview-cash {
    font-size: 0.71rem;
  }
  .brand-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-block: 14px;
  }
  .brand-link:nth-child(3) {
    border: 0;
  }
  .home-section {
    padding-block: 32px;
  }
  .section-heading {
    align-items: flex-end;
  }
  .section-heading .btn {
    min-height: 36px;
    padding: 0.55rem 0.65rem;
    font-size: 0.76rem;
  }
  .journey-grid,
  .faq,
  .split,
  .detail-grid,
  .wide,
  .overview-top {
    grid-template-columns: 1fr;
  }
  .journey-grid {
    gap: 17px;
  }
  .journey-grid article {
    padding-inline-start: 17px;
  }
  .home-stories {
    gap: 12px;
  }
  .story-box {
    padding: 16px;
  }
  .story-box h2 {
    font-size: 1.32rem;
  }
  .faq {
    gap: 15px;
  }
  .app-header {
    min-height: 61px;
    padding-inline: 16px;
    gap: 8px;
  }
  .app-header .header-end {
    gap: 5px;
  }
  .app-header .brand img {
    width: 104px;
  }
  .search-trigger {
    padding: 0 6px;
    border: 0;
    background: transparent;
  }
  .search-trigger span,
  .app-header .profile-btn {
    display: none;
  }
  .app-header .menu-btn {
    display: none;
  }
  .workspace {
    padding: 19px 14px 76px;
  }
  .workspace main {
    gap: 14px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-heading h1,
  .detail-heading h1 {
    font-size: 2rem;
  }
  .page-heading p {
    font-size: 0.9rem;
  }
  .page-heading .btn {
    min-height: 39px;
  }
  .bottom-nav {
    display: flex;
    justify-content: space-around;
    position: fixed;
    z-index: 7;
    inset-inline: 0;
    bottom: 0;
    background: #fffffff5;
    border-top: 1px solid var(--edge);
    padding: 6px 2px max(6px, env(safe-area-inset-bottom));
    backdrop-filter: blur(12px);
  }
  .bottom-nav a,
  .bottom-more {
    display: flex;
    flex: 1;
    gap: 2px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #526b7c;
    font-weight: 560;
    font-size: 0.68rem;
    background: none;
    border: 0;
  }
  .bottom-nav .selected {
    color: #006a9e;
  }
  .sidebar.open {
    position: fixed;
    top: auto;
    bottom: 62px;
    max-height: calc(100dvh - 94px);
    overflow: auto;
  }
  .sidebar.open nav {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar.open {
    width: min(380px, calc(100% - 24px));
  }
  .side-link {
    gap: 6px;
  }
  .stat-band {
    padding: 13px;
    gap: 10px;
  }
  .stat-band.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat > span {
    font-size: 0.75rem;
  }
  .stat > strong {
    font-size: 1.12rem;
  }
  .wallet-actions {
    gap: 6px;
  }
  .wallet-actions .btn {
    font-size: 0.82rem;
    min-height: 40px;
    padding: 0.5rem 0.7rem;
  }
  .instrument-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .asset-card {
    padding: 12px;
  }
  .asset-quote {
    flex-wrap: wrap;
  }
  .asset-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .instrument-row {
    grid-template-columns: minmax(92px, 1.4fr) minmax(70px, 0.9fr) minmax(48px, 0.6fr) 30px;
    gap: 6px;
    padding: 10px 8px;
  }
  .instrument-row > .table-spark,
  .row-head > span:nth-child(4) {
    display: none;
  }
  .instrument-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .instrument-id {
    gap: 7px;
  }
  .instrument-id strong,
  .table-price strong {
    font-size: 0.81rem;
  }
  .instrument-id small,
  .table-price small,
  .row-head {
    font-size: 0.67rem;
  }
  .instrument-row > span bdi {
    font-size: 0.75rem;
  }
  .star {
    width: 29px;
    height: 33px;
  }
  .pills .pill {
    font-size: 0.78rem;
    padding: 6px 10px;
  }
  .source-line {
    flex-wrap: wrap;
  }
  .chart-tools {
    gap: 10px;
  }
  .chart-body svg {
    height: 164px;
  }
  .chart-caption output {
    font-size: 0.69rem;
  }
  .home-stories p {
    font-size: 0.88rem;
  }
  .trade-side .stack {
    grid-template-columns: 1fr 1fr;
  }
  .panel {
    padding: 16px;
  }
  .notice {
    flex-wrap: wrap;
  }
  .account-footer {
    margin-bottom: 5px;
  }
  #toast {
    bottom: 70px;
  }
  .dialog-inner {
    padding: 18px;
  }
  .onboard {
    margin-block: 25px;
    padding: 23px;
  }
  .site-footer nav {
    gap: 12px;
  }
}
@media (max-width: 440px) {
  .container {
    width: calc(100% - 28px);
  }
  .header-inner .brand img {
    width: 98px;
  }
  .header-end {
    gap: 5px;
  }
  .hdr-start {
    display: none;
  }
  .home-hero {
    padding-block: 27px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy h1 {
    font-size: clamp(2.55rem, 10.6vw, 2.9rem);
  }
  .hero-copy p {
    font-size: 0.95rem;
  }
  .preview-account {
    width: 58%;
    inset-inline-start: 4%;
  }
  .preview-quote {
    width: 63%;
    inset-inline-end: 4%;
  }
  .preview-cash {
    font-size: 0.61rem;
  }
  .preview-value {
    font-size: 1.5rem;
  }
  .stage-top {
    top: 12px;
    inset-inline-start: 15px;
  }
  .home-stories {
    grid-template-columns: 1fr;
  }
  .faq details summary {
    font-size: 0.93rem;
  }
  .filters .field {
    flex-basis: 44%;
  }
  .stat-band .stat > strong {
    font-size: 0.95rem;
  }
  .results-bar {
    font-size: 0.75rem;
  }
  .instrument-row {
    grid-template-columns: minmax(81px, 1.3fr) minmax(67px, 1fr) minmax(45px, 0.55fr) 27px;
    padding-inline: 5px;
  }
  .instrument-id strong {
    font-size: 0.77rem;
  }
  .row-head {
    font-size: 0.62rem;
  }
  .app-header .header-end {
    gap: 2px;
  }
  .app-header .brand img {
    width: 95px;
  }
  .dialog-inner .kv {
    font-size: 0.81rem;
  }
  .ticket-asset > strong {
    font-size: 0.9rem;
  }
  .kv {
    gap: 5px;
  }
  .workspace main {
    gap: 12px;
  }
  .home-section .section-heading {
    gap: 7px;
  }
  .small-pills .pill {
    padding: 4px 6px;
  }
  .stat-band.four {
    gap: 10px;
  }
  .preview-quote-head .instrument-id strong {
    font-size: 0.82rem;
  }
  .home-hero .product-stage {
    height: 287px;
  }
}
@media (max-width: 370px) {
  .brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-link:nth-child(3) {
    border-inline-end: 1px solid #dce7ed;
  }
  .brand-link:nth-child(even) {
    border-inline-end: 0;
  }
  .instrument-row .instrument-id {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 720px) {
  .home-hero .product-stage {
    height: 332px;
  }
  .preview-account {
    top: 34px;
    inset-inline-start: 4%;
    width: 60%;
    transform: rotate(-1deg);
    padding: 10px 13px;
  }
  .preview-account .preview-label {
    margin-top: 5px;
  }
  .preview-account .preview-cash {
    margin-top: 5px;
    padding-top: 4px;
  }
  .preview-account .preview-link {
    margin-top: 2px;
  }
  .preview-quote {
    inset-inline-end: 4%;
    bottom: 11px;
    width: 64%;
    transform: rotate(1deg);
    padding: 10px 13px;
  }
  .preview-quote-body {
    margin-block: 7px;
  }
  .preview-quote .spot {
    min-height: 28px;
  }
  .product-stage .sculpture {
    height: 75%;
    width: 76%;
    top: -3%;
  }
}
