/* TraderDesk website — design system
   Light editorial default, full dark theme via [data-theme="dark"].
   No external fonts or libraries: system UI + monospace values. */

:root {
  --bg: #f4f6f7;
  --bg-elev: #ffffff;
  --bg-soft: #eceff1;
  --bg-deep: #e4e9ec;
  --ink: #0a1020;
  --ink-2: #283140;
  --muted: #596475;
  --line: #dfe4e8;
  --line-strong: #c8d1d8;
  --navy: #0a1020;
  --navy-2: #0e1729;
  --green: #0f9d58;
  --green-strong: #0a7a44;
  --green-soft: #e4f6eb;
  --green-line: #b9e6cb;
  --danger: #d9363e;
  --danger-soft: #fdecec;
  --warning: #b45309;
  --warning-soft: #fff5e6;
  --shadow-sm: 0 1px 2px rgba(10, 16, 32, .05);
  --shadow: 0 1px 0 rgba(10, 16, 32, .03), 0 22px 50px -30px rgba(10, 16, 32, .32);
  --shadow-lg: 0 30px 80px -40px rgba(10, 16, 32, .5);
  --sans: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1180px;
  --header: 74px;
}

html[data-theme="dark"] {
  --bg: #060a13;
  --bg-elev: #0c1322;
  --bg-soft: #0a101d;
  --bg-deep: #080e1a;
  --ink: #eef3ff;
  --ink-2: #c8d3e6;
  --muted: #9aa7bd;
  --line: #1d2940;
  --line-strong: #2b3b57;
  --navy: #070d18;
  --navy-2: #0b1424;
  --green: #34d399;
  --green-strong: #6ee7b7;
  --green-soft: rgba(16, 185, 129, .12);
  --green-line: rgba(52, 211, 153, .3);
  --danger: #ff7b7b;
  --danger-soft: rgba(217, 54, 62, .13);
  --warning: #fbbf24;
  --warning-soft: rgba(180, 83, 9, .14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 0 rgba(255, 255, 255, .02), 0 22px 50px -30px rgba(0, 0, 0, .8);
  --shadow-lg: 0 30px 80px -40px rgba(0, 0, 0, .9);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); }

:focus-visible {
  outline: 2px solid var(--green-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 18px;
  border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.container-narrow { width: min(860px, calc(100% - 48px)); margin: 0 auto; }

.scroll-progress {
  position: fixed; left: 0; top: 0; height: 2px; width: 0;
  background: var(--green); z-index: 120; pointer-events: none;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 32px -24px rgba(10, 16, 32, .45); }
html[data-theme="dark"] .site-header { background: color-mix(in srgb, var(--bg) 84%, transparent); }

.nav { display: flex; align-items: center; gap: 26px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.04em; color: var(--ink); }
.brand-sub { font-size: .68rem; color: var(--muted); font-weight: 500; margin-top: 3px; letter-spacing: .01em; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 10px; }
.nav-links a {
  font-size: .92rem; font-weight: 600; color: var(--ink-2);
  padding: 8px 0; position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-elev);
  color: var(--ink-2); transition: border-color .2s, color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--line-strong); color: var(--ink); transform: translateY(-1px); }
.theme-toggle .ico-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ico-moon { display: block; }

.menu-toggle {
  display: none; width: 40px; height: 40px; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-elev); color: var(--ink);
}
.mobile-nav { display: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: .92rem; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn .ico { flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -14px rgba(10, 16, 32, .8); }
.btn-dark:hover { background: #121c31; box-shadow: 0 14px 28px -14px rgba(10, 16, 32, .75); }
html[data-theme="dark"] .btn-dark { background: #eef3ff; color: #08101e; }
html[data-theme="dark"] .btn-dark:hover { background: #fff; }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--bg-elev); }
.btn-green { background: var(--green); color: #04150c; }
.btn-green:hover { background: #0b8a4c; }
html[data-theme="dark"] .btn-green { color: #04150c; }
.btn-light { background: #fff; color: #0a1020; box-shadow: 0 10px 26px -16px rgba(0, 0, 0, .6); }
.btn-light:hover { background: #f1f5f9; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .07); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .84rem; border-radius: 8px; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-strong); font-size: .7rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.3;
}
.eyebrow-light { color: #5eead4; }
.lede { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.small { font-size: .82rem; color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 44px; }
.section-heading.compact { margin-bottom: 26px; }
.section-heading h2 {
  margin: 14px 0 0; font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02; letter-spacing: -.05em; max-width: 19ch;
}
.section-heading.center { text-align: center; }
.section-heading.center h2 { margin-left: auto; margin-right: auto; }
.section-lede { color: var(--muted); font-size: 1.04rem; line-height: 1.72; max-width: 64ch; margin-top: 18px; }
.section-cta { margin-top: 26px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 72px 0 60px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 78%);
  opacity: .55;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1.06fr; gap: 56px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.15rem); line-height: .95; letter-spacing: -.058em;
  margin: 20px 0 0; max-width: 12ch;
}
.hero-lede { margin: 24px 0 0; color: var(--muted); font-size: 1.09rem; line-height: 1.72; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: .82rem; color: var(--muted); line-height: 1.6; max-width: 52ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px;
  border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.badge .dot.red { background: var(--danger); }

.hero-visual { position: relative; }
.video-card {
  position: relative; border-radius: 16px; overflow: hidden; background: #050a12;
  border: 1px solid #1d2940; box-shadow: 0 40px 90px -42px rgba(10, 16, 32, .65);
}
.video-wrap { position: relative; aspect-ratio: 1280 / 760; background: #050a12; }
.video-wrap video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-cover {
  position: absolute; inset: 0; border: 0; padding: 0; background: transparent;
  display: grid; place-items: center; cursor: pointer;
}
.video-cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 20, .04) 30%, rgba(4, 10, 20, .38));
}
.play-btn {
  position: relative; z-index: 1; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: #0a1020;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); transition: transform .2s ease;
}
.video-cover:hover .play-btn { transform: scale(1.07); }
.play-btn .ico { margin-left: 3px; }
.video-label {
  position: absolute; z-index: 1; left: 14px; bottom: 14px; display: inline-flex;
  align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px;
  background: rgba(5, 10, 18, .72); border: 1px solid rgba(255, 255, 255, .14);
  color: #e9eefc; font-size: .72rem; font-weight: 600; backdrop-filter: blur(8px);
}
.video-label .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.video-caption { margin-top: 12px; color: var(--muted); font-size: .8rem; display: flex; justify-content: space-between; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-tag {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line);
  color: var(--ink-2); font-size: .78rem; font-weight: 600;
}
.hero-candles {
  position: absolute; right: -30px; bottom: -46px; width: 115%; max-width: none;
  opacity: .42; pointer-events: none; z-index: 0;
}
html[data-theme="dark"] .hero-candles { opacity: .28; }

/* ---------------------------------------------------------------- broker strip */
.broker-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.broker-strip-inner { display: flex; align-items: center; gap: 26px; padding: 15px 0; overflow-x: auto; scrollbar-width: none; }
.broker-strip-inner::-webkit-scrollbar { display: none; }
.broker-strip-label { flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.broker-strip a {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: .86rem; font-weight: 700; color: var(--ink-2); transition: color .18s;
}
.broker-strip a:hover { color: var(--green-strong); }
.broker-strip a .ico { opacity: .45; width: 13px; height: 13px; }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 1px;
  background: var(--line-strong); transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1) .15s;
}
.steps.visible::before { transform: scaleX(1); }
.step { position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--mono); font-size: .78rem;
  position: relative; z-index: 1; margin-bottom: 20px;
  box-shadow: 0 0 0 8px var(--bg);
}
.section-soft .step-num { box-shadow: 0 0 0 8px var(--bg-soft); }
html[data-theme="dark"] .step-num { background: #eef3ff; color: #08101e; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; line-height: 1.65; }

/* ---------------------------------------------------------------- dark band */
.band-dark { background: #080e1b; color: #f2f6ff; }
html[data-theme="dark"] .band-dark { background: #050a13; }
.band-dark h2, .band-dark h3, .band-dark h1 { color: #fff; }
.band-dark p, .band-dark li { color: #aab7cc; }
.band-dark .section-lede { color: #aab7cc; }
.band-dark .eyebrow { color: #5eead4; }
.band-dark .step-num, .band-dark .step-num { box-shadow: 0 0 0 8px #080e1b; }
.band-dark .faq-list, .band-dark .faq-item { border-color: rgba(148, 163, 184, .2); }
.band-dark .risk-list, .band-dark .risk-row { border-color: rgba(148, 163, 184, .18); }

/* try it */
.try-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.order-demo {
  background: #0d1627; border: 1px solid #22314c; border-radius: 16px; padding: 16px;
  box-shadow: 0 34px 80px -40px rgba(0, 0, 0, .8);
}
.order-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.order-tab {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #2a3a56; background: #111d32; color: #9fb0c9; border-radius: 8px;
  min-height: 48px; font-weight: 800; font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase;
}
.order-tab.buy { background: rgba(16, 185, 129, .16); border-color: rgba(52, 211, 153, .5); color: #4ade80; }
.order-tab.sell { background: rgba(248, 113, 113, .14); border-color: rgba(248, 113, 113, .45); color: #f87171; }
.order-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px solid #1b2740; }
.order-line span:first-child { color: #8294ad; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.order-line strong { color: #edf3ff; font-size: .86rem; font-weight: 600; text-align: right; }
.order-quote { margin: 14px 0; padding: 12px 14px; border-radius: 8px; background: #0a1322; border: 1px solid #1b2740; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.order-quote strong { display: block; color: #6ee7b7; font-family: var(--mono); font-size: 1.45rem; letter-spacing: -.03em; }
.order-quote span { display: block; color: #8294ad; font-size: .72rem; margin-top: 2px; }
.order-quote .chg { color: #ff8b8b; font-family: var(--mono); font-size: .8rem; }
.order-place { width: 100%; min-height: 46px; border: 0; border-radius: 7px; background: #34e39a; color: #04150c; font-weight: 800; font-size: .9rem; }
.demo-note { margin-top: 14px; color: #7f90a8; font-size: .76rem; line-height: 1.55; }

.account-stack { display: grid; gap: 12px; position: relative; }
.account-card {
  position: relative; display: flex; align-items: center; gap: 14px;
  background: rgba(16, 185, 129, .055); border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 12px; padding: 14px 16px;
}
.account-card::before {
  content: ""; position: absolute; left: -42px; top: 50%; width: 42px;
  border-top: 2px dashed rgba(52, 211, 153, .32);
}
.account-card::after {
  content: ""; position: absolute; left: -46px; top: 50%; width: 6px; height: 6px;
  border-radius: 50%; background: #34d399; transform: translateY(-50%);
}
.account-check { width: 24px; height: 24px; flex: none; border-radius: 6px; display: grid; place-items: center; background: #34e39a; color: #04150c; }
.account-copy strong { display: block; color: #f2f6ff; font-size: .95rem; }
.account-copy span { display: block; color: #8fa1b9; font-size: .78rem; margin-top: 2px; }
.account-amt { margin-left: auto; color: #d8e2f2; font-family: var(--mono); font-size: .8rem; white-space: nowrap; }

/* ---------------------------------------------------------------- showcase */
.showcase { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 44px; align-items: start; }
.show-tabs { display: grid; gap: 4px; position: sticky; top: calc(var(--header) + 22px); }
.show-tab {
  display: block; width: 100%; text-align: left; padding: 13px 16px; border: 0;
  border-left: 2px solid transparent; background: transparent; color: var(--muted);
  border-radius: 0 8px 8px 0; font-weight: 700; font-size: .93rem; transition: all .18s;
}
.show-tab small { display: block; font-weight: 400; font-size: .78rem; margin-top: 3px; color: var(--muted); }
.show-tab:hover { color: var(--ink); background: color-mix(in srgb, var(--bg-elev) 60%, transparent); }
.show-tab[aria-selected="true"] {
  background: var(--bg-elev); border-left-color: var(--green); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.show-panel { display: none; }
.show-panel.is-active { display: block; animation: panelIn .4s cubic-bezier(.22, 1, .36, 1); }
.show-panel h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); letter-spacing: -.04em; margin-bottom: 12px; }
.show-panel > p { color: var(--muted); line-height: 1.72; max-width: 66ch; }
.show-list { list-style: none; display: grid; gap: 10px; margin: 20px 0 24px; }
.show-list li { display: flex; gap: 12px; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.show-list li::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--green); margin-top: .7em; }

.shot { margin: 0; }
.shot-btn {
  position: relative; display: block; width: 100%; border: 1px solid #1d2940; border-radius: 12px;
  overflow: hidden; background: #050a12; padding: 0;
}
.shot-btn img { display: block; width: 100%; height: auto; }
.shot-zoom {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px; background: rgba(5, 10, 18, .8);
  border: 1px solid rgba(255, 255, 255, .16); color: #e8eefc; font-size: .72rem; font-weight: 600;
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.shot-btn:hover .shot-zoom, .shot-btn:focus-visible .shot-zoom { opacity: 1; transform: none; }
.shot figcaption { margin-top: 8px; color: var(--muted); font-size: .78rem; }

/* ---------------------------------------------------------------- risk */
.risk-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 64px; align-items: start; }
.risk-note {
  border-left: 3px solid var(--danger); padding: 2px 0 2px 16px;
  color: var(--ink-2); font-weight: 600; font-size: .95rem; line-height: 1.6; margin-top: 24px;
}
.risk-list { display: grid; }
.risk-flow { list-style: none; display: grid; gap: 14px; margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); }
.risk-flow li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.risk-flow li > span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-strong);
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
}
.risk-flow strong { display: block; font-size: .9rem; }
.risk-flow p { color: var(--muted); font-size: .84rem; line-height: 1.55; margin-top: 2px; }
.risk-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.risk-row:first-child { border-top: 1px solid var(--line); }
.risk-row h3 { font-weight: 700; font-size: .98rem; letter-spacing: 0; margin: 0; }
.risk-row .risk-tag {
  margin: 0; color: var(--muted); font-family: var(--mono); font-size: .7rem;
  letter-spacing: .06em; text-transform: uppercase; text-align: right; padding-top: 3px;
}
.risk-row p { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; line-height: 1.6; }

/* ---------------------------------------------------------------- brokers */
.broker-table { border-top: 1px solid var(--line); }
.broker-row {
  display: grid; grid-template-columns: 1.16fr 1fr 1.05fr; gap: 24px; align-items: center;
  padding: 20px 8px; border-bottom: 1px solid var(--line); transition: background .2s;
}
.broker-row:hover { background: color-mix(in srgb, var(--bg-soft) 70%, transparent); }
.broker-name { font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 7px; }
.broker-name .ico { opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; color: var(--green-strong); }
.broker-row:hover .broker-name .ico { opacity: 1; transform: none; }
.broker-short { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; line-height: 1.5; }
.broker-cred { color: var(--muted); font-size: .88rem; }
.seg {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px;
  border-radius: 999px; background: var(--green-soft); border: 1px solid var(--green-line);
  color: var(--green-strong); font-size: .68rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; margin: 3px 4px 3px 0;
}
.broker-row .seg:last-child { margin-right: 0; }

/* ---------------------------------------------------------------- facts + compare */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.fact dt { color: var(--muted); font-size: .82rem; }
.fact dd { margin: 0; font-weight: 600; font-size: .9rem; line-height: 1.55; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .9rem; }
.compare thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; width: 24%; }
.compare td:nth-child(2) { background: color-mix(in srgb, var(--green-soft) 45%, transparent); }
.compare .tick { color: var(--green-strong); font-weight: 700; }
.compare .dash { color: var(--muted); }
.table-note { margin-top: 12px; color: var(--muted); font-size: .8rem; line-height: 1.6; }

/* ---------------------------------------------------------------- beta */
.beta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.beta-offer { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.beta-offer li { display: flex; gap: 11px; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.beta-offer .ico { color: var(--green-strong); flex: none; margin-top: 2px; }
.band-dark .beta-offer li { color: #b9c6da; }
.band-dark .beta-offer .ico { color: #34e39a; }
.beta-card {
  background: #ffffff; color: #0a1020; border: 1px solid #e2e7eb; border-radius: 16px;
  padding: 26px; box-shadow: 0 40px 90px -45px rgba(0, 0, 0, .7);
}
.beta-card .form-kicker { color: #5c6677; font-size: .8rem; margin-bottom: 18px; }
.beta-form { display: grid; gap: 14px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: .8rem; font-weight: 700; color: #283140; padding: 0; }
.field .optional { color: #647084; font-weight: 500; }
.field input, .field select {
  width: 100%; height: 44px; border: 1px solid #cbd3da; border-radius: 8px;
  background: #fbfcfd; color: #0a1020; padding: 0 12px; font-size: .9rem;
  transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder { color: #98a1ad; }
.field input:focus, .field select:focus {
  outline: 0; border-color: #0f9d58; box-shadow: 0 0 0 3px rgba(15, 157, 88, .16);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #d9363e; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px;
  border: 1px solid #cbd3da; border-radius: 999px; background: #fff;
  font-size: .82rem; font-weight: 600; color: #3a4351; cursor: pointer; transition: all .15s;
}
.chip-check input:checked + span { background: #0a1020; border-color: #0a1020; color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid #0f9d58; outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: #5c6677; line-height: 1.55; }
.consent input { margin-top: 3px; accent-color: #0f9d58; flex: none; }
.consent a { color: #0a7a44; text-decoration: underline; text-underline-offset: 2px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.beta-card .btn-dark { background: #0a1020; color: #fff; }
.beta-card .btn-dark:hover { background: #182339; }
.form-status { min-height: 1.2em; font-size: .8rem; color: #b42318; }
.form-status.is-ok { color: #0a7a44; }
.form-small { color: #5c6677; font-size: .76rem; line-height: 1.55; }
.beta-thanks { text-align: center; padding: 26px 8px; }
.beta-thanks .thanks-icon {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #e4f6eb; color: #0a7a44; margin: 0 auto 16px;
}
.beta-thanks h3 { color: #0a1020; font-size: 1.4rem; margin-bottom: 10px; }
.beta-thanks p { color: #5c6677; font-size: .9rem; line-height: 1.65; margin-bottom: 8px; }

/* ---------------------------------------------------------------- faq */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; padding: 19px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h2, .faq-item summary h3 {
  margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.4;
}
.faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: var(--ink-2); transform: translate(-50%, -50%); transition: transform .2s;
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 44px 20px 0; color: var(--muted); font-size: .94rem; line-height: 1.72; max-width: 78ch; }
.faq-answer a { color: var(--green-strong); text-decoration: underline; text-underline-offset: 2px; }

/* ---------------------------------------------------------------- page hero */
.page-hero { padding: 44px 0 44px; border-bottom: 1px solid var(--line); }
.breadcrumbs { margin-bottom: 26px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: .78rem; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current="page"] { color: var(--ink-2); font-weight: 600; }
.page-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: .99; letter-spacing: -.055em; margin: 14px 0 0; max-width: 19ch; }
.page-answer { margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.72; max-width: 66ch; }
.page-hero .cta-actions { margin-top: 26px; }

/* ---------------------------------------------------------------- prose */
.prose { max-width: 760px; }
.prose-wide { max-width: 900px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -.04em; margin-top: 44px; line-height: 1.12; }
.prose h3 { font-size: 1.25rem; letter-spacing: -.025em; margin-top: 32px; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.78; font-size: 1rem; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--green-strong); }
.prose a { color: var(--green-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 26px 0; padding: 18px 22px; border-left: 3px solid var(--green);
  background: var(--green-soft); color: var(--ink-2); border-radius: 0 8px 8px 0;
}
.prose code {
  font-family: var(--mono); font-size: .86em; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px;
}
.prose pre {
  background: #0a1020; color: #d7e2f5; padding: 18px; border-radius: 10px;
  overflow-x: auto; border: 1px solid #1d2940;
}
.prose pre code { background: transparent; border: 0; padding: 0; color: inherit; font-size: .84rem; }
.prose img { border-radius: 12px; border: 1px solid var(--line); }
.prose hr { margin: 36px 0; }

/* ---------------------------------------------------------------- feature rows / cards */
.feature-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding: 42px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row.reverse { grid-template-columns: 1.1fr .9fr; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-media { order: 1; }
.feature-copy h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.045em; margin-bottom: 14px; }
.feature-copy h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature-copy > p { color: var(--muted); line-height: 1.72; }
.feature-copy .check-list { margin-top: 18px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.check-list .ico { color: var(--green-strong); flex: none; margin-top: 2px; }
.feature-media .shot-btn { box-shadow: var(--shadow); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s, box-shadow .2s;
}
a.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card .icon-box {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-strong); margin-bottom: 16px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--green-strong); font-size: .84rem; font-weight: 700; }

.post-card { display: flex; flex-direction: column; height: 100%; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.post-card h2, .post-card h3 { font-size: 1.15rem; line-height: 1.3; margin: 10px 0 8px; }
.post-card p { flex: 1; }
.post-card .card-link { margin-top: 16px; }

.callout {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
  background: var(--bg-elev); color: var(--ink-2); font-size: .92rem; line-height: 1.7;
}
.callout strong { color: var(--ink); }
.callout-warn { border-color: #f0d3a8; background: var(--warning-soft); }
.callout-info { border-color: var(--green-line); background: var(--green-soft); }
.callout-danger { border-color: #f3c1c1; background: var(--danger-soft); }
html[data-theme="dark"] .callout-warn { border-color: rgba(251, 191, 36, .3); }
html[data-theme="dark"] .callout-danger { border-color: rgba(255, 123, 123, .3); }
.callout h3, .callout .callout-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.callout p + p { margin-top: 8px; }

/* ---------------------------------------------------------------- download */
.download-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 32px; align-items: start; }
.download-card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.download-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.download-card .dl-sub { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.spec-list { display: grid; border-top: 1px solid var(--line); margin-bottom: 22px; }
.spec-row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.spec-row span { color: var(--muted); }
.spec-row strong { font-weight: 600; text-align: right; }
.hash-box {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft);
  margin: 8px 0 18px;
}
.hash-box code {
  font-family: var(--mono); font-size: .72rem; line-height: 1.55; word-break: break-all;
  color: var(--ink-2); flex: 1;
}
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 9px;
  border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg-elev);
  font-size: .72rem; font-weight: 700; color: var(--ink-2);
}
.copy-btn:hover { border-color: var(--green-strong); color: var(--green-strong); }
.code-block { position: relative; background: #0a1020; border: 1px solid #1d2940; border-radius: 10px; padding: 16px 52px 16px 16px; overflow-x: auto; }
.code-block code { font-family: var(--mono); color: #d7e2f5; font-size: .8rem; line-height: 1.7; white-space: pre; }
.code-block .copy-btn { position: absolute; top: 10px; right: 10px; background: #111c30; border-color: #2b3b57; color: #c6d2e6; }
.code-block .copy-btn:hover { border-color: #6ee7b7; color: #6ee7b7; }
.step-list { list-style: none; display: grid; gap: 16px; counter-reset: dl; }
.step-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; counter-increment: dl; }
.step-list li::before {
  content: counter(dl); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-family: var(--mono); font-size: .74rem; font-weight: 700;
}
html[data-theme="dark"] .step-list li::before { background: #eef3ff; color: #08101e; }
.step-list h3 { font-size: .98rem; margin-bottom: 3px; }
.step-list p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #070d18; color: #c7d2e5; padding: 60px 0 24px; border-top: 1px solid #1a2538; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr .75fr .85fr; gap: 36px; }
.footer-brand { margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #8ea0bb; }
.footer-blurb { color: #8ea0bb; font-size: .84rem; line-height: 1.65; max-width: 34ch; margin-top: 14px; }
.footer-title { font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-links a { color: #9fb0c9; font-size: .84rem; transition: color .18s; }
.footer-links a:hover { color: #fff; }
.footer-links .footer-more {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border: 1px solid rgba(148, 163, 184, .38); border-radius: 999px;
  color: #d7e3f4; font-size: .8rem; font-weight: 600;
}
.footer-links .footer-more:hover {
  border-color: rgba(52, 211, 153, .7); background: rgba(52, 211, 153, .1); color: #fff;
}
.footer-links .footer-more span { transition: transform .18s; }
.footer-links .footer-more:hover span { transform: translateX(2px); }
.footer-disclaimer {
  border-top: 1px solid #1a2538; margin-top: 38px; padding-top: 22px;
  color: #8496b0; font-size: .75rem; line-height: 1.7;
}
.footer-disclaimer strong { color: #b9c7dd; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  border-top: 1px solid #1a2538; margin-top: 18px; padding-top: 18px;
  color: #8496b0; font-size: .76rem;
}
.footer-bottom a { color: #a9b8cf; }
.footer-bottom a:hover { color: #fff; }

/* ---------------------------------------------------------------- cookie + lightbox */
.cookie {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 90;
  max-width: 520px; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px; box-shadow: var(--shadow-lg);
  display: none;
}
.cookie.is-visible { display: block; animation: panelIn .4s cubic-bezier(.22, 1, .36, 1); }
.cookie p { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.cookie p + p { margin-top: 6px; }
.cookie a { color: var(--green-strong); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; margin-top: 12px; }

dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh;
  border-radius: 12px; overflow: visible;
}
dialog.lightbox::backdrop { background: rgba(3, 7, 16, .84); backdrop-filter: blur(6px); }
dialog.lightbox img { display: block; max-width: 94vw; max-height: 88vh; border-radius: 10px; border: 1px solid #2b3b57; background: #050a12; }
.lightbox-close {
  position: fixed; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(10, 16, 32, .8);
  color: #fff; display: grid; place-items: center; z-index: 2;
}
.lightbox-close:hover { background: #0a1020; }

/* ---------------------------------------------------------------- animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes floatOrb { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .86rem; }
  .hero-grid { gap: 36px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 5.6vw, 4.4rem); }
  .try-grid, .risk-grid { gap: 40px; }
  .showcase { grid-template-columns: 250px 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr .8fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child .footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions .btn-outline { display: none; }
  .menu-toggle { display: grid; }
  .nav { gap: 12px; }
  .mobile-nav {
    position: fixed; inset: var(--header) 0 0 0; z-index: 65; display: none;
    background: var(--bg); border-top: 1px solid var(--line); padding: 18px 24px 40px;
    overflow-y: auto;
  }
  .mobile-nav.is-open { display: block; animation: panelIn .22s ease; }
  .mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1rem; }
  .mobile-nav .mobile-actions { display: grid; gap: 10px; margin-top: 22px; }
  .mobile-nav .btn { width: 100%; }
  .mobile-nav .mobile-label { margin: 22px 0 4px; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
  .mobile-nav .mobile-small { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .mobile-nav .mobile-small a { font-size: .86rem; font-weight: 500; color: var(--muted); }

  .hero { padding-top: 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-visual { max-width: 720px; }
  .hero-candles { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 26px; }
  .steps::before { display: none; }
  .try-grid, .risk-grid, .download-grid, .beta-grid { grid-template-columns: 1fr; gap: 36px; }
  .try-grid .account-stack { max-width: 620px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 26px; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .feature-media { order: initial; }
  .facts { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .show-tabs { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .show-tab { flex: none; width: auto; border-left: 0; border-bottom: 2px solid transparent; border-radius: 8px 8px 0 0; padding: 11px 14px; }
  .show-tab[aria-selected="true"] { border-left: 0; border-bottom-color: var(--green); }
  .show-tab small { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:nth-child(4) { grid-column: auto; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header: 66px; }
  .container, .container-narrow { width: calc(100% - 32px); }
  .section { padding: 68px 0; }
  .section-tight { padding: 48px 0; }
  .page-hero { padding: 34px 0 34px; }
  .hero { padding: 42px 0 44px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 10.5vw, 3.5rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-note { font-size: .78rem; }
  .broker-strip-inner { gap: 18px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1rem; }
  .nav-actions .btn-dark { display: none; }
  .header-cta-mobile { display: inline-flex !important; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; }
  .step-num { margin-bottom: 0; }
  .step h3 { grid-column: 2; }
  .step p { grid-column: 2; }
  .broker-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 17px 4px; }
  .broker-row .broker-cell:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .broker-row .broker-cell:nth-child(3) { display: none; }
  .risk-row { grid-template-columns: 1fr; gap: 3px; }
  .risk-row .risk-tag { text-align: left; padding-top: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .beta-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .cookie { left: 16px; right: 16px; bottom: 16px; }
  .account-card::before, .account-card::after { display: none; }
  .faq-answer { padding-right: 0; }
  .page-hero h1 { max-width: none; }
  .video-caption { flex-direction: column; gap: 4px; }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: 2.45rem; }
  .btn { padding: 0 15px; font-size: .87rem; }
  .hero-badges { gap: 6px; }
  .badge { font-size: .74rem; min-height: 31px; }
  .show-tab { font-size: .84rem; }
  .order-demo { padding: 12px; }
  .order-line strong { font-size: .8rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .steps::before { transform: scaleX(1); }
  .tilt { transform: none !important; }
}

@media print {
  .site-header, .site-footer, .cookie, .scroll-progress, .skip-link, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ================================================================ extras */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.linklike {
  background: none; border: 0; padding: 0; color: inherit;
  font: inherit; font-size: .84rem; text-align: left; cursor: pointer;
}
.footer-links .linklike { color: #9fb0c9; }
.footer-links .linklike:hover { color: #fff; }

.text-link {
  color: var(--green-strong); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }

.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }

.badge-dark {
  background: rgba(16, 185, 129, .1); border-color: rgba(52, 211, 153, .35);
  color: #d6f5e7; margin-bottom: 20px;
}
.band-dark .badge-dark { color: #d6f5e7; }

/* stats */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px;
}
.stat strong {
  display: block; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1;
  letter-spacing: -.05em; font-family: var(--mono); font-variant-numeric: tabular-nums;
}
.stat span { display: block; color: var(--muted); font-size: .8rem; margin-top: 7px; }

/* split layout */
.split-copy { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: start; }
.split-copy > .prose { max-width: none; }
.split-copy h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.045em; margin-bottom: 14px; }
.split-copy + .split-copy { margin-top: 44px; }

/* fake UI panel (positions illustration) */
.ui-mock {
  border: 1px solid #1d2940; border-radius: 12px; background: #0a1322;
  overflow: hidden; box-shadow: var(--shadow);
}
.ui-mock-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border-bottom: 1px solid #1b2740; color: #c9d6ea;
  font-size: .78rem; font-weight: 700; background: #0d1a2c;
}
.ui-mock-bar span { display: inline-flex; align-items: center; gap: 7px; }
.ui-pill {
  padding: 3px 8px; border-radius: 999px; background: rgba(251, 191, 36, .14);
  border: 1px solid rgba(251, 191, 36, .32); color: #fbbf24;
  font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
}
.ui-table { padding: 6px 14px 12px; font-size: .8rem; }
.ui-tr {
  display: grid; grid-template-columns: 1fr 1.2fr .7fr 1fr; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid #16223a; color: #dbe6f7;
}
.ui-tr:last-child { border-bottom: 0; }
.ui-th { color: #7f90a8; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.ui-mock-note { padding: 0 14px 14px; color: #7f90a8; font-size: .7rem; }
.pos { color: #4ade80; }
.neg { color: #ff8b8b; }

/* fact card */
.fact-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.fact-list { display: grid; margin-top: 14px; }
.fact-list > div {
  display: grid; grid-template-columns: 112px 1fr; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.fact-list > div:last-child { border-bottom: 0; }
.fact-list dt { color: var(--muted); font-size: .8rem; }
.fact-list dd { margin: 0; font-weight: 600; font-size: .88rem; line-height: 1.5; }
.fact-list dd a { color: var(--green-strong); text-decoration: underline; text-underline-offset: 2px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.contact-card .icon-box {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-strong); margin-bottom: 16px;
}
.contact-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.contact-card > p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 16px; }
.contact-link {
  display: block; font-weight: 700; font-size: .98rem; color: var(--ink);
  word-break: break-word; margin-bottom: 14px;
}
.contact-link:hover { color: var(--green-strong); }

/* pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-elev);
  color: var(--ink-2); font-size: .83rem; font-weight: 600;
  transition: border-color .18s, color .18s, transform .18s;
}
.pill-link:hover { border-color: var(--green-line); color: var(--green-strong); transform: translateY(-1px); }

/* faq page */
.faq-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.faq-group { margin-bottom: 44px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group > h2 {
  font-size: 1.3rem; letter-spacing: -.03em; margin-bottom: 8px;
  padding-bottom: 12px; border-bottom: 2px solid var(--ink);
}
.faq-group .faq-list { border-top: 0; }

/* security box */
.security-box {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.security-box h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.security-box p { color: var(--muted); font-size: .9rem; line-height: 1.68; }

/* callout list */
.callout-list { list-style: none; display: grid; gap: 7px; margin-top: 10px; }
.callout-list li {
  position: relative; padding-left: 16px; color: var(--ink-2);
  font-size: .9rem; line-height: 1.6;
}
.callout-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--warning);
}

/* article header */
.post-header { margin-bottom: 28px; }
.post-header .post-meta { font-size: .78rem; }

/* seg row */
.seg-row { display: flex; flex-wrap: wrap; }

/* tilt */
.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

/* project section anchor offset already handled by scroll-padding */

@media (max-width: 960px) {
  .split-copy { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .stats-row { gap: 22px; }
  .fact-list > div { grid-template-columns: 96px 1fr; }
  .contact-card { padding: 20px; }
}

/* mobile menu buttons must not inherit the link row layout */
.mobile-nav .mobile-actions .btn { justify-content: center; width: 100%; }

/* the hidden attribute must win over component display rules */
[hidden] { display: none !important; }

/* call-to-action band */
.cta-band {
  background: #080e1b; color: #f2f6ff; padding: 62px 0;
  border-top: 1px solid #1a2538;
}
html[data-theme="dark"] .cta-band { background: #050a13; }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 44px; flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -.045em; margin-top: 10px; max-width: 24ch;
}
.cta-band p { color: #aab7cc; margin-top: 12px; max-width: 56ch; font-size: .98rem; line-height: 1.7; }
.cta-band .cta-actions { flex: none; }
.cta-band .eyebrow { color: #5eead4; }

@media (max-width: 860px) {
  .cta-band { padding: 48px 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .cta-band h2 { max-width: none; }
}
