/* Generated by `pnpm tokens` from design/tokens.json. Do not edit: change the JSON and regenerate. */
/* App code uses these tokens, never literal colors, font sizes or spacing (SPEC §2.5). */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/BricolageGrotesque-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/BricolageGrotesque-ExtraBold.ttf") format("truetype");
}

/* Bricolage Grotesque: SIL Open Font License 1.1, see /fonts/BricolageGrotesque-OFL.txt. */

:root {
  color-scheme: light dark;

  /* Brand */
  --dt-color-brand-signal: #FFC531;
  --dt-color-brand-night: #0E1424;
  --dt-color-brand-dusk: #1C2540;
  /* Accent */
  --dt-color-accent-grill: #FF6A3D;
  --dt-color-accent-pine: #2FB57C;
  --dt-color-accent-sky: #3DA5FF;
  --dt-color-accent-plum: #9B6BFF;
  --dt-color-accent-slate: #8A97AB;
  /* Content on brand and accent fills */
  --dt-color-on-signal: #141821;
  --dt-color-on-grill: #141821;
  --dt-color-on-pine: #141821;
  --dt-color-on-sky: #141821;
  --dt-color-on-plum: #141821;
  --dt-color-on-slate: #141821;
  /* Semantic (light; dark overrides below) */
  --dt-color-background: #F7F4EE;
  --dt-color-surface: #FFFFFF;
  --dt-color-surface-alt: #EFEAE1;
  --dt-color-text-primary: #141821;
  --dt-color-text-secondary: #545B69;
  --dt-color-text-tertiary: #6B7280;
  --dt-color-border: #E2DCD1;
  --dt-color-link: #0B63B8;
  --dt-color-success: #1E7A52;
  --dt-color-warning: #8A5A00;
  --dt-color-danger: #C62837;
  --dt-color-signal-tint: #FFF3CC;
  --dt-color-heat0: #EFEAE1;
  --dt-color-heat1: #D7F0E4;
  --dt-color-heat2: #A9E1C7;
  --dt-color-heat3: #6CCB9F;
  --dt-color-heat4: #2FB57C;

  /* Typography: sizes in rem (pt / 16), unitless line heights */
  --dt-font-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --dt-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --dt-type-display-family: var(--dt-font-display);
  --dt-type-display-size: 2.125rem;
  --dt-type-display-line-height: 1.1765;
  --dt-type-display-weight: 800;
  --dt-type-title1-family: var(--dt-font-display);
  --dt-type-title1-size: 1.75rem;
  --dt-type-title1-line-height: 1.2143;
  --dt-type-title1-weight: 700;
  --dt-type-title2-family: var(--dt-font-display);
  --dt-type-title2-size: 1.375rem;
  --dt-type-title2-line-height: 1.2727;
  --dt-type-title2-weight: 700;
  --dt-type-headline-family: var(--dt-font-body);
  --dt-type-headline-size: 1.0625rem;
  --dt-type-headline-line-height: 1.2941;
  --dt-type-headline-weight: 600;
  --dt-type-body-family: var(--dt-font-body);
  --dt-type-body-size: 1.0625rem;
  --dt-type-body-line-height: 1.2941;
  --dt-type-body-weight: 400;
  --dt-type-callout-family: var(--dt-font-body);
  --dt-type-callout-size: 1rem;
  --dt-type-callout-line-height: 1.3125;
  --dt-type-callout-weight: 400;
  --dt-type-subhead-family: var(--dt-font-body);
  --dt-type-subhead-size: 0.9375rem;
  --dt-type-subhead-line-height: 1.3333;
  --dt-type-subhead-weight: 400;
  --dt-type-footnote-family: var(--dt-font-body);
  --dt-type-footnote-size: 0.8125rem;
  --dt-type-footnote-line-height: 1.3846;
  --dt-type-footnote-weight: 400;
  --dt-type-caption-family: var(--dt-font-body);
  --dt-type-caption-size: 0.75rem;
  --dt-type-caption-line-height: 1.3333;
  --dt-type-caption-weight: 500;
  --dt-type-button-family: var(--dt-font-body);
  --dt-type-button-size: 1.0625rem;
  --dt-type-button-line-height: 1.2941;
  --dt-type-button-weight: 600;

  /* Spacing */
  --dt-space-xxs: 2px;
  --dt-space-xs: 4px;
  --dt-space-sm: 8px;
  --dt-space-md: 12px;
  --dt-space-lg: 16px;
  --dt-space-xl: 24px;
  --dt-space-xxl: 32px;
  --dt-space-xxxl: 48px;

  /* Corner radii */
  --dt-radius-sm: 8px;
  --dt-radius-md: 12px;
  --dt-radius-lg: 20px;
  --dt-radius-xl: 28px;
  --dt-radius-pill: 999px;

  /* Fixed sizes (IOS/Android pairs use the larger value) */
  --dt-size-min-touch: 48px;
  --dt-size-avatar-sm: 28px;
  --dt-size-avatar-md: 40px;
  --dt-size-avatar-lg: 64px;
  --dt-size-avatar-xl: 96px;
  --dt-size-signal-button: 88px;
  --dt-size-heat-cell-height: 28px;

  /* Motion (honor prefers-reduced-motion) */
  --dt-motion-fast: 120ms;
  --dt-motion-base: 220ms;
  --dt-motion-slow: 360ms;
  --dt-motion-signal-hold: 600ms;
  --dt-motion-beam-sweep: 1200ms;
  --dt-motion-celebration: 1000ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --dt-color-background: #0B0F1A;
    --dt-color-surface: #141B2D;
    --dt-color-surface-alt: #1C2540;
    --dt-color-text-primary: #F4F1EA;
    --dt-color-text-secondary: #A3ABBD;
    --dt-color-text-tertiary: #8B93A5;
    --dt-color-border: #26304A;
    --dt-color-link: #6CB8FF;
    --dt-color-success: #4CD397;
    --dt-color-warning: #FFC531;
    --dt-color-danger: #FF7A85;
    --dt-color-signal-tint: #3A3110;
    --dt-color-heat0: #1C2540;
    --dt-color-heat1: #1E3A33;
    --dt-color-heat2: #1F5A44;
    --dt-color-heat3: #238055;
    --dt-color-heat4: #2FB57C;
  }
}
