/* tackOS — generated from tokens.json */
:root, [data-theme="light"] {
  --bg: #eef1f6; /* Page background, behind every surface. */
  --surface: #ffffff; /* Cards, slides, tables and the ground of drawings. */
  --sunk: #e4e9f1; /* Inset areas on a surface: code blocks, strips, file headers, default chips. */
  --ink: #121a27; /* Body copy and headings on `surface`, `bg` and `sunk`; the tack's pin in the logo. */
  --muted: #536077; /* Leads, notes, captions, table headers and eyebrows on `surface`, `bg` and `sunk`. */
  --line: #cdd5e1; /* Hairline borders, table rules and dashed dividers. Decorative only: 1.5:1 on `surface`, so never the only thing that marks a control. */
  --accent: #2b44c6; /* Links, focus rings, the `OS` in the wordmark, flow arrows, icon strokes and the eyebrow's section name. Text on `surface`, `sunk` and `bg`. */
  --accent-ink: #ffffff; /* Text on an `accent` fill, such as the Copy button. */
  --warn: #b0431f; /* Loss, drift and stale copies: lost-path dashes, the `old` chip, the client owner. Text on `warn-bg` and `surface`. */
  --warn-bg: #f8e5dc; /* Fill behind `warn` text and the dashed danger zone in drawings. */
  --l1: #2b44c6; /* Layer hue 1, the tackOS layer: slab edges, its icon and the `cur` chip text. Text on `l1-bg`. */
  --l1-bg: #e2e7fb; /* Layer 1 tint: slab tops and the fill inside icons. */
  --l2: #0f7d6c; /* Layer hue 2, the Base Layer, and the personal owner. Text on `l2-bg` is 4.2:1 in light, below 4.5:1: keep it to chips and labels of 12px mono or larger, as the tour does. */
  --l2-bg: #dbf0eb; /* Layer 2 tint. */
  --l3: #a1660f; /* Layer hue 3, an Area Layer such as work. Text on `l3-bg` is 3.9:1 in light, below 4.5:1: keep it to chip labels, and never use it for running text. */
  --l3-bg: #f5e9d4; /* Layer 3 tint. */
  --l4: #7146ba; /* Layer hue 4, the Machine Layer, and the machine owner. Text on `l4-bg` and `surface`. */
  --l4-bg: #ebe3f7; /* Layer 4 tint. */
  --l5: #616b7e; /* Layer hue 5, a Local Layer, which is never committed. Text on `l5-bg` is 4.4:1 in light: chips and labels only. */
  --l5-bg: #e5e8ee; /* Layer 5 tint. */
  --shadow-slide: 0 1px 2px rgba(0,0,0,0.06), 0 12px 40px -18px rgba(20,30,60,0.35); /* Only on a slide shown one at a time. Everything else is set apart by `line` borders and `sunk` fills, never by shadow. */
}
[data-theme="dark"] {
  --bg: #0e131b;
  --surface: #161e2a;
  --sunk: #1e2836;
  --ink: #e6ebf2;
  --muted: #9aa6b9;
  --line: #2c3748;
  --accent: #8fa1ff;
  --accent-ink: #0e131b;
  --warn: #f19b79;
  --warn-bg: #3b231b;
  --l1: #8fa1ff;
  --l1-bg: #1f2950;
  --l2: #55cdb9;
  --l2-bg: #143a35;
  --l3: #e2ae5c;
  --l3-bg: #3a2d17;
  --l4: #b89bf0;
  --l4-bg: #2c2244;
  --l5: #a4acba;
  --l5-bg: #252c37;
}
:root {
  --gap: 14px; /* The one spacing step. Gaps between siblings; parts use fractions of it (.3, .4, .45, .6, .8) and sections 1.2×. */
  --pad-x: 20px; /* Side padding of a page panel or slide. */
  --pad-y: 22px; /* Top and bottom padding of a page panel or slide. */
  --r: 10px; /* Panels and slides. Boxes inside them (cards, code, machines, files, the Copy button) use 0.7 × `r`; layer rows use 0.55 × `r`. */
  --r-button: 8px; /* Navigation buttons. */
  --r-key: 4px; /* Keyboard keys (`kbd`). */
  --r-pill: 99px; /* Chips. */
  --font-display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --text-display-hero: 700 3.4rem/0.9 var(--font-display); /* The wordmark on a title or hero. Set `OS` in `accent`. */
  --text-display-statement: 700 2.55rem/1 var(--font-display); /* One big sentence on a page of its own, the first beat of a two-beat setup. */
  --text-display-headword: 700 1.87rem/1 var(--font-display); /* A dictionary-style headword. */
  --text-display-h2: 700 1.7rem/1.04 var(--font-display); /* Page and slide headings, in sentence case, balanced. */
  --text-display-h3: 700 1.15rem/1.15 var(--font-display); /* Card, tile and pillar headings; Loadout totals in a tally. */
  --text-display-tagline: 500 1.15rem/1.25 var(--font-display); /* The one-line tagline under the wordmark, at most 26 characters a line. */
  --text-text-body: 400 1rem/1.45 var(--font-body); /* Running text in `ink`. Keep lines near 62 characters. */
  --text-text-lead: 400 1rem/1.45 var(--font-body); /* The sentence under a heading, in `muted`, at most 62 characters wide. */
  --text-text-small: 400 0.88rem/1.45 var(--font-body); /* Card copy, notes and table cells. Strong words in a note are 600 and `ink`. */
  --text-mono-command: 500 1.15rem/1.25 var(--font-mono); /* A command's name when it is the heading of its card. */
  --text-mono-code: 400 0.74rem/1.55 var(--font-mono); /* Code blocks, terminal output and paths. Inline `code` is 0.92em of its text. */
  --text-mono-eyebrow: 400 0.74rem/1.45 var(--font-mono); /* The eyebrow row above a heading, upper case, in `muted` with the section in `accent` at 500. */
  --text-mono-label: 500 0.74rem/1.45 var(--font-mono); /* Table headers and drawing labels, upper case, in `muted`. */
  --text-mono-chip: 400 0.74rem/1.45 var(--font-mono); /* Chip labels and small mono tags. */
}
.display-hero {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.display-statement {
  font-family: var(--font-display);
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.display-headword {
  font-family: var(--font-display);
  font-size: 1.87rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.display-h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.display-h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.display-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
}
.text-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
}
.text-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
}
.text-small {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
}
.mono-command {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
}
.mono-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
}
.mono-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.mono-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
}
