/* ChalkTrade (chalktrade.xyz): one stylesheet. Dark only. Tokens and type match the positioning site: Kalam for headings,
   IBM Plex Sans (variable, 400 to 600) for everything else, charcoal surfaces, mint for long / grey for short. Fonts are
   self-hosted (/fonts, OFL). Same-origin only: no inline style anywhere (the vhost's CSP forbids it). */
@font-face {
  font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/kalam-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/fonts/ibm-plex-sans.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --page: #17181b;
  --surface: #1e1f23;
  --raised: #27282d;
  --ink: #e7e9ed;
  --ink2: #b7bbc4;
  --muted: #8b909b;
  --border: #2d2f35;
  --axis: #3c3f47;
  --long: #81c784;
  --short: #787b86;
  --short-ink: #aab0ba;
  --on-long: #10180f;
  --long-line: rgba(129, 199, 132, 0.45);
  --long-wash: rgba(129, 199, 132, 0.10);
  --link: #b7bbc4;
  --head: "Kalam", "Segoe Print", "Bradley Hand", cursive;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 14px/1.5 var(--body);
  font-variant-numeric: tabular-nums;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
p a, li a, footer a { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-family: var(--head); font-weight: 700; font-size: clamp(34px, 5vw, 52px); }
h2 { font-family: var(--head); font-weight: 700; font-size: 22px; }
h3, .lab { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
p { margin: 0 0 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pos { color: var(--long); }
.neg { color: var(--short-ink); }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }

/* header */
.top { border-bottom: 1px solid var(--border); background: var(--surface); }
.top > .wrap { display: flex; align-items: center; gap: 18px; min-height: 54px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { font-family: var(--head); font-size: 22px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 20px; height: 20px; display: inline-block; }
.pill { font-size: 12px; color: var(--ink2); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.nav { display: flex; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.nav a { color: var(--ink2); }
.nav a:hover { color: var(--ink); }
.status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--axis); border-radius: 6px; padding: 3px 9px;
}
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--short); }

/* hero: the pitch left, the fee in numbers right */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 48px 0 18px; }
.hero .lede { color: var(--ink2); font-size: 17px; line-height: 1.5; max-width: 560px; margin: 16px 0 0; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero .note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 32px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; padding: 9px 15px; font-size: 13px; font-weight: 600; border: 1px solid var(--axis); background: var(--raised); color: var(--ink); white-space: nowrap; }
.btn:hover { text-decoration: none; color: var(--ink); background: var(--axis); }
.btn.pri { background: var(--long); color: var(--on-long); border-color: var(--long); }
.btn.pri:hover { color: var(--on-long); background: #93d195; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin: 14px 0; }
.card p { color: var(--ink2); }
.card p:last-child { margin-bottom: 0; }
.card h2 + p { margin-top: 8px; }
.sec { margin: 34px 0 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; }
.grid3 .card { margin: 0; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.tag { display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--long); border: 1px solid var(--long-line); border-radius: 5px; padding: 1px 7px; margin-left: 6px; }

/* the hero's side card: copy trading, four rows */
.side { margin: 0; }
.side h3 { margin-bottom: 4px; }
.kv { margin: 0; }
.kv > div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; font-size: 13px; }
.kv > div + div { border-top: 1px solid var(--border); }
.kv dt { font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.1; color: var(--long); }
.kv dd { margin: 0; color: var(--ink2); }

/* the steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; color: var(--ink2); }
.steps li::before { content: counter(s); display: block; font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1; color: var(--long); margin-bottom: 8px; }
.steps li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

footer { margin: 40px 0 32px; font-size: 12px; color: var(--muted); }
footer .wrap { border-top: 1px solid var(--border); padding-top: 14px; }
