/* ==========================================================================
   MeroRatnam design tokens
   Every colour, size and timing value used by the site lives here.
   Change the brand here, not in component files.
   ========================================================================== */

:root {
  /* Brand colours (from the PRD) */
  --color-navy: #003366;
  --color-navy-700: #00294f;   /* hover / pressed navy */
  --color-navy-900: #001a33;   /* deepest navy, utility bar and footer */
  --color-navy-50: #eef3f9;    /* tinted navy surface for icon tiles */
  --color-crimson: #DC143C;
  --color-crimson-700: #b80f31;
  --color-crimson-50: #fdecef;

  /* Neutrals */
  --color-bg: #FFFFFF;
  --color-bg-muted: #F8FAFC;
  --color-text: #171717;
  --color-text-muted: #64748B;  /* 4.76:1 on white */
  --color-border: #E5E7EB;
  --color-border-strong: #D1D5DB;

  /* Status (mockups only; always paired with a text label) */
  --color-success: #15803d;
  --color-success-50: #ecfdf3;
  --color-warning: #b45309;
  --color-warning-50: #fff7ed;

  /* Typography */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, "Nirmala UI", "Noto Sans Devanagari", sans-serif;
  --font-devanagari: "Nirmala UI", "Noto Sans Devanagari", "Mangal", "Kohinoor Devanagari", var(--font-sans);
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);   /* section titles */
  --fs-hero: clamp(2.25rem, 1.4rem + 3.2vw, 3.6rem); /* hero headline */

  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.6;

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --section-y: clamp(4rem, 3rem + 4vw, 6.5rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --header-h: 72px;

  /* Shape: deliberately modest radii */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;

  /* Elevation: subtle, cool-toned shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.04), 0 18px 40px -12px rgba(0, 51, 102, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 600ms;

  --focus-ring: 0 0 0 3px rgba(220, 20, 60, 0.35);
}
