/*
 * Tick Count: design tokens
 * Crisp operations software that shows its numbers. White paper over a faint dot field,
 * tight Geist headlines, Geist Mono counters that roll digit by digit in small boxed chips,
 * a black primary button and one citron highlighter for the action that matters most.
 * Product shots are flat white documents (count sheets, orders) sitting in a putty frame.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white first, putty for frames and quiet sections */
  --tk-paper: #ffffff;
  --tk-putty: #f4f2ec;
  --tk-putty-2: #e9e6dd;
  --tk-line: #e3e0d8;
  --tk-line-strong: #cfcbc1;
  --tk-dot: #d3cfc5;        /* the dot field */

  /* Text */
  --tk-ink: #131313;
  --tk-ink-2: #2b2b29;
  --tk-soft: #5e5d58;
  --tk-faint: #9a978e;

  /* The one accent: a citron highlighter. Never a text color on white. */
  --tk-citron: #e2ed3c;
  --tk-citron-deep: #cbd61f;
  --tk-citron-soft: #f6f9c9;

  /* Status colors, only inside product UI */
  --tk-green: #2b9a58;
  --tk-green-soft: #e1f3e7;
  --tk-red: #d6492c;
  --tk-red-soft: #fbe5df;
  --tk-amber: #c98a17;

  /* Type */
  --tk-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tk-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --tk-text-hero: clamp(44px, 6.4vw, 84px);
  --tk-text-h2: clamp(32px, 4vw, 50px);
  --tk-text-h3: 22px;
  --tk-text-lead: 19px;
  --tk-text-body: 16px;
  --tk-text-small: 14px;
  --tk-text-micro: 11px;

  --tk-tracking-hero: -.045em;
  --tk-tracking-h2: -.035em;
  --tk-tracking-caps: .08em;

  /* Shape */
  --tk-radius-xs: 3px;      /* odometer digit cells */
  --tk-radius-sm: 5px;      /* buttons, inputs, chips */
  --tk-radius: 8px;         /* cards, documents */
  --tk-radius-lg: 12px;     /* the putty stage frame */

  --tk-shadow-doc: 0 1px 0 rgba(19,19,19,.04), 0 14px 32px -18px rgba(19,19,19,.22);
  --tk-shadow-pop: 0 1px 2px rgba(19,19,19,.06), 0 6px 16px -8px rgba(19,19,19,.18);
  --tk-focus: 0 0 0 3px var(--tk-citron);

  /* Dot field: use as background-image with background-size var(--tk-dot-gap) */
  --tk-dot-gap: 18px 18px;
  --tk-dot-field: radial-gradient(circle at 1px 1px, var(--tk-dot) 1px, transparent 1.4px);

  /* Space */
  --tk-space-1: 4px;
  --tk-space-2: 8px;
  --tk-space-3: 12px;
  --tk-space-4: 16px;
  --tk-space-5: 24px;
  --tk-space-6: 32px;
  --tk-space-7: 48px;
  --tk-space-8: 72px;
  --tk-space-9: 112px;

  --tk-container: 1240px;
  --tk-narrow: 720px;
  --tk-nav-h: 64px;
}
