/* PCWF design tokens. Generated from tokens.json. Use var(--...) only, never raw hex. */
:root {
  --color-bg: #ffffff;
  --color-surface: #faf6ec;
  --color-surface-alt: #eef1f8;
  --color-border: #e4dfd1;
  --color-border-input: #6f7d86;
  --color-text: #1f3340;
  --color-text-muted: #566871;
  --color-brand: #000b35;
  --color-brand-soft: #0a1a4d;
  --color-on-brand: #ffffff;
  --color-on-brand-muted: #c9d0ea;
  --color-accent: #ffc226;
  --color-on-accent: #000b35;
  --color-highlight: #03b664;
  --color-on-highlight: #000b35;
  --color-success: #047a47;
  --color-coral: #e25a44;
  --color-on-coral: #000b35;
  --color-danger: #c13a24;

  --font-sans: Barlow, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ml: Manjari, "Noto Sans Malayalam", system-ui, sans-serif;
  --font-ml-serif: "Noto Serif Malayalam", serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.125rem;
  --text-lg: clamp(1.25rem, 1.1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.625rem, 1.3rem + 1vw, 1.875rem);
  --text-2xl: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
  --text-display: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --leading-body: 1.7;   /* Malayalam needs 1.6 to 1.75 */
  --leading-head: 1.3;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 999px;
  --shadow-card: 0 2px 6px rgba(0,11,53,.06), 0 8px 24px rgba(0,11,53,.08);
  --shadow-pop: 0 16px 40px rgba(0,11,53,.18);

  --motion-fast: 150ms; --motion-base: 250ms; --motion-slow: 600ms;
  --ease: cubic-bezier(.2,.8,.2,1);

  --content-max: 1200px; --prose-max: 720px; --gutter: 16px;
  --header-h: 76px; --topbar-h: 40px;
}
@media (prefers-reduced-motion: reduce) {
  :root { --motion-fast: 0ms; --motion-base: 0ms; --motion-slow: 0ms; }
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }
@media (max-width: 639px) { :root { --text-xs: 1rem; --text-sm: 1rem; --wp--preset--font-size--xs: 1rem; --wp--preset--font-size--sm: 1rem; } }
