@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/font-5.ttf) format('truetype');
}

/* Shared foundation: landing, workspace and policy pages.
   Brand palette (Nov 2026): coral = brand/actions; gold = prices; mint = profit/sold/yes; sky = info; violet = era tags; red = wrong/warnings; cream + charcoal = neutrals. */
:root{color-scheme:dark;--bg:#0e1017;--paper:#0e1017;--surface:#171a24;--surface-raised:#1e2230;--ink:#f1f3f9;--muted:#adb5c9;--line:#353c50;--coral:#f05a3b;--coral-ink:#12141c;--accent:#f05a3b;--accent-dark:#ff947d;--accent-soft:#2d201f;--tint:#2d201f;--night:#11131d;--sage:#17362e;--good:#3ddc97;--bad:#ff5c80;--warning:#ffc94a;--gold:#ffc94a;--mint:#3ddc97;--sky:#5ab8ff;--violet:#a78bfa;--red:#ff3d6e;--cream:#f6f1e7;--shadow:0 14px 36px -22px #000b;--radius-sm:12px;--radius-card:22px;--radius-large:32px;--radius-pill:999px;--border-width:1.5px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--font-body:'Instrument Sans',system-ui,-apple-system,sans-serif;--font-display:'Bricolage Grotesque','Instrument Sans',system-ui,sans-serif}
:root[data-theme=light]{color-scheme:light;--bg:#f4f6fb;--paper:#f4f6fb;--surface:#fff;--surface-raised:#f8f9fc;--ink:#12141c;--muted:#5a6072;--line:#d3d8e5;--accent-dark:#bb3a22;--accent-soft:#fde9e4;--tint:#fde9e4;--sage:#e5f2eb;--good:#13754e;--bad:#b82d22;--warning:#805a14;--shadow:0 14px 36px -22px #17213f40}
*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);font-family:var(--font-body);line-height:1.55}button,input,select,textarea{font-family:var(--font-body)}h1,h2,h3,h4,.metric,.price,.analytics-detail,.brand-copy strong{font-family:var(--font-display);letter-spacing:-.025em}h1,h2,h3{line-height:1.12}.metric,.price{font-variant-numeric:tabular-nums}a{color:inherit}input,select,textarea{color:var(--ink);background:var(--surface);border-color:var(--line);accent-color:var(--coral)}:focus-visible{outline:3px solid var(--coral);outline-offset:3px}button,a,input,summary{touch-action:manipulation}button:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:var(--border-width) solid var(--line);border-radius:var(--radius-pill);color:var(--ink);background:var(--surface);font:600 13px var(--font-body);cursor:pointer;white-space:nowrap}.policy{background:var(--surface);border:var(--border-width) solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.info-note{background:var(--tint)}.cta,.secondary{border-radius:var(--radius-pill)}.secondary{background:var(--surface);color:var(--ink)}.skip:focus{background:var(--surface);color:var(--ink)}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Approved artwork is shared by landing, auth and the workspace shell. */
.rai-logo,img.brand-mark{display:block;flex:none;width:40px;height:40px;object-fit:contain;background:transparent!important;box-shadow:none!important;border-radius:0!important}.brand .rai-logo{width:36px;height:36px}.mobile-brand{display:none}.workspace .capture-brand img{object-fit:contain;background:transparent}@media(max-width:900px){.workspace .mobile-brand{display:block}.workspace .top .rai-logo{width:34px;height:34px}.workspace .top>div:first-of-type{flex:1;min-width:0}}
