/* Inter 4.1, self-hosted. SIL Open Font License: ../fonts/inter/LICENSE.txt */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter/InterVariable.woff2') format('woff2');
}

/* Instrument Serif, self-hosted. SIL OFL: ../fonts/instrument-serif/OFL.txt */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif/InstrumentSerif-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif/InstrumentSerif-Italic.ttf') format('truetype');
}

/* Shared landing and workspace brand tokens.
   Trading state colors preserve their operational meanings. */
:root {
  --brand-ink:#08090a;
  --brand-secondary:#343a40;
  --brand-muted:#60676e;
  --brand-paper:#ffffff;
  --brand-canvas:#f7f8f9;
  --brand-wash:#f0f2f3;
  --brand-line:#e1e5e8;
  --brand-line-strong:#bfc6cc;
  --brand-action:#08090a;
  --brand-action-hover:#282d31;
  --brand-ui:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --brand-display:"Instrument Serif","Times New Roman",serif;
  --brand-radius:12px;
  --brand-radius-sm:8px;
  --brand-focus:#2456b3;
}
:root {
  /* Preserve product token names to make adoption incremental. */
  --bg:var(--brand-canvas);--surface:var(--brand-paper);--surface2:var(--brand-wash);
  --border:var(--brand-line);--border-strong:var(--brand-line-strong);
  --text:var(--brand-ink);--text-secondary:var(--brand-secondary);--text-dim:var(--brand-muted);
  --accent:var(--brand-action);--accent-hover:var(--brand-action-hover);--accent-bg:#eef0f2;
  --card-bg:var(--brand-paper);--radius:var(--brand-radius);--radius-sm:var(--brand-radius-sm);
  --sans:var(--brand-ui);--serif:var(--brand-display);
  --ink:var(--brand-ink);--muted:var(--brand-muted);--line:var(--brand-line);
  --shadow-sm:0 1px 2px #08090a05;--shadow:0 4px 18px #08090a08;--shadow-lg:0 12px 40px #08090a14;
  --green:#0e6b52;--green-bg:rgba(14,107,82,.10);
  --red:#b3261e;--red-bg:rgba(179,38,30,.08);
  --yellow:#7a5a10;--yellow-bg:rgba(122,90,16,.10);
  --cyan:#2456b3;--cyan-bg:rgba(36,86,179,.08);
}
