/* Atlas Copy design system (v4.1, 2026-11). Loaded after site.css on every public page, the sign-in pages and the portal.
   The original Atlas look, refined: graphite canvas, off-white text, white primary buttons with dark text, hairline borders.
   Green / amber / red mean status and nothing else; there is no decorative colour.
   Part 1 sets the tokens. Part 2 switches off the decorative layers older stylesheets added (glows, gradient text,
   gradient buttons, floating orbs). Part 3 is the shared components used by the redesigned pages (prefix ds-). */

/* 1 ── tokens ─────────────────────────────────────────────────────────────── */
:root, body.dark, body.ds {
  --bg: #0a0b0d; --surface: #111316; --surface-2: #16191d; --surface-3: #1d2126;
  --line: #1f2328; --line-2: #2c3138;
  --fg: #ededef; --fg-2: #b4b8bf; --muted: #868b94;
  --acc: #ededef; --acc-2: #ffffff; --acc-ink: #0a0b0d; --acc-bg: rgba(255, 255, 255, .06);
  --link: #ededef;
  --up: #3fbf7f; --down: #ef6461; --warn: #e2b04e; --up-bg: rgba(63, 191, 127, .12); --down-bg: rgba(239, 100, 97, .12); --warn-bg: rgba(226, 176, 78, .12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --display: var(--font); --mono: ui-monospace, "SF Mono", Consolas, monospace;
  --r: 10px; --r-lg: 14px; --focus: 0 0 0 3px rgba(255, 255, 255, .28);
  color-scheme: dark;
}
body.dark, body.ds { background: var(--bg) !important; color: var(--fg); font: 16px/1.6 var(--font); }
body.dark a, body.ds a { color: var(--link); text-underline-offset: 3px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.up { color: var(--up) !important; } .down { color: var(--down) !important; }
.tnum, .ds-num { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }

/* 2 ── quiet the old decoration ──────────────────────────────────────────── */
body.dark::before, body.dark::after, .hx::before, .pg-hero::before, .auth-side::before, body.auth-v3 .auth-side::before,
.btn.primary::after, .eyebrow::before, .timeline .card::before, .tilting::after, .hw-steps::before, .pp::before, .ab-tl::before { display: none !important; }
.grad { background: none !important; -webkit-text-fill-color: currentColor !important; color: inherit !important; }
.btn.primary, .btn.primary:hover, body.auth-v3 .jq-primary, .jq-primary { background: var(--acc) !important; background-image: none !important; border-color: var(--acc) !important; color: var(--acc-ink) !important; box-shadow: none !important; }
.btn.primary:hover, .jq-primary:hover { background: #ffffff !important; }
body.dark .card, body.dark .kpi, .card, .statband, .ctaband, .prev3d, .fl-node, .pg-s.alt, footer.s-foot, .ticker, .md-ext, .ct-mail {
  background-image: none !important; box-shadow: none !important; }
body.dark .card, body.dark .kpi { background: var(--surface) !important; border: 1px solid var(--line) !important; }
.ico, .ico.g, .ico.e, .pg-ic, .pp-ic, .ab-dot, .next-steps b, .hw-step.done .hw-n, .s-mark, .jqc-orb, .jqc-av, .as-orb {
  background: var(--surface-2) !important; background-image: none !important; color: var(--fg-2) !important; box-shadow: none !important; }
.pg-s.alt { background: transparent !important; }
.rv { opacity: 1 !important; transform: none !important; }   /* no scroll-in reveal: content is visible at once */
.btn { border-radius: var(--r) !important; font-weight: 600; }
.btn:not(.primary) { background: transparent !important; border: 1px solid var(--line-2) !important; color: var(--fg) !important; }
.btn:not(.primary):hover { border-color: var(--muted) !important; }
.eyebrow { color: var(--muted) !important; font: 600 12px/1.4 var(--font) !important; letter-spacing: .08em !important; text-transform: uppercase; }
.pg-hero { padding: 56px 0 18px !important; }
.pg-hero h1 { font-size: clamp(28px, 4vw, 40px) !important; letter-spacing: -.02em !important; max-width: 820px; }
.pg-sub { font-size: 17px !important; color: var(--fg-2) !important; max-width: 700px; }
.chip.w, .pill.ok { background: var(--up-bg) !important; color: var(--up) !important; }
.chip.l, .pill.bad { background: var(--down-bg) !important; color: var(--down) !important; }

/* header + footer (shared) */
.s-top { background: rgba(10, 11, 13, .88) !important; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) !important; }
.s-top .wrap { height: 60px !important; gap: 16px !important; }
.s-nav { gap: 4px !important; flex-wrap: nowrap !important; white-space: nowrap; }
.s-nav a:not(.btn) { color: var(--fg-2) !important; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; }
.s-nav a:not(.btn):hover, .s-nav a.on { color: var(--fg) !important; background: var(--surface-2); text-decoration: none; }
.s-nav a.on { box-shadow: inset 0 -2px 0 var(--fg); border-radius: 8px 8px 0 0; background: transparent; }
.s-nav a:not(.btn)::after { display: none !important; }
.s-nav .s-in { margin-left: 8px; }
.s-nav .btn.sm { height: 36px !important; margin-left: 6px; }
@media (max-width: 1080px) { .s-nav { display: none !important; } .burger { display: inline-flex !important; } }
.burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; color: var(--fg); font-size: 18px; }
.m-menu { display: none; }
.m-menu.open { display: grid !important; gap: 2px; padding: 8px 16px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.m-menu a { padding: 12px 8px; color: var(--fg) !important; border-radius: 8px; }
.m-menu a.btn { margin-top: 8px; }
footer.s-foot { background: var(--bg) !important; border-top: 1px solid var(--line); }

/* 3 ── components ─────────────────────────────────────────────────────────── */
.ds-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .ds-wrap, .wrap { padding: 0 16px !important; } }
.ds-sec { padding: 56px 0; border-top: 1px solid var(--line); }
.ds-sec.first { border-top: 0; padding-top: 48px; }
.ds-sec.tight { padding: 36px 0; }
.ds-kicker { font: 600 12px/1.4 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.ds-h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 16px; font-weight: 700; max-width: 760px; }
.ds-h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; letter-spacing: -.015em; margin: 0 0 10px; font-weight: 700; }
.ds-h3 { font-size: 17px; line-height: 1.35; margin: 0 0 6px; font-weight: 650; }
.ds-lead { font-size: 18px; color: var(--fg-2); max-width: 640px; margin: 0 0 24px; }
.ds-p { color: var(--fg-2); margin: 0 0 12px; max-width: 70ch; }
.ds-small { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.ds-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ds-head > div { max-width: 720px; }
.ds-grid { display: grid; gap: 16px; }
.ds-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ds-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ds-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .ds-g3, .ds-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ds-split { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .ds-g2, .ds-g3, .ds-g4 { grid-template-columns: 1fr; } .ds-sec { padding: 40px 0; } }
.ds-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; min-width: 0; }
.ds-card.flat { background: transparent; }
.ds-card.raised { background: var(--surface-2); }
.ds-card > :last-child { margin-bottom: 0; }
.ds-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: transparent; color: var(--fg) !important; font: 600 15px/1 var(--font); text-decoration: none !important; cursor: pointer; white-space: nowrap; }
.ds-btn:hover { border-color: var(--muted); }
.ds-btn.primary { background: var(--acc); border-color: var(--acc); color: var(--acc-ink) !important; }
.ds-btn.primary:hover { background: #ffffff; }
.ds-btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.ds-link { color: var(--fg) !important; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.ds-link:hover { text-decoration-color: var(--fg); }
.ds-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 600 12px/1.5 var(--font); border: 1px solid var(--line-2); color: var(--fg-2); white-space: nowrap; }
.ds-tag.ok { color: var(--up); border-color: rgba(60, 196, 143, .35); background: var(--up-bg); }
.ds-tag.warn { color: var(--warn); border-color: rgba(232, 181, 82, .35); background: var(--warn-bg); }
.ds-tag.bad { color: var(--down); border-color: rgba(242, 107, 99, .35); background: var(--down-bg); }
.ds-tag.info { color: var(--fg); border-color: var(--line-2); background: var(--surface-2); }
.ds-tag.src { color: var(--fg-2); background: var(--surface-2); }
.ds-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }
.ds-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ds-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--fg-2); }
.ds-list li::before { content: ""; width: 6px; height: 6px; margin: 10px 0 0 6px; border-radius: 50%; background: var(--muted); }
.ds-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; }
.ds-steps > li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.ds-steps > li:first-child { border-top: 0; }
.ds-steps > li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 13px var(--font); color: var(--fg-2); }
.ds-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14.5px; }
.ds-kv dt { color: var(--muted); } .ds-kv dd { margin: 0; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.ds-note { border-left: 3px solid var(--line-2); padding: 10px 14px; background: var(--surface); border-radius: 0 var(--r) var(--r) 0; color: var(--fg-2); font-size: 14.5px; }
.ds-note.warn { border-left-color: var(--warn); } .ds-note.info { border-left-color: var(--acc); }
.ds-figure { margin: 0; }
.ds-figure img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.ds-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.ds-stat { display: grid; gap: 2px; }
.ds-stat b { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ds-stat span { font-size: 13px; color: var(--muted); }
.ds-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.ds-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ds-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12.5px; letter-spacing: .02em; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; }
.ds-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.ds-table tr:last-child td { border-bottom: 0; }
.ds-table .r { text-align: right; }
.ds-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; }
.ds-tabs button, .ds-tabs a { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; color: var(--fg-2); font: 600 14.5px var(--font); cursor: pointer; text-decoration: none; }
.ds-tabs [aria-selected="true"], .ds-tabs .on { color: var(--fg); border-bottom-color: var(--fg); }
.ds-field { display: grid; gap: 6px; font-size: 13.5px; color: var(--fg-2); }
.ds-field input, .ds-field select { min-height: 42px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); font: 15px var(--font); width: 100%; }
.ds-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.ds-tools > * { flex: 1 1 180px; }
.ds-skip { position: absolute; left: -9999px; } .ds-skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--acc); color: #fff !important; padding: 8px 12px; border-radius: 8px; }

/* homepage: hero, explainer, example account, latest trades */
.ds-hero { padding: 64px 0 48px; }
.ds-hero .ds-split { align-items: center; }
.ds-hero-links { margin-top: 16px; font-size: 14.5px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.ds-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 36px; }
.ds-facts > div { padding: 18px 20px; border-left: 1px solid var(--line); }
.ds-facts > div:first-child { border-left: 0; }
.ds-facts b { display: block; font-size: 15px; margin-bottom: 4px; }
.ds-facts p { margin: 0; font-size: 14px; color: var(--fg-2); }
@media (max-width: 760px) { .ds-facts { grid-template-columns: 1fr; } .ds-facts > div { border-left: 0; border-top: 1px solid var(--line); } .ds-facts > div:first-child { border-top: 0; } }
.ex-acct { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.ex-acct-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: 13px; color: var(--muted); }
.ex-acct-b { padding: 16px; display: grid; gap: 14px; }
.ex-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ex-row b { font-size: 15px; }
.ex-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ex-prog i { height: 6px; border-radius: 3px; background: var(--surface-3); }
.ex-prog i.on { background: var(--up); }
.ex-prog-l { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.ex-act { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ex-act div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ex-act small { color: var(--muted); font-size: 12.5px; grid-column: 1 / -1; }
.trade-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.trade-strip .t { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; display: grid; gap: 2px; font-size: 14px; background: var(--surface); }
.trade-strip .t small { color: var(--muted); font-size: 12px; }
.ds-support { position: fixed; right: 16px; bottom: 16px; z-index: 30; }

/* track record */
.tr-views [role="tabpanel"][hidden] { display: none; }
.tr-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 0 0 18px; }
.tr-meta > div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.tr-meta span { display: block; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.tr-meta b { font-size: 14.5px; font-weight: 600; }
.tr-counts { display: grid; gap: 10px; }
.tr-count { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.tr-count:first-child { border-top: 0; }
.tr-count b { font-size: 22px; font-variant-numeric: tabular-nums; }
.tr-count p { margin: 0; color: var(--fg-2); font-size: 14.5px; }
@media (max-width: 520px) { .tr-count { grid-template-columns: 1fr; gap: 2px; } }
.tr-log-row td:first-child { white-space: nowrap; }
@media (max-width: 640px) {
  .ds-table.stack thead { display: none; }
  .ds-table.stack tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .ds-table.stack td { padding: 0; border: 0; }
  .ds-table.stack td[data-l]::before { content: attr(data-l) " "; color: var(--muted); font-size: 12px; }
}

/* sign-in pages */
body.auth-v3 { --bg: #0a1222; background: var(--bg) !important; }
body.auth-v3 .auth-side, body.auth-v3 .jq-auth-card { background: var(--surface) !important; border: 1px solid var(--line) !important; box-shadow: none !important; border-radius: var(--r-lg) !important; }
body.auth-v3 .jq-auth-card input:not([type=checkbox]) { min-height: 44px; background: var(--bg) !important; border: 1px solid var(--line-2) !important; color: var(--fg) !important; border-radius: var(--r) !important; }
.auth-purpose { font-size: 14px; color: var(--fg-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; margin: 0 0 14px; }
.auth-purpose b { color: var(--fg); }

/* media */
.md-groups { display: grid; gap: 40px; }
.md-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.md-lesson { display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; background: var(--surface); }
.md-lv video, .md-lv img { display: block; width: 100%; max-height: 520px; aspect-ratio: 9 / 16; object-fit: contain; background: #000; border-radius: var(--r); }
.md-feat .md-lv video { max-height: 560px; }
.md-links .ds-btn svg { width: 16px; height: 16px; }
.md-links .ds-btn, .md-feat .ds-btn { gap: 6px; }
.md-feat .ds-btn svg { width: 16px; height: 16px; }

/* portal (account workspace) */
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .hm-grid { grid-template-columns: 1fr; } }
.hm-q h2 { font-size: 19px; margin: 4px 0 6px; }
.hm-k { font: 600 12px/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hm-trade { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.hm-next { border-left: 3px solid var(--line-2) !important; }
.hm-next.needs_help { border-left-color: var(--down) !important; }
.hm-next.new { border-left-color: var(--fg-2) !important; }
.hm-next.pending { border-left-color: var(--warn) !important; }
.hm-next.connected { border-left-color: var(--up) !important; }
.hm-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.hm-links a { font-weight: 600; }

/* keep the floating Ask Jarvis button from covering the last row */
.p-main { padding-bottom: 96px !important; }
@media (max-width: 1100px) { .hm-grid .hm-next { order: -1; } }
[id] { scroll-margin-top: 76px; }

/* one unobtrusive support entry: a small "Help" pill in the corner */
.jqc-bar { padding: 6px 12px 6px 6px !important; gap: 8px !important; box-shadow: none !important; border-color: var(--line-2) !important; background: var(--surface-2) !important; }
.jqc-bar-t small, .jqc-bar-t span:not(:first-child), .jqc-bar-go { display: none !important; }
.jqc-bar .jqc-orb { width: 26px !important; height: 26px !important; }

/* explained words in the dashboard */
abbr.term { text-decoration: underline dotted var(--muted); text-underline-offset: 3px; cursor: help; }
abbr.term:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 3px; }
.p-toast { max-width: min(420px, calc(100vw - 32px)); }

/* v4.1: the original hero, refined */
.ds-h1 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -.035em; line-height: 1.04; font-weight: 750; }
.ds-hero { padding: 76px 0 40px; }
.ds-btn { border-radius: 10px; }
.ds-btn.primary { background: var(--fg); border-color: var(--fg); color: var(--bg) !important; }
.frame { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.frame-bar span { margin-left: 8px; }
.frame-bar .ds-tag { margin-left: auto; }
.frame .ex-acct { border: 0; border-radius: 0; background: transparent; }
.frame .ex-acct-h { display: none; }
.frame-cap { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.statband2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-top: 40px; overflow: hidden; }
.statband2 > div { padding: 22px 22px 20px; border-left: 1px solid var(--line); min-width: 0; }
.statband2 > div:first-child { border-left: 0; }
.statband2 b { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.statband2 span { display: block; font-size: 13.5px; color: var(--fg-2); margin-top: 6px; }
.statband2 small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) { .statband2 { grid-template-columns: 1fr 1fr; } .statband2 > div:nth-child(3) { border-left: 0; } .statband2 > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
details.faq, .hq { background: var(--surface) !important; border-color: var(--line) !important; }

/* Mobile menu fix: .s-top has backdrop-filter, which makes it the containing block for position:fixed children, so the
   old "fixed; inset:70px 0 0 0" menu was squashed to the header's height (live bug, Nov 2026). Anchor it under the header
   with an explicit height instead. */
.m-menu.open { position: absolute !important; inset: auto !important; top: 100% !important; left: 0 !important; right: 0 !important;
  height: calc(100dvh - 60px) !important; max-height: none !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch;
  z-index: 40 !important; background: var(--bg) !important; border-top: 1px solid var(--line); padding: 12px 20px calc(28px + env(safe-area-inset-bottom)) !important; align-content: start; }
.m-menu.open a { font-size: 17px; padding: 14px 4px !important; border-bottom: 1px solid var(--line); border-radius: 0; }
.m-menu.open a.btn { margin-top: 14px; border-radius: 10px; justify-content: center; }
body:has(.m-menu.open) { overflow: hidden; }

/* v4.2 homepage: real product screens, fewer boxes */
.ds-kicker { display: none; }
.hx2 { padding: 64px 0 36px; }
.hx2-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.hx2-copy .ds-lead { font-size: 19px; max-width: 560px; }
.hx2-phone { margin: 0; justify-self: center; text-align: center; }
.phone { width: 300px; border-radius: 38px; padding: 10px; background: #1a1d22; border: 1px solid #2c3138; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.phone img { display: block; width: 100%; height: 520px; object-fit: cover; object-position: top; border-radius: 29px; }
.hx2-phone figcaption, .shot figcaption { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
@media (max-width: 900px) { .hx2-grid { grid-template-columns: 1fr; gap: 36px; } .phone { width: 260px; } .phone img { height: 440px; } }
.money { border-top: 0; }
.money-line { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3; letter-spacing: -.02em; max-width: 900px; margin: 0 0 30px; color: var(--fg-2); font-weight: 500; }
.money-line b { color: var(--fg); font-weight: 650; }
.money-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.money-cols b { display: block; font-size: 15px; margin-bottom: 6px; }
.money-cols span { color: var(--fg-2); font-size: 15px; }
@media (max-width: 760px) { .money-cols { grid-template-columns: 1fr; gap: 18px; } }
.steps2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .steps2 { grid-template-columns: 1fr; } }
.trade-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.trade-strip .t { grid-template-columns: 1fr auto; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 12px 0; }
.trade-strip .t small { grid-column: 1 / -1; }
@media (max-width: 640px) { .trade-strip { grid-template-columns: 1fr; } }
/* dashboard: drop the dot before every card heading */
.p-main .card h2::before { display: none !important; }

/* media v4.2: shelves of uniform vertical videos */
.md-list { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; grid-template-columns: none; gap: 18px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.md-lesson { border: 0; padding: 0; background: none; gap: 10px; scroll-snap-align: start; }
.md-lesson .md-lv video, .md-lesson .md-lv img { width: 220px; height: 391px; aspect-ratio: auto; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.md-lesson .ds-h3 { font-size: 15px; line-height: 1.35; margin: 0 0 6px; }
.md-links { display: flex; gap: 6px; }
.md-links .ds-btn { min-height: 32px; padding: 0 10px; font-size: 12.5px; border-radius: 999px; }
.md-links .ds-btn span { display: none; }
.md-links .ds-btn svg { width: 15px; height: 15px; }
.md-group .ds-head { margin-bottom: 14px; }
.md-feat { align-items: center; }
.md-feat .md-lv video { width: 100%; max-width: 330px; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; border: 1px solid var(--line); }

.md-feat { grid-template-columns: 330px minmax(0, 1fr) !important; gap: 40px; }
@media (max-width: 760px) { .md-feat { grid-template-columns: 1fr !important; } .md-feat .md-lv video { max-width: 260px; } }
/* footer: four even columns, legal no longer wraps under product */
footer.s-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
footer.s-foot .f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
footer.s-foot .f-cols > div { display: grid; align-content: start; gap: 8px; }
footer.s-foot .f-cols h4 { margin: 0 0 4px; font-size: 13px; color: var(--fg); }
footer.s-foot .f-cols a { color: var(--fg-2) !important; font-size: 14px; }
footer.s-foot .f-bottom { grid-column: 1 / -1; }
@media (max-width: 900px) { footer.s-foot .wrap { grid-template-columns: 1fr; } footer.s-foot .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── v4.3 motion and colour: alive, not loud ───────────────────────────────── */
:root { --brand: #3d8bff; --brand-2: #5ee1ff; --brand-glow: rgba(61, 139, 255, .22); }
/* entrance: only when motion.js has run (html.motion), never hides content without JS */
html.motion .mo { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22, 1, .36, 1) var(--mo-d, 0ms), transform .6s cubic-bezier(.22, 1, .36, 1) var(--mo-d, 0ms); }
html.motion .mo.in { opacity: 1; transform: none; }
/* hero: soft brand glow behind the phone, the phone floats */
.hx2 { position: relative; overflow: hidden; }
.hx2::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, var(--brand-glow), transparent 70%); }
.hx2 .ds-wrap { position: relative; }
html.motion .phone { animation: jqFloat 7s ease-in-out infinite; }
@keyframes jqFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.phone { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04), 0 30px 120px -40px var(--brand-glow); }
.ds-h1 .hl { background: linear-gradient(90deg, #fff, #9cc7ff 60%, var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* trade flow */
.flow2 { margin: 34px 0 0; display: grid; grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto; align-items: center; gap: 0; }
.flow2-node { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 0; }
.flow2-node .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); }
.flow2-node .ic img, .flow2-node .ic svg { width: 28px; height: 28px; }
.flow2-node b { font-size: 13.5px; } .flow2-node small { font-size: 12px; color: var(--muted); }
.flow2-node.you .ic { border-color: rgba(63, 191, 127, .45); box-shadow: 0 0 24px -6px rgba(63, 191, 127, .5); }
.flow2-track { position: relative; height: 2px; margin: 0 8px 34px; background: linear-gradient(90deg, var(--line-2), var(--brand), var(--line-2)); border-radius: 2px; }
.flow2-chip { position: absolute; top: -13px; left: 0; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; background: var(--fg); color: var(--bg); opacity: 0; }
.flow2-chip.go { animation: jqChip 1.5s cubic-bezier(.45, 0, .2, 1) forwards; }
@keyframes jqChip { 0% { left: 0; opacity: 0; transform: scale(.8) } 15% { opacity: 1; transform: none } 85% { opacity: 1 } 100% { left: calc(100% - 70px); opacity: 0 } }
.flow2-dot { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 14px var(--brand-2); }
html.motion .flow2-dot { animation: jqDot 2.6s linear infinite; animation-delay: .9s; }
@keyframes jqDot { 0% { left: 0; opacity: 0 } 20% { opacity: 1 } 80% { opacity: 1 } 100% { left: calc(100% - 10px); opacity: 0 } }
.flow2-log { display: grid; gap: 4px; margin-top: 6px; min-height: 66px; width: 150px; }
.flow2-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 3px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); opacity: 0; transform: translateY(-6px) scale(.96); transition: opacity .35s, transform .45s cubic-bezier(.22, 1, .36, 1); }
.flow2-row.in { opacity: 1; transform: none; }
.flow2-row em { font-style: normal; font-weight: 700; }
.flow2-cap { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 520px) { .flow2-node .ic { width: 42px; height: 42px; } .flow2-log { width: 120px; } .flow2-node small { display: none; } .flow2-track { margin-bottom: 22px; } }
/* stat band numbers get the accent on hover; cards lift slightly */
.statband2 > div { transition: background-color .2s; } .statband2 > div:hover { background: var(--surface-2); }
@media (hover: hover) { .ds-card, .md-lesson .md-lv video { transition: transform .25s cubic-bezier(.22, 1, .36, 1), border-color .2s; } .ds-card:hover { transform: translateY(-3px); border-color: var(--line-2); } .md-lesson:hover .md-lv video { transform: scale(1.02); } }
.ds-btn.primary { transition: transform .16s cubic-bezier(.22, 1, .36, 1), background-color .15s, box-shadow .2s; }
.ds-btn.primary:hover { box-shadow: 0 8px 30px -8px rgba(255, 255, 255, .35); }
.ds-btn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .phone, .flow2-dot { animation: none !important; } }

/* dashboard home: icons, live pulse, colour by state */
.hm-q { position: relative; overflow: hidden; }
.hm-ic { float: right; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--fg-2); }
.hm-q.hm-connected .hm-ic { color: var(--up); border-color: rgba(63, 191, 127, .35); background: var(--up-bg); }
.hm-q.hm-pending .hm-ic { color: var(--warn); border-color: rgba(226, 176, 78, .35); background: var(--warn-bg); }
.hm-next.needs_help .hm-ic { color: var(--down); border-color: rgba(239, 100, 97, .35); background: var(--down-bg); }
.hm-q::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.hm-q.hm-connected::after { background: linear-gradient(90deg, transparent, var(--up), transparent); }
.hm-q.hm-pending::after { background: linear-gradient(90deg, transparent, var(--warn), transparent); }
.hm-q h2 { display: flex; align-items: center; gap: 10px; font-size: 21px !important; }
.hm-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.hm-pulse.connected { background: var(--up); box-shadow: 0 0 0 0 rgba(63, 191, 127, .6); }
.hm-pulse.pending { background: var(--warn); }
html.motion .hm-pulse.connected { animation: jqPulse 2s ease-out infinite; }
@keyframes jqPulse { 0% { box-shadow: 0 0 0 0 rgba(63, 191, 127, .55) } 100% { box-shadow: 0 0 0 12px rgba(63, 191, 127, 0) } }
.hm-trade b[style] { letter-spacing: -.02em; }
.p-main .card { transition: border-color .2s, transform .25s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) { .p-main .hm-q:hover { transform: translateY(-2px); border-color: var(--line-2) !important; } }
.p-nav a .ni { transition: transform .2s; } .p-nav a:hover .ni { transform: scale(1.1); }
/* flow: align icons on one line; the trade list hangs below the last node without moving it */
.flow2 { align-items: start; padding-bottom: 78px; }
.flow2-track { margin: 25px 8px 0 !important; }
.flow2-node.you { position: relative; }
.flow2-log { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-height: 0; }
@media (max-width: 520px) { .flow2 { padding-bottom: 70px; } .flow2-track { margin-top: 20px !important; } }
.hm-q h2 { justify-content: flex-start !important; }
.hm-q h2 > .hm-pulse { margin-left: 0 !important; }

/* reduced-motion visitors: fades instead of movement */
html.motion-lite .mo { opacity: 0; transition: opacity .7s ease var(--mo-d, 0ms); }
html.motion-lite .mo.in { opacity: 1; }
html.motion-lite .flow2-chip.go { animation: jqChipFade 1.5s ease forwards; left: 50%; transform: translateX(-50%); }
@keyframes jqChipFade { 0% { opacity: 0 } 20% { opacity: 1 } 80% { opacity: 1 } 100% { opacity: 0 } }
html.motion-lite .flow2-row { transform: none; }
html.motion-lite .flow2-dot { left: 50%; opacity: .9; }
html.motion-lite .hm-pulse.connected { animation: jqGlow 2.4s ease-in-out infinite; }
@keyframes jqGlow { 0%, 100% { opacity: 1 } 50% { opacity: .45 } }
@media (prefers-reduced-motion: reduce) { .ds-card:hover, .p-main .hm-q:hover { transform: none !important; } .md-lesson:hover .md-lv video { transform: none !important; } }

/* v4.4 richer homepage */
.hx2-phone { position: relative; }
#hero-3d.hx3d { display: block !important; position: absolute; inset: -32% -45%; height: auto; opacity: .9; z-index: 0; pointer-events: none; }
#hero-3d.hx3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
#hero-3d.hx3d .hero-static { display: none; }
.hx2-phone .phone, .hx2-phone figcaption { position: relative; z-index: 1; }
@media (max-width: 900px) { #hero-3d.hx3d { inset: -18% -30%; } }
/* markets + hours */
.mk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .mk-grid { grid-template-columns: 1fr; } }
.mk-card .ds-h3 { margin-bottom: 14px; }
.mk-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 44px; gap: 12px; align-items: center; padding: 7px 0; }
.mk-row span { display: grid; } .mk-row small { font-size: 12px; color: var(--muted); } .mk-row em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.mk-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.mk-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform-origin: left; }
html.motion .mo .mk-bar i, html.motion .mk-card.mo .mk-bar i { transform: scaleX(0); transition: transform 1s cubic-bezier(.22, 1, .36, 1) .2s; }
html.motion .mk-card.mo.in .mk-bar i { transform: none; }
.hr-bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; height: 150px; }
.hr-bars i { display: block; height: calc(6% + var(--v) * 94%); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--brand-2), var(--brand)); opacity: calc(.35 + var(--v) * .65); transform-origin: bottom; }
html.motion .mk-card.mo .hr-bars i { transform: scaleY(0); transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
html.motion .mk-card.mo.in .hr-bars i { transform: none; }
.hr-ax { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.hr-sess { position: relative; height: 18px; margin-top: 6px; font-size: 11px; }
.hr-sess span { position: absolute; top: 0; padding: 1px 6px; border-radius: 4px; background: var(--surface-2); color: var(--fg-2); }
.hr-sess .lon { left: 29%; } .hr-sess .ny { left: 54%; }
/* Jarvis demo */
.jv-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .jv-grid { grid-template-columns: 1fr; gap: 24px; } }
.jv-chat { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 16px; display: grid; gap: 10px; box-shadow: 0 30px 80px -40px var(--brand-glow); min-height: 330px; align-content: start; }
.jv-top { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.jv-top .ds-tag { margin-left: auto; }
.jv-m { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.jv-m.me { justify-self: end; background: var(--fg); color: var(--bg); border-bottom-right-radius: 4px; }
.jv-m.j { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
html.motion .jv-chat.jv-arm .jv-m, html.motion-lite .jv-chat.jv-arm .jv-m { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s cubic-bezier(.22, 1, .36, 1); }
html.motion-lite .jv-chat.jv-arm .jv-m { transform: none; }
.jv-chat .jv-m.on { opacity: 1 !important; transform: none !important; }
.jv-dots { display: inline-flex; gap: 4px; } .jv-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: jvDot 1s infinite; } .jv-dots i:nth-child(2) { animation-delay: .15s } .jv-dots i:nth-child(3) { animation-delay: .3s }
@keyframes jvDot { 0%, 100% { opacity: .3 } 50% { opacity: 1 } }
/* comparison */
.cmp2 th.us, .cmp2 td.us { background: var(--surface-2); color: var(--fg); font-weight: 650; }
.cmp2 th.us { box-shadow: inset 0 3px 0 var(--brand); }
.cmp2 td:first-child { color: var(--muted); }
/* videos strip */
.vs-row { display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.vs-card { display: grid; gap: 8px; scroll-snap-align: start; color: var(--fg) !important; text-decoration: none !important; }
.vs-card video { width: 180px; height: 320px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #000; transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .2s; }
.vs-card b { font-size: 13.5px; line-height: 1.35; }
@media (hover: hover) { .vs-card:hover video { transform: translateY(-4px); border-color: var(--line-2); } }
#hero-3d.hx3d { -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }
.flow2 { padding-bottom: 104px; }
.flow2-log { width: 190px; }
.flow2-row { white-space: nowrap; }
@media (max-width: 520px) { .flow2-log { width: 160px; } .flow2 { padding-bottom: 96px; } }

/* v4.5 Gen Z homepage: one bento grid, swipeable steps, mobile first */
.bento-sec { border-top: 0; padding-top: 24px; }
.bento2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.bt { position: relative; display: grid; align-content: start; gap: 6px; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  color: var(--fg) !important; text-decoration: none !important; overflow: hidden; min-width: 0; transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .2s, background-color .2s; }
@media (hover: hover) { .bt:hover { transform: translateY(-4px) rotate(-.3deg); border-color: var(--line-2); background: var(--surface-2); } }
.bt:active { transform: scale(.98); }
.bt h3 { font-size: 17px; margin: 0 0 4px; letter-spacing: -.01em; }
.bt p { margin: 0; color: var(--fg-2); font-size: 14.5px; }
.bt small, .bt .bt-foot { color: var(--muted); font-size: 12.5px; }
.bt-wide { grid-column: span 2; }
.bt-money { grid-column: span 2; grid-row: span 2; padding: 28px; background:
  radial-gradient(120% 90% at 100% 0%, rgba(61, 139, 255, .28), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(94, 225, 255, .14), transparent 60%), var(--surface); }
.bt-money h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.03em; margin-top: auto; }
.bt-money h3 em { font-style: normal; background: linear-gradient(90deg, #9cc7ff, var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bt-money { align-content: space-between; min-height: 300px; }
.bt-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--brand-2); }
html.motion .bt-ic { animation: jqBob 4s ease-in-out infinite; }
@keyframes jqBob { 0%, 100% { transform: translateY(0) rotate(0) } 50% { transform: translateY(-4px) rotate(-4deg) } }
.bt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bt-chips span { padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); }
.bt-stat b { font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.bt-stat span { font-size: 14px; color: var(--fg-2); }
.bt-fee { background: linear-gradient(160deg, rgba(63, 191, 127, .16), transparent 60%), var(--surface); }
.bt-fee b { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.bt-fee span { font-weight: 600; }
.bt-mk .mk-row { grid-template-columns: 70px minmax(0, 1fr) 40px; padding: 4px 0; }
.bt-jv { padding: 16px; box-shadow: none; min-height: 0; gap: 8px; }
.bt-jv .jv-m { font-size: 13.5px; }
.hr-bars.sm { height: 84px; gap: 2px; }
.bt-hr .hr-bars i { border-radius: 2px 2px 0 0; }
.vs-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.vs-list li { display: grid; grid-template-columns: minmax(0, 1fr) 28px 28px; gap: 8px; align-items: center; font-size: 14px; color: var(--fg-2); }
.vs-list i { font-style: normal; text-align: center; width: 26px; height: 26px; line-height: 26px; border-radius: 8px; font-weight: 800; }
.vs-list i.y { background: var(--up-bg); color: var(--up); } .vs-list i.n { background: var(--down-bg); color: var(--down); }
.vs-key { display: grid; grid-template-columns: minmax(0, 1fr) 64px; justify-items: end; font-size: 11px; color: var(--muted); }
.vs-key span:first-child { grid-column: 2; transform: translateX(-34px); white-space: nowrap; } .vs-key span:last-child { grid-column: 2; white-space: nowrap; }
.vs-key { display: flex; justify-content: flex-end; gap: 10px; }
@media (max-width: 1000px) { .bento2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bt-money { min-height: 260px; } }
@media (max-width: 560px) { .bento2 { gap: 10px; } .bt { padding: 16px; border-radius: 18px; } .bt-money, .bt-wide { grid-column: span 2; } .bt-money { grid-row: auto; min-height: 0; padding: 22px; } .bt-stat b { font-size: 32px; } }
/* steps: four cards, swipe on phones */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.steps3 li { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.steps3 b { font-size: 34px; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(180deg, var(--fg), rgba(237, 237, 239, .25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps3 h3 { font-size: 17px; margin: 0; } .steps3 p { margin: 0; color: var(--fg-2); font-size: 14.5px; }
@media (max-width: 900px) { .steps3 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .steps3 li { scroll-snap-align: start; } }
/* hero on phones: tighter, flow graphic fits the width */
@media (max-width: 560px) {
  .hx2 { padding: 36px 0 12px; }
  .hx2-copy .ds-lead { font-size: 17px; }
  .flow2 { grid-template-columns: 52px minmax(18px, 1fr) 52px minmax(18px, 1fr) 72px; padding-bottom: 0; margin-top: 26px; }
  .flow2-node .ic { width: 44px; height: 44px; border-radius: 14px; }
  .flow2-node b { font-size: 12px; white-space: nowrap; }
  .flow2-track { margin: 21px 4px 0 !important; }
  .flow2-chip { display: none; }
  .flow2-node.you { position: static; }
  .flow2-log { position: static; transform: none; grid-column: 1 / -1; width: 100%; margin-top: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .flow2-row { flex-direction: column; align-items: flex-start; gap: 0; white-space: normal; font-size: 11.5px; }
  .flow2-cap { font-size: 11.5px; }
}
.bt-stat b span { font-size: inherit !important; color: inherit; } .bt-stat b span.down { color: var(--down) !important; }
.vs-key { display: grid !important; grid-template-columns: minmax(0, 1fr) 28px 28px; gap: 8px; justify-items: center; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.vs-key span { transform: none !important; grid-column: auto !important; }
/* flow list: full width under the graphic everywhere */
.flow2-log { grid-column: 1 / -1 !important; grid-row: 2 !important; justify-self: stretch !important; width: 100% !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
/* replay teaser tile: candles rise in one by one */
.bt-rp { background: radial-gradient(100% 120% at 100% 100%, rgba(61, 139, 255, .22), transparent 60%), var(--surface); }
.rp-mini { position: relative; display: grid; grid-template-columns: repeat(18, 1fr); gap: 5px; height: 90px; margin-top: 10px; }
.rp-mini i { position: relative; display: block; }
.rp-mini i::before { content: ""; position: absolute; left: 50%; width: 1px; bottom: var(--lo); top: calc(100% - var(--hi)); background: currentColor; opacity: .6; }
.rp-mini i::after { content: ""; position: absolute; left: 0; right: 0; bottom: var(--b); height: var(--h); border-radius: 2px; background: currentColor; }
.rp-mini i.u { color: var(--up); } .rp-mini i.d { color: var(--down); }
html.motion .bt-rp .rp-mini i, html.motion-lite .bt-rp .rp-mini i { opacity: 0; transition: opacity .3s calc(var(--k) * 70ms), transform .4s cubic-bezier(.22, 1, .36, 1) calc(var(--k) * 70ms); transform: translateY(6px); }
html.motion .bt-rp.mo.in .rp-mini i, html.motion-lite .bt-rp.mo.in .rp-mini i { opacity: 1; transform: none; }
html.motion-lite .bt-rp .rp-mini i { transform: none; }
.rp-go { position: absolute; right: 18px; top: 18px; padding: 6px 12px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 700; font-size: 13px; }
@media (hover: hover) { .bt-rp:hover .rp-go { transform: scale(1.06); } }
.flow2 { padding-bottom: 0 !important; }
.flow2-log { position: static !important; transform: none !important; top: auto !important; left: auto !important; min-height: 0 !important; }
.rp-mini { grid-template-rows: 100%; }
.rp-mini i { height: 100%; }

/* v4.6: ROI tile, starter-guide form, trade pop-ups in the graphite look */
.bt-roi .bt-k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bt-roi b { font-size: clamp(40px, 4.6vw, 54px); }
.bt-roi { background: radial-gradient(110% 100% at 100% 0%, rgba(63, 191, 127, .18), transparent 60%), var(--surface); }
.lead3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 32px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(90% 120% at 0% 0%, rgba(61, 139, 255, .16), transparent 60%), var(--surface); }
.lead3-f { display: grid; gap: 12px; }
.lead3-c { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--fg-2); }
.lead3-c input { margin-top: 3px; }
.lead3-f .out { margin: 0; font-size: 14px; } .lead3-f .out.ok { color: var(--up); } .lead3-f .out.err { color: var(--down); }
@media (max-width: 760px) { .lead3 { grid-template-columns: 1fr; gap: 20px; padding: 22px; } }
.jq-close { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; border-radius: 16px !important; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9) !important; }
.jq-close b em, .jq-close small em { font-style: normal; font-weight: 800; }
.jq-close .up { color: var(--up); } .jq-close .dn { color: var(--down); }
.jq-close small { display: block; color: var(--fg-2); }
.jq-close .jq-close-src { color: var(--muted); font-size: 11px; }
/* phones: trade pop-ups drop in under the header, so they never sit on top of the Ask Jarvis button at the bottom */
@media (max-width: 560px) { .jq-close { left: 12px !important; right: 12px !important; top: calc(68px + env(safe-area-inset-top)) !important; bottom: auto !important; max-width: none !important; } }
/* dashboard on phones: wide tables scroll inside their card, tabs never clip */
@media (max-width: 860px) {
  .p-main .ptbl { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .p-main .tabs a { flex: none; }
  .p-main .grid.g3, .p-main .grid.g4 { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .p-main .kpi { padding: 12px !important; }
  .p-main .kpi b { font-size: 20px !important; }
  .p-main .card { padding: 16px !important; }
  .p-main .p-head p { font-size: 13.5px; }
  .p-main .bk-act { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 900px) { footer.s-foot .f-cols { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 22px 16px !important; } footer.s-foot .f-cols > div { display: grid !important; } }

/* home: latest closes (live) and the fee calculator */
.bt-feed h3 { display: flex; align-items: center; gap: 8px; }
.lc-live { width: 8px; height: 8px; border-radius: 50%; background: #34c77b; box-shadow: 0 0 0 0 rgba(52, 199, 123, .6); animation: lcPulse 2s infinite; }
@keyframes lcPulse { 70% { box-shadow: 0 0 0 8px rgba(52, 199, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 123, 0); } }
@media (prefers-reduced-motion: reduce) { .lc-live { animation: none; } }
.lc-list { list-style: none; margin: 12px 0 10px; padding: 0; display: grid; gap: 2px; }
.lc-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto 34px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.lc-list li:last-child { border-bottom: 0; }
.lc-list li small { color: var(--muted); font-size: 12px; }
.lc-list li em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.lc-list li time { color: var(--muted); font-size: 12px; text-align: right; }
.lc-list .lc-wait { display: block; color: var(--muted); border: 0; }
.lc-dot { width: 8px; height: 8px; border-radius: 50%; }
.lc-dot.up, .lc-list em.up { color: #34c77b; } .lc-dot.up { background: #34c77b; }
.lc-dot.dn, .lc-list em.dn { color: #ff5a52; } .lc-dot.dn { background: #ff5a52; }
.bt-calc .fc-l { display: grid; gap: 6px; font-size: 13px; color: var(--muted); margin: 10px 0 12px; }
.bt-calc .fc-in { display: flex; align-items: center; gap: 4px; font-size: 22px; font-weight: 700; color: var(--fg); border-bottom: 2px solid var(--line-2); padding-bottom: 4px; }
.bt-calc .fc-in input { width: 100%; min-width: 0; background: none; border: 0; color: inherit; font: inherit; outline: none; }
.bt-calc .fc-in:focus-within { border-color: var(--fg); }
.bt-calc .fc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.bt-calc .fc-out span { display: block; font-size: 12px; color: var(--muted); }
.bt-calc .fc-out b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bt-calc .fc-out b.up { color: #34c77b; }
.bt-roi .roi-list { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 6px; }
.bt-roi .roi-list li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 14px; }
.bt-roi .roi-list li span { color: var(--fg-2, inherit); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-roi .roi-list b { font-size: 20px; }
/* Ask Jarvis chat: the design-system reset above blanked the orb and avatar; show the Jarvis icon (12 Nov 2026) */
.jqc .jqc-orb, .jqc .jqc-av { display: inline-block; flex: none; background: #0b1220 url(/css/jarvis-icon.svg) center / 100% no-repeat !important; }
.jqc .jqc-av.jqc-av-team { background: #0b1220 url(/css/atlas-logo.svg) center / cover no-repeat !important; }
/* one-figure ROI tile: fit the number inside the tile (12 Nov 2026) */
.bt-roi { display: flex !important; flex-direction: column; justify-content: center; gap: 6px; overflow: hidden; }
.bt-roi > b { font-size: clamp(30px, 2.9vw, 40px) !important; line-height: 1.05; white-space: nowrap; letter-spacing: -.02em; }
.bt-roi .roi-src { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
