/*
 * Elsewhere design tokens.
 * Every colour, font, size and radius in the app's CSS comes from this file.
 * Change a value here and every screen follows. Do not add raw hex values
 * elsewhere; add or reuse a token instead.
 */
:root {
  /* Surfaces */
  --color-paper: #f6f5ef; /* page background */
  --color-surface: #ffffff; /* cards, dialogs, inputs */
  --color-sunk: #eeede5; /* quiet fills, table headers */

  /* Text */
  --color-ink: #1c2823; /* headings and body */
  --color-ink-2: #3f4f48; /* strong secondary text, labels */
  --color-muted: #66756e; /* hints, metadata */
  --color-on-accent: #ffffff;

  /* Lines */
  --color-line: #e0e2d8;
  --color-line-strong: #c4cbbf;

  /* Brand: Elsewhere green */
  --color-accent: #2d5b4b;
  --color-accent-strong: #1f4337;
  --color-accent-soft: #e3ece4;
  --color-accent-tint: #c5d8c8;

  /* You: warm amber, used for your own place on the map */
  --color-you: #b06a32;
  --color-you-soft: #f6ecdd;

  /* Status */
  --color-danger: #a23e2e;
  --color-danger-soft: #f8e8e3;
  --color-focus: #2f7a63;

  /* Type */
  --font-display: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', Menlo, monospace;

  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 40px;
  --text-4xl: 56px;

  /* Shape */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-raised: 0 1px 2px rgb(28 40 35 / 6%), 0 8px 24px rgb(28 40 35 / 6%);
  --shadow-float: 0 12px 40px rgb(28 40 35 / 18%);

  /* Legacy aliases still referenced by older rules */
  --green: var(--color-accent);
  --muted: var(--color-muted);
  --line: var(--color-line);
  --orange: var(--color-you);
  --ink: var(--color-ink);
  --focus-ring: var(--color-focus);
}
