/* Hallmark · macrostructure: Split Studio · tone: atmospheric · anchor hue: cool-blue
 * theme: Midnight (dark paper · electric blue accent · geometric sans display)
 * studied: yes · DNA-source: reference (Claude split-screen composition adapted for LLM Fusion)
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  /* ── Paper / Background — LibreChat white ───────────── */
  --color-paper: #ffffff;
  --color-paper-2: #f4f5f7;
  --color-paper-3: #eaebed;
  --color-paper-4: #dde0e4;

  /* ── Ink / Text — dark on white ─────────────────────── */
  --color-ink: #1a1a2e;
  --color-ink-dim: #555568;
  --color-ink-muted: #888899;
  --color-ink-subtle: #b0b0be;

  /* ── Accent: Electric Blue ──────────────────────────── */
  --color-accent: #6a9bcc;
  --color-accent-bright: #82b4dd;
  --color-accent-dim: #4a7a9c;
  --color-accent-glow: rgba(106, 155, 204, 0.25);

  /* ── Brand Dot Colors (from BrandMark SVG) ──────────── */
  --color-brand-orange: #d97757;
  --color-brand-blue: #6a9bcc;
  --color-brand-lime: #c0ff00;
  --color-brand-gold: #c9a227;

  /* ── Semantic / State ───────────────────────────────── */
  --color-surface-overlay: rgba(255, 255, 255, 0.85);
  --color-border: #dde0e4;
  --color-border-hover: #aab0b8;
  --color-focus: rgba(106, 155, 204, 0.6);
  --color-success: #3fb950;
  --color-warning: #d29922;

  /* ── Display & Body Fonts ───────────────────────────── */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* ── Type Scale ─────────────────────────────────────── */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --text-lg: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  --text-xl: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --text-2xl: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  --text-3xl: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
  --text-4xl: clamp(2.1rem, 1.7rem + 1.5vw, 2.8rem);
  --text-5xl: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  --text-6xl: clamp(3.2rem, 2.4rem + 3vw, 4.5rem);
  --text-display: clamp(3.5rem, 2.5rem + 5vw, 6rem);
  --text-display-s: clamp(2.8rem, 2rem + 4vw, 4rem);
  --text-display-xxl: clamp(4.5rem, 3.5rem + 6vw, 8rem);

  /* ── Spacing (4pt scale) ────────────────────────────── */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 0.75rem;   /* 12px */
  --space-lg: 1rem;      /* 16px */
  --space-xl: 1.5rem;    /* 24px */
  --space-2xl: 2rem;     /* 32px */
  --space-3xl: 3rem;     /* 48px */
  --space-4xl: 4rem;     /* 64px */
  --space-5xl: 6rem;     /* 96px */
  --space-6xl: 8rem;     /* 128px */

  /* ── Border Radius ──────────────────────────────────── */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* ── Easings ────────────────────────────────────────── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);

  /* ── Durations ──────────────────────────────────────── */
  --dur-fast: 0.15s;
  --dur-normal: 0.25s;
  --dur-slow: 0.4s;
  --dur-slower: 0.6s;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font: inherit;
}

/* ── Utility ────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4xl);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
