/* TradeHub concept screens — tokens and shell. Illustrative mockups, grow2.ai 2026-11-03. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --th-paper: #F1F3EF;
  --th-paper-2: #E9ECE6;
  --th-ink: #161A1D;
  --th-ink-2: #3C4247;
  --th-muted: #5F666B;
  --th-rule: #C9CFC6;
  --th-rule-2: #DCE0D9;
  --th-accent: #1B4FBF;
  --th-accent-ink: #163F99;
  --th-accent-wash: #E4EBFA;
  --th-alert: #B8321E;
  --th-alert-wash: #F8E7E3;
  --th-ok: #1E7A4C;
  --th-ok-wash: #E3F1E9;
  --th-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --th-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --th-radius: 2px;
  --th-max: 1280px;
}

* { box-sizing: border-box; }
html { background: var(--th-paper); color: var(--th-ink); font-family: var(--th-sans); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body { margin: 0; min-height: 100vh; }
::selection { background: var(--th-accent); color: #fff; }
a { color: var(--th-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--th-accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
h1 { font-size: 28px; } h2 { font-size: 20px; } h3 { font-size: 16px; }
p { margin: 0; }
.mono, .num, time, code { font-family: var(--th-mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.muted { color: var(--th-muted); }

/* Shell */
.th-shell { width: 1440px; margin: 0 auto; min-height: 900px; background: var(--th-paper); display: flex; flex-direction: column; }
.th-shell.mobile { width: 390px; min-height: 844px; overflow-x: hidden; }
.mobile table { display: block; overflow-x: auto; max-width: 100%; }
.mobile .th-ledger th, .mobile .th-ledger td { white-space: nowrap; }
.th-nav { display: flex; align-items: center; gap: 28px; height: 56px; padding: 0 40px; border-bottom: 1px solid var(--th-rule); background: var(--th-paper); }
.th-nav .wordmark { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--th-ink); text-decoration: none; }
.th-nav .wordmark small { font-family: var(--th-mono); font-weight: 400; font-size: 11px; color: var(--th-muted); margin-left: 10px; letter-spacing: 0.02em; }
.th-nav ul { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 22px; }
.th-nav li a { font-size: 14px; color: var(--th-ink-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.th-nav li a[aria-current="page"] { color: var(--th-ink); border-bottom-color: var(--th-ink); font-weight: 600; }
.th-nav .who { font-size: 13px; color: var(--th-muted); margin-left: 24px; }
.th-nav .who b { color: var(--th-ink); font-weight: 600; }
.mobile .th-nav { height: 52px; padding: 0 16px; gap: 12px; }
.mobile .th-nav ul { display: none; }
.th-main { flex: 1; padding: 36px 40px 48px; max-width: 100%; }
.mobile .th-main { padding: 20px 16px 32px; }
.th-foot { border-top: 1px solid var(--th-rule); padding: 12px 40px; display: flex; justify-content: space-between; font-family: var(--th-mono); font-size: 11px; color: var(--th-muted); letter-spacing: 0.01em; }
.mobile .th-foot { padding: 10px 16px; flex-direction: column; gap: 4px; }

/* Illustrative badge: a ruled stamp, not a chip */
.th-badge-illustrative { display: inline-block; font-family: var(--th-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--th-muted); border: 1px solid var(--th-rule); padding: 3px 8px; border-radius: var(--th-radius); }

/* Page header inside main */
.th-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--th-ink); margin-bottom: 24px; }
.th-head .sub { color: var(--th-muted); font-size: 14px; margin-top: 6px; }
.th-head .meta { font-family: var(--th-mono); font-size: 12px; color: var(--th-muted); text-align: right; line-height: 1.6; }
.mobile .th-head { flex-direction: column; align-items: flex-start; gap: 8px; }
.mobile .th-head .meta { text-align: left; }

/* Grid helpers */
.th-cols { display: grid; gap: 32px; }
.th-cols.c-2 { grid-template-columns: 1fr 1fr; }
.th-cols.c-21 { grid-template-columns: 2fr 1fr; }
.th-cols.c-12 { grid-template-columns: 1fr 2fr; }
.th-cols.c-3 { grid-template-columns: 1fr 1fr 1fr; }
.mobile .th-cols, .mobile .th-cols.c-2, .mobile .th-cols.c-21, .mobile .th-cols.c-12, .mobile .th-cols.c-3 { grid-template-columns: 1fr; gap: 20px; }
