/* KragAi brand tokens (2026-09-30).
   The single source for colour, type, space and shape across the website, one-pager and deck.
   Copy this file next to a surface, or @import it; never hard-code these values elsewhere. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/HankenGrotesk-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("fonts/MartianMono-var.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  /* Lead colour: tangerine. Fills, the logo, and attention ("needs a person"). One loud colour per view. */
  --tangerine: #F7743B;
  --tangerine-display: #EC6630;   /* headline words at >= 24px (3.2:1 on white) */
  --tangerine-text: #C24A1A;      /* small text and links (4.9:1 on white) */
  --tangerine-wash: #FDE3D6;

  /* The soft family: cards, categories, passes, illustration fills. Always with ink text. */
  --sky: #A9C8F0;
  --butter: #FFD98A;
  --sage: #B8D8C0;
  --lilac: #D6C8F2;
  --sky-wash: #E6EFFB;
  --butter-wash: #FFF4DC;
  --sage-wash: #E8F3EB;
  --lilac-wash: #F1ECFB;

  /* "Sure": recognition brackets, confidence bars, confirmed states. */
  --slate: #3F5E8C;

  /* Confidence tiers (brackets, bars): unknown -> body -> face -> face and voice */
  --tier-body: #E8B04A;
  --tier-face: #7FA6DA;
  --tier-voice: #3F5E8C;

  /* Neutrals */
  --ink: #1B1B1F;
  --ink-2: #3A3A42;               /* body copy on white */
  --ink-3: #5E5E68;               /* secondary text on white (6.4:1) */
  --line: #E4E1DC;
  --ground: #F6F5F3;              /* quiet section background */
  --white: #FFFFFF;
  --unknown: #B8B8C0;             /* the "not recognised" state */
  --mist: #C9C9CF;                /* secondary text on ink bands */
  --ink-hover: #33333A;
  --tangerine-hover: #FF8A57;

  /* Type */
  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, monospace;  /* data only: times, IDs, record fields */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.75rem;
  --step-4: clamp(3rem, 6vw, 5.5rem);
  --tracking-display: -0.04em;
  --tracking-head: -0.03em;
  --leading-display: 0.96;
  --leading-body: 1.55;

  /* Space (8px rhythm) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 7rem;

  /* Shape */
  --stroke: 2.5px;                /* ink outline on cards, passes and illustrations */
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --shadow-lift: 0 18px 40px -18px rgb(27 27 31 / 0.35);  /* the pass and floating objects only */

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-quick: 180ms;
  --dur-settle: 700ms;
}
