/* ==========================================================================
   Design tokens — Clarity Financial Services Limited
   Brand red and ink are sampled from the official logo file
   (assets/brand/clarity-logo.png): #D8261A and #212121.
   ========================================================================== */

:root {
  /* Brand */
  --c-red: #d8261a;          /* logo red — 4.98:1 on white (AA for body text) */
  --c-red-600: #b81e14;      /* hover / pressed */
  --c-red-700: #94180f;
  --c-red-100: #fadcd9;
  --c-red-50: #fdf2f1;
  --c-ink: #141414;          /* headings */
  --c-ink-2: #212121;        /* logo black */
  --c-muted: #565a61;        /* body copy — 6.9:1 on white */
  --c-line: #e7e8eb;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f6f7;
  --c-focus: #141414;

  /* Type */
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, 0.05);
  --shadow-md: 0 10px 30px -16px rgba(20, 20, 20, 0.25);
  --shadow-red: 0 12px 28px -12px rgba(216, 38, 26, 0.55);

  /* Motion — one shared scale for the whole site (see css/motion.css) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --dur-1: 160ms;   /* colour, border, small state changes */
  --dur-2: 260ms;   /* hover lifts, icon nudges, underlines */
  --dur-3: 420ms;   /* panels, dialogs, expanding content */
  --dur-reveal: 720ms; /* one-time scroll reveals */

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}
