/*
 * GENERATED CODE - DO NOT MODIFY BY HAND
 *
 * Generated by package:tokens_builder from core/design/ui/tokens/*.json.
 * Run `melos run gen` to regenerate.
 */

:root {
  /* The gap of the focus ring (Kevin's ruling S10 on the sites layout spec, section 10; W20 focus rule, docs/focus.md): 2 px of the ground colour between the control and the ring, so the ring is perceivable against a control of its own colour (WCAG 2.4.7, 1.4.11). The ground colour is the page's paper or card, or, on the accent panel, the panel's own ground. */
  --focus-ring-gap: 2px;
  /* The width of the focus ring (Kevin's ruling S10 on the sites layout spec, section 10; W20 focus rule, docs/focus.md): 2 px of the focus colour, drawn outside the gap of focus.ring-gap. The focus colour is color.accent-text, and on the accent panel color.on-accent (W17). */
  --focus-ring-width: 2px;
  /* The container width (W21) under which the hero balance steps down from font.size.amount-hero to font.size.amount-hero-floor. */
  --font-container-amount-hero-step: 340px;
  /* Body text: Onest (W11), weights 400 and 500. Plain Onest, no stylistic alternates. Self-hosted under the SIL OFL 1.1. */
  --font-family-body: "Onest", system-ui, sans-serif;
  /* Labels, data and code: DM Mono (W11). Static Regular (400) and Medium (500), self-hosted under the SIL OFL 1.1. DM Mono has no ẞ, → or ✓, so use icons for those and never type ẞ in mono. */
  --font-family-mono: "DM Mono", ui-monospace, monospace;
  /* Headings and display: Onest (W11), carried over from Cube Algos by W3. The same family as body; the weight is what distinguishes a heading (display is 800). Onest is variable, wght 100 to 900, self-hosted under the SIL OFL 1.1. */
  --font-family-title: "Onest", system-ui, sans-serif;
  /* The unit of an amount (EURC, USDC): DM Mono (W21) at weight font.weight.mono-medium (500), set after a no-break space. An alias of font.family.mono, so the family is defined once. */
  --font-family-unit: "DM Mono", ui-monospace, monospace;
  /* OpenType feature for figures (W21): tnum, tabular figures on every amount and balance, inline ones included. Plain Onest, no stylistic alternates. The unit follows the amount after a no-break space, in DM Mono. */
  --font-feature-figures: tnum;
  /* The line height of reading text (Kevin's ruling G1 on the blog layout spec, sections 4 and 10): a unitless 1.65 at font.size.prose. */
  --font-line-height-prose: 1.65;
  /* The hero balance (W21): 48 px, Onest at font.weight.amount-hero (700), tabular figures on every amount. It steps down to font.size.amount-hero-floor in a container narrower than font.container.amount-hero-step. Type token only: the amount display itself lives in finance_ui (W14). */
  --font-size-amount-hero: 3rem;
  /* The floor of the hero balance (W21): 36 px. The hero never goes below it, and steps down to it in containers narrower than font.container.amount-hero-step. */
  --font-size-amount-hero-floor: 2.25rem;
  /* The lede, the introductory paragraph under a post or article title (Kevin's ruling G1 on the blog layout spec, sections 4 and 10): 20 px, Onest at font.weight.text, line height 1.55 as the spec's type table has it. */
  --font-size-lede: 1.25rem;
  /* Reading text in a post, a guide or a docs article (Kevin's ruling G1 on the blog layout spec, sections 4 and 10): 18 px, Onest at font.weight.text, at font.line-height.prose and the measure layout.measure.text. Interface text stays 1rem. */
  --font-size-prose: 1.125rem;
  /* An inline amount in Onest (W21): 500, with tabular figures on every amount (font.feature.figures). The unit after it is DM Mono at font.weight.mono-medium, after a no-break space. */
  --font-weight-amount: 500;
  /* The hero balance in Onest (W21): 700, at font.size.amount-hero. Tabular figures on every amount (font.feature.figures). */
  --font-weight-amount-hero: 700;
  /* Display and headings in Onest (W11): 800. */
  --font-weight-display: 800;
  /* DM Mono Regular, 400. Proposed: W11 names the family only, so Regular and Medium are listed in the manifest for Kevin to confirm. */
  --font-weight-mono: 400;
  /* DM Mono Medium, 500: the weight of the unit of an amount (W21: the unit is DM Mono 500). The Regular and Medium cuts are the proposed set (W11 names the family only). */
  --font-weight-mono-medium: 500;
  /* Body text in Onest (W11): 400. */
  --font-weight-text: 400;
  /* Emphasised body text in Onest (W11): 500. */
  --font-weight-text-medium: 500;
  /* The grid unit: every size and gap of the UI package is a multiple of it. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --grid-unit: 4px;
  /* The widest a page of the shared site shell grows (Kevin's ruling G2 on the blog layout spec, section 10): 76 rem, 1216 px, for the blog and, with the docs columns, the docs reference layout. */
  --layout-container: 76rem;
  /* The width of the sections navigation, the left column of the docs reference layout (Kevin's ruling S12 on the sites layout spec, section 10): 14 rem, 224 px, beside the article at layout.measure.text and the contents rail layout.docs-rail. At 900 px and below the navigation becomes a disclosure under the header and the column goes. */
  --layout-docs-nav: 14rem;
  /* The width of the contents rail, the right column of the docs reference layout (Kevin's ruling S12 on the sites layout spec, section 10): 11 rem, 176 px, beside the sections navigation layout.docs-nav. The rail drops at 1100 px and below; the numbered headings stay. */
  --layout-docs-rail: 11rem;
  /* The measure of reading text (Kevin's ruling G2 on the blog layout spec, section 10): 66 characters, the line length of a post, a guide and a docs article body, set at font.size.prose. A string token, not a dimension, because ch is a relative CSS unit the monorepo's token builder does not convert for a dimension (px, rem and bare numbers only); a string passes through to CSS unchanged. */
  --layout-measure-text: 66ch;
  /* Text rise, card settle and amount settle (W15); also the fish's tail wag half-cycle and its settle at the end of the entry (W12-F). Easing: settle. */
  --motion-duration-base: 300ms;
  /* The template's `default` duration, the ordinary transition. Resolves to motion.duration.step, itself an alias of base (300 ms). Proposed mapping, see docs/template-compat.md. */
  --motion-duration-default: 300ms;
  /* Outlines and strokes being drawn (W15); also the band of the working fish (W12-F). Easing: draw. */
  --motion-duration-draw: 900ms;
  /* The one echo after a big completion (W15), scale 1 to motion.echo.scale, fading. Easing: echo. */
  --motion-duration-echo: 700ms;
  /* The template's path for micro-interactions (the template's value was 160 ms). Proposed mapping, an alias of quick (200 ms); Kevin checks it in M1-12, see docs/template-compat.md. */
  --motion-duration-fast: 200ms;
  /* The minimum end-card hold in video (W15). Also the template's own `hold` path (a deliberate pause between sequenced steps; the template's value was 720 ms). */
  --motion-duration-hold: 1200ms;
  /* Hover colour and the focus ring (W15). Easing: ease-out. */
  --motion-duration-instant: 100ms;
  /* The press on completion (W15), scale from motion.press.min to motion.press.max, never a bounce. Easing: settle. */
  --motion-duration-press: 120ms;
  /* Toggles and small state changes (W15). Easing: ease-out. */
  --motion-duration-quick: 200ms;
  /* The template's `slow` duration, a deliberate, noticeable transition. An alias of draw (900 ms; the template's value was 720 ms). Proposed mapping, see docs/template-compat.md. */
  --motion-duration-slow: 900ms;
  /* The template's path for the standard transition (the template's value was 480 ms). Proposed mapping, an alias of base (300 ms); Kevin checks it in M1-12, see docs/template-compat.md. */
  --motion-duration-step: 300ms;
  /* Cube Algos' sting length (W15), also the length of the mark-only sting (W16-A) and of the fish's entry move (W12-F). The logo sting S1 is 2400 ms with a hold (W16); that is data (M3-01), not a token. */
  --motion-duration-sting: 1800ms;
  /* The chamfer wipe between scenes in video (W15): 500 ms in and 500 ms out. Easing: draw. */
  --motion-duration-wipe: 1000ms;
  /* Things being built: lines draw, areas fill (W15). cubic-bezier(.65, 0, .35, 1). */
  --motion-ease-draw: cubic-bezier(0.65, 0.0, 0.35, 1.0);
  /* Hover, focus and small state changes (W15). cubic-bezier(.3, 0, .2, 1). */
  --motion-ease-ease-out: cubic-bezier(0.3, 0.0, 0.2, 1.0);
  /* The echo leaving a completed thing (W15). cubic-bezier(.1, .6, .3, 1). */
  --motion-ease-echo: cubic-bezier(0.1, 0.6, 0.3, 1.0);
  /* Things arriving and settling: text rise, the press, the amount settle, the fish's entry (W15). cubic-bezier(.2, .8, .3, 1). */
  --motion-ease-settle: cubic-bezier(0.2, 0.8, 0.3, 1.0);
  /* The template's path for the default easing (the template's curve was cubic-bezier(.2, .8, .2, 1)). Proposed mapping, an alias of settle; Kevin checks it in M1-12, see docs/template-compat.md. */
  --motion-ease-standard: cubic-bezier(0.2, 0.8, 0.3, 1.0);
  /* The template's `emphasized` easing, for motion that should feel decisive. An alias of draw (the template's own was a separate curve, cubic-bezier(.05, .7, .1, 1)). Proposed mapping, see docs/template-compat.md. */
  --motion-easing-emphasized: cubic-bezier(0.65, 0.0, 0.35, 1.0);
  /* The template's `standard` easing. Resolves to motion.ease.standard, itself an alias of settle. Proposed mapping, see docs/template-compat.md. */
  --motion-easing-standard: cubic-bezier(0.2, 0.8, 0.3, 1.0);
  /* The scale the one echo grows to, from 1, fading (W16: 1 to 1.75). */
  --motion-echo-scale: 1.75;
  /* The largest scale of the press on completion (W15: 1.04 to 1.06, never a bounce). The logo sting's press is 1.06 (W16) and the happy fish's 1.05 (W12-F), both inside the range. */
  --motion-press-max: 1.06;
  /* The smallest scale of the press on completion (W15: 1.04 to 1.06, never a bounce). */
  --motion-press-min: 1.04;
  /* Default paragraph and list text (16 px), the floor below which iOS zooms a focused input. Template-only (#23). */
  --product-body: 1rem;
  /* Secondary text, list subtitles, helper text (14 px). Template-only (#23). */
  --product-body-sm: 0.875rem;
  /* Button label (16 px). Template-only (#23). */
  --product-button: 1rem;
  /* Fine print, timestamps (12 px). Template-only (#23). */
  --product-caption: 0.75rem;
  /* The one place a number or heading dominates (32 px). Template-only (#23). */
  --product-display: 2rem;
  /* Section labels, status tags (14 px). Template-only (#23). */
  --product-eyebrow: 0.875rem;
  /* Screen title, one per screen (24 px). Template-only (#23). */
  --product-h1: 1.5rem;
  /* Section heading within a screen (20 px). Template-only (#23). */
  --product-h2: 1.25rem;
  /* Card, group or dialog title (16 px). Template-only (#23). */
  --product-h3: 1rem;
  /* Website hero headline, mobile (44 px). Template-only (#23). */
  --product-hero-1: 2.75rem;
  /* Website hero headline, tablet and up (56 px). Template-only (#23). */
  --product-hero-2: 3.5rem;
  /* Website hero headline, desktop (72 px). Template-only (#23). */
  --product-hero-3: 4.5rem;
  /* The template's lead paragraph, an alias of font.size.lede so there is one lede size (W24; G1). Template path (#23). */
  --product-lede: 1.25rem;
  /* Code entry, exported JSON, identifiers in font.family.mono (16 px). Template-only (#23). */
  --product-mono-data: 1rem;
  /* True circles only: an avatar, a status dot. The template's value, unchanged (#23, W14: the monorepo UI package reads it). The chamfer of W20 is a clip-path, not a radius. */
  --radius-full: 9999px;
  /* Square corners (W3, W20). The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --radius-lg: 0px;
  /* Square corners (W3, W20). The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --radius-md: 0px;
  /* Square corners: W3's hard corners and W20's square controls. The template's value, unchanged (#23, W14: the monorepo UI package reads it); kept as a token so every consumer keeps calling it. */
  --radius-sm: 0px;
  /* 1 × grid.unit. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --space-1: 4px;
  /* 12 × grid.unit. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --space-12: 48px;
  /* 16 × grid.unit. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --space-16: 64px;
  /* 2 × grid.unit. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --space-2: 8px;
  /* 24 × grid.unit. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --space-24: 96px;
  /* 3 × grid.unit. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --space-3: 12px;
  /* 4 × grid.unit. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --space-4: 16px;
  /* 6 × grid.unit. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --space-6: 24px;
  /* 8 × grid.unit. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --space-8: 32px;
  /* Most strokes, the same 1 px as thin. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --stroke-default: 1px;
  /* Interactive strokes: hover, error and selected borders. The template's value, unchanged (#23, W14: the monorepo UI package reads it). The focus ring is focus.ring-width, drawn as docs/focus.md says. */
  --stroke-strong: 2px;
  /* Decorative strokes: hairlines, static card borders, dividers. The template's value, unchanged (#23, W14: the monorepo UI package reads it). */
  --stroke-thin: 1px;
  /* The accent fill (W8). It is text-capable on paper (8.90:1), so it is also the link and focus colour. The label on the accent fill is paper (8.90:1). Against ink it is 1.72:1, so it never carries meaning by colour alone next to black text. */
  --color-accent: #004A36;
  /* The always-dark call-to-action band that does not flip with the theme (the template name the monorepo UI package reads (#23, W14)): W8's light accent, the same value in both themes. Its label is color.on-fill. */
  --color-accent-dark: #004A36;
  /* The template's softer accent tier, the template name the monorepo UI package reads (#23, W14): an alias of color.accent, because no tertiary tier is decided. */
  --color-accent-soft: #004A36;
  /* The accent as text, link and focus colour (W8): in light it is the accent itself, 8.90:1 on paper, so it is an alias. */
  --color-accent-text: #004A36;
  /* A faint fill behind accent-bordered elements (the template name the monorepo UI package reads (#23, W14)): the accent at the template's light alpha of 0.08. Decorative, never a ground for meaning. Proposed in #23 and accepted by Kevin (W24). */
  --color-accent-tint: rgba(0, 74, 54, 0.08);
  /* The page background, the template's semantic name the monorepo UI package reads (#23, W14): an alias of color.paper. */
  --color-bg: #EDEEF1;
  /* A recessed background, the template's semantic name (#23): an alias of color.paper-2. */
  --color-bg-subtle: #DDDFE4;
  /* Hairlines and component outlines, the template's semantic name (#23): an alias of color.rule-solid, so it is decorative only. A form field's border is color.field-border (G4). */
  --color-border: #CDD0D6;
  /* Surface raised above the paper (W3, W8). */
  --color-card: #FBFBFC;
  /* Destructive and error states, the template name the monorepo UI package reads (#23, W14): an alias of color.error (W18). */
  --color-danger: #A3194B;
  /* Inert control text and border (the template name the monorepo UI package reads (#23, W14)): muted mixed 50 % into paper. Deliberately low, 2.08:1 on paper and 2.33:1 on card: WCAG exempts disabled controls, so it never draws enabled text. Proposed in #23 and accepted by Kevin (W24). */
  --color-disabled: #A4A7AE;
  /* Error text and icon colour, and the fill of a destructive button (W18, set S3): a raspberry, not a brick red, because a brick red is ΔE 1.0 from success under simulated deuteranopia. 6.17:1 on error-soft; the paper label on the fill is 6.47:1. Every error carries an icon that differs by shape from the other statuses; error is never shown by colour alone (W18). */
  --color-error: #A3194B;
  /* The tint behind an error chip or message (W18): error on it is 6.17:1, the notice body (ink) 14.59:1. Every error carries an icon that differs by shape from the other statuses; error is never shown by colour alone (W18). */
  --color-error-soft: #FAE3EB;
  /* Primary text and icons, the template's semantic name (#23): an alias of color.ink. */
  --color-fg: #16181D;
  /* Secondary text: captions, help text, metadata, the template's semantic name (#23): an alias of color.muted. */
  --color-fg-subtle: #5A5F6B;
  /* The border of a form field, and of any control that must be perceivable by its edge: an alias of color.muted, so it is 5.51:1 on the light paper and 6.18:1 on the light card, above the 3:1 non-text minimum of WCAG 1.4.11 (Kevin's ruling G4 on the blog layout spec, section 10; W20). color.rule stays decorative and never draws a field: the template's text field used the decorative border at about 1.4:1, which fails. */
  --color-field-border: #5A5F6B;
  /* The fish's band on the accent ground (W12-F): the dark theme's accent fill. The band flips with the ground; this is the third set Cube Algos' two do not have. */
  --color-fish-accent-band: #66A38B;
  /* The fish's body on the accent ground (W12-F): paper, 8.90:1 on the accent. */
  --color-fish-accent-body: #EDEEF1;
  /* The fish's eyes on the accent ground (W12-F): ink on the paper body, 15.31:1. The eyes are ink on the body in all three sets (6.07:1, 6.07:1 and 15.31:1). */
  --color-fish-accent-eyes: #16181D;
  /* The props of the fish's states (the question mark, the z Z) on the accent ground (W12-F, W17): the ground's text colour, paper, never the eye colour. */
  --color-fish-accent-props: #EDEEF1;
  /* The fish's tear on the accent ground (W12-F): the band colour. */
  --color-fish-accent-tear: #66A38B;
  /* The fish's band on dark grounds (W12-F): paper. The band flips with the theme; on light grounds it is the accent. */
  --color-fish-dark-band: #EDEEF1;
  /* The fish's body on dark grounds (W12-F): the same fill as on light grounds, so no new colour. It matches Cube Algos' amber in luminance (2.52:1 on paper, 6.07:1 on ink), so amber stays the studio's signal (W3). */
  --color-fish-dark-body: #66A38B;
  /* The fish's eyes on dark grounds (W12-F): ink on the body, 6.07:1. The eyes are ink on the body in all three sets (6.07:1, 6.07:1 and 15.31:1). */
  --color-fish-dark-eyes: #16181D;
  /* The props of the fish's states (the question mark, the z Z) on dark grounds (W12-F): the ground's text colour, paper, never the eye colour. */
  --color-fish-dark-props: #EDEEF1;
  /* The fish's tear on dark grounds (W12-F): the band colour, paper. */
  --color-fish-dark-tear: #EDEEF1;
  /* The fish's band on light grounds (W12-F): the accent, 3.53:1 on the body. The band flips with the theme; on dark grounds it is paper. */
  --color-fish-light-band: #004A36;
  /* The fish's body on light grounds (W12-F, colourway A "Amber twin"). It is the dark theme's accent fill, so there is no new colour. It matches Cube Algos' amber in luminance (2.52:1 on paper, 6.07:1 on ink), so the fish behaves like the approved one on every ground, and amber stays the studio's signal (W3). */
  --color-fish-light-body: #66A38B;
  /* The fish's eyes on light grounds (W12-F): ink on the body, 6.07:1. The eyes are ink on the body in all three sets (6.07:1, 6.07:1 and 15.31:1). */
  --color-fish-light-eyes: #16181D;
  /* The props of the fish's states (the question mark, the z Z) on light grounds (W12-F): the ground's text colour, ink, never the eye colour. */
  --color-fish-light-props: #16181D;
  /* The fish's tear on light grounds (W12-F): the band colour, the accent. */
  --color-fish-light-tear: #004A36;
  /* The focus ring, the template name the monorepo UI package reads (#23, W14): an alias of color.accent-text, drawn as docs/focus.md says (a gap of the ground, then the ring; W20, S10). */
  --color-focus-ring: #004A36;
  /* Info text and icon colour (W18): ink, so info takes no hue and adds no fifth colour; it is an alias of ink in each theme. 13.83:1 on info-soft. Every info carries an icon that differs by shape from the other statuses; info is never shown by colour alone (W18). */
  --color-info: #16181D;
  /* The tint behind an info chip or message (W18): info (ink) on it is 13.83:1. Every info carries an icon that differs by shape from the other statuses; info is never shown by colour alone (W18). */
  --color-info-soft: #E1E3E8;
  /* Primary text, and the mark's colour on paper (W3, W8): 15.31:1 on paper. */
  --color-ink: #16181D;
  /* Link text, the template name the monorepo UI package reads (#23, W14): an alias of color.accent-text, the accent as text (W8). */
  --color-link: #004A36;
  /* Secondary text, and the colour of input borders: rule is decorative only, so input borders use muted (W8). 5.51:1 on paper. */
  --color-muted: #5A5F6B;
  /* Links, the eyebrow and the accent text on the night ground (8.32:1) and the raised surface (7.09:1): the W8 dark accent-text. Not a fill behind text. The same value in both themes. */
  --color-night-accent: #80BEA6;
  /* The accent fill on the night ground (the primary button, the last step of a sequence): the W8 dark accent. The label on it is night.ground (6.07:1), never night.fg. The same value in both themes. */
  --color-night-accent-fill: #66A38B;
  /* Text and icons on the night ground or the raised surface: the light paper (15.31:1 on ground, 13.05:1 on raised). The same value in both themes. */
  --color-night-fg: #EDEEF1;
  /* The ground of a band that stays dark in both themes (hero, developer band, footer of the marketing site, W26): the W8 ink. Not a page ground: the themed page ground is paper. The same value in both themes. */
  --color-night-ground: #16181D;
  /* Secondary text on the night ground or the raised surface (6.76:1 and 5.77:1). Not on accent-fill. The same value in both themes. */
  --color-night-muted: #9AA0AC;
  /* A card or panel on the night ground: the W8 dark card. Not for text. The same value in both themes. */
  --color-night-raised: #23262D;
  /* A rule or border on the night ground: the W8 dark rule. Decorative only (1.38:1), never a field border. The same value in both themes. */
  --color-night-rule: #2E323B;
  /* The label, mark and focus colour on an accent fill (W8, W17): paper, 8.90:1 on the accent. */
  --color-on-accent: #EDEEF1;
  /* The label on color.accent-dark (the template name the monorepo UI package reads (#23, W14)): the light paper, the same value in both themes, 8.90:1 on the band. */
  --color-on-fill: #EDEEF1;
  /* Page background, Cube Algos' paper, unchanged (W3, W8). Ink on paper is 15.31:1. */
  --color-paper: #EDEEF1;
  /* A recessed background: a well, a table stripe (the template name the monorepo UI package reads (#23, W14)). The 50 % blend of paper and rule; ink on it is 13.32:1, muted 4.80:1. Proposed in #23 and accepted by Kevin (W24). */
  --color-paper-2: #DDDFE4;
  /* Dividers and hairlines. Decorative only (1.33:1 on paper, 1.49:1 on card, W8's neutrals), so it never carries meaning and input borders use muted. */
  --color-rule: #CDD0D6;
  /* The solid hairline, the template name the monorepo UI package reads (#23, W14): an alias of color.rule, so it is decorative only, like rule. */
  --color-rule-solid: #CDD0D6;
  /* The backdrop of a modal or a sheet (the template name the monorepo UI package reads (#23, W14)): the light ink at the template's alpha of 0.48. Proposed in #23 and accepted by Kevin (W24). */
  --color-scrim: rgba(22, 24, 29, 0.48);
  /* Soft secondary text, the template name the monorepo UI package reads (#23, W14): an alias of color.muted (W8 has one secondary tier). */
  --color-soft: #5A5F6B;
  /* Success text and icon colour (W8, W18): a yellow-green, ΔE 43 from the accent, so the two greens are not confused. 5.36:1 on success-soft. Every success chip carries a check mark; success is never shown by colour alone. */
  --color-success: #3A6E00;
  /* The tint behind a success chip or message (W8): success on it is 5.36:1. Every success chip carries a check mark, never colour alone. */
  --color-success-soft: #E9F3D9;
  /* The raised surface, the template name the monorepo UI package reads (#23, W14): an alias of color.card. */
  --color-surface: #FBFBFC;
  /* Comments in code (W23, option B): an alias of color.muted, DM Mono Regular (400), no italic. 6.18:1 on the card, the code background. */
  --color-syntax-comment: #5A5F6B;
  /* Function and type names in code (W23, option B): an alias of color.ink, set in DM Mono Medium (500), so they read as heavier plain text. 17.17:1 on the card, the code background. */
  --color-syntax-function: #16181D;
  /* Keywords in code (W23, option B): an alias of color.accent-text, set in DM Mono Medium (500). 9.99:1 on the card, the code background. The keyword is the one hue the brand already has, so it needs no new colour. */
  --color-syntax-keyword: #004A36;
  /* Numbers and literals in code (W23, option B): a violet that is new to the palette, DM Mono Regular (400). 8.99:1 on the card, the code background. No red or green, so no pair reads as a gain and a loss, and it is no status colour. */
  --color-syntax-number: #533B77;
  /* Plain text in code, every token the highlighter does not group (W23, option B): an alias of color.ink, DM Mono Regular (400). 17.17:1 on the card, the code background. */
  --color-syntax-plain: #16181D;
  /* Punctuation and operators in code (W23, option B): an alias of color.muted, DM Mono Regular (400). 6.18:1 on the card, the code background. */
  --color-syntax-punctuation: #5A5F6B;
  /* String literals in code (W23, option B): a blue that is new to the palette, DM Mono Regular (400). 5.56:1 on the card, the code background. No red or green, so no pair reads as a gain and a loss, and it is no status colour. */
  --color-syntax-string: #056D99;
  /* Warning text and icon colour (W18, set S3): a deep ochre, so warning stays apart from success and error for red-green colour blindness (the closest pair of the set, success and warning, is ΔE 9.7 under simulated deuteranopia). 7.87:1 on warning-soft. Every warning carries an icon that differs by shape from the other statuses; warning is never shown by colour alone (W18). */
  --color-warning: #5E4400;
  /* The tint behind a warning chip or message (W18): warning on it is 7.87:1, the notice body (ink) 15.32:1. Every warning carries an icon that differs by shape from the other statuses; warning is never shown by colour alone (W18). */
  --color-warning-soft: #F6EED6;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* The accent fill in the dark theme (W8): lighter than the light accent, because the dark ground needs its own fill. The label on it is ink, #16181D (6.07:1), which is on-accent in this theme. */
    --color-accent: #66A38B;
    /* The always-dark call-to-action band that does not flip with the theme (the template name the monorepo UI package reads (#23, W14)): W8's light accent, the same value in both themes. Its label is color.on-fill. */
    --color-accent-dark: #004A36;
    /* The template's softer accent tier, the template name the monorepo UI package reads (#23, W14): an alias of color.accent, because no tertiary tier is decided. */
    --color-accent-soft: #66A38B;
    /* The accent as text, link and focus colour in the dark theme (W8): 8.32:1 on the dark paper, 7.09:1 on the dark card. The fill itself is not used for text. */
    --color-accent-text: #80BEA6;
    /* A faint fill behind accent-bordered elements (the template name the monorepo UI package reads (#23, W14)): the dark accent at the template's dark alpha of 0.10. Decorative, never a ground for meaning. Proposed in #23 and accepted by Kevin (W24). */
    --color-accent-tint: rgba(102, 163, 139, 0.10);
    /* The page background, the template's semantic name the monorepo UI package reads (#23, W14): an alias of color.paper. */
    --color-bg: #16181D;
    /* A recessed background, the template's semantic name (#23): an alias of color.paper-2. */
    --color-bg-subtle: #1D1F25;
    /* Hairlines and component outlines, the template's semantic name (#23): an alias of color.rule-solid, so it is decorative only. A form field's border is color.field-border (G4). */
    --color-border: #2E323B;
    /* Surface raised above the dark paper (W3, W8). */
    --color-card: #23262D;
    /* Destructive and error states, the template name the monorepo UI package reads (#23, W14): an alias of color.error (W18). */
    --color-danger: #F5A3C8;
    /* Inert control text and border (the template name the monorepo UI package reads (#23, W14)): the dark muted mixed 50 % into the dark paper. Deliberately low, 2.65:1 on paper and 2.26:1 on card: WCAG exempts disabled controls, so it never draws enabled text. Proposed in #23 and accepted by Kevin (W24). */
    --color-disabled: #585C65;
    /* Error text and icon colour in the dark theme, and the fill of a destructive button (W18, set S3; dark values as on the component board): a light raspberry, ΔE 9.4 from accent-text under simulated deuteranopia, the closest pair in this theme. 8.02:1 on error-soft; the paper label on the fill is 9.26:1. Every error carries an icon that differs by shape from the other statuses; error is never shown by colour alone (W18). */
    --color-error: #F5A3C8;
    /* The tint behind an error chip or message in the dark theme (W18, as on the board): error on it is 8.02:1, the notice body (ink) 13.25:1. Every error carries an icon that differs by shape from the other statuses; error is never shown by colour alone (W18). */
    --color-error-soft: #3A1B27;
    /* Primary text and icons, the template's semantic name (#23): an alias of color.ink. */
    --color-fg: #EDEEF1;
    /* Secondary text: captions, help text, metadata, the template's semantic name (#23): an alias of color.muted. */
    --color-fg-subtle: #9AA0AC;
    /* The border of a form field, and of any control that must be perceivable by its edge: an alias of color.muted, so it is 6.76:1 on the dark paper and 5.77:1 on the dark card, above the 3:1 non-text minimum of WCAG 1.4.11 (Kevin's ruling G4 on the blog layout spec, section 10; W20). color.rule stays decorative and never draws a field: the template's text field used the decorative border at about 1.4:1, which fails. */
    --color-field-border: #9AA0AC;
    /* The fish's band on the accent ground (W12-F): the dark theme's accent fill. The band flips with the ground; this is the third set Cube Algos' two do not have. */
    --color-fish-accent-band: #66A38B;
    /* The fish's body on the accent ground (W12-F): paper, 8.90:1 on the accent. */
    --color-fish-accent-body: #EDEEF1;
    /* The fish's eyes on the accent ground (W12-F): ink on the paper body, 15.31:1. The eyes are ink on the body in all three sets (6.07:1, 6.07:1 and 15.31:1). */
    --color-fish-accent-eyes: #16181D;
    /* The props of the fish's states (the question mark, the z Z) on the accent ground (W12-F, W17): the ground's text colour, paper, never the eye colour. */
    --color-fish-accent-props: #EDEEF1;
    /* The fish's tear on the accent ground (W12-F): the band colour. */
    --color-fish-accent-tear: #66A38B;
    /* The fish's band on dark grounds (W12-F): paper. The band flips with the theme; on light grounds it is the accent. */
    --color-fish-dark-band: #EDEEF1;
    /* The fish's body on dark grounds (W12-F): the same fill as on light grounds, so no new colour. It matches Cube Algos' amber in luminance (2.52:1 on paper, 6.07:1 on ink), so amber stays the studio's signal (W3). */
    --color-fish-dark-body: #66A38B;
    /* The fish's eyes on dark grounds (W12-F): ink on the body, 6.07:1. The eyes are ink on the body in all three sets (6.07:1, 6.07:1 and 15.31:1). */
    --color-fish-dark-eyes: #16181D;
    /* The props of the fish's states (the question mark, the z Z) on dark grounds (W12-F): the ground's text colour, paper, never the eye colour. */
    --color-fish-dark-props: #EDEEF1;
    /* The fish's tear on dark grounds (W12-F): the band colour, paper. */
    --color-fish-dark-tear: #EDEEF1;
    /* The fish's band on light grounds (W12-F): the accent, 3.53:1 on the body. The band flips with the theme; on dark grounds it is paper. */
    --color-fish-light-band: #004A36;
    /* The fish's body on light grounds (W12-F, colourway A "Amber twin"). It is the dark theme's accent fill, so there is no new colour. It matches Cube Algos' amber in luminance (2.52:1 on paper, 6.07:1 on ink), so the fish behaves like the approved one on every ground, and amber stays the studio's signal (W3). */
    --color-fish-light-body: #66A38B;
    /* The fish's eyes on light grounds (W12-F): ink on the body, 6.07:1. The eyes are ink on the body in all three sets (6.07:1, 6.07:1 and 15.31:1). */
    --color-fish-light-eyes: #16181D;
    /* The props of the fish's states (the question mark, the z Z) on light grounds (W12-F): the ground's text colour, ink, never the eye colour. */
    --color-fish-light-props: #16181D;
    /* The fish's tear on light grounds (W12-F): the band colour, the accent. */
    --color-fish-light-tear: #004A36;
    /* The focus ring, the template name the monorepo UI package reads (#23, W14): an alias of color.accent-text, drawn as docs/focus.md says (a gap of the ground, then the ring; W20, S10). */
    --color-focus-ring: #80BEA6;
    /* Info text and icon colour in the dark theme (W18): ink, so info takes no hue; it is an alias of ink in each theme. 11.07:1 on info-soft. Every info carries an icon that differs by shape from the other statuses; info is never shown by colour alone (W18). */
    --color-info: #EDEEF1;
    /* The tint behind an info chip or message in the dark theme (W18, as on the board): info (ink) on it is 11.07:1. Every info carries an icon that differs by shape from the other statuses; info is never shown by colour alone (W18). */
    --color-info-soft: #2E323B;
    /* Primary text in the dark theme, and the mark's colour on the dark paper (W3, W8): 15.31:1 on the dark paper. Cube Algos' own dark neutral. */
    --color-ink: #EDEEF1;
    /* Link text, the template name the monorepo UI package reads (#23, W14): an alias of color.accent-text, the accent as text (W8). */
    --color-link: #80BEA6;
    /* Secondary text, and the colour of input borders: rule is decorative only, so input borders use muted (W8). 6.76:1 on the dark paper. */
    --color-muted: #9AA0AC;
    /* Links, the eyebrow and the accent text on the night ground (8.32:1) and the raised surface (7.09:1): the W8 dark accent-text. Not a fill behind text. The same value in both themes. */
    --color-night-accent: #80BEA6;
    /* The accent fill on the night ground (the primary button, the last step of a sequence): the W8 dark accent. The label on it is night.ground (6.07:1), never night.fg. The same value in both themes. */
    --color-night-accent-fill: #66A38B;
    /* Text and icons on the night ground or the raised surface: the light paper (15.31:1 on ground, 13.05:1 on raised). The same value in both themes. */
    --color-night-fg: #EDEEF1;
    /* The ground of a band that stays dark in both themes (hero, developer band, footer of the marketing site, W26): the W8 ink. Not a page ground: the themed page ground is paper. The same value in both themes. */
    --color-night-ground: #16181D;
    /* Secondary text on the night ground or the raised surface (6.76:1 and 5.77:1). Not on accent-fill. The same value in both themes. */
    --color-night-muted: #9AA0AC;
    /* A card or panel on the night ground: the W8 dark card. Not for text. The same value in both themes. */
    --color-night-raised: #23262D;
    /* A rule or border on the night ground: the W8 dark rule. Decorative only (1.38:1), never a field border. The same value in both themes. */
    --color-night-rule: #2E323B;
    /* The label, mark and focus colour on the dark accent fill (W8, W10): the dark ground colour, 6.07:1 on the fill. */
    --color-on-accent: #16181D;
    /* The label on color.accent-dark (the template name the monorepo UI package reads (#23, W14)): the light paper, the same value in both themes, 8.90:1 on the band. */
    --color-on-fill: #EDEEF1;
    /* Page background in the dark theme: the role keeps its meaning, so paper is the dark ground. Cube Algos' own dark neutral (W3, W8). */
    --color-paper: #16181D;
    /* A recessed background: a well, a table stripe (the template name the monorepo UI package reads (#23, W14)). The 50 % blend of the dark paper and the dark card; ink on it is 14.20:1, muted 6.27:1. Proposed in #23 and accepted by Kevin (W24). */
    --color-paper-2: #1D1F25;
    /* Dividers and hairlines. Decorative only (1.38:1 on the dark paper, 1.18:1 on the dark card), so it never carries meaning and input borders use muted. */
    --color-rule: #2E323B;
    /* The solid hairline, the template name the monorepo UI package reads (#23, W14): an alias of color.rule, so it is decorative only, like rule. */
    --color-rule-solid: #2E323B;
    /* The backdrop of a modal or a sheet (the template name the monorepo UI package reads (#23, W14)): the light theme's ink, which is the dark paper, at 0.60, heavier than light because the ground is already dark. Proposed in #23 and accepted by Kevin (W24). */
    --color-scrim: rgba(22, 24, 29, 0.60);
    /* Soft secondary text, the template name the monorepo UI package reads (#23, W14): an alias of color.muted (W8 has one secondary tier). */
    --color-soft: #9AA0AC;
    /* Success text and icon colour in the dark theme (W8, W18): a yellow-green, ΔE 48 from the accent fill. 8.62:1 on success-soft. Every success chip carries a check mark; success is never shown by colour alone. */
    --color-success: #A9DE6E;
    /* The tint behind a success chip or message in the dark theme (W8): success on it is 8.62:1. Every success chip carries a check mark, never colour alone. */
    --color-success-soft: #25321A;
    /* The raised surface, the template name the monorepo UI package reads (#23, W14): an alias of color.card. */
    --color-surface: #23262D;
    /* Comments in code (W23, option B): an alias of color.muted, DM Mono Regular (400), no italic. 5.77:1 on the card, the code background. */
    --color-syntax-comment: #9AA0AC;
    /* Function and type names in code (W23, option B): an alias of color.ink, set in DM Mono Medium (500), so they read as heavier plain text. 13.05:1 on the card, the code background. */
    --color-syntax-function: #EDEEF1;
    /* Keywords in code (W23, option B): an alias of color.accent-text, set in DM Mono Medium (500). 7.09:1 on the card, the code background. The keyword is the one hue the brand already has, so it needs no new colour. */
    --color-syntax-keyword: #80BEA6;
    /* Numbers and literals in code (W23, option B): a violet that is new to the palette, DM Mono Regular (400). 5.41:1 on the card, the code background. No red or green, so no pair reads as a gain and a loss, and it is no status colour. */
    --color-syntax-number: #A78FD2;
    /* Plain text in code, every token the highlighter does not group (W23, option B): an alias of color.ink, DM Mono Regular (400). 13.05:1 on the card, the code background. */
    --color-syntax-plain: #EDEEF1;
    /* Punctuation and operators in code (W23, option B): an alias of color.muted, DM Mono Regular (400). 5.77:1 on the card, the code background. */
    --color-syntax-punctuation: #9AA0AC;
    /* String literals in code (W23, option B): a blue that is new to the palette, DM Mono Regular (400). 6.95:1 on the card, the code background. No red or green, so no pair reads as a gain and a loss, and it is no status colour. */
    --color-syntax-string: #61B9EA;
    /* Warning text and icon colour in the dark theme (W18, set S3; dark values as on the component board): a light ochre. 8.70:1 on warning-soft. Every warning carries an icon that differs by shape from the other statuses; warning is never shown by colour alone (W18). */
    --color-warning: #F2C38A;
    /* The tint behind a warning chip or message in the dark theme (W18, as on the board): warning on it is 8.70:1, the notice body (ink) 12.16:1. Every warning carries an icon that differs by shape from the other statuses; warning is never shown by colour alone (W18). */
    --color-warning-soft: #36291A;
  }
}

