/* Deal Finder design system — tokens.css
   Generated from the design system's tokens.json (modern SaaS redesign, 2026-10-25).
   Light is the default; dark follows the OS (prefers-color-scheme), and
   data-theme="light|dark" on <html> forces either. */

:root {
  --bg: #f7f7f8;
  --panel: #ffffff;
  --panel-2: #f1f1f3;
  --text: #18181b;
  --muted: #5f5f6b;
  --border: #e4e4e7;
  --border-strong: #8a8a95;
  --accent: #18181b;
  --accent-hover: #3f3f46;
  --accent-text: #ffffff;
  --brand: #6550c8;
  --brand-bg: #f0edfd;
  --on-brand: #ffffff;
  --focus: var(--brand);
  --good: #17784b;
  --good-bg: #e5f5ec;
  --warn: #8a5300;
  --warn-bg: #fdf1d8;
  --bad: #c2282d;
  --bad-bg: #fdebec;
  --info: #0b6a85;
  --info-bg: #e1f3f8;
  --negotiate: #1d5bbf;
  --negotiate-bg: #e8effc;
  --neutral-bg: #ececef;
  --guide-info: #8a5300;
  --guide-warn: #c2282d;
  --scrim: rgba(9, 9, 11, .45);
  --shadow: 0 1px 2px rgba(9, 9, 11, .05);
  --shadow-pop: 0 12px 32px -8px rgba(9, 9, 11, .18), 0 2px 6px rgba(9, 9, 11, .06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c0e;
    --panel: #151518;
    --panel-2: #1d1d21;
    --text: #ededef;
    --muted: #a0a0ab;
    --border: #2a2a30;
    --border-strong: #6b6b76;
    --accent: #fafafa;
    --accent-hover: #d4d4d8;
    --accent-text: #18181b;
    --brand: #a594fb;
    --brand-bg: #231d45;
    --on-brand: #130f2b;
    --focus: var(--brand);
    --good: #4bd896;
    --good-bg: #10291d;
    --warn: #f2c35a;
    --warn-bg: #2e230b;
    --bad: #ff8e8e;
    --bad-bg: #381416;
    --info: #6fd0ec;
    --info-bg: #0e2c36;
    --negotiate: #93b9f7;
    --negotiate-bg: #162a4b;
    --neutral-bg: #26262b;
    --guide-info: #f2c35a;
    --guide-warn: #ff8e8e;
    --scrim: rgba(0, 0, 0, .6);
    --shadow: none;
    --shadow-pop: 0 16px 40px -8px rgba(0, 0, 0, .7);
  }
}

:root[data-theme="dark"] {
  --bg: #0c0c0e;
  --panel: #151518;
  --panel-2: #1d1d21;
  --text: #ededef;
  --muted: #a0a0ab;
  --border: #2a2a30;
  --border-strong: #6b6b76;
  --accent: #fafafa;
  --accent-hover: #d4d4d8;
  --accent-text: #18181b;
  --brand: #a594fb;
  --brand-bg: #231d45;
  --on-brand: #130f2b;
  --focus: var(--brand);
  --good: #4bd896;
  --good-bg: #10291d;
  --warn: #f2c35a;
  --warn-bg: #2e230b;
  --bad: #ff8e8e;
  --bad-bg: #381416;
  --info: #6fd0ec;
  --info-bg: #0e2c36;
  --negotiate: #93b9f7;
  --negotiate-bg: #162a4b;
  --neutral-bg: #26262b;
  --guide-info: #f2c35a;
  --guide-warn: #ff8e8e;
  --scrim: rgba(0, 0, 0, .6);
  --shadow: none;
  --shadow-pop: 0 16px 40px -8px rgba(0, 0, 0, .7);
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 48px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-control: 8px;
  --radius-input: 8px;
  --radius-tag: 6px;
  --radius-pill: 999px;
  --control-h: 44px;
  --control-h-sm: 32px;
  --topbar-h: 56px;
  --content-max: 1320px;
  --font-sans: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Text styles: apply as class="t-<name>" */
.t-brand { font: 650 18px/24px var(--font-sans); letter-spacing: -0.02em; }
.t-page-title { font: 600 26px/34px var(--font-sans); letter-spacing: -0.02em; }
.t-deal-title { font: 600 28px/36px var(--font-sans); letter-spacing: -0.02em; }
.t-card-title { font: 600 18px/26px var(--font-sans); letter-spacing: -0.01em; }
.t-overline { font: 600 13px/18px var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase; }
.t-display-price { font: 600 38px/46px var(--font-sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.t-stat-value { font: 600 28px/36px var(--font-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.t-card-price { font: 600 24px/32px var(--font-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.t-metric { font: 600 16px/22px var(--font-sans); font-variant-numeric: tabular-nums; }
.t-prompt { font: 400 19px/28px var(--font-sans); }
.t-report { font: 400 18px/32px var(--font-sans); }
.t-body { font: 400 16px/22px var(--font-sans); }
.t-body-small { font: 400 15px/20px var(--font-sans); }
.t-label { font: 500 14px/18px var(--font-sans); }
.t-small { font: 400 14px/18px var(--font-sans); }
.t-pill { font: 550 14px/18px var(--font-sans); }
.t-tag { font: 500 13px/18px var(--font-sans); }
.t-guide { font: 400 14px/18px var(--font-sans); }
.t-code { font: 400 14px/20px var(--font-mono); }
