/* QR Location design tokens: one source for landing, console, phone pages and PDF.
   Color carries meaning: one color per channel, one accent for actions. */
:root {
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Neutrals (light) */
  --paper: #ffffff;
  --paper-2: #f3f6fb;
  --paper-3: #e9eef6;
  --ink: #0b1f3a;
  --ink-2: #2b3a55;
  --muted: #5d6a82;
  --line: #dfe5ef;
  --line-strong: #c5cedd;

  /* Accent: the signal */
  --accent: #0ea67e;
  --accent-ink: #0a7d5f;
  --accent-bright: #2bd6a6;
  --accent-soft: #dcf5ec;
  --accent-rgb: 14 166 126;

  /* Channels: the same color follows a channel through map, charts, cards and QR labels */
  --ch-lineal: #f2a900;
  --ch-exterior: #ff5a5f;
  --ch-evento: #7c5cff;
  --ch-tv: #2f6bff;
  --ch-packaging: #2db45a;
  --ch-digital: #00b5d8;
  --ch-local: #ff8a3d;
  --ch-otro: #8c97ad;

  /* Shape and depth */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 10px 30px -12px rgba(11, 31, 58, .18);
  --shadow-accent: 0 12px 40px -14px rgba(var(--accent-rgb) / .55);

  /* Motion */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  /* Type scale (1.25) */
  --t-xs: 12px;
  --t-sm: 14px;
  --t-base: 16px;
  --t-md: 18px;
  --t-lg: 22px;
  --t-xl: 28px;
  --t-2xl: 36px;
  --t-3xl: 48px;
  --t-4xl: clamp(40px, 6vw, 68px);

  color-scheme: light;
}

/* Dark surfaces (console default, hero demo card, phone page) */
.dark, [data-theme='dark'] {
  --paper: #0f1626;
  --paper-2: #151d30;
  --paper-3: #1c2639;
  --ink: #eef2f8;
  --ink-2: #c9d2e3;
  --muted: #8d98b0;
  --line: #243049;
  --line-strong: #34436a;
  --accent: #2bd6a6;
  --accent-ink: #7fe8c9;
  --accent-soft: #123a33;
  --accent-rgb: 43 214 166;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 40px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur: 0ms;
    --dur-slow: 0ms;
  }
}
