/* Theorema Tech — design tokens */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  /* Type */
  --font-sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-serif: "Instrument Serif", "Times New Roman", Times, serif;

  /* Theme: Paper (default) */
  --bg: #f1ede4;
  --bg-2: #e8e3d6;
  --fg: #121211;
  --fg-mute: #6c685e;
  --line: rgba(18, 18, 17, 0.14);
  --line-strong: rgba(18, 18, 17, 0.32);
  --accent: #ff4a1c;
  --accent-fg: #f7f4ec;
  --selection-bg: #121211;
  --selection-fg: #f7f4ec;

  /* Geometry */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Layout */
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="terminal"] {
  --bg: #0d0e0c;
  --bg-2: #151714;
  --fg: #efece3;
  --fg-mute: #7e7c72;
  --line: rgba(239, 236, 227, 0.14);
  --line-strong: rgba(239, 236, 227, 0.32);
  --accent: #d8ff3a;
  --accent-fg: #0d0e0c;
  --selection-bg: #d8ff3a;
  --selection-fg: #0d0e0c;
}

[data-theme="blueprint"] {
  --bg: #ffffff;
  --bg-2: #f4f5f7;
  --fg: #0a0a0c;
  --fg-mute: #6d6f75;
  --line: rgba(10, 10, 12, 0.12);
  --line-strong: rgba(10, 10, 12, 0.32);
  --accent: #1a39ff;
  --accent-fg: #ffffff;
  --selection-bg: #1a39ff;
  --selection-fg: #ffffff;
}
