/* Flexi Kanban Website — generated from tokens.json */
:root, [data-theme="light"] {
  --bg: #f9fbfc; /* Page background, a cool neutral. Body text in `ink`, `ink-2` and `ink-3` reads on it in both themes. */
  --bg-elev: #ffffff; /* Raised surfaces: tiles, board cards, the board frame, header CTAs, form panels. */
  --bg-sunken: #eef3f6; /* Recessed bands: alternating `.section.alt` stripes and the board's column well. `ink-3` on it is 4.9:1 light, 6.2:1 dark. */
  --ink: #10161d; /* Primary text and headings on `bg`, `bg-elev`, `bg-sunken` (16:1+ both themes). */
  --ink-2: #414b57; /* Secondary text: leads, tile body copy, list items (8.5:1 light, 11:1 dark on `bg`). */
  --ink-3: #5f6b78; /* Muted text: metadata, captions, hints, card subtitles (5.2:1 on `bg` light, 6.4:1 dark; 4.9:1 on `bg-sunken`). */
  --line: #e1e8ed; /* Hairlines: section borders, card and tile borders, table rules. */
  --line-strong: #c8d3dc; /* Control borders: ghost buttons, chips, inputs, the Planned badge outline. */
  --brand: #0176d3; /* Brand sky blue: primary buttons, the hero accent word, focus ring. `on-brand` on it is 4.6:1 light, 6.2:1 dark. As large text (hero accent) it reads 4.5:1 on `bg`. */
  --brand-ink: #0b5cab; /* Brand as text: links, eyebrows, the New/Beta badge label (6.5:1 light / 8.6:1 dark on `bg`; 6.1:1 / 7.0:1 on `brand-soft`). */
  --brand-soft: #eaf5fe; /* Brand tint: selected chips, Beta badge fill, tile icon wells, the ring around the highlighted comparison tile. */
  --on-brand: #ffffff; /* Text and icons on `brand` fills (primary buttons): white in light, near-black in dark. */
  --sky-wash: #d8ecfd; /* Decor: the top of the hero's sky gradient, fading into `bg`. Never behind small text on its own without the fade. */
  --ok: #12a46b; /* Success and Available now: badge text and dot, check marks, allowed-move highlight. As badge text on `ok-soft` it is only 2.85:1 in light — fails small-text contrast; flagged for the design pass. */
  --ok-soft: #e3f6ee; /* Fill behind `ok`: Available now badge, a column that accepts a dropped card. */
  --warn: #c77a00; /* In development badge, Human-review ownership. On `warn-soft` it is 3.0:1 in light — fails small-text contrast; flagged. */
  --warn-soft: #fdf1dc; /* Fill behind `warn`: In development badge. */
  --risk: #d6334a; /* Blocked moves, stuck cards, validation errors (with `risk-soft`, 4.0:1 light / 3.6:1 dark — below 4.5:1 for small text; flagged). */
  --risk-soft: #fde8eb; /* Fill behind `risk`: stuck cards, a column that rejects a dropped card. */
  --obj-job: #4338ca; /* Salesforce object color: Job records (also Case in the flow diagram). Indigo, kept clear of the sky-blue `brand`; white tag text 7.9:1. Meaning-bearing: never decorative. */
  --obj-app: #9b3aac; /* Salesforce object color: Application records. Orchid, from the logo's family; white tag text 5.8:1. Meaning-bearing. */
  --obj-place: #0e9488; /* Salesforce object color: Placement and Service Order records. White tag text is 3.7:1 — below 4.5:1 for the 10.5px tag label; flagged. Meaning-bearing. */
  --obj-opp: #d26b12; /* Salesforce object color: Opportunity records. White tag text is 3.6:1 — flagged as above. Meaning-bearing. */
  --own-human: #4338ca; /* Ownership chip: work owned by a person (concept board only, Roadmap). Same as `obj-job`. */
  --own-agent: #9b3aac; /* Ownership chip: work owned by an AI agent (concept board only, Roadmap). Same as `obj-app`. */
  --own-auto: #0e9488; /* Ownership chip: work done by automation, e.g. a Flow (concept board only, Roadmap). */
  --own-review: #c77a00; /* Ownership chip: waiting for human approval (concept board only, Roadmap). */
  --logo-cyan: #00bfec; /* Logo palette (decor only): cyan. Glows and illustrations. Never text, never meaning-bearing. */
  --logo-sky: #7fe5ff; /* Logo palette (decor only): light cyan. Final-CTA glow, code-sample keys, illustrations. */
  --logo-teal: #27c1a5; /* Logo palette (decor only): teal. Glows and illustrations; never next to `obj-place` or `ok`, which carry meaning. */
  --logo-mint: #2ee8c6; /* Logo palette (decor only): mint. Glows, illustrations, code-sample strings. */
  --logo-yellow: #fcd74e; /* Logo palette (decor only): yellow. Small illustration accents; never text. */
  --logo-amber: #e6ac47; /* Logo palette (decor only): amber. Small illustration accents; never text, never near `warn`. */
  --logo-orchid: #da6ee5; /* Logo palette (decor only): orchid. The hero glow's second hue, illustrations. */
  --logo-pink: #f7adff; /* Logo palette (decor only): pink. Glows and illustrations. */
  --shadow-1: 0 1px 2px rgba(16, 22, 29, .06), 0 1px 1px rgba(16, 22, 29, .04); /* Resting board cards. */
  --shadow-2: 0 12px 32px -12px rgba(1, 68, 134, .24), 0 2px 6px rgba(16, 22, 29, .06); /* Raised: the hero board, primary buttons, card hover, the guide mock. */
}
[data-theme="dark"] {
  --bg: #0b1015;
  --bg-elev: #141b22;
  --bg-sunken: #0f151b;
  --ink: #eef3f7;
  --ink-2: #bcc6cf;
  --ink-3: #8b97a3;
  --line: #222c36;
  --line-strong: #313d49;
  --brand: #1b96ff;
  --brand-ink: #78b0fd;
  --brand-soft: #0d2440;
  --on-brand: #04121a;
  --sky-wash: #0c2238;
  --ok-soft: #0f2b21;
  --warn-soft: #2d2210;
  --risk-soft: #321419;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 16px 40px -16px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .4);
}
:root {
  --gutter: 24px; /* Page side gutter at desktop (16px under 560px). Other gaps on the site are literal values: 8, 12, 20 and 28px. */
  --radius-s: 8px; /* Small controls: compact chips inside cards, small tags. */
  --radius-m: 12px; /* Board columns, flow steps, code samples, rungs. */
  --radius-l: 20px; /* Tiles, the board frame, quotes, the comparison table. Buttons and badges are full pills (999px). */
  --radius-xl: 28px; /* The final call-to-action panel (.final-cta). Tiles stay on radius-l. */
  --maxw: 1180px; /* Content width of `.wrap`. */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --text-display: 700 64px/1.12 var(--font-display); /* Page h1. On the site it scales with clamp(2.3rem, 5.2vw, 4rem); 64px is the desktop maximum. */
  --text-heading: 700 41.6px/1.12 var(--font-display); /* Section h2. Site: clamp(1.8rem, 3.4vw, 2.6rem); 41.6px is the maximum. */
  --text-subheading: 650 19.2px/1.12 var(--font-display); /* h3: tile and card titles. */
  --text-lead: 400 20px/1.6 var(--font-sans); /* Intro paragraph under a headline, in `ink-2`. Site: clamp(1.05rem, 1.6vw, 1.25rem). */
  --text-body: 400 16px/1.6 var(--font-sans); /* Running text. */
  --text-eyebrow: 650 12.5px/1.2 var(--font-sans); /* Uppercase label above a heading, in `brand-ink`. Set text-transform: uppercase. */
  --text-button: 600 15.2px/1 var(--font-sans); /* Button labels; small buttons use 13.8px. */
  --text-badge: 650 11.5px/1.2 var(--font-sans); /* Status badges. */
  --text-card-title: 650 13.4px/1.3 var(--font-sans); /* Board card title; card fields at 11.7px in `ink-2`. */
  --text-code: 400 12.8px/1.65 var(--font-mono); /* Illustrative code and tool-call samples, always labelled Illustrative or Preview. */
}
.display {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.heading {
  font-family: var(--font-display);
  font-size: 41.6px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.subheading {
  font-family: var(--font-display);
  font-size: 19.2px;
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.lead {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.button {
  font-family: var(--font-sans);
  font-size: 15.2px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}
.badge {
  font-family: var(--font-sans);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.card-title {
  font-family: var(--font-sans);
  font-size: 13.4px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: 0;
}
.code {
  font-family: var(--font-mono);
  font-size: 12.8px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0;
}
