/* tokens.css: the values the whole project is built from. Change the look here first.
   The Archives page has its own settings at the top of css/pages/archives.css. */

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

  --color-tag: #f9f9f9; /* the paper of the "you are here" tag */

  --drop-veil: rgba(
    255,
    255,
    255,
    0.86
  ); /* the extra white over the rack of the Drop page: 0 = none, 1 = white */
  --shadow-card: 0 0.25rem 1rem rgba(0, 0, 0, 0.18);

  /* the shadow of a piece of paper lying on the page (the "you are here" tag) */
  --shadow-paper: 0 1px 2px rgba(0, 0, 0, 0.2);

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

  /* type */
  --font: "futura-pt", Futura, "Trebuchet MS", sans-serif;
  /* The ratios follow the mockup. Never smaller: 16px for important text, 12px for a comment. */
  --text-note: 0.75rem; /* 12px: comments, like "dress up for the queue" */
  --text-small: 0.875rem; /* 14px: small information, like the drop date */
  --text-card: var(--text-small); /* the card laid over a page on arrival */
  --text-body: 1rem; /* 16px: important text, like the "done" button */
  --text-title: 1.15rem; /* the page title */
  --tracking-wide: 0.18em;

  /* the smallest size of anything you tap (AGENTS.md, rule 9) */
  --tap-target: 2.75rem;

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

  /* 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, and side gutters. 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));
}
