/* Generated by scripts/build-tokens.cjs from design/tokens.json. Do not edit; run `npm run tokens`.
   docs/design-system.md explains every token. Load this before design-system.css. */

:root {
  /* Type. Around's original face (Roobert PRO) is not retrievable, so Orbit uses the platform face. */
  --ds-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ds-text-xs: 11px;
  --ds-text-sm: 12px;
  --ds-text-md: 13px;
  --ds-text-lg: 15px;
  --ds-text-xl: 19px;
  --ds-text-display: 28px;

  /* Space: a 4px grid with a 2px half step for hairline-tight controls. */
  --ds-space-0: 2px;
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 20px;
  --ds-space-6: 24px;

  /* Radii: concentric. An inner radius is its container's radius minus the padding between them. */
  --ds-radius-xs: 4px;
  --ds-radius-sm: 6px;
  --ds-radius-md: 8px;
  --ds-radius-lg: 12px;
  --ds-radius-xl: 16px;
  --ds-radius-pill: 999px;

  /* Targets: lobby and dialogs use the comfortable size; Around's call bar keeps its 28px controls. */
  --ds-target: 44px;
  --ds-target-compact: 28px;

  /* Color: Orbit violet. Ink is text, fill is a control surface, surface is a container. */
  --ds-canvas: #15141c;
  --ds-surface: #201e29;
  --ds-surface-overlay: #252332;
  --ds-ink: #f8f6ff;
  --ds-ink-muted: #aaa5b9;
  --ds-ink-disabled: #8a8597;
  --ds-fill: #2c2738;
  --ds-fill-hover: #3c334d;
  --ds-fill-pressed: #4a3672;
  --ds-fill-sunken: #191721;
  --ds-fill-raised: #3a3349;
  --ds-border: #34313f;
  --ds-border-strong: #494052;
  --ds-hairline: rgb(255 255 255 / 10%);
  --ds-lip: inset 0 1px 0 rgb(255 255 255 / 7%);
  --ds-accent: #bcabff;
  --ds-accent-hover: #d0c2ff;
  --ds-accent-ink: #22183c;
  --ds-accent-wash: #4a3672;
  --ds-accent-edge: #8063c1;
  --ds-accent-glow: rgb(188 171 255 / 22%);
  --ds-success: #8ee9ba;
  --ds-warning: #eacf8b;
  --ds-danger-ink: #ffcfda;
  --ds-danger: #5a263c;
  --ds-danger-hover: #75354d;
  --ds-danger-edge: #75344f;
  --ds-gold: #ffd27a;

  /* Around in-call graphite, kept separate because docs/ui-recovery.md pins these values. */
  --ds-call-control: rgb(38 38 38 / 85%);
  --ds-call-control-hover: rgb(50 50 50 / 85%);
  --ds-call-control-pressed: rgb(70 70 70 / 85%);
  --ds-call-ink: #c8c8c8;
  --ds-call-scrim: rgb(23 24 27 / 92%);
  --ds-call-video-backdrop: #242527;

  /* Chess squares, move affordances, and piece ink. */
  --ds-board-light: #e0d9c2;
  --ds-board-dark: #829da5;
  --ds-board-last: #e5c97d;
  --ds-board-picked: #5eb697;
  --ds-board-target: #205348;
  --ds-board-piece-dark: #18242f;
  --ds-board-piece-light: #fff9e8;

  /* Depth. */
  --ds-shadow-raise: var(--ds-lip), 0 1px 2px rgb(0 0 0 / 35%);
  --ds-shadow-pop: 0 8px 32px rgb(0 0 0 / 45%);
  --ds-scrim: rgb(16 14 24 / 55%);

  /* Glass: used only where its fallback is defined in design-system.css. */
  --ds-glass-opacity: 78%;
  --ds-glass-blur: 18px;
  --ds-glass-saturate: 1.15;

  /* Focus. */
  --ds-focus-width: 2px;
  --ds-focus-offset: 3px;
  --ds-focus-color: var(--ds-accent);

  /* Motion. The spring is the curve Orbit's sketch reveal already uses. */
  --ds-duration-instant: 80ms;
  --ds-duration-fast: 120ms;
  --ds-duration-base: 200ms;
  --ds-duration-slow: 450ms;
  --ds-ease-standard: cubic-bezier(.4, 0, .2, 1);
  --ds-ease-out: cubic-bezier(.2, .8, .2, 1);
  --ds-ease-sheet: cubic-bezier(.32, .72, 0, 1);
  --ds-ease-spring: cubic-bezier(.2, 1.4, .4, 1);
}

/* Variant contrast-more. More contrast: solid glass, brighter hairlines and muted ink, no lip, a thicker focus ring. */
@media (prefers-contrast: more) {
  :root {
    --ds-ink-muted: #d6d1e2;
    --ds-ink-disabled: #aaa5b9;
    --ds-hairline: rgb(255 255 255 / 40%);
    --ds-border: #8a8597;
    --ds-border-strong: #b4adc4;
    --ds-lip: inset 0 0 0 rgb(0 0 0 / 0%);
    --ds-focus-width: 3px;
  }
}
