/* Twokey brand tokens, version 1.0, November 2026. Generated from the brand definition: do not edit by hand. */
:root, [data-theme="light"] {
  --paper: #f5f1e8; /* Page and slide background. Warm ledger paper, never pure white. */
  --paper-raised: #fffdf7; /* Cards, tables, screenshot frames sitting on paper. */
  --ink: #191915; /* Body and headline text on paper, paper raised, brass soft and ledger soft. */
  --ink-muted: #5a564d; /* Captions, footnotes, source lines on paper and paper raised. */
  --line: #dcd5c6; /* Hairline rules and table dividers only. Never the only boundary of a control. */
  --brass: #b07a1e; /* Fills, the mark, one highlight per page. As text on paper, large sizes only (24px and up). */
  --on-brass: #191915; /* Text on a brass fill. */
  --brass-ink: #7a5212; /* Brass-coloured text and links on paper. */
  --brass-soft: #eeddb8; /* Highlight bands behind numbers and pull quotes; ink text on it. */
  --ledger: #1e4a38; /* Owner-owned, approved, safe. Section blocks, the ownership slide and the guarantee band. */
  --on-ledger: #f5f1e8; /* Text on a ledger fill. */
  --ledger-soft: #d3e2d8; /* Quiet ledger tint for "after" states in before/after tables; ink text on it. */
  --signal: #a63a24; /* Only for "needs a human" and "before" pain points. A dot, a label, a number. Never a big block. */
}
[data-theme="dark"] {
  --paper: #131311;
  --paper-raised: #1d1c19;
  --ink: #f2ede2;
  --ink-muted: #aba597;
  --line: #35332d;
  --brass: #d6a54e;
  --on-brass: #131311;
  --brass-ink: #e2b866;
  --brass-soft: #3a2e18;
  --ledger: #7dbb9a;
  --on-ledger: #0e1913;
  --ledger-soft: #1b3127;
  --signal: #e37a62;
}
:root {
  --space-1: 4px; /* Icon to label. */
  --space-2: 8px; /* Tight stacks, chip padding. */
  --space-4: 16px; /* Card padding, gutters. */
  --space-6: 24px; /* Between blocks; cover insets. */
  --space-8: 32px; /* Section padding. */
  --space-12: 48px; /* Slide margins. */
  --radius-0: 0px; /* Colour blocks and section bands: square, like ledger paper. */
  --radius-sm: 4px; /* Buttons, chips, inputs. */
  --radius-ring: 50%; /* Only the ring shapes taken from the mark. */
  --font-display: Fraunces, Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --text-display-xl: 600 72px/0.95 var(--font-display); /* Deck covers, one line per slide max. */
  --text-display-l: 600 48px/1.05 var(--font-display); /* Slide titles, website hero. */
  --text-display-m: 500 32px/1.15 var(--font-display); /* Section heads. */
  --text-lead: 400 20px/1.45 var(--font-sans); /* Intro paragraphs, slide subtitles. */
  --text-body: 400 16px/1.55 var(--font-sans); /* Everything else. */
  --text-caption: 500 13px/1.4 var(--font-sans); /* Sources, footnotes, labels. In ink muted. */
  --text-workflow: 500 13px/1.5 var(--font-mono); /* Workflow steps, system names, numbers in tables. */
}
