/* ─────────────────────────────────────────────────────────────
   CapsOnIt design tokens — change the whole look here.
   Look: "night studio". A deep indigo room lit by a screen, with the
   saffron "haldi" highlight of the captions themselves as the one bright
   colour (buttons, the active word). Violet is used only for selection
   and focus. Headings in Poppins (made in India, has Devanagari).
   ───────────────────────────────────────────────────────────── */
@font-face { font-family: "Poppins"; src: url("/api/fonts/file/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/api/fonts/file/Poppins-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  /* Colours */
  --color-bg: #14112B;             /* indigo night */
  --color-bg-glow: #3A2C8F;        /* the light behind the page */
  --color-surface: #1E1A40;        /* panels */
  --color-surface-glass: rgba(39, 33, 84, .62);
  --color-surface-2: #282259;      /* inputs, chips */
  --color-surface-3: #332C6B;      /* hover */
  --color-text: #F1EEFF;
  --color-muted: #ABA5D6;
  --color-border: rgba(196, 186, 255, .16);
  --color-border-strong: rgba(196, 186, 255, .32);
  --color-primary: #FFC83D;        /* haldi saffron — the caption highlight */
  --color-primary-hover: #FFD465;
  --color-primary-soft: rgba(255, 200, 61, .14);
  --color-on-primary: #1F1600;
  --color-select: #9A8CFF;         /* electric violet: what's selected / focused */
  --color-select-soft: rgba(154, 140, 255, .18);
  --color-accent: #FFC83D;
  --color-mock-bg: rgba(255, 200, 61, .10);
  --color-mock-text: #FFD978;
  --color-success: #3DDC97;
  --color-success-soft: rgba(61, 220, 151, .14);
  --color-danger: #FF7A7A;
  --color-danger-soft: rgba(255, 122, 122, .14);
  --color-focus: #9A8CFF;

  /* Type */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Noto Sans", "Nirmala UI", Roboto, sans-serif;
  --font-display: "Poppins", var(--font-sans);
  --text-sm: 14.5px;
  --text-base: 16.5px;
  --text-lg: 19px;
  --text-xl: 26px;
  --text-2xl: 40px;
  --weight-regular: 400;
  --weight-medium: 600;
  --weight-bold: 700;
  --line-height: 1.55;

  /* Spacing (4-point scale) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 52px;

  /* Shape and depth: big panels are soft, controls are tighter, chips are pills */
  --radius-sm: 9px;
  --radius: 13px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 18px 40px -24px rgba(5, 3, 20, .9);
  --shadow-lg: 0 24px 60px -20px rgba(5, 3, 20, .95);

  /* Layout */
  --page-width: 1100px;
  --tap: 48px;                     /* minimum height of anything you click */
  --motion: 170ms;                 /* animation speed */
}
