/* ============================================================
   Design tokens + canonical marketing buttons (single source).

   Loaded FIRST on every customer-facing page. Page stylesheets may
   override individual tokens (e.g. styles.css keeps --border-radius:
   14px for the app family until token values are unified).
   ============================================================ */

:root {
  --color-bg: #f6f9fc;
  --color-bg-secondary: #edf2f8;
  --color-ink: #0f172a;
  --color-muted: #5b6677;
  --color-accent: #0f4c81;
  --color-accent-hover: #0b3a66;
  --color-accent-soft: #e2f0fb;
  --color-surface: #ffffff;
  --color-surface-soft: rgba(255, 255, 255, 0.86);
  --color-border: #d4dde8;
  --color-success: #0f766e;

  --font-display: 'Ubuntu', sans-serif;
  --font-serif: 'Ubuntu', sans-serif;
  --font-sans: 'Roboto', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  --spacing-container: max(20px, 6vw);
  --border-radius: 18px;

  /* Layered shadow system */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-soft: 0 4px 16px -6px rgba(15, 23, 42, 0.1),
                 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.14),
               0 2px 6px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.16),
               0 8px 16px -8px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 28px 56px -16px rgba(15, 23, 42, 0.18),
                 0 8px 20px -8px rgba(15, 23, 42, 0.07);
  --shadow-glow: 0 0 60px -20px rgba(15, 76, 129, 0.25);
  --shadow-focus: 0 0 0 4px rgba(15, 76, 129, 0.14);

  /* Gradient vocabulary */
  --gradient-hero: linear-gradient(135deg, #0f4c81 0%, #1a6baa 50%, #0f766e 100%);
  --gradient-surface: linear-gradient(180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(246, 249, 252, 0.85) 100%);
  --gradient-border: linear-gradient(135deg,
    rgba(15, 76, 129, 0.22),
    rgba(15, 118, 110, 0.16));

  /* Animation timing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.7s;

  /* Reveal animation defaults */
  --reveal-distance: 28px;
  --reveal-duration: 0.65s;

  /* Status colors (previously only in styles.css) */
  --color-warning: #b45309;
  --color-error: #b42318;
}
