/* tokens.css: the values the whole project is built from. Change the look here first. */

:root {
  /* colour */
  --color-ink: #111111;
  --color-ink-soft: #595959;
  --color-paper: #ffffff;
  --color-surface: #f2f2f2;
  --color-line: #cfcfcf;
  --color-backdrop: #e4e4e4;

  /* spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;

  /* type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-small: 0.875rem;
  --text-body: 1rem;
  --text-large: 1.25rem;
  --text-title: 1.75rem;

  /* shape */
  --radius-small: 0.5rem;
  --radius-large: 1rem;
  --tap-target: 2.75rem;

  /* motion */
  --motion-quick: 200ms;

  /* the phone frame shown on a laptop */
  --frame-width: 390px;
  --frame-height: 844px;
  --frame-radius: 2.5rem;

  /* Space a real phone keeps for its notch and home bar. Zero on a laptop. */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --gutter-left: max(var(--space-3), env(safe-area-inset-left, 0px));
  --gutter-right: max(var(--space-3), env(safe-area-inset-right, 0px));
}
