@import url("/css/dark-site.css");
:root{--font:"Hanken Grotesk",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-weight:400;font-size:17px;line-height:28px}[hidden]{display:none!important}
a{color:var(--link);text-underline-offset:4px}a:hover{color:var(--ink)}button,input{font:inherit}button,a,input,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--link);outline-offset:4px}
.skip-link{position:absolute;left:24px;top:-100px;background:var(--paper);padding:10px;z-index:10}.skip-link:focus{top:10px}
.shell{max-width:1184px;margin:auto;padding:0 40px}.site-header{border-bottom:1px solid var(--rule)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:96px}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:700;font-size:22px;line-height:28px}.brand img{width:32px;height:32px}.site-nav{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.site-nav a:not(.button){color:var(--ink);text-decoration:none}.site-nav a:hover{text-decoration:underline}
.button,button{display:inline-block;background:var(--action);color:var(--cta-text);border:1px solid var(--action);border-radius:6px;padding:10px 20px;font-weight:600;text-decoration:none;cursor:pointer}.button:hover,button:hover{background:var(--cta-hover);color:var(--cta-text)}.text-button{background:none;border:0;border-radius:0;color:var(--link);padding:0;text-decoration:underline;font-weight:400}.text-button:hover{background:none;color:var(--ink)}button:disabled{background:var(--rule);border-color:var(--rule);color:var(--secondary);cursor:default}
h1{font-size:52px;line-height:56px;font-weight:700;margin:0 0 24px;max-width:23ch}h2{font-size:32px;line-height:38px;font-weight:700;margin:0 0 24px}h3{font-size:22px;line-height:28px;font-weight:600;margin:0 0 16px}p,li,dd{max-width:68ch}p{margin:0 0 20px}.lead{font-size:21px;line-height:30px;color:var(--secondary);max-width:62ch}.hero{padding:72px 0 56px}.caption,small{font-size:14px;line-height:20px}.caption{color:var(--secondary)}
.product-row{display:grid;grid-template-columns:1fr 1.18fr;gap:64px;padding:56px 0;border-top:1px solid var(--rule)}.product-row h2 a{color:var(--ink);text-decoration:none}.facts{padding-left:22px;margin:24px 0}.facts li{margin:8px 0}.section{border-top:1px solid var(--rule);padding:48px 0}.section-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:52px}.steps{margin:0;padding-left:24px}.steps li{padding-left:8px;margin:0 0 20px}.settings{margin:0}.settings div{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;padding:16px 0;border-bottom:1px solid var(--rule)}.settings div:first-child{padding-top:0}dt{font-weight:600}dd{margin:0;color:var(--secondary)}.actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:28px}
.record{background:var(--record);color:var(--record-text);border:1px solid var(--record-rule);border-radius:10px;box-shadow:var(--tq-card-shadow);overflow:hidden;font-variant-numeric:tabular-nums}.record-heading{padding:20px 28px;border-bottom:1px solid var(--record-rule);display:flex;justify-content:space-between;gap:16px;color:var(--record-muted);font-size:14px;line-height:20px}.record-lines{list-style:none;margin:0;padding:8px 28px 16px}.record-lines li{display:grid;grid-template-columns:86px minmax(0,1fr);gap:24px;padding:20px 0;border-bottom:1px solid var(--record-rule);max-width:none}.record-lines li:last-child{border:0}.record time{color:var(--record-muted);font-size:14px;line-height:28px}.record strong{display:block;font-weight:600}.record .detail{color:var(--record-muted);font-size:14px;line-height:20px;display:block;margin-top:4px}.record .buy{color:var(--buy)}.record .sell{color:var(--sell)}.product-record{margin-bottom:56px}.product-record .record-lines li{padding:24px 0}.product-page .record-lines li{animation:record-line 300ms both;animation-delay:calc(var(--line)*120ms)}.product-page .record-lines li:nth-child(1){--line:0}.product-page .record-lines li:nth-child(2){--line:1}.product-page .record-lines li:nth-child(3){--line:2}.product-page .record-lines li:nth-child(4){--line:3}@keyframes record-line{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.product-page .record-lines li{animation:none}}
.broker-list{display:flex;gap:16px 36px;flex-wrap:wrap;margin-bottom:20px}.broker-list span{font-weight:600}.site-footer{border-top:1px solid var(--rule);padding:40px 0}.footer-links{display:flex;gap:16px 24px;flex-wrap:wrap;margin:20px 0}.site-footer p{font-size:14px;line-height:20px;color:var(--secondary);margin-bottom:0}
.account-page .hero{padding-bottom:12px}.account-page section,.account-page details{padding:32px 0;border-top:1px solid var(--rule)}.account-page form{max-width:420px}.account-page label{display:block;margin:0 0 20px}.account-page input{width:100%;display:block;padding:10px 12px;margin-top:6px;background:var(--surface2);color:var(--ink);border:1px solid #697586;border-radius:0}.account-page #forgot{margin-top:16px}.account-page pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-width:68ch}.account-page code{font:inherit;overflow-wrap:anywhere}.account-page summary{font-weight:600;cursor:pointer}.account-page #notice:empty{display:none}.account-page #notice{max-width:68ch}.account-page #release-hash{overflow-wrap:anywhere}.account-page #download{background:var(--action);color:var(--cta-text);padding:10px 20px;border-radius:6px;text-decoration:none;display:inline-block;margin-bottom:20px}.account-page #account button{margin:0 20px 12px 0}
@media(max-width:900px){.product-row{gap:32px;grid-template-columns:1fr 1fr}.section-grid{grid-template-columns:1fr;gap:12px}.site-nav{gap:16px}.header-inner{gap:20px}.shell{padding:0 28px}}
@media(max-width:640px){.shell{padding:0 20px}.header-inner{align-items:flex-start;flex-direction:column;padding:20px;gap:16px}.site-nav{gap:12px 20px;font-size:14px;line-height:20px;width:100%}.site-nav .button{padding:8px 12px}h1{font-size:36px;line-height:42px;max-width:100%}.hero{padding:44px 0 36px}.product-row{grid-template-columns:1fr;gap:24px;padding:36px 0}.section{padding:36px 0}.record-heading{padding:16px 20px;flex-wrap:wrap;gap:4px 16px}.record-lines{padding:0 20px 8px}.record-lines li{grid-template-columns:1fr;gap:4px;padding:16px 0}.product-record .record-lines li{padding:18px 0}.settings div{grid-template-columns:1fr;gap:4px}.product-record{margin-bottom:36px}.actions{gap:20px}.site-footer{padding:32px 0}}

@media(forced-colors:active){.record{border-color:CanvasText}.button,button,.account-page input{border-color:ButtonText}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline-color:Highlight}}

.text-button:disabled{background:none;border:0;color:var(--secondary);text-decoration:none}

.legal-page{padding-top:48px;padding-bottom:64px}.legal-page h1{margin-top:24px}.legal-page h2{margin-top:40px}.legal-page h3{margin-top:24px}.legal-page table{border-collapse:collapse;width:100%;font-size:14px;line-height:20px}.legal-page th,.legal-page td{padding:12px;border:1px solid var(--rule);text-align:left;overflow-wrap:anywhere}.legal-page .legal-footer{margin-top:40px}.legal-page a{overflow-wrap:anywhere}

.app-screen { margin: 0; min-width: 0; }
.app-screen picture, .app-screen img { display: block; width: 100%; height: auto; }
.app-screen figcaption { color: var(--secondary); font-size: 14px; line-height: 20px; margin-top: 12px; }
.screen-gallery > h2 { margin-bottom: 28px; }
.screen-gallery .app-screen + .app-screen { margin-top: 40px; }



/* The real renderer captures and records share one restrained frame. */
.hero { position:relative; isolation:isolate; background:none; }
.hero::before { content:none; }
.site-header { position: sticky; top: 0; z-index: 5; background: #000000e8; backdrop-filter: blur(12px); }
.record, .app-screen picture { border:1px solid var(--border); border-radius:10px; box-shadow:var(--tq-card-shadow); }
.record { background:var(--surface); }
.app-screen picture { background:var(--bg); overflow:hidden; }
.app-screen img { border-radius: 9px; }
.button, button, .account-page #download { color: var(--cta-text); }
.button:hover, button:hover { background: var(--cta-hover); color: var(--cta-text); }
@media(prefers-reduced-motion:no-preference){ .button:hover, button:hover { transform:translateY(-1px); } }
.text-button, .text-button:hover { color: var(--link); background: transparent; transform: none; }
.account-page input { background: var(--surface2); border-color: var(--border2); border-radius: 6px; }
.account-page #download { color: var(--cta-text); }
@media(max-width:640px) { .site-header { position: relative; } }

.app-screen.screen-detail picture { background: var(--surface); }


.legal-page code, .legal-page pre { font-family:"Hanken Grotesk",sans-serif; font-size:inherit; line-height:inherit; white-space:pre-wrap; overflow-wrap:anywhere; }
/* A single gallery measure includes narrow content crops as part of the set. */
.screen-gallery .app-screen { width:100%; max-width:none; }
.product-row, .section { border-top:1px solid var(--border); }

.screen-crops { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; margin-top:40px; align-items:start; }
.screen-crops .app-screen + .app-screen { margin-top:0; }
@media(max-width:640px){ .screen-crops { grid-template-columns:1fr; gap:32px; } }
.account-page input:focus-visible { outline:3px solid var(--link); outline-offset:3px; }

.legal-page .legal-meta { margin-bottom:28px; color:var(--secondary); font-size:14px; line-height:20px; }

/* Trade confirms its own web session before showing the account section. */
body:has(.account-page #account:not([hidden])) .site-header .site-nav .button[href="https://app.tradesmq.com/login"] { display:none; }

.legal-page .legal-footer { display:flex; flex-wrap:wrap; gap:16px 24px; padding-top:24px; border-top:1px solid var(--rule); font-size:14px; line-height:20px; }
.legal-page .legal-footer > span { flex-basis:100%; color:var(--secondary); }
