/* GENERATED by tools/import.mjs from Website Custom CMS/preview-assets/global.css (sha e331cf1b4fb0, 2026-10-07). The Kiplot token set, verbatim. Never edit this file: change the website source and re-run the tool. */
:root{
/*kms THE KIPLOT COLOUR SYSTEM. Eighteen values, one vocabulary, and this is
   the only place any of them is defined. If you are about to write a hex
   value into a page, it belongs here instead -- or it is brand paint (a
   customer logo, a vendor logo, a product screenshot) which must never be
   tokenised at all. Full rationale, contrast tables and the retirement list
   are in the design system document. */

/*kms Blue ramp: one hue (240-241), seven steps, one job each. There is no
   eighth blue. If a new shade seems necessary, use one of these at a
   different opacity, or the design is wrong.
   800 FILLS, 700 WRITES -- dark blue is a surface, action blue is text,
   and the two are never swapped. */
--kp-blue-900:#1e1e2f; /*kms navy: ink, flat dark surfaces, the footer ground */
--kp-blue-800:#252478; /*kms panel blue: dark surfaces, top of the panel */
--kp-blue-700:#2d2c8a; /*kms action: links, filled buttons, labels on white */
--kp-blue-600:#3d3cb4; /*kms brand: the mark, accents, hover lift, tint source */
--kp-blue-400:#5a58d8; /*kms glow: atmosphere only, NEVER text on a light ground */
--kp-blue-100:#dcdcf6; /*kms pale indigo: emphasis inside white text on dark */
--kp-blue-050:#ededf8; /*kms wash: tinted surfaces on light */

/*kms Surfaces. ONE BAND, ONE HAIRLINE -- never a third. Between them these
   two roles previously accounted for 132 distinct values, none of which was
   ever a decision. The panel is the signature dark surface; it ends on navy
   so it can meet the footer without a seam. */
--kp-panel:linear-gradient(165deg,#252478 0%,#1e1e2f 100%);
--kp-white:#ffffff;
--kp-band:#f7f7fb;      /*kms the alternating section band */
--kp-line:#e2e2ee;      /*kms hairlines and card borders */
--kp-line-subtle:#f0f0f5; /*kms dividers INSIDE a card only */

/*kms Type. Emphasis on dark is pale indigo, not white and not red: white
   cannot emphasise white, and red at body size on the panel is 3.3:1. */
--kp-ink:#1e1e2f;       /*kms body and headings; same value as blue-900 */
/*kms TWO secondary greys, not one. 1.29.0 collapsed them and that was wrong:
   34 pages set a secondary ink and six of those ALSO set a lighter muted, so
   the distinction is real authored intent, not drift. The values here are the
   ones the site already uses, which is why deleting a page's block changes
   nothing on screen. ink-2 is 8.5:1 on white (AAA); the 1.29.0 value #5a5a6e
   was 6.6:1, so converging on it would have quietly cost AAA on 31 pages. */
--kp-ink-2:#4a4a5a;     /*kms subtitles, captions, body-secondary */
--kp-ink-3:#6b6b7c;     /*kms muted: metadata, timestamps, disclaimers */
--kp-on-dark:#ffffff;
--kp-on-dark-2:rgba(255,255,255,.66);
--kp-on-dark-em:#dcdcf6;
--kp-on-dark-line:rgba(255,255,255,.14); /*kms the chrome line under a dark block */

/*kms Accent. RED IS PUNCTUATION -- a full stop, an 80px rule, a glow, the
   mark. Never a large surface, never in persistent chrome, at most one red
   button per page, and a CTA repeated across a set (pricing tiers, plan
   cards) is never red. #FA1E29 is 3.98:1 on white and fails AA for button
   text, which is why a red FILL is always the darkened value.
   BLUE AND RED NEVER BLEND: no gradient runs from one to the other. */
--kp-red:#fa1e29;
--kp-red-fill:#de121c;
--kp-red-fill-press:#b00e17;

/*kms Status is not accent. A red CTA beside a red risk flag makes the CTA
   look like an error; if both must appear, the CTA becomes blue-700. Amber
   is the odd one: every amber bright enough to read as amber is too light
   to carry a label, so the text value and the fill value differ. */
--kp-green:#02865b;
--kp-amber:#8a6410;      /*kms at risk, as TEXT */
--kp-amber-fill:#e0a020;  /*kms at risk, as a FILL -- pair with navy text */

/*kms Depth. Card shadows are tinted with blue-600 rather than black, which
   is what makes cards read as sitting on the page rather than cut out of
   it. On a dark ground use the black variants; a blue shadow on a blue
   surface is invisible. */
--kp-shadow:0 2px 12px rgba(61,60,180,.08);
--kp-shadow-lg:0 8px 32px rgba(61,60,180,.12);
--kp-shadow-btn:0 2px 8px rgba(61,60,180,.20);
--kp-shadow-btn-lift:0 6px 16px rgba(61,60,180,.28);
--kp-shadow-on-dark:0 2px 8px rgba(0,0,0,.28);
--kp-shadow-on-dark-lift:0 5px 14px rgba(0,0,0,.40);
--kp-shadow-sm:0 2px 4px rgba(0,0,0,.10); /*kms untinted, for a control that sits ON a card */

/*kms The font stack is settled and must not gain intermediate fallbacks.
   Futura, Trebuchet MS and AppleGothic each have a regional gotcha that
   diverges from the live site -- Trebuchet arrives via MS Office on Android
   Chrome. This short stack falls cleanly to Roboto and San Francisco. */
--kp-font:'Century Gothic','Segoe UI',Tahoma,sans-serif;

/*kms Geometry. Canonical, not deprecated -- these carry the page rhythm.
   section-pad is the horizontal gutter as much as the vertical one, and it
   is the reason a section lines up with the header: the header snippet
   derives its own gutter from the same 100px. Change one and the whole site
   shifts, which is exactly why it belongs here and not on 25 pages. */
--kp-radius:8px;
--kp-radius-lg:12px;
/*kms Buttons are 6px, not 8px. The sheet used to point .kp-btn at
   --kp-radius, and 30 of the site's 47 button rules then overrode it back to
   6px -- the same mistake --kp-ink-2 made: a token set to an ideal instead of
   to what is on screen turns every page into an override. 8px stays correct
   for CARDS, where --kp-radius is read 82 times. */
--kp-radius-btn:6px;
--kp-max-width:1200px;
--kp-section-pad:80px 100px;
--kp-section-pad-mobile:48px 16px;

/*kms DEPRECATED ALIASES. A page's local token block can be deleted outright
   and it lands here on the canonical value, so migrating a page is a delete
   rather than a rewrite. Do not add to this list, and delete an alias once
   no page references the name. New work uses the names above. */
--kp-blue:var(--kp-blue-600);
--kp-blue-dark:var(--kp-blue-700);
--kp-blue-light:var(--kp-blue-050);
--kp-accent:var(--kp-blue-400);
--kp-text:var(--kp-ink);
--kp-text-secondary:var(--kp-ink-2);
--kp-muted:var(--kp-ink-3);
--kp-bg-white:var(--kp-white);
--kp-bg-light:var(--kp-band);
--kp-bg-dark:var(--kp-blue-900);
--kp-border:var(--kp-line);
--kp-border-subtle:var(--kp-line-subtle);
--kp-red-ink:var(--kp-red-fill);
--kp-red-ink-dark:var(--kp-red-fill-press);
}
