/* CORVUS — design tokens. Única fuente de colores, tipos, espacios y tiempos (ver DESIGN.md). */
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  /* Color */
  --obsidian: #09090B;
  --carbon: #121217;
  --raised: #19171F;
  --amethyst: #21182E;
  --violet: #68439B;
  --violet-active: #8053B3;
  --violet-text: #B79BE0;
  --silver: #B9AEC9;
  --ash: #F0EDF4;
  --mute: #928B9E;
  --line: #292530;
  --ok: #6FBF8E;
  --warn: #D9A54A;
  --bad: #E0675F;
  --heat-0: #1E1826; --heat-1: #2E2140; --heat-2: #46305F; --heat-3: #68439B; --heat-4: #8E66C4; --heat-5: #C2A6EE;

  /* Tipografía */
  --font: "Geist", -apple-system, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --t-display: 2.5rem; --lh-display: 2.75rem;
  --t-title: 1.75rem; --lh-title: 2rem;
  --t-head: 1.25rem; --lh-head: 1.625rem;
  --t-body: 1rem; --lh-body: 1.375rem;
  --t-label: 0.8125rem; --lh-label: 1.125rem;
  --t-micro: 0.6875rem; --lh-micro: 0.875rem;

  /* Espacio */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --gutter: var(--s4);

  /* Forma */
  --r-s: 6px; --r-m: 10px; --r-l: 16px;
  --tap: 44px; --tap-gym: 52px;

  /* Movimiento */
  --d-fast: 120ms; --d-base: 220ms; --d-sheet: 340ms;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-sheet: cubic-bezier(.32, .72, 0, 1);

  /* Sistema */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 56px;
}
@media (min-width: 414px) { :root { --gutter: var(--s5); } }
@media (prefers-reduced-motion: reduce) { :root { --d-fast: 1ms; --d-base: 1ms; --d-sheet: 1ms; } }
