/*
 * Katori design tokens. This file is the single source of truth for colour, type,
 * spacing, shape and motion. The site, the plan page, the PDFs and the ad posts all read it.
 * Launch is light theme only: the steel ground is part of the brand.
 */
:root {
  /* ---- palette (raw) ---- */
  --k-white: #FFFFFF;
  --k-steel-50: #F3F5F6;   /* screens inside cards */
  --k-steel-100: #EDF0F1;  /* page ground */
  --k-steel-200: #E1E6E9;  /* quiet fills, table heads */
  --k-steel-300: #C6CFD4;  /* hairlines, unselected borders */
  --k-steel-400: #C7D1D6;  /* steel post colourway */
  --k-steel-500: #8FA0A8;  /* decorative only, never text */
  --k-steel-700: #46545B;  /* secondary text */
  --k-kadhai-800: #1B2428; /* dark surfaces on dark */
  --k-kadhai: #10181C;     /* ink, dark colourway */
  --k-haldi: #F2B807;      /* the one action colour */
  --k-haldi-soft: #FBE7A1; /* hover and pressed tint of an option */
  --k-haldi-ink: #1A1400;  /* text on haldi */
  --k-leaf: #1B6B47;       /* links, success */
  --k-mirch: #B4361F;      /* warnings, errors */

  /* ---- roles (use these in components) ---- */
  --bg: var(--k-steel-100);
  --surface: var(--k-white);
  --surface-2: var(--k-steel-200);
  --ink: var(--k-kadhai);
  --ink-2: var(--k-steel-700);
  --line: var(--k-steel-300);
  --action: var(--k-haldi);
  --action-ink: var(--k-haldi-ink);
  --link: var(--k-leaf);
  --warn: var(--k-mirch);

  /* ---- type ---- */
  --f-display: "Anek Latin", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Mukta", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --f-deva: "Anek Devanagari", "Anek Latin", system-ui, sans-serif;
  --t-hero: clamp(40px, 10.5vw, 76px);  /* weight 800, line-height .98, tracking -.02em */
  --t-question: clamp(27px, 7.4vw, 36px); /* weight 700, line-height 1.05 */
  --t-h2: clamp(26px, 5vw, 36px);       /* weight 700, line-height 1.05 */
  --t-h3: 20px;                         /* weight 600, line-height 1.2 */
  --t-body: 17px;                       /* Mukta 400, line-height 1.55 */
  --t-option: 17px;                     /* Mukta 500 */
  --t-small: 14px;
  --t-label: 12px;                      /* mono, uppercase, tracking .08em */

  /* ---- space (4px base) ---- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;

  /* ---- shape ---- */
  --r-control: 12px;  /* option tiles, buttons */
  --r-card: 18px;     /* quiz card, meal cards */
  --r-pill: 999px;    /* price pill, chips */
  --bw: 1.5px;        /* borders. No shadows anywhere: depth comes from borders and ground */

  /* ---- motion ---- */
  --m-fast: 150ms;    /* option select */
  --m-step: 220ms;    /* question to question */
  --m-check: 650ms;   /* matching screen cadence, per line */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* ---- layout ---- */
  --w-page: 1040px;
  --w-quiz: 440px;
  --tap: 52px;        /* minimum height of anything tappable */
}

@media (prefers-reduced-motion: reduce) {
  :root { --m-fast: 0ms; --m-step: 0ms; --m-check: 0ms; }
}
