/* 77 Capital — design tokens for the website.
   Built on ../../tokens/tokens.css, narrowed to the website rules:
   one solid Bone background, five core colors, no shadows, no gradients. */

@font-face { font-family: "Chakra Petch"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/chakra-petch-600.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/chakra-petch-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  /* Core colors (5) */
  --bone: #F6F6F3;      /* the only background */
  --ink: #0A0A0A;       /* primary: logo, text, buttons */
  --graphite: #4D4D4D;  /* secondary text */
  --signal: #D7FF3B;    /* accent: one moment per view, never text */
  --stone: #DEDEDE;     /* neutral: input lines, chips, tiles */
  /* Support */
  --paper: #FFFFFF;     /* text on Ink only */
  --error: #B42318;
  --success: #087443;

  --color-bg: var(--bone);
  --color-text: var(--ink);
  --color-text-2: var(--graphite);

  /* Type */
  --font-display: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-display: clamp(3.5rem, 1.6rem + 7.4vw, 8.5rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.4vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.7vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --fs-lead: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;
  --fs-figure: clamp(3rem, 2rem + 4vw, 5.5rem);

  --lh-display: 0.9;
  --lh-heading: 1;
  --lh-body: 1.6;

  --ls-display: -0.01em;
  --ls-label: 0.12em;

  /* Spacing (4px base) */
  --s-1: 0.25rem;  --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-6: 1.5rem;   --s-8: 2rem;    --s-12: 3rem;   --s-16: 4rem;
  --s-24: 6rem;    --s-32: 8rem;
  --section: clamp(6rem, 3.5rem + 8vw, 11rem);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3.5rem);
  --gap: clamp(1rem, 0.5rem + 1.6vw, 2rem);
  --header-h: 80px;
  --measure: 68ch;

  /* Shape: the 77 chamfer (top-left and bottom-right cut at 45deg) */
  --ch-sm: 8px;
  --ch-md: 14px;
  --ch-lg: 24px;

  /* Motion */
  --dur-fast: 160ms;
  --dur-base: 220ms;
  --dur-reveal: 600ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);

  color-scheme: light;
}
