/* Design tokens — Quibbl hero redesign */

:root {
  /* Surface */
  --bg-top: #07090c;
  --bg-bot: #0b0e14;

  /* Foreground */
  --fg: #f3f1ec;
  --fg-dim: #a7a79e;
  --fg-faint: #5d5d57;

  /* Hairlines + translucent fills */
  --line: rgba(243, 241, 236, 0.08);
  --line-strong: rgba(243, 241, 236, 0.18);
  --pill-bg: rgba(243, 241, 236, 0.04);

  /* Accents — cool palette */
  --accent-a: oklch(0.78 0.16 210);   /* cyan */
  --accent-b: oklch(0.72 0.17 290);   /* violet */
  --accent-c: oklch(0.82 0.14 160);   /* mint */

  /* Typography */
  --font-family: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-heading: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif:   "Instrument Serif", "Times New Roman", serif;
  --font-mono:    "Geist Mono", ui-monospace, Menlo, Consolas, monospace;

  --font-size-xs:   0.75rem;
  --font-size-sm:   0.875rem;
  --font-size-base: 1rem;
  --font-size-lg:   1.125rem;
  --font-size-xl:   1.25rem;
  --font-size-2xl:  1.75rem;
  --font-size-3xl:  2.25rem;
  --font-size-hero: clamp(2.75rem, 7.2vw, 6.5rem);
  --line-height-tight: 1.1;
  --line-height-base:  1.6;
  --letter-spacing-tight: -0.035em;

  /* Spacing (8px base) */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radii */
  --radius-sm:  6px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 140ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 620ms cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-nav: 0 1px 0 var(--line), 0 8px 24px rgba(0, 0, 0, 0.35);

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --nav-height: 4.75rem;

  /* Legacy aliases — kept so auth.css / widget.css / demo.css don't break */
  --color-bg:            var(--bg-bot);
  --color-surface:       rgba(243, 241, 236, 0.03);
  --color-surface-raised: rgba(243, 241, 236, 0.05);
  --color-border:        var(--line);
  --color-border-hover:  var(--line-strong);
  --color-text:          var(--fg);
  --color-text-muted:    var(--fg-dim);
  --color-text-subtle:   var(--fg-faint);
  --color-accent:        var(--accent-a);
  --color-accent-hover:  var(--accent-b);
  --color-accent-glow:   color-mix(in oklab, var(--accent-a) 30%, transparent);
}
