@font-face { font-family: Satoshi; src: url(/assets/fonts/Satoshi_Variable.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  /* Colours live in css/theme.css (Midnight / Platinum). */
  --pad: clamp(16px, 5.2vw, 100px);
  --gap: 8px;   /* the panel's inset from the window, like the app's page inside its frame */
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { text-shadow: 0 1px 12px light-dark(transparent, rgba(0,0,0,.6)); margin: 0; font: 400 16px/1.5 Satoshi, system-ui, sans-serif; color: var(--ink); background: transparent; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
#liquid { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; display: block; }
.no-liquid body { background: radial-gradient(120% 80% at 70% 20%, #2c2c2c 0%, #090909 60%); }

/* The app window: one rounded panel (header + main) on the frame; the footer sits outside it on the frame.
   Content keeps the footer's --pad grid: the panel's inset is taken back out of its own gutters. */
.page { margin: var(--gap) var(--gap) 0; padding-bottom: 48px; background: var(--page); border-radius: 20px; }
main { max-width: calc(1920px - 2 * var(--gap)); margin: 0 auto; padding: 0 calc(var(--pad) - var(--gap)); }
/* Sticky nav: rounded like the panel's top; ::before paints the frame above it and outside its corners once it sticks. */
.page > .hp-nav { top: var(--gap); border-radius: 20px 20px 0 0; }
.page > .hp-nav::before { content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--gap)); right: calc(-1 * var(--gap)); top: calc(-1 * var(--gap)); height: calc(20px + var(--gap)); pointer-events: none;
  background: radial-gradient(circle at 100% 100%, transparent 20px, var(--bg) 20.5px) top left / calc(20px + var(--gap)) 100% no-repeat,
    radial-gradient(circle at 0 100%, transparent 20px, var(--bg) 20.5px) top right / calc(20px + var(--gap)) 100% no-repeat,
    linear-gradient(var(--bg), var(--bg)) top / 100% var(--gap) no-repeat; }
.page > .hp-nav .hp-nav-in { max-width: calc(1920px - 2 * var(--gap)); padding-inline: calc(var(--pad) - var(--gap)); }
.block { padding: 96px 0 40px; }

/* Headings, sized like TradingView's homepage section heads */
.h-l { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 12px; }
.h-l a { display: inline-flex; align-items: center; gap: 10px; }
.h-l .chev { width: 11px; height: 20px; transition: transform .2s; }
.h-l a:hover .chev { transform: translateX(4px); }
.h-m { font-size: 24px; font-weight: 600; margin: 0; }
.sub-head { display: flex; align-items: center; gap: 12px; margin: 32px 0 16px; }
.sample { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; }
.lede { color: var(--ink-2); font-size: 18px; margin: 0 0 32px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; margin-top: 28px; }
.more svg { width: 6px; height: 11px; }
.more:hover { color: var(--ink-2); }

/* Map */
.map { position: relative; padding: 2% 3%; border-radius: 28px; background: radial-gradient(closest-side, color-mix(in srgb, var(--page) 86%, transparent) 70%, transparent);  max-width: 1180px; margin: 0 auto; opacity: 0; transform: translateY(12px); transition: opacity .8s ease, transform .8s ease; }
.map.in { opacity: 1; transform: none; }
.map-svg { display: block; width: 100%; height: auto; }
.map-svg path { stroke: var(--page); stroke-width: .5; transition: opacity .2s; cursor: pointer; }
.map.dim path { opacity: .22; }
.map.dim path.on { opacity: 1; }
.map-tip { position: absolute; left: 0; top: 0; pointer-events: none; background: color-mix(in srgb, var(--card-2) 94%, transparent); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; font-size: 13px; line-height: 1.45; box-shadow: 0 8px 28px light-dark(rgba(0, 0, 0, .16), rgba(0, 0, 0, .5)); white-space: nowrap; }
.map-tip b { display: block; font-weight: 600; }
.map-tip span { color: var(--ink-2); }

.legend { display: flex; max-width: 600px; margin: 34px auto 0; height: 7px; }
.legend .seg { position: relative; flex: 1; border-radius: 0; cursor: pointer; outline: 1.5px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.legend .seg:first-child { border-radius: 4px 0 0 4px; }
.legend .seg:last-child { border-radius: 0 4px 4px 0; clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 50%, calc(100% - 4px) 100%, 0 100%); }
.legend .seg + .seg { margin-left: 2px; }
.legend .seg.on { outline-color: var(--ink); }
.legend i { position: absolute; left: 0; bottom: 14px; transform: translateX(-50%); font-style: normal; font-size: 12px; color: var(--ink-2); }

/* Broker cards */
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: max(340px, calc((100% - 3 * 32px) / 4)); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.card { position: relative; scroll-snap-align: start; min-height: 188px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(209, 209, 209, .45); transform: translateY(-2px); }
.card.featured { background: linear-gradient(135deg, rgba(209, 209, 209, .2), rgba(93, 93, 93, .12) 45%, rgba(13, 13, 13, .7)); border-color: rgba(209, 209, 209, .35); }
.flag { position: absolute; top: -10px; left: 16px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #090909; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.card-top { display: flex; gap: 16px; align-items: flex-start; }
.card h3 { font-size: 20px; font-weight: 600; margin: 2px 0 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #090909; background: linear-gradient(90deg, var(--ink), var(--ink)); border-radius: 3px; padding: 2px 6px; }

/* Logo tile with the two offset "stack" layers behind it */
.logo-stack { position: relative; flex: none; width: 64px; height: 64px; }
.logo-stack::before, .logo-stack::after { content: ""; position: absolute; inset: 0; border-radius: 14px; background: var(--ink-3); }
.logo-stack::before { transform: translate(10px, 10px); opacity: .25; }
.logo-stack::after { transform: translate(5px, 5px); opacity: .45; }
.logo-tile { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--c); color: var(--t, #fff); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.logo-tile img { width: 44px; height: 44px; border-radius: 10px; }

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.meta svg { width: 16px; height: 16px; color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 8px; background: var(--ink); color: #090909; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s; }
.btn:hover { background: var(--ink); }
.btn svg { width: 14px; height: 14px; }

/* Footer, laid out like TradingView's: brand + fine print left, link columns right */
.foot { border-top: 1px solid transparent; background: var(--bg); }   /* on the frame, under the panel */
.foot-in { max-width: 1920px; margin: 0 auto; padding: 56px var(--pad) 32px; display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 64px; }
.foot-brand-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.made { display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 8px; border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 14%, transparent), color-mix(in srgb, var(--ink) 6%, transparent)); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.made svg { width: 16px; height: 16px; color: var(--ink); }
.made svg path + path { stroke: var(--bg); }
.socials[hidden] { display: none; }
.socials { display: flex; gap: 4px; margin: 0 0 22px -8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: var(--ink); transition: background .15s, color .15s; }
.socials a:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.socials svg { width: 20px; height: 20px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot-left p { font-size: 13px; line-height: 1.5; color: var(--ink-2); margin: 0 0 12px; }
.foot-left p a { color: var(--ink); }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; max-width: 340px; }
.cert { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--ink) 26%, transparent); border-radius: 10px; font-size: 14px; line-height: 1.3; color: var(--ink); background: light-dark(rgba(255, 255, 255, .22), rgba(9, 9, 9, .35)); }
.cert svg { flex: none; width: 40px; height: 40px; color: var(--ink-2); font-family: inherit; }
.foot-left p a:hover { text-decoration: underline; }
.lang { display: flex; width: fit-content; align-items: center; gap: 8px; border: 1px solid color-mix(in srgb, var(--ink) 26%, transparent); border-radius: 8px; padding: 6px 12px; margin-bottom: 28px; color: var(--ink); }
.lang svg { width: 18px; height: 18px; }
.lang .caret { width: 12px; height: 12px; margin-left: -2px; pointer-events: none; }
.lang select { field-sizing: content; appearance: none; background: none; border: 0; color: inherit; font: inherit; font-size: 15px; cursor: pointer; }
.lang select option { background: var(--card); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-cols h4 { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.foot-cols ul { list-style: none; margin: 0 0 28px; padding: 0; }
.foot-cols li { margin: 0 0 6px; }
.foot-cols a { font-size: 15px; color: var(--ink); }
.foot-cols a:hover { color: var(--ink-2); }
.foot-risk { max-width: 1920px; margin: 0 auto; padding: 0 var(--pad) 24px; font-size: 12px; color: var(--ink-3); }

@media (max-width: 1100px) { .cards { grid-auto-columns: calc((100% - 32px) / 2.2); } }
@media (max-width: 760px) {
  .block { padding-top: 64px; }
  .cards { grid-auto-columns: 86%; gap: 16px; }
  .foot-in { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .map, .card, .h-l .chev { transition: none; } }

/* Edge-to-edge slogan at the very bottom, like TradingView's "Look first / Then leap." */
.slogan { direction: ltr; display: block; width: calc(100% - 64px); max-width: 1856px; height: auto; margin: 8px auto 0; padding-bottom: 28px; overflow: visible; }
.slogan text { font-family: Satoshi, system-ui, sans-serif; font-size: 62px; font-weight: 800; fill: var(--ink); }
@media (max-width: 760px) { .slogan { width: calc(100% - 32px); } }


/* ── Shared ─────────────────────────────────────────────── */
:root { --mono: ui-monospace, "SF Mono", Menlo, monospace; --dim: var(--muted); }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
.eyebrow { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin: 0 0 18px; }
.dim { color: var(--ink-3); }
.h-xl { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; margin: 0 0 22px; }
.rv { opacity: 0; filter: blur(8px); transform: translate3d(0, 16px, 0); transition: opacity .55s ease, filter .55s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv[data-shown] { opacity: 1; filter: none; transform: none; }

/* ── Header ─────────────────────────────────────────────── */
.nav { position: sticky; top: 12px; z-index: 50; display: flex; align-items: center; gap: 24px; max-width: 1180px; margin: 12px auto 0; padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10, 10, 10, .58); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
@media (max-width: 1220px) { .nav { margin-inline: 16px; } }
.nav-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.nav-brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 7px 12px; border-radius: 9px; font-size: 15px; color: var(--ink-2); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: rgba(209, 209, 209, .08); }
.nav-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; border: 0; font: 600 15px Satoshi, system-ui, sans-serif; cursor: pointer; background: linear-gradient(180deg, #dddddd, #aaaaaa); color: #090909; text-shadow: none; }
.nav-btn.ghost { background: rgba(209, 209, 209, .08); color: var(--ink); border: 1px solid var(--line); }
.nav-btn.ghost:hover { background: rgba(209, 209, 209, .14); }
.nav-btn.me { padding-left: 5px; }
.nav-btn img { width: 28px; height: 28px; border-radius: 50%; }
.acct { position: relative; }
.acct-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 280px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 13, 13, .96); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.acct-pop p { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.acct-err { margin: 12px 0 0 !important; color: #b3b3b3 !important; }
@media (max-width: 760px) { .nav-links { display: none; } .nav-btn { padding: 0 12px; } }

/* ── Hero ───────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; min-height: calc(100vh - 80px); padding: 72px 0 48px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 0 0 26px; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 520px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 17px; background: linear-gradient(180deg, #dddddd, #aaaaaa); color: #090909; text-shadow: none; box-shadow: 0 10px 40px rgba(170, 170, 170, .28); transition: transform .15s, box-shadow .15s; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 50px rgba(170, 170, 170, .4); }
.cta svg { width: 16px; height: 16px; }
.cta.ghost { background: rgba(209, 209, 209, .08); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; } }

/* ── Logo rails (copied from the previous site) ─────────── */
.rails { padding: 90px 0 0; text-align: center; margin: 0 calc(var(--gap) - var(--pad)); }
.rails .eyebrow { margin-bottom: 24px; color: var(--ink-2); }
.rail { position: relative; display: flex; align-items: center; }
.rail-label { position: absolute; left: 24px; top: 50%; z-index: 2; margin-top: 11px; transform: translateY(-50%); width: 130px; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rail-track { flex: 1; margin-left: 150px; padding: 16px 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, #0000, #000 6%, #000 94%, #0000); mask: linear-gradient(90deg, #0000, #000 6%, #000 94%, #0000); }
.rail-move { display: flex; align-items: flex-end; gap: 64px; width: max-content; margin: 0; padding: 0; list-style: none; animation: rail 70s linear infinite; }
.rail.rev .rail-move { animation-direction: reverse; }
@keyframes rail { to { transform: translateX(calc(-50% - 32px)); } }
.rl { display: flex; flex-direction: column; align-items: flex-start; flex: none; }
.rl-tag { height: 14px; margin-bottom: 8px; white-space: nowrap; font-size: 10px; font-weight: 600; line-height: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.rl-tag.aff { color: var(--ink-2); }
.rl-row { display: flex; align-items: center; gap: 14px; height: 46px; }
.rl-row img { display: block; flex: none; user-select: none; }
.rl-name { white-space: nowrap; font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-2); }
.rl-name.rl-tradeify { color: light-dark(#087a2a, #0CF24D); }
/* Logos with white or pale parts: on Platinum flip their lightness, keep their hue. */
/* Platinum is always on: these logos are near-white, so they're darkened unless Midnight is being previewed. */
:root:not([data-scheme="dark"]):not([data-theme="midnight"]):not([data-theme="onyx"]) .rl-row img:is([src*="apex"], [src*="elitetrader"], [src*="fundednext"], [src*="icmarkets"], [src*="takeprofittrader"], [src*="the5ers"], [src*="e8markets"]) { filter: invert(1) hue-rotate(180deg); }
:root[data-scheme="light"] .rl-row img:is([src*="apex"], [src*="elitetrader"], [src*="fundednext"], [src*="icmarkets"], [src*="takeprofittrader"], [src*="the5ers"], [src*="e8markets"]) { filter: invert(1) hue-rotate(180deg); }
.rail-note { margin: 24px 0 0; padding: 0 22px; font-size: 15px; color: var(--dim); }
.rail-fine { margin: 8px 0 0; padding: 0 22px; font-size: 11.5px; color: var(--faint); }
@media (max-width: 767px) { .rail { flex-direction: column; } .rail-label { position: static; transform: none; margin: 0; width: auto; text-align: center; } .rail-track { margin-left: 0; width: 100%; padding: 12px 0; } .rl-name { font-size: 26px; } }

/* ── Numbers ────────────────────────────────────────────── */
.count { padding: 120px 0 40px; text-align: center; }
.count-main[hidden] { display: none; }
.count-main b { display: block; font-size: clamp(80px, 13vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: .9; background: linear-gradient(180deg, #f3f3f3, #aaaaaa); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.count-main span { display: block; margin-top: 12px; font-size: 18px; color: var(--ink-2); }
.count-row { display: flex; justify-content: center; gap: clamp(32px, 8vw, 120px); margin-top: 56px; flex-wrap: wrap; }
.count-row b { display: block; font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.count-row span { color: var(--ink-3); font-size: 15px; }

/* ── AI ─────────────────────────────────────────────────── */
.ai { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding: 140px 0 60px; }
.ai-copy > p:not(.eyebrow):not(.fine) { font-size: 18px; color: var(--ink-2); max-width: 560px; margin: 0 0 16px; }
.works { display: flex; align-items: center; gap: 12px; margin: 30px 0 14px; flex-wrap: wrap; }
.works-label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.model { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 16px; background: rgba(209, 209, 209, .06); }
.fine { font-size: 12.5px; color: var(--ink-3); margin: 0; }
@media (max-width: 960px) { .ai { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; } }

/* ── Features ───────────────────────────────────────────── */
.feats { padding: 120px 0 40px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.tile { position: relative; overflow: hidden; padding: 28px; min-height: 200px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .2s, transform .2s; }
.tile:hover { border-color: rgba(209, 209, 209, .4); transform: translateY(-2px); }
.tile.wide { grid-column: span 2; }
.tile h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.tile p { margin: 0; color: var(--ink-2); max-width: 440px; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile.wide { grid-column: auto; } }

/* ── Download ───────────────────────────────────────────── */
.download { margin-top: 100px; padding: 72px 24px; text-align: center; border: 1px solid rgba(209, 209, 209, .22); border-radius: 28px; background: radial-gradient(120% 140% at 50% 0%, rgba(170, 170, 170, .2), rgba(10, 10, 10, .82) 60%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.download > p { color: var(--ink-2); font-size: 18px; margin: 0 0 32px; }
.dl-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.dl { display: flex; flex-direction: column; align-items: flex-start; min-width: 190px; padding: 16px 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(9, 9, 9, .6); transition: border-color .15s, transform .15s; }
.dl:hover { border-color: var(--ink); transform: translateY(-2px); }
.dl b { font-size: 19px; }
.dl span { font-size: 14px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; filter: none; transform: none; transition: none; } .rail-move, .ai-scan, .pulse, .live::before { animation: none; } }

/* Install */
.install { display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 0 auto; padding: 8px 8px 8px 20px; border: 1px solid rgba(209, 209, 209, .3); border-radius: 14px; background: rgba(5, 5, 5, .85); text-align: left; }
.install code { flex: 1; overflow-x: auto; white-space: nowrap; font: 500 15px/1.4 var(--mono); color: var(--ink); scrollbar-width: none; }
.copy { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer; font: 700 15px Satoshi, system-ui, sans-serif; background: linear-gradient(180deg, #dddddd, #aaaaaa); color: #090909; transition: transform .1s; }
.copy:active { transform: scale(.97); }
.copy svg { width: 16px; height: 16px; }
.copy.done { background: #6fd39a; }
.steps { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; list-style: none; margin: 28px auto 0; padding: 0; max-width: 980px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(9, 9, 9, .55); text-align: left; font-size: 15px; color: var(--ink-2); }
.steps b { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(209, 209, 209, .14); color: var(--ink); font-size: 13px; }
.steps em { font-style: normal; color: var(--ink); }
kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border: 1px solid rgba(199, 199, 199, .3); border-bottom-width: 2px; border-radius: 6px; font: 600 12px/1.5 Satoshi, system-ui, sans-serif; color: var(--ink); text-align: center; background: rgba(241, 241, 241, .05); }
.dl-fine { margin: 22px 0 0 !important; font-size: 13px !important; color: var(--ink-3) !important; }
.dl-fine a { color: var(--ink); }
@media (max-width: 620px) { .install { flex-direction: column; align-items: stretch; padding: 14px; } .copy { justify-content: center; } }

.model small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.model { line-height: 1.25; border-radius: 12px; }
.forge { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; padding: 120px 0 20px; }
.forge > div > p:not(.eyebrow):not(.fine) { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: rgba(209, 209, 209, .15); color: var(--ink); }
@media (max-width: 960px) { .forge { grid-template-columns: 1fr; gap: 36px; } }

@keyframes blink { 50% { opacity: .35; } }
/* Real-app screenshots and the live demo stage */
.shot { display: block; border: 1px solid rgba(209, 209, 209, .24); border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.6); transition: transform .25s, border-color .25s; }
.shot:hover { transform: translateY(-3px); border-color: rgba(209, 209, 209, .5); }
.shot img { display: block; width: 100%; height: auto; }
.hero { grid-template-columns: .85fr 1.15fr; }
.show { padding: 130px 0 40px; }
.show-lede { font-size: 18px; color: var(--ink-2); max-width: 640px; margin: 0; }
.show-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 30px 0 16px; }
.show-tabs button { height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: rgba(10, 10, 10, .6); color: var(--ink-2); font: 600 15px Satoshi, system-ui, sans-serif; cursor: pointer; transition: all .15s; }
.show-tabs button:hover { color: var(--ink); border-color: rgba(209, 209, 209, .4); }
.show-tabs button[aria-selected="true"] { background: linear-gradient(180deg, #dddddd, #aaaaaa); color: #090909; border-color: transparent; text-shadow: none; }
.stage { position: relative; aspect-ratio: 1440 / 900; border: 1px solid rgba(209, 209, 209, .28); border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 140px rgba(0,0,0,.65); }
.stage-fit { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform: scale(var(--s, 1)); transform-origin: 0 0; }
.stage-fit img, .stage-fit iframe { position: absolute; inset: 0; width: 1440px; height: 900px; border: 0; display: block; }
.stage-fit [hidden] { display: none; }
.stage:not(.live)::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,.1), rgba(0,0,0,.55)); pointer-events: none; }
.launch { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; border: 0; border-radius: 16px; cursor: pointer; font: 700 18px Satoshi, system-ui, sans-serif; background: linear-gradient(180deg, #dddddd, #aaaaaa); color: #090909; box-shadow: 0 16px 60px rgba(170, 170, 170, .45); transition: transform .15s; }
.launch:hover { transform: translate(-50%, -50%) scale(1.03); }
.launch[hidden] { display: none; }
.launch svg { width: 16px; height: 16px; }
.launch:disabled { cursor: progress; }
.show-cap { margin: 14px 4px 0; color: var(--ink-3); font-size: 14px; }
.show-cap a { color: var(--ink); }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .launch { height: 46px; font-size: 15px; padding: 0 18px; } }
/* Real screenshots run full width under their copy, so the app is readable */
.hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding: 96px 0 40px; gap: 48px; }
.hero-copy { max-width: 900px; margin: 0 auto; }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-cta { justify-content: center; }
.hero h1 br { display: none; }

.ai, .forge { grid-template-columns: 1fr; gap: 40px; }
.ai-copy, .forge > div:not(.shot) { max-width: 820px; }
.forge .shot { order: 2; }

/* ── Trading and brokers: TradingView-style row (3 across, arrows, logo stacks) ── */
.cards-wrap { position: relative; }
.cards { grid-auto-columns: calc((100% - 2 * 32px) / 3); scrollbar-width: none; padding: 14px 0 18px; }
.cards::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .cards { grid-auto-columns: min(86%, 380px); } }
.card { background: var(--card); border-color: var(--line-2); box-shadow: var(--shadow-card); backdrop-filter: none; }
.card:hover { border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.card.featured { background: linear-gradient(120deg, light-dark(rgba(255,255,255,.5), rgba(255,255,255,.10)), rgba(150,190,255,.10) 55%, rgba(210,170,255,.14)), var(--card); border-color: color-mix(in srgb, var(--ink) 20%, transparent); }
.flag { background: var(--accent); color: var(--on-accent); border: 0; }
.badge { background: var(--accent); color: var(--on-accent); }
.meta svg { color: var(--ink); }
.btn { background: var(--accent); color: var(--on-accent); }
.btn:hover { background: color-mix(in srgb, var(--accent) 85%, var(--page)); }
.logo-stack::before, .logo-stack::after { background: light-dark(#a6a6a6, #3a3a3a); }
.logo-stack::before { transform: translate(12px, 12px); opacity: .35; }
.logo-stack::after { transform: translate(6px, 6px); opacity: .7; }
.logo-tile { background: #161616;   /* dark in both themes, like an app icon: several logos are white */ border: 1px solid var(--line-2); color: var(--t, #fff); font-size: 30px; }
.logo-tile img { width: 70%; height: 70%; object-fit: contain; border-radius: 0; }
.cards-nav { position: absolute; top: calc(50% - 2px); transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); background: var(--card-2); color: var(--ink); box-shadow: 0 4px 16px light-dark(rgba(0,0,0,.18), rgba(0,0,0,.45)); cursor: pointer; }
.cards-nav svg { width: 8px; height: 14px; }
.cards-nav.next { right: -20px; }
.cards-nav.prev { left: -20px; }
.cards-nav[hidden] { display: none; }
.rating { color: var(--ink); font-weight: 500; }
.rating .star { width: 16px; height: 16px; color: var(--ink); }
.rating .tp-check { width: 16px; height: 16px; color: var(--ink); }
.rating:hover { text-decoration: underline; text-underline-offset: 3px; }
.cards-note { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }
.logo-tile.logo-fill { overflow: hidden; } .logo-tile.logo-fill img { width: 100%; height: 100%; object-fit: cover; }

/* Footer: language picker and Support, side by side and the same size */
.foot-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-bottom: 28px; }
.foot-tools .lang { width: auto; justify-content: center; min-height: 48px; padding: 10px 16px; gap: 10px; font-size: 16px; border-radius: 10px; }
.foot-tools .lang select, .foot-tools .support-btn { font-size: 16px; }
.foot-tools .lang { margin-bottom: 0; transition: border-color .15s, background .15s; }
.foot-tools .lang:hover { border-color: color-mix(in srgb, var(--ink) 50%, transparent); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.support-btn { font-size: 15px; text-decoration: none; }
/* The two footer boxes take the logo row's width, so Support's right edge lines up with "Made by traders" */
.foot-head { display: inline-grid; margin-bottom: 28px; }
.foot-head .foot-brand-row { flex-wrap: nowrap; }
.foot-head .foot-tools { margin-bottom: 0; }
/* SOC 2 / GDPR sit above the language and Support boxes, same width */
.foot-head .certs { margin: 0 0 12px; max-width: none; }
.foot-head .cert { height: 48px; padding: 6px 12px; gap: 10px; justify-content: center; font-size: 13px; line-height: 1.15; }
.foot-head .cert svg { width: 30px; height: 30px; }
/* Broker cards: keep the rating on one line, and drop to two across before the cards get too narrow for it. */
.rating { white-space: nowrap; }
.card-foot { flex-wrap: nowrap; }
@media (max-width: 1260px) and (min-width: 901px) { .cards { grid-auto-columns: calc((100% - 32px) / 2); } }
