/* Rodaí Design System — tokens (cores, tipografia, espaçamento, base). Copiados do projeto "Rodaí Design System". */
:root {
  --black: #050506; --white: #ffffff;
  --ink-950: #0d0e12; --ink-900: #131519; --ink-850: #181a1f; --ink-800: #1e2027; --ink-700: #292c34;
  --ink-600: #3b3f49; --ink-500: #565b67; --ink-400: #767b88; --ink-300: #9a9fac; --ink-200: #c3c7d0; --ink-100: #e5e7ec; --ink-050: #f5f6f8;
  --purple-900: #241a52; --purple-800: #33257a; --purple-700: #4a37ab; --purple-600: #5a43c9; --purple-500: #6e56e3;
  --purple-400: #8b77ee; --purple-300: #b0a3f5; --purple-200: #d3cbfa;
  --amber-600: #d99420; --amber-500: #f0a92e; --amber-400: #f7b93e; --amber-300: #fbd076;
  --coral-600: #e14d5f; --coral-500: #f4576b; --coral-400: #ff6b7d; --coral-300: #ff97a4;
  --emerald-600: #159f6e; --emerald-500: #1fbd85; --emerald-400: #34d99b; --emerald-300: #79ebc0;

  --bg: var(--ink-950); --bg-elevated: var(--ink-900);
  --surface-1: var(--ink-850); --surface-2: var(--ink-800); --surface-3: var(--ink-700); --surface-inset: var(--ink-900);
  --text-1: var(--ink-050); --text-2: var(--ink-200); --text-3: var(--ink-400);
  --text-on-purple: #ffffff; --text-on-accent: var(--ink-950);
  --text-link: var(--purple-300); --text-link-hover: var(--amber-400);
  --brand: var(--purple-500); --brand-hover: var(--purple-400); --brand-active: var(--purple-600);
  --accent: var(--amber-400); --accent-hover: var(--amber-300);
  --border: rgba(255, 255, 255, 0.09); --border-strong: rgba(255, 255, 255, 0.16);
  --border-brand: rgba(110, 86, 227, 0.55); --border-amber: rgba(247, 185, 62, 0.55);
  --border-coral: rgba(255, 107, 125, 0.55); --border-emerald: rgba(52, 217, 155, 0.55);
  --tint-purple: rgba(110, 86, 227, 0.15); --tint-purple-strong: rgba(110, 86, 227, 0.26);
  --tint-amber: rgba(247, 185, 62, 0.14); --tint-coral: rgba(255, 107, 125, 0.14);
  --tint-emerald: rgba(52, 217, 155, 0.14); --tint-neutral: rgba(255, 255, 255, 0.05);
  --status-queued: var(--purple-400); --status-analyzing: var(--amber-400); --status-delivered: var(--emerald-400);
  --success: var(--emerald-400); --danger: var(--coral-500); --danger-bg: rgba(244, 87, 107, 0.16);

  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', ui-monospace, monospace;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;
  --text-xs: 0.75rem; --text-sm: 0.8125rem; --text-base: 0.9375rem; --text-md: 1rem; --text-lg: 1.125rem; --text-xl: 1.375rem;
  --text-2xl: 1.75rem; --text-3xl: clamp(2rem, 6vw, 2.5rem); --text-4xl: clamp(2.5rem, 8vw, 3.25rem);
  --lh-tight: 1.04; --lh-snug: 1.18; --lh-normal: 1.5; --lh-relaxed: 1.65;
  --ls-tighter: -0.03em; --ls-tight: -0.015em; --ls-normal: 0; --ls-wide: 0.04em; --ls-wider: 0.12em;

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --radius-sm: 0.5rem; --radius-md: 0.75rem; --radius-lg: 1rem; --radius-xl: 1.5rem; --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4); --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.45); --shadow-pop: 0 20px 60px rgba(0, 0, 0, 0.55);
  --glow-purple: 0 0 0 1px rgba(110, 86, 227, 0.35), 0 12px 40px rgba(110, 86, 227, 0.30);
  --glow-amber: 0 0 0 1px rgba(247, 185, 62, 0.32), 0 10px 32px rgba(247, 185, 62, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --dur-fast: 120ms; --dur: 200ms; --dur-slow: 380ms;
}
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text-2); font-family: var(--font-body); font-size: var(--text-md); line-height: var(--lh-normal); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-1); font-weight: var(--fw-bold); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--text-link); text-decoration: none; transition: color var(--dur) var(--ease-out); }
a:hover { color: var(--text-link-hover); }
::selection { background: var(--tint-amber); color: var(--text-1); }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--ink-700); border-radius: 99px; }
