/* GENERATED by packages/tokens/build.mjs from tokens.json. Do not edit.
   Every value here was checked against WCAG 2.1 contrast targets on all three
   surfaces of its own theme. See the design system's Accessibility section for
   the table. */

:root {
  --surface-base: #14121f;
  --surface-raised: #1e1b2b;
  --surface-sunken: #272336;
  --surface-scrim: rgba(13, 11, 21, 0.88);
  --fg: #f2e8d5;
  --fg-dim: #b6adc7;
  --fg-muted: #9387ab;
  --hairline: #3a3450;
  --border: #73679c;
  --jade: #2bc9b4;
  --jade-ink: #43d8c4;
  --on-jade: #032620;
  --cochineal: #ff4b7d;
  --cochineal-ink: #ff6e96;
  --on-cochineal: #2b0310;
  --maize: #f9be4c;
  --maize-ink: #fbcb70;
  --on-maize: #2b1a00;
  --copper: #ff8a47;
  --copper-ink: #ffa06b;
  --on-copper: #2a1003;
  --maroon: #f0558f;
  --maroon-ink: #f478a6;
  --on-maroon: #2b0411;
  --turquoise: #3fd2e6;
  --turquoise-ink: #63dcec;
  --on-turquoise: #04303a;
  --amate: #f2e8d5;
  --on-amate: #2b2436;
  --tint-jade: #142a2b;
  --tint-cochineal: #3a1824;
  --tint-maize: #2c2617;
  --tint-turquoise: #152931;

  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  --stroke-hair: 1px;
  --stroke-mark: 3px;
  --stroke-weave: 2.5px;

  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  color-scheme: dark;
}

/* Legacy aliases. Remove once no stylesheet references them. */
:root {
  --obsidian: var(--surface-base);
  --bg: var(--surface-base);
  --surface: var(--surface-raised);
  --card: var(--surface-raised);
  --surface-2: var(--surface-sunken);
  --ink: var(--surface-scrim);
  --line: var(--border);
  --line-c: var(--border);
  --fg-faint: var(--fg-muted);
  --display: var(--font-display);
  --body: var(--font-body);
  --mono: var(--font-mono);
}

/* The light theme. Two selectors because a browser set to light should get it
   without being asked, and the toggle has to beat an OS set to dark. Both
   blocks are emitted from one loop, so they cannot fall out of step. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --surface-base: #fff8f1;
    --surface-raised: #ffffff;
    --surface-sunken: #fff1e4;
    --fg: #2b2436;
    --fg-dim: #6b5f77;
    --fg-muted: #786987;
    --hairline: #f2d7c6;
    --border: #9488a0;
    --jade: #12b3a0;
    --jade-ink: #0b7064;
    --on-jade: #06332e;
    --cochineal: #df165a;
    --cochineal-ink: #c2124e;
    --on-cochineal: #fff8f1;
    --maize: #f9a826;
    --maize-ink: #8a5603;
    --copper: #f2762e;
    --copper-ink: #a94309;
    --maroon: #d1176b;
    --maroon-ink: #a8104a;
    --on-maroon: #fff8f1;
    --turquoise: #1fc0d4;
    --turquoise-ink: #116a75;
    --on-turquoise: #06333a;
    --amate: #e0d2b4;
    --tint-jade: #e4f6f3;
    --tint-cochineal: #feeff3;
    --tint-maize: #fdf1dc;
    --tint-turquoise: #e2f6f9;
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --surface-base: #fff8f1;
  --surface-raised: #ffffff;
  --surface-sunken: #fff1e4;
  --fg: #2b2436;
  --fg-dim: #6b5f77;
  --fg-muted: #786987;
  --hairline: #f2d7c6;
  --border: #9488a0;
  --jade: #12b3a0;
  --jade-ink: #0b7064;
  --on-jade: #06332e;
  --cochineal: #df165a;
  --cochineal-ink: #c2124e;
  --on-cochineal: #fff8f1;
  --maize: #f9a826;
  --maize-ink: #8a5603;
  --copper: #f2762e;
  --copper-ink: #a94309;
  --maroon: #d1176b;
  --maroon-ink: #a8104a;
  --on-maroon: #fff8f1;
  --turquoise: #1fc0d4;
  --turquoise-ink: #116a75;
  --on-turquoise: #06333a;
  --amate: #e0d2b4;
  --tint-jade: #e4f6f3;
  --tint-cochineal: #feeff3;
  --tint-maize: #fdf1dc;
  --tint-turquoise: #e2f6f9;
  color-scheme: light;
}

/* Type styles. One class per style; fourteen replace the twenty-one distinct
   font sizes the two stylesheets used to declare. */
.display-hero {
  font-family: var(--font-display);
  font-size: 62px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.display-md {
  font-family: var(--font-display);
  font-size: 33px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.display-sm {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.display-xs {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lede {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
}
.body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}
.body-strong {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}
.body-sm {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.figure-lg {
  font-family: var(--font-mono);
  font-size: 21px;
  line-height: 1;
  font-weight: 600;
}
.figure {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}
.figure-sm {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
}
