/* ==========================================================================
   tokens.css — Design tokens (single source of truth)
   WP: maps to theme.json settings / CSS custom properties in the future theme.
   Brand values mirror client-app/src/css/quasar.variables.scss.
   ========================================================================== */

:root {
  /* Brand colors */
  --brand: #1976d2;
  --brand-600: #1565c0;
  --brand-700: #0d47a1;
  --brand-050: #e8f2fd;

  --teal: #00897b;
  --teal-600: #00796b;
  --rose: #d85c7a;

  --success: #16a34a;
  --success-700: #166534;
  --warning: #f59e0b;
  --warning-700: #b45309;
  --danger: #dc2626;
  --danger-700: #b91c1c;
  --info: #0284c7;

  /* Neutrals */
  --ink: #1d1d1d;
  --ink-700: #33373d;
  --muted: #5b6573;
  --muted-light: #6b7585;
  --line: #e6eaf0;
  --line-strong: #d3d9e3;
  --input-border: #7b8696;
  --surface: #f7f9fc;
  --surface-2: #eef2f8;
  --white: #ffffff;

  /* Gradients */
  --grad-hero: radial-gradient(120% 120% at 100% 0%, #e8f2fd 0%, #f7f9fc 45%, #ffffff 100%);
  --grad-cta: linear-gradient(135deg, var(--brand-700) 0%, var(--brand) 55%, var(--teal-600) 120%);

  /* Typography */
  --font-base: "Estedad", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --fs-display: clamp(2rem, 1.2rem + 3.6vw, 3.4rem);
  --fs-hero: clamp(1.625rem, 0.9rem + 2.94vw, 3.25rem);
  --fs-h1: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  --fs-h3: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  --fs-h4: 1.25rem;
  --fs-lead: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;

  --lh-tight: 1.35;
  --lh-snug: 1.5;
  --lh-body: 1.8;

  /* Spacing scale (8px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Section rhythm */
  --section-y: clamp(3.5rem, 2rem + 6vw, 6rem);

  /* Radii */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(16, 32, 64, 0.06);
  --shadow: 0 8px 24px rgba(16, 32, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 32, 64, 0.14);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 0.2s var(--ease);
}
