/*
 * Design tokens. Every color, size, and shape in the app comes from here, so a
 * change to the look (or a remap to another design library) is a change to
 * this file. Values are from the Purple Pockets design system; the two marked
 * "sampled" were read off the approved mockups.
 *
 * Breakpoints cannot be custom properties, so they are written out in
 * application.css: 760px (two columns, centered sheet) and 1100px (hero
 * beside its sample card).
 */
:root {
  color-scheme: light;

  /* Color */
  --color-ink: #1F3A5F;
  --color-page: #EEF6FD;
  --color-card: #FFFFFF;
  --color-soft: #F7FBFF; /* sampled: the sync strip fill */
  --color-sky: #BFE2FA;
  --color-hill-light: #9ED89A;
  --color-hill-dark: #7CC67C;
  --color-primary: #1C64B0;
  --color-gold: #FFE08A;
  --color-note: #FFF3B0; /* sampled: the fan-project card */
  --color-text-secondary: #4A5F78;
  --color-text-on-sky: #3D5068;
  --color-text-done: #5F7389;
  --color-link: #1C64B0;
  --color-chip-border: #7FA6CC;
  --color-danger: #B3261E; /* sampled: the discard link on the merge mockup */

  /* Room tints, reused as icon tile fills */
  --tint-crafts: #D7F0D3;
  --tint-pantry: #FFEFC2;
  --tint-fish: #CFE6FB;
  --tint-bulletin: #E6DDF8;
  --tint-other: #FBDDE5;
  --tint-boiler: #FFD9C7; /* sampled: the Boiler Room tint on the Main mockup */

  /* Type */
  --font-family: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --size-wordmark: 1.75rem;
  --size-title: 1.75rem;
  --size-hero-mobile: 1.875rem;
  --size-card-title: 1.0625rem;
  --size-body: 1.0625rem;
  --size-footnote: 0.8125rem;
  --size-label: 0.8125rem;
  --line-body: 1.35;
  --line-footnote: 1.4;

  /* Shape */
  --border: 3px solid var(--color-ink);
  --border-thin: 2px solid var(--color-ink);
  --radius-card: 18px;
  --radius-button: 14px;
  --radius-tile: 12px;
  --shadow-card: 0 5px 0 var(--color-ink);
  --shadow-button: 0 4px 0 var(--color-ink);

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Targets */
  --target: 44px;
  --page-width: 1200px;
  --prose-width: 920px;
  --account-width: 1080px; /* sampled: the Account mockup's two-column grid at 1440 */
}
