/* Investo Money, the group page — one stylesheet, phone first (V432; started from Investo Solutions', V423). The design language of Investo's other surfaces (V402: plain
   hairline cards, one gold-edged card per screen, a gold gradient main button with a glow, an outlined second), in
   Investo gold (#D5A650, highlight #EAC471) and Montserrat, the logo family's typeface. */
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/montserrat-latin.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0b0d; --card-1: #14161c; --card-2: #111318; --line: rgba(255,255,255,.075);
  --gold: #D5A650; --gold-hi: #EAC471; --gold-edge: rgba(213,166,80,.42);
  --text: #f4f1ea; --dim: #b9b4aa; --dimmer: #8a867e;
  --r: 18px; --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-hi); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); }
.narrow { max-width: 760px; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-300%); background: var(--gold); color: #1a1200; padding: 8px 12px; border-radius: 10px; z-index: 10; }   /* off screen upwards: never widens a right-to-left page (V430) */
.skip:focus { transform: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(10,11,13,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.top-logo img { width: 128px; height: auto; }
.top-nav { display: none; margin-inline-start: auto; gap: 22px; }
.top-nav a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 14px; }
.top-nav a:hover { color: var(--text); }
@media (min-width: 760px) { .top-nav { display: flex; } .top-logo img { width: 150px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 44px 0 40px; text-align: center;
  background: radial-gradient(90% 60% at 50% 0%, rgba(212,168,67,.16), transparent 70%), var(--bg); }
.hero-logo img { width: min(78vw, 340px); margin: 0 auto; }
.hero-line { margin: 22px auto 0; max-width: 30ch; font-size: 19px; line-height: 1.45; font-weight: 600; color: var(--text); }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin: 26px auto 0; max-width: 360px; }
@media (min-width: 760px) {
  .hero { padding: 84px 0 76px; }
  .hero-logo img { width: min(70vw, 640px); }
  .hero-line { font-size: 22px; max-width: none; }
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; }
}

/* Buttons: one gold gradient with a glow, one outlined */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 15.5px; text-decoration: none;
  background: linear-gradient(180deg, #E2B25C, #C98A2F); color: #1a1200; box-shadow: 0 12px 28px -12px rgba(212,168,67,.65); }
.btn-2 { background: transparent; color: var(--text); border: 1px solid var(--gold-edge); box-shadow: none; }

/* Sections */
.band { padding: 34px 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .band { padding: 64px 0; } }
.kicker { margin: 0 0 6px; color: var(--gold); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
@media (min-width: 760px) { h2 { font-size: 36px; } }
.lead { margin: 12px 0 18px; color: var(--dim); font-size: 16.5px; }
.head-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--gold-edge); background: rgba(212,168,67,.08); color: var(--gold-hi); font-weight: 700; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,67,.2); }

/* Cards */
.grid-2 { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1.15fr 1fr; gap: 16px; } }
.card { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-1), var(--card-2)); }
.card-hero { border-color: var(--gold-edge); background: radial-gradient(120% 70% at 85% -10%, rgba(212,168,67,.14), transparent 60%), linear-gradient(180deg, #17150f, var(--card-2));
  box-shadow: 0 18px 50px -24px rgba(212,168,67,.35), inset 0 1px 0 rgba(255,236,200,.06); }
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card p { margin: 0 0 12px; color: var(--dim); font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
.small { font-size: 13.5px !important; }
.small b, .card p b { color: var(--text); }

/* Footer */
.foot { padding: 30px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #08090b; }
.foot-mark { width: 40px; margin-bottom: 14px; }
.foot-rg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; color: var(--dim); font-size: 14px; font-weight: 600; }
.legal { margin: 0 0 8px; color: var(--dimmer); font-size: 12.5px; line-height: 1.55; max-width: 760px; }

/* 404 */
.nf { display: grid; place-items: center; min-height: 100vh; padding: 16px; text-align: center; }

/* Solutions */
.hero-sub { margin: 10px auto 0; max-width: 34ch; color: var(--dim); font-size: 15.5px; }
.services { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .services { grid-template-columns: repeat(3, 1fr); } .services.two { grid-template-columns: 1fr 1fr; } }
.services .card h3 { color: var(--text); }
.steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text); font-size: 15px; }
.step-n { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--gold-edge); color: var(--gold-hi); font-weight: 800; font-size: 14px; }
.note p { color: var(--dim); font-size: 14px; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tools .btn { min-height: 46px; font-size: 14.5px; }
.contact { margin: 16px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--card-1), var(--card-2)); padding: 4px 18px; }
.contact div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); }
.contact div:first-child { border-top: 0; }
.contact dt { color: var(--dim); font-size: 14.5px; }
.contact dd { margin: 0; font-weight: 800; font-size: 16px; }
.contact a { color: var(--gold-hi); text-decoration: none; }

/* V430: the language menu (no script: <details>) and right-to-left Arabic */
.lang { position: relative; margin-inline-start: auto; }
@media (min-width: 760px) { .lang { margin-inline-start: 8px; } }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; color: var(--dim); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary, .lang summary:hover { border-color: var(--gold-edge); color: var(--gold-hi); }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; display: grid; border: 1px solid var(--line); border-radius: 14px; background: #121318; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); z-index: 10; }
.lang-list a { padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14px; }
.lang-list a:hover, .lang-list a[aria-current] { background: rgba(255,255,255,.05); color: var(--gold-hi); }
[dir=rtl] body { font-family: 'Montserrat', 'Geeza Pro', 'Noto Sans Arabic', 'Segoe UI', system-ui, sans-serif; }

/* V432.1: the group page made visual — the four businesses circling the group mark, picture tiles, a short company strip.
   Motion is CSS only (the page runs no script) and stops for visitors who ask for reduced motion. */
.hero-in { display: flex; flex-direction: column; align-items: center; }
.orbit { position: relative; width: 250px; height: 250px; margin: 4px auto 6px; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(213,166,80,.22); }
.ring-2 { inset: 52px; border-style: dashed; border-color: rgba(213,166,80,.16); animation: spin 60s linear infinite reverse; }
.core { position: absolute; left: 50%; top: 50%; width: 92px; height: auto; transform: translate(-50%,-50%); filter: drop-shadow(0 0 22px rgba(213,166,80,.45)); animation: core 14s linear infinite; }
.spin { position: absolute; inset: 0; animation: spin 32s linear infinite; }
.sat { position: absolute; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #1f1c15, #0e0f13); border: 1px solid var(--gold-edge); box-shadow: 0 0 24px -6px rgba(213,166,80,.55);
  animation: spin 32s linear infinite reverse; }
.sat img { width: 32px; height: 32px; }
.sat-1 { left: 50%; top: 0; } .sat-2 { left: 100%; top: 50%; } .sat-3 { left: 50%; top: 100%; } .sat-4 { left: 0; top: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes core { to { transform: translate(-50%,-50%) rotate(360deg); } }
.hero-word img { width: min(70vw, 300px); margin: 18px auto 0; }
.hero .hero-line { margin-top: 14px; }
.scroll { display: block; width: 26px; height: 42px; margin: 22px auto 0; border: 2px solid var(--gold-edge); border-radius: 14px; position: relative; }
.scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-hi); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@media (min-width: 760px) {
  .orbit { width: 340px; height: 340px; } .ring-2 { inset: 72px; } .core { width: 124px; }
  .sat { width: 72px; height: 72px; margin: -36px 0 0 -36px; } .sat img { width: 40px; height: 40px; }
  .hero-word img { width: 420px; }
}

/* The four tiles */
.brands { display: grid; gap: 14px; }
@media (min-width: 700px) { .brands { grid-template-columns: 1fr 1fr; gap: 18px; } }
.tile { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); text-decoration: none; color: inherit;
  background: linear-gradient(180deg, var(--card-1), var(--card-2)); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  animation: rise .7s ease both; }
.tile:nth-child(2) { animation-delay: .08s; } .tile:nth-child(3) { animation-delay: .16s; } .tile:nth-child(4) { animation-delay: .24s; }
.tile:hover, .tile:focus-visible { transform: translateY(-4px); border-color: var(--gold-edge); box-shadow: 0 22px 50px -26px rgba(213,166,80,.6); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.art { position: relative; height: 168px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, rgba(213,166,80,.16), transparent 70%), #0d0e12; }
.art svg { width: 100%; height: 100%; display: block; }
.body { position: relative; padding: 0 18px 18px; }
.body .mark { width: 52px; height: 52px; padding: 9px; margin: -26px 0 10px; border-radius: 14px; background: #121318; border: 1px solid var(--gold-edge); box-shadow: 0 8px 22px -10px rgba(0,0,0,.8); }
.body h3 { font-size: 19px; font-weight: 800; }
.body p { margin: 4px 0 10px; color: var(--dim); font-size: 15px; }
.body .go { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-hi); font-weight: 700; font-size: 14px; }
.body .go::after { content: "\2192"; transition: transform .2s ease; }
[dir="rtl"] .body .go::after { content: "\2190"; }
.tile:hover .go::after { transform: translateX(4px); }
[dir="rtl"] .tile:hover .go::after { transform: translateX(-4px); }
.body small { display: block; margin-top: 8px; color: var(--dimmer); font-size: 12.5px; }

/* Markets: drawn candles, breathing (decoration only — no price, no axis, no direction) */
.candles .grid { stroke: rgba(255,255,255,.05); stroke-width: 1; }
.candles .wick { stroke: rgba(234,196,113,.55); stroke-width: 2; }
.candles .up { fill: #D5A650; }
.candles .dn { fill: transparent; stroke: #D5A650; stroke-width: 2; }
.candles .c { transform-box: fill-box; transform-origin: center; animation: breathe 3.2s ease-in-out infinite; }
.candles .c2 { animation-delay: -.4s; } .candles .c3 { animation-delay: -.8s; } .candles .c4 { animation-delay: -1.2s; } .candles .c5 { animation-delay: -1.6s; }
.candles .c6 { animation-delay: -2s; } .candles .c7 { animation-delay: -2.4s; } .candles .c8 { animation-delay: -2.8s; } .candles .c9 { animation-delay: -3.2s; }
@keyframes breathe { 50% { transform: scaleY(.72); } }

/* Metals: the gold bar with a light sweeping across it */
.photo-bar { display: grid; place-items: center; background: radial-gradient(80% 90% at 50% 40%, #f7e7bf, #d8ad5c 75%, #a77a2b); }
.photo-bar img { height: 150px; width: auto; mix-blend-mode: multiply; transform: rotate(-8deg); filter: saturate(1.15) contrast(1.05); }
.shine { position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.55) 50%, transparent 58%); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 35% { transform: translateX(-60%); } 75%, 100% { transform: translateX(60%); } }

/* Solutions: currencies gliding past each other, two rows in opposite directions */
.fx { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding-bottom: 14px; }
.row { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: glide 22s linear infinite; }
.row-2 .track { animation-direction: reverse; animation-duration: 26s; }
@keyframes glide { to { transform: translateX(-50%); } }
.coin { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 19px; color: #1a1200;
  background: radial-gradient(circle at 32% 28%, #FFE9A0, #D5A650 55%, #9C7128); box-shadow: inset 0 0 0 3px rgba(255,236,190,.35), 0 8px 20px -10px rgba(213,166,80,.8); }
.row-2 .coin { color: var(--gold-hi); background: #121318; box-shadow: inset 0 0 0 1.5px var(--gold-edge); }

/* Entertainment: a cut gem with small gems falling around it */
.gems .gem { transform-box: fill-box; transform-origin: center; animation: float 4s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(255,214,120,.45)); }
.gems .gem-body { fill: url(#gemg); }
.gems .gem-cut { fill: none; stroke: rgba(90,60,10,.55); stroke-width: 1.4; stroke-linejoin: round; }
@keyframes float { 50% { transform: translateY(-5px); } }
.gems .shard { fill: #D5A650; opacity: .85; transform-box: fill-box; transform-origin: center; animation: fall 5s linear infinite; }
.gems .s2 { animation-duration: 6.5s; animation-delay: -2s; fill: transparent; stroke: #EAC471; stroke-width: 1.5; } .gems .s3 { animation-duration: 5.5s; animation-delay: -4s; }
.gems .s4 { animation-duration: 6s; animation-delay: -1s; } .gems .s5 { animation-duration: 7s; animation-delay: -3s; fill: transparent; stroke: #EAC471; stroke-width: 1.5; } .gems .s6 { animation-duration: 5.2s; animation-delay: -5s; }
@keyframes fall { from { transform: translateY(0) rotate(0); } to { transform: translateY(210px) rotate(220deg); } }
.gems .spark { fill: #FFF3CC; transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.gems .k2 { animation-delay: -.7s; } .gems .k3 { animation-delay: -1.4s; } .gems .k4 { animation-delay: -2s; }
@keyframes twinkle { 0%, 100% { transform: scale(.3); opacity: .2; } 50% { transform: scale(1); opacity: 1; } }

/* The company, in one strip */
.company { display: grid; gap: 14px; align-items: center; padding: 20px; border-radius: 20px; border: 1px solid var(--gold-edge);
  background: radial-gradient(120% 80% at 90% -20%, rgba(212,168,67,.14), transparent 60%), linear-gradient(180deg, #17150f, var(--card-2)); }
.company-mark { width: 48px; }
.company h2 { font-size: 22px; }
.company p { margin: 4px 0 0; color: var(--dim); font-size: 14.5px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .chips a { display: inline-flex; align-items: center; gap: 8px; }
.chips li { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-weight: 700; font-size: 14px; }
.chips a { color: var(--gold-hi); text-decoration: none; }
.chips svg { width: 16px; height: 16px; fill: var(--gold); flex: none; }
@media (min-width: 860px) { .company { grid-template-columns: auto 1fr auto; padding: 24px 28px; } .chips { justify-content: flex-end; max-width: 430px; } }

@media (prefers-reduced-motion: reduce) {
  .spin, .sat, .ring-2, .core, .scroll span, .tile, .candles .c, .shine, .track, .gems .gem, .gems .shard, .gems .spark { animation: none !important; }
  .core { transform: translate(-50%,-50%); }
}
